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.4.
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.4'
579 PACKAGE_STRING
='wxWidgets 2.9.4'
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
720 LIBGNOMEPRINTUI_CFLAGS
828 ICC_PCH_CREATE_SWITCH
832 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
833 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
834 COND_BUILD_DEBUG_UNICODE_0
835 COND_BUILD_DEBUG_UNICODE_1
837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
838 COND_BUILD_RELEASE_UNICODE_0
839 COND_BUILD_RELEASE_UNICODE_1
841 COND_BUILD_debug_DEBUG_FLAG_default
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_UNICODE_0
844 COND_BUILD_debug_UNICODE_1
846 COND_BUILD_release_DEBUG_INFO_default
847 COND_BUILD_release_UNICODE_0
848 COND_BUILD_release_UNICODE_1
858 COND_MONOLITHIC_0_SHARED_0
859 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
865 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
870 COND_MONOLITHIC_0_SHARED_1
871 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
877 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
878 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
879 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
880 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
881 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
882 COND_MONOLITHIC_0_USE_AUI_1
883 COND_MONOLITHIC_0_USE_GUI_1
884 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
885 COND_MONOLITHIC_0_USE_HTML_1
886 COND_MONOLITHIC_0_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_PROPGRID_1
888 COND_MONOLITHIC_0_USE_QA_1
889 COND_MONOLITHIC_0_USE_RIBBON_1
890 COND_MONOLITHIC_0_USE_RICHTEXT_1
891 COND_MONOLITHIC_0_USE_STC_1
892 COND_MONOLITHIC_0_USE_WEBVIEW_1
893 COND_MONOLITHIC_0_USE_XRC_1
895 COND_MONOLITHIC_1_SHARED_0
896 COND_MONOLITHIC_1_SHARED_1
897 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
898 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
899 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
900 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
901 COND_PLATFORM_MACOSX_1
902 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
903 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
904 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
905 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
913 COND_PLATFORM_MACOS_1
916 COND_PLATFORM_MSDOS_0
917 COND_PLATFORM_MSDOS_1
921 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
922 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
923 COND_PLATFORM_UNIX_1_USE_GUI_1
924 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
925 COND_PLATFORM_WIN32_0
926 COND_PLATFORM_WIN32_1
927 COND_PLATFORM_WIN32_1_SHARED_0
929 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
930 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
931 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
932 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
934 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
936 COND_SHARED_0_USE_STC_1
937 COND_SHARED_0_wxUSE_EXPAT_builtin
938 COND_SHARED_0_wxUSE_REGEX_builtin
939 COND_SHARED_0_wxUSE_ZLIB_builtin
941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
944 COND_TOOLKIT_COCOA_USE_GUI_1
945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_DFB_USE_GUI_1
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_GTK_USE_GUI_1
958 COND_TOOLKIT_MGL_USE_GUI_1
960 COND_TOOLKIT_MOTIF_USE_GUI_1
961 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
963 COND_TOOLKIT_MSW_USE_GUI_1
964 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_MSW_WXUNIV_0
966 COND_TOOLKIT_OSX_CARBON
967 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
968 COND_TOOLKIT_OSX_COCOA
969 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE
971 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
972 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
974 COND_TOOLKIT_PM_USE_GUI_1
975 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
977 COND_TOOLKIT_WINCE_USE_GUI_1
978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
979 COND_TOOLKIT_WINCE_WXUNIV_0
981 COND_TOOLKIT_X11_USE_GUI_1
984 COND_USE_EXCEPTIONS_0
985 COND_USE_EXCEPTIONS_1
988 COND_USE_GUI_1_USE_OPENGL_1
989 COND_USE_GUI_1_WXUNIV_0
990 COND_USE_GUI_1_WXUNIV_1
991 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
992 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
993 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
994 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
995 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
996 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
1002 COND_USE_SOTWOSYMLINKS_1
1003 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1004 COND_USE_SOVERLINUX_1
1005 COND_USE_SOVERSION_0
1006 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1007 COND_USE_SOVERSOLARIS_1
1012 COND_WINDOWS_IMPLIB_1
1013 COND_WITH_PLUGIN_SDL_1
1016 COND_WXUSE_EXPAT_BUILTIN
1017 COND_WXUSE_LIBJPEG_BUILTIN
1018 COND_WXUSE_LIBPNG_BUILTIN
1019 COND_WXUSE_LIBTIFF_BUILTIN
1020 COND_WXUSE_REGEX_BUILTIN
1021 COND_WXUSE_ZLIB_BUILTIN
1022 COND_wxUSE_EXPAT_builtin
1023 COND_wxUSE_LIBJPEG_builtin
1024 COND_wxUSE_LIBPNG_builtin
1025 COND_wxUSE_LIBTIFF_builtin
1026 COND_wxUSE_REGEX_builtin
1027 COND_wxUSE_ZLIB_builtin
1030 WX_LIBRARY_BASENAME_NOGUI
1031 WX_LIBRARY_BASENAME_GUI
1051 WXCONFIG_LDFLAGS_GUI
1063 WX_RESOURCES_MACOSX_ASCII
1064 WX_RESOURCES_MACOSX_DATA
1074 ac_precious_vars
='build_alias
1111 LIBGNOMEPRINTUI_CFLAGS
1112 LIBGNOMEPRINTUI_LIBS
1123 ac_subdirs_all
='src/tiff
1126 # Initialize some variables set by options.
1128 ac_init_version
=false
1129 # The variables have the same names as the options, with
1130 # dashes changed to underlines.
1131 cache_file
=/dev
/null
1138 program_transform_name
=s
,x
,x
,
1146 # Installation directory options.
1147 # These are left unexpanded so users can "make install exec_prefix=/foo"
1148 # and all the variables that are supposed to be based on exec_prefix
1149 # by default will actually change.
1150 # Use braces instead of parens because sh, perl, etc. also accept them.
1151 # (The list follows the same order as the GNU Coding Standards.)
1152 bindir
='${exec_prefix}/bin'
1153 sbindir
='${exec_prefix}/sbin'
1154 libexecdir
='${exec_prefix}/libexec'
1155 datarootdir
='${prefix}/share'
1156 datadir
='${datarootdir}'
1157 sysconfdir
='${prefix}/etc'
1158 sharedstatedir
='${prefix}/com'
1159 localstatedir
='${prefix}/var'
1160 includedir
='${prefix}/include'
1161 oldincludedir
='/usr/include'
1162 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1163 infodir
='${datarootdir}/info'
1168 libdir
='${exec_prefix}/lib'
1169 localedir
='${datarootdir}/locale'
1170 mandir
='${datarootdir}/man'
1176 # If the previous option needs an argument, assign it.
1177 if test -n "$ac_prev"; then
1178 eval $ac_prev=\
$ac_option
1184 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1188 # Accept the important Cygnus configure options, so we can diagnose typos.
1190 case $ac_dashdash$ac_option in
1194 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1196 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1197 bindir
=$ac_optarg ;;
1199 -build | --build | --buil | --bui | --bu)
1200 ac_prev
=build_alias
;;
1201 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1202 build_alias
=$ac_optarg ;;
1204 -cache-file | --cache-file | --cache-fil | --cache-fi \
1205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1206 ac_prev
=cache_file
;;
1207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1209 cache_file
=$ac_optarg ;;
1211 --config-cache | -C)
1212 cache_file
=config.cache
;;
1214 -datadir | --datadir | --datadi | --datad)
1216 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1217 datadir
=$ac_optarg ;;
1219 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1220 | --dataroo | --dataro | --datar)
1221 ac_prev
=datarootdir
;;
1222 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1223 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1224 datarootdir
=$ac_optarg ;;
1226 -disable-* | --disable-*)
1227 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1233 eval enable_
$ac_feature=no
;;
1235 -docdir | --docdir | --docdi | --doc | --do)
1237 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1238 docdir
=$ac_optarg ;;
1240 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1242 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1243 dvidir
=$ac_optarg ;;
1245 -enable-* | --enable-*)
1246 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1252 eval enable_
$ac_feature=\
$ac_optarg ;;
1254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1256 | --exec | --exe | --ex)
1257 ac_prev
=exec_prefix
;;
1258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1260 | --exec=* | --exe=* | --ex=*)
1261 exec_prefix
=$ac_optarg ;;
1263 -gas | --gas | --ga | --g)
1264 # Obsolete; use --with-gas.
1267 -help | --help | --hel | --he | -h)
1268 ac_init_help
=long
;;
1269 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1270 ac_init_help
=recursive
;;
1271 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1272 ac_init_help
=short
;;
1274 -host | --host | --hos | --ho)
1275 ac_prev
=host_alias
;;
1276 -host=* | --host=* | --hos=* | --ho=*)
1277 host_alias
=$ac_optarg ;;
1279 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1281 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1283 htmldir
=$ac_optarg ;;
1285 -includedir | --includedir | --includedi | --included | --include \
1286 | --includ | --inclu | --incl | --inc)
1287 ac_prev
=includedir
;;
1288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1289 | --includ=* | --inclu=* | --incl=* | --inc=*)
1290 includedir
=$ac_optarg ;;
1292 -infodir | --infodir | --infodi | --infod | --info | --inf)
1294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1295 infodir
=$ac_optarg ;;
1297 -libdir | --libdir | --libdi | --libd)
1299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1300 libdir
=$ac_optarg ;;
1302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1303 | --libexe | --libex | --libe)
1304 ac_prev
=libexecdir
;;
1305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1306 | --libexe=* | --libex=* | --libe=*)
1307 libexecdir
=$ac_optarg ;;
1309 -localedir | --localedir | --localedi | --localed | --locale)
1310 ac_prev
=localedir
;;
1311 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1312 localedir
=$ac_optarg ;;
1314 -localstatedir | --localstatedir | --localstatedi | --localstated \
1315 | --localstate | --localstat | --localsta | --localst | --locals)
1316 ac_prev
=localstatedir
;;
1317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1318 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1319 localstatedir
=$ac_optarg ;;
1321 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1323 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1324 mandir
=$ac_optarg ;;
1326 -nfp | --nfp | --nf)
1327 # Obsolete; use --without-fp.
1330 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1331 | --no-cr | --no-c | -n)
1334 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1335 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1338 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1339 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1340 | --oldin | --oldi | --old | --ol | --o)
1341 ac_prev
=oldincludedir
;;
1342 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1343 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1344 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1345 oldincludedir
=$ac_optarg ;;
1347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1350 prefix
=$ac_optarg ;;
1352 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1353 | --program-pre | --program-pr | --program-p)
1354 ac_prev
=program_prefix
;;
1355 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1356 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1357 program_prefix
=$ac_optarg ;;
1359 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1360 | --program-suf | --program-su | --program-s)
1361 ac_prev
=program_suffix
;;
1362 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1363 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1364 program_suffix
=$ac_optarg ;;
1366 -program-transform-name | --program-transform-name \
1367 | --program-transform-nam | --program-transform-na \
1368 | --program-transform-n | --program-transform- \
1369 | --program-transform | --program-transfor \
1370 | --program-transfo | --program-transf \
1371 | --program-trans | --program-tran \
1372 | --progr-tra | --program-tr | --program-t)
1373 ac_prev
=program_transform_name
;;
1374 -program-transform-name=* | --program-transform-name=* \
1375 | --program-transform-nam=* | --program-transform-na=* \
1376 | --program-transform-n=* | --program-transform-=* \
1377 | --program-transform=* | --program-transfor=* \
1378 | --program-transfo=* | --program-transf=* \
1379 | --program-trans=* | --program-tran=* \
1380 | --progr-tra=* | --program-tr=* | --program-t=*)
1381 program_transform_name
=$ac_optarg ;;
1383 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1385 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1386 pdfdir
=$ac_optarg ;;
1388 -psdir | --psdir | --psdi | --psd | --ps)
1390 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394 | -silent | --silent | --silen | --sile | --sil)
1397 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1399 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1401 sbindir
=$ac_optarg ;;
1403 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1404 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1405 | --sharedst | --shareds | --shared | --share | --shar \
1407 ac_prev
=sharedstatedir
;;
1408 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1409 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1410 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1412 sharedstatedir
=$ac_optarg ;;
1414 -site | --site | --sit)
1416 -site=* | --site=* | --sit=*)
1419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1422 srcdir
=$ac_optarg ;;
1424 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1425 | --syscon | --sysco | --sysc | --sys | --sy)
1426 ac_prev
=sysconfdir
;;
1427 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1428 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1429 sysconfdir
=$ac_optarg ;;
1431 -target | --target | --targe | --targ | --tar | --ta | --t)
1432 ac_prev
=target_alias
;;
1433 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1434 target_alias
=$ac_optarg ;;
1436 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1439 -version | --version | --versio | --versi | --vers | -V)
1440 ac_init_version
=: ;;
1443 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1444 # Reject names that are not valid shell variable names.
1445 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1446 { echo "$as_me: error: invalid package name: $ac_package" >&2
1447 { (exit 1); exit 1; }; }
1448 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1449 eval with_
$ac_package=\
$ac_optarg ;;
1451 -without-* | --without-*)
1452 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1455 { echo "$as_me: error: invalid package name: $ac_package" >&2
1456 { (exit 1); exit 1; }; }
1457 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1458 eval with_
$ac_package=no
;;
1461 # Obsolete; use --with-x.
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev
=x_includes
;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes
=$ac_optarg ;;
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev
=x_libraries
;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries
=$ac_optarg ;;
1478 -*) { echo "$as_me: error: unrecognized option: $ac_option
1479 Try \`$0 --help' for more information." >&2
1480 { (exit 1); exit 1; }; }
1484 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1487 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488 { (exit 1); exit 1; }; }
1489 eval $ac_envvar=\
$ac_optarg
1490 export $ac_envvar ;;
1493 # FIXME: should be removed in autoconf 3.0.
1494 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1496 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1503 if test -n "$ac_prev"; then
1504 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1505 { echo "$as_me: error: missing argument to $ac_option" >&2
1506 { (exit 1); exit 1; }; }
1509 # Be sure to have absolute directory names.
1510 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1511 datadir sysconfdir sharedstatedir localstatedir includedir \
1512 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1513 libdir localedir mandir
1515 eval ac_val
=\$
$ac_var
1517 [\\/$
]* | ?
:[\\/]* ) continue;;
1518 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1520 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1529 target
=$target_alias
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x
; then
1533 if test "x$build_alias" = x
; then
1534 cross_compiling
=maybe
1535 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1543 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1545 test "$silent" = yes && exec 6>/dev
/null
1548 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di
=`ls -di .` &&
1550 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1551 { echo "$as_me: error: Working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted
=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir
=`$as_dirname -- "$0" ||
1563 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$0" : 'X\(//\)[^/]' \| \
1565 X"$0" : 'X\(//\)$' \| \
1566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1590 ac_srcdir_defaulted
=no
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1594 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1597 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1610 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1612 for ac_var
in $ac_precious_vars; do
1613 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1614 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1615 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1616 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1620 # Report the --help message.
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1626 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1633 Defaults for the options are specified in brackets.
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1657 For better control, use the options below.
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1684 --x-includes=DIR X include files are
in DIR
1685 --x-libraries=DIR X library files are
in DIR
1688 --build=BUILD configure
for building on BUILD
[guessed
]
1689 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1693 if test -n "$ac_init_help"; then
1694 case $ac_init_help in
1695 short
| recursive
) echo "Configuration of wxWidgets 2.9.4:";;
1700 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1701 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1702 --disable-gui don
't build GUI parts of the library
1703 --enable-monolithic build wxWidgets as single library
1704 --enable-plugins build parts of wxWidgets as loadable components
1705 --enable-official_build official build of wxWidgets (win32 DLL only)
1706 --enable-vendor=VENDOR vendor name (win32 DLL only)
1707 --disable-all-features disable all optional features to build minimal library
1708 --enable-universal use wxWidgets GUI controls instead of native ones
1709 --enable-nanox use NanoX
1710 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1711 --enable-gpe use GNOME PDA Environment features if possible
1712 --enable-debug build library for debugging
1713 --disable-debug_flag disable all debugging support
1714 --enable-debug_info generate debug information
1715 --enable-debug_gdb create code with extra GDB debugging information
1716 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1717 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1718 --disable-shared create static library instead of shared
1719 --enable-stl use standard C++ classes for everything
1720 --enable-std_containers use standard C++ container classes
1721 --enable-std_iostreams use standard C++ stream classes
1722 --enable-std_string use standard C++ string classes
1723 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1724 --disable-unicode compile without Unicode support
1725 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1726 --enable-utf8 use UTF-8 representation for strings (Unix only)
1727 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1728 --enable-extended_rtti use extended RTTI (XTI)
1729 --enable-omf use OMF object format
1730 --disable-optimise compile without optimisations
1731 --enable-profile create code with profiling information
1732 --enable-no_rtti create code without RTTI information
1733 --enable-no_exceptions create code without C++ exceptions handling
1734 --enable-permissive compile code disregarding strict ANSI
1735 --enable-no_deps create code without dependency information
1736 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1737 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1738 --enable-macosx_arch=ARCH build
for just the specified architecture
1739 --enable-compat26 enable wxWidgets
2.6 compatibility
1740 --disable-compat28 disable wxWidgets
2.8 compatibility
1741 --disable-rpath disable use of rpath
for uninstalled builds
1742 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1743 --disable-visibility disable use of ELF symbols visibility even
if supported
1744 --disable-tls disable use of compiler TLS support
1745 --enable-intl use internationalization system
1746 --enable-xlocale use x
-locale support
(requires wxLocale
)
1747 --enable-config use wxConfig
(and derived
) classes
1748 --enable-protocols use wxProtocol and derived classes
1749 --enable-ftp use wxFTP
(requires wxProtocol
1750 --enable-http use wxHTTP
(requires wxProtocol
1751 --enable-fileproto use wxFileProto class
(requires wxProtocol
1752 --enable-sockets use socket
/network classes
1753 --enable-ipv6 enable IPv6 support
in wxSocket
1754 --enable-ole use OLE classes
(Win32 only
)
1755 --enable-dataobj use data object classes
1756 --enable-ipc use interprocess communication
(wxSocket etc.
)
1757 --enable-baseevtloop use event loop
in console programs too
1758 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1759 --enable-selectloop use wxSelectDispatcher class
1760 --enable-any use wxAny class
1761 --enable-apple_ieee use the Apple IEEE codec
1762 --enable-arcstream use wxArchive streams
1763 --enable-base64 use base64 encoding
/decoding functions
1764 --enable-backtrace use wxStackWalker class
for getting backtraces
1765 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1766 --enable-cmdline use wxCmdLineParser class
1767 --enable-datetime use wxDateTime class
1768 --enable-debugreport use wxDebugReport class
1769 --enable-dialupman use dialup network classes
1770 --enable-dynlib use wxLibrary class
for DLL loading
1771 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1772 --enable-exceptions build exception
-safe library
1773 --enable-ffile use wxFFile class
1774 --enable-file use wxFile class
1775 --enable-filehistory use wxFileHistory class
1776 --enable-filesystem use virtual
file systems classes
1777 --enable-fontenum use wxFontEnumerator class
1778 --enable-fontmap use font encodings conversion classes
1779 --enable-fs_archive use virtual archive filesystems
1780 --enable-fs_inet use virtual HTTP
/FTP filesystems
1781 --enable-fs_zip now replaced by fs_archive
1782 --enable-fswatcher use wxFileSystemWatcher class
1783 --enable-geometry use geometry class
1784 --enable-log use logging system
1785 --enable-longlong use wxLongLong class
1786 --enable-mimetype use wxMimeTypesManager
1787 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1788 --enable-snglinst use wxSingleInstanceChecker class
1789 --enable-sound use wxSound class
1790 --enable-stdpaths use wxStandardPaths class
1791 --enable-stopwatch use wxStopWatch class
1792 --enable-streams use wxStream etc classes
1793 --enable-sysoptions use wxSystemOptions
1794 --enable-tarstream use wxTar streams
1795 --enable-textbuf use wxTextBuffer class
1796 --enable-textfile use wxTextFile class
1797 --enable-timer use wxTimer class
1798 --enable-variant use wxVariant class
1799 --enable-zipstream use wxZip streams
1800 --enable-url use wxURL class
1801 --enable-protocol use wxProtocol class
1802 --enable-protocol-http HTTP support
in wxProtocol
1803 --enable-protocol-ftp FTP support
in wxProtocol
1804 --enable-protocol-file FILE support
in wxProtocol
1805 --enable-threads use threads
1806 --enable-iniconf use wxIniConfig
(Win32 only
)
1807 --enable-regkey use wxRegKey class
(Win32 only
)
1808 --enable-docview use document view architecture
1809 --enable-help use
help subsystem
1810 --enable-mshtmlhelp use MS HTML Help
(win32
)
1811 --enable-html use wxHTML sub
-library
1812 --enable-htmlhelp use wxHTML
-based help
1813 --enable-xrc use XRC resources sub
-library
1814 --enable-aui use AUI docking library
1815 --enable-propgrid use wxPropertyGrid library
1816 --enable-ribbon use wxRibbon library
1817 --enable-stc use wxStyledTextCtrl library
1818 --enable-constraints use layout
-constraints system
1819 --enable-loggui use standard GUI logger
1820 --enable-logwin use wxLogWindow
1821 --enable-logdialog use wxLogDialog
1822 --enable-mdi use multiple document interface architecture
1823 --enable-mdidoc use docview architecture with MDI
1824 --enable-mediactrl use wxMediaCtrl class
1825 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1826 --enable-richtext use wxRichTextCtrl
1827 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1828 --enable-printarch use printing architecture
1829 --enable-svg use wxSVGFileDC device context
1830 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
1831 --enable-webview use wxWebView library
1832 --enable-graphics_ctx use graphics context
2D drawing API
1833 --enable-clipboard use wxClipboard class
1834 --enable-dnd use Drag
'n'Drop classes
1835 --disable-controls disable compilation of all standard controls
1836 --enable-markup support wxControl
::SetLabelMarkup
1837 --enable-accel use accelerators
1838 --enable-animatectrl use wxAnimationCtrl class
1839 --enable-bannerwindow use wxBannerWindow class
1840 --enable-artstd use standard XPM icons
in wxArtProvider
1841 --enable-arttango use Tango icons
in wxArtProvider
1842 --enable-bmpbutton use wxBitmapButton class
1843 --enable-bmpcombobox use wxBitmapComboBox class
1844 --enable-button use wxButton class
1845 --enable-calendar use wxCalendarCtrl class
1846 --enable-caret use wxCaret class
1847 --enable-checkbox use wxCheckBox class
1848 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1849 --enable-choice use wxChoice class
1850 --enable-choicebook use wxChoicebook class
1851 --enable-collpane use wxCollapsiblePane class
1852 --enable-colourpicker use wxColourPickerCtrl class
1853 --enable-combobox use wxComboBox class
1854 --enable-comboctrl use wxComboCtrl class
1855 --enable-commandlinkbutton use wxCommmandLinkButton class
1856 --enable-dataviewctrl use wxDataViewCtrl class
1857 --enable-datepick use wxDatePickerCtrl class
1858 --enable-detect_sm use code to detect X11 session manager
1859 --enable-dirpicker use wxDirPickerCtrl class
1860 --enable-display use wxDisplay class
1861 --enable-editablebox use wxEditableListBox class
1862 --enable-filectrl use wxFileCtrl class
1863 --enable-filepicker use wxFilePickerCtrl class
1864 --enable-fontpicker use wxFontPickerCtrl class
1865 --enable-gauge use wxGauge class
1866 --enable-grid use wxGrid class
1867 --enable-headerctrl use wxHeaderCtrl class
1868 --enable-hyperlink use wxHyperlinkCtrl class
1869 --enable-imaglist use wxImageList class
1870 --enable-infobar use wxInfoBar class
1871 --enable-listbook use wxListbook class
1872 --enable-listbox use wxListBox class
1873 --enable-listctrl use wxListCtrl class
1874 --enable-notebook use wxNotebook class
1875 --enable-notifmsg use wxNotificationMessage class
1876 --enable-odcombobox use wxOwnerDrawnComboBox class
1877 --enable-popupwin use wxPopUpWindow class
1878 --enable-radiobox use wxRadioBox class
1879 --enable-radiobtn use wxRadioButton class
1880 --enable-richmsgdlg use wxRichMessageDialog class
1881 --enable-richtooltip use wxRichToolTip class
1882 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1883 --enable-sash use wxSashWindow class
1884 --enable-scrollbar use wxScrollBar class and scrollable windows
1885 --enable-searchctrl use wxSearchCtrl class
1886 --enable-slider use wxSlider class
1887 --enable-spinbtn use wxSpinButton class
1888 --enable-spinctrl use wxSpinCtrl class
1889 --enable-splitter use wxSplitterWindow class
1890 --enable-statbmp use wxStaticBitmap class
1891 --enable-statbox use wxStaticBox class
1892 --enable-statline use wxStaticLine class
1893 --enable-stattext use wxStaticText class
1894 --enable-statusbar use wxStatusBar class
1895 --enable-taskbaricon use wxTaskBarIcon class
1896 --enable-tbarnative use native wxToolBar class
1897 --enable-textctrl use wxTextCtrl class
1898 --enable-timepick use wxTimePickerCtrl class
1899 --enable-tipwindow use wxTipWindow class
1900 --enable-togglebtn use wxToggleButton class
1901 --enable-toolbar use wxToolBar class
1902 --enable-toolbook use wxToolbook class
1903 --enable-treebook use wxTreebook class
1904 --enable-treectrl use wxTreeCtrl class
1905 --enable-treelist use wxTreeListCtrl class
1906 --enable-commondlg use all common dialogs
1907 --enable-aboutdlg use wxAboutBox
1908 --enable-choicedlg use wxChoiceDialog
1909 --enable-coldlg use wxColourDialog
1910 --enable-filedlg use wxFileDialog
1911 --enable-finddlg use wxFindReplaceDialog
1912 --enable-fontdlg use wxFontDialog
1913 --enable-dirdlg use wxDirDialog
1914 --enable-msgdlg use wxMessageDialog
1915 --enable-numberdlg use wxNumberEntryDialog
1916 --enable-splash use wxSplashScreen
1917 --enable-textdlg use wxTextDialog
1918 --enable-tipdlg use startup tips
1919 --enable-progressdlg use wxProgressDialog
1920 --enable-wizarddlg use wxWizard
1921 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1922 --enable-miniframe use wxMiniFrame class
1923 --enable-tooltips use wxToolTip class
1924 --enable-splines use spline drawing code
1925 --enable-mousewheel use mousewheel
1926 --enable-validators use wxValidator and derived classes
1927 --enable-busyinfo use wxBusyInfo
1928 --enable-hotkey use wxWindow
::RegisterHotKey
()
1929 --enable-joystick use wxJoystick
1930 --enable-metafiles use wxMetaFile
1931 --enable-dragimage use wxDragImage
1932 --enable-accessibility enable accessibility support
1933 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1934 --enable-dctransform use wxDC
::SetTransformMatrix and related
1935 --enable-webview-webkit use wxWebView WebKit backend
1936 --enable-palette use wxPalette class
1937 --enable-image use wxImage class
1938 --enable-gif use gif images
(GIF
file format
)
1939 --enable-pcx use pcx images
(PCX
file format
)
1940 --enable-tga use tga images
(TGA
file format
)
1941 --enable-iff use iff images
(IFF
file format
)
1942 --enable-pnm use pnm images
(PNM
file format
)
1943 --enable-xpm use xpm images
(XPM
file format
)
1944 --enable-ico_cur use Windows ICO and CUR formats
1945 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1946 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1947 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1948 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1949 --enable-wxdib use wxDIB class
(Win32 only
)
1950 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
1951 --enable-autoidman use automatic ids management
1952 --disable-largefile omit support
for large files
1953 --disable-gtktest do not try to compile and run a
test GTK
+ program
1954 --disable-gtktest Do not try to compile and run a
test GTK program
1955 --disable-sdltest Do not try to compile and run a
test SDL program
1956 --enable-omf use OMF object format
(OS
/2)
1957 --disable-dependency-tracking
1958 don
't use dependency tracking even if the compiler
1960 --disable-precomp-headers
1961 don't use precompiled headers even
if compiler can
1964 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1965 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1966 --without-subdirs don
't generate makefiles for samples/demos/...
1967 --with-flavour=NAME specify a name to identify this build
1968 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1969 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1970 --with-motif use Motif/Lesstif
1971 --with-osx_carbon use Mac OS X (Carbon)
1972 --with-osx_cocoa use Mac OS X (Cocoa)
1973 --with-osx_iphone use iPhone OS X port
1974 --with-osx use Mac OS X (default port, currently Carbon)
1975 --with-carbon same as --with-osx_carbon
1976 --with-cocoa same as --with-osx_cocoa
1977 --with-iphone same as --with-osx_iphone
1978 --with-mac same as --with-osx
1979 --with-old_cocoa use old, deprecated, Cocoa port
1980 --with-wine use Wine
1981 --with-msw use MS-Windows
1982 --with-pm use OS/2 Presentation Manager
1983 --with-mgl use SciTech MGL
1984 --with-directfb use DirectFB
1985 --with-microwin use MicroWindows
1987 --with-libpng use libpng (PNG image format)
1988 --with-libjpeg use libjpeg (JPEG file format)
1989 --with-libtiff use libtiff (TIFF file format)
1990 --with-libxpm use libxpm (XPM file format)
1991 --with-libiconv use libiconv (character conversion)
1992 --with-libmspack use libmspack (CHM help files loading)
1993 --without-gtkprint don't use GTK printing support
1994 --without-gnomeprint don
't use GNOME printing libraries
1995 --with-gnomevfs use GNOME VFS for associating MIME types
1996 --with-hildon use Hildon framework for Nokia 770/800/810
1997 --with-opengl use OpenGL (or Mesa)
1998 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1999 --with-sdl use SDL for audio on Unix
2000 --with-regex enable support for wxRegEx class
2001 --with-zlib use zlib for LZW compression
2002 --with-expat enable XML support using expat parser
2003 --with-macosx-sdk=PATH use an OS X SDK at PATH
2004 --with-macosx-version-min=VER build binaries which require at least this OS X version
2005 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2006 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2007 --with-x use the X Window System
2008 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2009 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2010 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2011 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2012 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2014 Some influential environment variables:
2015 CC C compiler command
2016 CFLAGS C compiler flags
2017 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2018 nonstandard directory <lib dir>
2019 LIBS libraries to pass to the linker, e.g. -l<library>
2020 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2021 you have headers in a nonstandard directory <include dir>
2023 CXX C++ compiler command
2024 CXXFLAGS C++ compiler flags
2025 CXXCPP C++ preprocessor
2026 PKG_CONFIG path to pkg-config utility
2028 C compiler flags for DIRECTFB, overriding pkg-config
2030 linker flags for DIRECTFB, overriding pkg-config
2031 XMKMF Path to xmkmf, Makefile generator for X Window System
2033 C compiler flags for PANGOX, overriding pkg-config
2034 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2036 C compiler flags for PANGOFT2, overriding pkg-config
2038 linker flags for PANGOFT2, overriding pkg-config
2040 C compiler flags for PANGOXFT, overriding pkg-config
2042 linker flags for PANGOXFT, overriding pkg-config
2044 C compiler flags for Xinerama, overriding pkg-config
2046 linker flags for Xinerama, overriding pkg-config
2048 C compiler flags for Xxf86vm, overriding pkg-config
2050 linker flags for Xxf86vm, overriding pkg-config
2051 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2052 SM_LIBS linker flags for SM, overriding pkg-config
2053 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2054 GL_LIBS linker flags for GL, overriding pkg-config
2055 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2056 GLU_LIBS linker flags for GLU, overriding pkg-config
2058 C compiler flags for MesaGL, overriding pkg-config
2059 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2061 C compiler flags for GTKPRINT, overriding pkg-config
2063 linker flags for GTKPRINT, overriding pkg-config
2064 LIBGNOMEPRINTUI_CFLAGS
2065 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2066 LIBGNOMEPRINTUI_LIBS
2067 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2069 C compiler flags for GNOMEVFS, overriding pkg-config
2071 linker flags for GNOMEVFS, overriding pkg-config
2073 C compiler flags for HILDON, overriding pkg-config
2074 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2076 C compiler flags for HILDON2, overriding pkg-config
2078 linker flags for HILDON2, overriding pkg-config
2080 C compiler flags for CAIRO, overriding pkg-config
2081 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2082 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2083 GST_LIBS linker flags for GST, overriding pkg-config
2085 Use these variables to override the choices made by `configure' or to
help
2086 it to
find libraries and programs with nonstandard names
/locations.
2088 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2093 if test "$ac_init_help" = "recursive"; then
2094 # If there are subdirs, report their specific --help.
2095 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2096 test -d "$ac_dir" || continue
2100 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2102 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2103 # A ".." for each directory in $ac_dir_suffix.
2104 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2105 case $ac_top_builddir_sub in
2106 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2107 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2110 ac_abs_top_builddir
=$ac_pwd
2111 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2112 # for backward compatibility:
2113 ac_top_builddir
=$ac_top_build_prefix
2116 .
) # We are building in place.
2118 ac_top_srcdir
=$ac_top_builddir_sub
2119 ac_abs_top_srcdir
=$ac_pwd ;;
2120 [\\/]* | ?
:[\\/]* ) # Absolute name.
2121 ac_srcdir
=$srcdir$ac_dir_suffix;
2122 ac_top_srcdir
=$srcdir
2123 ac_abs_top_srcdir
=$srcdir ;;
2125 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2126 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2127 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2129 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2131 cd "$ac_dir" || { ac_status
=$?
; continue; }
2132 # Check for guested configure.
2133 if test -f "$ac_srcdir/configure.gnu"; then
2135 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2136 elif test -f "$ac_srcdir/configure"; then
2138 $SHELL "$ac_srcdir/configure" --help=recursive
2140 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2142 cd "$ac_pwd" || { ac_status
=$?
; break; }
2146 test -n "$ac_init_help" && exit $ac_status
2147 if $ac_init_version; then
2149 wxWidgets configure
2.9.4
2150 generated by GNU Autoconf
2.61
2152 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2153 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2154 This configure
script is free software
; the Free Software Foundation
2155 gives unlimited permission to copy
, distribute and modify it.
2159 cat >config.log
<<_ACEOF
2160 This file contains any messages produced by compilers while
2161 running configure, to aid debugging if configure makes a mistake.
2163 It was created by wxWidgets $as_me 2.9.4, which was
2164 generated by GNU Autoconf 2.61. Invocation command line was
2176 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2177 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2178 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2179 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2180 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2182 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2183 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2185 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2186 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2187 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2188 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir
=.
2200 echo "PATH: $as_dir"
2216 # Keep a trace of the command line.
2217 # Strip out --no-create and --no-recursion so they do not pile up.
2218 # Strip out --silent because we don't want to record it for future runs.
2219 # Also quote any args containing shell meta-characters.
2220 # Make two passes to allow for proper duplicate-argument suppression.
2224 ac_must_keep_next
=false
2230 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2232 | -silent | --silent | --silen | --sile | --sil)
2235 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2240 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2241 if test $ac_must_keep_next = true
; then
2242 ac_must_keep_next
=false
# Got value, back to normal.
2245 *=* | --config-cache | -C | -disable-* | --disable-* \
2246 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2247 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2248 | -with-* | --with-* | -without-* | --without-* | --x)
2249 case "$ac_configure_args0 " in
2250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2253 -* ) ac_must_keep_next
=true
;;
2256 ac_configure_args
="$ac_configure_args '$ac_arg'"
2261 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2262 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2264 # When interrupted or exit'd, cleanup temporary files, and complete
2265 # config.log. We remove comments because anyway the quotes in there
2266 # would cause problems or look ugly.
2267 # WARNING: Use '\'' to represent an apostrophe within the trap.
2268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2269 trap 'exit_status=$?
2270 # Save into config.log some information that might help in debugging.
2275 ## ---------------- ##
2276 ## Cache variables. ##
2277 ## ---------------- ##
2280 # The following way of writing the cache mishandles newlines in values,
2282 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2283 eval ac_val=\$$ac_var
2287 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2288 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2291 _ | IFS | as_nl) ;; #(
2292 *) $as_unset $ac_var ;;
2297 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2298 *${as_nl}ac_space=\ *)
2300 "s/'\''/'\''\\\\'\'''\''/g;
2301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2312 ## ----------------- ##
2313 ## Output variables. ##
2314 ## ----------------- ##
2317 for ac_var in $ac_subst_vars
2319 eval ac_val=\$$ac_var
2321 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2323 echo "$ac_var='\''$ac_val'\''"
2327 if test -n "$ac_subst_files"; then
2329 ## ------------------- ##
2330 ## File substitutions. ##
2331 ## ------------------- ##
2334 for ac_var
in $ac_subst_files
2336 eval ac_val
=\$
$ac_var
2338 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 echo "$ac_var='\''$ac_val'\''"
2345 if test -s confdefs.h; then
2355 test "$ac_signal" != 0 &&
2356 echo "$as_me: caught signal $ac_signal"
2357 echo "$as_me: exit $exit_status"
2359 rm -f core *.core core.conftest.* &&
2360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2363 for ac_signal
in 1 2 13 15; do
2364 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2369 rm -f -r conftest
* confdefs.h
2371 # Predefined preprocessor variables.
2373 cat >>confdefs.h
<<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2378 cat >>confdefs.h
<<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer explicitly selected file to automatically selected ones.
2400 if test -n "$CONFIG_SITE"; then
2401 set x
"$CONFIG_SITE"
2402 elif test "x$prefix" != xNONE
; then
2403 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2405 set x
"$ac_default_prefix/share/config.site" \
2406 "$ac_default_prefix/etc/config.site"
2411 if test -r "$ac_site_file"; then
2412 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2413 echo "$as_me: loading site script $ac_site_file" >&6;}
2414 sed 's/^/| /' "$ac_site_file" >&5
2419 if test -r "$cache_file"; then
2420 # Some versions of bash will fail to source /dev/null (special
2421 # files actually), so we avoid doing that.
2422 if test -f "$cache_file"; then
2423 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2424 echo "$as_me: loading cache $cache_file" >&6;}
2426 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2427 *) .
"./$cache_file";;
2431 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2432 echo "$as_me: creating cache $cache_file" >&6;}
2436 # Check that the precious variables saved in the cache have kept the same
2438 ac_cache_corrupted
=false
2439 for ac_var
in $ac_precious_vars; do
2440 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2441 eval ac_new_set
=\
$ac_env_${ac_var}_set
2442 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2443 eval ac_new_val
=\
$ac_env_${ac_var}_value
2444 case $ac_old_set,$ac_new_set in
2446 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2447 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2448 ac_cache_corrupted
=: ;;
2450 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2451 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2452 ac_cache_corrupted
=: ;;
2455 if test "x$ac_old_val" != "x$ac_new_val"; then
2456 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2457 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2458 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2459 echo "$as_me: former value: $ac_old_val" >&2;}
2460 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2461 echo "$as_me: current value: $ac_new_val" >&2;}
2462 ac_cache_corrupted
=:
2465 # Pass precious variables to config.status.
2466 if test "$ac_new_set" = set; then
2468 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2469 *) ac_arg
=$ac_var=$ac_new_val ;;
2471 case " $ac_configure_args " in
2472 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2473 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2477 if $ac_cache_corrupted; then
2478 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2481 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2482 { (exit 1); exit 1; }; }
2510 ac_cpp
='$CPP $CPPFLAGS'
2511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2520 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2521 if test -f "$ac_dir/install-sh"; then
2523 ac_install_sh
="$ac_aux_dir/install-sh -c"
2525 elif test -f "$ac_dir/install.sh"; then
2527 ac_install_sh
="$ac_aux_dir/install.sh -c"
2529 elif test -f "$ac_dir/shtool"; then
2531 ac_install_sh
="$ac_aux_dir/shtool install -c"
2535 if test -z "$ac_aux_dir"; then
2536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2537 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2538 { (exit 1); exit 1; }; }
2541 # These three variables are undocumented and unsupported,
2542 # and are intended to be withdrawn in a future Autoconf release.
2543 # They can cause serious problems if a builder's source tree is in a directory
2544 # whose full name contains unusual characters.
2545 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2546 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2547 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2550 # Make sure we can run config.sub.
2551 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2552 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2553 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2554 { (exit 1); exit 1; }; }
2556 { echo "$as_me:$LINENO: checking build system type" >&5
2557 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2558 if test "${ac_cv_build+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 ac_build_alias
=$build_alias
2562 test "x$ac_build_alias" = x
&&
2563 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2564 test "x$ac_build_alias" = x
&&
2565 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2566 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2567 { (exit 1); exit 1; }; }
2568 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2569 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2570 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2571 { (exit 1); exit 1; }; }
2574 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2575 echo "${ECHO_T}$ac_cv_build" >&6; }
2576 case $ac_cv_build in
2578 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2579 echo "$as_me: error: invalid value of canonical build" >&2;}
2580 { (exit 1); exit 1; }; };;
2583 ac_save_IFS
=$IFS; IFS
='-'
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2593 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2596 { echo "$as_me:$LINENO: checking host system type" >&5
2597 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2598 if test "${ac_cv_host+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test "x$host_alias" = x
; then
2602 ac_cv_host
=$ac_cv_build
2604 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2605 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2606 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2607 { (exit 1); exit 1; }; }
2611 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2612 echo "${ECHO_T}$ac_cv_host" >&6; }
2615 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2616 echo "$as_me: error: invalid value of canonical host" >&2;}
2617 { (exit 1); exit 1; }; };;
2620 ac_save_IFS
=$IFS; IFS
='-'
2626 # Remember, the first character of IFS is used to create $*,
2627 # except with old shells:
2630 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2634 if test "$cross_compiling" != "no"; then
2635 HOST_PREFIX
="${host_alias}-"
2636 HOST_SUFFIX
="-$host_alias"
2643 wx_major_version_number
=2
2644 wx_minor_version_number
=9
2646 wx_subrelease_number
=0
2648 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2649 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2650 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2652 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2655 wx_top_builddir
="`pwd`"
2668 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2674 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2682 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2684 DEFAULT_wxUSE_OLD_COCOA
=0
2686 DEFAULT_wxUSE_OSX_CARBON
=0
2687 DEFAULT_wxUSE_OSX_COCOA
=0
2688 DEFAULT_wxUSE_OSX_IPHONE
=0
2690 DEFAULT_wxUSE_MICROWIN
=0
2691 DEFAULT_wxUSE_MOTIF
=0
2697 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2698 DEFAULT_DEFAULT_wxUSE_GTK
=0
2699 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2702 DEFAULT_DEFAULT_wxUSE_MGL
=0
2703 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2704 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2705 DEFAULT_DEFAULT_wxUSE_MSW
=0
2706 DEFAULT_DEFAULT_wxUSE_PM
=0
2707 DEFAULT_DEFAULT_wxUSE_X11
=0
2708 DEFAULT_DEFAULT_wxUSE_DFB
=0
2712 DYLIB_RPATH_INSTALL
=
2713 DYLIB_RPATH_POSTLINK
=
2715 DEFAULT_STD_FLAG
=yes
2720 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2722 cat >>confdefs.h
<<\_ACEOF
2727 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2731 cat >>confdefs.h
<<\_ACEOF
2736 if test "x$TMP" = "xalpha"; then
2738 cat >>confdefs.h
<<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_GTK
=1
2745 *-*-gnu* | *-*-k*bsd
*-gnu )
2748 if test "x$TMP" = "xalpha"; then
2750 cat >>confdefs.h
<<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_GTK
=1
2757 *-*-irix5* | *-*-irix6* )
2760 cat >>confdefs.h
<<\_ACEOF
2764 cat >>confdefs.h
<<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2772 cat >>confdefs.h
<<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_X11
=1
2782 cat >>confdefs.h
<<\_ACEOF
2786 cat >>confdefs.h
<<\_ACEOF
2787 #define __SOLARIS__ 1
2790 cat >>confdefs.h
<<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2801 cat >>confdefs.h
<<\_ACEOF
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2819 #define __FREEBSD__ 1
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_GTK
=1
2828 *-*-openbsd*|*-*-mirbsd*)
2831 cat >>confdefs.h
<<\_ACEOF
2832 #define __OPENBSD__ 1
2835 cat >>confdefs.h
<<\_ACEOF
2839 DEFAULT_DEFAULT_wxUSE_GTK
=1
2844 cat >>confdefs.h
<<\_ACEOF
2845 #define __NETBSD__ 1
2848 cat >>confdefs.h
<<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_GTK
=1
2853 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2855 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2860 cat >>confdefs.h
<<\_ACEOF
2864 cat >>confdefs.h
<<\_ACEOF
2868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2874 cat >>confdefs.h
<<\_ACEOF
2878 cat >>confdefs.h
<<\_ACEOF
2882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2887 cat >>confdefs.h
<<\_ACEOF
2891 cat >>confdefs.h
<<\_ACEOF
2895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2901 cat >>confdefs.h
<<\_ACEOF
2905 cat >>confdefs.h
<<\_ACEOF
2909 cat >>confdefs.h
<<\_ACEOF
2913 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2920 cat >>confdefs.h
<<\_ACEOF
2921 #define __UNIXWARE__ 1
2926 *-*-cygwin* | *-*-mingw32* )
2928 DEFAULT_DEFAULT_wxUSE_MSW
=1
2934 cat >>confdefs.h
<<\_ACEOF
2939 DEFAULT_DEFAULT_wxUSE_MGL
=1
2942 *-pc-os2_emx | *-pc-os2-emx )
2943 cat >>confdefs.h
<<\_ACEOF
2948 cat >>confdefs.h
<<\_ACEOF
2953 DEFAULT_DEFAULT_wxUSE_PM
=1
2955 LDFLAGS
="$LDFLAGS -Zcrtdll"
2956 ac_executable_extensions
=".exe"
2957 export ac_executable_extensions
2961 for ac_dir
in $PATH; do
2963 if test -z "$ac_TEMP_PATH"; then
2964 ac_TEMP_PATH
="$ac_dir"
2966 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2969 export PATH
="$ac_TEMP_PATH"
2977 cat >>confdefs.h
<<\_ACEOF
2981 cat >>confdefs.h
<<\_ACEOF
2982 #define __DARWIN__ 1
2985 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2991 cat >>confdefs.h
<<\_ACEOF
2995 cat >>confdefs.h
<<\_ACEOF
2996 #define __DARWIN__ 1
2999 cat >>confdefs.h
<<\_ACEOF
3000 #define TARGET_CARBON 1
3003 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
3008 cat >>confdefs.h
<<\_ACEOF
3015 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3016 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3017 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3018 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3020 DEFAULT_DEFAULT_wxUSE_X11
=1
3021 DEFAULT_wxUSE_SHARED
=no
3026 DEFAULT_wxUSE_ALL_FEATURES
=yes
3028 DEFAULT_wxUSE_STD_CONTAINERS
=no
3029 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
3030 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
3032 DEFAULT_wxUSE_DMALLOC
=no
3033 DEFAULT_wxUSE_LIBGNOMEVFS
=no
3034 DEFAULT_wxUSE_LIBHILDON
=no
3035 DEFAULT_wxUSE_LIBHILDON2
=no
3036 DEFAULT_wxUSE_LIBMSPACK
=no
3037 DEFAULT_wxUSE_LIBSDL
=no
3039 DEFAULT_wxUSE_ACCESSIBILITY
=no
3040 DEFAULT_wxUSE_IPV6
=no
3041 DEFAULT_wxUSE_GSTREAMER8
=no
3043 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
3044 DEFAULT_wxUSE_UNICODE_UTF8
=auto
3045 DEFAULT_wxUSE_OPENGL
=auto
3046 DEFAULT_wxUSE_MEDIACTRL
=auto
3047 DEFAULT_wxUSE_COMPILER_TLS
=auto
3048 DEFAULT_wxUSE_HOTKEY
=auto
3049 DEFAULT_wxUSE_METAFILE
=auto
3051 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3053 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3054 DEFAULT_wxUSE_MAC_ARCH
=no
3056 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3058 DEFAULT_wxUSE_GTK2
=yes
3060 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3066 enablestring
=disable
3068 if test -z "$defaultval"; then
3069 if test x
"$enablestring" = xdisable
; then
3076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3077 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3078 # Check whether --enable-gui was given.
3079 if test "${enable_gui+set}" = set; then
3080 enableval
=$enable_gui;
3081 if test "$enableval" = yes; then
3082 wx_cv_use_gui
='wxUSE_GUI=yes'
3084 wx_cv_use_gui
='wxUSE_GUI=no'
3089 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3094 eval "$wx_cv_use_gui"
3096 if test x"$enablestring" = xdisable; then
3097 if test $wxUSE_GUI = no; then
3106 { echo "$as_me:$LINENO: result: $result" >&5
3107 echo "${ECHO_T}$result" >&6; }
3112 if test -z "$defaultval"; then
3113 if test x"$enablestring" = xdisable; then
3120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3121 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3122 # Check whether --enable-monolithic was given.
3123 if test "${enable_monolithic+set}" = set; then
3124 enableval=$enable_monolithic;
3125 if test "$enableval" = yes; then
3126 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3128 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3133 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3138 eval "$wx_cv_use_monolithic"
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_MONOLITHIC = no; then
3147 result=$wxUSE_MONOLITHIC
3150 { echo "$as_me:$LINENO: result
: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3156 if test -z "$defaultval"; then
3157 if test x"$enablestring" = xdisable; then
3164 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3165 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3166 # Check whether --enable-plugins was given.
3167 if test "${enable_plugins+set}" = set; then
3168 enableval=$enable_plugins;
3169 if test "$enableval" = yes; then
3170 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3172 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3177 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3182 eval "$wx_cv_use_plugins"
3184 if test x
"$enablestring" = xdisable
; then
3185 if test $wxUSE_PLUGINS = no
; then
3191 result
=$wxUSE_PLUGINS
3194 { echo "$as_me:$LINENO: result: $result" >&5
3195 echo "${ECHO_T}$result" >&6; }
3199 defaultval
=$wxUSE_ALL_FEATURES
3200 if test -z "$defaultval"; then
3201 if test x
"$withstring" = xwithout
; then
3207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3208 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3210 # Check whether --with-subdirs was given.
3211 if test "${with_subdirs+set}" = set; then
3212 withval
=$with_subdirs;
3213 if test "$withval" = yes; then
3214 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3216 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3221 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3226 eval "$wx_cv_use_subdirs"
3228 if test x"$withstring" = xwithout; then
3229 if test $wxWITH_SUBDIRS = yes; then
3235 result=$wxWITH_SUBDIRS
3238 { echo "$as_me:$LINENO: result: $result" >&5
3239 echo "${ECHO_T}$result" >&6; }
3242 # Check whether --with-flavour was given.
3243 if test "${with_flavour+set}" = set; then
3244 withval=$with_flavour; WX_FLAVOUR="$withval"
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3260 # Check whether --enable-official_build was given.
3261 if test "${enable_official_build+set}" = set; then
3262 enableval=$enable_official_build;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3266 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3271 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3276 eval "$wx_cv_use_official_build"
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_OFFICIAL_BUILD = no; then
3285 result=$wxUSE_OFFICIAL_BUILD
3288 { echo "$as_me:$LINENO: result
: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3291 # Check whether --enable-vendor was given.
3292 if test "${enable_vendor+set}" = set; then
3293 enableval=$enable_vendor; VENDOR="$enableval"
3296 if test "x
$VENDOR" = "x
"; then
3301 enablestring=disable
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3311 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3312 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3313 # Check whether --enable-all-features was given.
3314 if test "${enable_all_features+set}" = set; then
3315 enableval=$enable_all_features;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3319 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3324 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3329 eval "$wx_cv_use_all_features"
3331 if test x
"$enablestring" = xdisable
; then
3332 if test $wxUSE_ALL_FEATURES = no
; then
3338 result
=$wxUSE_ALL_FEATURES
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3345 if test "$wxUSE_ALL_FEATURES" = "no"; then
3346 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3347 DEFAULT_wxUSE_MEDIACTRL
=no
3351 if test "$wxUSE_GUI" = "yes"; then
3356 if test -z "$defaultval"; then
3357 if test x
"$enablestring" = xdisable
; then
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3366 # Check whether --enable-universal was given.
3367 if test "${enable_universal+set}" = set; then
3368 enableval
=$enable_universal;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3372 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3377 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3382 eval "$wx_cv_use_universal"
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_UNIVERSAL = no; then
3391 result=$wxUSE_UNIVERSAL
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3397 if test "$wxUSE_UNIVERSAL" = "yes"; then
3399 # Check whether --with-themes was given.
3400 if test "${with_themes+set}" = set; then
3401 withval=$with_themes; wxUNIV_THEMES="$withval"
3407 # Check whether --with-gtk was given.
3408 if test "${with_gtk+set}" = set; then
3409 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-motif was given.
3414 if test "${with_motif+set}" = set; then
3415 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-osx_carbon was given.
3420 if test "${with_osx_carbon+set}" = set; then
3421 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-osx_cocoa was given.
3426 if test "${with_osx_cocoa+set}" = set; then
3427 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-osx_iphone was given.
3432 if test "${with_osx_iphone+set}" = set; then
3433 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-osx was given.
3438 if test "${with_osx+set}" = set; then
3439 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-carbon was given.
3444 if test "${with_carbon+set}" = set; then
3445 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-cocoa was given.
3450 if test "${with_cocoa+set}" = set; then
3451 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-iphone was given.
3456 if test "${with_iphone+set}" = set; then
3457 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3461 # Check whether --with-mac was given.
3462 if test "${with_mac+set}" = set; then
3463 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3467 # Check whether --with-old_cocoa was given.
3468 if test "${with_old_cocoa+set}" = set; then
3469 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3473 # Check whether --with-wine was given.
3474 if test "${with_wine+set}" = set; then
3475 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3479 # Check whether --with-msw was given.
3480 if test "${with_msw+set}" = set; then
3481 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3485 # Check whether --with-pm was given.
3486 if test "${with_pm+set}" = set; then
3487 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3491 # Check whether --with-mgl was given.
3492 if test "${with_mgl+set}" = set; then
3493 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3497 # Check whether --with-directfb was given.
3498 if test "${with_directfb+set}" = set; then
3499 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3503 # Check whether --with-microwin was given.
3504 if test "${with_microwin+set}" = set; then
3505 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3509 # Check whether --with-x11 was given.
3510 if test "${with_x11+set}" = set; then
3511 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3517 if test -z "$defaultval"; then
3518 if test x"$enablestring" = xdisable; then
3525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3527 # Check whether --enable-nanox was given.
3528 if test "${enable_nanox+set}" = set; then
3529 enableval=$enable_nanox;
3530 if test "$enableval" = yes; then
3531 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3533 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3538 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3543 eval "$wx_cv_use_nanox"
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_NANOX = no; then
3555 { echo "$as_me:$LINENO: result
: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3559 # Check whether --enable-gtk2 was given.
3560 if test "${enable_gtk2+set}" = set; then
3561 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3567 if test -z "$defaultval"; then
3568 if test x"$enablestring" = xdisable; then
3575 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3576 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3577 # Check whether --enable-gpe was given.
3578 if test "${enable_gpe+set}" = set; then
3579 enableval=$enable_gpe;
3580 if test "$enableval" = yes; then
3581 wx_cv_use_gpe='wxUSE_GPE=yes'
3583 wx_cv_use_gpe='wxUSE_GPE=no'
3588 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3593 eval "$wx_cv_use_gpe"
3595 if test x
"$enablestring" = xdisable
; then
3596 if test $wxUSE_GPE = no
; then
3605 { echo "$as_me:$LINENO: result: $result" >&5
3606 echo "${ECHO_T}$result" >&6; }
3610 { echo "$as_me:$LINENO: checking for toolkit" >&5
3611 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3615 # In Wine, we need to default to MSW, not GTK or MOTIF
3616 if test "$wxUSE_WINE" = "yes"; then
3617 DEFAULT_DEFAULT_wxUSE_GTK
=0
3618 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3619 DEFAULT_DEFAULT_wxUSE_MSW
=1
3626 if test "$wxUSE_GUI" = "yes"; then
3628 if test "$USE_BEOS" = 1; then
3629 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3630 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3631 { (exit 1); exit 1; }; }
3634 if test "$TOOLKIT_GIVEN" = 1; then
3635 for toolkit
in $ALL_TOOLKITS; do
3637 eval "value=\$${var}"
3638 if test "x$value" = "xno"; then
3640 elif test "x$value" != "x"; then
3644 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3645 eval "wx${toolkit}_VERSION=$value"
3649 for toolkit
in $ALL_TOOLKITS; do
3650 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3651 eval "wxUSE_$toolkit=\$${var}"
3655 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3656 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3657 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3660 *-pc-os2_emx | *-pc-os2-emx )
3661 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3664 case "$NUM_TOOLKITS" in
3668 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3669 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3670 { (exit 1); exit 1; }; }
3673 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3674 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3675 { (exit 1); exit 1; }; }
3678 # to be removed when --disable-gtk2 isn't needed
3679 if test "x$wxUSE_GTK2" = "xyes"; then
3682 elif test "x$wxUSE_GTK2" = "xno"; then
3687 for toolkit
in $ALL_TOOLKITS; do
3689 eval "value=\$${var}"
3690 if test "$value" = 1; then
3691 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3693 echo "${ECHO_T}$toolkit_echo" >&6; }
3697 if test "x$host_alias" != "x"; then
3698 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3699 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3701 { echo "$as_me:$LINENO: result: base only" >&5
3702 echo "${ECHO_T}base only" >&6; }
3707 if test "$wxUSE_OSX_CARBON" = 1 \
3708 -o "$wxUSE_OSX_COCOA" = 1 \
3709 -o "$wxUSE_OSX_IPHONE" = 1; then
3715 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3716 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3718 # Check whether --with-libpng was given.
3719 if test "${with_libpng+set}" = set; then
3720 withval
=$with_libpng;
3721 if test "$withval" = yes; then
3722 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3723 elif test "$withval" = no
; then
3724 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3725 elif test "$withval" = sys
; then
3726 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3727 elif test "$withval" = builtin; then
3728 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3737 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3742 eval "$wx_cv_use_libpng"
3744 if test "$wxUSE_LIBPNG" = yes; then
3745 { echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6; }
3747 elif test "$wxUSE_LIBPNG" = no; then
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3750 elif test "$wxUSE_LIBPNG" = sys; then
3751 { echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6; }
3753 elif test "$wxUSE_LIBPNG" = builtin; then
3754 { echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6; }
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3763 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3764 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3766 # Check whether --with-libjpeg was given.
3767 if test "${with_libjpeg+set}" = set; then
3768 withval=$with_libjpeg;
3769 if test "$withval" = yes; then
3770 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3771 elif test "$withval" = no; then
3772 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3773 elif test "$withval" = sys; then
3774 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3775 elif test "$withval" = builtin; then
3776 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3785 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3790 eval "$wx_cv_use_libjpeg"
3792 if test "$wxUSE_LIBJPEG" = yes; then
3793 { echo "$as_me:$LINENO: result
: yes" >&5
3794 echo "${ECHO_T}yes" >&6; }
3795 elif test "$wxUSE_LIBJPEG" = no; then
3796 { echo "$as_me:$LINENO: result
: no
" >&5
3797 echo "${ECHO_T}no
" >&6; }
3798 elif test "$wxUSE_LIBJPEG" = sys; then
3799 { echo "$as_me:$LINENO: result
: system version
" >&5
3800 echo "${ECHO_T}system version
" >&6; }
3801 elif test "$wxUSE_LIBJPEG" = builtin; then
3802 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3803 echo "${ECHO_T}builtin version
" >&6; }
3805 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3806 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3807 { (exit 1); exit 1; }; }
3811 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3812 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3814 # Check whether --with-libtiff was given.
3815 if test "${with_libtiff+set}" = set; then
3816 withval=$with_libtiff;
3817 if test "$withval" = yes; then
3818 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3819 elif test "$withval" = no; then
3820 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3821 elif test "$withval" = sys; then
3822 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3823 elif test "$withval" = builtin; then
3824 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3826 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3827 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3833 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3838 eval "$wx_cv_use_libtiff"
3840 if test "$wxUSE_LIBTIFF" = yes; then
3841 { echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6; }
3843 elif test "$wxUSE_LIBTIFF" = no
; then
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3846 elif test "$wxUSE_LIBTIFF" = sys
; then
3847 { echo "$as_me:$LINENO: result: system version" >&5
3848 echo "${ECHO_T}system version" >&6; }
3849 elif test "$wxUSE_LIBTIFF" = builtin; then
3850 { echo "$as_me:$LINENO: result: builtin version" >&5
3851 echo "${ECHO_T}builtin version" >&6; }
3853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3854 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3855 { (exit 1); exit 1; }; }
3859 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3860 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3862 # Check whether --with-libxpm was given.
3863 if test "${with_libxpm+set}" = set; then
3864 withval
=$with_libxpm;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3867 elif test "$withval" = no
; then
3868 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3869 elif test "$withval" = sys
; then
3870 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3871 elif test "$withval" = builtin; then
3872 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3875 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3876 { (exit 1); exit 1; }; }
3881 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3886 eval "$wx_cv_use_libxpm"
3888 if test "$wxUSE_LIBXPM" = yes; then
3889 { echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6; }
3891 elif test "$wxUSE_LIBXPM" = no; then
3892 { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3894 elif test "$wxUSE_LIBXPM" = sys; then
3895 { echo "$as_me:$LINENO: result: system version" >&5
3896 echo "${ECHO_T}system version" >&6; }
3897 elif test "$wxUSE_LIBXPM" = builtin; then
3898 { echo "$as_me:$LINENO: result: builtin version" >&5
3899 echo "${ECHO_T}builtin version" >&6; }
3901 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3902 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3903 { (exit 1); exit 1; }; }
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3919 # Check whether --with-libiconv was given.
3920 if test "${with_libiconv+set}" = set; then
3921 withval=$with_libiconv;
3922 if test "$withval" = yes; then
3923 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3925 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3930 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3935 eval "$wx_cv_use_libiconv"
3937 if test x"$withstring" = xwithout; then
3938 if test $wxUSE_LIBICONV = yes; then
3944 result=$wxUSE_LIBICONV
3947 { echo "$as_me:$LINENO: result
: $result" >&5
3948 echo "${ECHO_T}$result" >&6; }
3952 defaultval=$wxUSE_ALL_FEATURES
3953 if test -z "$defaultval"; then
3954 if test x"$withstring" = xwithout; then
3960 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3963 # Check whether --with-libmspack was given.
3964 if test "${with_libmspack+set}" = set; then
3965 withval=$with_libmspack;
3966 if test "$withval" = yes; then
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3969 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3974 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3979 eval "$wx_cv_use_libmspack"
3981 if test x
"$withstring" = xwithout
; then
3982 if test $wxUSE_LIBMSPACK = yes; then
3988 result
=$wxUSE_LIBMSPACK
3991 { echo "$as_me:$LINENO: result: $result" >&5
3992 echo "${ECHO_T}$result" >&6; }
3996 defaultval
=$wxUSE_ALL_FEATURES
3997 if test -z "$defaultval"; then
3998 if test x
"$withstring" = xwithout
; then
4004 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
4005 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
4007 # Check whether --with-gtkprint was given.
4008 if test "${with_gtkprint+set}" = set; then
4009 withval
=$with_gtkprint;
4010 if test "$withval" = yes; then
4011 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
4013 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
4018 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4023 eval "$wx_cv_use_gtkprint"
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_GTKPRINT = yes; then
4032 result=$wxUSE_GTKPRINT
4035 { echo "$as_me:$LINENO: result: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4040 defaultval=$wxUSE_ALL_FEATURES
4041 if test -z "$defaultval"; then
4042 if test x"$withstring" = xwithout; then
4048 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4049 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4057 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4062 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4067 eval "$wx_cv_use_gnomeprint"
4069 if test x"$withstring" = xwithout; then
4070 if test $wxUSE_LIBGNOMEPRINT = yes; then
4076 result=$wxUSE_LIBGNOMEPRINT
4079 { echo "$as_me:$LINENO: result
: $result" >&5
4080 echo "${ECHO_T}$result" >&6; }
4084 defaultval=$wxUSE_ALL_FEATURES
4085 if test -z "$defaultval"; then
4086 if test x"$withstring" = xwithout; then
4092 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4093 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4095 # Check whether --with-gnomevfs was given.
4096 if test "${with_gnomevfs+set}" = set; then
4097 withval=$with_gnomevfs;
4098 if test "$withval" = yes; then
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4101 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4106 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4111 eval "$wx_cv_use_gnomevfs"
4113 if test x
"$withstring" = xwithout
; then
4114 if test $wxUSE_LIBGNOMEVFS = yes; then
4120 result
=$wxUSE_LIBGNOMEVFS
4123 { echo "$as_me:$LINENO: result: $result" >&5
4124 echo "${ECHO_T}$result" >&6; }
4128 defaultval
=$wxUSE_ALL_FEATURES
4129 if test -z "$defaultval"; then
4130 if test x
"$withstring" = xwithout
; then
4136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4137 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4139 # Check whether --with-hildon was given.
4140 if test "${with_hildon+set}" = set; then
4141 withval
=$with_hildon;
4142 if test "$withval" = yes; then
4143 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4145 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4150 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4155 eval "$wx_cv_use_hildon"
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBHILDON = yes; then
4164 result=$wxUSE_LIBHILDON
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4183 # Check whether --with-opengl was given.
4184 if test "${with_opengl+set}" = set; then
4185 withval=$with_opengl;
4186 if test "$withval" = yes; then
4187 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4189 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4194 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4199 eval "$wx_cv_use_opengl"
4201 if test x"$withstring" = xwithout; then
4202 if test $wxUSE_OPENGL = yes; then
4208 result=$wxUSE_OPENGL
4211 { echo "$as_me:$LINENO: result
: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4219 defaultval=$wxUSE_ALL_FEATURES
4220 if test -z "$defaultval"; then
4221 if test x"$withstring" = xwithout; then
4227 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4230 # Check whether --with-dmalloc was given.
4231 if test "${with_dmalloc+set}" = set; then
4232 withval=$with_dmalloc;
4233 if test "$withval" = yes; then
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4236 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4241 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4246 eval "$wx_cv_use_dmalloc"
4248 if test x
"$withstring" = xwithout
; then
4249 if test $wxUSE_DMALLOC = yes; then
4255 result
=$wxUSE_DMALLOC
4258 { echo "$as_me:$LINENO: result: $result" >&5
4259 echo "${ECHO_T}$result" >&6; }
4263 defaultval
=$wxUSE_ALL_FEATURES
4264 if test -z "$defaultval"; then
4265 if test x
"$withstring" = xwithout
; then
4271 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4272 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4274 # Check whether --with-sdl was given.
4275 if test "${with_sdl+set}" = set; then
4277 if test "$withval" = yes; then
4278 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4280 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4285 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4290 eval "$wx_cv_use_sdl"
4292 if test x"$withstring" = xwithout; then
4293 if test $wxUSE_LIBSDL = yes; then
4299 result=$wxUSE_LIBSDL
4302 { echo "$as_me:$LINENO: result: $result" >&5
4303 echo "${ECHO_T}$result" >&6; }
4306 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4307 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4309 # Check whether --with-regex was given.
4310 if test "${with_regex+set}" = set; then
4311 withval=$with_regex;
4312 if test "$withval" = yes; then
4313 wx_cv_use_regex='wxUSE_REGEX
=yes'
4314 elif test "$withval" = no; then
4315 wx_cv_use_regex='wxUSE_REGEX
=no
'
4316 elif test "$withval" = sys; then
4317 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4318 elif test "$withval" = builtin; then
4319 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4328 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4333 eval "$wx_cv_use_regex"
4335 if test "$wxUSE_REGEX" = yes; then
4336 { echo "$as_me:$LINENO: result
: yes" >&5
4337 echo "${ECHO_T}yes" >&6; }
4338 elif test "$wxUSE_REGEX" = no; then
4339 { echo "$as_me:$LINENO: result
: no
" >&5
4340 echo "${ECHO_T}no
" >&6; }
4341 elif test "$wxUSE_REGEX" = sys; then
4342 { echo "$as_me:$LINENO: result
: system version
" >&5
4343 echo "${ECHO_T}system version
" >&6; }
4344 elif test "$wxUSE_REGEX" = builtin; then
4345 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4346 echo "${ECHO_T}builtin version
" >&6; }
4348 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4349 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4350 { (exit 1); exit 1; }; }
4354 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4355 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4357 # Check whether --with-zlib was given.
4358 if test "${with_zlib+set}" = set; then
4360 if test "$withval" = yes; then
4361 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4362 elif test "$withval" = no; then
4363 wx_cv_use_zlib='wxUSE_ZLIB=no'
4364 elif test "$withval" = sys; then
4365 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4366 elif test "$withval" = builtin; then
4367 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4369 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4370 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4376 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4381 eval "$wx_cv_use_zlib"
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no
; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys
; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4402 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4403 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4405 # Check whether --with-expat was given.
4406 if test "${with_expat+set}" = set; then
4407 withval
=$with_expat;
4408 if test "$withval" = yes; then
4409 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4410 elif test "$withval" = no
; then
4411 wx_cv_use_expat
='wxUSE_EXPAT=no'
4412 elif test "$withval" = sys
; then
4413 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4424 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4429 eval "$wx_cv_use_expat"
4431 if test "$wxUSE_EXPAT" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_EXPAT" = no; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_EXPAT" = sys; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_EXPAT" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4450 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4451 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4453 # Check whether --with-macosx-sdk was given.
4454 if test "${with_macosx_sdk+set}" = set; then
4455 withval=$with_macosx_sdk;
4456 wxUSE_MACOSX_SDK=$withval
4457 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4461 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4462 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4464 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4465 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4467 # Check whether --with-macosx-version-min was given.
4468 if test "${with_macosx_version_min+set}" = set; then
4469 withval=$with_macosx_version_min;
4470 wxUSE_MACOSX_VERSION_MIN=$withval
4471 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4475 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4476 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4479 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4480 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4481 # Check whether --enable-debug was given.
4482 if test "${enable_debug+set}" = set; then
4483 enableval=$enable_debug;
4484 if test "$enableval" = yes; then
4486 elif test "$enableval" = no; then
4488 elif test "$enableval" = max; then
4490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4492 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4493 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4494 { (exit 1); exit 1; }; }
4502 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4503 echo "${ECHO_T}${enable_debug-default}" >&6; }
4505 case "$wxUSE_DEBUG" in
4507 DEFAULT_wxUSE_DEBUG_FLAG=yes
4508 DEFAULT_wxUSE_DEBUG_INFO=yes
4510 DEFAULT_wxUSE_OPTIMISE=no
4514 DEFAULT_wxUSE_DEBUG_FLAG=no
4515 DEFAULT_wxUSE_DEBUG_INFO=no
4519 DEFAULT_wxUSE_DEBUG_FLAG=yes
4520 DEFAULT_wxUSE_DEBUG_INFO=no
4525 enablestring=disable
4527 if test -z "$defaultval"; then
4528 if test x"$enablestring" = xdisable; then
4535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4537 # Check whether --enable-debug_flag was given.
4538 if test "${enable_debug_flag+set}" = set; then
4539 enableval=$enable_debug_flag;
4540 if test "$enableval" = yes; then
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4543 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4548 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4553 eval "$wx_cv_use_debug_flag"
4555 if test x"$enablestring" = xdisable; then
4556 if test $wxUSE_DEBUG_FLAG = no; then
4562 result=$wxUSE_DEBUG_FLAG
4565 { echo "$as_me:$LINENO: result
: $result" >&5
4566 echo "${ECHO_T}$result" >&6; }
4571 if test -z "$defaultval"; then
4572 if test x"$enablestring" = xdisable; then
4579 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4580 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4581 # Check whether --enable-debug_info was given.
4582 if test "${enable_debug_info+set}" = set; then
4583 enableval=$enable_debug_info;
4584 if test "$enableval" = yes; then
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4587 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4592 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4597 eval "$wx_cv_use_debug_info"
4599 if test x
"$enablestring" = xdisable
; then
4600 if test $wxUSE_DEBUG_INFO = no
; then
4606 result
=$wxUSE_DEBUG_INFO
4609 { echo "$as_me:$LINENO: result: $result" >&5
4610 echo "${ECHO_T}$result" >&6; }
4617 if test -z "$defaultval"; then
4618 if test x
"$enablestring" = xdisable
; then
4625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4626 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4627 # Check whether --enable-debug_gdb was given.
4628 if test "${enable_debug_gdb+set}" = set; then
4629 enableval
=$enable_debug_gdb;
4630 if test "$enableval" = yes; then
4631 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4633 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4638 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4643 eval "$wx_cv_use_debug_gdb"
4645 if test x"$enablestring" = xdisable; then
4646 if test $wxUSE_DEBUG_GDB = no; then
4652 result=$wxUSE_DEBUG_GDB
4655 { echo "$as_me:$LINENO: result: $result" >&5
4656 echo "${ECHO_T}$result" >&6; }
4661 if test -z "$defaultval"; then
4662 if test x"$enablestring" = xdisable; then
4669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4671 # Check whether --enable-debug_cntxt was given.
4672 if test "${enable_debug_cntxt+set}" = set; then
4673 enableval=$enable_debug_cntxt;
4674 if test "$enableval" = yes; then
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4677 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4682 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4687 eval "$wx_cv_use_debug_cntxt"
4689 if test x"$enablestring" = xdisable; then
4690 if test $wxUSE_DEBUG_CONTEXT = no; then
4696 result=$wxUSE_DEBUG_CONTEXT
4699 { echo "$as_me:$LINENO: result
: $result" >&5
4700 echo "${ECHO_T}$result" >&6; }
4705 if test -z "$defaultval"; then
4706 if test x"$enablestring" = xdisable; then
4713 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4714 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4715 # Check whether --enable-mem_tracing was given.
4716 if test "${enable_mem_tracing+set}" = set; then
4717 enableval=$enable_mem_tracing;
4718 if test "$enableval" = yes; then
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4721 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4726 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4731 eval "$wx_cv_use_mem_tracing"
4733 if test x
"$enablestring" = xdisable
; then
4734 if test $wxUSE_MEM_TRACING = no
; then
4740 result
=$wxUSE_MEM_TRACING
4743 { echo "$as_me:$LINENO: result: $result" >&5
4744 echo "${ECHO_T}$result" >&6; }
4749 enablestring
=disable
4751 if test -z "$defaultval"; then
4752 if test x
"$enablestring" = xdisable
; then
4759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4761 # Check whether --enable-shared was given.
4762 if test "${enable_shared+set}" = set; then
4763 enableval
=$enable_shared;
4764 if test "$enableval" = yes; then
4765 wx_cv_use_shared
='wxUSE_SHARED=yes'
4767 wx_cv_use_shared
='wxUSE_SHARED=no'
4772 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4777 eval "$wx_cv_use_shared"
4779 if test x"$enablestring" = xdisable; then
4780 if test $wxUSE_SHARED = no; then
4786 result=$wxUSE_SHARED
4789 { echo "$as_me:$LINENO: result: $result" >&5
4790 echo "${ECHO_T}$result" >&6; }
4795 if test -z "$defaultval"; then
4796 if test x"$enablestring" = xdisable; then
4803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4804 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4805 # Check whether --enable-stl was given.
4806 if test "${enable_stl+set}" = set; then
4807 enableval=$enable_stl;
4808 if test "$enableval" = yes; then
4809 wx_cv_use_stl='wxUSE_STL
=yes'
4811 wx_cv_use_stl='wxUSE_STL
=no
'
4816 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4821 eval "$wx_cv_use_stl"
4823 if test x"$enablestring" = xdisable; then
4824 if test $wxUSE_STL = no; then
4833 { echo "$as_me:$LINENO: result
: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4836 if test "$wxUSE_STL" = "yes"; then
4837 DEFAULT_wxUSE_STD_CONTAINERS=yes
4838 DEFAULT_wxUSE_STD_IOSTREAM=yes
4839 DEFAULT_wxUSE_STD_STRING=yes
4844 if test -z "$defaultval"; then
4845 if test x"$enablestring" = xdisable; then
4852 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4853 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4854 # Check whether --enable-std_containers was given.
4855 if test "${enable_std_containers+set}" = set; then
4856 enableval=$enable_std_containers;
4857 if test "$enableval" = yes; then
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4860 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4865 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4870 eval "$wx_cv_use_std_containers"
4872 if test x
"$enablestring" = xdisable
; then
4873 if test $wxUSE_STD_CONTAINERS = no
; then
4879 result
=$wxUSE_STD_CONTAINERS
4882 { echo "$as_me:$LINENO: result: $result" >&5
4883 echo "${ECHO_T}$result" >&6; }
4888 if test -z "$defaultval"; then
4889 if test x
"$enablestring" = xdisable
; then
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4898 # Check whether --enable-std_iostreams was given.
4899 if test "${enable_std_iostreams+set}" = set; then
4900 enableval
=$enable_std_iostreams;
4901 if test "$enableval" = yes; then
4902 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4904 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4909 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4914 eval "$wx_cv_use_std_iostreams"
4916 if test x"$enablestring" = xdisable; then
4917 if test $wxUSE_STD_IOSTREAM = no; then
4923 result=$wxUSE_STD_IOSTREAM
4926 { echo "$as_me:$LINENO: result: $result" >&5
4927 echo "${ECHO_T}$result" >&6; }
4932 if test -z "$defaultval"; then
4933 if test x"$enablestring" = xdisable; then
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4942 # Check whether --enable-std_string was given.
4943 if test "${enable_std_string+set}" = set; then
4944 enableval=$enable_std_string;
4945 if test "$enableval" = yes; then
4946 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4948 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4953 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4958 eval "$wx_cv_use_std_string"
4960 if test x"$enablestring" = xdisable; then
4961 if test $wxUSE_STD_STRING = no; then
4967 result=$wxUSE_STD_STRING
4970 { echo "$as_me:$LINENO: result
: $result" >&5
4971 echo "${ECHO_T}$result" >&6; }
4976 if test -z "$defaultval"; then
4977 if test x"$enablestring" = xdisable; then
4984 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4985 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4986 # Check whether --enable-std_string_conv_in_wxstring was given.
4987 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4988 enableval=$enable_std_string_conv_in_wxstring;
4989 if test "$enableval" = yes; then
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4992 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4997 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
5002 eval "$wx_cv_use_std_string_conv_in_wxstring"
5004 if test x
"$enablestring" = xdisable
; then
5005 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
5011 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5014 { echo "$as_me:$LINENO: result: $result" >&5
5015 echo "${ECHO_T}$result" >&6; }
5018 enablestring
=disable
5020 if test -z "$defaultval"; then
5021 if test x
"$enablestring" = xdisable
; then
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5030 # Check whether --enable-unicode was given.
5031 if test "${enable_unicode+set}" = set; then
5032 enableval
=$enable_unicode;
5033 if test "$enableval" = yes; then
5034 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
5036 wx_cv_use_unicode
='wxUSE_UNICODE=no'
5041 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5046 eval "$wx_cv_use_unicode"
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_UNICODE = no; then
5055 result=$wxUSE_UNICODE
5058 { echo "$as_me:$LINENO: result: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5064 if test -z "$defaultval"; then
5065 if test x"$enablestring" = xdisable; then
5072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5074 # Check whether --enable-mslu was given.
5075 if test "${enable_mslu+set}" = set; then
5076 enableval=$enable_mslu;
5077 if test "$enableval" = yes; then
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5080 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5085 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5090 eval "$wx_cv_use_mslu"
5092 if test x"$enablestring" = xdisable; then
5093 if test $wxUSE_UNICODE_MSLU = no; then
5099 result=$wxUSE_UNICODE_MSLU
5102 { echo "$as_me:$LINENO: result
: $result" >&5
5103 echo "${ECHO_T}$result" >&6; }
5107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5108 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5109 # Check whether --enable-utf8 was given.
5110 if test "${enable_utf8+set}" = set; then
5111 enableval=$enable_utf8;
5112 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5116 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5121 eval "$wx_cv_use_utf8"
5123 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5124 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5129 if test -z "$defaultval"; then
5130 if test x"$enablestring" = xdisable; then
5137 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5138 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5139 # Check whether --enable-utf8only was given.
5140 if test "${enable_utf8only+set}" = set; then
5141 enableval=$enable_utf8only;
5142 if test "$enableval" = yes; then
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5145 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5150 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5155 eval "$wx_cv_use_utf8only"
5157 if test x
"$enablestring" = xdisable
; then
5158 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5164 result
=$wxUSE_UNICODE_UTF8_LOCALE
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5173 if test -z "$defaultval"; then
5174 if test x
"$enablestring" = xdisable
; then
5181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5183 # Check whether --enable-extended_rtti was given.
5184 if test "${enable_extended_rtti+set}" = set; then
5185 enableval
=$enable_extended_rtti;
5186 if test "$enableval" = yes; then
5187 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5189 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5194 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5199 eval "$wx_cv_use_extended_rtti"
5201 if test x"$enablestring" = xdisable; then
5202 if test $wxUSE_EXTENDED_RTTI = no; then
5208 result=$wxUSE_EXTENDED_RTTI
5211 { echo "$as_me:$LINENO: result: $result" >&5
5212 echo "${ECHO_T}$result" >&6; }
5214 if test "$USE_OS2" = 1; then
5215 DEFAULT_wxUSE_OMF=no
5219 if test -z "$defaultval"; then
5220 if test x"$enablestring" = xdisable; then
5227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5229 # Check whether --enable-omf was given.
5230 if test "${enable_omf+set}" = set; then
5231 enableval=$enable_omf;
5232 if test "$enableval" = yes; then
5233 wx_cv_use_omf='wxUSE_OMF
=yes'
5235 wx_cv_use_omf='wxUSE_OMF
=no
'
5240 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5245 eval "$wx_cv_use_omf"
5247 if test x"$enablestring" = xdisable; then
5248 if test $wxUSE_OMF = no; then
5257 { echo "$as_me:$LINENO: result
: $result" >&5
5258 echo "${ECHO_T}$result" >&6; }
5263 enablestring=disable
5265 if test -z "$defaultval"; then
5266 if test x"$enablestring" = xdisable; then
5273 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5274 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5275 # Check whether --enable-optimise was given.
5276 if test "${enable_optimise+set}" = set; then
5277 enableval=$enable_optimise;
5278 if test "$enableval" = yes; then
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5281 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5286 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5291 eval "$wx_cv_use_optimise"
5293 if test x
"$enablestring" = xdisable
; then
5294 if test $wxUSE_OPTIMISE = no
; then
5300 result
=$wxUSE_OPTIMISE
5303 { echo "$as_me:$LINENO: result: $result" >&5
5304 echo "${ECHO_T}$result" >&6; }
5310 if test -z "$defaultval"; then
5311 if test x
"$enablestring" = xdisable
; then
5318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5320 # Check whether --enable-profile was given.
5321 if test "${enable_profile+set}" = set; then
5322 enableval
=$enable_profile;
5323 if test "$enableval" = yes; then
5324 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5326 wx_cv_use_profile
='wxUSE_PROFILE=no'
5331 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5336 eval "$wx_cv_use_profile"
5338 if test x"$enablestring" = xdisable; then
5339 if test $wxUSE_PROFILE = no; then
5345 result=$wxUSE_PROFILE
5348 { echo "$as_me:$LINENO: result: $result" >&5
5349 echo "${ECHO_T}$result" >&6; }
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5363 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5364 # Check whether --enable-no_rtti was given.
5365 if test "${enable_no_rtti+set}" = set; then
5366 enableval=$enable_no_rtti;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5370 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5375 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5380 eval "$wx_cv_use_no_rtti"
5382 if test x"$enablestring" = xdisable; then
5383 if test $wxUSE_NO_RTTI = no; then
5389 result=$wxUSE_NO_RTTI
5392 { echo "$as_me:$LINENO: result
: $result" >&5
5393 echo "${ECHO_T}$result" >&6; }
5398 if test -z "$defaultval"; then
5399 if test x"$enablestring" = xdisable; then
5406 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5407 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5408 # Check whether --enable-no_exceptions was given.
5409 if test "${enable_no_exceptions+set}" = set; then
5410 enableval=$enable_no_exceptions;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5414 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5419 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5424 eval "$wx_cv_use_no_exceptions"
5426 if test x
"$enablestring" = xdisable
; then
5427 if test $wxUSE_NO_EXCEPTIONS = no
; then
5433 result
=$wxUSE_NO_EXCEPTIONS
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5442 if test -z "$defaultval"; then
5443 if test x
"$enablestring" = xdisable
; then
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5452 # Check whether --enable-permissive was given.
5453 if test "${enable_permissive+set}" = set; then
5454 enableval
=$enable_permissive;
5455 if test "$enableval" = yes; then
5456 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5458 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5463 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5468 eval "$wx_cv_use_permissive"
5470 if test x"$enablestring" = xdisable; then
5471 if test $wxUSE_PERMISSIVE = no; then
5477 result=$wxUSE_PERMISSIVE
5480 { echo "$as_me:$LINENO: result: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5496 # Check whether --enable-no_deps was given.
5497 if test "${enable_no_deps+set}" = set; then
5498 enableval=$enable_no_deps;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5502 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5507 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5512 eval "$wx_cv_use_no_deps"
5514 if test x"$enablestring" = xdisable; then
5515 if test $wxUSE_NO_DEPS = no; then
5521 result=$wxUSE_NO_DEPS
5524 { echo "$as_me:$LINENO: result
: $result" >&5
5525 echo "${ECHO_T}$result" >&6; }
5528 enablestring=disable
5530 if test -z "$defaultval"; then
5531 if test x"$enablestring" = xdisable; then
5538 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5539 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5540 # Check whether --enable-vararg_macros was given.
5541 if test "${enable_vararg_macros+set}" = set; then
5542 enableval=$enable_vararg_macros;
5543 if test "$enableval" = yes; then
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5546 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5551 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5556 eval "$wx_cv_use_vararg_macros"
5558 if test x
"$enablestring" = xdisable
; then
5559 if test $wxUSE_VARARG_MACROS = no
; then
5565 result
=$wxUSE_VARARG_MACROS
5568 { echo "$as_me:$LINENO: result: $result" >&5
5569 echo "${ECHO_T}$result" >&6; }
5574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5576 # Check whether --enable-universal_binary was given.
5577 if test "${enable_universal_binary+set}" = set; then
5578 enableval
=$enable_universal_binary;
5579 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5583 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5588 eval "$wx_cv_use_universal_binary"
5590 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5591 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5596 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5597 # Check whether --enable-macosx_arch was given.
5598 if test "${enable_macosx_arch+set}" = set; then
5599 enableval
=$enable_macosx_arch;
5600 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5604 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5609 eval "$wx_cv_use_macosx_arch"
5611 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5612 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5618 if test -z "$defaultval"; then
5619 if test x
"$enablestring" = xdisable
; then
5626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5628 # Check whether --enable-compat26 was given.
5629 if test "${enable_compat26+set}" = set; then
5630 enableval
=$enable_compat26;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5634 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5639 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5644 eval "$wx_cv_use_compat26"
5646 if test x"$enablestring" = xdisable; then
5647 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5653 result=$WXWIN_COMPATIBILITY_2_6
5656 { echo "$as_me:$LINENO: result: $result" >&5
5657 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}-compat28" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5672 # Check whether --enable-compat28 was given.
5673 if test "${enable_compat28+set}" = set; then
5674 enableval=$enable_compat28;
5675 if test "$enableval" = yes; then
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5678 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5683 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5688 eval "$wx_cv_use_compat28"
5690 if test x"$enablestring" = xdisable; then
5691 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5697 result=$WXWIN_COMPATIBILITY_2_8
5700 { echo "$as_me:$LINENO: result
: $result" >&5
5701 echo "${ECHO_T}$result" >&6; }
5705 enablestring=disable
5707 if test -z "$defaultval"; then
5708 if test x"$enablestring" = xdisable; then
5715 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5716 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5717 # Check whether --enable-rpath was given.
5718 if test "${enable_rpath+set}" = set; then
5719 enableval=$enable_rpath;
5720 if test "$enableval" = yes; then
5721 wx_cv_use_rpath='wxUSE_RPATH=yes'
5723 wx_cv_use_rpath='wxUSE_RPATH=no'
5728 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5733 eval "$wx_cv_use_rpath"
5735 if test x
"$enablestring" = xdisable
; then
5736 if test $wxUSE_RPATH = no
; then
5745 { echo "$as_me:$LINENO: result: $result" >&5
5746 echo "${ECHO_T}$result" >&6; }
5752 if test -z "$defaultval"; then
5753 if test x
"$enablestring" = xdisable
; then
5760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5762 # Check whether --enable-objc_uniquifying was given.
5763 if test "${enable_objc_uniquifying+set}" = set; then
5764 enableval
=$enable_objc_uniquifying;
5765 if test "$enableval" = yes; then
5766 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5768 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5773 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5778 eval "$wx_cv_use_objc_uniquifying"
5780 if test x"$enablestring" = xdisable; then
5781 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5787 result=$wxUSE_OBJC_UNIQUIFYING
5790 { echo "$as_me:$LINENO: result: $result" >&5
5791 echo "${ECHO_T}$result" >&6; }
5795 enablestring=disable
5797 if test -z "$defaultval"; then
5798 if test x"$enablestring" = xdisable; then
5805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5807 # Check whether --enable-visibility was given.
5808 if test "${enable_visibility+set}" = set; then
5809 enableval=$enable_visibility;
5810 if test "$enableval" = yes; then
5811 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5813 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5818 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5823 eval "$wx_cv_use_visibility"
5825 if test x"$enablestring" = xdisable; then
5826 if test $wxUSE_VISIBILITY = no; then
5832 result=$wxUSE_VISIBILITY
5835 { echo "$as_me:$LINENO: result
: $result" >&5
5836 echo "${ECHO_T}$result" >&6; }
5839 enablestring=disable
5841 if test -z "$defaultval"; then
5842 if test x"$enablestring" = xdisable; then
5849 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5850 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5851 # Check whether --enable-tls was given.
5852 if test "${enable_tls+set}" = set; then
5853 enableval=$enable_tls;
5854 if test "$enableval" = yes; then
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5857 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5862 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5867 eval "$wx_cv_use_tls"
5869 if test x
"$enablestring" = xdisable
; then
5870 if test $wxUSE_COMPILER_TLS = no
; then
5876 result
=$wxUSE_COMPILER_TLS
5879 { echo "$as_me:$LINENO: result: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5886 defaultval
=$wxUSE_ALL_FEATURES
5887 if test -z "$defaultval"; then
5888 if test x
"$enablestring" = xdisable
; then
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5897 # Check whether --enable-intl was given.
5898 if test "${enable_intl+set}" = set; then
5899 enableval
=$enable_intl;
5900 if test "$enableval" = yes; then
5901 wx_cv_use_intl
='wxUSE_INTL=yes'
5903 wx_cv_use_intl
='wxUSE_INTL=no'
5908 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5913 eval "$wx_cv_use_intl"
5915 if test x"$enablestring" = xdisable; then
5916 if test $wxUSE_INTL = no; then
5925 { echo "$as_me:$LINENO: result: $result" >&5
5926 echo "${ECHO_T}$result" >&6; }
5930 defaultval=$wxUSE_ALL_FEATURES
5931 if test -z "$defaultval"; then
5932 if test x"$enablestring" = xdisable; then
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5941 # Check whether --enable-xlocale was given.
5942 if test "${enable_xlocale+set}" = set; then
5943 enableval=$enable_xlocale;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5947 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5952 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5957 eval "$wx_cv_use_xlocale"
5959 if test x"$enablestring" = xdisable; then
5960 if test $wxUSE_XLOCALE = no; then
5966 result=$wxUSE_XLOCALE
5969 { echo "$as_me:$LINENO: result
: $result" >&5
5970 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}-config" >&5
5984 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5985 # Check whether --enable-config was given.
5986 if test "${enable_config+set}" = set; then
5987 enableval=$enable_config;
5988 if test "$enableval" = yes; then
5989 wx_cv_use_config='wxUSE_CONFIG=yes'
5991 wx_cv_use_config='wxUSE_CONFIG=no'
5996 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6001 eval "$wx_cv_use_config"
6003 if test x
"$enablestring" = xdisable
; then
6004 if test $wxUSE_CONFIG = no
; then
6010 result
=$wxUSE_CONFIG
6013 { echo "$as_me:$LINENO: result: $result" >&5
6014 echo "${ECHO_T}$result" >&6; }
6019 defaultval
=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x
"$enablestring" = xdisable
; then
6028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6030 # Check whether --enable-protocols was given.
6031 if test "${enable_protocols+set}" = set; then
6032 enableval
=$enable_protocols;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
6036 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
6041 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6046 eval "$wx_cv_use_protocols"
6048 if test x"$enablestring" = xdisable; then
6049 if test $wxUSE_PROTOCOL = no; then
6055 result=$wxUSE_PROTOCOL
6058 { echo "$as_me:$LINENO: result: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6063 defaultval=$wxUSE_ALL_FEATURES
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6074 # Check whether --enable-ftp was given.
6075 if test "${enable_ftp+set}" = set; then
6076 enableval=$enable_ftp;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6080 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6085 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6090 eval "$wx_cv_use_ftp"
6092 if test x"$enablestring" = xdisable; then
6093 if test $wxUSE_PROTOCOL_FTP = no; then
6099 result=$wxUSE_PROTOCOL_FTP
6102 { echo "$as_me:$LINENO: result
: $result" >&5
6103 echo "${ECHO_T}$result" >&6; }
6107 defaultval=$wxUSE_ALL_FEATURES
6108 if test -z "$defaultval"; then
6109 if test x"$enablestring" = xdisable; then
6116 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6117 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6118 # Check whether --enable-http was given.
6119 if test "${enable_http+set}" = set; then
6120 enableval=$enable_http;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6124 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6129 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6134 eval "$wx_cv_use_http"
6136 if test x
"$enablestring" = xdisable
; then
6137 if test $wxUSE_PROTOCOL_HTTP = no
; then
6143 result
=$wxUSE_PROTOCOL_HTTP
6146 { echo "$as_me:$LINENO: result: $result" >&5
6147 echo "${ECHO_T}$result" >&6; }
6151 defaultval
=$wxUSE_ALL_FEATURES
6152 if test -z "$defaultval"; then
6153 if test x
"$enablestring" = xdisable
; then
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6162 # Check whether --enable-fileproto was given.
6163 if test "${enable_fileproto+set}" = set; then
6164 enableval
=$enable_fileproto;
6165 if test "$enableval" = yes; then
6166 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6168 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6173 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6178 eval "$wx_cv_use_fileproto"
6180 if test x"$enablestring" = xdisable; then
6181 if test $wxUSE_PROTOCOL_FILE = no; then
6187 result=$wxUSE_PROTOCOL_FILE
6190 { echo "$as_me:$LINENO: result: $result" >&5
6191 echo "${ECHO_T}$result" >&6; }
6195 defaultval=$wxUSE_ALL_FEATURES
6196 if test -z "$defaultval"; then
6197 if test x"$enablestring" = xdisable; then
6204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6205 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6206 # Check whether --enable-sockets was given.
6207 if test "${enable_sockets+set}" = set; then
6208 enableval=$enable_sockets;
6209 if test "$enableval" = yes; then
6210 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6212 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6217 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6222 eval "$wx_cv_use_sockets"
6224 if test x"$enablestring" = xdisable; then
6225 if test $wxUSE_SOCKETS = no; then
6231 result=$wxUSE_SOCKETS
6234 { echo "$as_me:$LINENO: result
: $result" >&5
6235 echo "${ECHO_T}$result" >&6; }
6239 defaultval=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6248 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6249 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6250 # Check whether --enable-ipv6 was given.
6251 if test "${enable_ipv6+set}" = set; then
6252 enableval=$enable_ipv6;
6253 if test "$enableval" = yes; then
6254 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6256 wx_cv_use_ipv6='wxUSE_IPV6=no'
6261 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6266 eval "$wx_cv_use_ipv6"
6268 if test x
"$enablestring" = xdisable
; then
6269 if test $wxUSE_IPV6 = no
; then
6278 { echo "$as_me:$LINENO: result: $result" >&5
6279 echo "${ECHO_T}$result" >&6; }
6283 defaultval
=$wxUSE_ALL_FEATURES
6284 if test -z "$defaultval"; then
6285 if test x
"$enablestring" = xdisable
; then
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6294 # Check whether --enable-ole was given.
6295 if test "${enable_ole+set}" = set; then
6296 enableval
=$enable_ole;
6297 if test "$enableval" = yes; then
6298 wx_cv_use_ole
='wxUSE_OLE=yes'
6300 wx_cv_use_ole
='wxUSE_OLE=no'
6305 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6310 eval "$wx_cv_use_ole"
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_OLE = no; then
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 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}-dataobj" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6338 # Check whether --enable-dataobj was given.
6339 if test "${enable_dataobj+set}" = set; then
6340 enableval=$enable_dataobj;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6344 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6349 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6354 eval "$wx_cv_use_dataobj"
6356 if test x"$enablestring" = xdisable; then
6357 if test $wxUSE_DATAOBJ = no; then
6363 result=$wxUSE_DATAOBJ
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}-ipc" >&5
6382 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6383 # Check whether --enable-ipc was given.
6384 if test "${enable_ipc+set}" = set; then
6385 enableval=$enable_ipc;
6386 if test "$enableval" = yes; then
6387 wx_cv_use_ipc='wxUSE_IPC=yes'
6389 wx_cv_use_ipc='wxUSE_IPC=no'
6394 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6399 eval "$wx_cv_use_ipc"
6401 if test x
"$enablestring" = xdisable
; then
6402 if test $wxUSE_IPC = no
; then
6411 { echo "$as_me:$LINENO: result: $result" >&5
6412 echo "${ECHO_T}$result" >&6; }
6417 defaultval
=$wxUSE_ALL_FEATURES
6418 if test -z "$defaultval"; then
6419 if test x
"$enablestring" = xdisable
; then
6426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6428 # Check whether --enable-baseevtloop was given.
6429 if test "${enable_baseevtloop+set}" = set; then
6430 enableval
=$enable_baseevtloop;
6431 if test "$enableval" = yes; then
6432 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6434 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6439 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6444 eval "$wx_cv_use_baseevtloop"
6446 if test x"$enablestring" = xdisable; then
6447 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6453 result=$wxUSE_CONSOLE_EVENTLOOP
6456 { echo "$as_me:$LINENO: result: $result" >&5
6457 echo "${ECHO_T}$result" >&6; }
6461 defaultval=$wxUSE_ALL_FEATURES
6462 if test -z "$defaultval"; then
6463 if test x"$enablestring" = xdisable; then
6470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6472 # Check whether --enable-epollloop was given.
6473 if test "${enable_epollloop+set}" = set; then
6474 enableval=$enable_epollloop;
6475 if test "$enableval" = yes; then
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6478 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6483 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6488 eval "$wx_cv_use_epollloop"
6490 if test x"$enablestring" = xdisable; then
6491 if test $wxUSE_EPOLL_DISPATCHER = no; then
6497 result=$wxUSE_EPOLL_DISPATCHER
6500 { echo "$as_me:$LINENO: result
: $result" >&5
6501 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}-selectloop" >&5
6515 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6516 # Check whether --enable-selectloop was given.
6517 if test "${enable_selectloop+set}" = set; then
6518 enableval=$enable_selectloop;
6519 if test "$enableval" = yes; then
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6522 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6527 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6532 eval "$wx_cv_use_selectloop"
6534 if test x
"$enablestring" = xdisable
; then
6535 if test $wxUSE_SELECT_DISPATCHER = no
; then
6541 result
=$wxUSE_SELECT_DISPATCHER
6544 { echo "$as_me:$LINENO: result: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6550 defaultval
=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x
"$enablestring" = xdisable
; then
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6561 # Check whether --enable-any was given.
6562 if test "${enable_any+set}" = set; then
6563 enableval
=$enable_any;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_any
='wxUSE_ANY=yes'
6567 wx_cv_use_any
='wxUSE_ANY=no'
6572 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6577 eval "$wx_cv_use_any"
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_ANY = no; then
6589 { echo "$as_me:$LINENO: result: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6594 defaultval=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x"$enablestring" = xdisable; then
6603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6605 # Check whether --enable-apple_ieee was given.
6606 if test "${enable_apple_ieee+set}" = set; then
6607 enableval=$enable_apple_ieee;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6611 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6616 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6621 eval "$wx_cv_use_apple_ieee"
6623 if test x"$enablestring" = xdisable; then
6624 if test $wxUSE_APPLE_IEEE = no; then
6630 result=$wxUSE_APPLE_IEEE
6633 { echo "$as_me:$LINENO: result
: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6638 defaultval=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6647 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6648 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6649 # Check whether --enable-arcstream was given.
6650 if test "${enable_arcstream+set}" = set; then
6651 enableval=$enable_arcstream;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6655 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6660 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6665 eval "$wx_cv_use_arcstream"
6667 if test x
"$enablestring" = xdisable
; then
6668 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6674 result
=$wxUSE_ARCHIVE_STREAMS
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6682 defaultval
=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x
"$enablestring" = xdisable
; then
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6693 # Check whether --enable-base64 was given.
6694 if test "${enable_base64+set}" = set; then
6695 enableval
=$enable_base64;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_base64
='wxUSE_BASE64=yes'
6699 wx_cv_use_base64
='wxUSE_BASE64=no'
6704 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6709 eval "$wx_cv_use_base64"
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_BASE64 = no; then
6718 result=$wxUSE_BASE64
6721 { echo "$as_me:$LINENO: result: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6737 # Check whether --enable-backtrace was given.
6738 if test "${enable_backtrace+set}" = set; then
6739 enableval=$enable_backtrace;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6743 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6748 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6753 eval "$wx_cv_use_backtrace"
6755 if test x"$enablestring" = xdisable; then
6756 if test $wxUSE_STACKWALKER = no; then
6762 result=$wxUSE_STACKWALKER
6765 { echo "$as_me:$LINENO: result
: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6770 defaultval=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x"$enablestring" = xdisable; then
6779 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6780 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6781 # Check whether --enable-catch_segvs was given.
6782 if test "${enable_catch_segvs+set}" = set; then
6783 enableval=$enable_catch_segvs;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6787 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6792 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6797 eval "$wx_cv_use_catch_segvs"
6799 if test x
"$enablestring" = xdisable
; then
6800 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6806 result
=$wxUSE_ON_FATAL_EXCEPTION
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6814 defaultval
=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x
"$enablestring" = xdisable
; then
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6825 # Check whether --enable-cmdline was given.
6826 if test "${enable_cmdline+set}" = set; then
6827 enableval
=$enable_cmdline;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6831 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6836 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6841 eval "$wx_cv_use_cmdline"
6843 if test x"$enablestring" = xdisable; then
6844 if test $wxUSE_CMDLINE_PARSER = no; then
6850 result=$wxUSE_CMDLINE_PARSER
6853 { echo "$as_me:$LINENO: result: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6858 defaultval=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x"$enablestring" = xdisable; then
6867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6869 # Check whether --enable-datetime was given.
6870 if test "${enable_datetime+set}" = set; then
6871 enableval=$enable_datetime;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6875 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6880 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6885 eval "$wx_cv_use_datetime"
6887 if test x"$enablestring" = xdisable; then
6888 if test $wxUSE_DATETIME = no; then
6894 result=$wxUSE_DATETIME
6897 { echo "$as_me:$LINENO: result
: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6902 defaultval=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6911 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6912 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6913 # Check whether --enable-debugreport was given.
6914 if test "${enable_debugreport+set}" = set; then
6915 enableval=$enable_debugreport;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6919 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6924 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6929 eval "$wx_cv_use_debugreport"
6931 if test x
"$enablestring" = xdisable
; then
6932 if test $wxUSE_DEBUGREPORT = no
; then
6938 result
=$wxUSE_DEBUGREPORT
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6946 defaultval
=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x
"$enablestring" = xdisable
; then
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6957 # Check whether --enable-dialupman was given.
6958 if test "${enable_dialupman+set}" = set; then
6959 enableval
=$enable_dialupman;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6963 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6968 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6973 eval "$wx_cv_use_dialupman"
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_DIALUP_MANAGER = no; then
6982 result=$wxUSE_DIALUP_MANAGER
6985 { echo "$as_me:$LINENO: result: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7001 # Check whether --enable-dynlib was given.
7002 if test "${enable_dynlib+set}" = set; then
7003 enableval=$enable_dynlib;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7007 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7012 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7017 eval "$wx_cv_use_dynlib"
7019 if test x"$enablestring" = xdisable; then
7020 if test $wxUSE_DYNLIB_CLASS = no; then
7026 result=$wxUSE_DYNLIB_CLASS
7029 { echo "$as_me:$LINENO: result
: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7034 defaultval=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x"$enablestring" = xdisable; then
7043 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7044 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7045 # Check whether --enable-dynamicloader was given.
7046 if test "${enable_dynamicloader+set}" = set; then
7047 enableval=$enable_dynamicloader;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7051 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7056 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7061 eval "$wx_cv_use_dynamicloader"
7063 if test x
"$enablestring" = xdisable
; then
7064 if test $wxUSE_DYNAMIC_LOADER = no
; then
7070 result
=$wxUSE_DYNAMIC_LOADER
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7078 defaultval
=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x
"$enablestring" = xdisable
; then
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7089 # Check whether --enable-exceptions was given.
7090 if test "${enable_exceptions+set}" = set; then
7091 enableval
=$enable_exceptions;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7095 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7100 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7105 eval "$wx_cv_use_exceptions"
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_EXCEPTIONS = no; then
7114 result=$wxUSE_EXCEPTIONS
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7133 # Check whether --enable-ffile was given.
7134 if test "${enable_ffile+set}" = set; then
7135 enableval=$enable_ffile;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7139 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7144 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7149 eval "$wx_cv_use_ffile"
7151 if test x"$enablestring" = xdisable; then
7152 if test $wxUSE_FFILE = no; then
7161 { echo "$as_me:$LINENO: result
: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7166 defaultval=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x"$enablestring" = xdisable; then
7175 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7176 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7177 # Check whether --enable-file was given.
7178 if test "${enable_file+set}" = set; then
7179 enableval=$enable_file;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_file='wxUSE_FILE=yes'
7183 wx_cv_use_file='wxUSE_FILE=no'
7188 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7193 eval "$wx_cv_use_file"
7195 if test x
"$enablestring" = xdisable
; then
7196 if test $wxUSE_FILE = no
; then
7205 { echo "$as_me:$LINENO: result: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7210 defaultval
=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x
"$enablestring" = xdisable
; then
7219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7221 # Check whether --enable-filehistory was given.
7222 if test "${enable_filehistory+set}" = set; then
7223 enableval
=$enable_filehistory;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7227 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7232 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7237 eval "$wx_cv_use_filehistory"
7239 if test x"$enablestring" = xdisable; then
7240 if test $wxUSE_FILE_HISTORY = no; then
7246 result=$wxUSE_FILE_HISTORY
7249 { echo "$as_me:$LINENO: result: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7254 defaultval=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x"$enablestring" = xdisable; then
7263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7265 # Check whether --enable-filesystem was given.
7266 if test "${enable_filesystem+set}" = set; then
7267 enableval=$enable_filesystem;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7271 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7276 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7281 eval "$wx_cv_use_filesystem"
7283 if test x"$enablestring" = xdisable; then
7284 if test $wxUSE_FILESYSTEM = no; then
7290 result=$wxUSE_FILESYSTEM
7293 { echo "$as_me:$LINENO: result
: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7298 defaultval=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x"$enablestring" = xdisable; then
7307 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7308 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7309 # Check whether --enable-fontenum was given.
7310 if test "${enable_fontenum+set}" = set; then
7311 enableval=$enable_fontenum;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7315 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7320 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7325 eval "$wx_cv_use_fontenum"
7327 if test x
"$enablestring" = xdisable
; then
7328 if test $wxUSE_FONTENUM = no
; then
7334 result
=$wxUSE_FONTENUM
7337 { echo "$as_me:$LINENO: result: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7342 defaultval
=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x
"$enablestring" = xdisable
; then
7351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7353 # Check whether --enable-fontmap was given.
7354 if test "${enable_fontmap+set}" = set; then
7355 enableval
=$enable_fontmap;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7359 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7364 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7369 eval "$wx_cv_use_fontmap"
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_FONTMAP = no; then
7378 result=$wxUSE_FONTMAP
7381 { echo "$as_me:$LINENO: result: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7397 # Check whether --enable-fs_archive was given.
7398 if test "${enable_fs_archive+set}" = set; then
7399 enableval=$enable_fs_archive;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7403 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7408 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7413 eval "$wx_cv_use_fs_archive"
7415 if test x"$enablestring" = xdisable; then
7416 if test $wxUSE_FS_ARCHIVE = no; then
7422 result=$wxUSE_FS_ARCHIVE
7425 { echo "$as_me:$LINENO: result
: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7439 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7440 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7441 # Check whether --enable-fs_inet was given.
7442 if test "${enable_fs_inet+set}" = set; then
7443 enableval=$enable_fs_inet;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7447 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7452 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7457 eval "$wx_cv_use_fs_inet"
7459 if test x
"$enablestring" = xdisable
; then
7460 if test $wxUSE_FS_INET = no
; then
7466 result
=$wxUSE_FS_INET
7469 { echo "$as_me:$LINENO: result: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7474 defaultval
=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x
"$enablestring" = xdisable
; then
7483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7485 # Check whether --enable-fs_zip was given.
7486 if test "${enable_fs_zip+set}" = set; then
7487 enableval
=$enable_fs_zip;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7491 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7496 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7501 eval "$wx_cv_use_fs_zip"
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_FS_ZIP = no; then
7510 result=$wxUSE_FS_ZIP
7513 { echo "$as_me:$LINENO: result: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7529 # Check whether --enable-fswatcher was given.
7530 if test "${enable_fswatcher+set}" = set; then
7531 enableval=$enable_fswatcher;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7535 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7540 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7545 eval "$wx_cv_use_fswatcher"
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_FSWATCHER = no; then
7554 result=$wxUSE_FSWATCHER
7557 { echo "$as_me:$LINENO: result
: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7571 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7572 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7573 # Check whether --enable-geometry was given.
7574 if test "${enable_geometry+set}" = set; then
7575 enableval=$enable_geometry;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7579 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7584 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7589 eval "$wx_cv_use_geometry"
7591 if test x
"$enablestring" = xdisable
; then
7592 if test $wxUSE_GEOMETRY = no
; then
7598 result
=$wxUSE_GEOMETRY
7601 { echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7606 defaultval
=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x
"$enablestring" = xdisable
; then
7615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7617 # Check whether --enable-log was given.
7618 if test "${enable_log+set}" = set; then
7619 enableval
=$enable_log;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_log
='wxUSE_LOG=yes'
7623 wx_cv_use_log
='wxUSE_LOG=no'
7628 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7633 eval "$wx_cv_use_log"
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_LOG = no; then
7645 { echo "$as_me:$LINENO: result: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7661 # Check whether --enable-longlong was given.
7662 if test "${enable_longlong+set}" = set; then
7663 enableval=$enable_longlong;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7667 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7672 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7677 eval "$wx_cv_use_longlong"
7679 if test x"$enablestring" = xdisable; then
7680 if test $wxUSE_LONGLONG = no; then
7686 result=$wxUSE_LONGLONG
7689 { echo "$as_me:$LINENO: result
: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7694 defaultval=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x"$enablestring" = xdisable; then
7703 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7704 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7705 # Check whether --enable-mimetype was given.
7706 if test "${enable_mimetype+set}" = set; then
7707 enableval=$enable_mimetype;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7711 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7716 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7721 eval "$wx_cv_use_mimetype"
7723 if test x
"$enablestring" = xdisable
; then
7724 if test $wxUSE_MIMETYPE = no
; then
7730 result
=$wxUSE_MIMETYPE
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval
=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x
"$enablestring" = xdisable
; then
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7749 # Check whether --enable-printfposparam was given.
7750 if test "${enable_printfposparam+set}" = set; then
7751 enableval
=$enable_printfposparam;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7755 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7760 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7765 eval "$wx_cv_use_printfposparam"
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7774 result=$wxUSE_PRINTF_POS_PARAMS
7777 { echo "$as_me:$LINENO: result: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7793 # Check whether --enable-snglinst was given.
7794 if test "${enable_snglinst+set}" = set; then
7795 enableval=$enable_snglinst;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7799 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7804 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7809 eval "$wx_cv_use_snglinst"
7811 if test x"$enablestring" = xdisable; then
7812 if test $wxUSE_SNGLINST_CHECKER = no; then
7818 result=$wxUSE_SNGLINST_CHECKER
7821 { echo "$as_me:$LINENO: result
: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7826 defaultval=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x"$enablestring" = xdisable; then
7835 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7836 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7837 # Check whether --enable-sound was given.
7838 if test "${enable_sound+set}" = set; then
7839 enableval=$enable_sound;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_sound='wxUSE_SOUND=yes'
7843 wx_cv_use_sound='wxUSE_SOUND=no'
7848 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7853 eval "$wx_cv_use_sound"
7855 if test x
"$enablestring" = xdisable
; then
7856 if test $wxUSE_SOUND = no
; then
7865 { echo "$as_me:$LINENO: result: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7870 defaultval
=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x
"$enablestring" = xdisable
; then
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7881 # Check whether --enable-stdpaths was given.
7882 if test "${enable_stdpaths+set}" = set; then
7883 enableval
=$enable_stdpaths;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7887 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7892 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7897 eval "$wx_cv_use_stdpaths"
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_STDPATHS = no; then
7906 result=$wxUSE_STDPATHS
7909 { echo "$as_me:$LINENO: result: $result" >&5
7910 echo "${ECHO_T}$result" >&6; }
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7925 # Check whether --enable-stopwatch was given.
7926 if test "${enable_stopwatch+set}" = set; then
7927 enableval=$enable_stopwatch;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7931 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7936 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7941 eval "$wx_cv_use_stopwatch"
7943 if test x"$enablestring" = xdisable; then
7944 if test $wxUSE_STOPWATCH = no; then
7950 result=$wxUSE_STOPWATCH
7953 { echo "$as_me:$LINENO: result
: $result" >&5
7954 echo "${ECHO_T}$result" >&6; }
7958 defaultval=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x"$enablestring" = xdisable; then
7967 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7968 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7969 # Check whether --enable-streams was given.
7970 if test "${enable_streams+set}" = set; then
7971 enableval=$enable_streams;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_streams='wxUSE_STREAMS=yes'
7975 wx_cv_use_streams='wxUSE_STREAMS=no'
7980 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7985 eval "$wx_cv_use_streams"
7987 if test x
"$enablestring" = xdisable
; then
7988 if test $wxUSE_STREAMS = no
; then
7994 result
=$wxUSE_STREAMS
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
8002 defaultval
=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x
"$enablestring" = xdisable
; then
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8013 # Check whether --enable-sysoptions was given.
8014 if test "${enable_sysoptions+set}" = set; then
8015 enableval
=$enable_sysoptions;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
8019 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
8024 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8029 eval "$wx_cv_use_sysoptions"
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_SYSTEM_OPTIONS = no; then
8038 result=$wxUSE_SYSTEM_OPTIONS
8041 { echo "$as_me:$LINENO: result: $result" >&5
8042 echo "${ECHO_T}$result" >&6; }
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8056 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8057 # Check whether --enable-tarstream was given.
8058 if test "${enable_tarstream+set}" = set; then
8059 enableval=$enable_tarstream;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8063 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8068 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8073 eval "$wx_cv_use_tarstream"
8075 if test x"$enablestring" = xdisable; then
8076 if test $wxUSE_TARSTREAM = no; then
8082 result=$wxUSE_TARSTREAM
8085 { echo "$as_me:$LINENO: result
: $result" >&5
8086 echo "${ECHO_T}$result" >&6; }
8090 defaultval=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x"$enablestring" = xdisable; then
8099 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8100 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8101 # Check whether --enable-textbuf was given.
8102 if test "${enable_textbuf+set}" = set; then
8103 enableval=$enable_textbuf;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8107 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8112 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8117 eval "$wx_cv_use_textbuf"
8119 if test x
"$enablestring" = xdisable
; then
8120 if test $wxUSE_TEXTBUFFER = no
; then
8126 result
=$wxUSE_TEXTBUFFER
8129 { echo "$as_me:$LINENO: result: $result" >&5
8130 echo "${ECHO_T}$result" >&6; }
8134 defaultval
=$wxUSE_ALL_FEATURES
8135 if test -z "$defaultval"; then
8136 if test x
"$enablestring" = xdisable
; then
8143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8145 # Check whether --enable-textfile was given.
8146 if test "${enable_textfile+set}" = set; then
8147 enableval
=$enable_textfile;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8151 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8156 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8161 eval "$wx_cv_use_textfile"
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_TEXTFILE = no; then
8170 result=$wxUSE_TEXTFILE
8173 { echo "$as_me:$LINENO: result: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8189 # Check whether --enable-timer was given.
8190 if test "${enable_timer+set}" = set; then
8191 enableval=$enable_timer;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_timer='wxUSE_TIMER
=yes'
8195 wx_cv_use_timer='wxUSE_TIMER
=no
'
8200 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8205 eval "$wx_cv_use_timer"
8207 if test x"$enablestring" = xdisable; then
8208 if test $wxUSE_TIMER = no; then
8217 { echo "$as_me:$LINENO: result
: $result" >&5
8218 echo "${ECHO_T}$result" >&6; }
8222 defaultval=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x"$enablestring" = xdisable; then
8231 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8232 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8233 # Check whether --enable-variant was given.
8234 if test "${enable_variant+set}" = set; then
8235 enableval=$enable_variant;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_variant='wxUSE_VARIANT=yes'
8239 wx_cv_use_variant='wxUSE_VARIANT=no'
8244 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8249 eval "$wx_cv_use_variant"
8251 if test x
"$enablestring" = xdisable
; then
8252 if test $wxUSE_VARIANT = no
; then
8258 result
=$wxUSE_VARIANT
8261 { echo "$as_me:$LINENO: result: $result" >&5
8262 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}-zipstream" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8277 # Check whether --enable-zipstream was given.
8278 if test "${enable_zipstream+set}" = set; then
8279 enableval
=$enable_zipstream;
8280 if test "$enableval" = yes; then
8281 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8283 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8288 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8293 eval "$wx_cv_use_zipstream"
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_ZIPSTREAM = no; then
8302 result=$wxUSE_ZIPSTREAM
8305 { echo "$as_me:$LINENO: result: $result" >&5
8306 echo "${ECHO_T}$result" >&6; }
8311 defaultval=$wxUSE_ALL_FEATURES
8312 if test -z "$defaultval"; then
8313 if test x"$enablestring" = xdisable; then
8320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8322 # Check whether --enable-url was given.
8323 if test "${enable_url+set}" = set; then
8324 enableval=$enable_url;
8325 if test "$enableval" = yes; then
8326 wx_cv_use_url='wxUSE_URL
=yes'
8328 wx_cv_use_url='wxUSE_URL
=no
'
8333 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8338 eval "$wx_cv_use_url"
8340 if test x"$enablestring" = xdisable; then
8341 if test $wxUSE_URL = no; then
8350 { echo "$as_me:$LINENO: result
: $result" >&5
8351 echo "${ECHO_T}$result" >&6; }
8355 defaultval=$wxUSE_ALL_FEATURES
8356 if test -z "$defaultval"; then
8357 if test x"$enablestring" = xdisable; then
8364 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8365 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8366 # Check whether --enable-protocol was given.
8367 if test "${enable_protocol+set}" = set; then
8368 enableval=$enable_protocol;
8369 if test "$enableval" = yes; then
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8372 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8377 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8382 eval "$wx_cv_use_protocol"
8384 if test x
"$enablestring" = xdisable
; then
8385 if test $wxUSE_PROTOCOL = no
; then
8391 result
=$wxUSE_PROTOCOL
8394 { echo "$as_me:$LINENO: result: $result" >&5
8395 echo "${ECHO_T}$result" >&6; }
8399 defaultval
=$wxUSE_ALL_FEATURES
8400 if test -z "$defaultval"; then
8401 if test x
"$enablestring" = xdisable
; then
8408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8410 # Check whether --enable-protocol_http was given.
8411 if test "${enable_protocol_http+set}" = set; then
8412 enableval
=$enable_protocol_http;
8413 if test "$enableval" = yes; then
8414 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8416 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8421 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8426 eval "$wx_cv_use_protocol_http"
8428 if test x"$enablestring" = xdisable; then
8429 if test $wxUSE_PROTOCOL_HTTP = no; then
8435 result=$wxUSE_PROTOCOL_HTTP
8438 { echo "$as_me:$LINENO: result: $result" >&5
8439 echo "${ECHO_T}$result" >&6; }
8443 defaultval=$wxUSE_ALL_FEATURES
8444 if test -z "$defaultval"; then
8445 if test x"$enablestring" = xdisable; then
8452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8454 # Check whether --enable-protocol_ftp was given.
8455 if test "${enable_protocol_ftp+set}" = set; then
8456 enableval=$enable_protocol_ftp;
8457 if test "$enableval" = yes; then
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8460 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8465 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8470 eval "$wx_cv_use_protocol_ftp"
8472 if test x"$enablestring" = xdisable; then
8473 if test $wxUSE_PROTOCOL_FTP = no; then
8479 result=$wxUSE_PROTOCOL_FTP
8482 { echo "$as_me:$LINENO: result
: $result" >&5
8483 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}-protocol_file" >&5
8497 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8498 # Check whether --enable-protocol_file was given.
8499 if test "${enable_protocol_file+set}" = set; then
8500 enableval=$enable_protocol_file;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8504 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8509 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8514 eval "$wx_cv_use_protocol_file"
8516 if test x
"$enablestring" = xdisable
; then
8517 if test $wxUSE_PROTOCOL_FILE = no
; then
8523 result
=$wxUSE_PROTOCOL_FILE
8526 { echo "$as_me:$LINENO: result: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8532 defaultval
=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x
"$enablestring" = xdisable
; then
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8543 # Check whether --enable-threads was given.
8544 if test "${enable_threads+set}" = set; then
8545 enableval
=$enable_threads;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_threads
='wxUSE_THREADS=yes'
8549 wx_cv_use_threads
='wxUSE_THREADS=no'
8554 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8559 eval "$wx_cv_use_threads"
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_THREADS = no; then
8568 result=$wxUSE_THREADS
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8578 if test -z "$defaultval"; then
8579 if test x"$enablestring" = xdisable; then
8586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8588 # Check whether --enable-iniconf was given.
8589 if test "${enable_iniconf+set}" = set; then
8590 enableval=$enable_iniconf;
8591 if test "$enableval" = yes; then
8592 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8594 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8599 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8604 eval "$wx_cv_use_iniconf"
8606 if test x"$enablestring" = xdisable; then
8607 if test $wxUSE_INICONF = no; then
8613 result=$wxUSE_INICONF
8616 { echo "$as_me:$LINENO: result
: $result" >&5
8617 echo "${ECHO_T}$result" >&6; }
8621 defaultval=$wxUSE_ALL_FEATURES
8622 if test -z "$defaultval"; then
8623 if test x"$enablestring" = xdisable; then
8630 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8631 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8632 # Check whether --enable-regkey was given.
8633 if test "${enable_regkey+set}" = set; then
8634 enableval=$enable_regkey;
8635 if test "$enableval" = yes; then
8636 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8638 wx_cv_use_regkey='wxUSE_REGKEY=no'
8643 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8648 eval "$wx_cv_use_regkey"
8650 if test x
"$enablestring" = xdisable
; then
8651 if test $wxUSE_REGKEY = no
; then
8657 result
=$wxUSE_REGKEY
8660 { echo "$as_me:$LINENO: result: $result" >&5
8661 echo "${ECHO_T}$result" >&6; }
8664 if test "$wxUSE_GUI" = "yes"; then
8669 defaultval
=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x
"$enablestring" = xdisable
; then
8678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8680 # Check whether --enable-docview was given.
8681 if test "${enable_docview+set}" = set; then
8682 enableval
=$enable_docview;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8686 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8691 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8696 eval "$wx_cv_use_docview"
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8705 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8708 { echo "$as_me:$LINENO: result: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8723 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8724 # Check whether --enable-help was given.
8725 if test "${enable_help+set}" = set; then
8726 enableval=$enable_help;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_help='wxUSE_HELP
=yes'
8730 wx_cv_use_help='wxUSE_HELP
=no
'
8735 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8740 eval "$wx_cv_use_help"
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_HELP = no; then
8752 { echo "$as_me:$LINENO: result
: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8766 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8767 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8768 # Check whether --enable-mshtmlhelp was given.
8769 if test "${enable_mshtmlhelp+set}" = set; then
8770 enableval=$enable_mshtmlhelp;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8774 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8779 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8784 eval "$wx_cv_use_mshtmlhelp"
8786 if test x
"$enablestring" = xdisable
; then
8787 if test $wxUSE_MS_HTML_HELP = no
; then
8793 result
=$wxUSE_MS_HTML_HELP
8796 { echo "$as_me:$LINENO: result: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8801 defaultval
=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x
"$enablestring" = xdisable
; then
8810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8812 # Check whether --enable-html was given.
8813 if test "${enable_html+set}" = set; then
8814 enableval
=$enable_html;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_html
='wxUSE_HTML=yes'
8818 wx_cv_use_html
='wxUSE_HTML=no'
8823 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8828 eval "$wx_cv_use_html"
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_HTML = no; then
8840 { echo "$as_me:$LINENO: result: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8856 # Check whether --enable-htmlhelp was given.
8857 if test "${enable_htmlhelp+set}" = set; then
8858 enableval=$enable_htmlhelp;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8862 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8867 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8872 eval "$wx_cv_use_htmlhelp"
8874 if test x"$enablestring" = xdisable; then
8875 if test $wxUSE_WXHTML_HELP = no; then
8881 result=$wxUSE_WXHTML_HELP
8884 { echo "$as_me:$LINENO: result
: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8889 defaultval=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x"$enablestring" = xdisable; then
8898 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8899 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8900 # Check whether --enable-xrc was given.
8901 if test "${enable_xrc+set}" = set; then
8902 enableval=$enable_xrc;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_xrc='wxUSE_XRC=yes'
8906 wx_cv_use_xrc='wxUSE_XRC=no'
8911 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8916 eval "$wx_cv_use_xrc"
8918 if test x
"$enablestring" = xdisable
; then
8919 if test $wxUSE_XRC = no
; then
8928 { echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8933 defaultval
=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x
"$enablestring" = xdisable
; then
8942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8944 # Check whether --enable-aui was given.
8945 if test "${enable_aui+set}" = set; then
8946 enableval
=$enable_aui;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_aui
='wxUSE_AUI=yes'
8950 wx_cv_use_aui
='wxUSE_AUI=no'
8955 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8960 eval "$wx_cv_use_aui"
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_AUI = no; then
8972 { echo "$as_me:$LINENO: result: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8988 # Check whether --enable-propgrid was given.
8989 if test "${enable_propgrid+set}" = set; then
8990 enableval=$enable_propgrid;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8994 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8999 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
9004 eval "$wx_cv_use_propgrid"
9006 if test x"$enablestring" = xdisable; then
9007 if test $wxUSE_PROPGRID = no; then
9013 result=$wxUSE_PROPGRID
9016 { echo "$as_me:$LINENO: result
: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9021 defaultval=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x"$enablestring" = xdisable; then
9030 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
9031 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
9032 # Check whether --enable-ribbon was given.
9033 if test "${enable_ribbon+set}" = set; then
9034 enableval=$enable_ribbon;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9038 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9043 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9048 eval "$wx_cv_use_ribbon"
9050 if test x
"$enablestring" = xdisable
; then
9051 if test $wxUSE_RIBBON = no
; then
9057 result
=$wxUSE_RIBBON
9060 { echo "$as_me:$LINENO: result: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9065 defaultval
=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x
"$enablestring" = xdisable
; then
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9076 # Check whether --enable-stc was given.
9077 if test "${enable_stc+set}" = set; then
9078 enableval
=$enable_stc;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_stc
='wxUSE_STC=yes'
9082 wx_cv_use_stc
='wxUSE_STC=no'
9087 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9092 eval "$wx_cv_use_stc"
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_STC = no; then
9104 { echo "$as_me:$LINENO: result: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9120 # Check whether --enable-constraints was given.
9121 if test "${enable_constraints+set}" = set; then
9122 enableval=$enable_constraints;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9126 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9131 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9136 eval "$wx_cv_use_constraints"
9138 if test x"$enablestring" = xdisable; then
9139 if test $wxUSE_CONSTRAINTS = no; then
9145 result=$wxUSE_CONSTRAINTS
9148 { echo "$as_me:$LINENO: result
: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9153 defaultval=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x"$enablestring" = xdisable; then
9162 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9163 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9164 # Check whether --enable-loggui was given.
9165 if test "${enable_loggui+set}" = set; then
9166 enableval=$enable_loggui;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9170 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9175 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9180 eval "$wx_cv_use_loggui"
9182 if test x
"$enablestring" = xdisable
; then
9183 if test $wxUSE_LOGGUI = no
; then
9189 result
=$wxUSE_LOGGUI
9192 { echo "$as_me:$LINENO: result: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9197 defaultval
=$wxUSE_ALL_FEATURES
9198 if test -z "$defaultval"; then
9199 if test x
"$enablestring" = xdisable
; then
9206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9208 # Check whether --enable-logwin was given.
9209 if test "${enable_logwin+set}" = set; then
9210 enableval
=$enable_logwin;
9211 if test "$enableval" = yes; then
9212 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9214 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9219 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9224 eval "$wx_cv_use_logwin"
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_LOGWINDOW = no; then
9233 result=$wxUSE_LOGWINDOW
9236 { echo "$as_me:$LINENO: result: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9252 # Check whether --enable-logdialog was given.
9253 if test "${enable_logdialog+set}" = set; then
9254 enableval=$enable_logdialog;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9258 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9263 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9268 eval "$wx_cv_use_logdialog"
9270 if test x"$enablestring" = xdisable; then
9271 if test $wxUSE_LOGDIALOG = no; then
9277 result=$wxUSE_LOGDIALOG
9280 { echo "$as_me:$LINENO: result
: $result" >&5
9281 echo "${ECHO_T}$result" >&6; }
9285 defaultval=$wxUSE_ALL_FEATURES
9286 if test -z "$defaultval"; then
9287 if test x"$enablestring" = xdisable; then
9294 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9295 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9296 # Check whether --enable-mdi was given.
9297 if test "${enable_mdi+set}" = set; then
9298 enableval=$enable_mdi;
9299 if test "$enableval" = yes; then
9300 wx_cv_use_mdi='wxUSE_MDI=yes'
9302 wx_cv_use_mdi='wxUSE_MDI=no'
9307 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9312 eval "$wx_cv_use_mdi"
9314 if test x
"$enablestring" = xdisable
; then
9315 if test $wxUSE_MDI = no
; then
9324 { echo "$as_me:$LINENO: result: $result" >&5
9325 echo "${ECHO_T}$result" >&6; }
9329 defaultval
=$wxUSE_ALL_FEATURES
9330 if test -z "$defaultval"; then
9331 if test x
"$enablestring" = xdisable
; then
9338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9339 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9340 # Check whether --enable-mdidoc was given.
9341 if test "${enable_mdidoc+set}" = set; then
9342 enableval
=$enable_mdidoc;
9343 if test "$enableval" = yes; then
9344 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9346 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9351 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9356 eval "$wx_cv_use_mdidoc"
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_MDI_ARCHITECTURE = no; then
9365 result=$wxUSE_MDI_ARCHITECTURE
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9373 defaultval=$wxUSE_ALL_FEATURES
9374 if test -z "$defaultval"; then
9375 if test x"$enablestring" = xdisable; then
9382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9383 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9384 # Check whether --enable-mediactrl was given.
9385 if test "${enable_mediactrl+set}" = set; then
9386 enableval=$enable_mediactrl;
9387 if test "$enableval" = yes; then
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9390 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9395 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9400 eval "$wx_cv_use_mediactrl"
9402 if test x"$enablestring" = xdisable; then
9403 if test $wxUSE_MEDIACTRL = no; then
9409 result=$wxUSE_MEDIACTRL
9412 { echo "$as_me:$LINENO: result
: $result" >&5
9413 echo "${ECHO_T}$result" >&6; }
9417 defaultval=$wxUSE_ALL_FEATURES
9418 if test -z "$defaultval"; then
9419 if test x"$enablestring" = xdisable; then
9426 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9427 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9428 # Check whether --enable-gstreamer8 was given.
9429 if test "${enable_gstreamer8+set}" = set; then
9430 enableval=$enable_gstreamer8;
9431 if test "$enableval" = yes; then
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9434 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9439 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9444 eval "$wx_cv_use_gstreamer8"
9446 if test x
"$enablestring" = xdisable
; then
9447 if test $wxUSE_GSTREAMER8 = no
; then
9453 result
=$wxUSE_GSTREAMER8
9456 { echo "$as_me:$LINENO: result: $result" >&5
9457 echo "${ECHO_T}$result" >&6; }
9461 defaultval
=$wxUSE_ALL_FEATURES
9462 if test -z "$defaultval"; then
9463 if test x
"$enablestring" = xdisable
; then
9470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9472 # Check whether --enable-richtext was given.
9473 if test "${enable_richtext+set}" = set; then
9474 enableval
=$enable_richtext;
9475 if test "$enableval" = yes; then
9476 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9478 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9483 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9488 eval "$wx_cv_use_richtext"
9490 if test x"$enablestring" = xdisable; then
9491 if test $wxUSE_RICHTEXT = no; then
9497 result=$wxUSE_RICHTEXT
9500 { echo "$as_me:$LINENO: result: $result" >&5
9501 echo "${ECHO_T}$result" >&6; }
9505 defaultval=$wxUSE_ALL_FEATURES
9506 if test -z "$defaultval"; then
9507 if test x"$enablestring" = xdisable; then
9514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9516 # Check whether --enable-postscript was given.
9517 if test "${enable_postscript+set}" = set; then
9518 enableval=$enable_postscript;
9519 if test "$enableval" = yes; then
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9522 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9527 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9532 eval "$wx_cv_use_postscript"
9534 if test x"$enablestring" = xdisable; then
9535 if test $wxUSE_POSTSCRIPT = no; then
9541 result=$wxUSE_POSTSCRIPT
9544 { echo "$as_me:$LINENO: result
: $result" >&5
9545 echo "${ECHO_T}$result" >&6; }
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9558 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9559 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9560 # Check whether --enable-printarch was given.
9561 if test "${enable_printarch+set}" = set; then
9562 enableval=$enable_printarch;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9566 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9571 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9576 eval "$wx_cv_use_printarch"
9578 if test x
"$enablestring" = xdisable
; then
9579 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9585 result
=$wxUSE_PRINTING_ARCHITECTURE
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9593 defaultval
=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x
"$enablestring" = xdisable
; then
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9604 # Check whether --enable-svg was given.
9605 if test "${enable_svg+set}" = set; then
9606 enableval
=$enable_svg;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_svg
='wxUSE_SVG=yes'
9610 wx_cv_use_svg
='wxUSE_SVG=no'
9615 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9620 eval "$wx_cv_use_svg"
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_SVG = no; then
9632 { echo "$as_me:$LINENO: result: $result" >&5
9633 echo "${ECHO_T}$result" >&6; }
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9647 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9648 # Check whether --enable-webkit was given.
9649 if test "${enable_webkit+set}" = set; then
9650 enableval=$enable_webkit;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9654 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9659 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9664 eval "$wx_cv_use_webkit"
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_WEBKIT = no; then
9673 result=$wxUSE_WEBKIT
9676 { echo "$as_me:$LINENO: result
: $result" >&5
9677 echo "${ECHO_T}$result" >&6; }
9681 defaultval=$wxUSE_ALL_FEATURES
9682 if test -z "$defaultval"; then
9683 if test x"$enablestring" = xdisable; then
9690 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webview" >&5
9691 echo $ECHO_N "checking
for --${enablestring:-enable}-webview...
$ECHO_C" >&6; }
9692 # Check whether --enable-webview was given.
9693 if test "${enable_webview+set}" = set; then
9694 enableval=$enable_webview;
9695 if test "$enableval" = yes; then
9696 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9698 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9703 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9708 eval "$wx_cv_use_webview"
9710 if test x
"$enablestring" = xdisable
; then
9711 if test $wxUSE_WEBVIEW = no
; then
9717 result
=$wxUSE_WEBVIEW
9720 { echo "$as_me:$LINENO: result: $result" >&5
9721 echo "${ECHO_T}$result" >&6; }
9724 if test "$wxUSE_MAC" != 1; then
9727 defaultval
=$wxUSE_ALL_FEATURES
9728 if test -z "$defaultval"; then
9729 if test x
"$enablestring" = xdisable
; then
9736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9738 # Check whether --enable-graphics_ctx was given.
9739 if test "${enable_graphics_ctx+set}" = set; then
9740 enableval
=$enable_graphics_ctx;
9741 if test "$enableval" = yes; then
9742 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9744 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9749 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9754 eval "$wx_cv_use_graphics_ctx"
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9763 result=$wxUSE_GRAPHICS_CONTEXT
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9774 defaultval=$wxUSE_ALL_FEATURES
9775 if test -z "$defaultval"; then
9776 if test x"$enablestring" = xdisable; then
9783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9784 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9785 # Check whether --enable-clipboard was given.
9786 if test "${enable_clipboard+set}" = set; then
9787 enableval=$enable_clipboard;
9788 if test "$enableval" = yes; then
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9791 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9796 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9801 eval "$wx_cv_use_clipboard"
9803 if test x"$enablestring" = xdisable; then
9804 if test $wxUSE_CLIPBOARD = no; then
9810 result=$wxUSE_CLIPBOARD
9813 { echo "$as_me:$LINENO: result
: $result" >&5
9814 echo "${ECHO_T}$result" >&6; }
9818 defaultval=$wxUSE_ALL_FEATURES
9819 if test -z "$defaultval"; then
9820 if test x"$enablestring" = xdisable; then
9827 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9828 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9829 # Check whether --enable-dnd was given.
9830 if test "${enable_dnd+set}" = set; then
9831 enableval=$enable_dnd;
9832 if test "$enableval" = yes; then
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9835 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9840 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9845 eval "$wx_cv_use_dnd"
9847 if test x
"$enablestring" = xdisable
; then
9848 if test $wxUSE_DRAG_AND_DROP = no
; then
9854 result
=$wxUSE_DRAG_AND_DROP
9857 { echo "$as_me:$LINENO: result: $result" >&5
9858 echo "${ECHO_T}$result" >&6; }
9862 DEFAULT_wxUSE_CONTROLS
=none
9864 enablestring
=disable
9866 if test -z "$defaultval"; then
9867 if test x
"$enablestring" = xdisable
; then
9874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9875 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9876 # Check whether --enable-controls was given.
9877 if test "${enable_controls+set}" = set; then
9878 enableval
=$enable_controls;
9879 if test "$enableval" = yes; then
9880 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9882 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9887 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9892 eval "$wx_cv_use_controls"
9894 if test x"$enablestring" = xdisable; then
9895 if test $wxUSE_CONTROLS = no; then
9901 result=$wxUSE_CONTROLS
9904 { echo "$as_me:$LINENO: result: $result" >&5
9905 echo "${ECHO_T}$result" >&6; }
9908 if test "$wxUSE_CONTROLS" = "no"; then
9909 DEFAULT_wxUSE_ACCEL=no
9910 DEFAULT_wxUSE_ANIMATIONCTRL=no
9911 DEFAULT_wxUSE_BANNERWINDOW=no
9912 DEFAULT_wxUSE_BMPBUTTON=no
9913 DEFAULT_wxUSE_BUTTON=no
9914 DEFAULT_wxUSE_CALCTRL=no
9915 DEFAULT_wxUSE_CARET=no
9916 DEFAULT_wxUSE_CHECKBOX=no
9917 DEFAULT_wxUSE_CHECKLISTBOX=no
9918 DEFAULT_wxUSE_CHOICE=no
9919 DEFAULT_wxUSE_CHOICEBOOK=no
9920 DEFAULT_wxUSE_COLLPANE=no
9921 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9922 DEFAULT_wxUSE_COMBOBOX=no
9923 DEFAULT_wxUSE_COMBOBOX=no
9924 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9925 DEFAULT_wxUSE_DATAVIEWCTRL=no
9926 DEFAULT_wxUSE_DATEPICKCTRL=no
9927 DEFAULT_wxUSE_DETECT_SM=no
9928 DEFAULT_wxUSE_DIRPICKERCTRL=no
9929 DEFAULT_wxUSE_DISPLAY=no
9930 DEFAULT_wxUSE_FILECTRL=no
9931 DEFAULT_wxUSE_FILEPICKERCTRL=no
9932 DEFAULT_wxUSE_FONTPICKERCTRL=no
9933 DEFAULT_wxUSE_GAUGE=no
9934 DEFAULT_wxUSE_GRID=no
9935 DEFAULT_wxUSE_HEADERCTRL=no
9936 DEFAULT_wxUSE_HYPERLINKCTRL=no
9937 DEFAULT_wxUSE_IMAGLIST=no
9938 DEFAULT_wxUSE_LISTBOOK=no
9939 DEFAULT_wxUSE_LISTBOX=no
9940 DEFAULT_wxUSE_LISTCTRL=no
9941 DEFAULT_wxUSE_MARKUP=no
9942 DEFAULT_wxUSE_NOTEBOOK=no
9943 DEFAULT_wxUSE_POPUPWIN=no
9944 DEFAULT_wxUSE_RADIOBOX=no
9945 DEFAULT_wxUSE_RADIOBTN=no
9946 DEFAULT_wxUSE_RICHMSGDLG=no
9947 DEFAULT_wxUSE_RICHTOOLTIP=no
9948 DEFAULT_wxUSE_REARRANGECTRL=no
9949 DEFAULT_wxUSE_SASH=no
9950 DEFAULT_wxUSE_SCROLLBAR=no
9951 DEFAULT_wxUSE_SEARCHCTRL=no
9952 DEFAULT_wxUSE_SLIDER=no
9953 DEFAULT_wxUSE_SPINBTN=no
9954 DEFAULT_wxUSE_SPINCTRL=no
9955 DEFAULT_wxUSE_SPLITTER=no
9956 DEFAULT_wxUSE_STATBMP=no
9957 DEFAULT_wxUSE_STATBOX=no
9958 DEFAULT_wxUSE_STATLINE=no
9959 DEFAULT_wxUSE_STATUSBAR=no
9960 DEFAULT_wxUSE_TIMEPICKCTRL=no
9961 DEFAULT_wxUSE_TIPWINDOW=no
9962 DEFAULT_wxUSE_TOGGLEBTN=no
9963 DEFAULT_wxUSE_TOOLBAR=no
9964 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9965 DEFAULT_wxUSE_TOOLBOOK=no
9966 DEFAULT_wxUSE_TOOLTIPS=no
9967 DEFAULT_wxUSE_TREEBOOK=no
9968 DEFAULT_wxUSE_TREECTRL=no
9969 DEFAULT_wxUSE_TREELISTCTRL=no
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9985 # Check whether --enable-markup was given.
9986 if test "${enable_markup+set}" = set; then
9987 enableval=$enable_markup;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9991 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9996 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
10001 eval "$wx_cv_use_markup"
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_MARKUP = no; then
10010 result=$wxUSE_MARKUP
10013 { echo "$as_me:$LINENO: result
: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10028 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
10029 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
10030 # Check whether --enable-accel was given.
10031 if test "${enable_accel+set}" = set; then
10032 enableval=$enable_accel;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_accel='wxUSE_ACCEL=yes'
10036 wx_cv_use_accel='wxUSE_ACCEL=no'
10041 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10046 eval "$wx_cv_use_accel"
10048 if test x
"$enablestring" = xdisable
; then
10049 if test $wxUSE_ACCEL = no
; then
10055 result
=$wxUSE_ACCEL
10058 { echo "$as_me:$LINENO: result: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10063 defaultval
=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x
"$enablestring" = xdisable
; then
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10074 # Check whether --enable-animatectrl was given.
10075 if test "${enable_animatectrl+set}" = set; then
10076 enableval
=$enable_animatectrl;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10080 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10085 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10090 eval "$wx_cv_use_animatectrl"
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_ANIMATIONCTRL = no; then
10099 result=$wxUSE_ANIMATIONCTRL
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10118 # Check whether --enable-bannerwindow was given.
10119 if test "${enable_bannerwindow+set}" = set; then
10120 enableval=$enable_bannerwindow;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10124 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10129 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10134 eval "$wx_cv_use_bannerwindow"
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_BANNERWINDOW = no; then
10143 result=$wxUSE_BANNERWINDOW
10146 { echo "$as_me:$LINENO: result
: $result" >&5
10147 echo "${ECHO_T}$result" >&6; }
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10160 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10161 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10162 # Check whether --enable-artstd was given.
10163 if test "${enable_artstd+set}" = set; then
10164 enableval=$enable_artstd;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10168 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10173 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10178 eval "$wx_cv_use_artstd"
10180 if test x
"$enablestring" = xdisable
; then
10181 if test $wxUSE_ARTPROVIDER_STD = no
; then
10187 result
=$wxUSE_ARTPROVIDER_STD
10190 { echo "$as_me:$LINENO: result: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10195 defaultval
=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x
"$enablestring" = xdisable
; then
10204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10205 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10206 # Check whether --enable-arttango was given.
10207 if test "${enable_arttango+set}" = set; then
10208 enableval
=$enable_arttango;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10212 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10217 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10222 eval "$wx_cv_use_arttango"
10224 if test x"$enablestring" = xdisable; then
10225 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10231 result=$wxUSE_ARTPROVIDER_TANGO
10234 { echo "$as_me:$LINENO: result: $result" >&5
10235 echo "${ECHO_T}$result" >&6; }
10239 defaultval=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x"$enablestring" = xdisable; then
10248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10250 # Check whether --enable-bmpbutton was given.
10251 if test "${enable_bmpbutton+set}" = set; then
10252 enableval=$enable_bmpbutton;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10256 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10261 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10266 eval "$wx_cv_use_bmpbutton"
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_BMPBUTTON = no; then
10275 result=$wxUSE_BMPBUTTON
10278 { echo "$as_me:$LINENO: result
: $result" >&5
10279 echo "${ECHO_T}$result" >&6; }
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10292 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10293 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10294 # Check whether --enable-bmpcombobox was given.
10295 if test "${enable_bmpcombobox+set}" = set; then
10296 enableval=$enable_bmpcombobox;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10300 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10305 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10310 eval "$wx_cv_use_bmpcombobox"
10312 if test x
"$enablestring" = xdisable
; then
10313 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10319 result
=$wxUSE_BITMAPCOMBOBOX
10322 { echo "$as_me:$LINENO: result: $result" >&5
10323 echo "${ECHO_T}$result" >&6; }
10327 defaultval
=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x
"$enablestring" = xdisable
; then
10336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10338 # Check whether --enable-button was given.
10339 if test "${enable_button+set}" = set; then
10340 enableval
=$enable_button;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_button
='wxUSE_BUTTON=yes'
10344 wx_cv_use_button
='wxUSE_BUTTON=no'
10349 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10354 eval "$wx_cv_use_button"
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_BUTTON = no; then
10363 result=$wxUSE_BUTTON
10366 { echo "$as_me:$LINENO: result: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10382 # Check whether --enable-calendar was given.
10383 if test "${enable_calendar+set}" = set; then
10384 enableval=$enable_calendar;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10388 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10393 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10398 eval "$wx_cv_use_calendar"
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_CALCTRL = no; then
10407 result=$wxUSE_CALCTRL
10410 { echo "$as_me:$LINENO: result
: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10424 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10425 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10426 # Check whether --enable-caret was given.
10427 if test "${enable_caret+set}" = set; then
10428 enableval=$enable_caret;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_caret='wxUSE_CARET=yes'
10432 wx_cv_use_caret='wxUSE_CARET=no'
10437 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10442 eval "$wx_cv_use_caret"
10444 if test x
"$enablestring" = xdisable
; then
10445 if test $wxUSE_CARET = no
; then
10451 result
=$wxUSE_CARET
10454 { echo "$as_me:$LINENO: result: $result" >&5
10455 echo "${ECHO_T}$result" >&6; }
10459 defaultval
=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x
"$enablestring" = xdisable
; then
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10470 # Check whether --enable-checkbox was given.
10471 if test "${enable_checkbox+set}" = set; then
10472 enableval
=$enable_checkbox;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10476 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10481 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10486 eval "$wx_cv_use_checkbox"
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_CHECKBOX = no; then
10495 result=$wxUSE_CHECKBOX
10498 { echo "$as_me:$LINENO: result: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10513 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10514 # Check whether --enable-checklst was given.
10515 if test "${enable_checklst+set}" = set; then
10516 enableval=$enable_checklst;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10520 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10525 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10530 eval "$wx_cv_use_checklst"
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_CHECKLST = no; then
10539 result=$wxUSE_CHECKLST
10542 { echo "$as_me:$LINENO: result
: $result" >&5
10543 echo "${ECHO_T}$result" >&6; }
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10556 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10557 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10558 # Check whether --enable-choice was given.
10559 if test "${enable_choice+set}" = set; then
10560 enableval=$enable_choice;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_choice='wxUSE_CHOICE=yes'
10564 wx_cv_use_choice='wxUSE_CHOICE=no'
10569 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10574 eval "$wx_cv_use_choice"
10576 if test x
"$enablestring" = xdisable
; then
10577 if test $wxUSE_CHOICE = no
; then
10583 result
=$wxUSE_CHOICE
10586 { echo "$as_me:$LINENO: result: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10591 defaultval
=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x
"$enablestring" = xdisable
; then
10600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10602 # Check whether --enable-choicebook was given.
10603 if test "${enable_choicebook+set}" = set; then
10604 enableval
=$enable_choicebook;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10608 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10613 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10618 eval "$wx_cv_use_choicebook"
10620 if test x"$enablestring" = xdisable; then
10621 if test $wxUSE_CHOICEBOOK = no; then
10627 result=$wxUSE_CHOICEBOOK
10630 { echo "$as_me:$LINENO: result: $result" >&5
10631 echo "${ECHO_T}$result" >&6; }
10635 defaultval=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x"$enablestring" = xdisable; then
10644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10646 # Check whether --enable-collpane was given.
10647 if test "${enable_collpane+set}" = set; then
10648 enableval=$enable_collpane;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10652 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10657 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10662 eval "$wx_cv_use_collpane"
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_COLLPANE = no; then
10671 result=$wxUSE_COLLPANE
10674 { echo "$as_me:$LINENO: result
: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10688 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10689 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10690 # Check whether --enable-colourpicker was given.
10691 if test "${enable_colourpicker+set}" = set; then
10692 enableval=$enable_colourpicker;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10696 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10701 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10706 eval "$wx_cv_use_colourpicker"
10708 if test x
"$enablestring" = xdisable
; then
10709 if test $wxUSE_COLOURPICKERCTRL = no
; then
10715 result
=$wxUSE_COLOURPICKERCTRL
10718 { echo "$as_me:$LINENO: result: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10723 defaultval
=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x
"$enablestring" = xdisable
; then
10732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10733 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10734 # Check whether --enable-combobox was given.
10735 if test "${enable_combobox+set}" = set; then
10736 enableval
=$enable_combobox;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10740 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10745 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10750 eval "$wx_cv_use_combobox"
10752 if test x"$enablestring" = xdisable; then
10753 if test $wxUSE_COMBOBOX = no; then
10759 result=$wxUSE_COMBOBOX
10762 { echo "$as_me:$LINENO: result: $result" >&5
10763 echo "${ECHO_T}$result" >&6; }
10767 defaultval=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x"$enablestring" = xdisable; then
10776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10778 # Check whether --enable-comboctrl was given.
10779 if test "${enable_comboctrl+set}" = set; then
10780 enableval=$enable_comboctrl;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10784 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10789 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10794 eval "$wx_cv_use_comboctrl"
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_COMBOCTRL = no; then
10803 result=$wxUSE_COMBOCTRL
10806 { echo "$as_me:$LINENO: result
: $result" >&5
10807 echo "${ECHO_T}$result" >&6; }
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10820 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10821 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10822 # Check whether --enable-commandlinkbutton was given.
10823 if test "${enable_commandlinkbutton+set}" = set; then
10824 enableval=$enable_commandlinkbutton;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10828 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10833 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10838 eval "$wx_cv_use_commandlinkbutton"
10840 if test x
"$enablestring" = xdisable
; then
10841 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10847 result
=$wxUSE_COMMANDLINKBUTTON
10850 { echo "$as_me:$LINENO: result: $result" >&5
10851 echo "${ECHO_T}$result" >&6; }
10855 defaultval
=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x
"$enablestring" = xdisable
; then
10864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10866 # Check whether --enable-dataviewctrl was given.
10867 if test "${enable_dataviewctrl+set}" = set; then
10868 enableval
=$enable_dataviewctrl;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10872 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10877 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10882 eval "$wx_cv_use_dataviewctrl"
10884 if test x"$enablestring" = xdisable; then
10885 if test $wxUSE_DATAVIEWCTRL = no; then
10891 result=$wxUSE_DATAVIEWCTRL
10894 { echo "$as_me:$LINENO: result: $result" >&5
10895 echo "${ECHO_T}$result" >&6; }
10899 defaultval=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x"$enablestring" = xdisable; then
10908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10909 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10910 # Check whether --enable-datepick was given.
10911 if test "${enable_datepick+set}" = set; then
10912 enableval=$enable_datepick;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10916 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10921 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10926 eval "$wx_cv_use_datepick"
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_DATEPICKCTRL = no; then
10935 result=$wxUSE_DATEPICKCTRL
10938 { echo "$as_me:$LINENO: result
: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10952 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10953 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10954 # Check whether --enable-detect_sm was given.
10955 if test "${enable_detect_sm+set}" = set; then
10956 enableval=$enable_detect_sm;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10960 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10965 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10970 eval "$wx_cv_use_detect_sm"
10972 if test x
"$enablestring" = xdisable
; then
10973 if test $wxUSE_DETECT_SM = no
; then
10979 result
=$wxUSE_DETECT_SM
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10987 defaultval
=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x
"$enablestring" = xdisable
; then
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10998 # Check whether --enable-dirpicker was given.
10999 if test "${enable_dirpicker+set}" = set; then
11000 enableval
=$enable_dirpicker;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
11004 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
11009 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11014 eval "$wx_cv_use_dirpicker"
11016 if test x"$enablestring" = xdisable; then
11017 if test $wxUSE_DIRPICKERCTRL = no; then
11023 result=$wxUSE_DIRPICKERCTRL
11026 { echo "$as_me:$LINENO: result: $result" >&5
11027 echo "${ECHO_T}$result" >&6; }
11031 defaultval=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x"$enablestring" = xdisable; then
11040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11041 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11042 # Check whether --enable-display was given.
11043 if test "${enable_display+set}" = set; then
11044 enableval=$enable_display;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_display='wxUSE_DISPLAY
=yes'
11048 wx_cv_use_display='wxUSE_DISPLAY
=no
'
11053 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11058 eval "$wx_cv_use_display"
11060 if test x"$enablestring" = xdisable; then
11061 if test $wxUSE_DISPLAY = no; then
11067 result=$wxUSE_DISPLAY
11070 { echo "$as_me:$LINENO: result
: $result" >&5
11071 echo "${ECHO_T}$result" >&6; }
11075 defaultval=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x"$enablestring" = xdisable; then
11084 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11085 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11086 # Check whether --enable-editablebox was given.
11087 if test "${enable_editablebox+set}" = set; then
11088 enableval=$enable_editablebox;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11092 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11097 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11102 eval "$wx_cv_use_editablebox"
11104 if test x
"$enablestring" = xdisable
; then
11105 if test $wxUSE_EDITABLELISTBOX = no
; then
11111 result
=$wxUSE_EDITABLELISTBOX
11114 { echo "$as_me:$LINENO: result: $result" >&5
11115 echo "${ECHO_T}$result" >&6; }
11119 defaultval
=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x
"$enablestring" = xdisable
; then
11128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11129 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11130 # Check whether --enable-filectrl was given.
11131 if test "${enable_filectrl+set}" = set; then
11132 enableval
=$enable_filectrl;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11136 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11141 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11146 eval "$wx_cv_use_filectrl"
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_FILECTRL = no; then
11155 result=$wxUSE_FILECTRL
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11174 # Check whether --enable-filepicker was given.
11175 if test "${enable_filepicker+set}" = set; then
11176 enableval=$enable_filepicker;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11180 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11185 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11190 eval "$wx_cv_use_filepicker"
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_FILEPICKERCTRL = no; then
11199 result=$wxUSE_FILEPICKERCTRL
11202 { echo "$as_me:$LINENO: result
: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11216 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11217 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11218 # Check whether --enable-fontpicker was given.
11219 if test "${enable_fontpicker+set}" = set; then
11220 enableval=$enable_fontpicker;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11224 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11229 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11234 eval "$wx_cv_use_fontpicker"
11236 if test x
"$enablestring" = xdisable
; then
11237 if test $wxUSE_FONTPICKERCTRL = no
; then
11243 result
=$wxUSE_FONTPICKERCTRL
11246 { echo "$as_me:$LINENO: result: $result" >&5
11247 echo "${ECHO_T}$result" >&6; }
11251 defaultval
=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x
"$enablestring" = xdisable
; then
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11262 # Check whether --enable-gauge was given.
11263 if test "${enable_gauge+set}" = set; then
11264 enableval
=$enable_gauge;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11268 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11273 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11278 eval "$wx_cv_use_gauge"
11280 if test x"$enablestring" = xdisable; then
11281 if test $wxUSE_GAUGE = no; then
11287 result=$wxUSE_GAUGE
11290 { echo "$as_me:$LINENO: result: $result" >&5
11291 echo "${ECHO_T}$result" >&6; }
11295 defaultval=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x"$enablestring" = xdisable; then
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11306 # Check whether --enable-grid was given.
11307 if test "${enable_grid+set}" = set; then
11308 enableval=$enable_grid;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_grid='wxUSE_GRID
=yes'
11312 wx_cv_use_grid='wxUSE_GRID
=no
'
11317 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11322 eval "$wx_cv_use_grid"
11324 if test x"$enablestring" = xdisable; then
11325 if test $wxUSE_GRID = no; then
11334 { echo "$as_me:$LINENO: result
: $result" >&5
11335 echo "${ECHO_T}$result" >&6; }
11339 defaultval=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x"$enablestring" = xdisable; then
11348 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11349 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11350 # Check whether --enable-headerctrl was given.
11351 if test "${enable_headerctrl+set}" = set; then
11352 enableval=$enable_headerctrl;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11356 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11361 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11366 eval "$wx_cv_use_headerctrl"
11368 if test x
"$enablestring" = xdisable
; then
11369 if test $wxUSE_HEADERCTRL = no
; then
11375 result
=$wxUSE_HEADERCTRL
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11383 defaultval
=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x
"$enablestring" = xdisable
; then
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11394 # Check whether --enable-hyperlink was given.
11395 if test "${enable_hyperlink+set}" = set; then
11396 enableval
=$enable_hyperlink;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11400 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11405 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11410 eval "$wx_cv_use_hyperlink"
11412 if test x"$enablestring" = xdisable; then
11413 if test $wxUSE_HYPERLINKCTRL = no; then
11419 result=$wxUSE_HYPERLINKCTRL
11422 { echo "$as_me:$LINENO: result: $result" >&5
11423 echo "${ECHO_T}$result" >&6; }
11427 defaultval=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x"$enablestring" = xdisable; then
11436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11437 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11438 # Check whether --enable-imaglist was given.
11439 if test "${enable_imaglist+set}" = set; then
11440 enableval=$enable_imaglist;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11444 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11449 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11454 eval "$wx_cv_use_imaglist"
11456 if test x"$enablestring" = xdisable; then
11457 if test $wxUSE_IMAGLIST = no; then
11463 result=$wxUSE_IMAGLIST
11466 { echo "$as_me:$LINENO: result
: $result" >&5
11467 echo "${ECHO_T}$result" >&6; }
11471 defaultval=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x"$enablestring" = xdisable; then
11480 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11481 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11482 # Check whether --enable-infobar was given.
11483 if test "${enable_infobar+set}" = set; then
11484 enableval=$enable_infobar;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11488 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11493 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11498 eval "$wx_cv_use_infobar"
11500 if test x
"$enablestring" = xdisable
; then
11501 if test $wxUSE_INFOBAR = no
; then
11507 result
=$wxUSE_INFOBAR
11510 { echo "$as_me:$LINENO: result: $result" >&5
11511 echo "${ECHO_T}$result" >&6; }
11515 defaultval
=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x
"$enablestring" = xdisable
; then
11524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11526 # Check whether --enable-listbook was given.
11527 if test "${enable_listbook+set}" = set; then
11528 enableval
=$enable_listbook;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11532 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11537 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11542 eval "$wx_cv_use_listbook"
11544 if test x"$enablestring" = xdisable; then
11545 if test $wxUSE_LISTBOOK = no; then
11551 result=$wxUSE_LISTBOOK
11554 { echo "$as_me:$LINENO: result: $result" >&5
11555 echo "${ECHO_T}$result" >&6; }
11559 defaultval=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x"$enablestring" = xdisable; then
11568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11570 # Check whether --enable-listbox was given.
11571 if test "${enable_listbox+set}" = set; then
11572 enableval=$enable_listbox;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11576 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11581 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11586 eval "$wx_cv_use_listbox"
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_LISTBOX = no; then
11595 result=$wxUSE_LISTBOX
11598 { echo "$as_me:$LINENO: result
: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11612 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11613 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11614 # Check whether --enable-listctrl was given.
11615 if test "${enable_listctrl+set}" = set; then
11616 enableval=$enable_listctrl;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11620 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11625 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11630 eval "$wx_cv_use_listctrl"
11632 if test x
"$enablestring" = xdisable
; then
11633 if test $wxUSE_LISTCTRL = no
; then
11639 result
=$wxUSE_LISTCTRL
11642 { echo "$as_me:$LINENO: result: $result" >&5
11643 echo "${ECHO_T}$result" >&6; }
11647 defaultval
=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x
"$enablestring" = xdisable
; then
11656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11658 # Check whether --enable-notebook was given.
11659 if test "${enable_notebook+set}" = set; then
11660 enableval
=$enable_notebook;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11664 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11669 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11674 eval "$wx_cv_use_notebook"
11676 if test x"$enablestring" = xdisable; then
11677 if test $wxUSE_NOTEBOOK = no; then
11683 result=$wxUSE_NOTEBOOK
11686 { echo "$as_me:$LINENO: result: $result" >&5
11687 echo "${ECHO_T}$result" >&6; }
11691 defaultval=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x"$enablestring" = xdisable; then
11700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11701 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11702 # Check whether --enable-notifmsg was given.
11703 if test "${enable_notifmsg+set}" = set; then
11704 enableval=$enable_notifmsg;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11708 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11713 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11718 eval "$wx_cv_use_notifmsg"
11720 if test x"$enablestring" = xdisable; then
11721 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11727 result=$wxUSE_NOTIFICATION_MESSAGE
11730 { echo "$as_me:$LINENO: result
: $result" >&5
11731 echo "${ECHO_T}$result" >&6; }
11735 defaultval=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x"$enablestring" = xdisable; then
11744 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11745 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11746 # Check whether --enable-odcombobox was given.
11747 if test "${enable_odcombobox+set}" = set; then
11748 enableval=$enable_odcombobox;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11752 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11757 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11762 eval "$wx_cv_use_odcombobox"
11764 if test x
"$enablestring" = xdisable
; then
11765 if test $wxUSE_ODCOMBOBOX = no
; then
11771 result
=$wxUSE_ODCOMBOBOX
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11779 defaultval
=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x
"$enablestring" = xdisable
; then
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11790 # Check whether --enable-popupwin was given.
11791 if test "${enable_popupwin+set}" = set; then
11792 enableval
=$enable_popupwin;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11796 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11801 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11806 eval "$wx_cv_use_popupwin"
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_POPUPWIN = no; then
11815 result=$wxUSE_POPUPWIN
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11834 # Check whether --enable-radiobox was given.
11835 if test "${enable_radiobox+set}" = set; then
11836 enableval=$enable_radiobox;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11840 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11845 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11850 eval "$wx_cv_use_radiobox"
11852 if test x"$enablestring" = xdisable; then
11853 if test $wxUSE_RADIOBOX = no; then
11859 result=$wxUSE_RADIOBOX
11862 { echo "$as_me:$LINENO: result
: $result" >&5
11863 echo "${ECHO_T}$result" >&6; }
11867 defaultval=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x"$enablestring" = xdisable; then
11876 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11877 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11878 # Check whether --enable-radiobtn was given.
11879 if test "${enable_radiobtn+set}" = set; then
11880 enableval=$enable_radiobtn;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11884 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11889 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11894 eval "$wx_cv_use_radiobtn"
11896 if test x
"$enablestring" = xdisable
; then
11897 if test $wxUSE_RADIOBTN = no
; then
11903 result
=$wxUSE_RADIOBTN
11906 { echo "$as_me:$LINENO: result: $result" >&5
11907 echo "${ECHO_T}$result" >&6; }
11911 defaultval
=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x
"$enablestring" = xdisable
; then
11920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11921 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11922 # Check whether --enable-richmsgdlg was given.
11923 if test "${enable_richmsgdlg+set}" = set; then
11924 enableval
=$enable_richmsgdlg;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11928 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11933 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11938 eval "$wx_cv_use_richmsgdlg"
11940 if test x"$enablestring" = xdisable; then
11941 if test $wxUSE_RICHMSGDLG = no; then
11947 result=$wxUSE_RICHMSGDLG
11950 { echo "$as_me:$LINENO: result: $result" >&5
11951 echo "${ECHO_T}$result" >&6; }
11955 defaultval=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x"$enablestring" = xdisable; then
11964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11965 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11966 # Check whether --enable-richtooltip was given.
11967 if test "${enable_richtooltip+set}" = set; then
11968 enableval=$enable_richtooltip;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
11972 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
11977 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11982 eval "$wx_cv_use_richtooltip"
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_RICHTOOLTIP = no; then
11991 result=$wxUSE_RICHTOOLTIP
11994 { echo "$as_me:$LINENO: result
: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12008 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
12009 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
12010 # Check whether --enable-rearrangectrl was given.
12011 if test "${enable_rearrangectrl+set}" = set; then
12012 enableval=$enable_rearrangectrl;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12016 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12021 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12026 eval "$wx_cv_use_rearrangectrl"
12028 if test x
"$enablestring" = xdisable
; then
12029 if test $wxUSE_REARRANGECTRL = no
; then
12035 result
=$wxUSE_REARRANGECTRL
12038 { echo "$as_me:$LINENO: result: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12043 defaultval
=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x
"$enablestring" = xdisable
; then
12052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12053 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12054 # Check whether --enable-sash was given.
12055 if test "${enable_sash+set}" = set; then
12056 enableval
=$enable_sash;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_sash
='wxUSE_SASH=yes'
12060 wx_cv_use_sash
='wxUSE_SASH=no'
12065 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12070 eval "$wx_cv_use_sash"
12072 if test x"$enablestring" = xdisable; then
12073 if test $wxUSE_SASH = no; then
12082 { echo "$as_me:$LINENO: result: $result" >&5
12083 echo "${ECHO_T}$result" >&6; }
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12097 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12098 # Check whether --enable-scrollbar was given.
12099 if test "${enable_scrollbar+set}" = set; then
12100 enableval=$enable_scrollbar;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
12104 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
12109 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12114 eval "$wx_cv_use_scrollbar"
12116 if test x"$enablestring" = xdisable; then
12117 if test $wxUSE_SCROLLBAR = no; then
12123 result=$wxUSE_SCROLLBAR
12126 { echo "$as_me:$LINENO: result
: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12131 defaultval=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x"$enablestring" = xdisable; then
12140 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
12141 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
12142 # Check whether --enable-searchctrl was given.
12143 if test "${enable_searchctrl+set}" = set; then
12144 enableval=$enable_searchctrl;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12148 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12153 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12158 eval "$wx_cv_use_searchctrl"
12160 if test x
"$enablestring" = xdisable
; then
12161 if test $wxUSE_SEARCHCTRL = no
; then
12167 result
=$wxUSE_SEARCHCTRL
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12175 defaultval
=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x
"$enablestring" = xdisable
; then
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12186 # Check whether --enable-slider was given.
12187 if test "${enable_slider+set}" = set; then
12188 enableval
=$enable_slider;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_slider
='wxUSE_SLIDER=yes'
12192 wx_cv_use_slider
='wxUSE_SLIDER=no'
12197 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12202 eval "$wx_cv_use_slider"
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_SLIDER = no; then
12211 result=$wxUSE_SLIDER
12214 { echo "$as_me:$LINENO: result: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12229 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12230 # Check whether --enable-spinbtn was given.
12231 if test "${enable_spinbtn+set}" = set; then
12232 enableval=$enable_spinbtn;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
12236 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
12241 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12246 eval "$wx_cv_use_spinbtn"
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_SPINBTN = no; then
12255 result=$wxUSE_SPINBTN
12258 { echo "$as_me:$LINENO: result
: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12272 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
12273 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
12274 # Check whether --enable-spinctrl was given.
12275 if test "${enable_spinctrl+set}" = set; then
12276 enableval=$enable_spinctrl;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12280 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12285 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12290 eval "$wx_cv_use_spinctrl"
12292 if test x
"$enablestring" = xdisable
; then
12293 if test $wxUSE_SPINCTRL = no
; then
12299 result
=$wxUSE_SPINCTRL
12302 { echo "$as_me:$LINENO: result: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12307 defaultval
=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x
"$enablestring" = xdisable
; then
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12318 # Check whether --enable-splitter was given.
12319 if test "${enable_splitter+set}" = set; then
12320 enableval
=$enable_splitter;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
12324 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
12329 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12334 eval "$wx_cv_use_splitter"
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_SPLITTER = no; then
12343 result=$wxUSE_SPLITTER
12346 { echo "$as_me:$LINENO: result: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12362 # Check whether --enable-statbmp was given.
12363 if test "${enable_statbmp+set}" = set; then
12364 enableval=$enable_statbmp;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
12368 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
12373 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12378 eval "$wx_cv_use_statbmp"
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_STATBMP = no; then
12387 result=$wxUSE_STATBMP
12390 { echo "$as_me:$LINENO: result
: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12404 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
12405 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
12406 # Check whether --enable-statbox was given.
12407 if test "${enable_statbox+set}" = set; then
12408 enableval=$enable_statbox;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12412 wx_cv_use_statbox='wxUSE_STATBOX=no'
12417 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12422 eval "$wx_cv_use_statbox"
12424 if test x
"$enablestring" = xdisable
; then
12425 if test $wxUSE_STATBOX = no
; then
12431 result
=$wxUSE_STATBOX
12434 { echo "$as_me:$LINENO: result: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12439 defaultval
=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x
"$enablestring" = xdisable
; then
12448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12450 # Check whether --enable-statline was given.
12451 if test "${enable_statline+set}" = set; then
12452 enableval
=$enable_statline;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_statline
='wxUSE_STATLINE=yes'
12456 wx_cv_use_statline
='wxUSE_STATLINE=no'
12461 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12466 eval "$wx_cv_use_statline"
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_STATLINE = no; then
12475 result=$wxUSE_STATLINE
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12494 # Check whether --enable-stattext was given.
12495 if test "${enable_stattext+set}" = set; then
12496 enableval=$enable_stattext;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
12500 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12505 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12510 eval "$wx_cv_use_stattext"
12512 if test x"$enablestring" = xdisable; then
12513 if test $wxUSE_STATTEXT = no; then
12519 result=$wxUSE_STATTEXT
12522 { echo "$as_me:$LINENO: result
: $result" >&5
12523 echo "${ECHO_T}$result" >&6; }
12527 defaultval=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x"$enablestring" = xdisable; then
12536 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12537 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12538 # Check whether --enable-statusbar was given.
12539 if test "${enable_statusbar+set}" = set; then
12540 enableval=$enable_statusbar;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12544 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12549 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12554 eval "$wx_cv_use_statusbar"
12556 if test x
"$enablestring" = xdisable
; then
12557 if test $wxUSE_STATUSBAR = no
; then
12563 result
=$wxUSE_STATUSBAR
12566 { echo "$as_me:$LINENO: result: $result" >&5
12567 echo "${ECHO_T}$result" >&6; }
12571 defaultval
=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x
"$enablestring" = xdisable
; then
12580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12581 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12582 # Check whether --enable-taskbaricon was given.
12583 if test "${enable_taskbaricon+set}" = set; then
12584 enableval
=$enable_taskbaricon;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12588 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12593 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12598 eval "$wx_cv_use_taskbaricon"
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_TASKBARICON = no; then
12607 result=$wxUSE_TASKBARICON
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12626 # Check whether --enable-tbarnative was given.
12627 if test "${enable_tbarnative+set}" = set; then
12628 enableval=$enable_tbarnative;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12632 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12637 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12642 eval "$wx_cv_use_tbarnative"
12644 if test x"$enablestring" = xdisable; then
12645 if test $wxUSE_TOOLBAR_NATIVE = no; then
12651 result=$wxUSE_TOOLBAR_NATIVE
12654 { echo "$as_me:$LINENO: result
: $result" >&5
12655 echo "${ECHO_T}$result" >&6; }
12659 defaultval=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x"$enablestring" = xdisable; then
12668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12669 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12670 # Check whether --enable-textctrl was given.
12671 if test "${enable_textctrl+set}" = set; then
12672 enableval=$enable_textctrl;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12676 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12681 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12686 eval "$wx_cv_use_textctrl"
12688 if test x
"$enablestring" = xdisable
; then
12689 if test $wxUSE_TEXTCTRL = no
; then
12695 result
=$wxUSE_TEXTCTRL
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12703 defaultval
=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x
"$enablestring" = xdisable
; then
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12714 # Check whether --enable-datepick was given.
12715 if test "${enable_datepick+set}" = set; then
12716 enableval
=$enable_datepick;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
12720 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
12725 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12730 eval "$wx_cv_use_datepick"
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_TIMEPICKCTRL = no; then
12739 result=$wxUSE_TIMEPICKCTRL
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12757 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12758 # Check whether --enable-tipwindow was given.
12759 if test "${enable_tipwindow+set}" = set; then
12760 enableval=$enable_tipwindow;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12764 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12769 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12774 eval "$wx_cv_use_tipwindow"
12776 if test x"$enablestring" = xdisable; then
12777 if test $wxUSE_TIPWINDOW = no; then
12783 result=$wxUSE_TIPWINDOW
12786 { echo "$as_me:$LINENO: result
: $result" >&5
12787 echo "${ECHO_T}$result" >&6; }
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12800 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12801 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12802 # Check whether --enable-togglebtn was given.
12803 if test "${enable_togglebtn+set}" = set; then
12804 enableval=$enable_togglebtn;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12808 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12813 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12818 eval "$wx_cv_use_togglebtn"
12820 if test x
"$enablestring" = xdisable
; then
12821 if test $wxUSE_TOGGLEBTN = no
; then
12827 result
=$wxUSE_TOGGLEBTN
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12835 defaultval
=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x
"$enablestring" = xdisable
; then
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12846 # Check whether --enable-toolbar was given.
12847 if test "${enable_toolbar+set}" = set; then
12848 enableval
=$enable_toolbar;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12852 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12857 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12862 eval "$wx_cv_use_toolbar"
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_TOOLBAR = no; then
12871 result=$wxUSE_TOOLBAR
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12890 # Check whether --enable-toolbook was given.
12891 if test "${enable_toolbook+set}" = set; then
12892 enableval=$enable_toolbook;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12896 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12901 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12906 eval "$wx_cv_use_toolbook"
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TOOLBOOK = no; then
12915 result=$wxUSE_TOOLBOOK
12918 { echo "$as_me:$LINENO: result
: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12932 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12933 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12934 # Check whether --enable-treebook was given.
12935 if test "${enable_treebook+set}" = set; then
12936 enableval=$enable_treebook;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12940 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12945 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12950 eval "$wx_cv_use_treebook"
12952 if test x
"$enablestring" = xdisable
; then
12953 if test $wxUSE_TREEBOOK = no
; then
12959 result
=$wxUSE_TREEBOOK
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12967 defaultval
=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x
"$enablestring" = xdisable
; then
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12978 # Check whether --enable-treectrl was given.
12979 if test "${enable_treectrl+set}" = set; then
12980 enableval
=$enable_treectrl;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12984 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12989 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12994 eval "$wx_cv_use_treectrl"
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_TREECTRL = no; then
13003 result=$wxUSE_TREECTRL
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13022 # Check whether --enable-treelist was given.
13023 if test "${enable_treelist+set}" = set; then
13024 enableval=$enable_treelist;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
13028 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
13033 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13038 eval "$wx_cv_use_treelist"
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_TREELISTCTRL = no; then
13047 result=$wxUSE_TREELISTCTRL
13050 { echo "$as_me:$LINENO: result
: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13057 defaultval=$wxUSE_ALL_FEATURES
13058 if test -z "$defaultval"; then
13059 if test x"$enablestring" = xdisable; then
13066 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
13067 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
13068 # Check whether --enable-commondlg was given.
13069 if test "${enable_commondlg+set}" = set; then
13070 enableval=$enable_commondlg;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13074 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13079 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13084 eval "$wx_cv_use_commondlg"
13086 if test x
"$enablestring" = xdisable
; then
13087 if test $wxUSE_COMMONDLGS = no
; then
13093 result
=$wxUSE_COMMONDLGS
13096 { echo "$as_me:$LINENO: result: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13101 defaultval
=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x
"$enablestring" = xdisable
; then
13110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13112 # Check whether --enable-aboutdlg was given.
13113 if test "${enable_aboutdlg+set}" = set; then
13114 enableval
=$enable_aboutdlg;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
13118 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
13123 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13128 eval "$wx_cv_use_aboutdlg"
13130 if test x"$enablestring" = xdisable; then
13131 if test $wxUSE_ABOUTDLG = no; then
13137 result=$wxUSE_ABOUTDLG
13140 { echo "$as_me:$LINENO: result: $result" >&5
13141 echo "${ECHO_T}$result" >&6; }
13145 defaultval=$wxUSE_ALL_FEATURES
13146 if test -z "$defaultval"; then
13147 if test x"$enablestring" = xdisable; then
13154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13155 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13156 # Check whether --enable-choicedlg was given.
13157 if test "${enable_choicedlg+set}" = set; then
13158 enableval=$enable_choicedlg;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
13162 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
13167 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13172 eval "$wx_cv_use_choicedlg"
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_CHOICEDLG = no; then
13181 result=$wxUSE_CHOICEDLG
13184 { echo "$as_me:$LINENO: result
: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13198 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
13199 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
13200 # Check whether --enable-coldlg was given.
13201 if test "${enable_coldlg+set}" = set; then
13202 enableval=$enable_coldlg;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13206 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13211 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13216 eval "$wx_cv_use_coldlg"
13218 if test x
"$enablestring" = xdisable
; then
13219 if test $wxUSE_COLOURDLG = no
; then
13225 result
=$wxUSE_COLOURDLG
13228 { echo "$as_me:$LINENO: result: $result" >&5
13229 echo "${ECHO_T}$result" >&6; }
13233 defaultval
=$wxUSE_ALL_FEATURES
13234 if test -z "$defaultval"; then
13235 if test x
"$enablestring" = xdisable
; then
13242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13243 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13244 # Check whether --enable-filedlg was given.
13245 if test "${enable_filedlg+set}" = set; then
13246 enableval
=$enable_filedlg;
13247 if test "$enableval" = yes; then
13248 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
13250 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
13255 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13260 eval "$wx_cv_use_filedlg"
13262 if test x"$enablestring" = xdisable; then
13263 if test $wxUSE_FILEDLG = no; then
13269 result=$wxUSE_FILEDLG
13272 { echo "$as_me:$LINENO: result: $result" >&5
13273 echo "${ECHO_T}$result" >&6; }
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13288 # Check whether --enable-finddlg was given.
13289 if test "${enable_finddlg+set}" = set; then
13290 enableval=$enable_finddlg;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
13294 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
13299 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13304 eval "$wx_cv_use_finddlg"
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_FINDREPLDLG = no; then
13313 result=$wxUSE_FINDREPLDLG
13316 { echo "$as_me:$LINENO: result
: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13330 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
13331 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
13332 # Check whether --enable-fontdlg was given.
13333 if test "${enable_fontdlg+set}" = set; then
13334 enableval=$enable_fontdlg;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13338 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13343 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13348 eval "$wx_cv_use_fontdlg"
13350 if test x
"$enablestring" = xdisable
; then
13351 if test $wxUSE_FONTDLG = no
; then
13357 result
=$wxUSE_FONTDLG
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13365 defaultval
=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x
"$enablestring" = xdisable
; then
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13376 # Check whether --enable-dirdlg was given.
13377 if test "${enable_dirdlg+set}" = set; then
13378 enableval
=$enable_dirdlg;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
13382 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
13387 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13392 eval "$wx_cv_use_dirdlg"
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_DIRDLG = no; then
13401 result=$wxUSE_DIRDLG
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13420 # Check whether --enable-msgdlg was given.
13421 if test "${enable_msgdlg+set}" = set; then
13422 enableval=$enable_msgdlg;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
13426 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
13431 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13436 eval "$wx_cv_use_msgdlg"
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_MSGDLG = no; then
13445 result=$wxUSE_MSGDLG
13448 { echo "$as_me:$LINENO: result
: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13462 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
13463 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
13464 # Check whether --enable-numberdlg was given.
13465 if test "${enable_numberdlg+set}" = set; then
13466 enableval=$enable_numberdlg;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13470 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13475 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13480 eval "$wx_cv_use_numberdlg"
13482 if test x
"$enablestring" = xdisable
; then
13483 if test $wxUSE_NUMBERDLG = no
; then
13489 result
=$wxUSE_NUMBERDLG
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13497 defaultval
=$wxUSE_ALL_FEATURES
13498 if test -z "$defaultval"; then
13499 if test x
"$enablestring" = xdisable
; then
13506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13507 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13508 # Check whether --enable-splash was given.
13509 if test "${enable_splash+set}" = set; then
13510 enableval
=$enable_splash;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13514 wx_cv_use_splash
='wxUSE_SPLASH=no'
13519 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13524 eval "$wx_cv_use_splash"
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_SPLASH = no; then
13533 result=$wxUSE_SPLASH
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13552 # Check whether --enable-textdlg was given.
13553 if test "${enable_textdlg+set}" = set; then
13554 enableval=$enable_textdlg;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13558 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13563 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13568 eval "$wx_cv_use_textdlg"
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_TEXTDLG = no; then
13577 result=$wxUSE_TEXTDLG
13580 { echo "$as_me:$LINENO: result
: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13594 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13595 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13596 # Check whether --enable-tipdlg was given.
13597 if test "${enable_tipdlg+set}" = set; then
13598 enableval=$enable_tipdlg;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13602 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13607 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13612 eval "$wx_cv_use_tipdlg"
13614 if test x
"$enablestring" = xdisable
; then
13615 if test $wxUSE_STARTUP_TIPS = no
; then
13621 result
=$wxUSE_STARTUP_TIPS
13624 { echo "$as_me:$LINENO: result: $result" >&5
13625 echo "${ECHO_T}$result" >&6; }
13629 defaultval
=$wxUSE_ALL_FEATURES
13630 if test -z "$defaultval"; then
13631 if test x
"$enablestring" = xdisable
; then
13638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13639 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13640 # Check whether --enable-progressdlg was given.
13641 if test "${enable_progressdlg+set}" = set; then
13642 enableval
=$enable_progressdlg;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13646 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13651 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13656 eval "$wx_cv_use_progressdlg"
13658 if test x"$enablestring" = xdisable; then
13659 if test $wxUSE_PROGRESSDLG = no; then
13665 result=$wxUSE_PROGRESSDLG
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13673 defaultval=$wxUSE_ALL_FEATURES
13674 if test -z "$defaultval"; then
13675 if test x"$enablestring" = xdisable; then
13682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13683 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13684 # Check whether --enable-wizarddlg was given.
13685 if test "${enable_wizarddlg+set}" = set; then
13686 enableval=$enable_wizarddlg;
13687 if test "$enableval" = yes; then
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13690 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13695 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13700 eval "$wx_cv_use_wizarddlg"
13702 if test x"$enablestring" = xdisable; then
13703 if test $wxUSE_WIZARDDLG = no; then
13709 result=$wxUSE_WIZARDDLG
13712 { echo "$as_me:$LINENO: result
: $result" >&5
13713 echo "${ECHO_T}$result" >&6; }
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13728 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13729 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13730 # Check whether --enable-menus was given.
13731 if test "${enable_menus+set}" = set; then
13732 enableval=$enable_menus;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_menus='wxUSE_MENUS=yes'
13736 wx_cv_use_menus='wxUSE_MENUS=no'
13741 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13746 eval "$wx_cv_use_menus"
13748 if test x
"$enablestring" = xdisable
; then
13749 if test $wxUSE_MENUS = no
; then
13755 result
=$wxUSE_MENUS
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13763 defaultval
=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x
"$enablestring" = xdisable
; then
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13774 # Check whether --enable-miniframe was given.
13775 if test "${enable_miniframe+set}" = set; then
13776 enableval
=$enable_miniframe;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13780 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13785 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13790 eval "$wx_cv_use_miniframe"
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_MINIFRAME = no; then
13799 result=$wxUSE_MINIFRAME
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13818 # Check whether --enable-tooltips was given.
13819 if test "${enable_tooltips+set}" = set; then
13820 enableval=$enable_tooltips;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13824 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13829 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13834 eval "$wx_cv_use_tooltips"
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_TOOLTIPS = no; then
13843 result=$wxUSE_TOOLTIPS
13846 { echo "$as_me:$LINENO: result
: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13860 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13861 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13862 # Check whether --enable-splines was given.
13863 if test "${enable_splines+set}" = set; then
13864 enableval=$enable_splines;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_splines='wxUSE_SPLINES=yes'
13868 wx_cv_use_splines='wxUSE_SPLINES=no'
13873 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13878 eval "$wx_cv_use_splines"
13880 if test x
"$enablestring" = xdisable
; then
13881 if test $wxUSE_SPLINES = no
; then
13887 result
=$wxUSE_SPLINES
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13895 defaultval
=$wxUSE_ALL_FEATURES
13896 if test -z "$defaultval"; then
13897 if test x
"$enablestring" = xdisable
; then
13904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13905 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13906 # Check whether --enable-mousewheel was given.
13907 if test "${enable_mousewheel+set}" = set; then
13908 enableval
=$enable_mousewheel;
13909 if test "$enableval" = yes; then
13910 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13912 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13917 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13922 eval "$wx_cv_use_mousewheel"
13924 if test x"$enablestring" = xdisable; then
13925 if test $wxUSE_MOUSEWHEEL = no; then
13931 result=$wxUSE_MOUSEWHEEL
13934 { echo "$as_me:$LINENO: result: $result" >&5
13935 echo "${ECHO_T}$result" >&6; }
13939 defaultval=$wxUSE_ALL_FEATURES
13940 if test -z "$defaultval"; then
13941 if test x"$enablestring" = xdisable; then
13948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13949 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13950 # Check whether --enable-validators was given.
13951 if test "${enable_validators+set}" = set; then
13952 enableval=$enable_validators;
13953 if test "$enableval" = yes; then
13954 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13956 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13961 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13966 eval "$wx_cv_use_validators"
13968 if test x"$enablestring" = xdisable; then
13969 if test $wxUSE_VALIDATORS = no; then
13975 result=$wxUSE_VALIDATORS
13978 { echo "$as_me:$LINENO: result
: $result" >&5
13979 echo "${ECHO_T}$result" >&6; }
13983 defaultval=$wxUSE_ALL_FEATURES
13984 if test -z "$defaultval"; then
13985 if test x"$enablestring" = xdisable; then
13992 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13993 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13994 # Check whether --enable-busyinfo was given.
13995 if test "${enable_busyinfo+set}" = set; then
13996 enableval=$enable_busyinfo;
13997 if test "$enableval" = yes; then
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14000 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14005 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14010 eval "$wx_cv_use_busyinfo"
14012 if test x
"$enablestring" = xdisable
; then
14013 if test $wxUSE_BUSYINFO = no
; then
14019 result
=$wxUSE_BUSYINFO
14022 { echo "$as_me:$LINENO: result: $result" >&5
14023 echo "${ECHO_T}$result" >&6; }
14027 defaultval
=$wxUSE_ALL_FEATURES
14028 if test -z "$defaultval"; then
14029 if test x
"$enablestring" = xdisable
; then
14036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14037 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14038 # Check whether --enable-hotkey was given.
14039 if test "${enable_hotkey+set}" = set; then
14040 enableval
=$enable_hotkey;
14041 if test "$enableval" = yes; then
14042 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
14044 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
14049 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14054 eval "$wx_cv_use_hotkey"
14056 if test x"$enablestring" = xdisable; then
14057 if test $wxUSE_HOTKEY = no; then
14063 result=$wxUSE_HOTKEY
14066 { echo "$as_me:$LINENO: result: $result" >&5
14067 echo "${ECHO_T}$result" >&6; }
14071 defaultval=$wxUSE_ALL_FEATURES
14072 if test -z "$defaultval"; then
14073 if test x"$enablestring" = xdisable; then
14080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14081 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14082 # Check whether --enable-joystick was given.
14083 if test "${enable_joystick+set}" = set; then
14084 enableval=$enable_joystick;
14085 if test "$enableval" = yes; then
14086 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
14088 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
14093 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14098 eval "$wx_cv_use_joystick"
14100 if test x"$enablestring" = xdisable; then
14101 if test $wxUSE_JOYSTICK = no; then
14107 result=$wxUSE_JOYSTICK
14110 { echo "$as_me:$LINENO: result
: $result" >&5
14111 echo "${ECHO_T}$result" >&6; }
14115 defaultval=$wxUSE_ALL_FEATURES
14116 if test -z "$defaultval"; then
14117 if test x"$enablestring" = xdisable; then
14124 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
14125 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
14126 # Check whether --enable-metafile was given.
14127 if test "${enable_metafile+set}" = set; then
14128 enableval=$enable_metafile;
14129 if test "$enableval" = yes; then
14130 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14132 wx_cv_use_metafile='wxUSE_METAFILE=no'
14137 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14142 eval "$wx_cv_use_metafile"
14144 if test x
"$enablestring" = xdisable
; then
14145 if test $wxUSE_METAFILE = no
; then
14151 result
=$wxUSE_METAFILE
14154 { echo "$as_me:$LINENO: result: $result" >&5
14155 echo "${ECHO_T}$result" >&6; }
14159 defaultval
=$wxUSE_ALL_FEATURES
14160 if test -z "$defaultval"; then
14161 if test x
"$enablestring" = xdisable
; then
14168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14169 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14170 # Check whether --enable-dragimage was given.
14171 if test "${enable_dragimage+set}" = set; then
14172 enableval
=$enable_dragimage;
14173 if test "$enableval" = yes; then
14174 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
14176 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
14181 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14186 eval "$wx_cv_use_dragimage"
14188 if test x"$enablestring" = xdisable; then
14189 if test $wxUSE_DRAGIMAGE = no; then
14195 result=$wxUSE_DRAGIMAGE
14198 { echo "$as_me:$LINENO: result: $result" >&5
14199 echo "${ECHO_T}$result" >&6; }
14203 defaultval=$wxUSE_ALL_FEATURES
14204 if test -z "$defaultval"; then
14205 if test x"$enablestring" = xdisable; then
14212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14213 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14214 # Check whether --enable-accessibility was given.
14215 if test "${enable_accessibility+set}" = set; then
14216 enableval=$enable_accessibility;
14217 if test "$enableval" = yes; then
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
14220 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
14225 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14230 eval "$wx_cv_use_accessibility"
14232 if test x"$enablestring" = xdisable; then
14233 if test $wxUSE_ACCESSIBILITY = no; then
14239 result=$wxUSE_ACCESSIBILITY
14242 { echo "$as_me:$LINENO: result
: $result" >&5
14243 echo "${ECHO_T}$result" >&6; }
14247 defaultval=$wxUSE_ALL_FEATURES
14248 if test -z "$defaultval"; then
14249 if test x"$enablestring" = xdisable; then
14256 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
14257 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
14258 # Check whether --enable-uiactionsim was given.
14259 if test "${enable_uiactionsim+set}" = set; then
14260 enableval=$enable_uiactionsim;
14261 if test "$enableval" = yes; then
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14264 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14269 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14274 eval "$wx_cv_use_uiactionsim"
14276 if test x
"$enablestring" = xdisable
; then
14277 if test $wxUSE_UIACTIONSIMULATOR = no
; then
14283 result
=$wxUSE_UIACTIONSIMULATOR
14286 { echo "$as_me:$LINENO: result: $result" >&5
14287 echo "${ECHO_T}$result" >&6; }
14291 defaultval
=$wxUSE_ALL_FEATURES
14292 if test -z "$defaultval"; then
14293 if test x
"$enablestring" = xdisable
; then
14300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14301 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14302 # Check whether --enable-dctransform was given.
14303 if test "${enable_dctransform+set}" = set; then
14304 enableval
=$enable_dctransform;
14305 if test "$enableval" = yes; then
14306 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
14308 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
14313 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14318 eval "$wx_cv_use_dctransform"
14320 if test x"$enablestring" = xdisable; then
14321 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14327 result=$wxUSE_DC_TRANSFORM_MATRIX
14330 { echo "$as_me:$LINENO: result: $result" >&5
14331 echo "${ECHO_T}$result" >&6; }
14335 defaultval=$wxUSE_ALL_FEATURES
14336 if test -z "$defaultval"; then
14337 if test x"$enablestring" = xdisable; then
14344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14345 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14346 # Check whether --enable-webviewwebkit was given.
14347 if test "${enable_webviewwebkit+set}" = set; then
14348 enableval=$enable_webviewwebkit;
14349 if test "$enableval" = yes; then
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
14352 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
14357 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14362 eval "$wx_cv_use_webviewwebkit"
14364 if test x"$enablestring" = xdisable; then
14365 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14371 result=$wxUSE_WEBVIEW_WEBKIT
14374 { echo "$as_me:$LINENO: result
: $result" >&5
14375 echo "${ECHO_T}$result" >&6; }
14381 defaultval=$wxUSE_ALL_FEATURES
14382 if test -z "$defaultval"; then
14383 if test x"$enablestring" = xdisable; then
14390 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14391 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
14392 # Check whether --enable-palette was given.
14393 if test "${enable_palette+set}" = set; then
14394 enableval=$enable_palette;
14395 if test "$enableval" = yes; then
14396 wx_cv_use_palette='wxUSE_PALETTE=yes'
14398 wx_cv_use_palette='wxUSE_PALETTE=no'
14403 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14408 eval "$wx_cv_use_palette"
14410 if test x
"$enablestring" = xdisable
; then
14411 if test $wxUSE_PALETTE = no
; then
14417 result
=$wxUSE_PALETTE
14420 { echo "$as_me:$LINENO: result: $result" >&5
14421 echo "${ECHO_T}$result" >&6; }
14425 defaultval
=$wxUSE_ALL_FEATURES
14426 if test -z "$defaultval"; then
14427 if test x
"$enablestring" = xdisable
; then
14434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14435 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14436 # Check whether --enable-image was given.
14437 if test "${enable_image+set}" = set; then
14438 enableval
=$enable_image;
14439 if test "$enableval" = yes; then
14440 wx_cv_use_image
='wxUSE_IMAGE=yes'
14442 wx_cv_use_image
='wxUSE_IMAGE=no'
14447 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14452 eval "$wx_cv_use_image"
14454 if test x"$enablestring" = xdisable; then
14455 if test $wxUSE_IMAGE = no; then
14461 result=$wxUSE_IMAGE
14464 { echo "$as_me:$LINENO: result: $result" >&5
14465 echo "${ECHO_T}$result" >&6; }
14469 defaultval=$wxUSE_ALL_FEATURES
14470 if test -z "$defaultval"; then
14471 if test x"$enablestring" = xdisable; then
14478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14479 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14480 # Check whether --enable-gif was given.
14481 if test "${enable_gif+set}" = set; then
14482 enableval=$enable_gif;
14483 if test "$enableval" = yes; then
14484 wx_cv_use_gif='wxUSE_GIF
=yes'
14486 wx_cv_use_gif='wxUSE_GIF
=no
'
14491 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14496 eval "$wx_cv_use_gif"
14498 if test x"$enablestring" = xdisable; then
14499 if test $wxUSE_GIF = no; then
14508 { echo "$as_me:$LINENO: result
: $result" >&5
14509 echo "${ECHO_T}$result" >&6; }
14513 defaultval=$wxUSE_ALL_FEATURES
14514 if test -z "$defaultval"; then
14515 if test x"$enablestring" = xdisable; then
14522 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14523 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14524 # Check whether --enable-pcx was given.
14525 if test "${enable_pcx+set}" = set; then
14526 enableval=$enable_pcx;
14527 if test "$enableval" = yes; then
14528 wx_cv_use_pcx='wxUSE_PCX=yes'
14530 wx_cv_use_pcx='wxUSE_PCX=no'
14535 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14540 eval "$wx_cv_use_pcx"
14542 if test x
"$enablestring" = xdisable
; then
14543 if test $wxUSE_PCX = no
; then
14552 { echo "$as_me:$LINENO: result: $result" >&5
14553 echo "${ECHO_T}$result" >&6; }
14557 defaultval
=$wxUSE_ALL_FEATURES
14558 if test -z "$defaultval"; then
14559 if test x
"$enablestring" = xdisable
; then
14566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14567 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14568 # Check whether --enable-tga was given.
14569 if test "${enable_tga+set}" = set; then
14570 enableval
=$enable_tga;
14571 if test "$enableval" = yes; then
14572 wx_cv_use_tga
='wxUSE_TGA=yes'
14574 wx_cv_use_tga
='wxUSE_TGA=no'
14579 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14584 eval "$wx_cv_use_tga"
14586 if test x"$enablestring" = xdisable; then
14587 if test $wxUSE_TGA = no; then
14596 { echo "$as_me:$LINENO: result: $result" >&5
14597 echo "${ECHO_T}$result" >&6; }
14601 defaultval=$wxUSE_ALL_FEATURES
14602 if test -z "$defaultval"; then
14603 if test x"$enablestring" = xdisable; then
14610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14611 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14612 # Check whether --enable-iff was given.
14613 if test "${enable_iff+set}" = set; then
14614 enableval=$enable_iff;
14615 if test "$enableval" = yes; then
14616 wx_cv_use_iff='wxUSE_IFF
=yes'
14618 wx_cv_use_iff='wxUSE_IFF
=no
'
14623 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14628 eval "$wx_cv_use_iff"
14630 if test x"$enablestring" = xdisable; then
14631 if test $wxUSE_IFF = no; then
14640 { echo "$as_me:$LINENO: result
: $result" >&5
14641 echo "${ECHO_T}$result" >&6; }
14645 defaultval=$wxUSE_ALL_FEATURES
14646 if test -z "$defaultval"; then
14647 if test x"$enablestring" = xdisable; then
14654 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14655 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14656 # Check whether --enable-pnm was given.
14657 if test "${enable_pnm+set}" = set; then
14658 enableval=$enable_pnm;
14659 if test "$enableval" = yes; then
14660 wx_cv_use_pnm='wxUSE_PNM=yes'
14662 wx_cv_use_pnm='wxUSE_PNM=no'
14667 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14672 eval "$wx_cv_use_pnm"
14674 if test x
"$enablestring" = xdisable
; then
14675 if test $wxUSE_PNM = no
; then
14684 { echo "$as_me:$LINENO: result: $result" >&5
14685 echo "${ECHO_T}$result" >&6; }
14689 defaultval
=$wxUSE_ALL_FEATURES
14690 if test -z "$defaultval"; then
14691 if test x
"$enablestring" = xdisable
; then
14698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14699 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14700 # Check whether --enable-xpm was given.
14701 if test "${enable_xpm+set}" = set; then
14702 enableval
=$enable_xpm;
14703 if test "$enableval" = yes; then
14704 wx_cv_use_xpm
='wxUSE_XPM=yes'
14706 wx_cv_use_xpm
='wxUSE_XPM=no'
14711 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14716 eval "$wx_cv_use_xpm"
14718 if test x"$enablestring" = xdisable; then
14719 if test $wxUSE_XPM = no; then
14728 { echo "$as_me:$LINENO: result: $result" >&5
14729 echo "${ECHO_T}$result" >&6; }
14733 defaultval=$wxUSE_ALL_FEATURES
14734 if test -z "$defaultval"; then
14735 if test x"$enablestring" = xdisable; then
14742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14743 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14744 # Check whether --enable-ico_cur was given.
14745 if test "${enable_ico_cur+set}" = set; then
14746 enableval=$enable_ico_cur;
14747 if test "$enableval" = yes; then
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14750 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14755 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14760 eval "$wx_cv_use_ico_cur"
14762 if test x"$enablestring" = xdisable; then
14763 if test $wxUSE_ICO_CUR = no; then
14769 result=$wxUSE_ICO_CUR
14772 { echo "$as_me:$LINENO: result
: $result" >&5
14773 echo "${ECHO_T}$result" >&6; }
14779 defaultval=$wxUSE_ALL_FEATURES
14780 if test -z "$defaultval"; then
14781 if test x"$enablestring" = xdisable; then
14788 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14789 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14790 # Check whether --enable-dccache was given.
14791 if test "${enable_dccache+set}" = set; then
14792 enableval=$enable_dccache;
14793 if test "$enableval" = yes; then
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14796 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14801 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14806 eval "$wx_cv_use_dccache"
14808 if test x
"$enablestring" = xdisable
; then
14809 if test $wxUSE_DC_CACHEING = no
; then
14815 result
=$wxUSE_DC_CACHEING
14818 { echo "$as_me:$LINENO: result: $result" >&5
14819 echo "${ECHO_T}$result" >&6; }
14823 defaultval
=$wxUSE_ALL_FEATURES
14824 if test -z "$defaultval"; then
14825 if test x
"$enablestring" = xdisable
; then
14832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14833 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14834 # Check whether --enable-ps-in-msw was given.
14835 if test "${enable_ps_in_msw+set}" = set; then
14836 enableval
=$enable_ps_in_msw;
14837 if test "$enableval" = yes; then
14838 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14840 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14845 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14850 eval "$wx_cv_use_ps_in_msw"
14852 if test x"$enablestring" = xdisable; then
14853 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14859 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14862 { echo "$as_me:$LINENO: result: $result" >&5
14863 echo "${ECHO_T}$result" >&6; }
14867 defaultval=$wxUSE_ALL_FEATURES
14868 if test -z "$defaultval"; then
14869 if test x"$enablestring" = xdisable; then
14876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14877 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14878 # Check whether --enable-ownerdrawn was given.
14879 if test "${enable_ownerdrawn+set}" = set; then
14880 enableval=$enable_ownerdrawn;
14881 if test "$enableval" = yes; then
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14884 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14889 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14894 eval "$wx_cv_use_ownerdrawn"
14896 if test x"$enablestring" = xdisable; then
14897 if test $wxUSE_OWNER_DRAWN = no; then
14903 result=$wxUSE_OWNER_DRAWN
14906 { echo "$as_me:$LINENO: result
: $result" >&5
14907 echo "${ECHO_T}$result" >&6; }
14911 defaultval=$wxUSE_ALL_FEATURES
14912 if test -z "$defaultval"; then
14913 if test x"$enablestring" = xdisable; then
14920 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14921 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14922 # Check whether --enable-uxtheme was given.
14923 if test "${enable_uxtheme+set}" = set; then
14924 enableval=$enable_uxtheme;
14925 if test "$enableval" = yes; then
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14928 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14933 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14938 eval "$wx_cv_use_uxtheme"
14940 if test x
"$enablestring" = xdisable
; then
14941 if test $wxUSE_UXTHEME = no
; then
14947 result
=$wxUSE_UXTHEME
14950 { echo "$as_me:$LINENO: result: $result" >&5
14951 echo "${ECHO_T}$result" >&6; }
14955 defaultval
=$wxUSE_ALL_FEATURES
14956 if test -z "$defaultval"; then
14957 if test x
"$enablestring" = xdisable
; then
14964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14965 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14966 # Check whether --enable-wxdib was given.
14967 if test "${enable_wxdib+set}" = set; then
14968 enableval
=$enable_wxdib;
14969 if test "$enableval" = yes; then
14970 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14972 wx_cv_use_wxdib
='wxUSE_DIB=no'
14977 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14982 eval "$wx_cv_use_wxdib"
14984 if test x"$enablestring" = xdisable; then
14985 if test $wxUSE_DIB = no; then
14994 { echo "$as_me:$LINENO: result: $result" >&5
14995 echo "${ECHO_T}$result" >&6; }
14999 defaultval=$wxUSE_ALL_FEATURES
15000 if test -z "$defaultval"; then
15001 if test x"$enablestring" = xdisable; then
15008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15009 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15010 # Check whether --enable-webviewie was given.
15011 if test "${enable_webviewie+set}" = set; then
15012 enableval=$enable_webviewie;
15013 if test "$enableval" = yes; then
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
15016 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
15021 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15026 eval "$wx_cv_use_webviewie"
15028 if test x"$enablestring" = xdisable; then
15029 if test $wxUSE_WEBVIEW_IE = no; then
15035 result=$wxUSE_WEBVIEW_IE
15038 { echo "$as_me:$LINENO: result
: $result" >&5
15039 echo "${ECHO_T}$result" >&6; }
15042 if test "$wxUSE_MSW" != 1; then
15043 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15048 defaultval=$wxUSE_ALL_FEATURES
15049 if test -z "$defaultval"; then
15050 if test x"$enablestring" = xdisable; then
15057 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
15058 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
15059 # Check whether --enable-autoidman was given.
15060 if test "${enable_autoidman+set}" = set; then
15061 enableval=$enable_autoidman;
15062 if test "$enableval" = yes; then
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15065 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15070 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15075 eval "$wx_cv_use_autoidman"
15077 if test x
"$enablestring" = xdisable
; then
15078 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
15084 result
=$wxUSE_AUTOID_MANAGEMENT
15087 { echo "$as_me:$LINENO: result: $result" >&5
15088 echo "${ECHO_T}$result" >&6; }
15094 cat >confcache
<<\_ACEOF
15095 # This file is a shell script that caches the results of configure
15096 # tests run on this system so they can be shared between configure
15097 # scripts and configure runs, see configure's option --config-cache.
15098 # It is not useful on other systems. If it contains results you don't
15099 # want to keep, you may remove or edit it.
15101 # config.status only pays attention to the cache file if you give it
15102 # the --recheck option to rerun configure.
15104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15106 # following values.
15110 # The following way of writing the cache mishandles newlines in values,
15111 # but we know of no workaround that is simple, portable, and efficient.
15112 # So, we kill variables containing newlines.
15113 # Ultrix sh set writes to stderr and can't be redirected directly,
15114 # and sets the high bit in the cache file unless we assign to the vars.
15116 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15117 eval ac_val
=\$
$ac_var
15121 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15122 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15125 _
| IFS
| as_nl
) ;; #(
15126 *) $as_unset $ac_var ;;
15132 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15133 *${as_nl}ac_space
=\
*)
15134 # `set' does not quote correctly, so add quotes (double-quote
15135 # substitution turns \\\\ into \\, and sed turns \\ into \).
15138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15141 # `set' quotes correctly as required by POSIX, so do not add quotes.
15142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15155 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15156 if test -w "$cache_file"; then
15157 test "x$cache_file" != "x/dev/null" &&
15158 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15159 echo "$as_me: updating cache $cache_file" >&6;}
15160 cat confcache
>$cache_file
15162 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15163 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15170 ac_cpp
='$CPP $CPPFLAGS'
15171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15174 if test -n "$ac_tool_prefix"; then
15175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15176 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15179 if test "${ac_cv_prog_CC+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 if test -n "$CC"; then
15183 ac_cv_prog_CC
="$CC" # Let the user override the test.
15185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15186 for as_dir
in $PATH
15189 test -z "$as_dir" && as_dir
=.
15190 for ac_exec_ext
in '' $ac_executable_extensions; do
15191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15192 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15203 if test -n "$CC"; then
15204 { echo "$as_me:$LINENO: result: $CC" >&5
15205 echo "${ECHO_T}$CC" >&6; }
15207 { echo "$as_me:$LINENO: result: no" >&5
15208 echo "${ECHO_T}no" >&6; }
15213 if test -z "$ac_cv_prog_CC"; then
15215 # Extract the first word of "gcc", so it can be a program name with args.
15216 set dummy gcc
; ac_word
=$2
15217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15219 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 if test -n "$ac_ct_CC"; then
15223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15226 for as_dir
in $PATH
15229 test -z "$as_dir" && as_dir
=.
15230 for ac_exec_ext
in '' $ac_executable_extensions; do
15231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15232 ac_cv_prog_ac_ct_CC
="gcc"
15233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15242 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15243 if test -n "$ac_ct_CC"; then
15244 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15245 echo "${ECHO_T}$ac_ct_CC" >&6; }
15247 { echo "$as_me:$LINENO: result: no" >&5
15248 echo "${ECHO_T}no" >&6; }
15251 if test "x$ac_ct_CC" = x
; then
15254 case $cross_compiling:$ac_tool_warned in
15256 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15257 whose name does not start with the host triplet. If you think this
15258 configuration is useful to you, please write to autoconf@gnu.org." >&5
15259 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15260 whose name does not start with the host triplet. If you think this
15261 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15262 ac_tool_warned
=yes ;;
15267 CC
="$ac_cv_prog_CC"
15270 if test -z "$CC"; then
15271 if test -n "$ac_tool_prefix"; then
15272 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15273 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15276 if test "${ac_cv_prog_CC+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 if test -n "$CC"; then
15280 ac_cv_prog_CC
="$CC" # Let the user override the test.
15282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15283 for as_dir
in $PATH
15286 test -z "$as_dir" && as_dir
=.
15287 for ac_exec_ext
in '' $ac_executable_extensions; do
15288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15289 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15300 if test -n "$CC"; then
15301 { echo "$as_me:$LINENO: result: $CC" >&5
15302 echo "${ECHO_T}$CC" >&6; }
15304 { echo "$as_me:$LINENO: result: no" >&5
15305 echo "${ECHO_T}no" >&6; }
15311 if test -z "$CC"; then
15312 # Extract the first word of "cc", so it can be a program name with args.
15313 set dummy cc
; ac_word
=$2
15314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15316 if test "${ac_cv_prog_CC+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15319 if test -n "$CC"; then
15320 ac_cv_prog_CC
="$CC" # Let the user override the test.
15322 ac_prog_rejected
=no
15323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15324 for as_dir
in $PATH
15327 test -z "$as_dir" && as_dir
=.
15328 for ac_exec_ext
in '' $ac_executable_extensions; do
15329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15330 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15331 ac_prog_rejected
=yes
15335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15342 if test $ac_prog_rejected = yes; then
15343 # We found a bogon in the path, so make sure we never use it.
15344 set dummy
$ac_cv_prog_CC
15346 if test $# != 0; then
15347 # We chose a different compiler from the bogus one.
15348 # However, it has the same basename, so the bogon will be chosen
15349 # first if we set CC to just the basename; use the full file name.
15351 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15357 if test -n "$CC"; then
15358 { echo "$as_me:$LINENO: result: $CC" >&5
15359 echo "${ECHO_T}$CC" >&6; }
15361 { echo "$as_me:$LINENO: result: no" >&5
15362 echo "${ECHO_T}no" >&6; }
15367 if test -z "$CC"; then
15368 if test -n "$ac_tool_prefix"; then
15369 for ac_prog
in cl.exe
15371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15372 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15375 if test "${ac_cv_prog_CC+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 if test -n "$CC"; then
15379 ac_cv_prog_CC
="$CC" # Let the user override the test.
15381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15382 for as_dir
in $PATH
15385 test -z "$as_dir" && as_dir
=.
15386 for ac_exec_ext
in '' $ac_executable_extensions; do
15387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15388 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15399 if test -n "$CC"; then
15400 { echo "$as_me:$LINENO: result: $CC" >&5
15401 echo "${ECHO_T}$CC" >&6; }
15403 { echo "$as_me:$LINENO: result: no" >&5
15404 echo "${ECHO_T}no" >&6; }
15408 test -n "$CC" && break
15411 if test -z "$CC"; then
15413 for ac_prog
in cl.exe
15415 # Extract the first word of "$ac_prog", so it can be a program name with args.
15416 set dummy
$ac_prog; ac_word
=$2
15417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 if test -n "$ac_ct_CC"; then
15423 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15426 for as_dir
in $PATH
15429 test -z "$as_dir" && as_dir
=.
15430 for ac_exec_ext
in '' $ac_executable_extensions; do
15431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15432 ac_cv_prog_ac_ct_CC
="$ac_prog"
15433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15443 if test -n "$ac_ct_CC"; then
15444 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15445 echo "${ECHO_T}$ac_ct_CC" >&6; }
15447 { echo "$as_me:$LINENO: result: no" >&5
15448 echo "${ECHO_T}no" >&6; }
15452 test -n "$ac_ct_CC" && break
15455 if test "x$ac_ct_CC" = x
; then
15458 case $cross_compiling:$ac_tool_warned in
15460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15461 whose name does not start with the host triplet. If you think this
15462 configuration is useful to you, please write to autoconf@gnu.org." >&5
15463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15464 whose name does not start with the host triplet. If you think this
15465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15466 ac_tool_warned
=yes ;;
15475 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: no acceptable C compiler found in \$PATH
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; }
15481 # Provide some information about the compiler.
15482 echo "$as_me:$LINENO: checking for C compiler version" >&5
15483 ac_compiler
=`set X $ac_compile; echo $2`
15484 { (ac_try
="$ac_compiler --version >&5"
15485 case "(($ac_try" in
15486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15487 *) ac_try_echo=$ac_try;;
15489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15490 (eval "$ac_compiler --version >&5") 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }
15494 { (ac_try="$ac_compiler -v >&5"
15495 case "(($ac_try" in
15496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15497 *) ac_try_echo
=$ac_try;;
15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_compiler -v >&5") 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }
15504 { (ac_try
="$ac_compiler -V >&5"
15505 case "(($ac_try" in
15506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_compiler -V >&5") 2>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }
15515 cat >conftest.$ac_ext <<_ACEOF
15518 cat confdefs.h >>conftest.$ac_ext
15519 cat >>conftest.$ac_ext <<_ACEOF
15520 /* end confdefs.h. */
15530 ac_clean_files_save=$ac_clean_files
15531 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15532 # Try to create an executable without -o first, disregard a.out.
15533 # It will help us diagnose broken compilers, and finding out an intuition
15535 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15536 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15537 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15539 # List of possible output files, starting from the most likely.
15540 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15541 # only as a last resort. b.out is created by i960 compilers.
15542 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15544 # The IRIX 6 linker writes into existing files which may not be
15545 # executable, retaining their permissions. Remove them first so a
15546 # subsequent execution test works.
15548 for ac_file in $ac_files
15551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15552 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15557 if { (ac_try="$ac_link_default"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_link_default") 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; then
15567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15570 # so that the user can short-circuit this test for compilers unknown to
15572 for ac_file
in $ac_files ''
15574 test -f "$ac_file" || continue
15576 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15579 # We found the default executable, but exeext='' is most
15583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15585 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15587 # We set ac_cv_exeext here because the later test for it is not
15588 # safe: cross compilers may not add the suffix if given an `-o'
15589 # argument, so we may need to know it at that point already.
15590 # Even if this section looks crufty: it has the advantage of
15591 # actually working.
15597 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15603 { echo "$as_me:$LINENO: result: $ac_file" >&5
15604 echo "${ECHO_T}$ac_file" >&6; }
15605 if test -z "$ac_file"; then
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.
$ac_ext >&5
15609 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15610 See \`config.log' for more details." >&5
15611 echo "$as_me: error: C compiler cannot create executables
15612 See \`config.log' for more details." >&2;}
15613 { (exit 77); exit 77; }; }
15616 ac_exeext
=$ac_cv_exeext
15618 # Check that the compiler produces executables we can run. If not, either
15619 # the compiler is broken, or we cross compile.
15620 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15621 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15622 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15623 # If not cross compiling, check that we can run a simple program.
15624 if test "$cross_compiling" != yes; then
15625 if { ac_try
='./$ac_file'
15626 { (case "(($ac_try" in
15627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_try") 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; }; then
15637 if test "$cross_compiling" = maybe; then
15638 cross_compiling=yes
15640 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15641 If you meant to cross compile, use \`--host'.
15642 See \`config.log' for more details.
" >&5
15643 echo "$as_me: error
: cannot run C compiled programs.
15644 If you meant to cross compile
, use \
`--host'.
15645 See \`config.log
' for more details." >&2;}
15646 { (exit 1); exit 1; }; }
15650 { echo "$as_me:$LINENO: result: yes" >&5
15651 echo "${ECHO_T}yes" >&6; }
15653 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15654 ac_clean_files=$ac_clean_files_save
15655 # Check that the compiler produces executables we can run. If not, either
15656 # the compiler is broken, or we cross compile.
15657 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15658 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15659 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15660 echo "${ECHO_T}$cross_compiling" >&6; }
15662 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15663 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15664 if { (ac_try="$ac_link"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_link") 2>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; then
15674 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15675 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15676 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15678 for ac_file
in conftest.exe conftest conftest.
*; do
15679 test -f "$ac_file" || continue
15681 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15682 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15688 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15689 See \`config.log' for more details." >&5
15690 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15691 See \`config.log' for more details." >&2;}
15692 { (exit 1); exit 1; }; }
15695 rm -f conftest
$ac_cv_exeext
15696 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15697 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15699 rm -f conftest.
$ac_ext
15700 EXEEXT
=$ac_cv_exeext
15702 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15703 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15704 if test "${ac_cv_objext+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 cat >conftest.
$ac_ext <<_ACEOF
15710 cat confdefs.h
>>conftest.
$ac_ext
15711 cat >>conftest.
$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15722 rm -f conftest.o conftest.obj
15723 if { (ac_try
="$ac_compile"
15724 case "(($ac_try" in
15725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15726 *) ac_try_echo=$ac_try;;
15728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15729 (eval "$ac_compile") 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; then
15733 for ac_file in conftest.o conftest.obj conftest.*; do
15734 test -f "$ac_file" || continue;
15736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15737 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15745 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15746 See \`config.log
' for more details." >&5
15747 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15748 See \`config.log' for more details.
" >&2;}
15749 { (exit 1); exit 1; }; }
15752 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15754 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15755 echo "${ECHO_T}$ac_cv_objext" >&6; }
15756 OBJEXT=$ac_cv_objext
15758 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15759 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15760 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15761 echo $ECHO_N "(cached
) $ECHO_C" >&6
15763 cat >conftest.$ac_ext <<_ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* 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_compiler_gnu=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
15807 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15810 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15811 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15812 GCC=`test $ac_compiler_gnu = yes && echo yes`
15813 ac_test_CFLAGS=${CFLAGS+set}
15814 ac_save_CFLAGS=$CFLAGS
15815 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15816 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15817 if test "${ac_cv_prog_cc_g+set}" = set; then
15818 echo $ECHO_N "(cached
) $ECHO_C" >&6
15820 ac_save_c_werror_flag=$ac_c_werror_flag
15821 ac_c_werror_flag=yes
15824 cat >conftest.$ac_ext <<_ACEOF
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15839 rm -f conftest.$ac_objext
15840 if { (ac_try="$ac_compile"
15841 case "(($ac_try" in
15842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15843 *) ac_try_echo=$ac_try;;
15845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15846 (eval "$ac_compile") 2>conftest.er1
15848 grep -v '^ *+' conftest.er1 >conftest.err
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15852 (exit $ac_status); } && {
15853 test -z "$ac_c_werror_flag" ||
15854 test ! -s conftest.err
15855 } && test -s conftest.$ac_objext; then
15856 ac_cv_prog_cc_g=yes
15858 echo "$as_me: failed program was
:" >&5
15859 sed 's/^/| /' conftest.$ac_ext >&5
15862 cat >conftest.$ac_ext <<_ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15877 rm -f conftest.$ac_objext
15878 if { (ac_try="$ac_compile"
15879 case "(($ac_try" in
15880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15881 *) ac_try_echo=$ac_try;;
15883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15884 (eval "$ac_compile") 2>conftest.er1
15886 grep -v '^ *+' conftest.er1 >conftest.err
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15890 (exit $ac_status); } && {
15891 test -z "$ac_c_werror_flag" ||
15892 test ! -s conftest.err
15893 } && test -s conftest.$ac_objext; then
15896 echo "$as_me: failed program was
:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15899 ac_c_werror_flag=$ac_save_c_werror_flag
15901 cat >conftest.$ac_ext <<_ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15916 rm -f conftest.$ac_objext
15917 if { (ac_try="$ac_compile"
15918 case "(($ac_try" in
15919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15920 *) ac_try_echo=$ac_try;;
15922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15923 (eval "$ac_compile") 2>conftest.er1
15925 grep -v '^ *+' conftest.er1 >conftest.err
15927 cat conftest.err >&5
15928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15929 (exit $ac_status); } && {
15930 test -z "$ac_c_werror_flag" ||
15931 test ! -s conftest.err
15932 } && test -s conftest.$ac_objext; then
15933 ac_cv_prog_cc_g=yes
15935 echo "$as_me: failed program was
:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 ac_c_werror_flag=$ac_save_c_werror_flag
15950 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15951 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15952 if test "$ac_test_CFLAGS" = set; then
15953 CFLAGS=$ac_save_CFLAGS
15954 elif test $ac_cv_prog_cc_g = yes; then
15955 if test "$GCC" = yes; then
15961 if test "$GCC" = yes; then
15967 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15968 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15969 if test "${ac_cv_prog_cc_c89+set}" = set; then
15970 echo $ECHO_N "(cached
) $ECHO_C" >&6
15972 ac_cv_prog_cc_c89=no
15974 cat >conftest.$ac_ext <<_ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 #include <stdarg.h>
15982 #include <sys/types.h>
15983 #include <sys/stat.h>
15984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15985 struct buf { int x; };
15986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15987 static char *e (p, i)
15993 static char *f (char * (*g) (char **, int), char **p, ...)
15998 s = g (p, va_arg (v,int));
16003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16004 function prototypes and stuff, but not '\xHH' hex character constants.
16005 These don't provoke an error unfortunately, instead are silently treated
16006 as 'x'. The following induces an error, until -std is added to get
16007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16008 array size at least. It's necessary to write '\x00'==0 to get something
16009 that's true only with -std. */
16010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16013 inside strings and character constants. */
16015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16017 int test (int i, double x);
16018 struct s1 {int (*f) (int a);};
16019 struct s2 {int (*f) (double a);};
16020 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16026 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16034 CC="$ac_save_CC $ac_arg"
16035 rm -f conftest.$ac_objext
16036 if { (ac_try="$ac_compile"
16037 case "(($ac_try" in
16038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16039 *) ac_try_echo=$ac_try;;
16041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16042 (eval "$ac_compile") 2>conftest.er1
16044 grep -v '^ *+' conftest.er1 >conftest.err
16046 cat conftest.err >&5
16047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16048 (exit $ac_status); } && {
16049 test -z "$ac_c_werror_flag" ||
16050 test ! -s conftest.err
16051 } && test -s conftest.$ac_objext; then
16052 ac_cv_prog_cc_c89=$ac_arg
16054 echo "$as_me: failed program was
:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16060 rm -f core conftest.err conftest.$ac_objext
16061 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16063 rm -f conftest.$ac_ext
16068 case "x
$ac_cv_prog_cc_c89" in
16070 { echo "$as_me:$LINENO: result
: none needed
" >&5
16071 echo "${ECHO_T}none needed
" >&6; } ;;
16073 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16074 echo "${ECHO_T}unsupported
" >&6; } ;;
16076 CC="$CC $ac_cv_prog_cc_c89"
16077 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16078 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16083 ac_cpp='$CPP $CPPFLAGS'
16084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096 ac_cpp='$CPP $CPPFLAGS'
16097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16101 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16102 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16103 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16104 echo $ECHO_N "(cached
) $ECHO_C" >&6
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16117 #ifndef __INTEL_COMPILER
16125 rm -f conftest.$ac_objext
16126 if { (ac_try="$ac_compile"
16127 case "(($ac_try" in
16128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16129 *) ac_try_echo=$ac_try;;
16131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16132 (eval "$ac_compile") 2>conftest.er1
16134 grep -v '^ *+' conftest.er1 >conftest.err
16136 cat conftest.err >&5
16137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16138 (exit $ac_status); } && {
16139 test -z "$ac_c_werror_flag" ||
16140 test ! -s conftest.err
16141 } && test -s conftest.$ac_objext; then
16142 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16144 echo "$as_me: failed program was
:" >&5
16145 sed 's/^/| /' conftest.$ac_ext >&5
16147 bakefile_cv_c_compiler___INTEL_COMPILER=no
16151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16155 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16156 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16157 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16163 ac_cpp='$CPP $CPPFLAGS'
16164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16171 if test "$INTELCC" = "yes"; then
16175 ac_cpp='$CPP $CPPFLAGS'
16176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16180 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
16181 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
16182 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16183 echo $ECHO_N "(cached
) $ECHO_C" >&6
16185 cat >conftest.$ac_ext <<_ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16196 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16204 rm -f conftest.$ac_objext
16205 if { (ac_try="$ac_compile"
16206 case "(($ac_try" in
16207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16208 *) ac_try_echo=$ac_try;;
16210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16211 (eval "$ac_compile") 2>conftest.er1
16213 grep -v '^ *+' conftest.er1 >conftest.err
16215 cat conftest.err >&5
16216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16217 (exit $ac_status); } && {
16218 test -z "$ac_c_werror_flag" ||
16219 test ! -s conftest.err
16220 } && test -s conftest.$ac_objext; then
16221 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16223 echo "$as_me: failed program was
:" >&5
16224 sed 's/^/| /' conftest.$ac_ext >&5
16226 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16234 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16235 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16236 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16252 ac_cpp='$CPP $CPPFLAGS'
16253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16257 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
16258 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
16259 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16260 echo $ECHO_N "(cached
) $ECHO_C" >&6
16262 cat >conftest.$ac_ext <<_ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16273 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
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 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16300 echo "$as_me: failed program was
:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16311 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16312 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16313 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16319 ac_cpp='$CPP $CPPFLAGS'
16320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16328 if test "x
$GCC" != "xyes
"; then
16329 if test "xCC
" = "xC
"; then
16330 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16331 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16332 if test "${bakefile_cv_c_exto+set}" = set; then
16333 echo $ECHO_N "(cached
) $ECHO_C" >&6
16335 cat >conftest.$ac_ext <<_ACEOF
16338 cat confdefs.h >>conftest.$ac_ext
16339 cat >>conftest.$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16350 rm -f conftest.$ac_objext conftest.$ac_ext.o
16351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16352 (eval $ac_compile) 2>&5
16354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16355 (exit $ac_status); }; then
16356 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16358 conftest.$ac_ext.o)
16359 bakefile_cv_c_exto="-ext o
"
16366 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16367 See \
`config.log' for more details." >&5
16368 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16369 See \`config.log
' for more details." >&2;}
16370 { (exit 1); exit 1; }; }
16374 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16377 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16378 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16379 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16380 if test "c" = "c"; then
16381 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16383 if test "c" = "cxx"; then
16384 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16388 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16389 unset ac_cv_prog_cc_g
16390 ac_test_CFLAGS=${CFLAGS+set}
16391 ac_save_CFLAGS=$CFLAGS
16392 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16394 if test "${ac_cv_prog_cc_g+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 ac_save_c_werror_flag=$ac_c_werror_flag
16398 ac_c_werror_flag=yes
16401 cat >conftest.$ac_ext <<_ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16416 rm -f conftest.$ac_objext
16417 if { (ac_try="$ac_compile"
16418 case "(($ac_try" in
16419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16420 *) ac_try_echo=$ac_try;;
16422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423 (eval "$ac_compile") 2>conftest.er1
16425 grep -v '^
*+' conftest.er1 >conftest.err
16427 cat conftest.err >&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } && {
16430 test -z "$ac_c_werror_flag" ||
16431 test ! -s conftest.err
16432 } && test -s conftest.$ac_objext; then
16433 ac_cv_prog_cc_g=yes
16435 echo "$as_me: failed program was:" >&5
16436 sed 's
/^
/| /' conftest.$ac_ext >&5
16439 cat >conftest.$ac_ext <<_ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16454 rm -f conftest.$ac_objext
16455 if { (ac_try="$ac_compile"
16456 case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_compile") 2>conftest.er1
16463 grep -v '^
*+' conftest.er1 >conftest.err
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && {
16468 test -z "$ac_c_werror_flag" ||
16469 test ! -s conftest.err
16470 } && test -s conftest.$ac_objext; then
16473 echo "$as_me: failed program was:" >&5
16474 sed 's
/^
/| /' conftest.$ac_ext >&5
16476 ac_c_werror_flag=$ac_save_c_werror_flag
16478 cat >conftest.$ac_ext <<_ACEOF
16481 cat confdefs.h >>conftest.$ac_ext
16482 cat >>conftest.$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16493 rm -f conftest.$ac_objext
16494 if { (ac_try="$ac_compile"
16495 case "(($ac_try" in
16496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16497 *) ac_try_echo=$ac_try;;
16499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16500 (eval "$ac_compile") 2>conftest.er1
16502 grep -v '^
*+' conftest.er1 >conftest.err
16504 cat conftest.err >&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } && {
16507 test -z "$ac_c_werror_flag" ||
16508 test ! -s conftest.err
16509 } && test -s conftest.$ac_objext; then
16510 ac_cv_prog_cc_g=yes
16512 echo "$as_me: failed program was:" >&5
16513 sed 's
/^
/| /' conftest.$ac_ext >&5
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 ac_c_werror_flag=$ac_save_c_werror_flag
16527 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16528 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16529 if test "$ac_test_CFLAGS" = set; then
16530 CFLAGS=$ac_save_CFLAGS
16531 elif test $ac_cv_prog_cc_g = yes; then
16532 if test "$GCC" = yes; then
16538 if test "$GCC" = yes; then
16552 ac_cpp='$CPP $CPPFLAGS'
16553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16554 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16557 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16558 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16559 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16562 cat >conftest.$ac_ext <<_ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16581 rm -f conftest.$ac_objext
16582 if { (ac_try="$ac_compile"
16583 case "(($ac_try" in
16584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16585 *) ac_try_echo=$ac_try;;
16587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16588 (eval "$ac_compile") 2>conftest.er1
16590 grep -v '^
*+' conftest.er1 >conftest.err
16592 cat conftest.err >&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } && {
16595 test -z "$ac_c_werror_flag" ||
16596 test ! -s conftest.err
16597 } && test -s conftest.$ac_objext; then
16598 bakefile_cv_c_compiler___xlC__=yes
16600 echo "$as_me: failed program was:" >&5
16601 sed 's
/^
/| /' conftest.$ac_ext >&5
16603 bakefile_cv_c_compiler___xlC__=no
16607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16612 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16613 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16619 ac_cpp='$CPP $CPPFLAGS'
16620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16621 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16632 ac_cpp='$CPP $CPPFLAGS'
16633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16634 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16637 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16638 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16639 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 cat >conftest.$ac_ext <<_ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16670 grep -v '^
*+' conftest.er1 >conftest.err
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 bakefile_cv_c_compiler___MWERKS__=yes
16680 echo "$as_me: failed program was:" >&5
16681 sed 's
/^
/| /' conftest.$ac_ext >&5
16683 bakefile_cv_c_compiler___MWERKS__=no
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16691 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16692 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16693 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16699 ac_cpp='$CPP $CPPFLAGS'
16700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16701 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16706 if test "$MWCC" != "yes"; then
16710 ac_cpp='$CPP $CPPFLAGS'
16711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16712 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16715 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16716 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16717 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 cat >conftest.$ac_ext <<_ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16739 rm -f conftest.$ac_objext
16740 if { (ac_try="$ac_compile"
16741 case "(($ac_try" in
16742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16743 *) ac_try_echo=$ac_try;;
16745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16746 (eval "$ac_compile") 2>conftest.er1
16748 grep -v '^
*+' conftest.er1 >conftest.err
16750 cat conftest.err >&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } && {
16753 test -z "$ac_c_werror_flag" ||
16754 test ! -s conftest.err
16755 } && test -s conftest.$ac_objext; then
16756 bakefile_cv_c_compiler___xlC__=yes
16758 echo "$as_me: failed program was:" >&5
16759 sed 's
/^
/| /' conftest.$ac_ext >&5
16761 bakefile_cv_c_compiler___xlC__=no
16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16770 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16771 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16777 ac_cpp='$CPP $CPPFLAGS'
16778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16779 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16791 ac_cpp='$CPP $CPPFLAGS'
16792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16793 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16796 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16797 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16798 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 cat >conftest.$ac_ext <<_ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16812 #ifndef _SGI_COMPILER_VERSION
16820 rm -f conftest.$ac_objext
16821 if { (ac_try="$ac_compile"
16822 case "(($ac_try" in
16823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16824 *) ac_try_echo=$ac_try;;
16826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16827 (eval "$ac_compile") 2>conftest.er1
16829 grep -v '^
*+' conftest.er1 >conftest.err
16831 cat conftest.err >&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); } && {
16834 test -z "$ac_c_werror_flag" ||
16835 test ! -s conftest.err
16836 } && test -s conftest.$ac_objext; then
16837 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16839 echo "$as_me: failed program was:" >&5
16840 sed 's
/^
/| /' conftest.$ac_ext >&5
16842 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16850 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16851 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16852 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16858 ac_cpp='$CPP $CPPFLAGS'
16859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16860 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16868 if test "$INTELCC" != "yes"; then
16872 ac_cpp='$CPP $CPPFLAGS'
16873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16874 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16877 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16878 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16879 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 cat >conftest.$ac_ext <<_ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16901 rm -f conftest.$ac_objext
16902 if { (ac_try="$ac_compile"
16903 case "(($ac_try" in
16904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16905 *) ac_try_echo=$ac_try;;
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_compile") 2>conftest.er1
16910 grep -v '^
*+' conftest.er1 >conftest.err
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } && {
16915 test -z "$ac_c_werror_flag" ||
16916 test ! -s conftest.err
16917 } && test -s conftest.$ac_objext; then
16918 bakefile_cv_c_compiler___SUNPRO_C=yes
16920 echo "$as_me: failed program was:" >&5
16921 sed 's
/^
/| /' conftest.$ac_ext >&5
16923 bakefile_cv_c_compiler___SUNPRO_C=no
16927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16931 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16932 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16933 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16939 ac_cpp='$CPP $CPPFLAGS'
16940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16941 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16955 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16958 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16959 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16960 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 cat >conftest.$ac_ext <<_ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16982 rm -f conftest.$ac_objext
16983 if { (ac_try="$ac_compile"
16984 case "(($ac_try" in
16985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16986 *) ac_try_echo=$ac_try;;
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_compile") 2>conftest.er1
16991 grep -v '^
*+' conftest.er1 >conftest.err
16993 cat conftest.err >&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } && {
16996 test -z "$ac_c_werror_flag" ||
16997 test ! -s conftest.err
16998 } && test -s conftest.$ac_objext; then
16999 bakefile_cv_c_compiler___HP_cc=yes
17001 echo "$as_me: failed program was:" >&5
17002 sed 's
/^
/| /' conftest.$ac_ext >&5
17004 bakefile_cv_c_compiler___HP_cc=no
17008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17012 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17013 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17014 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17020 ac_cpp='$CPP $CPPFLAGS'
17021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17022 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17033 ac_cpp='$CPP $CPPFLAGS'
17034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17035 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17038 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17039 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17040 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 cat >conftest.$ac_ext <<_ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17062 rm -f conftest.$ac_objext
17063 if { (ac_try="$ac_compile"
17064 case "(($ac_try" in
17065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17066 *) ac_try_echo=$ac_try;;
17068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17069 (eval "$ac_compile") 2>conftest.er1
17071 grep -v '^
*+' conftest.er1 >conftest.err
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } && {
17076 test -z "$ac_c_werror_flag" ||
17077 test ! -s conftest.err
17078 } && test -s conftest.$ac_objext; then
17079 bakefile_cv_c_compiler___DECC=yes
17081 echo "$as_me: failed program was:" >&5
17082 sed 's
/^
/| /' conftest.$ac_ext >&5
17084 bakefile_cv_c_compiler___DECC=no
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17093 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17094 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17100 ac_cpp='$CPP $CPPFLAGS'
17101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17102 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17113 ac_cpp='$CPP $CPPFLAGS'
17114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17115 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17118 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17119 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17120 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 cat >conftest.$ac_ext <<_ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17151 grep -v '^
*+' conftest.er1 >conftest.err
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17159 bakefile_cv_c_compiler___SUNPRO_C=yes
17161 echo "$as_me: failed program was:" >&5
17162 sed 's
/^
/| /' conftest.$ac_ext >&5
17164 bakefile_cv_c_compiler___SUNPRO_C=no
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17173 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17174 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17182 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17196 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17198 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17199 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17200 # On Suns, sometimes $CPP names a directory.
17201 if test -n "$CPP" && test -d "$CPP"; then
17204 if test -z "$CPP"; then
17205 if test "${ac_cv_prog_CPP+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17208 # Double quotes because CPP needs to be expanded
17209 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17211 ac_preproc_ok=false
17212 for ac_c_preproc_warn_flag in '' yes
17214 # Use a header file that comes with gcc, so configuring glibc
17215 # with a fresh cross-compiler works.
17216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17217 # <limits.h> exists even on freestanding compilers.
17218 # On the NeXT, cc -E runs the code through the compiler's parser
,
17219 # not just through cpp. "Syntax error" is here to catch this case.
17220 cat >conftest.
$ac_ext <<_ACEOF
17223 cat confdefs.h
>>conftest.
$ac_ext
17224 cat >>conftest.
$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17227 # include <limits.h>
17229 # include <assert.h>
17233 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17234 case "(($ac_try" in
17235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17236 *) ac_try_echo=$ac_try;;
17238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17241 grep -v '^ *+' conftest.er1 >conftest.err
17243 cat conftest.err >&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } >/dev/null && {
17246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17247 test ! -s conftest.err
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17254 # Broken: fails on valid input.
17258 rm -f conftest.err conftest.$ac_ext
17260 # OK, works on sane cases. Now check whether nonexistent headers
17261 # can be detected and how.
17262 cat >conftest.$ac_ext <<_ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17268 #include <ac_nonexistent.h>
17270 if { (ac_try="$ac_cpp conftest.$ac_ext"
17271 case "(($ac_try" in
17272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17273 *) ac_try_echo
=$ac_try;;
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17278 grep -v '^ *+' conftest.er1
>conftest.err
17280 cat conftest.err
>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } >/dev
/null
&& {
17283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17284 test ! -s conftest.err
17286 # Broken: success on invalid input.
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.
$ac_ext >&5
17292 # Passes both tests.
17297 rm -f conftest.err conftest.
$ac_ext
17300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17301 rm -f conftest.err conftest.
$ac_ext
17302 if $ac_preproc_ok; then
17307 ac_cv_prog_CPP
=$CPP
17310 CPP
=$ac_cv_prog_CPP
17312 ac_cv_prog_CPP
=$CPP
17314 { echo "$as_me:$LINENO: result: $CPP" >&5
17315 echo "${ECHO_T}$CPP" >&6; }
17316 ac_preproc_ok
=false
17317 for ac_c_preproc_warn_flag
in '' yes
17319 # Use a header file that comes with gcc, so configuring glibc
17320 # with a fresh cross-compiler works.
17321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17322 # <limits.h> exists even on freestanding compilers.
17323 # On the NeXT, cc -E runs the code through the compiler's parser,
17324 # not just through cpp. "Syntax error" is here to catch this case.
17325 cat >conftest.
$ac_ext <<_ACEOF
17328 cat confdefs.h
>>conftest.
$ac_ext
17329 cat >>conftest.
$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17332 # include <limits.h>
17334 # include <assert.h>
17338 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17339 case "(($ac_try" in
17340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17341 *) ac_try_echo=$ac_try;;
17343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17346 grep -v '^ *+' conftest.er1 >conftest.err
17348 cat conftest.err >&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } >/dev/null && {
17351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17352 test ! -s conftest.err
17356 echo "$as_me: failed program was:" >&5
17357 sed 's/^/| /' conftest.$ac_ext >&5
17359 # Broken: fails on valid input.
17363 rm -f conftest.err conftest.$ac_ext
17365 # OK, works on sane cases. Now check whether nonexistent headers
17366 # can be detected and how.
17367 cat >conftest.$ac_ext <<_ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 #include <ac_nonexistent.h>
17375 if { (ac_try="$ac_cpp conftest.$ac_ext"
17376 case "(($ac_try" in
17377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17378 *) ac_try_echo
=$ac_try;;
17380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17383 grep -v '^ *+' conftest.er1
>conftest.err
17385 cat conftest.err
>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } >/dev
/null
&& {
17388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17389 test ! -s conftest.err
17391 # Broken: success on invalid input.
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17397 # Passes both tests.
17402 rm -f conftest.err conftest.
$ac_ext
17405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17406 rm -f conftest.err conftest.
$ac_ext
17407 if $ac_preproc_ok; then
17410 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17411 See \`config.log' for more details." >&5
17412 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17413 See \`config.log' for more details." >&2;}
17414 { (exit 1); exit 1; }; }
17418 ac_cpp
='$CPP $CPPFLAGS'
17419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17424 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17425 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17426 if test "${ac_cv_path_GREP+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 # Extract the first word of "grep ggrep" to use in msg output
17430 if test -z "$GREP"; then
17431 set dummy
grep ggrep
; ac_prog_name
=$2
17432 if test "${ac_cv_path_GREP+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17435 ac_path_GREP_found
=false
17436 # Loop through the user's path and test for each of PROGNAME-LIST
17437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17438 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17441 test -z "$as_dir" && as_dir
=.
17442 for ac_prog
in grep ggrep
; do
17443 for ac_exec_ext
in '' $ac_executable_extensions; do
17444 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17445 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17446 # Check for GNU ac_path_GREP and select it if it is found.
17447 # Check for GNU $ac_path_GREP
17448 case `"$ac_path_GREP" --version 2>&1` in
17450 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17453 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17456 cat "conftest.in" "conftest.in" >"conftest.tmp"
17457 mv "conftest.tmp" "conftest.in"
17458 cp "conftest.in" "conftest.nl"
17459 echo 'GREP' >> "conftest.nl"
17460 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17461 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17462 ac_count
=`expr $ac_count + 1`
17463 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17464 # Best one so far, save it but keep looking for a better one
17465 ac_cv_path_GREP
="$ac_path_GREP"
17466 ac_path_GREP_max
=$ac_count
17468 # 10*(2^10) chars as input seems more than enough
17469 test $ac_count -gt 10 && break
17471 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17475 $ac_path_GREP_found && break 3
17485 GREP
="$ac_cv_path_GREP"
17486 if test -z "$GREP"; then
17487 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17488 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17489 { (exit 1); exit 1; }; }
17493 ac_cv_path_GREP
=$GREP
17498 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17499 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17500 GREP
="$ac_cv_path_GREP"
17503 { echo "$as_me:$LINENO: checking for egrep" >&5
17504 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17505 if test "${ac_cv_path_EGREP+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17509 then ac_cv_path_EGREP
="$GREP -E"
17511 # Extract the first word of "egrep" to use in msg output
17512 if test -z "$EGREP"; then
17513 set dummy
egrep; ac_prog_name
=$2
17514 if test "${ac_cv_path_EGREP+set}" = set; then
17515 echo $ECHO_N "(cached) $ECHO_C" >&6
17517 ac_path_EGREP_found
=false
17518 # Loop through the user's path and test for each of PROGNAME-LIST
17519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17520 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17523 test -z "$as_dir" && as_dir
=.
17524 for ac_prog
in egrep; do
17525 for ac_exec_ext
in '' $ac_executable_extensions; do
17526 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17527 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17528 # Check for GNU ac_path_EGREP and select it if it is found.
17529 # Check for GNU $ac_path_EGREP
17530 case `"$ac_path_EGREP" --version 2>&1` in
17532 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17535 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17538 cat "conftest.in" "conftest.in" >"conftest.tmp"
17539 mv "conftest.tmp" "conftest.in"
17540 cp "conftest.in" "conftest.nl"
17541 echo 'EGREP' >> "conftest.nl"
17542 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17543 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17544 ac_count
=`expr $ac_count + 1`
17545 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17546 # Best one so far, save it but keep looking for a better one
17547 ac_cv_path_EGREP
="$ac_path_EGREP"
17548 ac_path_EGREP_max
=$ac_count
17550 # 10*(2^10) chars as input seems more than enough
17551 test $ac_count -gt 10 && break
17553 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17557 $ac_path_EGREP_found && break 3
17567 EGREP
="$ac_cv_path_EGREP"
17568 if test -z "$EGREP"; then
17569 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17570 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17571 { (exit 1); exit 1; }; }
17575 ac_cv_path_EGREP
=$EGREP
17581 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17582 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17583 EGREP
="$ac_cv_path_EGREP"
17586 if test $ac_cv_c_compiler_gnu = yes; then
17587 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17588 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17589 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17590 echo $ECHO_N "(cached) $ECHO_C" >&6
17592 ac_pattern
="Autoconf.*'x'"
17593 cat >conftest.
$ac_ext <<_ACEOF
17596 cat confdefs.h
>>conftest.
$ac_ext
17597 cat >>conftest.
$ac_ext <<_ACEOF
17598 /* end confdefs.h. */
17602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17603 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17604 ac_cv_prog_gcc_traditional
=yes
17606 ac_cv_prog_gcc_traditional
=no
17611 if test $ac_cv_prog_gcc_traditional = no
; then
17612 cat >conftest.
$ac_ext <<_ACEOF
17615 cat confdefs.h
>>conftest.
$ac_ext
17616 cat >>conftest.
$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 #include <termio.h>
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17623 ac_cv_prog_gcc_traditional
=yes
17629 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17630 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17631 if test $ac_cv_prog_gcc_traditional = yes; then
17632 CC
="$CC -traditional"
17637 CXXFLAGS
=${CXXFLAGS:=}
17639 ac_cpp
='$CXXCPP $CPPFLAGS'
17640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17643 if test -z "$CXX"; then
17644 if test -n "$CCC"; then
17647 if test -n "$ac_tool_prefix"; then
17648 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17651 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17654 if test "${ac_cv_prog_CXX+set}" = set; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 if test -n "$CXX"; then
17658 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17661 for as_dir
in $PATH
17664 test -z "$as_dir" && as_dir
=.
17665 for ac_exec_ext
in '' $ac_executable_extensions; do
17666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17667 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17677 CXX
=$ac_cv_prog_CXX
17678 if test -n "$CXX"; then
17679 { echo "$as_me:$LINENO: result: $CXX" >&5
17680 echo "${ECHO_T}$CXX" >&6; }
17682 { echo "$as_me:$LINENO: result: no" >&5
17683 echo "${ECHO_T}no" >&6; }
17687 test -n "$CXX" && break
17690 if test -z "$CXX"; then
17692 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17694 # Extract the first word of "$ac_prog", so it can be a program name with args.
17695 set dummy
$ac_prog; ac_word
=$2
17696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17698 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 if test -n "$ac_ct_CXX"; then
17702 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17705 for as_dir
in $PATH
17708 test -z "$as_dir" && as_dir
=.
17709 for ac_exec_ext
in '' $ac_executable_extensions; do
17710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17711 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17721 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17722 if test -n "$ac_ct_CXX"; then
17723 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17724 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17726 { echo "$as_me:$LINENO: result: no" >&5
17727 echo "${ECHO_T}no" >&6; }
17731 test -n "$ac_ct_CXX" && break
17734 if test "x$ac_ct_CXX" = x
; then
17737 case $cross_compiling:$ac_tool_warned in
17739 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17740 whose name does not start with the host triplet. If you think this
17741 configuration is useful to you, please write to autoconf@gnu.org." >&5
17742 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17743 whose name does not start with the host triplet. If you think this
17744 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17745 ac_tool_warned
=yes ;;
17753 # Provide some information about the compiler.
17754 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17755 ac_compiler
=`set X $ac_compile; echo $2`
17756 { (ac_try
="$ac_compiler --version >&5"
17757 case "(($ac_try" in
17758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_compiler --version >&5") 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }
17766 { (ac_try="$ac_compiler -v >&5"
17767 case "(($ac_try" in
17768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17769 *) ac_try_echo
=$ac_try;;
17771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17772 (eval "$ac_compiler -v >&5") 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }
17776 { (ac_try
="$ac_compiler -V >&5"
17777 case "(($ac_try" in
17778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compiler -V >&5") 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }
17787 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17788 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17789 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17790 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 cat >conftest.$ac_ext <<_ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* 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_compiler_gnu
=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
17836 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17839 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17840 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17841 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17842 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17843 ac_save_CXXFLAGS
=$CXXFLAGS
17844 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17845 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17846 if test "${ac_cv_prog_cxx_g+set}" = set; then
17847 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17850 ac_cxx_werror_flag
=yes
17851 ac_cv_prog_cxx_g
=no
17853 cat >conftest.
$ac_ext <<_ACEOF
17856 cat confdefs.h
>>conftest.
$ac_ext
17857 cat >>conftest.
$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17868 rm -f conftest.
$ac_objext
17869 if { (ac_try
="$ac_compile"
17870 case "(($ac_try" in
17871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17872 *) ac_try_echo=$ac_try;;
17874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17875 (eval "$ac_compile") 2>conftest.er1
17877 grep -v '^ *+' conftest.er1 >conftest.err
17879 cat conftest.err >&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } && {
17882 test -z "$ac_cxx_werror_flag" ||
17883 test ! -s conftest.err
17884 } && test -s conftest.$ac_objext; then
17885 ac_cv_prog_cxx_g=yes
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17891 cat >conftest.$ac_ext <<_ACEOF
17894 cat confdefs.h >>conftest.$ac_ext
17895 cat >>conftest.$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17906 rm -f conftest.$ac_objext
17907 if { (ac_try="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17910 *) ac_try_echo
=$ac_try;;
17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17913 (eval "$ac_compile") 2>conftest.er1
17915 grep -v '^ *+' conftest.er1
>conftest.err
17917 cat conftest.err
>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } && {
17920 test -z "$ac_cxx_werror_flag" ||
17921 test ! -s conftest.err
17922 } && test -s conftest.
$ac_objext; then
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.
$ac_ext >&5
17928 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17930 cat >conftest.
$ac_ext <<_ACEOF
17933 cat confdefs.h
>>conftest.
$ac_ext
17934 cat >>conftest.
$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17945 rm -f conftest.
$ac_objext
17946 if { (ac_try
="$ac_compile"
17947 case "(($ac_try" in
17948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17949 *) ac_try_echo=$ac_try;;
17951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17952 (eval "$ac_compile") 2>conftest.er1
17954 grep -v '^ *+' conftest.er1 >conftest.err
17956 cat conftest.err >&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } && {
17959 test -z "$ac_cxx_werror_flag" ||
17960 test ! -s conftest.err
17961 } && test -s conftest.$ac_objext; then
17962 ac_cv_prog_cxx_g=yes
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.$ac_ext >&5
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17979 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17980 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17981 if test "$ac_test_CXXFLAGS" = set; then
17982 CXXFLAGS=$ac_save_CXXFLAGS
17983 elif test $ac_cv_prog_cxx_g = yes; then
17984 if test "$GXX" = yes; then
17990 if test "$GXX" = yes; then
17997 ac_cpp='$CPP $CPPFLAGS'
17998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18010 ac_cpp='$CXXCPP $CPPFLAGS'
18011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18015 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18016 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18017 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 cat >conftest.$ac_ext <<_ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18031 #ifndef __INTEL_COMPILER
18039 rm -f conftest.$ac_objext
18040 if { (ac_try="$ac_compile"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18043 *) ac_try_echo
=$ac_try;;
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compile") 2>conftest.er1
18048 grep -v '^ *+' conftest.er1
>conftest.err
18050 cat conftest.err
>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && {
18053 test -z "$ac_cxx_werror_flag" ||
18054 test ! -s conftest.err
18055 } && test -s conftest.
$ac_objext; then
18056 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.
$ac_ext >&5
18061 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18069 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18070 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18071 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18077 ac_cpp
='$CPP $CPPFLAGS'
18078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18085 if test "$INTELCXX" = "yes"; then
18089 ac_cpp
='$CXXCPP $CPPFLAGS'
18090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18094 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18095 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18096 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 cat >conftest.
$ac_ext <<_ACEOF
18102 cat confdefs.h
>>conftest.
$ac_ext
18103 cat >>conftest.
$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18110 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18118 rm -f conftest.
$ac_objext
18119 if { (ac_try
="$ac_compile"
18120 case "(($ac_try" in
18121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18122 *) ac_try_echo=$ac_try;;
18124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18125 (eval "$ac_compile") 2>conftest.er1
18127 grep -v '^ *+' conftest.er1 >conftest.err
18129 cat conftest.err >&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } && {
18132 test -z "$ac_cxx_werror_flag" ||
18133 test ! -s conftest.err
18134 } && test -s conftest.$ac_objext; then
18135 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.$ac_ext >&5
18140 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18148 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18149 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18150 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18156 ac_cpp='$CPP $CPPFLAGS'
18157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18166 ac_cpp='$CXXCPP $CPPFLAGS'
18167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18171 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18172 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18173 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 cat >conftest.$ac_ext <<_ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18187 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
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_cxx_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest.
$ac_objext; then
18212 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.
$ac_ext >&5
18217 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
18221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18225 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18226 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18227 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18233 ac_cpp
='$CPP $CPPFLAGS'
18234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18242 if test "x$GCXX" != "xyes"; then
18243 if test "xCXX" = "xC"; then
18244 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18245 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18246 if test "${bakefile_cv_c_exto+set}" = set; then
18247 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 cat >conftest.
$ac_ext <<_ACEOF
18252 cat confdefs.h
>>conftest.
$ac_ext
18253 cat >>conftest.
$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18264 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; then
18270 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18272 conftest.
$ac_ext.o
)
18273 bakefile_cv_c_exto
="-ext o"
18280 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18281 See \`config.log' for more details." >&5
18282 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18283 See \`config.log' for more details." >&2;}
18284 { (exit 1); exit 1; }; }
18288 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18291 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18292 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18293 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18294 if test "c" = "c"; then
18295 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18297 if test "c" = "cxx"; then
18298 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18302 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18303 unset ac_cv_prog_cc_g
18304 ac_test_CFLAGS
=${CFLAGS+set}
18305 ac_save_CFLAGS
=$CFLAGS
18306 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18307 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18308 if test "${ac_cv_prog_cc_g+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 ac_save_c_werror_flag
=$ac_c_werror_flag
18312 ac_c_werror_flag
=yes
18315 cat >conftest.
$ac_ext <<_ACEOF
18318 cat confdefs.h
>>conftest.
$ac_ext
18319 cat >>conftest.
$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18330 rm -f conftest.
$ac_objext
18331 if { (ac_try
="$ac_compile"
18332 case "(($ac_try" in
18333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18334 *) ac_try_echo=$ac_try;;
18336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18337 (eval "$ac_compile") 2>conftest.er1
18339 grep -v '^ *+' conftest.er1 >conftest.err
18341 cat conftest.err >&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); } && {
18344 test -z "$ac_c_werror_flag" ||
18345 test ! -s conftest.err
18346 } && test -s conftest.$ac_objext; then
18347 ac_cv_prog_cc_g=yes
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.$ac_ext >&5
18353 cat >conftest.$ac_ext <<_ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18368 rm -f conftest.$ac_objext
18369 if { (ac_try="$ac_compile"
18370 case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18372 *) ac_try_echo
=$ac_try;;
18374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_compile") 2>conftest.er1
18377 grep -v '^ *+' conftest.er1
>conftest.err
18379 cat conftest.err
>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } && {
18382 test -z "$ac_c_werror_flag" ||
18383 test ! -s conftest.err
18384 } && test -s conftest.
$ac_objext; then
18387 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.
$ac_ext >&5
18390 ac_c_werror_flag
=$ac_save_c_werror_flag
18392 cat >conftest.
$ac_ext <<_ACEOF
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18407 rm -f conftest.
$ac_objext
18408 if { (ac_try
="$ac_compile"
18409 case "(($ac_try" in
18410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_compile") 2>conftest.er1
18416 grep -v '^ *+' conftest.er1 >conftest.err
18418 cat conftest.err >&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } && {
18421 test -z "$ac_c_werror_flag" ||
18422 test ! -s conftest.err
18423 } && test -s conftest.$ac_objext; then
18424 ac_cv_prog_cc_g=yes
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18439 ac_c_werror_flag=$ac_save_c_werror_flag
18441 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18442 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18443 if test "$ac_test_CFLAGS" = set; then
18444 CFLAGS=$ac_save_CFLAGS
18445 elif test $ac_cv_prog_cc_g = yes; then
18446 if test "$GCC" = yes; then
18452 if test "$GCC" = yes; then
18466 ac_cpp='$CXXCPP $CPPFLAGS'
18467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18471 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18472 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18473 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18476 cat >conftest.$ac_ext <<_ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18495 rm -f conftest.$ac_objext
18496 if { (ac_try="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18499 *) ac_try_echo
=$ac_try;;
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18504 grep -v '^ *+' conftest.er1
>conftest.err
18506 cat conftest.err
>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_cxx_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.
$ac_objext; then
18512 bakefile_cv_cxx_compiler___xlC__
=yes
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.
$ac_ext >&5
18517 bakefile_cv_cxx_compiler___xlC__
=no
18521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18525 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18526 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18527 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18533 ac_cpp
='$CPP $CPPFLAGS'
18534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18546 ac_cpp
='$CXXCPP $CPPFLAGS'
18547 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18551 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18552 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18553 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 cat >conftest.
$ac_ext <<_ACEOF
18559 cat confdefs.h
>>conftest.
$ac_ext
18560 cat >>conftest.
$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18575 rm -f conftest.
$ac_objext
18576 if { (ac_try
="$ac_compile"
18577 case "(($ac_try" in
18578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18579 *) ac_try_echo=$ac_try;;
18581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18582 (eval "$ac_compile") 2>conftest.er1
18584 grep -v '^ *+' conftest.er1 >conftest.err
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } && {
18589 test -z "$ac_cxx_werror_flag" ||
18590 test ! -s conftest.err
18591 } && test -s conftest.$ac_objext; then
18592 bakefile_cv_cxx_compiler___MWERKS__=yes
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.$ac_ext >&5
18597 bakefile_cv_cxx_compiler___MWERKS__=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18605 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18606 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620 if test "$MWCXX" != "yes"; then
18624 ac_cpp='$CXXCPP $CPPFLAGS'
18625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18629 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18630 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18631 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18632 echo $ECHO_N "(cached) $ECHO_C" >&6
18634 cat >conftest.$ac_ext <<_ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18653 rm -f conftest.$ac_objext
18654 if { (ac_try="$ac_compile"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18657 *) ac_try_echo
=$ac_try;;
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_compile") 2>conftest.er1
18662 grep -v '^ *+' conftest.er1
>conftest.err
18664 cat conftest.err
>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } && {
18667 test -z "$ac_cxx_werror_flag" ||
18668 test ! -s conftest.err
18669 } && test -s conftest.
$ac_objext; then
18670 bakefile_cv_cxx_compiler___xlC__
=yes
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 bakefile_cv_cxx_compiler___xlC__
=no
18679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18683 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18684 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18685 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18691 ac_cpp
='$CPP $CPPFLAGS'
18692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18705 ac_cpp
='$CXXCPP $CPPFLAGS'
18706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18710 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18711 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18712 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 cat >conftest.
$ac_ext <<_ACEOF
18718 cat confdefs.h
>>conftest.
$ac_ext
18719 cat >>conftest.
$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18726 #ifndef _SGI_COMPILER_VERSION
18734 rm -f conftest.
$ac_objext
18735 if { (ac_try
="$ac_compile"
18736 case "(($ac_try" in
18737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18738 *) ac_try_echo=$ac_try;;
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_compile") 2>conftest.er1
18743 grep -v '^ *+' conftest.er1 >conftest.err
18745 cat conftest.err >&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_cxx_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest.$ac_objext; then
18751 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.$ac_ext >&5
18756 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18764 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18765 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18766 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18772 ac_cpp='$CPP $CPPFLAGS'
18773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18782 if test "$INTELCXX" != "yes"; then
18786 ac_cpp='$CXXCPP $CPPFLAGS'
18787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18791 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18792 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18793 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 cat >conftest.$ac_ext <<_ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18807 #ifndef __SUNPRO_CC
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18819 *) ac_try_echo
=$ac_try;;
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_cxx_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.
$ac_objext; then
18832 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.
$ac_ext >&5
18837 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18846 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18847 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18853 ac_cpp
='$CPP $CPPFLAGS'
18854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18867 ac_cpp
='$CXXCPP $CPPFLAGS'
18868 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18869 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18870 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18872 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18873 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18874 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18877 cat >conftest.
$ac_ext <<_ACEOF
18880 cat confdefs.h
>>conftest.
$ac_ext
18881 cat >>conftest.
$ac_ext <<_ACEOF
18882 /* end confdefs.h. */
18896 rm -f conftest.
$ac_objext
18897 if { (ac_try
="$ac_compile"
18898 case "(($ac_try" in
18899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_compile") 2>conftest.er1
18905 grep -v '^ *+' conftest.er1 >conftest.err
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } && {
18910 test -z "$ac_cxx_werror_flag" ||
18911 test ! -s conftest.err
18912 } && test -s conftest.$ac_objext; then
18913 bakefile_cv_cxx_compiler___HP_aCC=yes
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 bakefile_cv_cxx_compiler___HP_aCC=no
18922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18928 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18934 ac_cpp='$CPP $CPPFLAGS'
18935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18947 ac_cpp='$CXXCPP $CPPFLAGS'
18948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18952 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18953 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18954 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 cat >conftest.$ac_ext <<_ACEOF
18960 cat confdefs.h >>conftest.$ac_ext
18961 cat >>conftest.$ac_ext <<_ACEOF
18962 /* end confdefs.h. */
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18980 *) ac_try_echo
=$ac_try;;
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18985 grep -v '^ *+' conftest.er1
>conftest.err
18987 cat conftest.err
>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_cxx_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.
$ac_objext; then
18993 bakefile_cv_cxx_compiler___DECCXX
=yes
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 bakefile_cv_cxx_compiler___DECCXX
=no
19002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19006 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19007 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19008 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19014 ac_cpp
='$CPP $CPPFLAGS'
19015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19027 ac_cpp
='$CXXCPP $CPPFLAGS'
19028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19032 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19033 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19034 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 cat >conftest.
$ac_ext <<_ACEOF
19040 cat confdefs.h
>>conftest.
$ac_ext
19041 cat >>conftest.
$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19048 #ifndef __SUNPRO_CC
19056 rm -f conftest.
$ac_objext
19057 if { (ac_try
="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19065 grep -v '^ *+' conftest.er1 >conftest.err
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_cxx_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19088 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19107 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19108 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19109 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19110 { (exit 1); exit 1; }; }
19113 if test "x$SUNCXX" != xyes; then
19114 if test -n "$ac_tool_prefix"; then
19115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19116 set dummy ${ac_tool_prefix}ar; ac_word=$2
19117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19119 if test "${ac_cv_prog_AR+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 if test -n "$AR"; then
19123 ac_cv_prog_AR="$AR" # Let the user override the test.
19125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19126 for as_dir in $PATH
19129 test -z "$as_dir" && as_dir=.
19130 for ac_exec_ext in '' $ac_executable_extensions; do
19131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19132 ac_cv_prog_AR="${ac_tool_prefix}ar"
19133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19143 if test -n "$AR"; then
19144 { echo "$as_me:$LINENO: result: $AR" >&5
19145 echo "${ECHO_T}$AR" >&6; }
19147 { echo "$as_me:$LINENO: result: no" >&5
19148 echo "${ECHO_T}no" >&6; }
19153 if test -z "$ac_cv_prog_AR"; then
19155 # Extract the first word of "ar", so it can be a program name with args.
19156 set dummy ar; ac_word=$2
19157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19159 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19160 echo $ECHO_N "(cached) $ECHO_C" >&6
19162 if test -n "$ac_ct_AR"; then
19163 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19166 for as_dir in $PATH
19169 test -z "$as_dir" && as_dir=.
19170 for ac_exec_ext in '' $ac_executable_extensions; do
19171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19172 ac_cv_prog_ac_ct_AR="ar"
19173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19182 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19183 if test -n "$ac_ct_AR"; then
19184 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19185 echo "${ECHO_T}$ac_ct_AR" >&6; }
19187 { echo "$as_me:$LINENO: result: no" >&5
19188 echo "${ECHO_T}no" >&6; }
19191 if test "x$ac_ct_AR" = x; then
19194 case $cross_compiling:$ac_tool_warned in
19196 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19197 whose name does not start with the host triplet. If you think this
19198 configuration is useful to you, please write to autoconf@gnu.org." >&5
19199 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19200 whose name does not start with the host triplet. If you think this
19201 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19202 ac_tool_warned=yes ;;
19207 AR="$ac_cv_prog_AR"
19210 if test "x$AR" = "x" ; then
19211 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19212 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19213 { (exit 1); exit 1; }; }
19218 if test "$wxUSE_MAC" = 1; then
19220 retest_macosx_linking=no
19223 if test "x$wxUSE_MAC_ARCH" != xno; then
19224 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19227 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19228 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19229 # Implicitly turn on the new --with-macosx-sdk using the default
19230 # SDK which provides the behaviour this option has always had.
19231 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19232 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19233 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19234 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19235 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19236 wxUSE_MACOSX_SDK=yes
19239 # Complain to user if he specified an argument to --enable-universal_binary
19240 # and also 1) specified --with-macosx-sdk using the default (yes) or
19241 # 2) specified --with-macosx-sdk using a path or 3) specified
19242 # --without-macosx-sdk (no).
19243 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19244 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19245 See \`config.log
' for more details." >&5
19246 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19247 See \`config.log' for more details.
" >&2;}
19248 { (exit 1); exit 1; }; }
19250 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19251 # special-case the empty string because the below test simply
19252 # converts "no
" to the empty string anyway.
19253 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19254 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
19255 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
19258 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
19259 if test "$wxUSE_OSX_COCOA" = 1; then
19260 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
19262 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
19263 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
19264 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
19265 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19267 retest_macosx_linking=yes
19269 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
19270 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
19274 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19275 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19276 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19277 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19278 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19280 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
19282 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
19283 # TODO: Search for most recent SDK and use it.
19284 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
19288 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19289 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
19290 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
19291 if ! test -d "$wxUSE_MACOSX_SDK"; then
19292 { { echo "$as_me:$LINENO: error
: not found
19293 See \
`config.log' for more details." >&5
19294 echo "$as_me: error: not found
19295 See \`config.log
' for more details." >&2;}
19296 { (exit 1); exit 1; }; }
19298 { echo "$as_me:$LINENO: result: exists" >&5
19299 echo "${ECHO_T}exists" >&6; }
19301 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19302 retest_macosx_linking=yes
19305 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19306 wxUSE_MACOSX_VERSION_MIN=
19307 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19308 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19309 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19310 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19312 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/'`
19314 # If that failed, try again with the new key
19315 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19317 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/'`
19321 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19322 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19323 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19324 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19326 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19327 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19328 wxUSE_MACOSX_VERSION_MIN=
19331 wxUSE_MACOSX_VERSION_MIN=
19333 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19334 for ac_prog in sw_vers
19336 # Extract the first word of "$ac_prog", so it can be a program name with args.
19337 set dummy $ac_prog; ac_word=$2
19338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19340 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19341 echo $ECHO_N "(cached) $ECHO_C" >&6
19343 if test -n "$OSX_SW_VERS"; then
19344 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19347 for as_dir in $PATH
19350 test -z "$as_dir" && as_dir=.
19351 for ac_exec_ext in '' $ac_executable_extensions; do
19352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19353 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19363 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19364 if test -n "$OSX_SW_VERS"; then
19365 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19366 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19368 { echo "$as_me:$LINENO: result: no" >&5
19369 echo "${ECHO_T}no" >&6; }
19373 test -n "$OSX_SW_VERS" && break
19376 if test "$OSX_SW_VERS" != ""; then
19377 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19379 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19380 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19384 case "$OSX_VERSION" in
19386 wxUSE_MACOSX_VERSION_MIN=10.4
19390 if test "$wxUSE_OSX_CARBON" = 1; then
19391 # otherwise configure stops on leopard for universal_binary
19392 wxUSE_MACOSX_VERSION_MIN=10.4
19394 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19395 wxUSE_MACOSX_VERSION_MIN=10.5
19402 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19406 if test "$wxUSE_OSX_CARBON" = 1; then
19410 if test "x$NEEDS_GCC40" == "xyes"; then
19411 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19412 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19413 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19414 if test "x$CC" = "xgcc"; then
19415 CCVERSION=`$CC --version | grep 4.[2-9].`
19416 if test "x$CCVERSION" != "x"; then
19417 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19422 if test "x$CXX" = "xg++"; then
19423 CCVERSION=`$CXX --version | grep 4.[2-9].`
19424 if test "x$CCVERSION" != "x"; then
19430 if test "x$MACOSX_SDK_OPTS" != "x"; then
19431 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19432 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19433 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19436 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19437 if test "$wxUSE_OSX_IPHONE" = 1; then
19438 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19440 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19442 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19443 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19444 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19445 retest_macosx_linking=yes
19448 if test "x$retest_macosx_linking" = "xyes"; then
19450 ac_cpp='$CPP $CPPFLAGS'
19451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19452 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19455 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19456 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19457 cat >conftest.$ac_ext <<_ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19472 rm -f conftest.$ac_objext conftest$ac_exeext
19473 if { (ac_try="$ac_link"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_link") 2>conftest.er1
19481 grep -v '^
*+' conftest.er1 >conftest.err
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest$ac_exeext &&
19489 $as_test_x conftest$ac_exeext; then
19490 { echo "$as_me:$LINENO: result: yes" >&5
19491 echo "${ECHO_T}yes" >&6; }
19493 echo "$as_me: failed program was:" >&5
19494 sed 's
/^
/| /' conftest.$ac_ext >&5
19496 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19497 See \`config.log' for more details.
" >&5
19498 echo "$as_me: error
: no. Try a different SDK
19499 See \
`config.log' for more details." >&2;}
19500 { (exit 1); exit 1; }; }; exit 1
19503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19504 conftest$ac_exeext conftest.$ac_ext
19506 ac_cpp='$CPP $CPPFLAGS'
19507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19513 ac_cpp='$CXXCPP $CPPFLAGS'
19514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19518 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19519 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19520 cat >conftest.$ac_ext <<_ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19535 rm -f conftest.$ac_objext conftest$ac_exeext
19536 if { (ac_try="$ac_link"
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_link") 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_cxx_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest
$ac_exeext &&
19552 $as_test_x conftest
$ac_exeext; then
19553 { echo "$as_me:$LINENO: result: yes" >&5
19554 echo "${ECHO_T}yes" >&6; }
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.
$ac_ext >&5
19559 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19560 See \`config.log' for more details." >&5
19561 echo "$as_me: error: no. Try a different SDK
19562 See \`config.log' for more details." >&2;}
19563 { (exit 1); exit 1; }; }; exit 1
19566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19567 conftest
$ac_exeext conftest.
$ac_ext
19569 ac_cpp
='$CPP $CPPFLAGS'
19570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19580 INSTALL_PROGRAM
="cp -fp"
19581 INSTALL_DATA
="cp -fp"
19588 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19589 cat >>confdefs.h
<<\_ACEOF
19590 #define _GNU_SOURCE 1
19594 GNU_SOURCE_FLAG
="-D_GNU_SOURCE"
19595 CFLAGS
="$GNU_SOURCE_FLAG $CFLAGS"
19598 if test "x$USE_AIX" = "x1"; then
19599 if test "x$XLCXX" = "xyes"; then
19600 CXXFLAGS
="-qunique $CXXFLAGS"
19603 CPPFLAGS
="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19607 powerpc
-*-darwin* )
19608 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19609 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19610 cat >conftest.
$ac_ext <<_ACEOF
19613 cat confdefs.h
>>conftest.
$ac_ext
19614 cat >>conftest.
$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19620 #ifndef __POWERPC__
19621 choke me for lack of PowerPC
19628 rm -f conftest.
$ac_objext
19629 if { (ac_try
="$ac_compile"
19630 case "(($ac_try" in
19631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_compile") 2>conftest.er1
19637 grep -v '^ *+' conftest.er1 >conftest.err
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } && {
19642 test -z "$ac_c_werror_flag" ||
19643 test ! -s conftest.err
19644 } && test -s conftest.$ac_objext; then
19645 { echo "$as_me:$LINENO: result: yes" >&5
19646 echo "${ECHO_T}yes" >&6; }
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19651 { echo "$as_me:$LINENO: result: no" >&5
19652 echo "${ECHO_T}no" >&6; }
19653 cat >>confdefs.h <<\_ACEOF
19654 #define __POWERPC__ 1
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19667 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19668 cat >conftest.$ac_ext <<_ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 #include <CoreFoundation/CFBase.h>
19684 rm -f conftest.$ac_objext
19685 if { (ac_try="$ac_compile"
19686 case "(($ac_try" in
19687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19688 *) ac_try_echo
=$ac_try;;
19690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19691 (eval "$ac_compile") 2>conftest.er1
19693 grep -v '^ *+' conftest.er1
>conftest.err
19695 cat conftest.err
>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && {
19698 test -z "$ac_c_werror_flag" ||
19699 test ! -s conftest.err
19700 } && test -s conftest.
$ac_objext; then
19701 { echo "$as_me:$LINENO: result: yes" >&5
19702 echo "${ECHO_T}yes" >&6; }
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.
$ac_ext >&5
19707 { echo "$as_me:$LINENO: result: no" >&5
19708 echo "${ECHO_T}no" >&6; }
19709 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19710 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19711 cat >conftest.
$ac_ext <<_ACEOF
19714 cat confdefs.h
>>conftest.
$ac_ext
19715 cat >>conftest.
$ac_ext <<_ACEOF
19716 /* end confdefs.h. */
19717 #define __CF_USE_FRAMEWORK_INCLUDES__
19718 #include <CoreFoundation/CFBase.h>
19728 rm -f conftest.
$ac_objext
19729 if { (ac_try
="$ac_compile"
19730 case "(($ac_try" in
19731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19732 *) ac_try_echo=$ac_try;;
19734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735 (eval "$ac_compile") 2>conftest.er1
19737 grep -v '^ *+' conftest.er1 >conftest.err
19739 cat conftest.err >&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && {
19742 test -z "$ac_c_werror_flag" ||
19743 test ! -s conftest.err
19744 } && test -s conftest.$ac_objext; then
19745 { echo "$as_me:$LINENO: result: yes" >&5
19746 echo "${ECHO_T}yes" >&6; }
19747 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19752 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19753 See \`config.log
' for more details." >&5
19754 echo "$as_me: error: no. CoreFoundation not available.
19755 See \`config.log' for more details.
" >&2;}
19756 { (exit 1); exit 1; }; }
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770 doesnt_want_win32=0
19773 if test "$wxUSE_MSW" = 1 ; then
19776 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19777 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19778 if test "${wx_cv_nocygwin+set}" = set; then
19779 echo $ECHO_N "(cached
) $ECHO_C" >&6
19782 cat >conftest.$ac_ext <<_ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19801 rm -f conftest.$ac_objext
19802 if { (ac_try="$ac_compile"
19803 case "(($ac_try" in
19804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805 *) ac_try_echo=$ac_try;;
19807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19808 (eval "$ac_compile") 2>conftest.er1
19810 grep -v '^ *+' conftest.er1 >conftest.err
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19814 (exit $ac_status); } && {
19815 test -z "$ac_c_werror_flag" ||
19816 test ! -s conftest.err
19817 } && test -s conftest.$ac_objext; then
19820 echo "$as_me: failed program was
:" >&5
19821 sed 's/^/| /' conftest.$ac_ext >&5
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19832 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19834 if test "$wx_cv_nocygwin" = "yes"; then
19837 doesnt_want_win32=1
19840 if test "$wants_win32" = 1 ; then
19841 BAKEFILE_FORCE_PLATFORM=win32
19849 if test "$wxUSE_WINE" = "yes"; then
19851 LDFLAGS_GUI="-mwindows"
19854 if test "$wants_win32" = 1 ; then
19857 cat >>confdefs.h <<\_ACEOF
19858 #define __WIN32__ 1
19861 cat >>confdefs.h <<\_ACEOF
19862 #define __WIN95__ 1
19865 cat >>confdefs.h <<\_ACEOF
19866 #define __WINDOWS__ 1
19869 cat >>confdefs.h <<\_ACEOF
19870 #define __GNUWIN32__ 1
19873 cat >>confdefs.h <<\_ACEOF
19878 if test "$doesnt_want_win32" = 1 ; then
19883 if test "$USE_UNIX" = 1 ; then
19885 cat >>confdefs.h <<\_ACEOF
19892 *-pc-os2_emx | *-pc-os2-emx )
19893 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19894 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19895 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19896 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19897 echo $ECHO_N "(cached
) $ECHO_C" >&6
19899 ac_check_lib_save_LIBS=$LIBS
19900 LIBS="-lcExt $LIBS"
19901 cat >conftest.$ac_ext <<_ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19908 /* Override any GCC internal prototype to avoid an error.
19909 Use char because int might match the return type of a GCC
19910 builtin and then its argument prototype would still apply. */
19923 rm -f conftest.$ac_objext conftest$ac_exeext
19924 if { (ac_try="$ac_link"
19925 case "(($ac_try" in
19926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19927 *) ac_try_echo=$ac_try;;
19929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19930 (eval "$ac_link") 2>conftest.er1
19932 grep -v '^ *+' conftest.er1 >conftest.err
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19936 (exit $ac_status); } && {
19937 test -z "$ac_c_werror_flag" ||
19938 test ! -s conftest.err
19939 } && test -s conftest$ac_exeext &&
19940 $as_test_x conftest$ac_exeext; then
19941 ac_cv_lib_cExt_drand48=yes
19943 echo "$as_me: failed program was
:" >&5
19944 sed 's/^/| /' conftest.$ac_ext >&5
19946 ac_cv_lib_cExt_drand48=no
19949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19950 conftest$ac_exeext conftest.$ac_ext
19951 LIBS=$ac_check_lib_save_LIBS
19953 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19954 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19955 if test $ac_cv_lib_cExt_drand48 = yes; then
19956 LIBS="$LIBS -lcExt"
19960 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19962 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19963 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19964 if test "${wx_cv_gccversion+set}" = set; then
19965 echo $ECHO_N "(cached
) $ECHO_C" >&6
19968 if test "$cross_compiling" = yes; then
19969 wx_cv_gccversion="EMX2
"
19972 cat >conftest.$ac_ext <<_ACEOF
19975 cat confdefs.h >>conftest.$ac_ext
19976 cat >>conftest.$ac_ext <<_ACEOF
19977 /* end confdefs.h. */
19983 FILE *f=fopen("conftestval
", "w
");
19988 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19990 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20000 rm -f conftest$ac_exeext
20001 if { (ac_try="$ac_link"
20002 case "(($ac_try" in
20003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20004 *) ac_try_echo=$ac_try;;
20006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20007 (eval "$ac_link") 2>&5
20009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20011 { (case "(($ac_try" in
20012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20013 *) ac_try_echo=$ac_try;;
20015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_try") 2>&5
20018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 wx_cv_gccversion=`cat conftestval`
20022 echo "$as_me: program exited with status
$ac_status" >&5
20023 echo "$as_me: failed program was
:" >&5
20024 sed 's/^/| /' conftest.$ac_ext >&5
20026 ( exit $ac_status )
20027 wx_cv_gccversion="EMX2
"
20029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20035 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
20036 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20037 if test "$wx_cv_gccversion" = "EMX2
"; then
20038 LIBS="$LIBS -lstdcpp"
20039 LDFLAGS="$LDFLAGS -Zsysv-signals"
20041 if test "$wx_cv_gccversion" = "EMX3
"; then
20042 LIBS="$LIBS -lstdcxx -lgcc"
20043 LDFLAGS="$LDFLAGS -Zsysv-signals"
20045 LIBS="$LIBS -lstdc++"
20048 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
20049 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
20050 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
20057 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
20058 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
20059 if test "${ac_cv_string_strcasecmp+set}" = set; then
20060 echo $ECHO_N "(cached
) $ECHO_C" >&6
20063 cat >conftest.$ac_ext <<_ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20070 #include <string.h>
20076 strcasecmp("foo
", "bar
");
20082 rm -f conftest.$ac_objext conftest$ac_exeext
20083 if { (ac_try="$ac_link"
20084 case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_link") 2>conftest.er1
20091 grep -v '^ *+' conftest.er1 >conftest.err
20093 cat conftest.err >&5
20094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20095 (exit $ac_status); } && {
20096 test -z "$ac_c_werror_flag" ||
20097 test ! -s conftest.err
20098 } && test -s conftest$ac_exeext &&
20099 $as_test_x conftest$ac_exeext; then
20100 ac_cv_string_strcasecmp=yes
20102 echo "$as_me: failed program was
:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20105 ac_cv_string_strcasecmp=no
20109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20110 conftest$ac_exeext conftest.$ac_ext
20113 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
20114 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20116 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
20117 cat >>confdefs.h <<\_ACEOF
20118 #define HAVE_STRCASECMP_IN_STRING_H 1
20122 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
20123 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
20124 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20125 echo $ECHO_N "(cached
) $ECHO_C" >&6
20128 cat >conftest.$ac_ext <<_ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20135 #include <strings.h>
20141 strcasecmp("foo
", "bar
");
20147 rm -f conftest.$ac_objext conftest$ac_exeext
20148 if { (ac_try="$ac_link"
20149 case "(($ac_try" in
20150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20151 *) ac_try_echo=$ac_try;;
20153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20154 (eval "$ac_link") 2>conftest.er1
20156 grep -v '^ *+' conftest.er1 >conftest.err
20158 cat conftest.err >&5
20159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20160 (exit $ac_status); } && {
20161 test -z "$ac_c_werror_flag" ||
20162 test ! -s conftest.err
20163 } && test -s conftest$ac_exeext &&
20164 $as_test_x conftest$ac_exeext; then
20165 ac_cv_strings_strcasecmp=yes
20167 echo "$as_me: failed program was
:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20170 ac_cv_strings_strcasecmp=no
20174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20175 conftest$ac_exeext conftest.$ac_ext
20178 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
20179 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20181 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
20182 cat >>confdefs.h <<\_ACEOF
20183 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20187 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
20188 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
20189 { (exit 1); exit 1; }; }
20197 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20198 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
20199 if test "${ac_cv_header_stdc+set}" = set; then
20200 echo $ECHO_N "(cached
) $ECHO_C" >&6
20202 cat >conftest.$ac_ext <<_ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 #include <stdlib.h>
20209 #include <stdarg.h>
20210 #include <string.h>
20221 rm -f conftest.$ac_objext
20222 if { (ac_try="$ac_compile"
20223 case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20225 *) ac_try_echo=$ac_try;;
20227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20228 (eval "$ac_compile") 2>conftest.er1
20230 grep -v '^ *+' conftest.er1 >conftest.err
20232 cat conftest.err >&5
20233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20234 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err
20237 } && test -s conftest.$ac_objext; then
20238 ac_cv_header_stdc=yes
20240 echo "$as_me: failed program was
:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20243 ac_cv_header_stdc=no
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 if test $ac_cv_header_stdc = yes; then
20249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20250 cat >conftest.$ac_ext <<_ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 #include <string.h>
20259 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20260 $EGREP "memchr
" >/dev/null 2>&1; then
20263 ac_cv_header_stdc=no
20269 if test $ac_cv_header_stdc = yes; then
20270 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20271 cat >conftest.$ac_ext <<_ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 #include <stdlib.h>
20280 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20281 $EGREP "free
" >/dev/null 2>&1; then
20284 ac_cv_header_stdc=no
20290 if test $ac_cv_header_stdc = yes; then
20291 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20292 if test "$cross_compiling" = yes; then
20295 cat >conftest.$ac_ext <<_ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20302 #include <stdlib.h>
20303 #if ((' ' & 0x0FF) == 0x020)
20304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20307 # define ISLOWER(c) \
20308 (('a' <= (c) && (c) <= 'i') \
20309 || ('j' <= (c) && (c) <= 'r') \
20310 || ('s' <= (c) && (c) <= 'z'))
20311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20319 for (i = 0; i < 256; i++)
20320 if (XOR (islower (i), ISLOWER (i))
20321 || toupper (i) != TOUPPER (i))
20326 rm -f conftest$ac_exeext
20327 if { (ac_try="$ac_link"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_link") 2>&5
20335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20337 { (case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_try") 2>&5
20344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20345 (exit $ac_status); }; }; then
20348 echo "$as_me: program exited with status
$ac_status" >&5
20349 echo "$as_me: failed program was
:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20352 ( exit $ac_status )
20353 ac_cv_header_stdc=no
20355 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20361 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20362 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20363 if test $ac_cv_header_stdc = yes; then
20365 cat >>confdefs.h <<\_ACEOF
20366 #define STDC_HEADERS 1
20371 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20381 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20382 inttypes.h stdint.h unistd.h
20384 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20385 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20386 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20387 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20388 echo $ECHO_N "(cached
) $ECHO_C" >&6
20390 cat >conftest.$ac_ext <<_ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20398 #include <$ac_header>
20400 rm -f conftest.$ac_objext
20401 if { (ac_try="$ac_compile"
20402 case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_compile") 2>conftest.er1
20409 grep -v '^ *+' conftest.er1 >conftest.err
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest.$ac_objext; then
20417 eval "$as_ac_Header=yes"
20419 echo "$as_me: failed program was
:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20422 eval "$as_ac_Header=no
"
20425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20427 ac_res=`eval echo '${'$as_ac_Header'}'`
20428 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20429 echo "${ECHO_T}$ac_res" >&6; }
20430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20431 cat >>confdefs.h <<_ACEOF
20432 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20442 for ac_header in langinfo.h wchar.h
20444 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20445 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20446 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20447 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20448 echo $ECHO_N "(cached
) $ECHO_C" >&6
20450 cat >conftest.$ac_ext <<_ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 $ac_includes_default
20458 #include <$ac_header>
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20469 grep -v '^ *+' conftest.er1 >conftest.err
20471 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then
20477 eval "$as_ac_Header=yes"
20479 echo "$as_me: failed program was
:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20482 eval "$as_ac_Header=no
"
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 ac_res=`eval echo '${'$as_ac_Header'}'`
20488 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20489 echo "${ECHO_T}$ac_res" >&6; }
20490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20491 cat >>confdefs.h <<_ACEOF
20492 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20500 if test "$ac_cv_header_wchar_h" != "yes"; then
20502 for ac_header in wcstr.h
20504 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20505 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20506 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20507 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20508 echo $ECHO_N "(cached
) $ECHO_C" >&6
20510 cat >conftest.$ac_ext <<_ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20518 #include <$ac_header>
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1 >conftest.err
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20533 (exit $ac_status); } && {
20534 test -z "$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 } && test -s conftest.$ac_objext; then
20537 eval "$as_ac_Header=yes"
20539 echo "$as_me: failed program was
:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 eval "$as_ac_Header=no
"
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20547 ac_res=`eval echo '${'$as_ac_Header'}'`
20548 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20549 echo "${ECHO_T}$ac_res" >&6; }
20550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20551 cat >>confdefs.h <<_ACEOF
20552 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20562 *-pc-os2_emx | *-pc-os2-emx )
20563 if test $ac_cv_header_langinfo_h = "yes" \
20564 -a \( "$wx_cv_gccversion" = "EMX2
" \
20565 -o "$wx_cv_gccversion" = "EMX3
" \
20566 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20567 LIBS="$LIBS -lintl"
20572 if test "$USE_UNIX" = 1 ; then
20574 for ac_header in sys/select.h
20576 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20577 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20578 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20579 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20580 echo $ECHO_N "(cached
) $ECHO_C" >&6
20582 cat >conftest.$ac_ext <<_ACEOF
20585 cat confdefs.h >>conftest.$ac_ext
20586 cat >>conftest.$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 $ac_includes_default
20590 #include <$ac_header>
20592 rm -f conftest.$ac_objext
20593 if { (ac_try="$ac_compile"
20594 case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_compile") 2>conftest.er1
20601 grep -v '^ *+' conftest.er1 >conftest.err
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20605 (exit $ac_status); } && {
20606 test -z "$ac_c_werror_flag" ||
20607 test ! -s conftest.err
20608 } && test -s conftest.$ac_objext; then
20609 eval "$as_ac_Header=yes"
20611 echo "$as_me: failed program was
:" >&5
20612 sed 's/^/| /' conftest.$ac_ext >&5
20614 eval "$as_ac_Header=no
"
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 ac_res=`eval echo '${'$as_ac_Header'}'`
20620 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20621 echo "${ECHO_T}$ac_res" >&6; }
20622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20623 cat >>confdefs.h <<_ACEOF
20624 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20634 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20635 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20636 if test "${ac_cv_c_const+set}" = set; then
20637 echo $ECHO_N "(cached
) $ECHO_C" >&6
20639 cat >conftest.$ac_ext <<_ACEOF
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20649 /* FIXME: Include the comments suggested by Paul. */
20650 #ifndef __cplusplus
20651 /* Ultrix mips cc rejects this. */
20652 typedef int charset[2];
20654 /* SunOS 4.1.1 cc rejects this. */
20655 char const *const *pcpcc;
20657 /* NEC SVR4.0.2 mips cc rejects this. */
20658 struct point {int x, y;};
20659 static struct point const zero = {0,0};
20660 /* AIX XL C 1.02.0.0 rejects this.
20661 It does not let you subtract one const X* pointer from another in
20662 an arm of an if-expression whose if-part is not a constant
20664 const char *g = "string
";
20665 pcpcc = &g + (g ? g-g : 0);
20666 /* HPUX 7.0 cc rejects these. */
20668 ppc = (char**) pcpcc;
20669 pcpcc = (char const *const *) ppc;
20670 { /* SCO 3.2v4 cc rejects this. */
20672 char const *s = 0 ? (char *) 0 : (char const *) 0;
20677 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20678 int x[] = {25, 17};
20679 const int *foo = &x[0];
20682 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20683 typedef const int *iptr;
20687 { /* AIX XL C 1.02.0.0 rejects this saying
20688 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20689 struct s { int j; const int *ap[3]; };
20690 struct s *b; b->j = 5;
20692 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20693 const int foo = 10;
20694 if (!foo) return 0;
20696 return !cs[0] && !zero.x;
20703 rm -f conftest.$ac_objext
20704 if { (ac_try="$ac_compile"
20705 case "(($ac_try" in
20706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20707 *) ac_try_echo=$ac_try;;
20709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_compile") 2>conftest.er1
20712 grep -v '^ *+' conftest.er1 >conftest.err
20714 cat conftest.err >&5
20715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20716 (exit $ac_status); } && {
20717 test -z "$ac_c_werror_flag" ||
20718 test ! -s conftest.err
20719 } && test -s conftest.$ac_objext; then
20722 echo "$as_me: failed program was
:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20731 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20732 if test $ac_cv_c_const = no; then
20734 cat >>confdefs.h <<\_ACEOF
20740 { echo "$as_me:$LINENO: checking
for inline
" >&5
20741 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20742 if test "${ac_cv_c_inline+set}" = set; then
20743 echo $ECHO_N "(cached
) $ECHO_C" >&6
20746 for ac_kw in inline __inline__ __inline; do
20747 cat >conftest.$ac_ext <<_ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20753 #ifndef __cplusplus
20755 static $ac_kw foo_t static_foo () {return 0; }
20756 $ac_kw foo_t foo () {return 0; }
20760 rm -f conftest.$ac_objext
20761 if { (ac_try="$ac_compile"
20762 case "(($ac_try" in
20763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20764 *) ac_try_echo=$ac_try;;
20766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20767 (eval "$ac_compile") 2>conftest.er1
20769 grep -v '^ *+' conftest.er1 >conftest.err
20771 cat conftest.err >&5
20772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20773 (exit $ac_status); } && {
20774 test -z "$ac_c_werror_flag" ||
20775 test ! -s conftest.err
20776 } && test -s conftest.$ac_objext; then
20777 ac_cv_c_inline=$ac_kw
20779 echo "$as_me: failed program was
:" >&5
20780 sed 's/^/| /' conftest.$ac_ext >&5
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786 test "$ac_cv_c_inline" != no && break
20790 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20791 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20794 case $ac_cv_c_inline in
20797 case $ac_cv_c_inline in
20799 *) ac_val=$ac_cv_c_inline;;
20801 cat >>confdefs.h <<_ACEOF
20802 #ifndef __cplusplus
20803 #define inline $ac_val
20810 { echo "$as_me:$LINENO: checking
for short
" >&5
20811 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20812 if test "${ac_cv_type_short+set}" = set; then
20813 echo $ECHO_N "(cached
) $ECHO_C" >&6
20815 cat >conftest.$ac_ext <<_ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20822 typedef short ac__type_new_;
20826 if ((ac__type_new_ *) 0)
20828 if (sizeof (ac__type_new_))
20834 rm -f conftest.$ac_objext
20835 if { (ac_try="$ac_compile"
20836 case "(($ac_try" in
20837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20838 *) ac_try_echo=$ac_try;;
20840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20841 (eval "$ac_compile") 2>conftest.er1
20843 grep -v '^ *+' conftest.er1 >conftest.err
20845 cat conftest.err >&5
20846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20847 (exit $ac_status); } && {
20848 test -z "$ac_c_werror_flag" ||
20849 test ! -s conftest.err
20850 } && test -s conftest.$ac_objext; then
20851 ac_cv_type_short=yes
20853 echo "$as_me: failed program was
:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20856 ac_cv_type_short=no
20859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20861 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20862 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20864 # The cast to long int works around a bug in the HP C Compiler
20865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20867 # This bug is HP SR number 8606223364.
20868 { echo "$as_me:$LINENO: checking size of short
" >&5
20869 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20870 if test "${ac_cv_sizeof_short+set}" = set; then
20871 echo $ECHO_N "(cached
) $ECHO_C" >&6
20873 if test "$cross_compiling" = yes; then
20874 # Depending upon the size, compute the lo and hi bounds.
20875 cat >conftest.$ac_ext <<_ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881 $ac_includes_default
20882 typedef short ac__type_sizeof_;
20886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20893 rm -f conftest.$ac_objext
20894 if { (ac_try="$ac_compile"
20895 case "(($ac_try" in
20896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20897 *) ac_try_echo=$ac_try;;
20899 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20900 (eval "$ac_compile") 2>conftest.er1
20902 grep -v '^ *+' conftest.er1 >conftest.err
20904 cat conftest.err >&5
20905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20906 (exit $ac_status); } && {
20907 test -z "$ac_c_werror_flag" ||
20908 test ! -s conftest.err
20909 } && test -s conftest.$ac_objext; then
20912 cat >conftest.$ac_ext <<_ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef short ac__type_sizeof_;
20923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20930 rm -f conftest.$ac_objext
20931 if { (ac_try="$ac_compile"
20932 case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20936 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_compile") 2>conftest.er1
20939 grep -v '^ *+' conftest.er1 >conftest.err
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest.$ac_objext; then
20947 ac_hi=$ac_mid; break
20949 echo "$as_me: failed program was
:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20952 ac_lo=`expr $ac_mid + 1`
20953 if test $ac_lo -le $ac_mid; then
20957 ac_mid=`expr 2 '*' $ac_mid + 1`
20960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 echo "$as_me: failed program was
:" >&5
20964 sed 's/^/| /' conftest.$ac_ext >&5
20966 cat >conftest.$ac_ext <<_ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 $ac_includes_default
20973 typedef short ac__type_sizeof_;
20977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20984 rm -f conftest.$ac_objext
20985 if { (ac_try="$ac_compile"
20986 case "(($ac_try" in
20987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20988 *) ac_try_echo=$ac_try;;
20990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20991 (eval "$ac_compile") 2>conftest.er1
20993 grep -v '^ *+' conftest.er1 >conftest.err
20995 cat conftest.err >&5
20996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20997 (exit $ac_status); } && {
20998 test -z "$ac_c_werror_flag" ||
20999 test ! -s conftest.err
21000 } && test -s conftest.$ac_objext; then
21003 cat >conftest.$ac_ext <<_ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 $ac_includes_default
21010 typedef short ac__type_sizeof_;
21014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21021 rm -f conftest.$ac_objext
21022 if { (ac_try="$ac_compile"
21023 case "(($ac_try" in
21024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21025 *) ac_try_echo=$ac_try;;
21027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21028 (eval "$ac_compile") 2>conftest.er1
21030 grep -v '^ *+' conftest.er1 >conftest.err
21032 cat conftest.err >&5
21033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21034 (exit $ac_status); } && {
21035 test -z "$ac_c_werror_flag" ||
21036 test ! -s conftest.err
21037 } && test -s conftest.$ac_objext; then
21038 ac_lo=$ac_mid; break
21040 echo "$as_me: failed program was
:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21043 ac_hi=`expr '(' $ac_mid ')' - 1`
21044 if test $ac_mid -le $ac_hi; then
21048 ac_mid=`expr 2 '*' $ac_mid`
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 echo "$as_me: failed program was
:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21064 # Binary search between lo and hi bounds.
21065 while test "x
$ac_lo" != "x
$ac_hi"; do
21066 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21067 cat >conftest.$ac_ext <<_ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 typedef short ac__type_sizeof_;
21078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21085 rm -f conftest.$ac_objext
21086 if { (ac_try="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_compile") 2>conftest.er1
21094 grep -v '^ *+' conftest.er1 >conftest.err
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21098 (exit $ac_status); } && {
21099 test -z "$ac_c_werror_flag" ||
21100 test ! -s conftest.err
21101 } && test -s conftest.$ac_objext; then
21104 echo "$as_me: failed program was
:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21107 ac_lo=`expr '(' $ac_mid ')' + 1`
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21113 ?*) ac_cv_sizeof_short=$ac_lo;;
21114 '') if test "$ac_cv_type_short" = yes; then
21115 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21116 See \
`config.log' for more details." >&5
21117 echo "$as_me: error: cannot compute sizeof (short)
21118 See \`config.log
' for more details." >&2;}
21119 { (exit 77); exit 77; }; }
21121 ac_cv_sizeof_short=0
21125 cat >conftest.$ac_ext <<_ACEOF
21128 cat confdefs.h >>conftest.$ac_ext
21129 cat >>conftest.$ac_ext <<_ACEOF
21130 /* end confdefs.h. */
21131 $ac_includes_default
21132 typedef short ac__type_sizeof_;
21133 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21134 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21136 #include <stdlib.h>
21141 FILE *f = fopen ("conftest.val", "w");
21144 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21146 long int i = longval ();
21147 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21149 fprintf (f, "%ld\n", i);
21153 unsigned long int i = ulongval ();
21154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21156 fprintf (f, "%lu\n", i);
21158 return ferror (f) || fclose (f) != 0;
21164 rm -f conftest$ac_exeext
21165 if { (ac_try="$ac_link"
21166 case "(($ac_try" in
21167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21168 *) ac_try_echo=$ac_try;;
21170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21171 (eval "$ac_link") 2>&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21175 { (case "(($ac_try" in
21176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21177 *) ac_try_echo=$ac_try;;
21179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21180 (eval "$ac_try") 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21184 ac_cv_sizeof_short=`cat conftest.val`
21186 echo "$as_me: program exited with status $ac_status" >&5
21187 echo "$as_me: failed program was:" >&5
21188 sed 's
/^
/| /' conftest.$ac_ext >&5
21190 ( exit $ac_status )
21191 if test "$ac_cv_type_short" = yes; then
21192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21193 See \`config.log' for more details.
" >&5
21194 echo "$as_me: error
: cannot compute sizeof
(short
)
21195 See \
`config.log' for more details." >&2;}
21196 { (exit 77); exit 77; }; }
21198 ac_cv_sizeof_short=0
21201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21205 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21206 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21210 cat >>confdefs.h <<_ACEOF
21211 #define SIZEOF_SHORT $ac_cv_sizeof_short
21215 { echo "$as_me:$LINENO: checking for void *" >&5
21216 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21217 if test "${ac_cv_type_void_p+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21220 cat >conftest.$ac_ext <<_ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 $ac_includes_default
21227 typedef void * ac__type_new_;
21231 if ((ac__type_new_ *) 0)
21233 if (sizeof (ac__type_new_))
21239 rm -f conftest.$ac_objext
21240 if { (ac_try="$ac_compile"
21241 case "(($ac_try" in
21242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21243 *) ac_try_echo
=$ac_try;;
21245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_compile") 2>conftest.er1
21248 grep -v '^ *+' conftest.er1
>conftest.err
21250 cat conftest.err
>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err
21255 } && test -s conftest.
$ac_objext; then
21256 ac_cv_type_void_p
=yes
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.
$ac_ext >&5
21261 ac_cv_type_void_p
=no
21264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21266 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21267 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21269 # The cast to long int works around a bug in the HP C Compiler
21270 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21271 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21272 # This bug is HP SR number 8606223364.
21273 { echo "$as_me:$LINENO: checking size of void *" >&5
21274 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21275 if test "${ac_cv_sizeof_void_p+set}" = set; then
21276 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 if test "$cross_compiling" = yes; then
21279 # Depending upon the size, compute the lo and hi bounds.
21280 cat >conftest.
$ac_ext <<_ACEOF
21283 cat confdefs.h
>>conftest.
$ac_ext
21284 cat >>conftest.
$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286 $ac_includes_default
21287 typedef void * ac__type_sizeof_;
21291 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21298 rm -f conftest.
$ac_objext
21299 if { (ac_try
="$ac_compile"
21300 case "(($ac_try" in
21301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21302 *) ac_try_echo=$ac_try;;
21304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21305 (eval "$ac_compile") 2>conftest.er1
21307 grep -v '^ *+' conftest.er1 >conftest.err
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } && {
21312 test -z "$ac_c_werror_flag" ||
21313 test ! -s conftest.err
21314 } && test -s conftest.$ac_objext; then
21317 cat >conftest.$ac_ext <<_ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef void * ac__type_sizeof_;
21328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21335 rm -f conftest.$ac_objext
21336 if { (ac_try="$ac_compile"
21337 case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21339 *) ac_try_echo
=$ac_try;;
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_compile") 2>conftest.er1
21344 grep -v '^ *+' conftest.er1
>conftest.err
21346 cat conftest.err
>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } && {
21349 test -z "$ac_c_werror_flag" ||
21350 test ! -s conftest.err
21351 } && test -s conftest.
$ac_objext; then
21352 ac_hi
=$ac_mid; break
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.
$ac_ext >&5
21357 ac_lo
=`expr $ac_mid + 1`
21358 if test $ac_lo -le $ac_mid; then
21362 ac_mid
=`expr 2 '*' $ac_mid + 1`
21365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.
$ac_ext >&5
21371 cat >conftest.
$ac_ext <<_ACEOF
21374 cat confdefs.h
>>conftest.
$ac_ext
21375 cat >>conftest.
$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 $ac_includes_default
21378 typedef void * ac__type_sizeof_;
21382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21389 rm -f conftest.
$ac_objext
21390 if { (ac_try
="$ac_compile"
21391 case "(($ac_try" in
21392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_compile") 2>conftest.er1
21398 grep -v '^ *+' conftest.er1 >conftest.err
21400 cat conftest.err >&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } && {
21403 test -z "$ac_c_werror_flag" ||
21404 test ! -s conftest.err
21405 } && test -s conftest.$ac_objext; then
21408 cat >conftest.$ac_ext <<_ACEOF
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 $ac_includes_default
21415 typedef void * ac__type_sizeof_;
21419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21426 rm -f conftest.$ac_objext
21427 if { (ac_try="$ac_compile"
21428 case "(($ac_try" in
21429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21430 *) ac_try_echo
=$ac_try;;
21432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21433 (eval "$ac_compile") 2>conftest.er1
21435 grep -v '^ *+' conftest.er1
>conftest.err
21437 cat conftest.err
>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } && {
21440 test -z "$ac_c_werror_flag" ||
21441 test ! -s conftest.err
21442 } && test -s conftest.
$ac_objext; then
21443 ac_lo
=$ac_mid; break
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21448 ac_hi
=`expr '(' $ac_mid ')' - 1`
21449 if test $ac_mid -le $ac_hi; then
21453 ac_mid
=`expr 2 '*' $ac_mid`
21456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.
$ac_ext >&5
21465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21469 # Binary search between lo and hi bounds.
21470 while test "x$ac_lo" != "x$ac_hi"; do
21471 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21472 cat >conftest.
$ac_ext <<_ACEOF
21475 cat confdefs.h
>>conftest.
$ac_ext
21476 cat >>conftest.
$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21478 $ac_includes_default
21479 typedef void * ac__type_sizeof_;
21483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21490 rm -f conftest.
$ac_objext
21491 if { (ac_try
="$ac_compile"
21492 case "(($ac_try" in
21493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21494 *) ac_try_echo=$ac_try;;
21496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21497 (eval "$ac_compile") 2>conftest.er1
21499 grep -v '^ *+' conftest.er1 >conftest.err
21501 cat conftest.err >&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } && {
21504 test -z "$ac_c_werror_flag" ||
21505 test ! -s conftest.err
21506 } && test -s conftest.$ac_objext; then
21509 echo "$as_me: failed program was:" >&5
21510 sed 's/^/| /' conftest.$ac_ext >&5
21512 ac_lo=`expr '(' $ac_mid ')' + 1`
21515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21519 '') if test "$ac_cv_type_void_p" = yes; then
21520 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21521 See \`config.log
' for more details." >&5
21522 echo "$as_me: error: cannot compute sizeof (void *)
21523 See \`config.log' for more details.
" >&2;}
21524 { (exit 77); exit 77; }; }
21526 ac_cv_sizeof_void_p=0
21530 cat >conftest.$ac_ext <<_ACEOF
21533 cat confdefs.h >>conftest.$ac_ext
21534 cat >>conftest.$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21536 $ac_includes_default
21537 typedef void * ac__type_sizeof_;
21538 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21539 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21541 #include <stdlib.h>
21546 FILE *f = fopen ("conftest.val
", "w
");
21549 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21551 long int i = longval ();
21552 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21554 fprintf (f, "%ld
\n", i);
21558 unsigned long int i = ulongval ();
21559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21561 fprintf (f, "%lu
\n", i);
21563 return ferror (f) || fclose (f) != 0;
21569 rm -f conftest$ac_exeext
21570 if { (ac_try="$ac_link"
21571 case "(($ac_try" in
21572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573 *) ac_try_echo=$ac_try;;
21575 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21576 (eval "$ac_link") 2>&5
21578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21580 { (case "(($ac_try" in
21581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21582 *) ac_try_echo=$ac_try;;
21584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21585 (eval "$ac_try") 2>&5
21587 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_sizeof_void_p=`cat conftest.val`
21591 echo "$as_me: program exited with status
$ac_status" >&5
21592 echo "$as_me: failed program was
:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21595 ( exit $ac_status )
21596 if test "$ac_cv_type_void_p" = yes; then
21597 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21598 See \
`config.log' for more details." >&5
21599 echo "$as_me: error: cannot compute sizeof (void *)
21600 See \`config.log
' for more details." >&2;}
21601 { (exit 77); exit 77; }; }
21603 ac_cv_sizeof_void_p=0
21606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21610 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21611 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21615 cat >>confdefs.h <<_ACEOF
21616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21620 { echo "$as_me:$LINENO: checking for int" >&5
21621 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21622 if test "${ac_cv_type_int+set}" = set; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21625 cat >conftest.$ac_ext <<_ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21632 typedef int ac__type_new_;
21636 if ((ac__type_new_ *) 0)
21638 if (sizeof (ac__type_new_))
21644 rm -f conftest.$ac_objext
21645 if { (ac_try="$ac_compile"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_compile") 2>conftest.er1
21653 grep -v '^
*+' conftest.er1 >conftest.err
21655 cat conftest.err >&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } && {
21658 test -z "$ac_c_werror_flag" ||
21659 test ! -s conftest.err
21660 } && test -s conftest.$ac_objext; then
21663 echo "$as_me: failed program was:" >&5
21664 sed 's
/^
/| /' conftest.$ac_ext >&5
21669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21671 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21672 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21674 # The cast to long int works around a bug in the HP C Compiler
21675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21676 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21677 # This bug is HP SR number 8606223364.
21678 { echo "$as_me:$LINENO: checking size of int" >&5
21679 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21680 if test "${ac_cv_sizeof_int+set}" = set; then
21681 echo $ECHO_N "(cached) $ECHO_C" >&6
21683 if test "$cross_compiling" = yes; then
21684 # Depending upon the size, compute the lo and hi bounds.
21685 cat >conftest.
$ac_ext <<_ACEOF
21688 cat confdefs.h
>>conftest.
$ac_ext
21689 cat >>conftest.
$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 $ac_includes_default
21692 typedef int ac__type_sizeof_;
21696 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21703 rm -f conftest.
$ac_objext
21704 if { (ac_try
="$ac_compile"
21705 case "(($ac_try" in
21706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21707 *) ac_try_echo=$ac_try;;
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_compile") 2>conftest.er1
21712 grep -v '^ *+' conftest.er1 >conftest.err
21714 cat conftest.err >&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } && {
21717 test -z "$ac_c_werror_flag" ||
21718 test ! -s conftest.err
21719 } && test -s conftest.$ac_objext; then
21722 cat >conftest.$ac_ext <<_ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 $ac_includes_default
21729 typedef int ac__type_sizeof_;
21733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21740 rm -f conftest.$ac_objext
21741 if { (ac_try="$ac_compile"
21742 case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21744 *) ac_try_echo
=$ac_try;;
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_compile") 2>conftest.er1
21749 grep -v '^ *+' conftest.er1
>conftest.err
21751 cat conftest.err
>&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } && {
21754 test -z "$ac_c_werror_flag" ||
21755 test ! -s conftest.err
21756 } && test -s conftest.
$ac_objext; then
21757 ac_hi
=$ac_mid; break
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.
$ac_ext >&5
21762 ac_lo
=`expr $ac_mid + 1`
21763 if test $ac_lo -le $ac_mid; then
21767 ac_mid
=`expr 2 '*' $ac_mid + 1`
21770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.
$ac_ext >&5
21776 cat >conftest.
$ac_ext <<_ACEOF
21779 cat confdefs.h
>>conftest.
$ac_ext
21780 cat >>conftest.
$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21782 $ac_includes_default
21783 typedef int ac__type_sizeof_;
21787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21794 rm -f conftest.
$ac_objext
21795 if { (ac_try
="$ac_compile"
21796 case "(($ac_try" in
21797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21798 *) ac_try_echo=$ac_try;;
21800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21801 (eval "$ac_compile") 2>conftest.er1
21803 grep -v '^ *+' conftest.er1 >conftest.err
21805 cat conftest.err >&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } && {
21808 test -z "$ac_c_werror_flag" ||
21809 test ! -s conftest.err
21810 } && test -s conftest.$ac_objext; then
21813 cat >conftest.$ac_ext <<_ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 $ac_includes_default
21820 typedef int ac__type_sizeof_;
21824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21831 rm -f conftest.$ac_objext
21832 if { (ac_try="$ac_compile"
21833 case "(($ac_try" in
21834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21835 *) ac_try_echo
=$ac_try;;
21837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21838 (eval "$ac_compile") 2>conftest.er1
21840 grep -v '^ *+' conftest.er1
>conftest.err
21842 cat conftest.err
>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } && {
21845 test -z "$ac_c_werror_flag" ||
21846 test ! -s conftest.err
21847 } && test -s conftest.
$ac_objext; then
21848 ac_lo
=$ac_mid; break
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.
$ac_ext >&5
21853 ac_hi
=`expr '(' $ac_mid ')' - 1`
21854 if test $ac_mid -le $ac_hi; then
21858 ac_mid
=`expr 2 '*' $ac_mid`
21861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21874 # Binary search between lo and hi bounds.
21875 while test "x$ac_lo" != "x$ac_hi"; do
21876 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21877 cat >conftest.
$ac_ext <<_ACEOF
21880 cat confdefs.h
>>conftest.
$ac_ext
21881 cat >>conftest.
$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef int ac__type_sizeof_;
21888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21895 rm -f conftest.
$ac_objext
21896 if { (ac_try
="$ac_compile"
21897 case "(($ac_try" in
21898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21899 *) ac_try_echo=$ac_try;;
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_compile") 2>conftest.er1
21904 grep -v '^ *+' conftest.er1 >conftest.err
21906 cat conftest.err >&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } && {
21909 test -z "$ac_c_werror_flag" ||
21910 test ! -s conftest.err
21911 } && test -s conftest.$ac_objext; then
21914 echo "$as_me: failed program was:" >&5
21915 sed 's/^/| /' conftest.$ac_ext >&5
21917 ac_lo=`expr '(' $ac_mid ')' + 1`
21920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21923 ?*) ac_cv_sizeof_int=$ac_lo;;
21924 '') if test "$ac_cv_type_int" = yes; then
21925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21926 See \`config.log
' for more details." >&5
21927 echo "$as_me: error: cannot compute sizeof (int)
21928 See \`config.log' for more details.
" >&2;}
21929 { (exit 77); exit 77; }; }
21935 cat >conftest.$ac_ext <<_ACEOF
21938 cat confdefs.h >>conftest.$ac_ext
21939 cat >>conftest.$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941 $ac_includes_default
21942 typedef int ac__type_sizeof_;
21943 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21944 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21946 #include <stdlib.h>
21951 FILE *f = fopen ("conftest.val
", "w
");
21954 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21956 long int i = longval ();
21957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21959 fprintf (f, "%ld
\n", i);
21963 unsigned long int i = ulongval ();
21964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21966 fprintf (f, "%lu
\n", i);
21968 return ferror (f) || fclose (f) != 0;
21974 rm -f conftest$ac_exeext
21975 if { (ac_try="$ac_link"
21976 case "(($ac_try" in
21977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21978 *) ac_try_echo=$ac_try;;
21980 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21981 (eval "$ac_link") 2>&5
21983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21985 { (case "(($ac_try" in
21986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21987 *) ac_try_echo=$ac_try;;
21989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21990 (eval "$ac_try") 2>&5
21992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21993 (exit $ac_status); }; }; then
21994 ac_cv_sizeof_int=`cat conftest.val`
21996 echo "$as_me: program exited with status
$ac_status" >&5
21997 echo "$as_me: failed program was
:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
22000 ( exit $ac_status )
22001 if test "$ac_cv_type_int" = yes; then
22002 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22003 See \
`config.log' for more details." >&5
22004 echo "$as_me: error: cannot compute sizeof (int)
22005 See \`config.log
' for more details." >&2;}
22006 { (exit 77); exit 77; }; }
22011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22015 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22016 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22020 cat >>confdefs.h <<_ACEOF
22021 #define SIZEOF_INT $ac_cv_sizeof_int
22025 { echo "$as_me:$LINENO: checking for long" >&5
22026 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22027 if test "${ac_cv_type_long+set}" = set; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 cat >conftest.$ac_ext <<_ACEOF
22033 cat confdefs.h >>conftest.$ac_ext
22034 cat >>conftest.$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 $ac_includes_default
22037 typedef long ac__type_new_;
22041 if ((ac__type_new_ *) 0)
22043 if (sizeof (ac__type_new_))
22049 rm -f conftest.$ac_objext
22050 if { (ac_try="$ac_compile"
22051 case "(($ac_try" in
22052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22053 *) ac_try_echo=$ac_try;;
22055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22056 (eval "$ac_compile") 2>conftest.er1
22058 grep -v '^
*+' conftest.er1 >conftest.err
22060 cat conftest.err >&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); } && {
22063 test -z "$ac_c_werror_flag" ||
22064 test ! -s conftest.err
22065 } && test -s conftest.$ac_objext; then
22066 ac_cv_type_long=yes
22068 echo "$as_me: failed program was:" >&5
22069 sed 's
/^
/| /' conftest.$ac_ext >&5
22074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22076 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22077 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22079 # The cast to long int works around a bug in the HP C Compiler
22080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22082 # This bug is HP SR number 8606223364.
22083 { echo "$as_me:$LINENO: checking size of long" >&5
22084 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22085 if test "${ac_cv_sizeof_long+set}" = set; then
22086 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 if test "$cross_compiling" = yes; then
22089 # Depending upon the size, compute the lo and hi bounds.
22090 cat >conftest.
$ac_ext <<_ACEOF
22093 cat confdefs.h
>>conftest.
$ac_ext
22094 cat >>conftest.
$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22096 $ac_includes_default
22097 typedef long ac__type_sizeof_;
22101 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22108 rm -f conftest.
$ac_objext
22109 if { (ac_try
="$ac_compile"
22110 case "(($ac_try" in
22111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22112 *) ac_try_echo=$ac_try;;
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22115 (eval "$ac_compile") 2>conftest.er1
22117 grep -v '^ *+' conftest.er1 >conftest.err
22119 cat conftest.err >&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } && {
22122 test -z "$ac_c_werror_flag" ||
22123 test ! -s conftest.err
22124 } && test -s conftest.$ac_objext; then
22127 cat >conftest.$ac_ext <<_ACEOF
22130 cat confdefs.h >>conftest.$ac_ext
22131 cat >>conftest.$ac_ext <<_ACEOF
22132 /* end confdefs.h. */
22133 $ac_includes_default
22134 typedef long ac__type_sizeof_;
22138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22145 rm -f conftest.$ac_objext
22146 if { (ac_try="$ac_compile"
22147 case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22149 *) ac_try_echo
=$ac_try;;
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_compile") 2>conftest.er1
22154 grep -v '^ *+' conftest.er1
>conftest.err
22156 cat conftest.err
>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } && {
22159 test -z "$ac_c_werror_flag" ||
22160 test ! -s conftest.err
22161 } && test -s conftest.
$ac_objext; then
22162 ac_hi
=$ac_mid; break
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.
$ac_ext >&5
22167 ac_lo
=`expr $ac_mid + 1`
22168 if test $ac_lo -le $ac_mid; then
22172 ac_mid
=`expr 2 '*' $ac_mid + 1`
22175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.
$ac_ext >&5
22181 cat >conftest.
$ac_ext <<_ACEOF
22184 cat confdefs.h
>>conftest.
$ac_ext
22185 cat >>conftest.
$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22187 $ac_includes_default
22188 typedef long ac__type_sizeof_;
22192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22199 rm -f conftest.
$ac_objext
22200 if { (ac_try
="$ac_compile"
22201 case "(($ac_try" in
22202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_compile") 2>conftest.er1
22208 grep -v '^ *+' conftest.er1 >conftest.err
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } && {
22213 test -z "$ac_c_werror_flag" ||
22214 test ! -s conftest.err
22215 } && test -s conftest.$ac_objext; then
22218 cat >conftest.$ac_ext <<_ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224 $ac_includes_default
22225 typedef long ac__type_sizeof_;
22229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22236 rm -f conftest.$ac_objext
22237 if { (ac_try="$ac_compile"
22238 case "(($ac_try" in
22239 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22240 *) ac_try_echo
=$ac_try;;
22242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22243 (eval "$ac_compile") 2>conftest.er1
22245 grep -v '^ *+' conftest.er1
>conftest.err
22247 cat conftest.err
>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } && {
22250 test -z "$ac_c_werror_flag" ||
22251 test ! -s conftest.err
22252 } && test -s conftest.
$ac_objext; then
22253 ac_lo
=$ac_mid; break
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.
$ac_ext >&5
22258 ac_hi
=`expr '(' $ac_mid ')' - 1`
22259 if test $ac_mid -le $ac_hi; then
22263 ac_mid
=`expr 2 '*' $ac_mid`
22266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.
$ac_ext >&5
22275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22279 # Binary search between lo and hi bounds.
22280 while test "x$ac_lo" != "x$ac_hi"; do
22281 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22282 cat >conftest.
$ac_ext <<_ACEOF
22285 cat confdefs.h
>>conftest.
$ac_ext
22286 cat >>conftest.
$ac_ext <<_ACEOF
22287 /* end confdefs.h. */
22288 $ac_includes_default
22289 typedef long ac__type_sizeof_;
22293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22300 rm -f conftest.
$ac_objext
22301 if { (ac_try
="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22309 grep -v '^ *+' conftest.er1 >conftest.err
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22322 ac_lo=`expr '(' $ac_mid ')' + 1`
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22328 ?*) ac_cv_sizeof_long=$ac_lo;;
22329 '') if test "$ac_cv_type_long" = yes; then
22330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22331 See \`config.log
' for more details." >&5
22332 echo "$as_me: error: cannot compute sizeof (long)
22333 See \`config.log' for more details.
" >&2;}
22334 { (exit 77); exit 77; }; }
22336 ac_cv_sizeof_long=0
22340 cat >conftest.$ac_ext <<_ACEOF
22343 cat confdefs.h >>conftest.$ac_ext
22344 cat >>conftest.$ac_ext <<_ACEOF
22345 /* end confdefs.h. */
22346 $ac_includes_default
22347 typedef long ac__type_sizeof_;
22348 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22349 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22351 #include <stdlib.h>
22356 FILE *f = fopen ("conftest.val
", "w
");
22359 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22361 long int i = longval ();
22362 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22364 fprintf (f, "%ld
\n", i);
22368 unsigned long int i = ulongval ();
22369 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22371 fprintf (f, "%lu
\n", i);
22373 return ferror (f) || fclose (f) != 0;
22379 rm -f conftest$ac_exeext
22380 if { (ac_try="$ac_link"
22381 case "(($ac_try" in
22382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_link") 2>&5
22388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22389 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22390 { (case "(($ac_try" in
22391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22392 *) ac_try_echo=$ac_try;;
22394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22395 (eval "$ac_try") 2>&5
22397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22398 (exit $ac_status); }; }; then
22399 ac_cv_sizeof_long=`cat conftest.val`
22401 echo "$as_me: program exited with status
$ac_status" >&5
22402 echo "$as_me: failed program was
:" >&5
22403 sed 's/^/| /' conftest.$ac_ext >&5
22405 ( exit $ac_status )
22406 if test "$ac_cv_type_long" = yes; then
22407 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22408 See \
`config.log' for more details." >&5
22409 echo "$as_me: error: cannot compute sizeof (long)
22410 See \`config.log
' for more details." >&2;}
22411 { (exit 77); exit 77; }; }
22413 ac_cv_sizeof_long=0
22416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22420 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22421 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22425 cat >>confdefs.h <<_ACEOF
22426 #define SIZEOF_LONG $ac_cv_sizeof_long
22430 { echo "$as_me:$LINENO: checking for size_t" >&5
22431 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22432 if test "${ac_cv_type_size_t+set}" = set; then
22433 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 cat >conftest.$ac_ext <<_ACEOF
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441 $ac_includes_default
22442 typedef size_t ac__type_new_;
22446 if ((ac__type_new_ *) 0)
22448 if (sizeof (ac__type_new_))
22454 rm -f conftest.$ac_objext
22455 if { (ac_try="$ac_compile"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_compile") 2>conftest.er1
22463 grep -v '^
*+' conftest.er1 >conftest.err
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } && {
22468 test -z "$ac_c_werror_flag" ||
22469 test ! -s conftest.err
22470 } && test -s conftest.$ac_objext; then
22471 ac_cv_type_size_t=yes
22473 echo "$as_me: failed program was:" >&5
22474 sed 's
/^
/| /' conftest.$ac_ext >&5
22476 ac_cv_type_size_t=no
22479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22482 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22484 # The cast to long int works around a bug in the HP C Compiler
22485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22487 # This bug is HP SR number 8606223364.
22488 { echo "$as_me:$LINENO: checking size of size_t" >&5
22489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22490 if test "${ac_cv_sizeof_size_t+set}" = set; then
22491 echo $ECHO_N "(cached) $ECHO_C" >&6
22493 if test "$cross_compiling" = yes; then
22494 # Depending upon the size, compute the lo and hi bounds.
22495 cat >conftest.
$ac_ext <<_ACEOF
22498 cat confdefs.h
>>conftest.
$ac_ext
22499 cat >>conftest.
$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22501 $ac_includes_default
22502 typedef size_t ac__type_sizeof_;
22506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22513 rm -f conftest.
$ac_objext
22514 if { (ac_try
="$ac_compile"
22515 case "(($ac_try" in
22516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22517 *) ac_try_echo=$ac_try;;
22519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22520 (eval "$ac_compile") 2>conftest.er1
22522 grep -v '^ *+' conftest.er1 >conftest.err
22524 cat conftest.err >&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } && {
22527 test -z "$ac_c_werror_flag" ||
22528 test ! -s conftest.err
22529 } && test -s conftest.$ac_objext; then
22532 cat >conftest.$ac_ext <<_ACEOF
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538 $ac_includes_default
22539 typedef size_t ac__type_sizeof_;
22543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22550 rm -f conftest.$ac_objext
22551 if { (ac_try="$ac_compile"
22552 case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22554 *) ac_try_echo
=$ac_try;;
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_compile") 2>conftest.er1
22559 grep -v '^ *+' conftest.er1
>conftest.err
22561 cat conftest.err
>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } && {
22564 test -z "$ac_c_werror_flag" ||
22565 test ! -s conftest.err
22566 } && test -s conftest.
$ac_objext; then
22567 ac_hi
=$ac_mid; break
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.
$ac_ext >&5
22572 ac_lo
=`expr $ac_mid + 1`
22573 if test $ac_lo -le $ac_mid; then
22577 ac_mid
=`expr 2 '*' $ac_mid + 1`
22580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.
$ac_ext >&5
22586 cat >conftest.
$ac_ext <<_ACEOF
22589 cat confdefs.h
>>conftest.
$ac_ext
22590 cat >>conftest.
$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef size_t ac__type_sizeof_;
22597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22604 rm -f conftest.
$ac_objext
22605 if { (ac_try
="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22613 grep -v '^ *+' conftest.er1 >conftest.err
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } && {
22618 test -z "$ac_c_werror_flag" ||
22619 test ! -s conftest.err
22620 } && test -s conftest.$ac_objext; then
22623 cat >conftest.$ac_ext <<_ACEOF
22626 cat confdefs.h >>conftest.$ac_ext
22627 cat >>conftest.$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 $ac_includes_default
22630 typedef size_t ac__type_sizeof_;
22634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22641 rm -f conftest.$ac_objext
22642 if { (ac_try="$ac_compile"
22643 case "(($ac_try" in
22644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22645 *) ac_try_echo
=$ac_try;;
22647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22648 (eval "$ac_compile") 2>conftest.er1
22650 grep -v '^ *+' conftest.er1
>conftest.err
22652 cat conftest.err
>&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); } && {
22655 test -z "$ac_c_werror_flag" ||
22656 test ! -s conftest.err
22657 } && test -s conftest.
$ac_objext; then
22658 ac_lo
=$ac_mid; break
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.
$ac_ext >&5
22663 ac_hi
=`expr '(' $ac_mid ')' - 1`
22664 if test $ac_mid -le $ac_hi; then
22668 ac_mid
=`expr 2 '*' $ac_mid`
22671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22674 echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.
$ac_ext >&5
22680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22684 # Binary search between lo and hi bounds.
22685 while test "x$ac_lo" != "x$ac_hi"; do
22686 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22687 cat >conftest.
$ac_ext <<_ACEOF
22690 cat confdefs.h
>>conftest.
$ac_ext
22691 cat >>conftest.
$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 $ac_includes_default
22694 typedef size_t ac__type_sizeof_;
22698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22705 rm -f conftest.
$ac_objext
22706 if { (ac_try
="$ac_compile"
22707 case "(($ac_try" in
22708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_compile") 2>conftest.er1
22714 grep -v '^ *+' conftest.er1 >conftest.err
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } && {
22719 test -z "$ac_c_werror_flag" ||
22720 test ! -s conftest.err
22721 } && test -s conftest.$ac_objext; then
22724 echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22727 ac_lo=`expr '(' $ac_mid ')' + 1`
22730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22734 '') if test "$ac_cv_type_size_t" = yes; then
22735 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22736 See \`config.log
' for more details." >&5
22737 echo "$as_me: error: cannot compute sizeof (size_t)
22738 See \`config.log' for more details.
" >&2;}
22739 { (exit 77); exit 77; }; }
22741 ac_cv_sizeof_size_t=0
22745 cat >conftest.$ac_ext <<_ACEOF
22748 cat confdefs.h >>conftest.$ac_ext
22749 cat >>conftest.$ac_ext <<_ACEOF
22750 /* end confdefs.h. */
22751 $ac_includes_default
22752 typedef size_t ac__type_sizeof_;
22753 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22754 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22756 #include <stdlib.h>
22761 FILE *f = fopen ("conftest.val
", "w
");
22764 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22766 long int i = longval ();
22767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22769 fprintf (f, "%ld
\n", i);
22773 unsigned long int i = ulongval ();
22774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22776 fprintf (f, "%lu
\n", i);
22778 return ferror (f) || fclose (f) != 0;
22784 rm -f conftest$ac_exeext
22785 if { (ac_try="$ac_link"
22786 case "(($ac_try" in
22787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22788 *) ac_try_echo=$ac_try;;
22790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22791 (eval "$ac_link") 2>&5
22793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22795 { (case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797 *) ac_try_echo=$ac_try;;
22799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_try") 2>&5
22802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 ac_cv_sizeof_size_t=`cat conftest.val`
22806 echo "$as_me: program exited with status
$ac_status" >&5
22807 echo "$as_me: failed program was
:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22810 ( exit $ac_status )
22811 if test "$ac_cv_type_size_t" = yes; then
22812 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22813 See \
`config.log' for more details." >&5
22814 echo "$as_me: error: cannot compute sizeof (size_t)
22815 See \`config.log
' for more details." >&2;}
22816 { (exit 77); exit 77; }; }
22818 ac_cv_sizeof_size_t=0
22821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22825 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22826 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22830 cat >>confdefs.h <<_ACEOF
22831 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22838 { echo "$as_me:$LINENO: checking for long long" >&5
22839 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22840 if test "${ac_cv_type_long_long+set}" = set; then
22841 echo $ECHO_N "(cached) $ECHO_C" >&6
22843 cat >conftest.$ac_ext <<_ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 $ac_includes_default
22850 typedef long long ac__type_new_;
22854 if ((ac__type_new_ *) 0)
22856 if (sizeof (ac__type_new_))
22862 rm -f conftest.$ac_objext
22863 if { (ac_try="$ac_compile"
22864 case "(($ac_try" in
22865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22866 *) ac_try_echo=$ac_try;;
22868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22869 (eval "$ac_compile") 2>conftest.er1
22871 grep -v '^
*+' conftest.er1 >conftest.err
22873 cat conftest.err >&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } && {
22876 test -z "$ac_c_werror_flag" ||
22877 test ! -s conftest.err
22878 } && test -s conftest.$ac_objext; then
22879 ac_cv_type_long_long=yes
22881 echo "$as_me: failed program was:" >&5
22882 sed 's
/^
/| /' conftest.$ac_ext >&5
22884 ac_cv_type_long_long=no
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22890 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22892 # The cast to long int works around a bug in the HP C Compiler
22893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22895 # This bug is HP SR number 8606223364.
22896 { echo "$as_me:$LINENO: checking size of long long" >&5
22897 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22898 if test "${ac_cv_sizeof_long_long+set}" = set; then
22899 echo $ECHO_N "(cached) $ECHO_C" >&6
22901 if test "$cross_compiling" = yes; then
22902 # Depending upon the size, compute the lo and hi bounds.
22903 cat >conftest.
$ac_ext <<_ACEOF
22906 cat confdefs.h
>>conftest.
$ac_ext
22907 cat >>conftest.
$ac_ext <<_ACEOF
22908 /* end confdefs.h. */
22909 $ac_includes_default
22910 typedef long long ac__type_sizeof_;
22914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22921 rm -f conftest.
$ac_objext
22922 if { (ac_try
="$ac_compile"
22923 case "(($ac_try" in
22924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22925 *) ac_try_echo=$ac_try;;
22927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22928 (eval "$ac_compile") 2>conftest.er1
22930 grep -v '^ *+' conftest.er1 >conftest.err
22932 cat conftest.err >&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } && {
22935 test -z "$ac_c_werror_flag" ||
22936 test ! -s conftest.err
22937 } && test -s conftest.$ac_objext; then
22940 cat >conftest.$ac_ext <<_ACEOF
22943 cat confdefs.h >>conftest.$ac_ext
22944 cat >>conftest.$ac_ext <<_ACEOF
22945 /* end confdefs.h. */
22946 $ac_includes_default
22947 typedef long long ac__type_sizeof_;
22951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22958 rm -f conftest.$ac_objext
22959 if { (ac_try="$ac_compile"
22960 case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22962 *) ac_try_echo
=$ac_try;;
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_compile") 2>conftest.er1
22967 grep -v '^ *+' conftest.er1
>conftest.err
22969 cat conftest.err
>&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); } && {
22972 test -z "$ac_c_werror_flag" ||
22973 test ! -s conftest.err
22974 } && test -s conftest.
$ac_objext; then
22975 ac_hi
=$ac_mid; break
22977 echo "$as_me: failed program was:" >&5
22978 sed 's/^/| /' conftest.
$ac_ext >&5
22980 ac_lo
=`expr $ac_mid + 1`
22981 if test $ac_lo -le $ac_mid; then
22985 ac_mid
=`expr 2 '*' $ac_mid + 1`
22988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.
$ac_ext >&5
22994 cat >conftest.
$ac_ext <<_ACEOF
22997 cat confdefs.h
>>conftest.
$ac_ext
22998 cat >>conftest.
$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000 $ac_includes_default
23001 typedef long long ac__type_sizeof_;
23005 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23012 rm -f conftest.
$ac_objext
23013 if { (ac_try
="$ac_compile"
23014 case "(($ac_try" in
23015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23016 *) ac_try_echo=$ac_try;;
23018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019 (eval "$ac_compile") 2>conftest.er1
23021 grep -v '^ *+' conftest.er1 >conftest.err
23023 cat conftest.err >&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } && {
23026 test -z "$ac_c_werror_flag" ||
23027 test ! -s conftest.err
23028 } && test -s conftest.$ac_objext; then
23031 cat >conftest.$ac_ext <<_ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 $ac_includes_default
23038 typedef long long ac__type_sizeof_;
23042 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23049 rm -f conftest.$ac_objext
23050 if { (ac_try="$ac_compile"
23051 case "(($ac_try" in
23052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23053 *) ac_try_echo
=$ac_try;;
23055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23056 (eval "$ac_compile") 2>conftest.er1
23058 grep -v '^ *+' conftest.er1
>conftest.err
23060 cat conftest.err
>&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } && {
23063 test -z "$ac_c_werror_flag" ||
23064 test ! -s conftest.err
23065 } && test -s conftest.
$ac_objext; then
23066 ac_lo
=$ac_mid; break
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.
$ac_ext >&5
23071 ac_hi
=`expr '(' $ac_mid ')' - 1`
23072 if test $ac_mid -le $ac_hi; then
23076 ac_mid
=`expr 2 '*' $ac_mid`
23079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.
$ac_ext >&5
23088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23092 # Binary search between lo and hi bounds.
23093 while test "x$ac_lo" != "x$ac_hi"; do
23094 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23095 cat >conftest.
$ac_ext <<_ACEOF
23098 cat confdefs.h
>>conftest.
$ac_ext
23099 cat >>conftest.
$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 $ac_includes_default
23102 typedef long long ac__type_sizeof_;
23106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23113 rm -f conftest.
$ac_objext
23114 if { (ac_try
="$ac_compile"
23115 case "(($ac_try" in
23116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23117 *) ac_try_echo=$ac_try;;
23119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23120 (eval "$ac_compile") 2>conftest.er1
23122 grep -v '^ *+' conftest.er1 >conftest.err
23124 cat conftest.err >&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); } && {
23127 test -z "$ac_c_werror_flag" ||
23128 test ! -s conftest.err
23129 } && test -s conftest.$ac_objext; then
23132 echo "$as_me: failed program was:" >&5
23133 sed 's/^/| /' conftest.$ac_ext >&5
23135 ac_lo=`expr '(' $ac_mid ')' + 1`
23138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23141 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23142 '') if test "$ac_cv_type_long_long" = yes; then
23143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23144 See \`config.log
' for more details." >&5
23145 echo "$as_me: error: cannot compute sizeof (long long)
23146 See \`config.log' for more details.
" >&2;}
23147 { (exit 77); exit 77; }; }
23149 ac_cv_sizeof_long_long=0
23153 cat >conftest.$ac_ext <<_ACEOF
23156 cat confdefs.h >>conftest.$ac_ext
23157 cat >>conftest.$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23159 $ac_includes_default
23160 typedef long long ac__type_sizeof_;
23161 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23162 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23164 #include <stdlib.h>
23169 FILE *f = fopen ("conftest.val
", "w
");
23172 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23174 long int i = longval ();
23175 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23177 fprintf (f, "%ld
\n", i);
23181 unsigned long int i = ulongval ();
23182 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23184 fprintf (f, "%lu
\n", i);
23186 return ferror (f) || fclose (f) != 0;
23192 rm -f conftest$ac_exeext
23193 if { (ac_try="$ac_link"
23194 case "(($ac_try" in
23195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23196 *) ac_try_echo=$ac_try;;
23198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23199 (eval "$ac_link") 2>&5
23201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23203 { (case "(($ac_try" in
23204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23205 *) ac_try_echo=$ac_try;;
23207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23208 (eval "$ac_try") 2>&5
23210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23211 (exit $ac_status); }; }; then
23212 ac_cv_sizeof_long_long=`cat conftest.val`
23214 echo "$as_me: program exited with status
$ac_status" >&5
23215 echo "$as_me: failed program was
:" >&5
23216 sed 's/^/| /' conftest.$ac_ext >&5
23218 ( exit $ac_status )
23219 if test "$ac_cv_type_long_long" = yes; then
23220 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23221 See \
`config.log' for more details." >&5
23222 echo "$as_me: error: cannot compute sizeof (long long)
23223 See \`config.log
' for more details." >&2;}
23224 { (exit 77); exit 77; }; }
23226 ac_cv_sizeof_long_long=0
23229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23234 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23238 cat >>confdefs.h <<_ACEOF
23239 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23245 { echo "$as_me:$LINENO: checking for long long" >&5
23246 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23247 if test "${ac_cv_type_long_long+set}" = set; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 cat >conftest.$ac_ext <<_ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 $ac_includes_default
23257 typedef long long ac__type_new_;
23261 if ((ac__type_new_ *) 0)
23263 if (sizeof (ac__type_new_))
23269 rm -f conftest.$ac_objext
23270 if { (ac_try="$ac_compile"
23271 case "(($ac_try" in
23272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23273 *) ac_try_echo=$ac_try;;
23275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23276 (eval "$ac_compile") 2>conftest.er1
23278 grep -v '^
*+' conftest.er1 >conftest.err
23280 cat conftest.err >&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); } && {
23283 test -z "$ac_c_werror_flag" ||
23284 test ! -s conftest.err
23285 } && test -s conftest.$ac_objext; then
23286 ac_cv_type_long_long=yes
23288 echo "$as_me: failed program was:" >&5
23289 sed 's
/^
/| /' conftest.$ac_ext >&5
23291 ac_cv_type_long_long=no
23294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23297 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23299 # The cast to long int works around a bug in the HP C Compiler
23300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23302 # This bug is HP SR number 8606223364.
23303 { echo "$as_me:$LINENO: checking size of long long" >&5
23304 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23305 if test "${ac_cv_sizeof_long_long+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 if test "$cross_compiling" = yes; then
23309 # Depending upon the size, compute the lo and hi bounds.
23310 cat >conftest.
$ac_ext <<_ACEOF
23313 cat confdefs.h
>>conftest.
$ac_ext
23314 cat >>conftest.
$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 $ac_includes_default
23317 typedef long long ac__type_sizeof_;
23321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23328 rm -f conftest.
$ac_objext
23329 if { (ac_try
="$ac_compile"
23330 case "(($ac_try" in
23331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_compile") 2>conftest.er1
23337 grep -v '^ *+' conftest.er1 >conftest.err
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest.$ac_objext; then
23347 cat >conftest.$ac_ext <<_ACEOF
23350 cat confdefs.h >>conftest.$ac_ext
23351 cat >>conftest.$ac_ext <<_ACEOF
23352 /* end confdefs.h. */
23353 $ac_includes_default
23354 typedef long long ac__type_sizeof_;
23358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23365 rm -f conftest.$ac_objext
23366 if { (ac_try="$ac_compile"
23367 case "(($ac_try" in
23368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23369 *) ac_try_echo
=$ac_try;;
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23372 (eval "$ac_compile") 2>conftest.er1
23374 grep -v '^ *+' conftest.er1
>conftest.err
23376 cat conftest.err
>&5
23377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23378 (exit $ac_status); } && {
23379 test -z "$ac_c_werror_flag" ||
23380 test ! -s conftest.err
23381 } && test -s conftest.
$ac_objext; then
23382 ac_hi
=$ac_mid; break
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.
$ac_ext >&5
23387 ac_lo
=`expr $ac_mid + 1`
23388 if test $ac_lo -le $ac_mid; then
23392 ac_mid
=`expr 2 '*' $ac_mid + 1`
23395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.
$ac_ext >&5
23401 cat >conftest.
$ac_ext <<_ACEOF
23404 cat confdefs.h
>>conftest.
$ac_ext
23405 cat >>conftest.
$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 $ac_includes_default
23408 typedef long long ac__type_sizeof_;
23412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23419 rm -f conftest.
$ac_objext
23420 if { (ac_try
="$ac_compile"
23421 case "(($ac_try" in
23422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23423 *) ac_try_echo=$ac_try;;
23425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426 (eval "$ac_compile") 2>conftest.er1
23428 grep -v '^ *+' conftest.er1 >conftest.err
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } && {
23433 test -z "$ac_c_werror_flag" ||
23434 test ! -s conftest.err
23435 } && test -s conftest.$ac_objext; then
23438 cat >conftest.$ac_ext <<_ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 $ac_includes_default
23445 typedef long long ac__type_sizeof_;
23449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23456 rm -f conftest.$ac_objext
23457 if { (ac_try="$ac_compile"
23458 case "(($ac_try" in
23459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23460 *) ac_try_echo
=$ac_try;;
23462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23463 (eval "$ac_compile") 2>conftest.er1
23465 grep -v '^ *+' conftest.er1
>conftest.err
23467 cat conftest.err
>&5
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); } && {
23470 test -z "$ac_c_werror_flag" ||
23471 test ! -s conftest.err
23472 } && test -s conftest.
$ac_objext; then
23473 ac_lo
=$ac_mid; break
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.
$ac_ext >&5
23478 ac_hi
=`expr '(' $ac_mid ')' - 1`
23479 if test $ac_mid -le $ac_hi; then
23483 ac_mid
=`expr 2 '*' $ac_mid`
23486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.
$ac_ext >&5
23495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23499 # Binary search between lo and hi bounds.
23500 while test "x$ac_lo" != "x$ac_hi"; do
23501 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23502 cat >conftest.
$ac_ext <<_ACEOF
23505 cat confdefs.h
>>conftest.
$ac_ext
23506 cat >>conftest.
$ac_ext <<_ACEOF
23507 /* end confdefs.h. */
23508 $ac_includes_default
23509 typedef long long ac__type_sizeof_;
23513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23520 rm -f conftest.
$ac_objext
23521 if { (ac_try
="$ac_compile"
23522 case "(($ac_try" in
23523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23524 *) ac_try_echo=$ac_try;;
23526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23527 (eval "$ac_compile") 2>conftest.er1
23529 grep -v '^ *+' conftest.er1 >conftest.err
23531 cat conftest.err >&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); } && {
23534 test -z "$ac_c_werror_flag" ||
23535 test ! -s conftest.err
23536 } && test -s conftest.$ac_objext; then
23539 echo "$as_me: failed program was:" >&5
23540 sed 's/^/| /' conftest.$ac_ext >&5
23542 ac_lo=`expr '(' $ac_mid ')' + 1`
23545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23548 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23549 '') if test "$ac_cv_type_long_long" = yes; then
23550 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23551 See \`config.log
' for more details." >&5
23552 echo "$as_me: error: cannot compute sizeof (long long)
23553 See \`config.log' for more details.
" >&2;}
23554 { (exit 77); exit 77; }; }
23556 ac_cv_sizeof_long_long=0
23560 cat >conftest.$ac_ext <<_ACEOF
23563 cat confdefs.h >>conftest.$ac_ext
23564 cat >>conftest.$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23566 $ac_includes_default
23567 typedef long long ac__type_sizeof_;
23568 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23569 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23571 #include <stdlib.h>
23576 FILE *f = fopen ("conftest.val
", "w
");
23579 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23581 long int i = longval ();
23582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23584 fprintf (f, "%ld
\n", i);
23588 unsigned long int i = ulongval ();
23589 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23591 fprintf (f, "%lu
\n", i);
23593 return ferror (f) || fclose (f) != 0;
23599 rm -f conftest$ac_exeext
23600 if { (ac_try="$ac_link"
23601 case "(($ac_try" in
23602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23603 *) ac_try_echo=$ac_try;;
23605 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23606 (eval "$ac_link") 2>&5
23608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23610 { (case "(($ac_try" in
23611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23612 *) ac_try_echo=$ac_try;;
23614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23615 (eval "$ac_try") 2>&5
23617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23618 (exit $ac_status); }; }; then
23619 ac_cv_sizeof_long_long=`cat conftest.val`
23621 echo "$as_me: program exited with status
$ac_status" >&5
23622 echo "$as_me: failed program was
:" >&5
23623 sed 's/^/| /' conftest.$ac_ext >&5
23625 ( exit $ac_status )
23626 if test "$ac_cv_type_long_long" = yes; then
23627 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23628 See \
`config.log' for more details." >&5
23629 echo "$as_me: error: cannot compute sizeof (long long)
23630 See \`config.log
' for more details." >&2;}
23631 { (exit 77); exit 77; }; }
23633 ac_cv_sizeof_long_long=0
23636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23640 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23641 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23645 cat >>confdefs.h <<_ACEOF
23646 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23650 if test "$ac_cv_sizeof_long_long" != 0; then
23651 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23655 { echo "$as_me:$LINENO: checking for long long" >&5
23656 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23657 if test "${ac_cv_type_long_long+set}" = set; then
23658 echo $ECHO_N "(cached) $ECHO_C" >&6
23660 cat >conftest.$ac_ext <<_ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 $ac_includes_default
23667 typedef long long ac__type_new_;
23671 if ((ac__type_new_ *) 0)
23673 if (sizeof (ac__type_new_))
23679 rm -f conftest.$ac_objext
23680 if { (ac_try="$ac_compile"
23681 case "(($ac_try" in
23682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23683 *) ac_try_echo=$ac_try;;
23685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23686 (eval "$ac_compile") 2>conftest.er1
23688 grep -v '^
*+' conftest.er1 >conftest.err
23690 cat conftest.err >&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); } && {
23693 test -z "$ac_c_werror_flag" ||
23694 test ! -s conftest.err
23695 } && test -s conftest.$ac_objext; then
23696 ac_cv_type_long_long=yes
23698 echo "$as_me: failed program was:" >&5
23699 sed 's
/^
/| /' conftest.$ac_ext >&5
23701 ac_cv_type_long_long=no
23704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23707 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23709 # The cast to long int works around a bug in the HP C Compiler
23710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23712 # This bug is HP SR number 8606223364.
23713 { echo "$as_me:$LINENO: checking size of long long" >&5
23714 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23715 if test "${ac_cv_sizeof_long_long+set}" = set; then
23716 echo $ECHO_N "(cached) $ECHO_C" >&6
23718 if test "$cross_compiling" = yes; then
23719 # Depending upon the size, compute the lo and hi bounds.
23720 cat >conftest.
$ac_ext <<_ACEOF
23723 cat confdefs.h
>>conftest.
$ac_ext
23724 cat >>conftest.
$ac_ext <<_ACEOF
23725 /* end confdefs.h. */
23726 $ac_includes_default
23727 typedef long long ac__type_sizeof_;
23731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23738 rm -f conftest.
$ac_objext
23739 if { (ac_try
="$ac_compile"
23740 case "(($ac_try" in
23741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_compile") 2>conftest.er1
23747 grep -v '^ *+' conftest.er1 >conftest.err
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } && {
23752 test -z "$ac_c_werror_flag" ||
23753 test ! -s conftest.err
23754 } && test -s conftest.$ac_objext; then
23757 cat >conftest.$ac_ext <<_ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 $ac_includes_default
23764 typedef long long ac__type_sizeof_;
23768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23775 rm -f conftest.$ac_objext
23776 if { (ac_try="$ac_compile"
23777 case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23779 *) ac_try_echo
=$ac_try;;
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_compile") 2>conftest.er1
23784 grep -v '^ *+' conftest.er1
>conftest.err
23786 cat conftest.err
>&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } && {
23789 test -z "$ac_c_werror_flag" ||
23790 test ! -s conftest.err
23791 } && test -s conftest.
$ac_objext; then
23792 ac_hi
=$ac_mid; break
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.
$ac_ext >&5
23797 ac_lo
=`expr $ac_mid + 1`
23798 if test $ac_lo -le $ac_mid; then
23802 ac_mid
=`expr 2 '*' $ac_mid + 1`
23805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.
$ac_ext >&5
23811 cat >conftest.
$ac_ext <<_ACEOF
23814 cat confdefs.h
>>conftest.
$ac_ext
23815 cat >>conftest.
$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817 $ac_includes_default
23818 typedef long long ac__type_sizeof_;
23822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23829 rm -f conftest.
$ac_objext
23830 if { (ac_try
="$ac_compile"
23831 case "(($ac_try" in
23832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23833 *) ac_try_echo=$ac_try;;
23835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23836 (eval "$ac_compile") 2>conftest.er1
23838 grep -v '^ *+' conftest.er1 >conftest.err
23840 cat conftest.err >&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } && {
23843 test -z "$ac_c_werror_flag" ||
23844 test ! -s conftest.err
23845 } && test -s conftest.$ac_objext; then
23848 cat >conftest.$ac_ext <<_ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 $ac_includes_default
23855 typedef long long ac__type_sizeof_;
23859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23866 rm -f conftest.$ac_objext
23867 if { (ac_try="$ac_compile"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23870 *) ac_try_echo
=$ac_try;;
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_compile") 2>conftest.er1
23875 grep -v '^ *+' conftest.er1
>conftest.err
23877 cat conftest.err
>&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_c_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest.
$ac_objext; then
23883 ac_lo
=$ac_mid; break
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.
$ac_ext >&5
23888 ac_hi
=`expr '(' $ac_mid ')' - 1`
23889 if test $ac_mid -le $ac_hi; then
23893 ac_mid
=`expr 2 '*' $ac_mid`
23896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23899 echo "$as_me: failed program was:" >&5
23900 sed 's/^/| /' conftest.
$ac_ext >&5
23905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23909 # Binary search between lo and hi bounds.
23910 while test "x$ac_lo" != "x$ac_hi"; do
23911 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23912 cat >conftest.
$ac_ext <<_ACEOF
23915 cat confdefs.h
>>conftest.
$ac_ext
23916 cat >>conftest.
$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 $ac_includes_default
23919 typedef long long ac__type_sizeof_;
23923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23930 rm -f conftest.
$ac_objext
23931 if { (ac_try
="$ac_compile"
23932 case "(($ac_try" in
23933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23934 *) ac_try_echo=$ac_try;;
23936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23937 (eval "$ac_compile") 2>conftest.er1
23939 grep -v '^ *+' conftest.er1 >conftest.err
23941 cat conftest.err >&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } && {
23944 test -z "$ac_c_werror_flag" ||
23945 test ! -s conftest.err
23946 } && test -s conftest.$ac_objext; then
23949 echo "$as_me: failed program was:" >&5
23950 sed 's/^/| /' conftest.$ac_ext >&5
23952 ac_lo=`expr '(' $ac_mid ')' + 1`
23955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23958 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23959 '') if test "$ac_cv_type_long_long" = yes; then
23960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23961 See \`config.log
' for more details." >&5
23962 echo "$as_me: error: cannot compute sizeof (long long)
23963 See \`config.log' for more details.
" >&2;}
23964 { (exit 77); exit 77; }; }
23966 ac_cv_sizeof_long_long=0
23970 cat >conftest.$ac_ext <<_ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976 $ac_includes_default
23977 typedef long long ac__type_sizeof_;
23978 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23979 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23981 #include <stdlib.h>
23986 FILE *f = fopen ("conftest.val
", "w
");
23989 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23991 long int i = longval ();
23992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23994 fprintf (f, "%ld
\n", i);
23998 unsigned long int i = ulongval ();
23999 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24001 fprintf (f, "%lu
\n", i);
24003 return ferror (f) || fclose (f) != 0;
24009 rm -f conftest$ac_exeext
24010 if { (ac_try="$ac_link"
24011 case "(($ac_try" in
24012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24013 *) ac_try_echo=$ac_try;;
24015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24016 (eval "$ac_link") 2>&5
24018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24020 { (case "(($ac_try" in
24021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24022 *) ac_try_echo=$ac_try;;
24024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24025 (eval "$ac_try") 2>&5
24027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24028 (exit $ac_status); }; }; then
24029 ac_cv_sizeof_long_long=`cat conftest.val`
24031 echo "$as_me: program exited with status
$ac_status" >&5
24032 echo "$as_me: failed program was
:" >&5
24033 sed 's/^/| /' conftest.$ac_ext >&5
24035 ( exit $ac_status )
24036 if test "$ac_cv_type_long_long" = yes; then
24037 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24038 See \
`config.log' for more details." >&5
24039 echo "$as_me: error: cannot compute sizeof (long long)
24040 See \`config.log
' for more details." >&2;}
24041 { (exit 77); exit 77; }; }
24043 ac_cv_sizeof_long_long=0
24046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24050 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24051 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24055 cat >>confdefs.h <<_ACEOF
24056 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24062 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24063 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24064 if test "${ac_cv_type_wchar_t+set}" = set; then
24065 echo $ECHO_N "(cached) $ECHO_C" >&6
24067 cat >conftest.$ac_ext <<_ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24074 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24075 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24076 # error "fake wchar_t"
24078 #ifdef HAVE_WCHAR_H
24080 # include <stddef.h>
24082 # include <wchar.h>
24084 #ifdef HAVE_STDLIB_H
24085 # include <stdlib.h>
24091 typedef wchar_t ac__type_new_
;
24095 if ((ac__type_new_
*) 0)
24097 if (sizeof
(ac__type_new_
))
24103 rm -f conftest.
$ac_objext
24104 if { (ac_try
="$ac_compile"
24105 case "(($ac_try" in
24106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24107 *) ac_try_echo=$ac_try;;
24109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24110 (eval "$ac_compile") 2>conftest.er1
24112 grep -v '^ *+' conftest.er1 >conftest.err
24114 cat conftest.err >&5
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); } && {
24117 test -z "$ac_c_werror_flag" ||
24118 test ! -s conftest.err
24119 } && test -s conftest.$ac_objext; then
24120 ac_cv_type_wchar_t=yes
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24125 ac_cv_type_wchar_t=no
24128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24131 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24133 # The cast to long int works around a bug in the HP C Compiler
24134 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24135 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24136 # This bug is HP SR number 8606223364.
24137 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24138 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24139 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 if test "$cross_compiling" = yes; then
24143 # Depending upon the size, compute the lo and hi bounds.
24144 cat >conftest.$ac_ext <<_ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24151 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24152 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24153 # error "fake wchar_t"
24155 #ifdef HAVE_WCHAR_H
24157 # include <stddef.h>
24159 # include <wchar.h>
24161 #ifdef HAVE_STDLIB_H
24162 # include <stdlib.h>
24168 typedef wchar_t ac__type_sizeof_
;
24172 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24179 rm -f conftest.
$ac_objext
24180 if { (ac_try
="$ac_compile"
24181 case "(($ac_try" in
24182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24183 *) ac_try_echo=$ac_try;;
24185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24186 (eval "$ac_compile") 2>conftest.er1
24188 grep -v '^ *+' conftest.er1 >conftest.err
24190 cat conftest.err >&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } && {
24193 test -z "$ac_c_werror_flag" ||
24194 test ! -s conftest.err
24195 } && test -s conftest.$ac_objext; then
24198 cat >conftest.$ac_ext <<_ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24205 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24206 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24207 # error "fake wchar_t"
24209 #ifdef HAVE_WCHAR_H
24211 # include <stddef.h>
24213 # include <wchar.h>
24215 #ifdef HAVE_STDLIB_H
24216 # include <stdlib.h>
24222 typedef wchar_t ac__type_sizeof_;
24226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24233 rm -f conftest.$ac_objext
24234 if { (ac_try="$ac_compile"
24235 case "(($ac_try" in
24236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24237 *) ac_try_echo
=$ac_try;;
24239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24240 (eval "$ac_compile") 2>conftest.er1
24242 grep -v '^ *+' conftest.er1
>conftest.err
24244 cat conftest.err
>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } && {
24247 test -z "$ac_c_werror_flag" ||
24248 test ! -s conftest.err
24249 } && test -s conftest.
$ac_objext; then
24250 ac_hi
=$ac_mid; break
24252 echo "$as_me: failed program was:" >&5
24253 sed 's/^/| /' conftest.
$ac_ext >&5
24255 ac_lo
=`expr $ac_mid + 1`
24256 if test $ac_lo -le $ac_mid; then
24260 ac_mid
=`expr 2 '*' $ac_mid + 1`
24263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.
$ac_ext >&5
24269 cat >conftest.
$ac_ext <<_ACEOF
24272 cat confdefs.h
>>conftest.
$ac_ext
24273 cat >>conftest.
$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24276 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24277 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24278 # error "fake wchar_t"
24280 #ifdef HAVE_WCHAR_H
24282 # include <stddef.h>
24284 # include <wchar.h>
24286 #ifdef HAVE_STDLIB_H
24287 # include <stdlib.h>
24293 typedef wchar_t ac__type_sizeof_;
24297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24304 rm -f conftest.
$ac_objext
24305 if { (ac_try
="$ac_compile"
24306 case "(($ac_try" in
24307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24308 *) ac_try_echo=$ac_try;;
24310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24311 (eval "$ac_compile") 2>conftest.er1
24313 grep -v '^ *+' conftest.er1 >conftest.err
24315 cat conftest.err >&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); } && {
24318 test -z "$ac_c_werror_flag" ||
24319 test ! -s conftest.err
24320 } && test -s conftest.$ac_objext; then
24323 cat >conftest.$ac_ext <<_ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24330 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24331 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24332 # error "fake wchar_t"
24334 #ifdef HAVE_WCHAR_H
24336 # include <stddef.h>
24338 # include <wchar.h>
24340 #ifdef HAVE_STDLIB_H
24341 # include <stdlib.h>
24347 typedef wchar_t ac__type_sizeof_;
24351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24362 *) ac_try_echo
=$ac_try;;
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24367 grep -v '^ *+' conftest.er1
>conftest.err
24369 cat conftest.err
>&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_c_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.
$ac_objext; then
24375 ac_lo
=$ac_mid; break
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.
$ac_ext >&5
24380 ac_hi
=`expr '(' $ac_mid ')' - 1`
24381 if test $ac_mid -le $ac_hi; then
24385 ac_mid
=`expr 2 '*' $ac_mid`
24388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24391 echo "$as_me: failed program was:" >&5
24392 sed 's/^/| /' conftest.
$ac_ext >&5
24397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24401 # Binary search between lo and hi bounds.
24402 while test "x$ac_lo" != "x$ac_hi"; do
24403 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24404 cat >conftest.
$ac_ext <<_ACEOF
24407 cat confdefs.h
>>conftest.
$ac_ext
24408 cat >>conftest.
$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24411 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24412 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24413 # error "fake wchar_t"
24415 #ifdef HAVE_WCHAR_H
24417 # include <stddef.h>
24419 # include <wchar.h>
24421 #ifdef HAVE_STDLIB_H
24422 # include <stdlib.h>
24428 typedef wchar_t ac__type_sizeof_;
24432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24439 rm -f conftest.
$ac_objext
24440 if { (ac_try
="$ac_compile"
24441 case "(($ac_try" in
24442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24443 *) ac_try_echo=$ac_try;;
24445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 (eval "$ac_compile") 2>conftest.er1
24448 grep -v '^ *+' conftest.er1 >conftest.err
24450 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && {
24453 test -z "$ac_c_werror_flag" ||
24454 test ! -s conftest.err
24455 } && test -s conftest.$ac_objext; then
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.$ac_ext >&5
24461 ac_lo=`expr '(' $ac_mid ')' + 1`
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24468 '') if test "$ac_cv_type_wchar_t" = yes; then
24469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24470 See \`config.log
' for more details." >&5
24471 echo "$as_me: error: cannot compute sizeof (wchar_t)
24472 See \`config.log' for more details.
" >&2;}
24473 { (exit 77); exit 77; }; }
24475 ac_cv_sizeof_wchar_t=0
24479 cat >conftest.$ac_ext <<_ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24486 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24487 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24488 # error "fake wchar_t
"
24490 #ifdef HAVE_WCHAR_H
24492 # include <stddef.h>
24494 # include <wchar.h>
24496 #ifdef HAVE_STDLIB_H
24497 # include <stdlib.h>
24503 typedef wchar_t ac__type_sizeof_;
24504 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24505 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24507 #include <stdlib.h>
24512 FILE *f = fopen ("conftest.val
", "w
");
24515 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24517 long int i = longval ();
24518 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24520 fprintf (f, "%ld
\n", i);
24524 unsigned long int i = ulongval ();
24525 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24527 fprintf (f, "%lu
\n", i);
24529 return ferror (f) || fclose (f) != 0;
24535 rm -f conftest$ac_exeext
24536 if { (ac_try="$ac_link"
24537 case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24541 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_link") 2>&5
24544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24546 { (case "(($ac_try" in
24547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24548 *) ac_try_echo=$ac_try;;
24550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24551 (eval "$ac_try") 2>&5
24553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24554 (exit $ac_status); }; }; then
24555 ac_cv_sizeof_wchar_t=`cat conftest.val`
24557 echo "$as_me: program exited with status
$ac_status" >&5
24558 echo "$as_me: failed program was
:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24561 ( exit $ac_status )
24562 if test "$ac_cv_type_wchar_t" = yes; then
24563 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24564 See \
`config.log' for more details." >&5
24565 echo "$as_me: error: cannot compute sizeof (wchar_t)
24566 See \`config.log
' for more details." >&2;}
24567 { (exit 77); exit 77; }; }
24569 ac_cv_sizeof_wchar_t=0
24572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24576 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24577 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24581 cat >>confdefs.h <<_ACEOF
24582 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24586 if test "$ac_cv_sizeof_wchar_t" = 0; then
24587 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24588 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24589 { (exit 1); exit 1; }; }
24591 cat >>confdefs.h <<\_ACEOF
24592 #define wxUSE_WCHAR_T 1
24596 { echo "$as_me:$LINENO: checking for va_copy" >&5
24597 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24598 if test "${wx_cv_func_va_copy+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 ac_cpp='$CXXCPP $CPPFLAGS'
24604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24605 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24608 cat >conftest.$ac_ext <<_ACEOF
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24616 #include <stdarg.h>
24617 void foo(char *f, ...)
24632 rm -f conftest.$ac_objext conftest$ac_exeext
24633 if { (ac_try="$ac_link"
24634 case "(($ac_try" in
24635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24636 *) ac_try_echo=$ac_try;;
24638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24639 (eval "$ac_link") 2>conftest.er1
24641 grep -v '^
*+' conftest.er1 >conftest.err
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } && {
24646 test -z "$ac_cxx_werror_flag" ||
24647 test ! -s conftest.err
24648 } && test -s conftest$ac_exeext &&
24649 $as_test_x conftest$ac_exeext; then
24650 wx_cv_func_va_copy=yes
24652 echo "$as_me: failed program was:" >&5
24653 sed 's
/^
/| /' conftest.$ac_ext >&5
24655 wx_cv_func_va_copy=no
24659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24660 conftest$ac_exeext 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_func_va_copy" >&5
24671 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24673 if test $wx_cv_func_va_copy = "yes"; then
24674 cat >>confdefs.h <<\_ACEOF
24675 #define HAVE_VA_COPY 1
24679 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24680 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24681 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24685 if test "$cross_compiling" = yes; then
24686 wx_cv_type_va_list_lvalue=yes
24689 cat >conftest.$ac_ext <<_ACEOF
24693 cat confdefs.h >>conftest.$ac_ext
24694 cat >>conftest.$ac_ext <<_ACEOF
24695 /* end confdefs.h. */
24697 #include <stdarg.h>
24698 int foo(char *f, ...)
24703 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24711 return foo("hi", 17);
24715 rm -f conftest$ac_exeext
24716 if { (ac_try="$ac_link"
24717 case "(($ac_try" in
24718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_link") 2>&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24726 { (case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_try") 2>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; }; then
24735 wx_cv_type_va_list_lvalue=yes
24737 echo "$as_me: program exited with status $ac_status" >&5
24738 echo "$as_me: failed program was:" >&5
24739 sed 's
/^
/| /' conftest.$ac_ext >&5
24741 ( exit $ac_status )
24742 wx_cv_type_va_list_lvalue=no
24744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24751 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24752 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24754 if test $wx_cv_type_va_list_lvalue != "yes"; then
24755 cat >>confdefs.h <<\_ACEOF
24756 #define VA_LIST_IS_ARRAY 1
24762 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24764 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24765 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24766 if test "${wx_cv_have_variadic_macros+set}" = set; then
24767 echo $ECHO_N "(cached) $ECHO_C" >&6
24771 ac_cpp='$CXXCPP $CPPFLAGS'
24772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24773 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776 cat >conftest.$ac_ext <<_ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24785 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24791 test("%s %d %p", "test", 1, 0);
24798 rm -f conftest.$ac_objext
24799 if { (ac_try="$ac_compile"
24800 case "(($ac_try" in
24801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24802 *) ac_try_echo=$ac_try;;
24804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24805 (eval "$ac_compile") 2>conftest.er1
24807 grep -v '^
*+' conftest.er1 >conftest.err
24809 cat conftest.err >&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); } && {
24812 test -z "$ac_cxx_werror_flag" ||
24813 test ! -s conftest.err
24814 } && test -s conftest.$ac_objext; then
24815 wx_cv_have_variadic_macros=yes
24817 echo "$as_me: failed program was:" >&5
24818 sed 's
/^
/| /' conftest.$ac_ext >&5
24820 wx_cv_have_variadic_macros=no
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24826 ac_cpp='$CPP $CPPFLAGS'
24827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24828 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24834 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24835 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24837 if test $wx_cv_have_variadic_macros = "yes"; then
24838 cat >>confdefs.h <<\_ACEOF
24839 #define HAVE_VARIADIC_MACROS 1
24846 LARGEFILE_CPPFLAGS=
24847 # Check whether --enable-largefile was given.
24848 if test "${enable_largefile+set}" = set; then
24849 enableval=$enable_largefile;
24852 if test "$enable_largefile" != no; then
24855 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24856 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24857 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 cat >conftest.$ac_ext <<_ACEOF
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24867 #define _FILE_OFFSET_BITS 64
24868 #include <sys/types.h>
24873 unsigned int field: sizeof(off_t) == 8;
24880 rm -f conftest.$ac_objext
24881 if { (ac_try="$ac_compile"
24882 case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24884 *) ac_try_echo=$ac_try;;
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_compile") 2>conftest.er1
24889 grep -v '^
*+' conftest.er1 >conftest.err
24891 cat conftest.err >&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); } && {
24894 test -z "$ac_c_werror_flag" ||
24895 test ! -s conftest.err
24896 } && test -s conftest.$ac_objext; then
24897 ac_cv_sys_file_offset_bits=64
24899 echo "$as_me: failed program was:" >&5
24900 sed 's
/^
/| /' conftest.$ac_ext >&5
24902 ac_cv_sys_file_offset_bits=no
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24909 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24910 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24912 if test "$ac_cv_sys_file_offset_bits" != no; then
24914 cat >>confdefs.h <<_ACEOF
24915 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24920 if test "x$wx_largefile" != "xyes"; then
24922 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24923 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24924 if test "${ac_cv_sys_large_files+set}" = set; then
24925 echo $ECHO_N "(cached) $ECHO_C" >&6
24928 cat >conftest.$ac_ext <<_ACEOF
24931 cat confdefs.h >>conftest.$ac_ext
24932 cat >>conftest.$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24934 #define _LARGE_FILES 1
24935 #include <sys/types.h>
24940 unsigned int field: sizeof(off_t) == 8;
24947 rm -f conftest.$ac_objext
24948 if { (ac_try="$ac_compile"
24949 case "(($ac_try" in
24950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24951 *) ac_try_echo=$ac_try;;
24953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24954 (eval "$ac_compile") 2>conftest.er1
24956 grep -v '^
*+' conftest.er1 >conftest.err
24958 cat conftest.err >&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } && {
24961 test -z "$ac_c_werror_flag" ||
24962 test ! -s conftest.err
24963 } && test -s conftest.$ac_objext; then
24964 ac_cv_sys_large_files=1
24966 echo "$as_me: failed program was:" >&5
24967 sed 's
/^
/| /' conftest.$ac_ext >&5
24969 ac_cv_sys_large_files=no
24972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24977 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24979 if test "$ac_cv_sys_large_files" != no; then
24981 cat >>confdefs.h <<_ACEOF
24982 #define _LARGE_FILES $ac_cv_sys_large_files
24989 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24990 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24991 if test "x$wx_largefile" = "xyes"; then
24992 cat >>confdefs.h <<\_ACEOF
24993 #define HAVE_LARGEFILE_SUPPORT 1
24997 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24998 echo "${ECHO_T}$wx_largefile" >&6; }
25001 if test "$ac_cv_sys_file_offset_bits" = "64"; then
25002 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
25003 elif test "$ac_cv_sys_large_files" = 1; then
25004 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
25007 if test -n "$LARGEFILE_CPPFLAGS"; then
25008 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
25010 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25011 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25012 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25013 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 ac_cpp='$CXXCPP $CPPFLAGS'
25019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25020 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25023 cat >conftest.$ac_ext <<_ACEOF
25026 cat confdefs.h >>conftest.$ac_ext
25027 cat >>conftest.$ac_ext <<_ACEOF
25028 /* end confdefs.h. */
25034 #ifndef __STDC_EXT__
25042 rm -f conftest.$ac_objext
25043 if { (ac_try="$ac_compile"
25044 case "(($ac_try" in
25045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25046 *) ac_try_echo=$ac_try;;
25048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25049 (eval "$ac_compile") 2>conftest.er1
25051 grep -v '^
*+' conftest.er1 >conftest.err
25053 cat conftest.err >&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); } && {
25056 test -z "$ac_cxx_werror_flag" ||
25057 test ! -s conftest.err
25058 } && test -s conftest.$ac_objext; then
25059 wx_cv_STDC_EXT_required=no
25061 echo "$as_me: failed program was:" >&5
25062 sed 's
/^
/| /' conftest.$ac_ext >&5
25064 wx_cv_STDC_EXT_required=yes
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25072 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25078 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25079 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25080 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25081 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25089 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092 old_CPPFLAGS="$CPPFLAGS"
25093 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25094 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25095 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25096 if test "${ac_cv_sys_largefile_source+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 cat >conftest.$ac_ext <<_ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106 #include <sys/types.h> /* for off_t */
25111 int (*fp) (FILE *, off_t, int) = fseeko;
25112 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25117 rm -f conftest.$ac_objext conftest$ac_exeext
25118 if { (ac_try="$ac_link"
25119 case "(($ac_try" in
25120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25121 *) ac_try_echo=$ac_try;;
25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124 (eval "$ac_link") 2>conftest.er1
25126 grep -v '^
*+' conftest.er1 >conftest.err
25128 cat conftest.err >&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } && {
25131 test -z "$ac_cxx_werror_flag" ||
25132 test ! -s conftest.err
25133 } && test -s conftest$ac_exeext &&
25134 $as_test_x conftest$ac_exeext; then
25135 ac_cv_sys_largefile_source=no; break
25137 echo "$as_me: failed program was:" >&5
25138 sed 's
/^
/| /' conftest.$ac_ext >&5
25143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25144 conftest$ac_exeext conftest.$ac_ext
25145 cat >conftest.$ac_ext <<_ACEOF
25148 cat confdefs.h >>conftest.$ac_ext
25149 cat >>conftest.$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25151 #define _LARGEFILE_SOURCE 1
25152 #include <sys/types.h> /* for off_t */
25157 int (*fp) (FILE *, off_t, int) = fseeko;
25158 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25163 rm -f conftest.$ac_objext conftest$ac_exeext
25164 if { (ac_try="$ac_link"
25165 case "(($ac_try" in
25166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170 (eval "$ac_link") 2>conftest.er1
25172 grep -v '^
*+' conftest.er1 >conftest.err
25174 cat conftest.err >&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); } && {
25177 test -z "$ac_cxx_werror_flag" ||
25178 test ! -s conftest.err
25179 } && test -s conftest$ac_exeext &&
25180 $as_test_x conftest$ac_exeext; then
25181 ac_cv_sys_largefile_source=1; break
25183 echo "$as_me: failed program was:" >&5
25184 sed 's
/^
/| /' conftest.$ac_ext >&5
25189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25190 conftest$ac_exeext conftest.$ac_ext
25191 ac_cv_sys_largefile_source=unknown
25195 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25196 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25197 case $ac_cv_sys_largefile_source in #(
25200 cat >>confdefs.h <<_ACEOF
25201 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25207 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25208 # in glibc 2.1.3, but that breaks too many other things.
25209 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25210 if test $ac_cv_sys_largefile_source != unknown; then
25212 cat >>confdefs.h <<\_ACEOF
25213 #define HAVE_FSEEKO 1
25218 CPPFLAGS="$old_CPPFLAGS"
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25222 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25225 if test "$ac_cv_sys_largefile_source" != no; then
25226 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25229 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25230 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25231 if test "${ac_cv_c_bigendian+set}" = set; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25234 ac_cv_c_bigendian=unknown
25235 # See if sys/param.h defines the BYTE_ORDER macro.
25236 cat >conftest.$ac_ext <<_ACEOF
25239 cat confdefs.h >>conftest.$ac_ext
25240 cat >>conftest.$ac_ext <<_ACEOF
25241 /* end confdefs.h. */
25242 #include <sys/types.h>
25243 #include <sys/param.h>
25248 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25249 bogus endian macros
25255 rm -f conftest.$ac_objext
25256 if { (ac_try="$ac_compile"
25257 case "(($ac_try" in
25258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25259 *) ac_try_echo=$ac_try;;
25261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25262 (eval "$ac_compile") 2>conftest.er1
25264 grep -v '^
*+' conftest.er1 >conftest.err
25266 cat conftest.err >&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } && {
25269 test -z "$ac_c_werror_flag" ||
25270 test ! -s conftest.err
25271 } && test -s conftest.$ac_objext; then
25272 # It does; now see whether it defined to BIG_ENDIAN or not.
25273 cat >conftest.$ac_ext <<_ACEOF
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25279 #include <sys/types.h>
25280 #include <sys/param.h>
25285 #if BYTE_ORDER != BIG_ENDIAN
25292 rm -f conftest.$ac_objext
25293 if { (ac_try="$ac_compile"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_compile") 2>conftest.er1
25301 grep -v '^
*+' conftest.er1 >conftest.err
25303 cat conftest.err >&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && {
25306 test -z "$ac_c_werror_flag" ||
25307 test ! -s conftest.err
25308 } && test -s conftest.$ac_objext; then
25309 ac_cv_c_bigendian=yes
25311 echo "$as_me: failed program was:" >&5
25312 sed 's
/^
/| /' conftest.$ac_ext >&5
25314 ac_cv_c_bigendian=no
25317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25319 echo "$as_me: failed program was:" >&5
25320 sed 's
/^
/| /' conftest.$ac_ext >&5
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 if test $ac_cv_c_bigendian = unknown; then
25327 if test "$cross_compiling" = yes; then
25328 ac_cv_c_bigendian=unknown
25330 cat >conftest.$ac_ext <<_ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25337 /* Are we little or big endian? From Harbison&Steele. */
25341 char c[sizeof (long)];
25344 exit (u.c[sizeof (long) - 1] == 1);
25347 rm -f conftest$ac_exeext
25348 if { (ac_try="$ac_link"
25349 case "(($ac_try" in
25350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25351 *) ac_try_echo=$ac_try;;
25353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25354 (eval "$ac_link") 2>&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25358 { (case "(($ac_try" in
25359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25360 *) ac_try_echo=$ac_try;;
25362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25363 (eval "$ac_try") 2>&5
25365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366 (exit $ac_status); }; }; then
25367 ac_cv_c_bigendian=no
25369 echo "$as_me: program exited with status $ac_status" >&5
25370 echo "$as_me: failed program was:" >&5
25371 sed 's
/^
/| /' conftest.$ac_ext >&5
25373 ( exit $ac_status )
25374 ac_cv_c_bigendian=yes
25376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25382 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25383 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25384 if test $ac_cv_c_bigendian = unknown; then
25385 { 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
25386 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;}
25388 if test $ac_cv_c_bigendian = yes; then
25389 cat >>confdefs.h <<\_ACEOF
25390 #define WORDS_BIGENDIAN 1
25399 ac_cpp='$CXXCPP $CPPFLAGS'
25400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25401 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25406 for ac_header in iostream
25408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25409 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25412 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 cat >conftest.$ac_ext <<_ACEOF
25417 cat confdefs.h >>conftest.$ac_ext
25418 cat >>conftest.$ac_ext <<_ACEOF
25419 /* end confdefs.h. */
25422 #include <$ac_header>
25424 rm -f conftest.$ac_objext
25425 if { (ac_try="$ac_compile"
25426 case "(($ac_try" in
25427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25428 *) ac_try_echo=$ac_try;;
25430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25431 (eval "$ac_compile") 2>conftest.er1
25433 grep -v '^
*+' conftest.er1 >conftest.err
25435 cat conftest.err >&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } && {
25438 test -z "$ac_cxx_werror_flag" ||
25439 test ! -s conftest.err
25440 } && test -s conftest.$ac_objext; then
25441 eval "$as_ac_Header=yes"
25443 echo "$as_me: failed program was:" >&5
25444 sed 's
/^
/| /' conftest.$ac_ext >&5
25446 eval "$as_ac_Header=no"
25449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25451 ac_res=`eval echo '${'$as_ac_Header'}'`
25452 { echo "$as_me:$LINENO: result: $ac_res" >&5
25453 echo "${ECHO_T}$ac_res" >&6; }
25454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25455 cat >>confdefs.h <<_ACEOF
25456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25464 if test "$ac_cv_header_iostream" = "yes" ; then
25467 cat >>confdefs.h <<\_ACEOF
25468 #define wxUSE_IOSTREAMH 1
25474 ac_cpp='$CPP $CPPFLAGS'
25475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25476 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25482 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25483 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25484 if test "${wx_cv_explicit+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25492 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25496 cat >conftest.$ac_ext <<_ACEOF
25499 cat confdefs.h >>conftest.$ac_ext
25500 cat >>conftest.$ac_ext <<_ACEOF
25501 /* end confdefs.h. */
25503 class Foo { public: explicit Foo(int) {} };
25515 rm -f conftest.$ac_objext
25516 if { (ac_try="$ac_compile"
25517 case "(($ac_try" in
25518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25519 *) ac_try_echo=$ac_try;;
25521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25522 (eval "$ac_compile") 2>conftest.er1
25524 grep -v '^
*+' conftest.er1 >conftest.err
25526 cat conftest.err >&5
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); } && {
25529 test -z "$ac_cxx_werror_flag" ||
25530 test ! -s conftest.err
25531 } && test -s conftest.$ac_objext; then
25533 cat >conftest.$ac_ext <<_ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25540 class Foo { public: explicit Foo(int) {} };
25541 static void TakeFoo(const Foo& foo) { }
25554 rm -f conftest.$ac_objext
25555 if { (ac_try="$ac_compile"
25556 case "(($ac_try" in
25557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25558 *) ac_try_echo=$ac_try;;
25560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25561 (eval "$ac_compile") 2>conftest.er1
25563 grep -v '^
*+' conftest.er1 >conftest.err
25565 cat conftest.err >&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } && {
25568 test -z "$ac_cxx_werror_flag" ||
25569 test ! -s conftest.err
25570 } && test -s conftest.$ac_objext; then
25573 echo "$as_me: failed program was:" >&5
25574 sed 's
/^
/| /' conftest.$ac_ext >&5
25580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25583 echo "$as_me: failed program was:" >&5
25584 sed 's
/^
/| /' conftest.$ac_ext >&5
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 ac_cpp='$CPP $CPPFLAGS'
25594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25600 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25601 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25603 if test "$wx_cv_explicit" = "yes"; then
25604 cat >>confdefs.h <<\_ACEOF
25605 #define HAVE_EXPLICIT 1
25611 if test "x$SUNCXX" = xyes; then
25612 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25615 if test "x$SUNCC" = xyes; then
25616 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25619 if test "x$SGICC" = "xyes"; then
25620 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25621 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25622 if test "${wx_cv_prog_sgicc744+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 cat >conftest.$ac_ext <<_ACEOF
25629 cat confdefs.h >>conftest.$ac_ext
25630 cat >>conftest.$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25637 #if _SGI_COMPILER_VERSION >= 744
25638 chock me: mipsPro is 7.4.4 or later
25645 rm -f conftest.$ac_objext
25646 if { (ac_try="$ac_compile"
25647 case "(($ac_try" in
25648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25649 *) ac_try_echo=$ac_try;;
25651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25652 (eval "$ac_compile") 2>conftest.er1
25654 grep -v '^
*+' conftest.er1 >conftest.err
25656 cat conftest.err >&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); } && {
25659 test -z "$ac_c_werror_flag" ||
25660 test ! -s conftest.err
25661 } && test -s conftest.$ac_objext; then
25662 wx_cv_prog_sgicc744=no
25664 echo "$as_me: failed program was:" >&5
25665 sed 's
/^
/| /' conftest.$ac_ext >&5
25667 wx_cv_prog_sgicc744=yes
25671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25675 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25676 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25678 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25679 CFLAGS="-woff 3970 $CFLAGS"
25682 if test "x$SGICXX" = "xyes"; then
25683 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25684 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25685 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25686 echo $ECHO_N "(cached) $ECHO_C" >&6
25690 ac_cpp='$CXXCPP $CPPFLAGS'
25691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25692 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25695 cat >conftest.$ac_ext <<_ACEOF
25698 cat confdefs.h >>conftest.$ac_ext
25699 cat >>conftest.$ac_ext <<_ACEOF
25700 /* end confdefs.h. */
25706 #if _SGI_COMPILER_VERSION >= 744
25707 chock me: mipsPro is 7.4.4 or later
25714 rm -f conftest.$ac_objext
25715 if { (ac_try="$ac_compile"
25716 case "(($ac_try" in
25717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25718 *) ac_try_echo=$ac_try;;
25720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25721 (eval "$ac_compile") 2>conftest.er1
25723 grep -v '^
*+' conftest.er1 >conftest.err
25725 cat conftest.err >&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } && {
25728 test -z "$ac_cxx_werror_flag" ||
25729 test ! -s conftest.err
25730 } && test -s conftest.$ac_objext; then
25731 wx_cv_prog_sgicxx744=no
25733 echo "$as_me: failed program was:" >&5
25734 sed 's
/^
/| /' conftest.$ac_ext >&5
25736 wx_cv_prog_sgicxx744=yes
25740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25742 ac_cpp='$CPP $CPPFLAGS'
25743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25744 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25750 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25751 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25753 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25754 CXXFLAGS="-woff 3970 $CXXFLAGS"
25758 if test "x$HPCC" = "xyes"; then
25759 CFLAGS="+W 2011,2450 $CFLAGS"
25761 if test "x$HPCXX" = "xyes"; then
25762 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25765 if test "x$COMPAQCXX" = "xyes"; then
25766 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25770 ac_cpp='$CXXCPP $CPPFLAGS'
25771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25772 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25776 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25777 if test "$wxUSE_UNICODE" = "yes"; then
25778 std_string="std::wstring"
25779 char_type="wchar_t"
25781 std_string="std::string"
25785 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25786 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25787 if test "${wx_cv_class_stdstring+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 cat >conftest.$ac_ext <<_ACEOF
25794 cat confdefs.h >>conftest.$ac_ext
25795 cat >>conftest.$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25806 rm -f conftest.$ac_objext
25807 if { (ac_try="$ac_compile"
25808 case "(($ac_try" in
25809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25810 *) ac_try_echo=$ac_try;;
25812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25813 (eval "$ac_compile") 2>conftest.er1
25815 grep -v '^
*+' conftest.er1 >conftest.err
25817 cat conftest.err >&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); } && {
25820 test -z "$ac_cxx_werror_flag" ||
25821 test ! -s conftest.err
25822 } && test -s conftest.$ac_objext; then
25823 wx_cv_class_stdstring=yes
25825 echo "$as_me: failed program was:" >&5
25826 sed 's
/^
/| /' conftest.$ac_ext >&5
25828 wx_cv_class_stdstring=no
25832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25836 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25837 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25839 if test "$wx_cv_class_stdstring" = yes; then
25840 if test "$wxUSE_UNICODE" = "yes"; then
25841 cat >>confdefs.h <<\_ACEOF
25842 #define HAVE_STD_WSTRING 1
25847 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25848 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25849 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25850 echo $ECHO_N "(cached) $ECHO_C" >&6
25853 cat >conftest.$ac_ext <<_ACEOF
25856 cat confdefs.h >>conftest.$ac_ext
25857 cat >>conftest.$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25860 #ifdef HAVE_WCHAR_H
25862 # include <stddef.h>
25864 # include <wchar.h>
25866 #ifdef HAVE_STDLIB_H
25867 # include <stdlib.h>
25875 std::basic_string<$char_type> foo;
25876 const $char_type* dummy = foo.c_str();
25881 rm -f conftest.$ac_objext
25882 if { (ac_try="$ac_compile"
25883 case "(($ac_try" in
25884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_compile") 2>conftest.er1
25890 grep -v '^
*+' conftest.er1 >conftest.err
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_cxx_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest.$ac_objext; then
25898 wx_cv_class_stdbasicstring=yes
25900 echo "$as_me: failed program was:" >&5
25901 sed 's
/^
/| /' conftest.$ac_ext >&5
25903 wx_cv_class_stdbasicstring=no
25907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25911 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25912 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25914 if test "$wx_cv_class_stdbasicstring" != yes; then
25915 if test "$wxUSE_STL" = "yes"; then
25916 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25917 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25918 { (exit 1); exit 1; }; }
25919 elif test "$wxUSE_STD_STRING" = "yes"; then
25920 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25921 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25922 { (exit 1); exit 1; }; }
25924 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25925 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25926 wxUSE_STD_STRING=no
25932 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25933 { echo "$as_me:$LINENO: checking for std::istream" >&5
25934 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25935 if test "${ac_cv_type_std__istream+set}" = set; then
25936 echo $ECHO_N "(cached) $ECHO_C" >&6
25938 cat >conftest.$ac_ext <<_ACEOF
25941 cat confdefs.h >>conftest.$ac_ext
25942 cat >>conftest.$ac_ext <<_ACEOF
25943 /* end confdefs.h. */
25944 #include <iostream>
25946 typedef std::istream ac__type_new_;
25950 if ((ac__type_new_ *) 0)
25952 if (sizeof (ac__type_new_))
25958 rm -f conftest.$ac_objext
25959 if { (ac_try="$ac_compile"
25960 case "(($ac_try" in
25961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25962 *) ac_try_echo=$ac_try;;
25964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25965 (eval "$ac_compile") 2>conftest.er1
25967 grep -v '^
*+' conftest.er1 >conftest.err
25969 cat conftest.err >&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); } && {
25972 test -z "$ac_cxx_werror_flag" ||
25973 test ! -s conftest.err
25974 } && test -s conftest.$ac_objext; then
25975 ac_cv_type_std__istream=yes
25977 echo "$as_me: failed program was:" >&5
25978 sed 's
/^
/| /' conftest.$ac_ext >&5
25980 ac_cv_type_std__istream=no
25983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25985 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25986 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25987 if test $ac_cv_type_std__istream = yes; then
25989 cat >>confdefs.h <<_ACEOF
25990 #define HAVE_STD__ISTREAM 1
25995 wxUSE_STD_IOSTREAM=no
25997 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25998 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25999 if test "${ac_cv_type_std__ostream+set}" = set; then
26000 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 cat >conftest.$ac_ext <<_ACEOF
26005 cat confdefs.h >>conftest.$ac_ext
26006 cat >>conftest.$ac_ext <<_ACEOF
26007 /* end confdefs.h. */
26008 #include <iostream>
26010 typedef std::ostream ac__type_new_;
26014 if ((ac__type_new_ *) 0)
26016 if (sizeof (ac__type_new_))
26022 rm -f conftest.$ac_objext
26023 if { (ac_try="$ac_compile"
26024 case "(($ac_try" in
26025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26026 *) ac_try_echo=$ac_try;;
26028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26029 (eval "$ac_compile") 2>conftest.er1
26031 grep -v '^
*+' conftest.er1 >conftest.err
26033 cat conftest.err >&5
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); } && {
26036 test -z "$ac_cxx_werror_flag" ||
26037 test ! -s conftest.err
26038 } && test -s conftest.$ac_objext; then
26039 ac_cv_type_std__ostream=yes
26041 echo "$as_me: failed program was:" >&5
26042 sed 's
/^
/| /' conftest.$ac_ext >&5
26044 ac_cv_type_std__ostream=no
26047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26049 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26050 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26051 if test $ac_cv_type_std__ostream = yes; then
26053 cat >>confdefs.h <<_ACEOF
26054 #define HAVE_STD__OSTREAM 1
26059 wxUSE_STD_IOSTREAM=no
26063 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26064 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26065 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26066 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26067 { (exit 1); exit 1; }; }
26069 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26070 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26075 if test "$wxUSE_STL" = "yes"; then
26076 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26077 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26078 if test "${wx_cv_lib_stl+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26081 cat >conftest.$ac_ext <<_ACEOF
26084 cat confdefs.h >>conftest.$ac_ext
26085 cat >>conftest.$ac_ext <<_ACEOF
26086 /* end confdefs.h. */
26088 #include <functional>
26089 #include <algorithm>
26095 std::vector<int> moo;
26096 std::list<int> foo;
26097 std::vector<int>::iterator it =
26098 std::find_if(moo.begin(), moo.end(),
26099 std::bind2nd(std::less<int>(), 3));
26104 rm -f conftest.$ac_objext
26105 if { (ac_try="$ac_compile"
26106 case "(($ac_try" in
26107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26108 *) ac_try_echo=$ac_try;;
26110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26111 (eval "$ac_compile") 2>conftest.er1
26113 grep -v '^
*+' conftest.er1 >conftest.err
26115 cat conftest.err >&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); } && {
26118 test -z "$ac_cxx_werror_flag" ||
26119 test ! -s conftest.err
26120 } && test -s conftest.$ac_objext; then
26123 echo "$as_me: failed program was:" >&5
26124 sed 's
/^
/| /' conftest.$ac_ext >&5
26130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26133 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26134 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26136 if test "$wx_cv_lib_stl" != yes; then
26137 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26138 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26139 { (exit 1); exit 1; }; }
26142 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26143 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26144 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 cat >conftest.$ac_ext <<_ACEOF
26150 cat confdefs.h >>conftest.$ac_ext
26151 cat >>conftest.$ac_ext <<_ACEOF
26152 /* end confdefs.h. */
26157 std::string foo, bar;
26159 foo.compare(1, 1, bar);
26160 foo.compare(1, 1, bar, 1, 1);
26162 foo.compare(1, 1, "");
26163 foo.compare(1, 1, "", 2);
26168 rm -f conftest.$ac_objext
26169 if { (ac_try="$ac_compile"
26170 case "(($ac_try" in
26171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26172 *) ac_try_echo=$ac_try;;
26174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26175 (eval "$ac_compile") 2>conftest.er1
26177 grep -v '^
*+' conftest.er1 >conftest.err
26179 cat conftest.err >&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); } && {
26182 test -z "$ac_cxx_werror_flag" ||
26183 test ! -s conftest.err
26184 } && test -s conftest.$ac_objext; then
26185 wx_cv_func_stdstring_compare=yes
26187 echo "$as_me: failed program was:" >&5
26188 sed 's
/^
/| /' conftest.$ac_ext >&5
26190 wx_cv_func_stdstring_compare=no
26194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26197 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26198 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26200 if test "$wx_cv_func_stdstring_compare" = yes; then
26201 cat >>confdefs.h <<\_ACEOF
26202 #define HAVE_STD_STRING_COMPARE 1
26207 if test "$wx_cv_class_gnuhashmapset" = yes; then
26208 cat >>confdefs.h <<\_ACEOF
26209 #define HAVE_EXT_HASH_MAP 1
26212 cat >>confdefs.h <<\_ACEOF
26213 #define HAVE_GNU_CXX_HASH_MAP 1
26218 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26219 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26220 if test "${ac_cv_header_unordered_map+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26223 cat >conftest.$ac_ext <<_ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26232 #include <unordered_map>
26234 rm -f conftest.$ac_objext
26235 if { (ac_try="$ac_compile"
26236 case "(($ac_try" in
26237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26238 *) ac_try_echo=$ac_try;;
26240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26241 (eval "$ac_compile") 2>conftest.er1
26243 grep -v '^
*+' conftest.er1 >conftest.err
26245 cat conftest.err >&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } && {
26248 test -z "$ac_cxx_werror_flag" ||
26249 test ! -s conftest.err
26250 } && test -s conftest.$ac_objext; then
26251 ac_cv_header_unordered_map=yes
26253 echo "$as_me: failed program was:" >&5
26254 sed 's
/^
/| /' conftest.$ac_ext >&5
26256 ac_cv_header_unordered_map=no
26259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26262 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26263 if test $ac_cv_header_unordered_map = yes; then
26264 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26265 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26266 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 cat >conftest.$ac_ext <<_ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275 #include <unordered_map>
26276 #include <unordered_set>
26280 std::unordered_map<double*, char*> test1;
26281 std::unordered_set<char*> test2;
26286 rm -f conftest.$ac_objext
26287 if { (ac_try="$ac_compile"
26288 case "(($ac_try" in
26289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26290 *) ac_try_echo=$ac_try;;
26292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26293 (eval "$ac_compile") 2>conftest.er1
26295 grep -v '^
*+' conftest.er1 >conftest.err
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } && {
26300 test -z "$ac_cxx_werror_flag" ||
26301 test ! -s conftest.err
26302 } && test -s conftest.$ac_objext; then
26303 wx_cv_class_stdunorderedmapset=yes
26305 echo "$as_me: failed program was:" >&5
26306 sed 's
/^
/| /' conftest.$ac_ext >&5
26308 wx_cv_class_stdunorderedmapset=no
26311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26315 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26316 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26321 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26322 cat >>confdefs.h <<\_ACEOF
26323 #define HAVE_STD_UNORDERED_MAP 1
26326 cat >>confdefs.h <<\_ACEOF
26327 #define HAVE_STD_UNORDERED_SET 1
26331 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26332 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26333 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26334 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 cat >conftest.$ac_ext <<_ACEOF
26339 cat confdefs.h >>conftest.$ac_ext
26340 cat >>conftest.$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26345 #include <tr1/unordered_map>
26347 rm -f conftest.$ac_objext
26348 if { (ac_try="$ac_compile"
26349 case "(($ac_try" in
26350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26351 *) ac_try_echo=$ac_try;;
26353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26354 (eval "$ac_compile") 2>conftest.er1
26356 grep -v '^
*+' conftest.er1 >conftest.err
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } && {
26361 test -z "$ac_cxx_werror_flag" ||
26362 test ! -s conftest.err
26363 } && test -s conftest.$ac_objext; then
26364 ac_cv_header_tr1_unordered_map=yes
26366 echo "$as_me: failed program was:" >&5
26367 sed 's
/^
/| /' conftest.$ac_ext >&5
26369 ac_cv_header_tr1_unordered_map=no
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26374 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26375 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26376 if test $ac_cv_header_tr1_unordered_map = yes; then
26377 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26378 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26379 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26382 cat >conftest.$ac_ext <<_ACEOF
26385 cat confdefs.h >>conftest.$ac_ext
26386 cat >>conftest.$ac_ext <<_ACEOF
26387 /* end confdefs.h. */
26388 #include <tr1/unordered_map>
26389 #include <tr1/unordered_set>
26393 std::tr1::unordered_map<double*, char*> test1;
26394 std::tr1::unordered_set<char*> test2;
26395 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26396 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26402 rm -f conftest.
$ac_objext
26403 if { (ac_try
="$ac_compile"
26404 case "(($ac_try" in
26405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_compile") 2>conftest.er1
26411 grep -v '^ *+' conftest.er1 >conftest.err
26413 cat conftest.err >&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } && {
26416 test -z "$ac_cxx_werror_flag" ||
26417 test ! -s conftest.err
26418 } && test -s conftest.$ac_objext; then
26419 wx_cv_class_tr1unorderedmapset=yes
26421 echo "$as_me: failed program was:" >&5
26422 sed 's/^/| /' conftest.$ac_ext >&5
26424 wx_cv_class_tr1unorderedmapset=no
26427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26431 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26432 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26437 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define HAVE_TR1_UNORDERED_MAP 1
26442 cat >>confdefs.h <<\_ACEOF
26443 #define HAVE_TR1_UNORDERED_SET 1
26447 { echo "$as_me:$LINENO: checking for hash_map" >&5
26448 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26449 if test "${ac_cv_header_hash_map+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 cat >conftest.$ac_ext <<_ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26461 #include <hash_map>
26463 rm -f conftest.$ac_objext
26464 if { (ac_try="$ac_compile"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26467 *) ac_try_echo
=$ac_try;;
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_compile") 2>conftest.er1
26472 grep -v '^ *+' conftest.er1
>conftest.err
26474 cat conftest.err
>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_cxx_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest.
$ac_objext; then
26480 ac_cv_header_hash_map
=yes
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.
$ac_ext >&5
26485 ac_cv_header_hash_map
=no
26488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26490 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26491 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26492 if test $ac_cv_header_hash_map = yes; then
26493 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26494 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26495 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26496 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 cat >conftest.
$ac_ext <<_ACEOF
26501 cat confdefs.h
>>conftest.
$ac_ext
26502 cat >>conftest.
$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26504 #include <hash_map>
26505 #include <hash_set>
26509 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26510 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26515 rm -f conftest.
$ac_objext
26516 if { (ac_try
="$ac_compile"
26517 case "(($ac_try" in
26518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26519 *) ac_try_echo=$ac_try;;
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_compile") 2>conftest.er1
26524 grep -v '^ *+' conftest.er1 >conftest.err
26526 cat conftest.err >&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } && {
26529 test -z "$ac_cxx_werror_flag" ||
26530 test ! -s conftest.err
26531 } && test -s conftest.$ac_objext; then
26532 wx_cv_class_stdhashmapset=yes
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.$ac_ext >&5
26537 wx_cv_class_stdhashmapset=no
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26544 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26545 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26550 if test "$wx_cv_class_stdhashmapset" = yes; then
26551 cat >>confdefs.h <<\_ACEOF
26552 #define HAVE_HASH_MAP 1
26555 cat >>confdefs.h <<\_ACEOF
26556 #define HAVE_STD_HASH_MAP 1
26561 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26562 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26563 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26566 cat >conftest.$ac_ext <<_ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26575 #include <ext/hash_map>
26577 rm -f conftest.$ac_objext
26578 if { (ac_try="$ac_compile"
26579 case "(($ac_try" in
26580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26581 *) ac_try_echo
=$ac_try;;
26583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26584 (eval "$ac_compile") 2>conftest.er1
26586 grep -v '^ *+' conftest.er1
>conftest.err
26588 cat conftest.err
>&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } && {
26591 test -z "$ac_cxx_werror_flag" ||
26592 test ! -s conftest.err
26593 } && test -s conftest.
$ac_objext; then
26594 ac_cv_header_ext_hash_map
=yes
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.
$ac_ext >&5
26599 ac_cv_header_ext_hash_map
=no
26602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26604 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26605 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26606 if test $ac_cv_header_ext_hash_map = yes; then
26607 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26608 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26609 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26612 cat >conftest.
$ac_ext <<_ACEOF
26615 cat confdefs.h
>>conftest.
$ac_ext
26616 cat >>conftest.
$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26618 #include <ext/hash_map>
26619 #include <ext/hash_set>
26623 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26624 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26629 rm -f conftest.
$ac_objext
26630 if { (ac_try
="$ac_compile"
26631 case "(($ac_try" in
26632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26633 *) ac_try_echo=$ac_try;;
26635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26636 (eval "$ac_compile") 2>conftest.er1
26638 grep -v '^ *+' conftest.er1 >conftest.err
26640 cat conftest.err >&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } && {
26643 test -z "$ac_cxx_werror_flag" ||
26644 test ! -s conftest.err
26645 } && test -s conftest.$ac_objext; then
26646 wx_cv_class_gnuhashmapset=yes
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26651 wx_cv_class_gnuhashmapset=no
26654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26658 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26659 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26669 ac_cpp='$CXXCPP $CPPFLAGS'
26670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26673 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26674 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26675 if test -z "$CXXCPP"; then
26676 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 # Double quotes because CXXCPP needs to be expanded
26680 for CXXCPP in "$CXX -E" "/lib/cpp"
26682 ac_preproc_ok=false
26683 for ac_cxx_preproc_warn_flag in '' yes
26685 # Use a header file that comes with gcc, so configuring glibc
26686 # with a fresh cross-compiler works.
26687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26688 # <limits.h> exists even on freestanding compilers.
26689 # On the NeXT, cc -E runs the code through the compiler's parser,
26690 # not just through cpp. "Syntax error" is here to catch this case.
26691 cat >conftest.$ac_ext <<_ACEOF
26694 cat confdefs.h >>conftest.$ac_ext
26695 cat >>conftest.$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26698 # include <limits.h>
26700 # include <assert.h>
26704 if { (ac_try="$ac_cpp conftest.$ac_ext"
26705 case "(($ac_try" in
26706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26707 *) ac_try_echo
=$ac_try;;
26709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26712 grep -v '^ *+' conftest.er1
>conftest.err
26714 cat conftest.err
>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } >/dev
/null
&& {
26717 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26718 test ! -s conftest.err
26722 echo "$as_me: failed program was:" >&5
26723 sed 's/^/| /' conftest.
$ac_ext >&5
26725 # Broken: fails on valid input.
26729 rm -f conftest.err conftest.
$ac_ext
26731 # OK, works on sane cases. Now check whether nonexistent headers
26732 # can be detected and how.
26733 cat >conftest.
$ac_ext <<_ACEOF
26736 cat confdefs.h
>>conftest.
$ac_ext
26737 cat >>conftest.
$ac_ext <<_ACEOF
26738 /* end confdefs.h. */
26739 #include <ac_nonexistent.h>
26741 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26742 case "(($ac_try" in
26743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26744 *) ac_try_echo=$ac_try;;
26746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26749 grep -v '^ *+' conftest.er1 >conftest.err
26751 cat conftest.err >&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); } >/dev/null && {
26754 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26755 test ! -s conftest.err
26757 # Broken: success on invalid input.
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26763 # Passes both tests.
26768 rm -f conftest.err conftest.$ac_ext
26771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26772 rm -f conftest.err conftest.
$ac_ext
26773 if $ac_preproc_ok; then
26778 ac_cv_prog_CXXCPP
=$CXXCPP
26781 CXXCPP
=$ac_cv_prog_CXXCPP
26783 ac_cv_prog_CXXCPP
=$CXXCPP
26785 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26786 echo "${ECHO_T}$CXXCPP" >&6; }
26787 ac_preproc_ok
=false
26788 for ac_cxx_preproc_warn_flag
in '' yes
26790 # Use a header file that comes with gcc, so configuring glibc
26791 # with a fresh cross-compiler works.
26792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26793 # <limits.h> exists even on freestanding compilers.
26794 # On the NeXT, cc -E runs the code through the compiler's parser,
26795 # not just through cpp. "Syntax error" is here to catch this case.
26796 cat >conftest.
$ac_ext <<_ACEOF
26799 cat confdefs.h
>>conftest.
$ac_ext
26800 cat >>conftest.
$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26803 # include <limits.h>
26805 # include <assert.h>
26809 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26810 case "(($ac_try" in
26811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26812 *) ac_try_echo=$ac_try;;
26814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26817 grep -v '^ *+' conftest.er1 >conftest.err
26819 cat conftest.err >&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); } >/dev/null && {
26822 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26823 test ! -s conftest.err
26827 echo "$as_me: failed program was:" >&5
26828 sed 's/^/| /' conftest.$ac_ext >&5
26830 # Broken: fails on valid input.
26834 rm -f conftest.err conftest.$ac_ext
26836 # OK, works on sane cases. Now check whether nonexistent headers
26837 # can be detected and how.
26838 cat >conftest.$ac_ext <<_ACEOF
26841 cat confdefs.h >>conftest.$ac_ext
26842 cat >>conftest.$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 #include <ac_nonexistent.h>
26846 if { (ac_try="$ac_cpp conftest.$ac_ext"
26847 case "(($ac_try" in
26848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26849 *) ac_try_echo
=$ac_try;;
26851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26854 grep -v '^ *+' conftest.er1
>conftest.err
26856 cat conftest.err
>&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } >/dev
/null
&& {
26859 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26860 test ! -s conftest.err
26862 # Broken: success on invalid input.
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.
$ac_ext >&5
26868 # Passes both tests.
26873 rm -f conftest.err conftest.
$ac_ext
26876 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26877 rm -f conftest.err conftest.
$ac_ext
26878 if $ac_preproc_ok; then
26881 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26882 See \`config.log' for more details." >&5
26883 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26884 See \`config.log' for more details." >&2;}
26885 { (exit 1); exit 1; }; }
26889 ac_cpp
='$CXXCPP $CPPFLAGS'
26890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26897 for ac_header
in type_traits tr
1/type_traits
26899 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26900 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26903 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26906 ac_res
=`eval echo '${'$as_ac_Header'}'`
26907 { echo "$as_me:$LINENO: result: $ac_res" >&5
26908 echo "${ECHO_T}$ac_res" >&6; }
26910 # Is the header compilable?
26911 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26913 cat >conftest.
$ac_ext <<_ACEOF
26916 cat confdefs.h
>>conftest.
$ac_ext
26917 cat >>conftest.
$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919 $ac_includes_default
26920 #include <$ac_header>
26922 rm -f conftest.
$ac_objext
26923 if { (ac_try
="$ac_compile"
26924 case "(($ac_try" in
26925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26926 *) ac_try_echo=$ac_try;;
26928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26929 (eval "$ac_compile") 2>conftest.er1
26931 grep -v '^ *+' conftest.er1 >conftest.err
26933 cat conftest.err >&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); } && {
26936 test -z "$ac_cxx_werror_flag" ||
26937 test ! -s conftest.err
26938 } && test -s conftest.$ac_objext; then
26939 ac_header_compiler=yes
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.$ac_ext >&5
26944 ac_header_compiler=no
26947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26948 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26949 echo "${ECHO_T}$ac_header_compiler" >&6; }
26951 # Is the header present?
26952 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26954 cat >conftest.$ac_ext <<_ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <$ac_header>
26962 if { (ac_try="$ac_cpp conftest.$ac_ext"
26963 case "(($ac_try" in
26964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26965 *) ac_try_echo
=$ac_try;;
26967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26970 grep -v '^ *+' conftest.er1
>conftest.err
26972 cat conftest.err
>&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } >/dev
/null
&& {
26975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26976 test ! -s conftest.err
26978 ac_header_preproc
=yes
26980 echo "$as_me: failed program was:" >&5
26981 sed 's/^/| /' conftest.
$ac_ext >&5
26983 ac_header_preproc
=no
26986 rm -f conftest.err conftest.
$ac_ext
26987 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26988 echo "${ECHO_T}$ac_header_preproc" >&6; }
26990 # So? What about this header?
26991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26997 ac_header_preproc
=yes
27000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27013 ## ----------------------------------------- ##
27014 ## Report this to wx-dev@lists.wxwidgets.org ##
27015 ## ----------------------------------------- ##
27017 ) | sed "s/^/$as_me: WARNING: /" >&2
27020 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27022 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27025 eval "$as_ac_Header=\$ac_header_preproc"
27027 ac_res
=`eval echo '${'$as_ac_Header'}'`
27028 { echo "$as_me:$LINENO: result: $ac_res" >&5
27029 echo "${ECHO_T}$ac_res" >&6; }
27032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27033 cat >>confdefs.h
<<_ACEOF
27034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27044 if test -n "$GCC"; then
27045 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27046 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27047 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 cat >conftest.
$ac_ext <<_ACEOF
27054 cat confdefs.h
>>conftest.
$ac_ext
27055 cat >>conftest.
$ac_ext <<_ACEOF
27056 /* end confdefs.h. */
27062 unsigned int value=0;
27063 /* wxAtomicInc doesn't use return value here */
27064 __sync_fetch_and_add(&value, 2);
27065 __sync_sub_and_fetch(&value, 1);
27066 /* but wxAtomicDec does, so mimic that: */
27067 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27073 rm -f conftest.
$ac_objext conftest
$ac_exeext
27074 if { (ac_try
="$ac_link"
27075 case "(($ac_try" in
27076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_link") 2>conftest.er1
27082 grep -v '^ *+' conftest.er1 >conftest.err
27084 cat conftest.err >&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); } && {
27087 test -z "$ac_cxx_werror_flag" ||
27088 test ! -s conftest.err
27089 } && test -s conftest$ac_exeext &&
27090 $as_test_x conftest$ac_exeext; then
27091 wx_cv_cc_gcc_atomic_builtins=yes
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27096 wx_cv_cc_gcc_atomic_builtins=no
27099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27100 conftest$ac_exeext conftest.$ac_ext
27104 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27105 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27106 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27107 cat >>confdefs.h <<\_ACEOF
27108 #define HAVE_GCC_ATOMIC_BUILTINS 1
27116 ac_cpp='$CPP $CPPFLAGS'
27117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27124 /usr/local/include \
27125 /usr/local/X11/include \
27126 /usr/local/include/X11 \
27127 /usr/local/X11R7/include \
27128 /usr/local/X11R6/include \
27129 /usr/local/include/X11R7 \
27130 /usr/local/include/X11R6 \
27132 /usr/Motif-2.1/include \
27133 /usr/Motif-1.2/include \
27134 /usr/include/Motif1.2 \
27137 /usr/openwin/include \
27141 /usr/X11R7/include \
27142 /usr/X11R6/include \
27143 /usr/X11R6.4/include \
27145 /usr/include/X11R7 \
27146 /usr/include/X11R6 \
27151 /usr/XFree86/include/X11 \
27154 /usr/local/X1R5/include \
27155 /usr/local/include/X11R5 \
27156 /usr/X11R5/include \
27157 /usr/include/X11R5 \
27159 /usr/local/X11R4/include \
27160 /usr/local/include/X11R4 \
27161 /usr/X11R4/include \
27162 /usr/include/X11R4 \
27164 /usr/openwin/share/include"
27166 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27167 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27171 if test "${wx_cv_std_libpath+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27175 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27176 for e in a so sl dylib dll.a; do
27178 if test -f $libc; then
27181 cat >conftest.$ac_ext <<_ACEOF
27185 cat confdefs.h >>conftest.$ac_ext
27186 cat >>conftest.$ac_ext <<_ACEOF
27187 /* end confdefs.h. */
27188 int main() { return 0; }
27191 rm -f conftest.$ac_objext conftest$ac_exeext
27192 if { (ac_try="$ac_link"
27193 case "(($ac_try" in
27194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27195 *) ac_try_echo
=$ac_try;;
27197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27198 (eval "$ac_link") 2>conftest.er1
27200 grep -v '^ *+' conftest.er1
>conftest.err
27202 cat conftest.err
>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } && {
27205 test -z "$ac_c_werror_flag" ||
27206 test ! -s conftest.err
27207 } && test -s conftest
$ac_exeext &&
27208 $as_test_x conftest
$ac_exeext; then
27209 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.
$ac_ext >&5
27217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27218 conftest
$ac_exeext conftest.
$ac_ext
27220 if test "x$wx_cv_std_libpath" != "x"; then
27233 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27234 wx_cv_std_libpath
="lib/64"
27239 if test "$ac_cv_sizeof_void_p" = 8; then
27240 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27241 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
27242 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27243 wx_cv_std_libpath
="lib64"
27248 if test -d '/usr/lib/i386-linux-gnu'; then
27249 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
27254 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27255 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
27260 if test -z "$wx_cv_std_libpath"; then
27261 wx_cv_std_libpath
="lib"
27264 if test -z "$wx_cv_std_libfullpath"; then
27265 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
27269 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27270 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27272 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27274 if test "$build" != "$host" -a "$GCC" = yes; then
27275 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
27276 cross_root
=`dirname $cross_root`
27277 cross_root
=`dirname $cross_root`
27279 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27280 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27281 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
27283 if test -z "$PKG_CONFIG_PATH"; then
27284 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27285 export PKG_CONFIG_PATH
27288 if test -z "$x_includes" -o "$x_includes" = NONE
; then
27291 for ac_dir
in $SEARCH_INCLUDE /usr
/include
27293 if test -f "$ac_dir/X11/Intrinsic.h"; then
27294 ac_find_includes
=$ac_dir
27299 x_includes
=$ac_find_includes
27301 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
27304 for ac_dir
in $SEARCH_LIB
27306 for ac_extension
in a so sl dylib dll.a
; do
27307 if test -f "$ac_dir/libXt.$ac_extension"; then
27308 ac_find_libraries
=$ac_dir
27314 x_libraries
=$ac_find_libraries
27320 cat >confcache
<<\_ACEOF
27321 # This file is a shell script that caches the results of configure
27322 # tests run on this system so they can be shared between configure
27323 # scripts and configure runs, see configure's option --config-cache.
27324 # It is not useful on other systems. If it contains results you don't
27325 # want to keep, you may remove or edit it.
27327 # config.status only pays attention to the cache file if you give it
27328 # the --recheck option to rerun configure.
27330 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27331 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27332 # following values.
27336 # The following way of writing the cache mishandles newlines in values,
27337 # but we know of no workaround that is simple, portable, and efficient.
27338 # So, we kill variables containing newlines.
27339 # Ultrix sh set writes to stderr and can't be redirected directly,
27340 # and sets the high bit in the cache file unless we assign to the vars.
27342 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27343 eval ac_val
=\$
$ac_var
27347 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27348 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27351 _
| IFS
| as_nl
) ;; #(
27352 *) $as_unset $ac_var ;;
27358 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27359 *${as_nl}ac_space
=\
*)
27360 # `set' does not quote correctly, so add quotes (double-quote
27361 # substitution turns \\\\ into \\, and sed turns \\ into \).
27364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27367 # `set' quotes correctly as required by POSIX, so do not add quotes.
27368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27379 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27381 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27382 if test -w "$cache_file"; then
27383 test "x$cache_file" != "x/dev/null" &&
27384 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27385 echo "$as_me: updating cache $cache_file" >&6;}
27386 cat confcache
>$cache_file
27388 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27389 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27402 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27403 echo $ECHO_N "(cached) $ECHO_C" >&6
27405 cat >conftest.
$ac_ext <<_ACEOF
27408 cat confdefs.h
>>conftest.
$ac_ext
27409 cat >>conftest.
$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27413 #define $ac_func innocuous_$ac_func
27415 /* System header to define __stub macros and hopefully few prototypes,
27416 which can conflict with char $ac_func (); below.
27417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27418 <limits.h> exists even on freestanding compilers. */
27421 # include <limits.h>
27423 # include <assert.h>
27428 /* Override any GCC internal prototype to avoid an error.
27429 Use char because int might match the return type of a GCC
27430 builtin and then its argument prototype would still apply. */
27435 /* The GNU C library defines this for functions which it implements
27436 to always fail with ENOSYS. Some functions are actually named
27437 something starting with __ and the normal name is an alias. */
27438 #if defined __stub_$ac_func || defined __stub___$ac_func
27445 return $ac_func ();
27450 rm -f conftest.
$ac_objext conftest
$ac_exeext
27451 if { (ac_try
="$ac_link"
27452 case "(($ac_try" in
27453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27454 *) ac_try_echo=$ac_try;;
27456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27457 (eval "$ac_link") 2>conftest.er1
27459 grep -v '^ *+' conftest.er1 >conftest.err
27461 cat conftest.err >&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); } && {
27464 test -z "$ac_c_werror_flag" ||
27465 test ! -s conftest.err
27466 } && test -s conftest$ac_exeext &&
27467 $as_test_x conftest$ac_exeext; then
27468 eval "$as_ac_var=yes"
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27473 eval "$as_ac_var=no"
27476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27477 conftest$ac_exeext conftest.$ac_ext
27479 ac_res=`eval echo '${'$as_ac_var'}'`
27480 { echo "$as_me:$LINENO: result: $ac_res" >&5
27481 echo "${ECHO_T}$ac_res" >&6; }
27482 if test `eval echo '${'$as_ac_var'}'` = yes; then
27483 cat >>confdefs.h <<_ACEOF
27484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27491 for ac_func in floor
27493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27497 echo $ECHO_N "(cached) $ECHO_C" >&6
27499 cat >conftest.$ac_ext <<_ACEOF
27502 cat confdefs.h >>conftest.$ac_ext
27503 cat >>conftest.$ac_ext <<_ACEOF
27504 /* end confdefs.h. */
27505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27507 #define $ac_func innocuous_$ac_func
27509 /* System header to define __stub macros and hopefully few prototypes,
27510 which can conflict with char $ac_func (); below.
27511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27512 <limits.h> exists even on freestanding compilers. */
27515 # include <limits.h>
27517 # include <assert.h>
27522 /* Override any GCC internal prototype to avoid an error.
27523 Use char because int might match the return type of a GCC
27524 builtin and then its argument prototype would still apply. */
27529 /* The GNU C library defines this for functions which it implements
27530 to always fail with ENOSYS. Some functions are actually named
27531 something starting with __ and the normal name is an alias. */
27532 #if defined __stub_$ac_func || defined __stub___$ac_func
27539 return $ac_func ();
27544 rm -f conftest.$ac_objext conftest$ac_exeext
27545 if { (ac_try="$ac_link"
27546 case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27548 *) ac_try_echo
=$ac_try;;
27550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_link") 2>conftest.er1
27553 grep -v '^ *+' conftest.er1
>conftest.err
27555 cat conftest.err
>&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); } && {
27558 test -z "$ac_c_werror_flag" ||
27559 test ! -s conftest.err
27560 } && test -s conftest
$ac_exeext &&
27561 $as_test_x conftest
$ac_exeext; then
27562 eval "$as_ac_var=yes"
27564 echo "$as_me: failed program was:" >&5
27565 sed 's/^/| /' conftest.
$ac_ext >&5
27567 eval "$as_ac_var=no"
27570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27571 conftest
$ac_exeext conftest.
$ac_ext
27573 ac_res
=`eval echo '${'$as_ac_var'}'`
27574 { echo "$as_me:$LINENO: result: $ac_res" >&5
27575 echo "${ECHO_T}$ac_res" >&6; }
27576 if test `eval echo '${'$as_ac_var'}'` = yes; then
27577 cat >>confdefs.h
<<_ACEOF
27578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27584 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27585 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27586 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27587 { echo "$as_me:$LINENO: result: yes" >&5
27588 echo "${ECHO_T}yes" >&6; }
27590 { echo "$as_me:$LINENO: result: no" >&5
27591 echo "${ECHO_T}no" >&6; }
27593 # use different functions to avoid configure caching
27599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27602 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27603 echo $ECHO_N "(cached) $ECHO_C" >&6
27605 cat >conftest.
$ac_ext <<_ACEOF
27608 cat confdefs.h
>>conftest.
$ac_ext
27609 cat >>conftest.
$ac_ext <<_ACEOF
27610 /* end confdefs.h. */
27611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27613 #define $ac_func innocuous_$ac_func
27615 /* System header to define __stub macros and hopefully few prototypes,
27616 which can conflict with char $ac_func (); below.
27617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27618 <limits.h> exists even on freestanding compilers. */
27621 # include <limits.h>
27623 # include <assert.h>
27628 /* Override any GCC internal prototype to avoid an error.
27629 Use char because int might match the return type of a GCC
27630 builtin and then its argument prototype would still apply. */
27635 /* The GNU C library defines this for functions which it implements
27636 to always fail with ENOSYS. Some functions are actually named
27637 something starting with __ and the normal name is an alias. */
27638 #if defined __stub_$ac_func || defined __stub___$ac_func
27645 return $ac_func ();
27650 rm -f conftest.
$ac_objext conftest
$ac_exeext
27651 if { (ac_try
="$ac_link"
27652 case "(($ac_try" in
27653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27654 *) ac_try_echo=$ac_try;;
27656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27657 (eval "$ac_link") 2>conftest.er1
27659 grep -v '^ *+' conftest.er1 >conftest.err
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } && {
27664 test -z "$ac_c_werror_flag" ||
27665 test ! -s conftest.err
27666 } && test -s conftest$ac_exeext &&
27667 $as_test_x conftest$ac_exeext; then
27668 eval "$as_ac_var=yes"
27670 echo "$as_me: failed program was:" >&5
27671 sed 's/^/| /' conftest.$ac_ext >&5
27673 eval "$as_ac_var=no"
27676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27677 conftest$ac_exeext conftest.$ac_ext
27679 ac_res=`eval echo '${'$as_ac_var'}'`
27680 { echo "$as_me:$LINENO: result: $ac_res" >&5
27681 echo "${ECHO_T}$ac_res" >&6; }
27682 if test `eval echo '${'$as_ac_var'}'` = yes; then
27683 cat >>confdefs.h <<_ACEOF
27684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27691 for ac_func in ceil
27693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27699 cat >conftest.$ac_ext <<_ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27707 #define $ac_func innocuous_$ac_func
27709 /* System header to define __stub macros and hopefully few prototypes,
27710 which can conflict with char $ac_func (); below.
27711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27712 <limits.h> exists even on freestanding compilers. */
27715 # include <limits.h>
27717 # include <assert.h>
27722 /* Override any GCC internal prototype to avoid an error.
27723 Use char because int might match the return type of a GCC
27724 builtin and then its argument prototype would still apply. */
27729 /* The GNU C library defines this for functions which it implements
27730 to always fail with ENOSYS. Some functions are actually named
27731 something starting with __ and the normal name is an alias. */
27732 #if defined __stub_$ac_func || defined __stub___$ac_func
27739 return $ac_func ();
27744 rm -f conftest.$ac_objext conftest$ac_exeext
27745 if { (ac_try="$ac_link"
27746 case "(($ac_try" in
27747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27748 *) ac_try_echo
=$ac_try;;
27750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27751 (eval "$ac_link") 2>conftest.er1
27753 grep -v '^ *+' conftest.er1
>conftest.err
27755 cat conftest.err
>&5
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); } && {
27758 test -z "$ac_c_werror_flag" ||
27759 test ! -s conftest.err
27760 } && test -s conftest
$ac_exeext &&
27761 $as_test_x conftest
$ac_exeext; then
27762 eval "$as_ac_var=yes"
27764 echo "$as_me: failed program was:" >&5
27765 sed 's/^/| /' conftest.
$ac_ext >&5
27767 eval "$as_ac_var=no"
27770 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27771 conftest
$ac_exeext conftest.
$ac_ext
27773 ac_res
=`eval echo '${'$as_ac_var'}'`
27774 { echo "$as_me:$LINENO: result: $ac_res" >&5
27775 echo "${ECHO_T}$ac_res" >&6; }
27776 if test `eval echo '${'$as_ac_var'}'` = yes; then
27777 cat >>confdefs.h
<<_ACEOF
27778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27784 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27785 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27786 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27787 { echo "$as_me:$LINENO: result: yes" >&5
27788 echo "${ECHO_T}yes" >&6; }
27790 { echo "$as_me:$LINENO: result: no" >&5
27791 echo "${ECHO_T}no" >&6; }
27792 # not sure we should warn the user, crash, etc.
27797 ac_cpp
='$CXXCPP $CPPFLAGS'
27798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27802 if test "wxUSE_UNICODE" = "yes"; then
27804 for wx_func
in wcstoull
27806 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27807 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27808 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27809 echo $ECHO_N "(cached) $ECHO_C" >&6
27812 cat >conftest.
$ac_ext <<_ACEOF
27816 cat confdefs.h
>>conftest.
$ac_ext
27817 cat >>conftest.
$ac_ext <<_ACEOF
27818 /* end confdefs.h. */
27821 $ac_includes_default
27837 rm -f conftest.
$ac_objext conftest
$ac_exeext
27838 if { (ac_try
="$ac_link"
27839 case "(($ac_try" in
27840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27841 *) ac_try_echo=$ac_try;;
27843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27844 (eval "$ac_link") 2>conftest.er1
27846 grep -v '^ *+' conftest.er1 >conftest.err
27848 cat conftest.err >&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } && {
27851 test -z "$ac_cxx_werror_flag" ||
27852 test ! -s conftest.err
27853 } && test -s conftest$ac_exeext &&
27854 $as_test_x conftest$ac_exeext; then
27855 eval wx_cv_func_$wx_func=yes
27857 echo "$as_me: failed program was:" >&5
27858 sed 's/^/| /' conftest.$ac_ext >&5
27860 eval wx_cv_func_$wx_func=no
27863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27864 conftest$ac_exeext conftest.$ac_ext
27867 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27868 { echo "$as_me:$LINENO: result: $ac_res" >&5
27869 echo "${ECHO_T}$ac_res" >&6; }
27871 if eval test \$wx_cv_func_$wx_func = yes
27873 cat >>confdefs.h <<_ACEOF
27874 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27886 for wx_func in strtoull
27888 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27889 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27890 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27894 cat >conftest.$ac_ext <<_ACEOF
27898 cat confdefs.h >>conftest.$ac_ext
27899 cat >>conftest.$ac_ext <<_ACEOF
27900 /* end confdefs.h. */
27903 $ac_includes_default
27919 rm -f conftest.$ac_objext conftest$ac_exeext
27920 if { (ac_try="$ac_link"
27921 case "(($ac_try" in
27922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27923 *) ac_try_echo
=$ac_try;;
27925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27926 (eval "$ac_link") 2>conftest.er1
27928 grep -v '^ *+' conftest.er1
>conftest.err
27930 cat conftest.err
>&5
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); } && {
27933 test -z "$ac_cxx_werror_flag" ||
27934 test ! -s conftest.err
27935 } && test -s conftest
$ac_exeext &&
27936 $as_test_x conftest
$ac_exeext; then
27937 eval wx_cv_func_
$wx_func=yes
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.
$ac_ext >&5
27942 eval wx_cv_func_
$wx_func=no
27945 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27946 conftest
$ac_exeext conftest.
$ac_ext
27949 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27950 { echo "$as_me:$LINENO: result: $ac_res" >&5
27951 echo "${ECHO_T}$ac_res" >&6; }
27953 if eval test \
$wx_cv_func_$wx_func = yes
27955 cat >>confdefs.h
<<_ACEOF
27956 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27968 ac_cpp
='$CPP $CPPFLAGS'
27969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27976 if test "$wxUSE_REGEX" != "no"; then
27977 cat >>confdefs.h
<<\_ACEOF
27978 #define wxUSE_REGEX 1
27982 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27983 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27984 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27985 wxUSE_REGEX
=builtin
27988 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27989 { echo "$as_me:$LINENO: checking for regex.h" >&5
27990 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27991 if test "${ac_cv_header_regex_h+set}" = set; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27994 cat >conftest.
$ac_ext <<_ACEOF
27997 cat confdefs.h
>>conftest.
$ac_ext
27998 cat >>conftest.
$ac_ext <<_ACEOF
27999 /* end confdefs.h. */
28004 rm -f conftest.
$ac_objext
28005 if { (ac_try
="$ac_compile"
28006 case "(($ac_try" in
28007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28008 *) ac_try_echo=$ac_try;;
28010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28011 (eval "$ac_compile") 2>conftest.er1
28013 grep -v '^ *+' conftest.er1 >conftest.err
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && {
28018 test -z "$ac_c_werror_flag" ||
28019 test ! -s conftest.err
28020 } && test -s conftest.$ac_objext; then
28021 ac_cv_header_regex_h=yes
28023 echo "$as_me: failed program was:" >&5
28024 sed 's/^/| /' conftest.$ac_ext >&5
28026 ac_cv_header_regex_h=no
28029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28031 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28032 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28033 if test $ac_cv_header_regex_h = yes; then
28036 for ac_func in regcomp re_search
28038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28044 cat >conftest.$ac_ext <<_ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28052 #define $ac_func innocuous_$ac_func
28054 /* System header to define __stub macros and hopefully few prototypes,
28055 which can conflict with char $ac_func (); below.
28056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28057 <limits.h> exists even on freestanding compilers. */
28060 # include <limits.h>
28062 # include <assert.h>
28067 /* Override any GCC internal prototype to avoid an error.
28068 Use char because int might match the return type of a GCC
28069 builtin and then its argument prototype would still apply. */
28074 /* The GNU C library defines this for functions which it implements
28075 to always fail with ENOSYS. Some functions are actually named
28076 something starting with __ and the normal name is an alias. */
28077 #if defined __stub_$ac_func || defined __stub___$ac_func
28084 return $ac_func ();
28089 rm -f conftest.$ac_objext conftest$ac_exeext
28090 if { (ac_try="$ac_link"
28091 case "(($ac_try" in
28092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28093 *) ac_try_echo
=$ac_try;;
28095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28096 (eval "$ac_link") 2>conftest.er1
28098 grep -v '^ *+' conftest.er1
>conftest.err
28100 cat conftest.err
>&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); } && {
28103 test -z "$ac_c_werror_flag" ||
28104 test ! -s conftest.err
28105 } && test -s conftest
$ac_exeext &&
28106 $as_test_x conftest
$ac_exeext; then
28107 eval "$as_ac_var=yes"
28109 echo "$as_me: failed program was:" >&5
28110 sed 's/^/| /' conftest.
$ac_ext >&5
28112 eval "$as_ac_var=no"
28115 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28116 conftest
$ac_exeext conftest.
$ac_ext
28118 ac_res
=`eval echo '${'$as_ac_var'}'`
28119 { echo "$as_me:$LINENO: result: $ac_res" >&5
28120 echo "${ECHO_T}$ac_res" >&6; }
28121 if test `eval echo '${'$as_ac_var'}'` = yes; then
28122 cat >>confdefs.h
<<_ACEOF
28123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28133 if test "x$ac_cv_func_regcomp" != "xyes"; then
28134 if test "$wxUSE_REGEX" = "sys" ; then
28135 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28136 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28137 { (exit 1); exit 1; }; }
28139 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28140 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28141 wxUSE_REGEX
=builtin
28145 cat >>confdefs.h
<<\_ACEOF
28146 #define WX_NO_REGEX_ADVANCED 1
28155 if test "$wxUSE_ZLIB" != "no" ; then
28156 cat >>confdefs.h
<<\_ACEOF
28157 #define wxUSE_ZLIB 1
28161 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28162 if test "$USE_DARWIN" = 1; then
28163 system_zlib_h_ok
="yes"
28165 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28166 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28167 if test "${ac_cv_header_zlib_h+set}" = set; then
28168 echo $ECHO_N "(cached) $ECHO_C" >&6
28170 if test "$cross_compiling" = yes; then
28171 unset ac_cv_header_zlib_h
28174 cat >conftest.
$ac_ext <<_ACEOF
28177 cat confdefs.h
>>conftest.
$ac_ext
28178 cat >>conftest.
$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28186 FILE *f=fopen("conftestval", "w");
28189 ZLIB_VERSION[0] == '1' &&
28190 (ZLIB_VERSION[2] > '1' ||
28191 (ZLIB_VERSION[2] == '1' &&
28192 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28197 rm -f conftest
$ac_exeext
28198 if { (ac_try
="$ac_link"
28199 case "(($ac_try" in
28200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28201 *) ac_try_echo=$ac_try;;
28203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28204 (eval "$ac_link") 2>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28208 { (case "(($ac_try" in
28209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28210 *) ac_try_echo
=$ac_try;;
28212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28213 (eval "$ac_try") 2>&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 ac_cv_header_zlib_h
=`cat conftestval`
28219 echo "$as_me: program exited with status $ac_status" >&5
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.
$ac_ext >&5
28223 ( exit $ac_status )
28224 ac_cv_header_zlib_h
=no
28226 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28232 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28233 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28234 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28235 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28236 if test "${ac_cv_header_zlib_h+set}" = set; then
28237 echo $ECHO_N "(cached) $ECHO_C" >&6
28239 cat >conftest.
$ac_ext <<_ACEOF
28242 cat confdefs.h
>>conftest.
$ac_ext
28243 cat >>conftest.
$ac_ext <<_ACEOF
28244 /* end confdefs.h. */
28249 rm -f conftest.
$ac_objext
28250 if { (ac_try
="$ac_compile"
28251 case "(($ac_try" in
28252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28253 *) ac_try_echo=$ac_try;;
28255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28256 (eval "$ac_compile") 2>conftest.er1
28258 grep -v '^ *+' conftest.er1 >conftest.err
28260 cat conftest.err >&5
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); } && {
28263 test -z "$ac_c_werror_flag" ||
28264 test ! -s conftest.err
28265 } && test -s conftest.$ac_objext; then
28266 ac_cv_header_zlib_h=yes
28268 echo "$as_me: failed program was:" >&5
28269 sed 's/^/| /' conftest.$ac_ext >&5
28271 ac_cv_header_zlib_h=no
28274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28276 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28277 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28281 system_zlib_h_ok=$ac_cv_header_zlib_h
28284 if test "$system_zlib_h_ok" = "yes"; then
28285 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28286 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28287 if test "${ac_cv_lib_z_deflate+set}" = set; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28290 ac_check_lib_save_LIBS=$LIBS
28292 cat >conftest.$ac_ext <<_ACEOF
28295 cat confdefs.h >>conftest.$ac_ext
28296 cat >>conftest.$ac_ext <<_ACEOF
28297 /* end confdefs.h. */
28299 /* Override any GCC internal prototype to avoid an error.
28300 Use char because int might match the return type of a GCC
28301 builtin and then its argument prototype would still apply. */
28314 rm -f conftest.$ac_objext 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>conftest.er1
28323 grep -v '^ *+' conftest.er1
>conftest.err
28325 cat conftest.err
>&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } && {
28328 test -z "$ac_c_werror_flag" ||
28329 test ! -s conftest.err
28330 } && test -s conftest
$ac_exeext &&
28331 $as_test_x conftest
$ac_exeext; then
28332 ac_cv_lib_z_deflate
=yes
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.
$ac_ext >&5
28337 ac_cv_lib_z_deflate
=no
28340 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28341 conftest
$ac_exeext conftest.
$ac_ext
28342 LIBS
=$ac_check_lib_save_LIBS
28344 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28345 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28346 if test $ac_cv_lib_z_deflate = yes; then
28352 if test "x$ZLIB_LINK" = "x" ; then
28353 if test "$wxUSE_ZLIB" = "sys" ; then
28354 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28355 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28356 { (exit 1); exit 1; }; }
28358 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28359 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28370 if test "$wxUSE_LIBPNG" != "no" ; then
28371 cat >>confdefs.h
<<\_ACEOF
28372 #define wxUSE_LIBPNG 1
28376 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28377 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28378 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28382 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28383 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28384 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28385 wxUSE_LIBPNG
=builtin
28388 if test "$wxUSE_MGL" != 1 ; then
28389 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28390 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28391 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28392 if test "${ac_cv_header_png_h+set}" = set; then
28393 echo $ECHO_N "(cached) $ECHO_C" >&6
28395 if test "$cross_compiling" = yes; then
28396 unset ac_cv_header_png_h
28399 cat >conftest.
$ac_ext <<_ACEOF
28402 cat confdefs.h
>>conftest.
$ac_ext
28403 cat >>conftest.
$ac_ext <<_ACEOF
28404 /* end confdefs.h. */
28411 FILE *f=fopen("conftestval", "w");
28414 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28419 rm -f conftest
$ac_exeext
28420 if { (ac_try
="$ac_link"
28421 case "(($ac_try" in
28422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28423 *) ac_try_echo=$ac_try;;
28425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28426 (eval "$ac_link") 2>&5
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); }; }; then
28439 ac_cv_header_png_h
=`cat conftestval`
28441 echo "$as_me: program exited with status $ac_status" >&5
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.
$ac_ext >&5
28445 ( exit $ac_status )
28446 ac_cv_header_png_h
=no
28448 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28454 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28455 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28456 { echo "$as_me:$LINENO: checking for png.h" >&5
28457 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28458 if test "${ac_cv_header_png_h+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 cat >conftest.
$ac_ext <<_ACEOF
28464 cat confdefs.h
>>conftest.
$ac_ext
28465 cat >>conftest.
$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28471 rm -f conftest.
$ac_objext
28472 if { (ac_try
="$ac_compile"
28473 case "(($ac_try" in
28474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28475 *) ac_try_echo=$ac_try;;
28477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28478 (eval "$ac_compile") 2>conftest.er1
28480 grep -v '^ *+' conftest.er1 >conftest.err
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } && {
28485 test -z "$ac_c_werror_flag" ||
28486 test ! -s conftest.err
28487 } && test -s conftest.$ac_objext; then
28488 ac_cv_header_png_h=yes
28490 echo "$as_me: failed program was:" >&5
28491 sed 's/^/| /' conftest.$ac_ext >&5
28493 ac_cv_header_png_h=no
28496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28498 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28499 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28503 if test "$ac_cv_header_png_h" = "yes"; then
28504 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28505 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28506 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28507 echo $ECHO_N "(cached) $ECHO_C" >&6
28509 ac_check_lib_save_LIBS=$LIBS
28510 LIBS="-lpng -lz -lm $LIBS"
28511 cat >conftest.$ac_ext <<_ACEOF
28514 cat confdefs.h >>conftest.$ac_ext
28515 cat >>conftest.$ac_ext <<_ACEOF
28516 /* end confdefs.h. */
28518 /* Override any GCC internal prototype to avoid an error.
28519 Use char because int might match the return type of a GCC
28520 builtin and then its argument prototype would still apply. */
28524 char png_sig_cmp ();
28528 return png_sig_cmp ();
28533 rm -f conftest.$ac_objext conftest$ac_exeext
28534 if { (ac_try="$ac_link"
28535 case "(($ac_try" in
28536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28537 *) ac_try_echo
=$ac_try;;
28539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_link") 2>conftest.er1
28542 grep -v '^ *+' conftest.er1
>conftest.err
28544 cat conftest.err
>&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } && {
28547 test -z "$ac_c_werror_flag" ||
28548 test ! -s conftest.err
28549 } && test -s conftest
$ac_exeext &&
28550 $as_test_x conftest
$ac_exeext; then
28551 ac_cv_lib_png_png_sig_cmp
=yes
28553 echo "$as_me: failed program was:" >&5
28554 sed 's/^/| /' conftest.
$ac_ext >&5
28556 ac_cv_lib_png_png_sig_cmp
=no
28559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28560 conftest
$ac_exeext conftest.
$ac_ext
28561 LIBS
=$ac_check_lib_save_LIBS
28563 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28564 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28565 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28566 PNG_LINK
=" -lpng -lz"
28571 if test "x$PNG_LINK" = "x" ; then
28572 if test "$wxUSE_LIBPNG" = "sys" ; then
28573 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28574 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28575 { (exit 1); exit 1; }; }
28577 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28578 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28579 wxUSE_LIBPNG
=builtin
28590 if test "$wxUSE_LIBJPEG" != "no" ; then
28591 cat >>confdefs.h
<<\_ACEOF
28592 #define wxUSE_LIBJPEG 1
28596 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28597 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28598 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28602 if test "$wxUSE_MGL" != 1 ; then
28603 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28604 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28605 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28606 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28607 echo $ECHO_N "(cached) $ECHO_C" >&6
28609 cat >conftest.
$ac_ext <<_ACEOF
28612 cat confdefs.h
>>conftest.
$ac_ext
28613 cat >>conftest.
$ac_ext <<_ACEOF
28614 /* end confdefs.h. */
28616 #undef HAVE_STDLIB_H
28618 #include <jpeglib.h>
28629 rm -f conftest.
$ac_objext
28630 if { (ac_try
="$ac_compile"
28631 case "(($ac_try" in
28632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_compile") 2>conftest.er1
28638 grep -v '^ *+' conftest.er1 >conftest.err
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } && {
28643 test -z "$ac_c_werror_flag" ||
28644 test ! -s conftest.err
28645 } && test -s conftest.$ac_objext; then
28646 ac_cv_header_jpeglib_h=yes
28648 echo "$as_me: failed program was:" >&5
28649 sed 's/^/| /' conftest.$ac_ext >&5
28651 ac_cv_header_jpeglib_h=no
28655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28659 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28660 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28662 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28663 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28664 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28665 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28666 echo $ECHO_N "(cached) $ECHO_C" >&6
28668 ac_check_lib_save_LIBS=$LIBS
28669 LIBS="-ljpeg $LIBS"
28670 cat >conftest.$ac_ext <<_ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28677 /* Override any GCC internal prototype to avoid an error.
28678 Use char because int might match the return type of a GCC
28679 builtin and then its argument prototype would still apply. */
28683 char jpeg_read_header ();
28687 return jpeg_read_header ();
28692 rm -f conftest.$ac_objext conftest$ac_exeext
28693 if { (ac_try="$ac_link"
28694 case "(($ac_try" in
28695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28696 *) ac_try_echo
=$ac_try;;
28698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28699 (eval "$ac_link") 2>conftest.er1
28701 grep -v '^ *+' conftest.er1
>conftest.err
28703 cat conftest.err
>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } && {
28706 test -z "$ac_c_werror_flag" ||
28707 test ! -s conftest.err
28708 } && test -s conftest
$ac_exeext &&
28709 $as_test_x conftest
$ac_exeext; then
28710 ac_cv_lib_jpeg_jpeg_read_header
=yes
28712 echo "$as_me: failed program was:" >&5
28713 sed 's/^/| /' conftest.
$ac_ext >&5
28715 ac_cv_lib_jpeg_jpeg_read_header
=no
28718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28719 conftest
$ac_exeext conftest.
$ac_ext
28720 LIBS
=$ac_check_lib_save_LIBS
28722 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28723 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28724 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28725 JPEG_LINK
=" -ljpeg"
28730 if test "x$JPEG_LINK" = "x" ; then
28731 if test "$wxUSE_LIBJPEG" = "sys" ; then
28732 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28733 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28734 { (exit 1); exit 1; }; }
28736 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28737 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28738 wxUSE_LIBJPEG
=builtin
28743 if test "$wxUSE_MSW" = 1; then
28744 { echo "$as_me:$LINENO: checking for boolean" >&5
28745 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28746 if test "${ac_cv_type_boolean+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28749 cat >conftest.
$ac_ext <<_ACEOF
28752 cat confdefs.h
>>conftest.
$ac_ext
28753 cat >>conftest.
$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28755 #include <windows.h>
28757 typedef boolean ac__type_new_;
28761 if ((ac__type_new_ *) 0)
28763 if (sizeof (ac__type_new_))
28769 rm -f conftest.
$ac_objext
28770 if { (ac_try
="$ac_compile"
28771 case "(($ac_try" in
28772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28773 *) ac_try_echo=$ac_try;;
28775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28776 (eval "$ac_compile") 2>conftest.er1
28778 grep -v '^ *+' conftest.er1 >conftest.err
28780 cat conftest.err >&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } && {
28783 test -z "$ac_c_werror_flag" ||
28784 test ! -s conftest.err
28785 } && test -s conftest.$ac_objext; then
28786 ac_cv_type_boolean=yes
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28791 ac_cv_type_boolean=no
28794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28796 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28797 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28798 if test $ac_cv_type_boolean = yes; then
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE_BOOLEAN 1
28805 { echo "$as_me:$LINENO: checking for boolean" >&5
28806 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28807 if test "${ac_cv_type_boolean+set}" = set; then
28808 echo $ECHO_N "(cached) $ECHO_C" >&6
28810 cat >conftest.$ac_ext <<_ACEOF
28813 cat confdefs.h >>conftest.$ac_ext
28814 cat >>conftest.$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28817 #undef HAVE_BOOLEAN
28819 #include <jpeglib.h>
28822 typedef boolean ac__type_new_;
28826 if ((ac__type_new_ *) 0)
28828 if (sizeof (ac__type_new_))
28834 rm -f conftest.$ac_objext
28835 if { (ac_try="$ac_compile"
28836 case "(($ac_try" in
28837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28838 *) ac_try_echo
=$ac_try;;
28840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28841 (eval "$ac_compile") 2>conftest.er1
28843 grep -v '^ *+' conftest.er1
>conftest.err
28845 cat conftest.err
>&5
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); } && {
28848 test -z "$ac_c_werror_flag" ||
28849 test ! -s conftest.err
28850 } && test -s conftest.
$ac_objext; then
28851 ac_cv_type_boolean
=yes
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.
$ac_ext >&5
28856 ac_cv_type_boolean
=no
28859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28861 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28862 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28864 # The cast to long int works around a bug in the HP C Compiler
28865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28867 # This bug is HP SR number 8606223364.
28868 { echo "$as_me:$LINENO: checking size of boolean" >&5
28869 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28870 if test "${ac_cv_sizeof_boolean+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28873 if test "$cross_compiling" = yes; then
28874 # Depending upon the size, compute the lo and hi bounds.
28875 cat >conftest.
$ac_ext <<_ACEOF
28878 cat confdefs.h
>>conftest.
$ac_ext
28879 cat >>conftest.
$ac_ext <<_ACEOF
28880 /* end confdefs.h. */
28882 #undef HAVE_BOOLEAN
28884 #include <jpeglib.h>
28887 typedef boolean ac__type_sizeof_;
28891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28898 rm -f conftest.
$ac_objext
28899 if { (ac_try
="$ac_compile"
28900 case "(($ac_try" in
28901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28902 *) ac_try_echo=$ac_try;;
28904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28905 (eval "$ac_compile") 2>conftest.er1
28907 grep -v '^ *+' conftest.er1 >conftest.err
28909 cat conftest.err >&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); } && {
28912 test -z "$ac_c_werror_flag" ||
28913 test ! -s conftest.err
28914 } && test -s conftest.$ac_objext; then
28917 cat >conftest.$ac_ext <<_ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28924 #undef HAVE_BOOLEAN
28926 #include <jpeglib.h>
28929 typedef boolean ac__type_sizeof_;
28933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28940 rm -f conftest.$ac_objext
28941 if { (ac_try="$ac_compile"
28942 case "(($ac_try" in
28943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28944 *) ac_try_echo
=$ac_try;;
28946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28947 (eval "$ac_compile") 2>conftest.er1
28949 grep -v '^ *+' conftest.er1
>conftest.err
28951 cat conftest.err
>&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); } && {
28954 test -z "$ac_c_werror_flag" ||
28955 test ! -s conftest.err
28956 } && test -s conftest.
$ac_objext; then
28957 ac_hi
=$ac_mid; break
28959 echo "$as_me: failed program was:" >&5
28960 sed 's/^/| /' conftest.
$ac_ext >&5
28962 ac_lo
=`expr $ac_mid + 1`
28963 if test $ac_lo -le $ac_mid; then
28967 ac_mid
=`expr 2 '*' $ac_mid + 1`
28970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.
$ac_ext >&5
28976 cat >conftest.
$ac_ext <<_ACEOF
28979 cat confdefs.h
>>conftest.
$ac_ext
28980 cat >>conftest.
$ac_ext <<_ACEOF
28981 /* end confdefs.h. */
28983 #undef HAVE_BOOLEAN
28985 #include <jpeglib.h>
28988 typedef boolean ac__type_sizeof_;
28992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28999 rm -f conftest.
$ac_objext
29000 if { (ac_try
="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29008 grep -v '^ *+' conftest.er1 >conftest.err
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29018 cat >conftest.$ac_ext <<_ACEOF
29021 cat confdefs.h >>conftest.$ac_ext
29022 cat >>conftest.$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29025 #undef HAVE_BOOLEAN
29027 #include <jpeglib.h>
29030 typedef boolean ac__type_sizeof_;
29034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29041 rm -f conftest.$ac_objext
29042 if { (ac_try="$ac_compile"
29043 case "(($ac_try" in
29044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29045 *) ac_try_echo
=$ac_try;;
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_compile") 2>conftest.er1
29050 grep -v '^ *+' conftest.er1
>conftest.err
29052 cat conftest.err
>&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } && {
29055 test -z "$ac_c_werror_flag" ||
29056 test ! -s conftest.err
29057 } && test -s conftest.
$ac_objext; then
29058 ac_lo
=$ac_mid; break
29060 echo "$as_me: failed program was:" >&5
29061 sed 's/^/| /' conftest.
$ac_ext >&5
29063 ac_hi
=`expr '(' $ac_mid ')' - 1`
29064 if test $ac_mid -le $ac_hi; then
29068 ac_mid
=`expr 2 '*' $ac_mid`
29071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29074 echo "$as_me: failed program was:" >&5
29075 sed 's/^/| /' conftest.
$ac_ext >&5
29080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29084 # Binary search between lo and hi bounds.
29085 while test "x$ac_lo" != "x$ac_hi"; do
29086 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29087 cat >conftest.
$ac_ext <<_ACEOF
29090 cat confdefs.h
>>conftest.
$ac_ext
29091 cat >>conftest.
$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29094 #undef HAVE_BOOLEAN
29096 #include <jpeglib.h>
29099 typedef boolean ac__type_sizeof_;
29103 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29110 rm -f conftest.
$ac_objext
29111 if { (ac_try
="$ac_compile"
29112 case "(($ac_try" in
29113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29114 *) ac_try_echo=$ac_try;;
29116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29117 (eval "$ac_compile") 2>conftest.er1
29119 grep -v '^ *+' conftest.er1 >conftest.err
29121 cat conftest.err >&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } && {
29124 test -z "$ac_c_werror_flag" ||
29125 test ! -s conftest.err
29126 } && test -s conftest.$ac_objext; then
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29132 ac_lo=`expr '(' $ac_mid ')' + 1`
29135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29139 '') if test "$ac_cv_type_boolean" = yes; then
29140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29141 See \`config.log
' for more details." >&5
29142 echo "$as_me: error: cannot compute sizeof (boolean)
29143 See \`config.log' for more details.
" >&2;}
29144 { (exit 77); exit 77; }; }
29146 ac_cv_sizeof_boolean=0
29150 cat >conftest.$ac_ext <<_ACEOF
29153 cat confdefs.h >>conftest.$ac_ext
29154 cat >>conftest.$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29157 #undef HAVE_BOOLEAN
29159 #include <jpeglib.h>
29162 typedef boolean ac__type_sizeof_;
29163 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29164 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29166 #include <stdlib.h>
29171 FILE *f = fopen ("conftest.val
", "w
");
29174 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29176 long int i = longval ();
29177 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29179 fprintf (f, "%ld
\n", i);
29183 unsigned long int i = ulongval ();
29184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29186 fprintf (f, "%lu
\n", i);
29188 return ferror (f) || fclose (f) != 0;
29194 rm -f conftest$ac_exeext
29195 if { (ac_try="$ac_link"
29196 case "(($ac_try" in
29197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29198 *) ac_try_echo=$ac_try;;
29200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29201 (eval "$ac_link") 2>&5
29203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29205 { (case "(($ac_try" in
29206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29207 *) ac_try_echo=$ac_try;;
29209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29210 (eval "$ac_try") 2>&5
29212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29213 (exit $ac_status); }; }; then
29214 ac_cv_sizeof_boolean=`cat conftest.val`
29216 echo "$as_me: program exited with status
$ac_status" >&5
29217 echo "$as_me: failed program was
:" >&5
29218 sed 's/^/| /' conftest.$ac_ext >&5
29220 ( exit $ac_status )
29221 if test "$ac_cv_type_boolean" = yes; then
29222 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
29223 See \
`config.log' for more details." >&5
29224 echo "$as_me: error: cannot compute sizeof (boolean)
29225 See \`config.log
' for more details." >&2;}
29226 { (exit 77); exit 77; }; }
29228 ac_cv_sizeof_boolean=0
29231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29235 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29236 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29240 cat >>confdefs.h <<_ACEOF
29241 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29245 cat >>confdefs.h <<_ACEOF
29246 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29260 TIFF_PREREQ_LINKS=-lm
29261 if test "$wxUSE_LIBTIFF" != "no" ; then
29262 cat >>confdefs.h <<\_ACEOF
29263 #define wxUSE_LIBTIFF 1
29267 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29268 if test "$wxUSE_LIBJPEG" = "sys"; then
29269 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29271 if test "$wxUSE_ZLIB" = "sys"; then
29272 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29274 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29275 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29276 if test "${ac_cv_header_tiffio_h+set}" = set; then
29277 echo $ECHO_N "(cached) $ECHO_C" >&6
29279 cat >conftest.$ac_ext <<_ACEOF
29282 cat confdefs.h >>conftest.$ac_ext
29283 cat >>conftest.$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29288 #include <tiffio.h>
29290 rm -f conftest.$ac_objext
29291 if { (ac_try="$ac_compile"
29292 case "(($ac_try" in
29293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29294 *) ac_try_echo=$ac_try;;
29296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29297 (eval "$ac_compile") 2>conftest.er1
29299 grep -v '^
*+' conftest.er1 >conftest.err
29301 cat conftest.err >&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } && {
29304 test -z "$ac_c_werror_flag" ||
29305 test ! -s conftest.err
29306 } && test -s conftest.$ac_objext; then
29307 ac_cv_header_tiffio_h=yes
29309 echo "$as_me: failed program was:" >&5
29310 sed 's
/^
/| /' conftest.$ac_ext >&5
29312 ac_cv_header_tiffio_h=no
29315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29318 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29319 if test $ac_cv_header_tiffio_h = yes; then
29321 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29322 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29323 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29324 echo $ECHO_N "(cached) $ECHO_C" >&6
29326 ac_check_lib_save_LIBS=$LIBS
29327 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29328 cat >conftest.$ac_ext <<_ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29335 /* Override any GCC internal prototype to avoid an error.
29336 Use char because int might match the return type of a GCC
29337 builtin and then its argument prototype would still apply. */
29345 return TIFFError ();
29350 rm -f conftest.$ac_objext conftest$ac_exeext
29351 if { (ac_try="$ac_link"
29352 case "(($ac_try" in
29353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29354 *) ac_try_echo=$ac_try;;
29356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29357 (eval "$ac_link") 2>conftest.er1
29359 grep -v '^
*+' conftest.er1 >conftest.err
29361 cat conftest.err >&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } && {
29364 test -z "$ac_c_werror_flag" ||
29365 test ! -s conftest.err
29366 } && test -s conftest$ac_exeext &&
29367 $as_test_x conftest$ac_exeext; then
29368 ac_cv_lib_tiff_TIFFError=yes
29370 echo "$as_me: failed program was:" >&5
29371 sed 's
/^
/| /' conftest.$ac_ext >&5
29373 ac_cv_lib_tiff_TIFFError=no
29376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29377 conftest$ac_exeext conftest.$ac_ext
29378 LIBS=$ac_check_lib_save_LIBS
29380 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29381 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29382 if test $ac_cv_lib_tiff_TIFFError = yes; then
29383 TIFF_LINK=" -ltiff"
29391 if test "x$TIFF_LINK" = "x" ; then
29392 if test "$wxUSE_LIBTIFF" = "sys" ; then
29393 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29394 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29395 { (exit 1); exit 1; }; }
29397 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29398 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29399 wxUSE_LIBTIFF=builtin
29405 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29406 if test "$wxUSE_LIBJPEG" = "no"; then
29407 ac_configure_args="$ac_configure_args --disable-jpeg"
29409 subdirs="$subdirs src/tiff"
29415 if test "$wxUSE_EXPAT" != "no"; then
29417 cat >>confdefs.h <<\_ACEOF
29418 #define wxUSE_EXPAT 1
29421 cat >>confdefs.h <<\_ACEOF
29422 #define wxUSE_XML 1
29426 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29427 { echo "$as_me:$LINENO: checking for expat.h" >&5
29428 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29429 if test "${ac_cv_header_expat_h+set}" = set; then
29430 echo $ECHO_N "(cached) $ECHO_C" >&6
29432 cat >conftest.$ac_ext <<_ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29442 rm -f conftest.$ac_objext
29443 if { (ac_try="$ac_compile"
29444 case "(($ac_try" in
29445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29446 *) ac_try_echo=$ac_try;;
29448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29449 (eval "$ac_compile") 2>conftest.er1
29451 grep -v '^
*+' conftest.er1 >conftest.err
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } && {
29456 test -z "$ac_c_werror_flag" ||
29457 test ! -s conftest.err
29458 } && test -s conftest.$ac_objext; then
29459 ac_cv_header_expat_h=yes
29461 echo "$as_me: failed program was:" >&5
29462 sed 's
/^
/| /' conftest.$ac_ext >&5
29464 ac_cv_header_expat_h=no
29467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29469 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29470 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29471 if test $ac_cv_header_expat_h = yes; then
29476 if test "x$found_expat_h" = "x1"; then
29477 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29478 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29479 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29480 echo $ECHO_N "(cached) $ECHO_C" >&6
29484 ac_cpp='$CXXCPP $CPPFLAGS'
29485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29486 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29489 cat >conftest.$ac_ext <<_ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29504 rm -f conftest.$ac_objext
29505 if { (ac_try="$ac_compile"
29506 case "(($ac_try" in
29507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29508 *) ac_try_echo=$ac_try;;
29510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29511 (eval "$ac_compile") 2>conftest.er1
29513 grep -v '^
*+' conftest.er1 >conftest.err
29515 cat conftest.err >&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } && {
29518 test -z "$ac_cxx_werror_flag" ||
29519 test ! -s conftest.err
29520 } && test -s conftest.$ac_objext; then
29521 wx_cv_expat_is_not_broken=yes
29523 echo "$as_me: failed program was:" >&5
29524 sed 's
/^
/| /' conftest.$ac_ext >&5
29526 wx_cv_expat_is_not_broken=no
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29532 ac_cpp='$CPP $CPPFLAGS'
29533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29534 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29540 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29541 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29542 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29543 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29544 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29545 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29548 ac_check_lib_save_LIBS=$LIBS
29549 LIBS="-lexpat $LIBS"
29550 cat >conftest.$ac_ext <<_ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29557 /* Override any GCC internal prototype to avoid an error.
29558 Use char because int might match the return type of a GCC
29559 builtin and then its argument prototype would still apply. */
29563 char XML_ParserCreate ();
29567 return XML_ParserCreate ();
29572 rm -f conftest.$ac_objext conftest$ac_exeext
29573 if { (ac_try="$ac_link"
29574 case "(($ac_try" in
29575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29576 *) ac_try_echo=$ac_try;;
29578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29579 (eval "$ac_link") 2>conftest.er1
29581 grep -v '^
*+' conftest.er1 >conftest.err
29583 cat conftest.err >&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); } && {
29586 test -z "$ac_c_werror_flag" ||
29587 test ! -s conftest.err
29588 } && test -s conftest$ac_exeext &&
29589 $as_test_x conftest$ac_exeext; then
29590 ac_cv_lib_expat_XML_ParserCreate=yes
29592 echo "$as_me: failed program was:" >&5
29593 sed 's
/^
/| /' conftest.$ac_ext >&5
29595 ac_cv_lib_expat_XML_ParserCreate=no
29598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29599 conftest$ac_exeext conftest.$ac_ext
29600 LIBS=$ac_check_lib_save_LIBS
29602 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29603 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29604 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29605 EXPAT_LINK=" -lexpat"
29610 if test "x$EXPAT_LINK" = "x" ; then
29611 if test "$wxUSE_EXPAT" = "sys" ; then
29612 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29613 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29614 { (exit 1); exit 1; }; }
29616 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29617 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29618 wxUSE_EXPAT=builtin
29624 if test "$wxUSE_EXPAT" = "builtin" ; then
29625 subdirs="$subdirs src/expat"
29632 if test "$wxUSE_LIBMSPACK" != "no"; then
29633 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29634 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29635 if test "${ac_cv_header_mspack_h+set}" = set; then
29636 echo $ECHO_N "(cached) $ECHO_C" >&6
29638 cat >conftest.$ac_ext <<_ACEOF
29641 cat confdefs.h >>conftest.$ac_ext
29642 cat >>conftest.$ac_ext <<_ACEOF
29643 /* end confdefs.h. */
29646 #include <mspack.h>
29648 rm -f conftest.$ac_objext
29649 if { (ac_try="$ac_compile"
29650 case "(($ac_try" in
29651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29652 *) ac_try_echo=$ac_try;;
29654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29655 (eval "$ac_compile") 2>conftest.er1
29657 grep -v '^
*+' conftest.er1 >conftest.err
29659 cat conftest.err >&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); } && {
29662 test -z "$ac_c_werror_flag" ||
29663 test ! -s conftest.err
29664 } && test -s conftest.$ac_objext; then
29665 ac_cv_header_mspack_h=yes
29667 echo "$as_me: failed program was:" >&5
29668 sed 's
/^
/| /' conftest.$ac_ext >&5
29670 ac_cv_header_mspack_h=no
29673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29676 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29677 if test $ac_cv_header_mspack_h = yes; then
29682 if test "x$found_mspack_h" = "x1"; then
29683 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29684 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29685 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29688 ac_check_lib_save_LIBS=$LIBS
29689 LIBS="-lmspack $LIBS"
29690 cat >conftest.$ac_ext <<_ACEOF
29693 cat confdefs.h >>conftest.$ac_ext
29694 cat >>conftest.$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29697 /* Override any GCC internal prototype to avoid an error.
29698 Use char because int might match the return type of a GCC
29699 builtin and then its argument prototype would still apply. */
29703 char mspack_create_chm_decompressor ();
29707 return mspack_create_chm_decompressor ();
29712 rm -f conftest.$ac_objext conftest$ac_exeext
29713 if { (ac_try="$ac_link"
29714 case "(($ac_try" in
29715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29716 *) ac_try_echo=$ac_try;;
29718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29719 (eval "$ac_link") 2>conftest.er1
29721 grep -v '^
*+' conftest.er1 >conftest.err
29723 cat conftest.err >&5
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); } && {
29726 test -z "$ac_c_werror_flag" ||
29727 test ! -s conftest.err
29728 } && test -s conftest$ac_exeext &&
29729 $as_test_x conftest$ac_exeext; then
29730 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29732 echo "$as_me: failed program was:" >&5
29733 sed 's
/^
/| /' conftest.$ac_ext >&5
29735 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29739 conftest$ac_exeext conftest.$ac_ext
29740 LIBS=$ac_check_lib_save_LIBS
29742 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29743 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29744 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29745 MSPACK_LINK=" -lmspack"
29749 if test "x$MSPACK_LINK" = "x" ; then
29754 if test "$wxUSE_LIBMSPACK" != "no"; then
29755 cat >>confdefs.h <<\_ACEOF
29756 #define wxUSE_LIBMSPACK 1
29770 if test "$USE_WIN32" = 1 ; then
29772 for ac_header in w32api.h
29774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 cat >conftest.$ac_ext <<_ACEOF
29783 cat confdefs.h >>conftest.$ac_ext
29784 cat >>conftest.$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29788 #include <$ac_header>
29790 rm -f conftest.$ac_objext
29791 if { (ac_try="$ac_compile"
29792 case "(($ac_try" in
29793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29794 *) ac_try_echo=$ac_try;;
29796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29797 (eval "$ac_compile") 2>conftest.er1
29799 grep -v '^
*+' conftest.er1 >conftest.err
29801 cat conftest.err >&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } && {
29804 test -z "$ac_c_werror_flag" ||
29805 test ! -s conftest.err
29806 } && test -s conftest.$ac_objext; then
29807 eval "$as_ac_Header=yes"
29809 echo "$as_me: failed program was:" >&5
29810 sed 's
/^
/| /' conftest.$ac_ext >&5
29812 eval "$as_ac_Header=no"
29815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29817 ac_res=`eval echo '${'$as_ac_Header'}'`
29818 { echo "$as_me:$LINENO: result: $ac_res" >&5
29819 echo "${ECHO_T}$ac_res" >&6; }
29820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29821 cat >>confdefs.h <<_ACEOF
29822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29829 { echo "$as_me:$LINENO: checking for windows.h" >&5
29830 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29831 if test "${ac_cv_header_windows_h+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29834 cat >conftest.$ac_ext <<_ACEOF
29837 cat confdefs.h >>conftest.$ac_ext
29838 cat >>conftest.$ac_ext <<_ACEOF
29839 /* end confdefs.h. */
29842 #include <windows.h>
29844 rm -f conftest.$ac_objext
29845 if { (ac_try="$ac_compile"
29846 case "(($ac_try" in
29847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29848 *) ac_try_echo=$ac_try;;
29850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29851 (eval "$ac_compile") 2>conftest.er1
29853 grep -v '^
*+' conftest.er1 >conftest.err
29855 cat conftest.err >&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } && {
29858 test -z "$ac_c_werror_flag" ||
29859 test ! -s conftest.err
29860 } && test -s conftest.$ac_objext; then
29861 ac_cv_header_windows_h=yes
29863 echo "$as_me: failed program was:" >&5
29864 sed 's
/^
/| /' conftest.$ac_ext >&5
29866 ac_cv_header_windows_h=no
29869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29871 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29872 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29873 if test $ac_cv_header_windows_h = yes; then
29877 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29878 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29879 { (exit 1); exit 1; }; }
29885 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29887 x86_64-*-mingw32* )
29888 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29891 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29892 LIBS="$LIBS -loleacc"
29897 LIBS="$LIBS -lkernel32 -luser32"
29900 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29901 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29903 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29905 WIN32INSTALL=win32install
29908 if test "$wxUSE_GUI" = "yes"; then
29917 if test "$wxUSE_OLD_COCOA" = 1 ; then
29918 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29919 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29920 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29921 wxUSE_PRINTING_ARCHITECTURE=no
29923 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29924 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29925 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29926 wxUSE_DRAG_AND_DROP=no
29928 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29929 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29930 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29935 if test "$wxUSE_MSW" = 1 ; then
29941 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29945 if test "$wxUSE_GTK" = 1; then
29946 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29947 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29949 gtk_version_cached=1
29950 if test "${wx_cv_lib_gtk+set}" = set; then
29951 echo $ECHO_N "(cached) $ECHO_C" >&6
29954 gtk_version_cached=0
29955 { echo "$as_me:$LINENO: result: " >&5
29956 echo "${ECHO_T}" >&6; }
29959 if test "$wxUSE_THREADS" = "yes"; then
29960 GTK_MODULES=gthread
29964 if test "x$wxGTK_VERSION" != "x1"
29968 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29973 # Check whether --enable-gtktest was given.
29974 if test "${enable_gtktest+set}" = set; then
29975 enableval=$enable_gtktest;
29981 pkg_config_args=gtk+-2.0
29982 for module in . $GTK_MODULES
29986 pkg_config_args="$pkg_config_args gthread-2.0"
29993 # Extract the first word of "pkg-config", so it can be a program name with args.
29994 set dummy pkg-config; ac_word=$2
29995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29997 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29998 echo $ECHO_N "(cached) $ECHO_C" >&6
30000 case $PKG_CONFIG in
30002 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30006 for as_dir in $PATH
30009 test -z "$as_dir" && as_dir=.
30010 for ac_exec_ext in '' $ac_executable_extensions; do
30011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30012 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30020 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30024 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30025 if test -n "$PKG_CONFIG"; then
30026 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30027 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30029 { echo "$as_me:$LINENO: result: no" >&5
30030 echo "${ECHO_T}no" >&6; }
30035 if test x$PKG_CONFIG != xno ; then
30036 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30039 echo "*** pkg-config too old; version 0.7 or better required."
30047 min_gtk_version=2.4.0
30048 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30049 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30051 if test x$PKG_CONFIG != xno ; then
30052 ## don't try to run the
test against uninstalled libtool libs
30053 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30054 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30058 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30065 if test x
"$no_gtk" = x
; then
30066 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
30067 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
30068 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30070 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30072 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30074 if test "x$enable_gtktest" = "xyes" ; then
30075 ac_save_CFLAGS
="$CFLAGS"
30076 ac_save_LIBS
="$LIBS"
30077 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30078 LIBS
="$GTK_LIBS $LIBS"
30080 if test "$cross_compiling" = yes; then
30081 echo $ac_n "cross compiling; assumed OK... $ac_c"
30083 cat >conftest.
$ac_ext <<_ACEOF
30086 cat confdefs.h
>>conftest.
$ac_ext
30087 cat >>conftest.
$ac_ext <<_ACEOF
30088 /* end confdefs.h. */
30090 #include <gtk/gtk.h>
30092 #include <stdlib.h>
30097 int major, minor, micro;
30100 system ("touch conf.gtktest");
30102 /* HP/UX 9 (%@#!) writes to sscanf strings */
30103 tmp_version = g_strdup("$min_gtk_version");
30104 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30105 printf("%s, bad version string\n", "$min_gtk_version");
30109 if ((gtk_major_version != $gtk_config_major_version) ||
30110 (gtk_minor_version != $gtk_config_minor_version) ||
30111 (gtk_micro_version != $gtk_config_micro_version))
30113 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30114 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30115 gtk_major_version, gtk_minor_version, gtk_micro_version);
30116 printf ("*** was found! If pkg-config was correct, then it is best\n");
30117 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30118 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30119 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30120 printf("*** required on your system.\n");
30121 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30122 printf("*** to point to the correct configuration files\n");
30124 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30125 (gtk_minor_version != GTK_MINOR_VERSION) ||
30126 (gtk_micro_version != GTK_MICRO_VERSION))
30128 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30129 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30130 printf("*** library (version %d.%d.%d)\n",
30131 gtk_major_version, gtk_minor_version, gtk_micro_version);
30135 if ((gtk_major_version > major) ||
30136 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30137 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30143 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30144 gtk_major_version, gtk_minor_version, gtk_micro_version);
30145 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30146 major, minor, micro);
30147 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30149 printf("*** If you have already installed a sufficiently new version, this error\n");
30150 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30151 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30152 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30153 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30154 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30155 printf("*** so that the correct libraries are found at run-time))\n");
30162 rm -f conftest
$ac_exeext
30163 if { (ac_try
="$ac_link"
30164 case "(($ac_try" in
30165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30166 *) ac_try_echo=$ac_try;;
30168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30169 (eval "$ac_link") 2>&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30173 { (case "(($ac_try" in
30174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30175 *) ac_try_echo
=$ac_try;;
30177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_try") 2>&5
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; }; then
30184 echo "$as_me: program exited with status $ac_status" >&5
30185 echo "$as_me: failed program was:" >&5
30186 sed 's/^/| /' conftest.
$ac_ext >&5
30188 ( exit $ac_status )
30191 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30195 CFLAGS
="$ac_save_CFLAGS"
30196 LIBS
="$ac_save_LIBS"
30199 if test "x$no_gtk" = x
; then
30200 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30201 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30204 { echo "$as_me:$LINENO: result: no" >&5
30205 echo "${ECHO_T}no" >&6; }
30206 if test "$PKG_CONFIG" = "no" ; then
30207 echo "*** A new enough version of pkg-config was not found."
30208 echo "*** See http://pkgconfig.sourceforge.net"
30210 if test -f conf.gtktest
; then
30213 echo "*** Could not run GTK+ test program, checking why..."
30214 ac_save_CFLAGS
="$CFLAGS"
30215 ac_save_LIBS
="$LIBS"
30216 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30217 LIBS
="$LIBS $GTK_LIBS"
30218 cat >conftest.
$ac_ext <<_ACEOF
30221 cat confdefs.h
>>conftest.
$ac_ext
30222 cat >>conftest.
$ac_ext <<_ACEOF
30223 /* end confdefs.h. */
30225 #include <gtk/gtk.h>
30231 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30236 rm -f conftest.
$ac_objext conftest
$ac_exeext
30237 if { (ac_try
="$ac_link"
30238 case "(($ac_try" in
30239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30240 *) ac_try_echo=$ac_try;;
30242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30243 (eval "$ac_link") 2>conftest.er1
30245 grep -v '^ *+' conftest.er1 >conftest.err
30247 cat conftest.err >&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } && {
30250 test -z "$ac_c_werror_flag" ||
30251 test ! -s conftest.err
30252 } && test -s conftest$ac_exeext &&
30253 $as_test_x conftest$ac_exeext; then
30254 echo "*** The test program compiled, but did not run. This usually means"
30255 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30256 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30259 echo "*** is required on your system"
30261 echo "*** If you have an old version installed, it is best to remove it, although"
30262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30264 echo "$as_me: failed program was:" >&5
30265 sed 's/^/| /' conftest.$ac_ext >&5
30267 echo "*** The test program failed to compile or link. See the file config.log for the"
30268 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30273 CFLAGS="$ac_save_CFLAGS"
30274 LIBS="$ac_save_LIBS"
30287 if test -z "$wx_cv_lib_gtk"; then
30288 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30290 # Check whether --with-gtk-prefix was given.
30291 if test "${with_gtk_prefix+set}" = set; then
30292 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30294 gtk_config_prefix=""
30298 # Check whether --with-gtk-exec-prefix was given.
30299 if test "${with_gtk_exec_prefix+set}" = set; then
30300 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30302 gtk_config_exec_prefix=""
30305 # Check whether --enable-gtktest was given.
30306 if test "${enable_gtktest+set}" = set; then
30307 enableval=$enable_gtktest;
30313 for module in . $GTK_MODULES
30317 gtk_config_args="$gtk_config_args gthread"
30322 if test x$gtk_config_exec_prefix != x ; then
30323 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30324 if test x${GTK_CONFIG+set} != xset ; then
30325 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30328 if test x$gtk_config_prefix != x ; then
30329 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30330 if test x${GTK_CONFIG+set} != xset ; then
30331 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30335 # Extract the first word of "gtk-config", so it can be a program name with args.
30336 set dummy gtk-config; ac_word=$2
30337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30339 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30340 echo $ECHO_N "(cached) $ECHO_C" >&6
30342 case $GTK_CONFIG in
30344 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30348 for as_dir in $PATH
30351 test -z "$as_dir" && as_dir=.
30352 for ac_exec_ext in '' $ac_executable_extensions; do
30353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30354 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30362 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30366 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30367 if test -n "$GTK_CONFIG"; then
30368 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30369 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30371 { echo "$as_me:$LINENO: result: no" >&5
30372 echo "${ECHO_T}no" >&6; }
30376 min_gtk_version=1.2.7
30377 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30378 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30380 if test "$GTK_CONFIG" = "no" ; then
30383 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30384 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30385 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30387 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30389 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30391 if test "x$enable_gtktest" = "xyes" ; then
30392 ac_save_CFLAGS="$CFLAGS"
30393 ac_save_LIBS="$LIBS"
30394 CFLAGS="$CFLAGS $GTK_CFLAGS"
30395 LIBS="$GTK_LIBS $LIBS"
30397 if test "$cross_compiling" = yes; then
30398 echo $ac_n "cross compiling; assumed OK... $ac_c"
30400 cat >conftest.$ac_ext <<_ACEOF
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30407 #include <gtk/gtk.h>
30409 #include <stdlib.h>
30414 int major, minor, micro;
30417 system ("touch conf.gtktest");
30419 /* HP/UX 9 (%@#!) writes to sscanf strings */
30420 tmp_version = g_strdup("$min_gtk_version");
30421 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30422 printf("%s, bad version string\n", "$min_gtk_version");
30426 if ((gtk_major_version != $gtk_config_major_version) ||
30427 (gtk_minor_version != $gtk_config_minor_version) ||
30428 (gtk_micro_version != $gtk_config_micro_version))
30430 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30431 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30432 gtk_major_version, gtk_minor_version, gtk_micro_version);
30433 printf ("*** was found! If gtk-config was correct, then it is best\n");
30434 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30435 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30436 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30437 printf("*** required on your system.\n");
30438 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30439 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30440 printf("*** before re-running configure\n");
30442 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30443 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30444 (gtk_minor_version != GTK_MINOR_VERSION) ||
30445 (gtk_micro_version != GTK_MICRO_VERSION))
30447 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30448 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30449 printf("*** library (version %d.%d.%d)\n",
30450 gtk_major_version, gtk_minor_version, gtk_micro_version);
30452 #endif /* defined (GTK_MAJOR_VERSION) ... */
30455 if ((gtk_major_version > major) ||
30456 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30457 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30463 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30464 gtk_major_version, gtk_minor_version, gtk_micro_version);
30465 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30466 major, minor, micro);
30467 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30469 printf("*** If you have already installed a sufficiently new version, this error\n");
30470 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30471 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30472 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30473 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30474 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30475 printf("*** so that the correct libraries are found at run-time))\n");
30482 rm -f conftest$ac_exeext
30483 if { (ac_try="$ac_link"
30484 case "(($ac_try" in
30485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30486 *) ac_try_echo
=$ac_try;;
30488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30489 (eval "$ac_link") 2>&5
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30493 { (case "(($ac_try" in
30494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30495 *) ac_try_echo=$ac_try;;
30497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30498 (eval "$ac_try") 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30504 echo "$as_me: program exited with status $ac_status" >&5
30505 echo "$as_me: failed program was:" >&5
30506 sed 's/^/| /' conftest.$ac_ext >&5
30508 ( exit $ac_status )
30511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30515 CFLAGS="$ac_save_CFLAGS"
30516 LIBS="$ac_save_LIBS"
30519 if test "x$no_gtk" = x ; then
30520 { echo "$as_me:$LINENO: result: yes" >&5
30521 echo "${ECHO_T}yes" >&6; }
30522 wx_cv_lib_gtk=1.2.7
30524 { echo "$as_me:$LINENO: result: no" >&5
30525 echo "${ECHO_T}no" >&6; }
30526 if test "$GTK_CONFIG" = "no" ; then
30527 echo "*** The gtk-config script installed by GTK could not be found"
30528 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30529 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30530 echo "*** full path to gtk-config."
30532 if test -f conf.gtktest ; then
30535 echo "*** Could not run GTK test program, checking why..."
30536 CFLAGS="$CFLAGS $GTK_CFLAGS"
30537 LIBS="$LIBS $GTK_LIBS"
30538 cat >conftest.$ac_ext <<_ACEOF
30541 cat confdefs.h >>conftest.$ac_ext
30542 cat >>conftest.$ac_ext <<_ACEOF
30543 /* end confdefs.h. */
30545 #include <gtk/gtk.h>
30551 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30556 rm -f conftest.$ac_objext conftest$ac_exeext
30557 if { (ac_try="$ac_link"
30558 case "(($ac_try" in
30559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30560 *) ac_try_echo
=$ac_try;;
30562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30563 (eval "$ac_link") 2>conftest.er1
30565 grep -v '^ *+' conftest.er1
>conftest.err
30567 cat conftest.err
>&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } && {
30570 test -z "$ac_c_werror_flag" ||
30571 test ! -s conftest.err
30572 } && test -s conftest
$ac_exeext &&
30573 $as_test_x conftest
$ac_exeext; then
30574 echo "*** The test program compiled, but did not run. This usually means"
30575 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30576 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30577 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30578 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30579 echo "*** is required on your system"
30581 echo "*** If you have an old version installed, it is best to remove it, although"
30582 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30584 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30585 echo "*** came with the system with the command"
30587 echo "*** rpm --erase --nodeps gtk gtk-devel"
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.
$ac_ext >&5
30592 echo "*** The test program failed to compile or link. See the file config.log for the"
30593 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30594 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30595 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30599 conftest
$ac_exeext conftest.
$ac_ext
30600 CFLAGS
="$ac_save_CFLAGS"
30601 LIBS
="$ac_save_LIBS"
30613 if test -z "$wx_cv_lib_gtk"; then
30615 # Check whether --with-gtk-prefix was given.
30616 if test "${with_gtk_prefix+set}" = set; then
30617 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
30619 gtk_config_prefix
=""
30623 # Check whether --with-gtk-exec-prefix was given.
30624 if test "${with_gtk_exec_prefix+set}" = set; then
30625 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
30627 gtk_config_exec_prefix
=""
30630 # Check whether --enable-gtktest was given.
30631 if test "${enable_gtktest+set}" = set; then
30632 enableval
=$enable_gtktest;
30638 for module
in .
$GTK_MODULES
30642 gtk_config_args
="$gtk_config_args gthread"
30647 if test x
$gtk_config_exec_prefix != x
; then
30648 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30649 if test x
${GTK_CONFIG+set} != xset
; then
30650 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
30653 if test x
$gtk_config_prefix != x
; then
30654 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
30655 if test x
${GTK_CONFIG+set} != xset
; then
30656 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
30660 # Extract the first word of "gtk-config", so it can be a program name with args.
30661 set dummy gtk
-config; ac_word
=$2
30662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30664 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30665 echo $ECHO_N "(cached) $ECHO_C" >&6
30667 case $GTK_CONFIG in
30669 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
30672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30673 for as_dir
in $PATH
30676 test -z "$as_dir" && as_dir
=.
30677 for ac_exec_ext
in '' $ac_executable_extensions; do
30678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30679 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30687 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
30691 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
30692 if test -n "$GTK_CONFIG"; then
30693 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30694 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30696 { echo "$as_me:$LINENO: result: no" >&5
30697 echo "${ECHO_T}no" >&6; }
30701 min_gtk_version
=1.2.3
30702 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30703 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30705 if test "$GTK_CONFIG" = "no" ; then
30708 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
30709 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
30710 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
30711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30712 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
30713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30714 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
30715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30716 if test "x$enable_gtktest" = "xyes" ; then
30717 ac_save_CFLAGS
="$CFLAGS"
30718 ac_save_LIBS
="$LIBS"
30719 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30720 LIBS
="$GTK_LIBS $LIBS"
30722 if test "$cross_compiling" = yes; then
30723 echo $ac_n "cross compiling; assumed OK... $ac_c"
30725 cat >conftest.
$ac_ext <<_ACEOF
30728 cat confdefs.h
>>conftest.
$ac_ext
30729 cat >>conftest.
$ac_ext <<_ACEOF
30730 /* end confdefs.h. */
30732 #include <gtk/gtk.h>
30734 #include <stdlib.h>
30739 int major, minor, micro;
30742 system ("touch conf.gtktest");
30744 /* HP/UX 9 (%@#!) writes to sscanf strings */
30745 tmp_version = g_strdup("$min_gtk_version");
30746 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30747 printf("%s, bad version string\n", "$min_gtk_version");
30751 if ((gtk_major_version != $gtk_config_major_version) ||
30752 (gtk_minor_version != $gtk_config_minor_version) ||
30753 (gtk_micro_version != $gtk_config_micro_version))
30755 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30756 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30757 gtk_major_version, gtk_minor_version, gtk_micro_version);
30758 printf ("*** was found! If gtk-config was correct, then it is best\n");
30759 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30760 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30761 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30762 printf("*** required on your system.\n");
30763 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30764 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30765 printf("*** before re-running configure\n");
30767 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30769 (gtk_minor_version != GTK_MINOR_VERSION) ||
30770 (gtk_micro_version != GTK_MICRO_VERSION))
30772 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30774 printf("*** library (version %d.%d.%d)\n",
30775 gtk_major_version, gtk_minor_version, gtk_micro_version);
30777 #endif /* defined (GTK_MAJOR_VERSION) ... */
30780 if ((gtk_major_version > major) ||
30781 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30782 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30788 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30789 gtk_major_version, gtk_minor_version, gtk_micro_version);
30790 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30791 major, minor, micro);
30792 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30794 printf("*** If you have already installed a sufficiently new version, this error\n");
30795 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30796 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30797 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30798 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30799 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30800 printf("*** so that the correct libraries are found at run-time))\n");
30807 rm -f conftest
$ac_exeext
30808 if { (ac_try
="$ac_link"
30809 case "(($ac_try" in
30810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_link") 2>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30818 { (case "(($ac_try" in
30819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30820 *) ac_try_echo
=$ac_try;;
30822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30823 (eval "$ac_try") 2>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; }; then
30829 echo "$as_me: program exited with status $ac_status" >&5
30830 echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.
$ac_ext >&5
30833 ( exit $ac_status )
30836 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30840 CFLAGS
="$ac_save_CFLAGS"
30841 LIBS
="$ac_save_LIBS"
30844 if test "x$no_gtk" = x
; then
30845 { echo "$as_me:$LINENO: result: yes" >&5
30846 echo "${ECHO_T}yes" >&6; }
30847 wx_cv_lib_gtk
=1.2.3
30849 { echo "$as_me:$LINENO: result: no" >&5
30850 echo "${ECHO_T}no" >&6; }
30851 if test "$GTK_CONFIG" = "no" ; then
30852 echo "*** The gtk-config script installed by GTK could not be found"
30853 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30854 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30855 echo "*** full path to gtk-config."
30857 if test -f conf.gtktest
; then
30860 echo "*** Could not run GTK test program, checking why..."
30861 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30862 LIBS
="$LIBS $GTK_LIBS"
30863 cat >conftest.
$ac_ext <<_ACEOF
30866 cat confdefs.h
>>conftest.
$ac_ext
30867 cat >>conftest.
$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30870 #include <gtk/gtk.h>
30876 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30881 rm -f conftest.
$ac_objext conftest
$ac_exeext
30882 if { (ac_try
="$ac_link"
30883 case "(($ac_try" in
30884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30885 *) ac_try_echo=$ac_try;;
30887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30888 (eval "$ac_link") 2>conftest.er1
30890 grep -v '^ *+' conftest.er1 >conftest.err
30892 cat conftest.err >&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } && {
30895 test -z "$ac_c_werror_flag" ||
30896 test ! -s conftest.err
30897 } && test -s conftest$ac_exeext &&
30898 $as_test_x conftest$ac_exeext; then
30899 echo "*** The test program compiled, but did not run. This usually means"
30900 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30901 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30902 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30903 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30904 echo "*** is required on your system"
30906 echo "*** If you have an old version installed, it is best to remove it, although"
30907 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30909 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30910 echo "*** came with the system with the command"
30912 echo "*** rpm --erase --nodeps gtk gtk-devel"
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30917 echo "*** The test program failed to compile or link. See the file config.log for the"
30918 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30919 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30920 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30924 conftest$ac_exeext conftest.$ac_ext
30925 CFLAGS="$ac_save_CFLAGS"
30926 LIBS="$ac_save_LIBS"
30941 if test -z "$wx_cv_lib_gtk"; then
30944 GTK_LIBS="$GTK_LIBS -lX11"
30946 wx_cv_cflags_gtk=$GTK_CFLAGS
30947 wx_cv_libs_gtk=$GTK_LIBS
30954 if test "$gtk_version_cached" = 1; then
30955 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30956 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30959 case "$wx_cv_lib_gtk" in
30966 *) { { echo "$as_me:$LINENO: error:
30967 The development files for GTK+ were not found. For GTK+ 2, please
30968 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30969 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30970 and that the version is 1.2.3 or above. Also check that the
30971 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30972 --libs' are in the LD_LIBRARY_PATH or equivalent.
30974 echo "$as_me: error:
30975 The development files for GTK+ were not found. For GTK+ 2, please
30976 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30977 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30978 and that the version is 1.2.3 or above. Also check that the
30979 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30980 --libs' are in the LD_LIBRARY_PATH or equivalent.
30982 { (exit 1); exit 1; }; }
30986 if test "$WXGTK2" = 1; then
30987 save_CFLAGS="$CFLAGS"
30989 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30990 LIBS="$LIBS $wx_cv_libs_gtk"
30992 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30993 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30994 cat >conftest.$ac_ext <<_ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31001 #include <gtk/gtk.h>
31007 #if !GTK_CHECK_VERSION(2,18,0)
31015 rm -f conftest.$ac_objext
31016 if { (ac_try="$ac_compile"
31017 case "(($ac_try" in
31018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31019 *) ac_try_echo
=$ac_try;;
31021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31022 (eval "$ac_compile") 2>conftest.er1
31024 grep -v '^ *+' conftest.er1
>conftest.err
31026 cat conftest.err
>&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } && {
31029 test -z "$ac_c_werror_flag" ||
31030 test ! -s conftest.err
31031 } && test -s conftest.
$ac_objext; then
31033 cat >>confdefs.h
<<\_ACEOF
31034 #define __WXGTK218__ 1
31037 cat >>confdefs.h
<<\_ACEOF
31038 #define __WXGTK210__ 1
31041 cat >>confdefs.h
<<\_ACEOF
31042 #define __WXGTK26__ 1
31045 { echo "$as_me:$LINENO: result: yes" >&5
31046 echo "${ECHO_T}yes" >&6; }
31050 echo "$as_me: failed program was:" >&5
31051 sed 's/^/| /' conftest.
$ac_ext >&5
31054 { echo "$as_me:$LINENO: result: no" >&5
31055 echo "${ECHO_T}no" >&6; }
31060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31062 if test "$ac_wxgtk218" = 0; then
31063 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31064 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31065 cat >conftest.
$ac_ext <<_ACEOF
31068 cat confdefs.h
>>conftest.
$ac_ext
31069 cat >>conftest.
$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31072 #include <gtk/gtk.h>
31078 #if !GTK_CHECK_VERSION(2,10,0)
31086 rm -f conftest.
$ac_objext
31087 if { (ac_try
="$ac_compile"
31088 case "(($ac_try" in
31089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31090 *) ac_try_echo=$ac_try;;
31092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31093 (eval "$ac_compile") 2>conftest.er1
31095 grep -v '^ *+' conftest.er1 >conftest.err
31097 cat conftest.err >&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); } && {
31100 test -z "$ac_c_werror_flag" ||
31101 test ! -s conftest.err
31102 } && test -s conftest.$ac_objext; then
31104 cat >>confdefs.h <<\_ACEOF
31105 #define __WXGTK210__ 1
31108 cat >>confdefs.h <<\_ACEOF
31109 #define __WXGTK26__ 1
31112 { echo "$as_me:$LINENO: result: yes" >&5
31113 echo "${ECHO_T}yes" >&6; }
31117 echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.$ac_ext >&5
31121 { echo "$as_me:$LINENO: result: no" >&5
31122 echo "${ECHO_T}no" >&6; }
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31129 if test "$ac_wxgtk210" = 0; then
31130 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31131 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31132 cat >conftest.$ac_ext <<_ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31139 #include <gtk/gtk.h>
31145 #if !GTK_CHECK_VERSION(2,6,0)
31153 rm -f conftest.$ac_objext
31154 if { (ac_try="$ac_compile"
31155 case "(($ac_try" in
31156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31157 *) ac_try_echo
=$ac_try;;
31159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31160 (eval "$ac_compile") 2>conftest.er1
31162 grep -v '^ *+' conftest.er1
>conftest.err
31164 cat conftest.err
>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } && {
31167 test -z "$ac_c_werror_flag" ||
31168 test ! -s conftest.err
31169 } && test -s conftest.
$ac_objext; then
31171 cat >>confdefs.h
<<\_ACEOF
31172 #define __WXGTK26__ 1
31175 { echo "$as_me:$LINENO: result: yes" >&5
31176 echo "${ECHO_T}yes" >&6; }
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.
$ac_ext >&5
31184 { echo "$as_me:$LINENO: result: no" >&5
31185 echo "${ECHO_T}no" >&6; }
31190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31194 CFLAGS
="$save_CFLAGS"
31197 if test "$wxUSE_UNICODE" = "yes"; then
31198 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31199 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31203 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31204 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31205 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31208 ac_check_lib_save_LIBS
=$LIBS
31210 cat >conftest.
$ac_ext <<_ACEOF
31213 cat confdefs.h
>>conftest.
$ac_ext
31214 cat >>conftest.
$ac_ext <<_ACEOF
31215 /* end confdefs.h. */
31217 /* Override any GCC internal prototype to avoid an error.
31218 Use char because int might match the return type of a GCC
31219 builtin and then its argument prototype would still apply. */
31223 char gdk_im_open ();
31227 return gdk_im_open ();
31232 rm -f conftest.
$ac_objext conftest
$ac_exeext
31233 if { (ac_try
="$ac_link"
31234 case "(($ac_try" in
31235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31236 *) ac_try_echo=$ac_try;;
31238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31239 (eval "$ac_link") 2>conftest.er1
31241 grep -v '^ *+' conftest.er1 >conftest.err
31243 cat conftest.err >&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); } && {
31246 test -z "$ac_c_werror_flag" ||
31247 test ! -s conftest.err
31248 } && test -s conftest$ac_exeext &&
31249 $as_test_x conftest$ac_exeext; then
31250 ac_cv_lib_gdk_gdk_im_open=yes
31252 echo "$as_me: failed program was:" >&5
31253 sed 's/^/| /' conftest.$ac_ext >&5
31255 ac_cv_lib_gdk_gdk_im_open=no
31258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31259 conftest$ac_exeext conftest.$ac_ext
31260 LIBS=$ac_check_lib_save_LIBS
31262 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31263 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31264 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31265 cat >>confdefs.h <<\_ACEOF
31272 if test "$USE_DARWIN" != 1; then
31274 for ac_func in poll
31276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31282 cat >conftest.$ac_ext <<_ACEOF
31285 cat confdefs.h >>conftest.$ac_ext
31286 cat >>conftest.$ac_ext <<_ACEOF
31287 /* end confdefs.h. */
31288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31290 #define $ac_func innocuous_$ac_func
31292 /* System header to define __stub macros and hopefully few prototypes,
31293 which can conflict with char $ac_func (); below.
31294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31295 <limits.h> exists even on freestanding compilers. */
31298 # include <limits.h>
31300 # include <assert.h>
31305 /* Override any GCC internal prototype to avoid an error.
31306 Use char because int might match the return type of a GCC
31307 builtin and then its argument prototype would still apply. */
31312 /* The GNU C library defines this for functions which it implements
31313 to always fail with ENOSYS. Some functions are actually named
31314 something starting with __ and the normal name is an alias. */
31315 #if defined __stub_$ac_func || defined __stub___$ac_func
31322 return $ac_func ();
31327 rm -f conftest.$ac_objext conftest$ac_exeext
31328 if { (ac_try="$ac_link"
31329 case "(($ac_try" in
31330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31331 *) ac_try_echo
=$ac_try;;
31333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31334 (eval "$ac_link") 2>conftest.er1
31336 grep -v '^ *+' conftest.er1
>conftest.err
31338 cat conftest.err
>&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } && {
31341 test -z "$ac_c_werror_flag" ||
31342 test ! -s conftest.err
31343 } && test -s conftest
$ac_exeext &&
31344 $as_test_x conftest
$ac_exeext; then
31345 eval "$as_ac_var=yes"
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.
$ac_ext >&5
31350 eval "$as_ac_var=no"
31353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31354 conftest
$ac_exeext conftest.
$ac_ext
31356 ac_res
=`eval echo '${'$as_ac_var'}'`
31357 { echo "$as_me:$LINENO: result: $ac_res" >&5
31358 echo "${ECHO_T}$ac_res" >&6; }
31359 if test `eval echo '${'$as_ac_var'}'` = yes; then
31360 cat >>confdefs.h
<<_ACEOF
31361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31370 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
31371 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31372 AFMINSTALL
=afminstall
31376 if test "$wxUSE_GPE" = "yes"; then
31377 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31378 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31381 for ac_dir
in $SEARCH_LIB
31383 for ac_extension
in a so sl dylib dll.a
; do
31384 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31385 ac_find_libraries
=$ac_dir
31391 if test "$ac_find_libraries" != "" ; then
31393 if test "$ac_find_libraries" = "default location"; then
31396 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31398 if test $result = 0; then
31401 ac_path_to_link
=" -L$ac_find_libraries"
31405 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31407 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31408 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31410 { echo "$as_me:$LINENO: result: not found" >&5
31411 echo "${ECHO_T}not found" >&6; }
31417 if test "$wxUSE_MGL" = 1; then
31418 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31419 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31420 if test "x$MGL_ROOT" = x
; then
31421 { echo "$as_me:$LINENO: result: not found" >&5
31422 echo "${ECHO_T}not found" >&6; }
31423 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31424 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31425 { (exit 1); exit 1; }; }
31427 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31428 echo "${ECHO_T}$MGL_ROOT" >&6; }
31431 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31432 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31435 if test "x$wxUSE_SHARED" = xyes
; then
31436 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31438 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31442 mgl_os_candidates
="dos32/dj2"
31445 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31446 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31447 { (exit 1); exit 1; }; }
31453 for mgl_os_i
in $mgl_os_candidates ; do
31454 if test "x$mgl_os" = x
; then
31455 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31456 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
31457 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
31462 if test "x$mgl_lib_type" = x
; then
31463 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
31464 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
31465 mgl_lib_type
=release
31472 if test "x$mgl_os" = x
; then
31473 { echo "$as_me:$LINENO: result: not found" >&5
31474 echo "${ECHO_T}not found" >&6; }
31475 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31476 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31477 { (exit 1); exit 1; }; }
31479 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31480 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31482 wxUSE_UNIVERSAL
="yes"
31484 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
31485 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31487 AFMINSTALL
=afminstall
31492 if test "$wxUSE_DFB" = 1; then
31495 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31496 if test -n "$ac_tool_prefix"; then
31497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31498 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31502 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 case $PKG_CONFIG in
31506 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31510 for as_dir
in $PATH
31513 test -z "$as_dir" && as_dir
=.
31514 for ac_exec_ext
in '' $ac_executable_extensions; do
31515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31516 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31527 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31528 if test -n "$PKG_CONFIG"; then
31529 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31530 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31532 { echo "$as_me:$LINENO: result: no" >&5
31533 echo "${ECHO_T}no" >&6; }
31538 if test -z "$ac_cv_path_PKG_CONFIG"; then
31539 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31540 # Extract the first word of "pkg-config", so it can be a program name with args.
31541 set dummy pkg
-config; ac_word
=$2
31542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31544 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 case $ac_pt_PKG_CONFIG in
31549 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31553 for as_dir
in $PATH
31556 test -z "$as_dir" && as_dir
=.
31557 for ac_exec_ext
in '' $ac_executable_extensions; do
31558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31559 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31570 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31571 if test -n "$ac_pt_PKG_CONFIG"; then
31572 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31573 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31575 { echo "$as_me:$LINENO: result: no" >&5
31576 echo "${ECHO_T}no" >&6; }
31579 if test "x$ac_pt_PKG_CONFIG" = x
; then
31582 case $cross_compiling:$ac_tool_warned in
31584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31585 whose name does not start with the host triplet. If you think this
31586 configuration is useful to you, please write to autoconf@gnu.org." >&5
31587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31588 whose name does not start with the host triplet. If you think this
31589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31590 ac_tool_warned
=yes ;;
31592 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31595 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31599 if test -n "$PKG_CONFIG"; then
31600 _pkg_min_version
=0.9.0
31601 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31602 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31604 { echo "$as_me:$LINENO: result: yes" >&5
31605 echo "${ECHO_T}yes" >&6; }
31607 { echo "$as_me:$LINENO: result: no" >&5
31608 echo "${ECHO_T}no" >&6; }
31616 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31617 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31619 if test -n "$PKG_CONFIG"; then
31620 if test -n "$DIRECTFB_CFLAGS"; then
31621 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
31623 if test -n "$PKG_CONFIG" && \
31624 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31625 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; then
31629 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31637 if test -n "$PKG_CONFIG"; then
31638 if test -n "$DIRECTFB_LIBS"; then
31639 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
31641 if test -n "$PKG_CONFIG" && \
31642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31643 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; then
31647 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31658 if test $pkg_failed = yes; then
31660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31661 _pkg_short_errors_supported
=yes
31663 _pkg_short_errors_supported
=no
31665 if test $_pkg_short_errors_supported = yes; then
31666 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31668 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31670 # Put the nasty error message in config.log where it belongs
31671 echo "$DIRECTFB_PKG_ERRORS" >&5
31674 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31675 echo "$as_me: error: DirectFB not found." >&2;}
31676 { (exit 1); exit 1; }; }
31679 elif test $pkg_failed = untried
; then
31681 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31682 echo "$as_me: error: DirectFB not found." >&2;}
31683 { (exit 1); exit 1; }; }
31687 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
31688 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
31689 { echo "$as_me:$LINENO: result: yes" >&5
31690 echo "${ECHO_T}yes" >&6; }
31692 wxUSE_UNIVERSAL
="yes"
31693 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
31694 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
31701 if test "$wxUSE_MICROWIN" = 1; then
31702 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31703 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31704 if test "x$MICROWINDOWS" = x
; then
31705 { echo "$as_me:$LINENO: result: not found" >&5
31706 echo "${ECHO_T}not found" >&6; }
31707 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31708 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31709 { (exit 1); exit 1; }; }
31711 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31712 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31715 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
31716 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31717 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31719 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31720 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31721 { (exit 1); exit 1; }; }
31724 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
31725 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31727 wxUSE_UNIVERSAL
="yes"
31729 AFMINSTALL
=afminstall
31731 GUIDIST
=MICROWIN_DIST
31733 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31736 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31737 { echo "$as_me:$LINENO: checking for X" >&5
31738 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31741 # Check whether --with-x was given.
31742 if test "${with_x+set}" = set; then
31746 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31747 if test "x$with_x" = xno
; then
31748 # The user explicitly disabled X.
31751 case $x_includes,$x_libraries in #(
31752 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31753 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31754 { (exit 1); exit 1; }; };; #(
31755 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
31756 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 # One or both of the vars are not set, and there is no cached value.
31759 ac_x_includes
=no ac_x_libraries
=no
31760 rm -f -r conftest.dir
31761 if mkdir conftest.dir
; then
31763 cat >Imakefile
<<'_ACEOF'
31765 @echo incroot='${INCROOT}'
31767 @echo usrlibdir='${USRLIBDIR}'
31769 @echo libdir='${LIBDIR}'
31771 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
31772 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31773 for ac_var
in incroot usrlibdir libdir
; do
31774 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31776 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31777 for ac_extension
in a so sl
; do
31778 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31779 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31780 ac_im_usrlibdir
=$ac_im_libdir; break
31783 # Screen out bogus values from the imake configuration. They are
31784 # bogus both because they are the default anyway, and because
31785 # using them would break gcc on systems where it needs fixed includes.
31786 case $ac_im_incroot in
31787 /usr
/include
) ac_x_includes
= ;;
31788 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
31790 case $ac_im_usrlibdir in
31791 /usr
/lib
| /lib
) ;;
31792 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
31796 rm -f -r conftest.dir
31799 # Standard set of common directories for X headers.
31800 # Check X11 before X11Rn because it is often a symlink to the current release.
31812 /usr/local/X11/include
31813 /usr/local/X11R6/include
31814 /usr/local/X11R5/include
31815 /usr/local/X11R4/include
31817 /usr/local/include/X11
31818 /usr/local/include/X11R6
31819 /usr/local/include/X11R5
31820 /usr/local/include/X11R4
31824 /usr/XFree86/include/X11
31828 /usr/unsupported/include
31829 /usr/athena/include
31830 /usr/local/x11r5/include
31831 /usr/lpp/Xamples/include
31833 /usr/openwin/include
31834 /usr/openwin/share/include'
31836 if test "$ac_x_includes" = no
; then
31837 # Guess where to find include files, by looking for Xlib.h.
31838 # First, try using that file with no special directory specified.
31839 cat >conftest.
$ac_ext <<_ACEOF
31842 cat confdefs.h
>>conftest.
$ac_ext
31843 cat >>conftest.
$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845 #include <X11/Xlib.h>
31847 if { (ac_try
="$ac_cpp conftest.$ac_ext"
31848 case "(($ac_try" in
31849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31850 *) ac_try_echo=$ac_try;;
31852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31855 grep -v '^ *+' conftest.er1 >conftest.err
31857 cat conftest.err >&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); } >/dev/null && {
31860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31861 test ! -s conftest.err
31863 # We can compile using X headers with no special include directory.
31866 echo "$as_me: failed program was:" >&5
31867 sed 's/^/| /' conftest.$ac_ext >&5
31869 for ac_dir in $ac_x_header_dirs; do
31870 if test -r "$ac_dir/X11/Xlib.h"; then
31871 ac_x_includes=$ac_dir
31877 rm -f conftest.err conftest.$ac_ext
31878 fi # $ac_x_includes = no
31880 if test "$ac_x_libraries" = no; then
31881 # Check for the libraries.
31882 # See if we find them without any special options.
31883 # Don't add to $LIBS permanently.
31886 cat >conftest.$ac_ext <<_ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892 #include <X11/Xlib.h>
31901 rm -f conftest.$ac_objext conftest$ac_exeext
31902 if { (ac_try="$ac_link"
31903 case "(($ac_try" in
31904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31905 *) ac_try_echo
=$ac_try;;
31907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31908 (eval "$ac_link") 2>conftest.er1
31910 grep -v '^ *+' conftest.er1
>conftest.err
31912 cat conftest.err
>&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); } && {
31915 test -z "$ac_c_werror_flag" ||
31916 test ! -s conftest.err
31917 } && test -s conftest
$ac_exeext &&
31918 $as_test_x conftest
$ac_exeext; then
31920 # We can link X programs with no special library path.
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.
$ac_ext >&5
31927 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31929 # Don't even attempt the hair of trying to link an X program!
31930 for ac_extension
in a so sl
; do
31931 if test -r "$ac_dir/libX11.$ac_extension"; then
31932 ac_x_libraries
=$ac_dir
31939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31940 conftest
$ac_exeext conftest.
$ac_ext
31941 fi # $ac_x_libraries = no
31943 case $ac_x_includes,$ac_x_libraries in #(
31944 no
,* | *,no
| *\'*)
31945 # Didn't find X, or a directory has "'" in its name.
31946 ac_cv_have_x
="have_x=no";; #(
31948 # Record where we found X for the cache.
31949 ac_cv_have_x
="have_x=yes\
31950 ac_x_includes='$ac_x_includes'\
31951 ac_x_libraries='$ac_x_libraries'"
31957 eval "$ac_cv_have_x"
31960 if test "$have_x" != yes; then
31961 { echo "$as_me:$LINENO: result: $have_x" >&5
31962 echo "${ECHO_T}$have_x" >&6; }
31965 # If each of the values was on the command line, it overrides each guess.
31966 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
31967 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
31968 # Update the cache value to reflect the command line values.
31969 ac_cv_have_x
="have_x=yes\
31970 ac_x_includes='$x_includes'\
31971 ac_x_libraries='$x_libraries'"
31972 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31973 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31976 if test "$no_x" = yes; then
31977 # Not all programs may use this symbol, but it does not hurt to define it.
31979 cat >>confdefs.h
<<\_ACEOF
31980 #define X_DISPLAY_MISSING 1
31983 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
31985 if test -n "$x_includes"; then
31986 X_CFLAGS
="$X_CFLAGS -I$x_includes"
31989 # It would also be nice to do this for all -L options, not just this one.
31990 if test -n "$x_libraries"; then
31991 X_LIBS
="$X_LIBS -L$x_libraries"
31992 # For Solaris; some versions of Sun CC require a space after -R and
31993 # others require no space. Words are not sufficient . . . .
31994 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31995 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31996 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
31997 ac_xsave_c_werror_flag
=$ac_c_werror_flag
31998 ac_c_werror_flag
=yes
31999 cat >conftest.
$ac_ext <<_ACEOF
32002 cat confdefs.h
>>conftest.
$ac_ext
32003 cat >>conftest.
$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32014 rm -f conftest.
$ac_objext conftest
$ac_exeext
32015 if { (ac_try
="$ac_link"
32016 case "(($ac_try" in
32017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32018 *) ac_try_echo=$ac_try;;
32020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32021 (eval "$ac_link") 2>conftest.er1
32023 grep -v '^ *+' conftest.er1 >conftest.err
32025 cat conftest.err >&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } && {
32028 test -z "$ac_c_werror_flag" ||
32029 test ! -s conftest.err
32030 } && test -s conftest$ac_exeext &&
32031 $as_test_x conftest$ac_exeext; then
32032 { echo "$as_me:$LINENO: result: no" >&5
32033 echo "${ECHO_T}no" >&6; }
32034 X_LIBS="$X_LIBS -R$x_libraries"
32036 echo "$as_me: failed program was:" >&5
32037 sed 's/^/| /' conftest.$ac_ext >&5
32039 LIBS="$ac_xsave_LIBS -R $x_libraries"
32040 cat >conftest.$ac_ext <<_ACEOF
32043 cat confdefs.h >>conftest.$ac_ext
32044 cat >>conftest.$ac_ext <<_ACEOF
32045 /* end confdefs.h. */
32055 rm -f conftest.$ac_objext conftest$ac_exeext
32056 if { (ac_try="$ac_link"
32057 case "(($ac_try" in
32058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32059 *) ac_try_echo
=$ac_try;;
32061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32062 (eval "$ac_link") 2>conftest.er1
32064 grep -v '^ *+' conftest.er1
>conftest.err
32066 cat conftest.err
>&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } && {
32069 test -z "$ac_c_werror_flag" ||
32070 test ! -s conftest.err
32071 } && test -s conftest
$ac_exeext &&
32072 $as_test_x conftest
$ac_exeext; then
32073 { echo "$as_me:$LINENO: result: yes" >&5
32074 echo "${ECHO_T}yes" >&6; }
32075 X_LIBS
="$X_LIBS -R $x_libraries"
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.
$ac_ext >&5
32080 { echo "$as_me:$LINENO: result: neither works" >&5
32081 echo "${ECHO_T}neither works" >&6; }
32084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32085 conftest
$ac_exeext conftest.
$ac_ext
32088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32089 conftest
$ac_exeext conftest.
$ac_ext
32090 ac_c_werror_flag
=$ac_xsave_c_werror_flag
32091 LIBS
=$ac_xsave_LIBS
32094 # Check for system-dependent libraries X programs must link with.
32095 # Do this before checking for the system-independent R6 libraries
32096 # (-lICE), since we may need -lsocket or whatever for X linking.
32098 if test "$ISC" = yes; then
32099 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
32101 # Martyn Johnson says this is needed for Ultrix, if the X
32102 # libraries were built with DECnet support. And Karl Berry says
32103 # the Alpha needs dnet_stub (dnet does not exist).
32104 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
32105 cat >conftest.
$ac_ext <<_ACEOF
32108 cat confdefs.h
>>conftest.
$ac_ext
32109 cat >>conftest.
$ac_ext <<_ACEOF
32110 /* end confdefs.h. */
32112 /* Override any GCC internal prototype to avoid an error.
32113 Use char because int might match the return type of a GCC
32114 builtin and then its argument prototype would still apply. */
32118 char XOpenDisplay ();
32122 return XOpenDisplay ();
32127 rm -f conftest.
$ac_objext conftest
$ac_exeext
32128 if { (ac_try
="$ac_link"
32129 case "(($ac_try" in
32130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32131 *) ac_try_echo=$ac_try;;
32133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32134 (eval "$ac_link") 2>conftest.er1
32136 grep -v '^ *+' conftest.er1 >conftest.err
32138 cat conftest.err >&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); } && {
32141 test -z "$ac_c_werror_flag" ||
32142 test ! -s conftest.err
32143 } && test -s conftest$ac_exeext &&
32144 $as_test_x conftest$ac_exeext; then
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.$ac_ext >&5
32150 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32151 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32152 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32155 ac_check_lib_save_LIBS=$LIBS
32156 LIBS="-ldnet $LIBS"
32157 cat >conftest.$ac_ext <<_ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32164 /* Override any GCC internal prototype to avoid an error.
32165 Use char because int might match the return type of a GCC
32166 builtin and then its argument prototype would still apply. */
32174 return dnet_ntoa ();
32179 rm -f conftest.$ac_objext conftest$ac_exeext
32180 if { (ac_try="$ac_link"
32181 case "(($ac_try" in
32182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32183 *) ac_try_echo
=$ac_try;;
32185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32186 (eval "$ac_link") 2>conftest.er1
32188 grep -v '^ *+' conftest.er1
>conftest.err
32190 cat conftest.err
>&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); } && {
32193 test -z "$ac_c_werror_flag" ||
32194 test ! -s conftest.err
32195 } && test -s conftest
$ac_exeext &&
32196 $as_test_x conftest
$ac_exeext; then
32197 ac_cv_lib_dnet_dnet_ntoa
=yes
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.
$ac_ext >&5
32202 ac_cv_lib_dnet_dnet_ntoa
=no
32205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32206 conftest
$ac_exeext conftest.
$ac_ext
32207 LIBS
=$ac_check_lib_save_LIBS
32209 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32210 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32211 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32212 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
32215 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
32216 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32217 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32218 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32219 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 ac_check_lib_save_LIBS
=$LIBS
32222 LIBS
="-ldnet_stub $LIBS"
32223 cat >conftest.
$ac_ext <<_ACEOF
32226 cat confdefs.h
>>conftest.
$ac_ext
32227 cat >>conftest.
$ac_ext <<_ACEOF
32228 /* end confdefs.h. */
32230 /* Override any GCC internal prototype to avoid an error.
32231 Use char because int might match the return type of a GCC
32232 builtin and then its argument prototype would still apply. */
32240 return dnet_ntoa ();
32245 rm -f conftest.
$ac_objext conftest
$ac_exeext
32246 if { (ac_try
="$ac_link"
32247 case "(($ac_try" in
32248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32249 *) ac_try_echo=$ac_try;;
32251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32252 (eval "$ac_link") 2>conftest.er1
32254 grep -v '^ *+' conftest.er1 >conftest.err
32256 cat conftest.err >&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); } && {
32259 test -z "$ac_c_werror_flag" ||
32260 test ! -s conftest.err
32261 } && test -s conftest$ac_exeext &&
32262 $as_test_x conftest$ac_exeext; then
32263 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32265 echo "$as_me: failed program was:" >&5
32266 sed 's/^/| /' conftest.$ac_ext >&5
32268 ac_cv_lib_dnet_stub_dnet_ntoa=no
32271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32272 conftest$ac_exeext conftest.$ac_ext
32273 LIBS=$ac_check_lib_save_LIBS
32275 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32276 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32277 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32278 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32285 conftest$ac_exeext conftest.$ac_ext
32286 LIBS="$ac_xsave_LIBS"
32288 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32289 # to get the SysV transport functions.
32290 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32292 # The nsl library prevents programs from opening the X display
32293 # on Irix 5.2, according to T.E. Dickey.
32294 # The functions gethostbyname, getservbyname, and inet_addr are
32295 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32296 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32297 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32298 if test "${ac_cv_func_gethostbyname+set}" = set; then
32299 echo $ECHO_N "(cached) $ECHO_C" >&6
32301 cat >conftest.$ac_ext <<_ACEOF
32304 cat confdefs.h >>conftest.$ac_ext
32305 cat >>conftest.$ac_ext <<_ACEOF
32306 /* end confdefs.h. */
32307 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32309 #define gethostbyname innocuous_gethostbyname
32311 /* System header to define __stub macros and hopefully few prototypes,
32312 which can conflict with char gethostbyname (); below.
32313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32314 <limits.h> exists even on freestanding compilers. */
32317 # include <limits.h>
32319 # include <assert.h>
32322 #undef gethostbyname
32324 /* Override any GCC internal prototype to avoid an error.
32325 Use char because int might match the return type of a GCC
32326 builtin and then its argument prototype would still apply. */
32330 char gethostbyname ();
32331 /* The GNU C library defines this for functions which it implements
32332 to always fail with ENOSYS. Some functions are actually named
32333 something starting with __ and the normal name is an alias. */
32334 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32341 return gethostbyname ();
32346 rm -f conftest.$ac_objext conftest$ac_exeext
32347 if { (ac_try="$ac_link"
32348 case "(($ac_try" in
32349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32350 *) ac_try_echo
=$ac_try;;
32352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32353 (eval "$ac_link") 2>conftest.er1
32355 grep -v '^ *+' conftest.er1
>conftest.err
32357 cat conftest.err
>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); } && {
32360 test -z "$ac_c_werror_flag" ||
32361 test ! -s conftest.err
32362 } && test -s conftest
$ac_exeext &&
32363 $as_test_x conftest
$ac_exeext; then
32364 ac_cv_func_gethostbyname
=yes
32366 echo "$as_me: failed program was:" >&5
32367 sed 's/^/| /' conftest.
$ac_ext >&5
32369 ac_cv_func_gethostbyname
=no
32372 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32373 conftest
$ac_exeext conftest.
$ac_ext
32375 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32376 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32378 if test $ac_cv_func_gethostbyname = no
; then
32379 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32380 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32381 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32384 ac_check_lib_save_LIBS
=$LIBS
32386 cat >conftest.
$ac_ext <<_ACEOF
32389 cat confdefs.h
>>conftest.
$ac_ext
32390 cat >>conftest.
$ac_ext <<_ACEOF
32391 /* end confdefs.h. */
32393 /* Override any GCC internal prototype to avoid an error.
32394 Use char because int might match the return type of a GCC
32395 builtin and then its argument prototype would still apply. */
32399 char gethostbyname ();
32403 return gethostbyname ();
32408 rm -f conftest.
$ac_objext conftest
$ac_exeext
32409 if { (ac_try
="$ac_link"
32410 case "(($ac_try" in
32411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32412 *) ac_try_echo=$ac_try;;
32414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32415 (eval "$ac_link") 2>conftest.er1
32417 grep -v '^ *+' conftest.er1 >conftest.err
32419 cat conftest.err >&5
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); } && {
32422 test -z "$ac_c_werror_flag" ||
32423 test ! -s conftest.err
32424 } && test -s conftest$ac_exeext &&
32425 $as_test_x conftest$ac_exeext; then
32426 ac_cv_lib_nsl_gethostbyname=yes
32428 echo "$as_me: failed program was:" >&5
32429 sed 's/^/| /' conftest.$ac_ext >&5
32431 ac_cv_lib_nsl_gethostbyname=no
32434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32435 conftest$ac_exeext conftest.$ac_ext
32436 LIBS=$ac_check_lib_save_LIBS
32438 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32439 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32440 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32444 if test $ac_cv_lib_nsl_gethostbyname = no; then
32445 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32446 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32447 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 ac_check_lib_save_LIBS=$LIBS
32452 cat >conftest.$ac_ext <<_ACEOF
32455 cat confdefs.h >>conftest.$ac_ext
32456 cat >>conftest.$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32459 /* Override any GCC internal prototype to avoid an error.
32460 Use char because int might match the return type of a GCC
32461 builtin and then its argument prototype would still apply. */
32465 char gethostbyname ();
32469 return gethostbyname ();
32474 rm -f conftest.$ac_objext conftest$ac_exeext
32475 if { (ac_try="$ac_link"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32478 *) ac_try_echo
=$ac_try;;
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_link") 2>conftest.er1
32483 grep -v '^ *+' conftest.er1
>conftest.err
32485 cat conftest.err
>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest
$ac_exeext &&
32491 $as_test_x conftest
$ac_exeext; then
32492 ac_cv_lib_bsd_gethostbyname
=yes
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.
$ac_ext >&5
32497 ac_cv_lib_bsd_gethostbyname
=no
32500 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32501 conftest
$ac_exeext conftest.
$ac_ext
32502 LIBS
=$ac_check_lib_save_LIBS
32504 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32505 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32506 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32507 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
32513 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32514 # socket/setsockopt and other routines are undefined under SCO ODT
32515 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32516 # on later versions), says Simon Leinen: it contains gethostby*
32517 # variants that don't use the name server (or something). -lsocket
32518 # must be given before -lnsl if both are needed. We assume that
32519 # if connect needs -lnsl, so does gethostbyname.
32520 { echo "$as_me:$LINENO: checking for connect" >&5
32521 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32522 if test "${ac_cv_func_connect+set}" = set; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32525 cat >conftest.
$ac_ext <<_ACEOF
32528 cat confdefs.h
>>conftest.
$ac_ext
32529 cat >>conftest.
$ac_ext <<_ACEOF
32530 /* end confdefs.h. */
32531 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32533 #define connect innocuous_connect
32535 /* System header to define __stub macros and hopefully few prototypes,
32536 which can conflict with char connect (); below.
32537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32538 <limits.h> exists even on freestanding compilers. */
32541 # include <limits.h>
32543 # include <assert.h>
32548 /* Override any GCC internal prototype to avoid an error.
32549 Use char because int might match the return type of a GCC
32550 builtin and then its argument prototype would still apply. */
32555 /* The GNU C library defines this for functions which it implements
32556 to always fail with ENOSYS. Some functions are actually named
32557 something starting with __ and the normal name is an alias. */
32558 #if defined __stub_connect || defined __stub___connect
32570 rm -f conftest.
$ac_objext conftest
$ac_exeext
32571 if { (ac_try
="$ac_link"
32572 case "(($ac_try" in
32573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32574 *) ac_try_echo=$ac_try;;
32576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32577 (eval "$ac_link") 2>conftest.er1
32579 grep -v '^ *+' conftest.er1 >conftest.err
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } && {
32584 test -z "$ac_c_werror_flag" ||
32585 test ! -s conftest.err
32586 } && test -s conftest$ac_exeext &&
32587 $as_test_x conftest$ac_exeext; then
32588 ac_cv_func_connect=yes
32590 echo "$as_me: failed program was:" >&5
32591 sed 's/^/| /' conftest.$ac_ext >&5
32593 ac_cv_func_connect=no
32596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32597 conftest$ac_exeext conftest.$ac_ext
32599 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32600 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32602 if test $ac_cv_func_connect = no; then
32603 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32604 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32605 if test "${ac_cv_lib_socket_connect+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32608 ac_check_lib_save_LIBS=$LIBS
32609 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32610 cat >conftest.$ac_ext <<_ACEOF
32613 cat confdefs.h >>conftest.$ac_ext
32614 cat >>conftest.$ac_ext <<_ACEOF
32615 /* end confdefs.h. */
32617 /* Override any GCC internal prototype to avoid an error.
32618 Use char because int might match the return type of a GCC
32619 builtin and then its argument prototype would still apply. */
32632 rm -f conftest.$ac_objext conftest$ac_exeext
32633 if { (ac_try="$ac_link"
32634 case "(($ac_try" in
32635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32636 *) ac_try_echo
=$ac_try;;
32638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32639 (eval "$ac_link") 2>conftest.er1
32641 grep -v '^ *+' conftest.er1
>conftest.err
32643 cat conftest.err
>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); } && {
32646 test -z "$ac_c_werror_flag" ||
32647 test ! -s conftest.err
32648 } && test -s conftest
$ac_exeext &&
32649 $as_test_x conftest
$ac_exeext; then
32650 ac_cv_lib_socket_connect
=yes
32652 echo "$as_me: failed program was:" >&5
32653 sed 's/^/| /' conftest.
$ac_ext >&5
32655 ac_cv_lib_socket_connect
=no
32658 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32659 conftest
$ac_exeext conftest.
$ac_ext
32660 LIBS
=$ac_check_lib_save_LIBS
32662 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32663 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32664 if test $ac_cv_lib_socket_connect = yes; then
32665 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
32670 # Guillermo Gomez says -lposix is necessary on A/UX.
32671 { echo "$as_me:$LINENO: checking for remove" >&5
32672 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32673 if test "${ac_cv_func_remove+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 cat >conftest.
$ac_ext <<_ACEOF
32679 cat confdefs.h
>>conftest.
$ac_ext
32680 cat >>conftest.
$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32684 #define remove innocuous_remove
32686 /* System header to define __stub macros and hopefully few prototypes,
32687 which can conflict with char remove (); below.
32688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689 <limits.h> exists even on freestanding compilers. */
32692 # include <limits.h>
32694 # include <assert.h>
32699 /* Override any GCC internal prototype to avoid an error.
32700 Use char because int might match the return type of a GCC
32701 builtin and then its argument prototype would still apply. */
32706 /* The GNU C library defines this for functions which it implements
32707 to always fail with ENOSYS. Some functions are actually named
32708 something starting with __ and the normal name is an alias. */
32709 #if defined __stub_remove || defined __stub___remove
32721 rm -f conftest.
$ac_objext conftest
$ac_exeext
32722 if { (ac_try
="$ac_link"
32723 case "(($ac_try" in
32724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32725 *) ac_try_echo=$ac_try;;
32727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32728 (eval "$ac_link") 2>conftest.er1
32730 grep -v '^ *+' conftest.er1 >conftest.err
32732 cat conftest.err >&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } && {
32735 test -z "$ac_c_werror_flag" ||
32736 test ! -s conftest.err
32737 } && test -s conftest$ac_exeext &&
32738 $as_test_x conftest$ac_exeext; then
32739 ac_cv_func_remove=yes
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.$ac_ext >&5
32744 ac_cv_func_remove=no
32747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32748 conftest$ac_exeext conftest.$ac_ext
32750 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32751 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32753 if test $ac_cv_func_remove = no; then
32754 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32755 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32756 if test "${ac_cv_lib_posix_remove+set}" = set; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32759 ac_check_lib_save_LIBS=$LIBS
32760 LIBS="-lposix $LIBS"
32761 cat >conftest.$ac_ext <<_ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32768 /* Override any GCC internal prototype to avoid an error.
32769 Use char because int might match the return type of a GCC
32770 builtin and then its argument prototype would still apply. */
32783 rm -f conftest.$ac_objext conftest$ac_exeext
32784 if { (ac_try="$ac_link"
32785 case "(($ac_try" in
32786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32787 *) ac_try_echo
=$ac_try;;
32789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32790 (eval "$ac_link") 2>conftest.er1
32792 grep -v '^ *+' conftest.er1
>conftest.err
32794 cat conftest.err
>&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); } && {
32797 test -z "$ac_c_werror_flag" ||
32798 test ! -s conftest.err
32799 } && test -s conftest
$ac_exeext &&
32800 $as_test_x conftest
$ac_exeext; then
32801 ac_cv_lib_posix_remove
=yes
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.
$ac_ext >&5
32806 ac_cv_lib_posix_remove
=no
32809 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32810 conftest
$ac_exeext conftest.
$ac_ext
32811 LIBS
=$ac_check_lib_save_LIBS
32813 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32814 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32815 if test $ac_cv_lib_posix_remove = yes; then
32816 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
32821 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32822 { echo "$as_me:$LINENO: checking for shmat" >&5
32823 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32824 if test "${ac_cv_func_shmat+set}" = set; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32827 cat >conftest.
$ac_ext <<_ACEOF
32830 cat confdefs.h
>>conftest.
$ac_ext
32831 cat >>conftest.
$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32833 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32835 #define shmat innocuous_shmat
32837 /* System header to define __stub macros and hopefully few prototypes,
32838 which can conflict with char shmat (); below.
32839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32840 <limits.h> exists even on freestanding compilers. */
32843 # include <limits.h>
32845 # include <assert.h>
32850 /* Override any GCC internal prototype to avoid an error.
32851 Use char because int might match the return type of a GCC
32852 builtin and then its argument prototype would still apply. */
32857 /* The GNU C library defines this for functions which it implements
32858 to always fail with ENOSYS. Some functions are actually named
32859 something starting with __ and the normal name is an alias. */
32860 #if defined __stub_shmat || defined __stub___shmat
32872 rm -f conftest.
$ac_objext conftest
$ac_exeext
32873 if { (ac_try
="$ac_link"
32874 case "(($ac_try" in
32875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32876 *) ac_try_echo=$ac_try;;
32878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32879 (eval "$ac_link") 2>conftest.er1
32881 grep -v '^ *+' conftest.er1 >conftest.err
32883 cat conftest.err >&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); } && {
32886 test -z "$ac_c_werror_flag" ||
32887 test ! -s conftest.err
32888 } && test -s conftest$ac_exeext &&
32889 $as_test_x conftest$ac_exeext; then
32890 ac_cv_func_shmat=yes
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.$ac_ext >&5
32895 ac_cv_func_shmat=no
32898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32899 conftest$ac_exeext conftest.$ac_ext
32901 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32902 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32904 if test $ac_cv_func_shmat = no; then
32905 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32906 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32907 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32910 ac_check_lib_save_LIBS=$LIBS
32912 cat >conftest.$ac_ext <<_ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32919 /* Override any GCC internal prototype to avoid an error.
32920 Use char because int might match the return type of a GCC
32921 builtin and then its argument prototype would still apply. */
32934 rm -f conftest.$ac_objext conftest$ac_exeext
32935 if { (ac_try="$ac_link"
32936 case "(($ac_try" in
32937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32938 *) ac_try_echo
=$ac_try;;
32940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32941 (eval "$ac_link") 2>conftest.er1
32943 grep -v '^ *+' conftest.er1
>conftest.err
32945 cat conftest.err
>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } && {
32948 test -z "$ac_c_werror_flag" ||
32949 test ! -s conftest.err
32950 } && test -s conftest
$ac_exeext &&
32951 $as_test_x conftest
$ac_exeext; then
32952 ac_cv_lib_ipc_shmat
=yes
32954 echo "$as_me: failed program was:" >&5
32955 sed 's/^/| /' conftest.
$ac_ext >&5
32957 ac_cv_lib_ipc_shmat
=no
32960 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32961 conftest
$ac_exeext conftest.
$ac_ext
32962 LIBS
=$ac_check_lib_save_LIBS
32964 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32965 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32966 if test $ac_cv_lib_ipc_shmat = yes; then
32967 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
32973 # Check for libraries that X11R6 Xt/Xaw programs need.
32974 ac_save_LDFLAGS
=$LDFLAGS
32975 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
32976 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32977 # check for ICE first), but we must link in the order -lSM -lICE or
32978 # we get undefined symbols. So assume we have SM if we have ICE.
32979 # These have to be linked with before -lX11, unlike the other
32980 # libraries we check for below, so use a different variable.
32981 # John Interrante, Karl Berry
32982 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32983 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32984 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32985 echo $ECHO_N "(cached) $ECHO_C" >&6
32987 ac_check_lib_save_LIBS
=$LIBS
32988 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
32989 cat >conftest.
$ac_ext <<_ACEOF
32992 cat confdefs.h
>>conftest.
$ac_ext
32993 cat >>conftest.
$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32996 /* Override any GCC internal prototype to avoid an error.
32997 Use char because int might match the return type of a GCC
32998 builtin and then its argument prototype would still apply. */
33002 char IceConnectionNumber ();
33006 return IceConnectionNumber ();
33011 rm -f conftest.
$ac_objext conftest
$ac_exeext
33012 if { (ac_try
="$ac_link"
33013 case "(($ac_try" in
33014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33015 *) ac_try_echo=$ac_try;;
33017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33018 (eval "$ac_link") 2>conftest.er1
33020 grep -v '^ *+' conftest.er1 >conftest.err
33022 cat conftest.err >&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); } && {
33025 test -z "$ac_c_werror_flag" ||
33026 test ! -s conftest.err
33027 } && test -s conftest$ac_exeext &&
33028 $as_test_x conftest$ac_exeext; then
33029 ac_cv_lib_ICE_IceConnectionNumber=yes
33031 echo "$as_me: failed program was:" >&5
33032 sed 's/^/| /' conftest.$ac_ext >&5
33034 ac_cv_lib_ICE_IceConnectionNumber=no
33037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33038 conftest$ac_exeext conftest.$ac_ext
33039 LIBS=$ac_check_lib_save_LIBS
33041 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33042 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33043 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33044 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33047 LDFLAGS=$ac_save_LDFLAGS
33052 if test "$no_x" = "yes"; then
33053 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33054 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33055 { (exit 1); exit 1; }; }
33058 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33059 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33060 AFMINSTALL=afminstall
33061 COMPILED_X_PROGRAM=0
33065 if test "$wxUSE_X11" = 1; then
33066 if test "$wxUSE_NANOX" = "yes"; then
33067 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33068 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33069 if test "x$MICROWIN" = x ; then
33070 { echo "$as_me:$LINENO: result: not found" >&5
33071 echo "${ECHO_T}not found" >&6; }
33072 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33073 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33074 { (exit 1); exit 1; }; }
33076 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33077 echo "${ECHO_T}$MICROWIN" >&6; }
33078 cat >>confdefs.h <<\_ACEOF
33079 #define wxUSE_NANOX 1
33085 if test "$wxUSE_UNICODE" = "yes"; then
33088 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33089 if test -n "$ac_tool_prefix"; then
33090 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33091 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33094 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33097 case $PKG_CONFIG in
33099 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33103 for as_dir in $PATH
33106 test -z "$as_dir" && as_dir=.
33107 for ac_exec_ext in '' $ac_executable_extensions; do
33108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33109 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33120 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33121 if test -n "$PKG_CONFIG"; then
33122 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33123 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33125 { echo "$as_me:$LINENO: result: no" >&5
33126 echo "${ECHO_T}no" >&6; }
33131 if test -z "$ac_cv_path_PKG_CONFIG"; then
33132 ac_pt_PKG_CONFIG=$PKG_CONFIG
33133 # Extract the first word of "pkg-config", so it can be a program name with args.
33134 set dummy pkg-config; ac_word=$2
33135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33137 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33140 case $ac_pt_PKG_CONFIG in
33142 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33146 for as_dir in $PATH
33149 test -z "$as_dir" && as_dir=.
33150 for ac_exec_ext in '' $ac_executable_extensions; do
33151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33152 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33163 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33164 if test -n "$ac_pt_PKG_CONFIG"; then
33165 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33166 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33168 { echo "$as_me:$LINENO: result: no" >&5
33169 echo "${ECHO_T}no" >&6; }
33172 if test "x$ac_pt_PKG_CONFIG" = x; then
33175 case $cross_compiling:$ac_tool_warned in
33177 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33178 whose name does not start with the host triplet. If you think this
33179 configuration is useful to you, please write to autoconf@gnu.org." >&5
33180 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33181 whose name does not start with the host triplet. If you think this
33182 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33183 ac_tool_warned=yes ;;
33185 PKG_CONFIG=$ac_pt_PKG_CONFIG
33188 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33192 if test -n "$PKG_CONFIG"; then
33193 _pkg_min_version=0.9.0
33194 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33195 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33196 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33197 { echo "$as_me:$LINENO: result: yes" >&5
33198 echo "${ECHO_T}yes" >&6; }
33200 { echo "$as_me:$LINENO: result: no" >&5
33201 echo "${ECHO_T}no" >&6; }
33209 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33210 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33212 if test -n "$PKG_CONFIG"; then
33213 if test -n "$PANGOX_CFLAGS"; then
33214 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33216 if test -n "$PKG_CONFIG" && \
33217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33218 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; then
33222 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
33230 if test -n "$PKG_CONFIG"; then
33231 if test -n "$PANGOX_LIBS"; then
33232 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33234 if test -n "$PKG_CONFIG" && \
33235 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33236 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; then
33240 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
33251 if test $pkg_failed = yes; then
33253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33254 _pkg_short_errors_supported=yes
33256 _pkg_short_errors_supported=no
33258 if test $_pkg_short_errors_supported = yes; then
33259 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33261 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33263 # Put the nasty error message in config.log where it belongs
33264 echo "$PANGOX_PKG_ERRORS" >&5
33267 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33268 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33269 { (exit 1); exit 1; }; }
33272 elif test $pkg_failed = untried; then
33274 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33275 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33276 { (exit 1); exit 1; }; }
33280 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33281 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33282 { echo "$as_me:$LINENO: result: yes" >&5
33283 echo "${ECHO_T}yes" >&6; }
33285 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33286 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33287 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33292 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33293 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33295 if test -n "$PKG_CONFIG"; then
33296 if test -n "$PANGOFT2_CFLAGS"; then
33297 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33299 if test -n "$PKG_CONFIG" && \
33300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33301 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); }; then
33305 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
33313 if test -n "$PKG_CONFIG"; then
33314 if test -n "$PANGOFT2_LIBS"; then
33315 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33317 if test -n "$PKG_CONFIG" && \
33318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33319 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; then
33323 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
33334 if test $pkg_failed = yes; then
33336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33337 _pkg_short_errors_supported=yes
33339 _pkg_short_errors_supported=no
33341 if test $_pkg_short_errors_supported = yes; then
33342 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33344 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33346 # Put the nasty error message in config.log where it belongs
33347 echo "$PANGOFT2_PKG_ERRORS" >&5
33350 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33351 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33352 wxUSE_PRINTING_ARCHITECTURE="no"
33355 elif test $pkg_failed = untried; then
33357 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33358 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33359 wxUSE_PRINTING_ARCHITECTURE="no"
33363 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33364 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33365 { echo "$as_me:$LINENO: result: yes" >&5
33366 echo "${ECHO_T}yes" >&6; }
33368 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33369 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33370 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33375 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33376 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33378 if test -n "$PKG_CONFIG"; then
33379 if test -n "$PANGOXFT_CFLAGS"; then
33380 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33382 if test -n "$PKG_CONFIG" && \
33383 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33384 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; then
33388 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
33396 if test -n "$PKG_CONFIG"; then
33397 if test -n "$PANGOXFT_LIBS"; then
33398 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33400 if test -n "$PKG_CONFIG" && \
33401 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33402 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); }; then
33406 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
33417 if test $pkg_failed = yes; then
33419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33420 _pkg_short_errors_supported=yes
33422 _pkg_short_errors_supported=no
33424 if test $_pkg_short_errors_supported = yes; then
33425 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33427 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33429 # Put the nasty error message in config.log where it belongs
33430 echo "$PANGOXFT_PKG_ERRORS" >&5
33433 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33434 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33437 elif test $pkg_failed = untried; then
33439 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33440 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33444 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33445 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33446 { echo "$as_me:$LINENO: result: yes" >&5
33447 echo "${ECHO_T}yes" >&6; }
33449 cat >>confdefs.h <<\_ACEOF
33450 #define HAVE_PANGO_XFT 1
33453 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33454 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33455 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33459 LIBS="$LIBS $PANGOX_LIBS"
33461 for ac_func in pango_font_family_is_monospace
33463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33467 echo $ECHO_N "(cached) $ECHO_C" >&6
33469 cat >conftest.$ac_ext <<_ACEOF
33472 cat confdefs.h >>conftest.$ac_ext
33473 cat >>conftest.$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33477 #define $ac_func innocuous_$ac_func
33479 /* System header to define __stub macros and hopefully few prototypes,
33480 which can conflict with char $ac_func (); below.
33481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33482 <limits.h> exists even on freestanding compilers. */
33485 # include <limits.h>
33487 # include <assert.h>
33492 /* Override any GCC internal prototype to avoid an error.
33493 Use char because int might match the return type of a GCC
33494 builtin and then its argument prototype would still apply. */
33499 /* The GNU C library defines this for functions which it implements
33500 to always fail with ENOSYS. Some functions are actually named
33501 something starting with __ and the normal name is an alias. */
33502 #if defined __stub_$ac_func || defined __stub___$ac_func
33509 return $ac_func ();
33514 rm -f conftest.$ac_objext conftest$ac_exeext
33515 if { (ac_try="$ac_link"
33516 case "(($ac_try" in
33517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33518 *) ac_try_echo
=$ac_try;;
33520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33521 (eval "$ac_link") 2>conftest.er1
33523 grep -v '^ *+' conftest.er1
>conftest.err
33525 cat conftest.err
>&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } && {
33528 test -z "$ac_c_werror_flag" ||
33529 test ! -s conftest.err
33530 } && test -s conftest
$ac_exeext &&
33531 $as_test_x conftest
$ac_exeext; then
33532 eval "$as_ac_var=yes"
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.
$ac_ext >&5
33537 eval "$as_ac_var=no"
33540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33541 conftest
$ac_exeext conftest.
$ac_ext
33543 ac_res
=`eval echo '${'$as_ac_var'}'`
33544 { echo "$as_me:$LINENO: result: $ac_res" >&5
33545 echo "${ECHO_T}$ac_res" >&6; }
33546 if test `eval echo '${'$as_ac_var'}'` = yes; then
33547 cat >>confdefs.h
<<_ACEOF
33548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33557 wxUSE_UNIVERSAL
="yes"
33559 if test "$wxUSE_NANOX" = "yes"; then
33560 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33561 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"
33562 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33564 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
33571 if test "$wxUSE_MOTIF" = 1; then
33572 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33573 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33576 for ac_dir
in $SEARCH_INCLUDE /usr
/include
33578 if test -f "$ac_dir/Xm/Xm.h"; then
33579 ac_find_includes
=$ac_dir
33584 if test "$ac_find_includes" != "" ; then
33585 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33586 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33588 if test "x$ac_find_includes" = "x/usr/include"; then
33589 ac_path_to_include
=""
33591 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
33593 if test $result = 0; then
33594 ac_path_to_include
=""
33596 ac_path_to_include
=" -I$ac_find_includes"
33600 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
33602 save_CFLAGS
=$CFLAGS
33603 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33605 cat >conftest.
$ac_ext <<_ACEOF
33608 cat confdefs.h
>>conftest.
$ac_ext
33609 cat >>conftest.
$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33619 version = xmUseVersion;
33625 rm -f conftest.
$ac_objext
33626 if { (ac_try
="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33634 grep -v '^ *+' conftest.er1 >conftest.err
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_c_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.$ac_objext; then
33643 { echo "$as_me:$LINENO: result: found in default search path" >&5
33644 echo "${ECHO_T}found in default search path" >&6; }
33645 COMPILED_X_PROGRAM=1
33648 echo "$as_me: failed program was:" >&5
33649 sed 's/^/| /' conftest.$ac_ext >&5
33652 { echo "$as_me:$LINENO: result: no" >&5
33653 echo "${ECHO_T}no" >&6; }
33654 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33655 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33656 { (exit 1); exit 1; }; }
33661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33663 CFLAGS=$save_CFLAGS
33667 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33668 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33671 for ac_dir in $SEARCH_LIB
33673 for ac_extension in a so sl dylib dll.a; do
33674 if test -f "$ac_dir/libXm.$ac_extension"; then
33675 ac_find_libraries=$ac_dir
33682 if test "x$ac_find_libraries" != "x" ; then
33683 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33684 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33687 if test "$ac_find_libraries" = "default location"; then
33690 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33692 if test $result = 0; then
33695 ac_path_to_link=" -L$ac_find_libraries"
33699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33701 save_CFLAGS=$CFLAGS
33702 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33704 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33706 cat >conftest.$ac_ext <<_ACEOF
33709 cat confdefs.h >>conftest.$ac_ext
33710 cat >>conftest.$ac_ext <<_ACEOF
33711 /* end confdefs.h. */
33720 version = xmUseVersion;
33726 rm -f conftest.$ac_objext conftest$ac_exeext
33727 if { (ac_try="$ac_link"
33728 case "(($ac_try" in
33729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33730 *) ac_try_echo
=$ac_try;;
33732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33733 (eval "$ac_link") 2>conftest.er1
33735 grep -v '^ *+' conftest.er1
>conftest.err
33737 cat conftest.err
>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); } && {
33740 test -z "$ac_c_werror_flag" ||
33741 test ! -s conftest.err
33742 } && test -s conftest
$ac_exeext &&
33743 $as_test_x conftest
$ac_exeext; then
33745 { echo "$as_me:$LINENO: result: found in default search path" >&5
33746 echo "${ECHO_T}found in default search path" >&6; }
33747 COMPILED_X_PROGRAM
=1
33750 echo "$as_me: failed program was:" >&5
33751 sed 's/^/| /' conftest.
$ac_ext >&5
33754 { echo "$as_me:$LINENO: result: no" >&5
33755 echo "${ECHO_T}no" >&6; }
33756 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33757 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33758 { (exit 1); exit 1; }; }
33763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33764 conftest
$ac_exeext conftest.
$ac_ext
33766 CFLAGS
=$save_CFLAGS
33770 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33771 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33775 for libp
in "" " -lXp"; do
33776 if test "$libs_found" = 0; then
33777 for libsm_ice
in "" " -lSM -lICE"; do
33778 if test "$libs_found" = 0; then
33780 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33781 save_CFLAGS
=$CFLAGS
33782 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33784 cat >conftest.
$ac_ext <<_ACEOF
33787 cat confdefs.h
>>conftest.
$ac_ext
33788 cat >>conftest.
$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33792 #include <Xm/List.h>
33798 XmString string = NULL;
33801 XmListAddItem(w, string, position);
33807 rm -f conftest.
$ac_objext conftest
$ac_exeext
33808 if { (ac_try
="$ac_link"
33809 case "(($ac_try" in
33810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33811 *) ac_try_echo=$ac_try;;
33813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33814 (eval "$ac_link") 2>conftest.er1
33816 grep -v '^ *+' conftest.er1 >conftest.err
33818 cat conftest.err >&5
33819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820 (exit $ac_status); } && {
33821 test -z "$ac_c_werror_flag" ||
33822 test ! -s conftest.err
33823 } && test -s conftest$ac_exeext &&
33824 $as_test_x conftest$ac_exeext; then
33827 libsm_ice_link="$libsm_ice"
33828 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33829 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33833 echo "$as_me: failed program was:" >&5
33834 sed 's/^/| /' conftest.$ac_ext >&5
33840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33841 conftest$ac_exeext conftest.$ac_ext
33844 CFLAGS=$save_CFLAGS
33850 if test "$libs_found" = 0; then
33851 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33852 echo "${ECHO_T}can't find the right libraries" >&6; }
33853 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33854 echo "$as_me: error: can't link a simple motif program" >&2;}
33855 { (exit 1); exit 1; }; }
33858 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33859 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33860 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33861 echo $ECHO_N "(cached) $ECHO_C" >&6
33863 ac_check_lib_save_LIBS=$LIBS
33865 cat >conftest.$ac_ext <<_ACEOF
33868 cat confdefs.h >>conftest.$ac_ext
33869 cat >>conftest.$ac_ext <<_ACEOF
33870 /* end confdefs.h. */
33872 /* Override any GCC internal prototype to avoid an error.
33873 Use char because int might match the return type of a GCC
33874 builtin and then its argument prototype would still apply. */
33878 char SgCreateList ();
33882 return SgCreateList ();
33887 rm -f conftest.$ac_objext conftest$ac_exeext
33888 if { (ac_try="$ac_link"
33889 case "(($ac_try" in
33890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33891 *) ac_try_echo
=$ac_try;;
33893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33894 (eval "$ac_link") 2>conftest.er1
33896 grep -v '^ *+' conftest.er1
>conftest.err
33898 cat conftest.err
>&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); } && {
33901 test -z "$ac_c_werror_flag" ||
33902 test ! -s conftest.err
33903 } && test -s conftest
$ac_exeext &&
33904 $as_test_x conftest
$ac_exeext; then
33905 ac_cv_lib_Sgm_SgCreateList
=yes
33907 echo "$as_me: failed program was:" >&5
33908 sed 's/^/| /' conftest.
$ac_ext >&5
33910 ac_cv_lib_Sgm_SgCreateList
=no
33913 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33914 conftest
$ac_exeext conftest.
$ac_ext
33915 LIBS
=$ac_check_lib_save_LIBS
33917 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33918 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33919 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33920 libsgm_link
=" -lSgm"
33924 save_CFLAGS
=$CFLAGS
33925 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33927 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33928 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33929 if test "${wx_cv_lib_motif2+set}" = set; then
33930 echo $ECHO_N "(cached) $ECHO_C" >&6
33932 cat >conftest.
$ac_ext <<_ACEOF
33935 cat confdefs.h
>>conftest.
$ac_ext
33936 cat >>conftest.
$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33945 #if XmVersion < 2000
33953 rm -f conftest.
$ac_objext
33954 if { (ac_try
="$ac_compile"
33955 case "(($ac_try" in
33956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33957 *) ac_try_echo=$ac_try;;
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_compile") 2>conftest.er1
33962 grep -v '^ *+' conftest.er1 >conftest.err
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_c_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest.$ac_objext; then
33970 wx_cv_lib_motif2="yes"
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.$ac_ext >&5
33975 wx_cv_lib_motif2="no"
33978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33980 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33981 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33982 if test "$wx_cv_lib_motif2" = "yes"; then
33983 cat >>confdefs.h <<\_ACEOF
33984 #define __WXMOTIF20__ 1
33988 cat >>confdefs.h <<\_ACEOF
33989 #define __WXMOTIF20__ 0
33994 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33995 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33996 if test "${wx_cv_lib_lesstif+set}" = set; then
33997 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 cat >conftest.$ac_ext <<_ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34012 #if !defined(LesstifVersion) || LesstifVersion <= 0
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34024 *) ac_try_echo
=$ac_try;;
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34029 grep -v '^ *+' conftest.er1
>conftest.err
34031 cat conftest.err
>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_c_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.
$ac_objext; then
34037 wx_cv_lib_lesstif
="yes"
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.
$ac_ext >&5
34042 wx_cv_lib_lesstif
="no"
34045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34048 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34049 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34050 if test "$wx_cv_lib_lesstif" = "yes"; then
34051 cat >>confdefs.h
<<\_ACEOF
34052 #define __WXLESSTIF__ 1
34056 cat >>confdefs.h
<<\_ACEOF
34057 #define __WXLESSTIF__ 0
34062 CFLAGS
=$save_CFLAGS
34064 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34069 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34070 if test "$wxUSE_LIBXPM" = "sys"; then
34071 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34072 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34075 for ac_dir
in $SEARCH_LIB
34077 for ac_extension
in a so sl dylib dll.a
; do
34078 if test -f "$ac_dir/libXpm.$ac_extension"; then
34079 ac_find_libraries
=$ac_dir
34085 if test "$ac_find_libraries" != "" ; then
34087 if test "$ac_find_libraries" = "default location"; then
34090 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34092 if test $result = 0; then
34095 ac_path_to_link
=" -L$ac_find_libraries"
34099 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34100 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34101 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34103 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34104 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34105 if test "${wx_cv_x11_xpm_h+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 save_CFLAGS
=$CFLAGS
34110 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34112 cat >conftest.
$ac_ext <<_ACEOF
34115 cat confdefs.h
>>conftest.
$ac_ext
34116 cat >>conftest.
$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34119 #include <X11/xpm.h>
34126 version = XpmLibraryVersion();
34132 rm -f conftest.
$ac_objext
34133 if { (ac_try
="$ac_compile"
34134 case "(($ac_try" in
34135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34136 *) ac_try_echo=$ac_try;;
34138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34139 (eval "$ac_compile") 2>conftest.er1
34141 grep -v '^ *+' conftest.er1 >conftest.err
34143 cat conftest.err >&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } && {
34146 test -z "$ac_c_werror_flag" ||
34147 test ! -s conftest.err
34148 } && test -s conftest.$ac_objext; then
34149 wx_cv_x11_xpm_h=yes
34151 echo "$as_me: failed program was:" >&5
34152 sed 's/^/| /' conftest.$ac_ext >&5
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 CFLAGS=$save_CFLAGS
34164 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34165 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34167 if test $wx_cv_x11_xpm_h = "yes"; then
34168 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34169 cat >>confdefs.h <<\_ACEOF
34170 #define wxHAVE_LIB_XPM 1
34174 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34175 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34181 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34182 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34183 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34186 ac_check_lib_save_LIBS=$LIBS
34187 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34188 cat >conftest.$ac_ext <<_ACEOF
34191 cat confdefs.h >>conftest.$ac_ext
34192 cat >>conftest.$ac_ext <<_ACEOF
34193 /* end confdefs.h. */
34195 /* Override any GCC internal prototype to avoid an error.
34196 Use char because int might match the return type of a GCC
34197 builtin and then its argument prototype would still apply. */
34201 char XShapeQueryExtension ();
34205 return XShapeQueryExtension ();
34210 rm -f conftest.$ac_objext conftest$ac_exeext
34211 if { (ac_try="$ac_link"
34212 case "(($ac_try" in
34213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34214 *) ac_try_echo
=$ac_try;;
34216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34217 (eval "$ac_link") 2>conftest.er1
34219 grep -v '^ *+' conftest.er1
>conftest.err
34221 cat conftest.err
>&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } && {
34224 test -z "$ac_c_werror_flag" ||
34225 test ! -s conftest.err
34226 } && test -s conftest
$ac_exeext &&
34227 $as_test_x conftest
$ac_exeext; then
34228 ac_cv_lib_Xext_XShapeQueryExtension
=yes
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.
$ac_ext >&5
34233 ac_cv_lib_Xext_XShapeQueryExtension
=no
34236 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34237 conftest
$ac_exeext conftest.
$ac_ext
34238 LIBS
=$ac_check_lib_save_LIBS
34240 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34241 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34242 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34244 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
34250 if test "$wxHAVE_XEXT_LIB" = 1; then
34251 save_CFLAGS
="$CFLAGS"
34252 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34254 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34255 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34256 cat >conftest.
$ac_ext <<_ACEOF
34259 cat confdefs.h
>>conftest.
$ac_ext
34260 cat >>conftest.
$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34263 #include <X11/Xlib.h>
34264 #include <X11/extensions/shape.h>
34270 int dummy1, dummy2;
34271 XShapeQueryExtension((Display*)NULL,
34272 (int*)NULL, (int*)NULL);
34278 rm -f conftest.
$ac_objext
34279 if { (ac_try
="$ac_compile"
34280 case "(($ac_try" in
34281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34282 *) ac_try_echo=$ac_try;;
34284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34285 (eval "$ac_compile") 2>conftest.er1
34287 grep -v '^ *+' conftest.er1 >conftest.err
34289 cat conftest.err >&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } && {
34292 test -z "$ac_c_werror_flag" ||
34293 test ! -s conftest.err
34294 } && test -s conftest.$ac_objext; then
34296 cat >>confdefs.h <<\_ACEOF
34297 #define HAVE_XSHAPE 1
34300 { echo "$as_me:$LINENO: result: found" >&5
34301 echo "${ECHO_T}found" >&6; }
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34308 { echo "$as_me:$LINENO: result: not found" >&5
34309 echo "${ECHO_T}not found" >&6; }
34313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34314 CFLAGS="$save_CFLAGS"
34319 if test "$wxUSE_OSX_CARBON" = 1; then
34320 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34321 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34322 if test "$GCC" = yes; then
34323 { echo "$as_me:$LINENO: result: gcc" >&5
34324 echo "${ECHO_T}gcc" >&6; }
34325 CPPFLAGS_PASCAL="-fpascal-strings"
34326 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34327 { echo "$as_me:$LINENO: result: xlc" >&5
34328 echo "${ECHO_T}xlc" >&6; }
34329 CPPFLAGS_PASCAL="-qmacpstr"
34331 { echo "$as_me:$LINENO: result: none" >&5
34332 echo "${ECHO_T}none" >&6; }
34335 if test "x$wxUSE_UNIX" = "xyes"; then
34336 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34338 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34342 GUIDIST=OSX_CARBON_DIST
34343 WXBASEPORT="_carbon"
34345 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34348 if test "$wxUSE_OSX_COCOA" = 1; then
34350 GUIDIST=OSX_COCOA_DIST
34352 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34355 if test "$wxUSE_OSX_IPHONE" = 1; then
34359 if test "$wxUSE_OLD_COCOA" = 1; then
34364 if test "$wxUSE_PM" = 1; then
34367 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34368 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34369 if test "${wx_cv_spbcdata+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34373 cat >conftest.$ac_ext <<_ACEOF
34376 cat confdefs.h >>conftest.$ac_ext
34377 cat >>conftest.$ac_ext <<_ACEOF
34378 /* end confdefs.h. */
34393 rm -f conftest.$ac_objext
34394 if { (ac_try="$ac_compile"
34395 case "(($ac_try" in
34396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34397 *) ac_try_echo
=$ac_try;;
34399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34400 (eval "$ac_compile") 2>conftest.er1
34402 grep -v '^ *+' conftest.er1
>conftest.err
34404 cat conftest.err
>&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } && {
34407 test -z "$ac_c_werror_flag" ||
34408 test ! -s conftest.err
34409 } && test -s conftest.
$ac_objext; then
34412 echo "$as_me: failed program was:" >&5
34413 sed 's/^/| /' conftest.
$ac_ext >&5
34419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34423 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34424 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34426 if test $wx_cv_spbcdata = "yes"; then
34427 cat >>confdefs.h
<<\_ACEOF
34428 #define HAVE_SPBCDATA 1
34434 if test "$TOOLKIT" = "PM" ; then
34437 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34440 if test "$wxUSE_UNIVERSAL" = "yes"; then
34441 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34445 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34446 DISTDIR
="wx\$(TOOLKIT)"
34452 if test "$USE_WIN32" = 1 ; then
34456 GUIDIST
="BASE_DIST"
34462 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34463 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34464 wxUSE_UNICODE_UTF8
=yes
34465 elif test "$USE_OS2" = 1 ; then
34466 wxUSE_UNICODE_UTF8
=yes
34468 wxUSE_UNICODE_UTF8
=no
34473 if test "$wxUSE_GUI" = "yes"; then
34474 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34476 for ac_header
in X
11/Xlib.h
34478 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34479 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34481 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34482 echo $ECHO_N "(cached) $ECHO_C" >&6
34484 cat >conftest.
$ac_ext <<_ACEOF
34487 cat confdefs.h
>>conftest.
$ac_ext
34488 cat >>conftest.
$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34492 #include <$ac_header>
34494 rm -f conftest.
$ac_objext
34495 if { (ac_try
="$ac_compile"
34496 case "(($ac_try" in
34497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34498 *) ac_try_echo=$ac_try;;
34500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34501 (eval "$ac_compile") 2>conftest.er1
34503 grep -v '^ *+' conftest.er1 >conftest.err
34505 cat conftest.err >&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); } && {
34508 test -z "$ac_c_werror_flag" ||
34509 test ! -s conftest.err
34510 } && test -s conftest.$ac_objext; then
34511 eval "$as_ac_Header=yes"
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34516 eval "$as_ac_Header=no"
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521 ac_res=`eval echo '${'$as_ac_Header'}'`
34522 { echo "$as_me:$LINENO: result: $ac_res" >&5
34523 echo "${ECHO_T}$ac_res" >&6; }
34524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34525 cat >>confdefs.h <<_ACEOF
34526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34534 for ac_header in X11/XKBlib.h
34536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34540 echo $ECHO_N "(cached) $ECHO_C" >&6
34542 cat >conftest.$ac_ext <<_ACEOF
34545 cat confdefs.h >>conftest.$ac_ext
34546 cat >>conftest.$ac_ext <<_ACEOF
34547 /* end confdefs.h. */
34549 #if HAVE_X11_XLIB_H
34550 #include <X11/Xlib.h>
34554 #include <$ac_header>
34556 rm -f conftest.$ac_objext
34557 if { (ac_try="$ac_compile"
34558 case "(($ac_try" in
34559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34560 *) ac_try_echo
=$ac_try;;
34562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34563 (eval "$ac_compile") 2>conftest.er1
34565 grep -v '^ *+' conftest.er1
>conftest.err
34567 cat conftest.err
>&5
34568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34569 (exit $ac_status); } && {
34570 test -z "$ac_c_werror_flag" ||
34571 test ! -s conftest.err
34572 } && test -s conftest.
$ac_objext; then
34573 eval "$as_ac_Header=yes"
34575 echo "$as_me: failed program was:" >&5
34576 sed 's/^/| /' conftest.
$ac_ext >&5
34578 eval "$as_ac_Header=no"
34581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34583 ac_res
=`eval echo '${'$as_ac_Header'}'`
34584 { echo "$as_me:$LINENO: result: $ac_res" >&5
34585 echo "${ECHO_T}$ac_res" >&6; }
34586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34587 cat >>confdefs.h
<<_ACEOF
34588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34601 if test "$wxUSE_DISPLAY" = "yes"; then
34602 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34606 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
34609 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34610 if test -n "$ac_tool_prefix"; then
34611 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34612 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
34613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34615 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34616 echo $ECHO_N "(cached) $ECHO_C" >&6
34618 case $PKG_CONFIG in
34620 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34624 for as_dir
in $PATH
34627 test -z "$as_dir" && as_dir
=.
34628 for ac_exec_ext
in '' $ac_executable_extensions; do
34629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34630 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34641 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34642 if test -n "$PKG_CONFIG"; then
34643 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34644 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34646 { echo "$as_me:$LINENO: result: no" >&5
34647 echo "${ECHO_T}no" >&6; }
34652 if test -z "$ac_cv_path_PKG_CONFIG"; then
34653 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34654 # Extract the first word of "pkg-config", so it can be a program name with args.
34655 set dummy pkg
-config; ac_word
=$2
34656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34658 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34661 case $ac_pt_PKG_CONFIG in
34663 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34667 for as_dir
in $PATH
34670 test -z "$as_dir" && as_dir
=.
34671 for ac_exec_ext
in '' $ac_executable_extensions; do
34672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34673 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34684 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34685 if test -n "$ac_pt_PKG_CONFIG"; then
34686 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34687 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34689 { echo "$as_me:$LINENO: result: no" >&5
34690 echo "${ECHO_T}no" >&6; }
34693 if test "x$ac_pt_PKG_CONFIG" = x
; then
34696 case $cross_compiling:$ac_tool_warned in
34698 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34699 whose name does not start with the host triplet. If you think this
34700 configuration is useful to you, please write to autoconf@gnu.org." >&5
34701 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34702 whose name does not start with the host triplet. If you think this
34703 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34704 ac_tool_warned
=yes ;;
34706 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34709 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34713 if test -n "$PKG_CONFIG"; then
34714 _pkg_min_version
=0.9.0
34715 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34716 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34717 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34718 { echo "$as_me:$LINENO: result: yes" >&5
34719 echo "${ECHO_T}yes" >&6; }
34721 { echo "$as_me:$LINENO: result: no" >&5
34722 echo "${ECHO_T}no" >&6; }
34729 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34730 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34732 if test -n "$PKG_CONFIG"; then
34733 if test -n "$Xinerama_CFLAGS"; then
34734 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
34736 if test -n "$PKG_CONFIG" && \
34737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34738 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; then
34742 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34750 if test -n "$PKG_CONFIG"; then
34751 if test -n "$Xinerama_LIBS"; then
34752 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
34754 if test -n "$PKG_CONFIG" && \
34755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34756 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); }; then
34760 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34771 if test $pkg_failed = yes; then
34773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34774 _pkg_short_errors_supported
=yes
34776 _pkg_short_errors_supported
=no
34778 if test $_pkg_short_errors_supported = yes; then
34779 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34781 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34783 # Put the nasty error message in config.log where it belongs
34784 echo "$Xinerama_PKG_ERRORS" >&5
34787 if test "x$ac_find_libraries" = "x"; then
34788 if test "xXineramaQueryScreens" != "x"; then
34789 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34790 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34791 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34794 ac_check_lib_save_LIBS
=$LIBS
34795 LIBS
="-lXinerama $LIBS"
34796 cat >conftest.
$ac_ext <<_ACEOF
34799 cat confdefs.h
>>conftest.
$ac_ext
34800 cat >>conftest.
$ac_ext <<_ACEOF
34801 /* end confdefs.h. */
34803 /* Override any GCC internal prototype to avoid an error.
34804 Use char because int might match the return type of a GCC
34805 builtin and then its argument prototype would still apply. */
34809 char XineramaQueryScreens ();
34813 return XineramaQueryScreens ();
34818 rm -f conftest.
$ac_objext conftest
$ac_exeext
34819 if { (ac_try
="$ac_link"
34820 case "(($ac_try" in
34821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34822 *) ac_try_echo=$ac_try;;
34824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34825 (eval "$ac_link") 2>conftest.er1
34827 grep -v '^ *+' conftest.er1 >conftest.err
34829 cat conftest.err >&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } && {
34832 test -z "$ac_c_werror_flag" ||
34833 test ! -s conftest.err
34834 } && test -s conftest$ac_exeext &&
34835 $as_test_x conftest$ac_exeext; then
34836 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34838 echo "$as_me: failed program was:" >&5
34839 sed 's/^/| /' conftest.$ac_ext >&5
34841 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34845 conftest$ac_exeext conftest.$ac_ext
34846 LIBS=$ac_check_lib_save_LIBS
34848 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34849 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34850 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34851 ac_find_libraries="std"
34857 if test "x$ac_find_libraries" = "x"; then
34858 { echo "$as_me:$LINENO: checking elsewhere" >&5
34859 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34862 for ac_dir in $SEARCH_LIB
34864 for ac_extension in a so sl dylib dll.a; do
34865 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34866 ac_find_libraries=$ac_dir
34872 if test "x$ac_find_libraries" != "x"; then
34873 { echo "$as_me:$LINENO: result: yes" >&5
34874 echo "${ECHO_T}yes" >&6; }
34876 { echo "$as_me:$LINENO: result: no" >&5
34877 echo "${ECHO_T}no" >&6; }
34881 elif test $pkg_failed = untried; then
34883 if test "x$ac_find_libraries" = "x"; then
34884 if test "xXineramaQueryScreens" != "x"; then
34885 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34886 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34887 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34888 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 ac_check_lib_save_LIBS=$LIBS
34891 LIBS="-lXinerama $LIBS"
34892 cat >conftest.$ac_ext <<_ACEOF
34895 cat confdefs.h >>conftest.$ac_ext
34896 cat >>conftest.$ac_ext <<_ACEOF
34897 /* end confdefs.h. */
34899 /* Override any GCC internal prototype to avoid an error.
34900 Use char because int might match the return type of a GCC
34901 builtin and then its argument prototype would still apply. */
34905 char XineramaQueryScreens ();
34909 return XineramaQueryScreens ();
34914 rm -f conftest.$ac_objext conftest$ac_exeext
34915 if { (ac_try="$ac_link"
34916 case "(($ac_try" in
34917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34918 *) ac_try_echo
=$ac_try;;
34920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34921 (eval "$ac_link") 2>conftest.er1
34923 grep -v '^ *+' conftest.er1
>conftest.err
34925 cat conftest.err
>&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } && {
34928 test -z "$ac_c_werror_flag" ||
34929 test ! -s conftest.err
34930 } && test -s conftest
$ac_exeext &&
34931 $as_test_x conftest
$ac_exeext; then
34932 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.
$ac_ext >&5
34937 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
34940 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34941 conftest
$ac_exeext conftest.
$ac_ext
34942 LIBS
=$ac_check_lib_save_LIBS
34944 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34945 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34946 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34947 ac_find_libraries
="std"
34953 if test "x$ac_find_libraries" = "x"; then
34954 { echo "$as_me:$LINENO: checking elsewhere" >&5
34955 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34958 for ac_dir
in $SEARCH_LIB
34960 for ac_extension
in a so sl dylib dll.a
; do
34961 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34962 ac_find_libraries
=$ac_dir
34968 if test "x$ac_find_libraries" != "x"; then
34969 { echo "$as_me:$LINENO: result: yes" >&5
34970 echo "${ECHO_T}yes" >&6; }
34972 { echo "$as_me:$LINENO: result: no" >&5
34973 echo "${ECHO_T}no" >&6; }
34978 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
34979 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
34980 { echo "$as_me:$LINENO: result: yes" >&5
34981 echo "${ECHO_T}yes" >&6; }
34983 ac_find_libraries
="std"
34985 eval ac_find_cflags
=\
$Xinerama_CFLAGS
34986 eval fl_libs
=\
$Xinerama_LIBS
34988 for fl_path
in $fl_libs
34990 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34991 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
34997 if test "$ac_find_libraries" != "" ; then
34998 if test "$ac_find_libraries" != "std" ; then
35000 if test "$ac_find_libraries" = "default location"; then
35003 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35005 if test $result = 0; then
35008 ac_path_to_link
=" -L$ac_find_libraries"
35012 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35013 LDFLAGS
="$LDFLAGS $ac_path_to_link"
35017 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
35019 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35020 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35023 elif test "$wxUSE_MSW" = 1; then
35024 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35025 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35026 if test "${ac_cv_header_ddraw_h+set}" = set; then
35027 echo $ECHO_N "(cached) $ECHO_C" >&6
35029 cat >conftest.
$ac_ext <<_ACEOF
35032 cat confdefs.h
>>conftest.
$ac_ext
35033 cat >>conftest.
$ac_ext <<_ACEOF
35034 /* end confdefs.h. */
35035 #include <windows.h>
35039 rm -f conftest.
$ac_objext
35040 if { (ac_try
="$ac_compile"
35041 case "(($ac_try" in
35042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35043 *) ac_try_echo=$ac_try;;
35045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35046 (eval "$ac_compile") 2>conftest.er1
35048 grep -v '^ *+' conftest.er1 >conftest.err
35050 cat conftest.err >&5
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); } && {
35053 test -z "$ac_c_werror_flag" ||
35054 test ! -s conftest.err
35055 } && test -s conftest.$ac_objext; then
35056 ac_cv_header_ddraw_h=yes
35058 echo "$as_me: failed program was:" >&5
35059 sed 's/^/| /' conftest.$ac_ext >&5
35061 ac_cv_header_ddraw_h=no
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35066 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35067 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35073 if test "$wxUSE_DISPLAY" = "yes"; then
35074 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
35078 fl_pkgname=`echo "Xxf86vm" | tr [:upper
:] [:lower
:]`
35081 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35082 if test -n "$ac_tool_prefix"; then
35083 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35084 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35087 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35088 echo $ECHO_N "(cached) $ECHO_C" >&6
35090 case $PKG_CONFIG in
35092 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35096 for as_dir in $PATH
35099 test -z "$as_dir" && as_dir=.
35100 for ac_exec_ext in '' $ac_executable_extensions; do
35101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35102 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35113 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35114 if test -n "$PKG_CONFIG"; then
35115 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35116 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35118 { echo "$as_me:$LINENO: result: no" >&5
35119 echo "${ECHO_T}no" >&6; }
35124 if test -z "$ac_cv_path_PKG_CONFIG"; then
35125 ac_pt_PKG_CONFIG=$PKG_CONFIG
35126 # Extract the first word of "pkg-config", so it can be a program name with args.
35127 set dummy pkg-config; ac_word=$2
35128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35130 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 case $ac_pt_PKG_CONFIG in
35135 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35139 for as_dir in $PATH
35142 test -z "$as_dir" && as_dir=.
35143 for ac_exec_ext in '' $ac_executable_extensions; do
35144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35145 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35156 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35157 if test -n "$ac_pt_PKG_CONFIG"; then
35158 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35159 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35161 { echo "$as_me:$LINENO: result: no" >&5
35162 echo "${ECHO_T}no" >&6; }
35165 if test "x$ac_pt_PKG_CONFIG" = x; then
35168 case $cross_compiling:$ac_tool_warned in
35170 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35171 whose name does not start with the host triplet. If you think this
35172 configuration is useful to you, please write to autoconf@gnu.org." >&5
35173 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35174 whose name does not start with the host triplet. If you think this
35175 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35176 ac_tool_warned=yes ;;
35178 PKG_CONFIG=$ac_pt_PKG_CONFIG
35181 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35185 if test -n "$PKG_CONFIG"; then
35186 _pkg_min_version=0.9.0
35187 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35188 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35189 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35190 { echo "$as_me:$LINENO: result: yes" >&5
35191 echo "${ECHO_T}yes" >&6; }
35193 { echo "$as_me:$LINENO: result: no" >&5
35194 echo "${ECHO_T}no" >&6; }
35201 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35202 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35204 if test -n "$PKG_CONFIG"; then
35205 if test -n "$Xxf86vm_CFLAGS"; then
35206 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35208 if test -n "$PKG_CONFIG" && \
35209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35210 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; then
35214 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
35222 if test -n "$PKG_CONFIG"; then
35223 if test -n "$Xxf86vm_LIBS"; then
35224 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35226 if test -n "$PKG_CONFIG" && \
35227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35228 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); }; then
35232 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
35243 if test $pkg_failed = yes; then
35245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35246 _pkg_short_errors_supported=yes
35248 _pkg_short_errors_supported=no
35250 if test $_pkg_short_errors_supported = yes; then
35251 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35253 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35255 # Put the nasty error message in config.log where it belongs
35256 echo "$Xxf86vm_PKG_ERRORS" >&5
35259 if test "x$ac_find_libraries" = "x"; then
35260 if test "xXF86VidModeQueryExtension" != "x"; then
35261 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35262 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35263 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35264 echo $ECHO_N "(cached) $ECHO_C" >&6
35266 ac_check_lib_save_LIBS=$LIBS
35267 LIBS="-lXxf86vm $LIBS"
35268 cat >conftest.$ac_ext <<_ACEOF
35271 cat confdefs.h >>conftest.$ac_ext
35272 cat >>conftest.$ac_ext <<_ACEOF
35273 /* end confdefs.h. */
35275 /* Override any GCC internal prototype to avoid an error.
35276 Use char because int might match the return type of a GCC
35277 builtin and then its argument prototype would still apply. */
35281 char XF86VidModeQueryExtension ();
35285 return XF86VidModeQueryExtension ();
35290 rm -f conftest.$ac_objext conftest$ac_exeext
35291 if { (ac_try="$ac_link"
35292 case "(($ac_try" in
35293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35294 *) ac_try_echo
=$ac_try;;
35296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35297 (eval "$ac_link") 2>conftest.er1
35299 grep -v '^ *+' conftest.er1
>conftest.err
35301 cat conftest.err
>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } && {
35304 test -z "$ac_c_werror_flag" ||
35305 test ! -s conftest.err
35306 } && test -s conftest
$ac_exeext &&
35307 $as_test_x conftest
$ac_exeext; then
35308 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.
$ac_ext >&5
35313 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
35316 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35317 conftest
$ac_exeext conftest.
$ac_ext
35318 LIBS
=$ac_check_lib_save_LIBS
35320 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35321 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35322 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35323 ac_find_libraries
="std"
35329 if test "x$ac_find_libraries" = "x"; then
35330 { echo "$as_me:$LINENO: checking elsewhere" >&5
35331 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35334 for ac_dir
in $SEARCH_LIB
35336 for ac_extension
in a so sl dylib dll.a
; do
35337 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35338 ac_find_libraries
=$ac_dir
35344 if test "x$ac_find_libraries" != "x"; then
35345 { echo "$as_me:$LINENO: result: yes" >&5
35346 echo "${ECHO_T}yes" >&6; }
35348 { echo "$as_me:$LINENO: result: no" >&5
35349 echo "${ECHO_T}no" >&6; }
35353 elif test $pkg_failed = untried
; then
35355 if test "x$ac_find_libraries" = "x"; then
35356 if test "xXF86VidModeQueryExtension" != "x"; then
35357 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35358 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35359 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35360 echo $ECHO_N "(cached) $ECHO_C" >&6
35362 ac_check_lib_save_LIBS
=$LIBS
35363 LIBS
="-lXxf86vm $LIBS"
35364 cat >conftest.
$ac_ext <<_ACEOF
35367 cat confdefs.h
>>conftest.
$ac_ext
35368 cat >>conftest.
$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35371 /* Override any GCC internal prototype to avoid an error.
35372 Use char because int might match the return type of a GCC
35373 builtin and then its argument prototype would still apply. */
35377 char XF86VidModeQueryExtension ();
35381 return XF86VidModeQueryExtension ();
35386 rm -f conftest.
$ac_objext conftest
$ac_exeext
35387 if { (ac_try
="$ac_link"
35388 case "(($ac_try" in
35389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35390 *) ac_try_echo=$ac_try;;
35392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35393 (eval "$ac_link") 2>conftest.er1
35395 grep -v '^ *+' conftest.er1 >conftest.err
35397 cat conftest.err >&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); } && {
35400 test -z "$ac_c_werror_flag" ||
35401 test ! -s conftest.err
35402 } && test -s conftest$ac_exeext &&
35403 $as_test_x conftest$ac_exeext; then
35404 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35406 echo "$as_me: failed program was:" >&5
35407 sed 's/^/| /' conftest.$ac_ext >&5
35409 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35413 conftest$ac_exeext conftest.$ac_ext
35414 LIBS=$ac_check_lib_save_LIBS
35416 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35417 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35418 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35419 ac_find_libraries="std"
35425 if test "x$ac_find_libraries" = "x"; then
35426 { echo "$as_me:$LINENO: checking elsewhere" >&5
35427 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35430 for ac_dir in $SEARCH_LIB
35432 for ac_extension in a so sl dylib dll.a; do
35433 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35434 ac_find_libraries=$ac_dir
35440 if test "x$ac_find_libraries" != "x"; then
35441 { echo "$as_me:$LINENO: result: yes" >&5
35442 echo "${ECHO_T}yes" >&6; }
35444 { echo "$as_me:$LINENO: result: no" >&5
35445 echo "${ECHO_T}no" >&6; }
35450 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35451 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35452 { echo "$as_me:$LINENO: result: yes" >&5
35453 echo "${ECHO_T}yes" >&6; }
35455 ac_find_libraries="std"
35457 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35458 eval fl_libs=\$Xxf86vm_LIBS
35460 for fl_path in $fl_libs
35462 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
35463 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
35469 if test "$ac_find_libraries" != "" ; then
35471 for ac_header in X11/extensions/xf86vmode.h
35473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 cat >conftest.$ac_ext <<_ACEOF
35482 cat confdefs.h >>conftest.$ac_ext
35483 cat >>conftest.$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35486 #if HAVE_X11_XLIB_H
35487 #include <X11/Xlib.h>
35491 #include <$ac_header>
35493 rm -f conftest.$ac_objext
35494 if { (ac_try="$ac_compile"
35495 case "(($ac_try" in
35496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35497 *) ac_try_echo
=$ac_try;;
35499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35500 (eval "$ac_compile") 2>conftest.er1
35502 grep -v '^ *+' conftest.er1
>conftest.err
35504 cat conftest.err
>&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } && {
35507 test -z "$ac_c_werror_flag" ||
35508 test ! -s conftest.err
35509 } && test -s conftest.
$ac_objext; then
35510 eval "$as_ac_Header=yes"
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.
$ac_ext >&5
35515 eval "$as_ac_Header=no"
35518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35520 ac_res
=`eval echo '${'$as_ac_Header'}'`
35521 { echo "$as_me:$LINENO: result: $ac_res" >&5
35522 echo "${ECHO_T}$ac_res" >&6; }
35523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35524 cat >>confdefs.h
<<_ACEOF
35525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35528 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35538 if test "$wxUSE_DETECT_SM" = "yes"; then
35539 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35543 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
35546 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35547 if test -n "$ac_tool_prefix"; then
35548 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35549 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
35550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35552 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35553 echo $ECHO_N "(cached) $ECHO_C" >&6
35555 case $PKG_CONFIG in
35557 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35561 for as_dir
in $PATH
35564 test -z "$as_dir" && as_dir
=.
35565 for ac_exec_ext
in '' $ac_executable_extensions; do
35566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35567 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35578 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35579 if test -n "$PKG_CONFIG"; then
35580 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35581 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35583 { echo "$as_me:$LINENO: result: no" >&5
35584 echo "${ECHO_T}no" >&6; }
35589 if test -z "$ac_cv_path_PKG_CONFIG"; then
35590 ac_pt_PKG_CONFIG
=$PKG_CONFIG
35591 # Extract the first word of "pkg-config", so it can be a program name with args.
35592 set dummy pkg
-config; ac_word
=$2
35593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35595 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35596 echo $ECHO_N "(cached) $ECHO_C" >&6
35598 case $ac_pt_PKG_CONFIG in
35600 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35604 for as_dir
in $PATH
35607 test -z "$as_dir" && as_dir
=.
35608 for ac_exec_ext
in '' $ac_executable_extensions; do
35609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35610 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35621 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
35622 if test -n "$ac_pt_PKG_CONFIG"; then
35623 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35624 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35626 { echo "$as_me:$LINENO: result: no" >&5
35627 echo "${ECHO_T}no" >&6; }
35630 if test "x$ac_pt_PKG_CONFIG" = x
; then
35633 case $cross_compiling:$ac_tool_warned in
35635 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35636 whose name does not start with the host triplet. If you think this
35637 configuration is useful to you, please write to autoconf@gnu.org." >&5
35638 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35639 whose name does not start with the host triplet. If you think this
35640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35641 ac_tool_warned
=yes ;;
35643 PKG_CONFIG
=$ac_pt_PKG_CONFIG
35646 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
35650 if test -n "$PKG_CONFIG"; then
35651 _pkg_min_version
=0.9.0
35652 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35653 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35654 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35655 { echo "$as_me:$LINENO: result: yes" >&5
35656 echo "${ECHO_T}yes" >&6; }
35658 { echo "$as_me:$LINENO: result: no" >&5
35659 echo "${ECHO_T}no" >&6; }
35666 { echo "$as_me:$LINENO: checking for SM" >&5
35667 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35669 if test -n "$PKG_CONFIG"; then
35670 if test -n "$SM_CFLAGS"; then
35671 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
35673 if test -n "$PKG_CONFIG" && \
35674 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35675 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); }; then
35679 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35687 if test -n "$PKG_CONFIG"; then
35688 if test -n "$SM_LIBS"; then
35689 pkg_cv_SM_LIBS
="$SM_LIBS"
35691 if test -n "$PKG_CONFIG" && \
35692 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35693 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); }; then
35697 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35708 if test $pkg_failed = yes; then
35710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35711 _pkg_short_errors_supported
=yes
35713 _pkg_short_errors_supported
=no
35715 if test $_pkg_short_errors_supported = yes; then
35716 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35718 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35720 # Put the nasty error message in config.log where it belongs
35721 echo "$SM_PKG_ERRORS" >&5
35724 if test "x$ac_find_libraries" = "x"; then
35725 if test "xSmcOpenConnection" != "x"; then
35726 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35727 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35728 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35731 ac_check_lib_save_LIBS
=$LIBS
35733 cat >conftest.
$ac_ext <<_ACEOF
35736 cat confdefs.h
>>conftest.
$ac_ext
35737 cat >>conftest.
$ac_ext <<_ACEOF
35738 /* end confdefs.h. */
35740 /* Override any GCC internal prototype to avoid an error.
35741 Use char because int might match the return type of a GCC
35742 builtin and then its argument prototype would still apply. */
35746 char SmcOpenConnection ();
35750 return SmcOpenConnection ();
35755 rm -f conftest.
$ac_objext conftest
$ac_exeext
35756 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
35772 $as_test_x conftest$ac_exeext; then
35773 ac_cv_lib_SM_SmcOpenConnection=yes
35775 echo "$as_me: failed program was:" >&5
35776 sed 's/^/| /' conftest.$ac_ext >&5
35778 ac_cv_lib_SM_SmcOpenConnection=no
35781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35782 conftest$ac_exeext conftest.$ac_ext
35783 LIBS=$ac_check_lib_save_LIBS
35785 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35786 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35787 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35788 ac_find_libraries="std"
35794 if test "x$ac_find_libraries" = "x"; then
35795 { echo "$as_me:$LINENO: checking elsewhere" >&5
35796 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35799 for ac_dir in $SEARCH_LIB
35801 for ac_extension in a so sl dylib dll.a; do
35802 if test -f "$ac_dir/libSM.$ac_extension"; then
35803 ac_find_libraries=$ac_dir
35809 if test "x$ac_find_libraries" != "x"; then
35810 { echo "$as_me:$LINENO: result: yes" >&5
35811 echo "${ECHO_T}yes" >&6; }
35813 { echo "$as_me:$LINENO: result: no" >&5
35814 echo "${ECHO_T}no" >&6; }
35818 elif test $pkg_failed = untried; then
35820 if test "x$ac_find_libraries" = "x"; then
35821 if test "xSmcOpenConnection" != "x"; then
35822 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35823 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35824 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35825 echo $ECHO_N "(cached) $ECHO_C" >&6
35827 ac_check_lib_save_LIBS=$LIBS
35829 cat >conftest.$ac_ext <<_ACEOF
35832 cat confdefs.h >>conftest.$ac_ext
35833 cat >>conftest.$ac_ext <<_ACEOF
35834 /* end confdefs.h. */
35836 /* Override any GCC internal prototype to avoid an error.
35837 Use char because int might match the return type of a GCC
35838 builtin and then its argument prototype would still apply. */
35842 char SmcOpenConnection ();
35846 return SmcOpenConnection ();
35851 rm -f conftest.$ac_objext conftest$ac_exeext
35852 if { (ac_try="$ac_link"
35853 case "(($ac_try" in
35854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35855 *) ac_try_echo
=$ac_try;;
35857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35858 (eval "$ac_link") 2>conftest.er1
35860 grep -v '^ *+' conftest.er1
>conftest.err
35862 cat conftest.err
>&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } && {
35865 test -z "$ac_c_werror_flag" ||
35866 test ! -s conftest.err
35867 } && test -s conftest
$ac_exeext &&
35868 $as_test_x conftest
$ac_exeext; then
35869 ac_cv_lib_SM_SmcOpenConnection
=yes
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.
$ac_ext >&5
35874 ac_cv_lib_SM_SmcOpenConnection
=no
35877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35878 conftest
$ac_exeext conftest.
$ac_ext
35879 LIBS
=$ac_check_lib_save_LIBS
35881 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35882 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35883 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35884 ac_find_libraries
="std"
35890 if test "x$ac_find_libraries" = "x"; then
35891 { echo "$as_me:$LINENO: checking elsewhere" >&5
35892 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35895 for ac_dir
in $SEARCH_LIB
35897 for ac_extension
in a so sl dylib dll.a
; do
35898 if test -f "$ac_dir/libSM.$ac_extension"; then
35899 ac_find_libraries
=$ac_dir
35905 if test "x$ac_find_libraries" != "x"; then
35906 { echo "$as_me:$LINENO: result: yes" >&5
35907 echo "${ECHO_T}yes" >&6; }
35909 { echo "$as_me:$LINENO: result: no" >&5
35910 echo "${ECHO_T}no" >&6; }
35915 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
35916 SM_LIBS
=$pkg_cv_SM_LIBS
35917 { echo "$as_me:$LINENO: result: yes" >&5
35918 echo "${ECHO_T}yes" >&6; }
35920 ac_find_libraries
="std"
35922 eval ac_find_cflags
=\
$SM_CFLAGS
35923 eval fl_libs
=\
$SM_LIBS
35925 for fl_path
in $fl_libs
35927 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35928 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
35934 if test "$ac_find_libraries" != "" ; then
35935 if test "$ac_find_libraries" != "std" ; then
35937 if test "$ac_find_libraries" = "default location"; then
35940 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35942 if test $result = 0; then
35945 ac_path_to_link
=" -L$ac_find_libraries"
35949 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35950 LDFLAGS
="$LDFLAGS $ac_path_to_link"
35953 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
35955 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35956 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35957 wxUSE_DETECT_SM
="no"
35960 wxUSE_DETECT_SM
="no"
35967 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35970 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35971 OPENGL_LIBS
="-framework OpenGL -framework AGL"
35972 elif test "$wxUSE_MSW" = 1; then
35973 OPENGL_LIBS
="-lopengl32 -lglu32"
35974 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35976 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35977 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35980 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
35982 if test -f "$ac_dir/GL/gl.h"; then
35983 ac_find_includes
=$ac_dir
35988 if test "$ac_find_includes" != "" ; then
35989 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35990 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35992 if test "x$ac_find_includes" = "x/usr/include"; then
35993 ac_path_to_include
=""
35995 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
35997 if test $result = 0; then
35998 ac_path_to_include
=""
36000 ac_path_to_include
=" -I$ac_find_includes"
36004 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
36006 { echo "$as_me:$LINENO: result: not found" >&5
36007 echo "${ECHO_T}not found" >&6; }
36010 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
36011 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
36012 if test "${ac_cv_header_GL_gl_h+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36015 cat >conftest.
$ac_ext <<_ACEOF
36018 cat confdefs.h
>>conftest.
$ac_ext
36019 cat >>conftest.
$ac_ext <<_ACEOF
36020 /* end confdefs.h. */
36025 rm -f conftest.
$ac_objext
36026 if { (ac_try
="$ac_compile"
36027 case "(($ac_try" in
36028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36029 *) ac_try_echo=$ac_try;;
36031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36032 (eval "$ac_compile") 2>conftest.er1
36034 grep -v '^ *+' conftest.er1 >conftest.err
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } && {
36039 test -z "$ac_c_werror_flag" ||
36040 test ! -s conftest.err
36041 } && test -s conftest.$ac_objext; then
36042 ac_cv_header_GL_gl_h=yes
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36047 ac_cv_header_GL_gl_h=no
36050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36052 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36053 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36054 if test $ac_cv_header_GL_gl_h = yes; then
36056 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36057 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36058 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36061 cat >conftest.$ac_ext <<_ACEOF
36064 cat confdefs.h >>conftest.$ac_ext
36065 cat >>conftest.$ac_ext <<_ACEOF
36066 /* end confdefs.h. */
36069 #include <GL/glu.h>
36071 rm -f conftest.$ac_objext
36072 if { (ac_try="$ac_compile"
36073 case "(($ac_try" in
36074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36075 *) ac_try_echo
=$ac_try;;
36077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36078 (eval "$ac_compile") 2>conftest.er1
36080 grep -v '^ *+' conftest.er1
>conftest.err
36082 cat conftest.err
>&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } && {
36085 test -z "$ac_c_werror_flag" ||
36086 test ! -s conftest.err
36087 } && test -s conftest.
$ac_objext; then
36088 ac_cv_header_GL_glu_h
=yes
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.
$ac_ext >&5
36093 ac_cv_header_GL_glu_h
=no
36096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36098 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36099 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36100 if test $ac_cv_header_GL_glu_h = yes; then
36107 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
36110 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36111 if test -n "$ac_tool_prefix"; then
36112 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36113 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36116 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36117 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 case $PKG_CONFIG in
36121 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36125 for as_dir
in $PATH
36128 test -z "$as_dir" && as_dir
=.
36129 for ac_exec_ext
in '' $ac_executable_extensions; do
36130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36131 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36142 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36143 if test -n "$PKG_CONFIG"; then
36144 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36145 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36147 { echo "$as_me:$LINENO: result: no" >&5
36148 echo "${ECHO_T}no" >&6; }
36153 if test -z "$ac_cv_path_PKG_CONFIG"; then
36154 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36155 # Extract the first word of "pkg-config", so it can be a program name with args.
36156 set dummy pkg
-config; ac_word
=$2
36157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36159 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 case $ac_pt_PKG_CONFIG in
36164 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36168 for as_dir
in $PATH
36171 test -z "$as_dir" && as_dir
=.
36172 for ac_exec_ext
in '' $ac_executable_extensions; do
36173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36174 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36185 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36186 if test -n "$ac_pt_PKG_CONFIG"; then
36187 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36188 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36190 { echo "$as_me:$LINENO: result: no" >&5
36191 echo "${ECHO_T}no" >&6; }
36194 if test "x$ac_pt_PKG_CONFIG" = x
; then
36197 case $cross_compiling:$ac_tool_warned in
36199 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36200 whose name does not start with the host triplet. If you think this
36201 configuration is useful to you, please write to autoconf@gnu.org." >&5
36202 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36203 whose name does not start with the host triplet. If you think this
36204 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36205 ac_tool_warned
=yes ;;
36207 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36210 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36214 if test -n "$PKG_CONFIG"; then
36215 _pkg_min_version
=0.9.0
36216 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36217 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36218 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36219 { echo "$as_me:$LINENO: result: yes" >&5
36220 echo "${ECHO_T}yes" >&6; }
36222 { echo "$as_me:$LINENO: result: no" >&5
36223 echo "${ECHO_T}no" >&6; }
36230 { echo "$as_me:$LINENO: checking for GL" >&5
36231 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36233 if test -n "$PKG_CONFIG"; then
36234 if test -n "$GL_CFLAGS"; then
36235 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
36237 if test -n "$PKG_CONFIG" && \
36238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36239 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); }; then
36243 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36251 if test -n "$PKG_CONFIG"; then
36252 if test -n "$GL_LIBS"; then
36253 pkg_cv_GL_LIBS
="$GL_LIBS"
36255 if test -n "$PKG_CONFIG" && \
36256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36257 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); }; then
36261 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36272 if test $pkg_failed = yes; then
36274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36275 _pkg_short_errors_supported
=yes
36277 _pkg_short_errors_supported
=no
36279 if test $_pkg_short_errors_supported = yes; then
36280 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36282 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36284 # Put the nasty error message in config.log where it belongs
36285 echo "$GL_PKG_ERRORS" >&5
36288 if test "x$ac_find_libraries" = "x"; then
36289 if test "xglBegin" != "x"; then
36290 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36291 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36292 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 ac_check_lib_save_LIBS
=$LIBS
36297 cat >conftest.
$ac_ext <<_ACEOF
36300 cat confdefs.h
>>conftest.
$ac_ext
36301 cat >>conftest.
$ac_ext <<_ACEOF
36302 /* end confdefs.h. */
36304 /* Override any GCC internal prototype to avoid an error.
36305 Use char because int might match the return type of a GCC
36306 builtin and then its argument prototype would still apply. */
36319 rm -f conftest.
$ac_objext conftest
$ac_exeext
36320 if { (ac_try
="$ac_link"
36321 case "(($ac_try" in
36322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36323 *) ac_try_echo=$ac_try;;
36325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36326 (eval "$ac_link") 2>conftest.er1
36328 grep -v '^ *+' conftest.er1 >conftest.err
36330 cat conftest.err >&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); } && {
36333 test -z "$ac_c_werror_flag" ||
36334 test ! -s conftest.err
36335 } && test -s conftest$ac_exeext &&
36336 $as_test_x conftest$ac_exeext; then
36337 ac_cv_lib_GL_glBegin=yes
36339 echo "$as_me: failed program was:" >&5
36340 sed 's/^/| /' conftest.$ac_ext >&5
36342 ac_cv_lib_GL_glBegin=no
36345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36346 conftest$ac_exeext conftest.$ac_ext
36347 LIBS=$ac_check_lib_save_LIBS
36349 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36350 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36351 if test $ac_cv_lib_GL_glBegin = yes; then
36352 ac_find_libraries="std"
36358 if test "x$ac_find_libraries" = "x"; then
36359 { echo "$as_me:$LINENO: checking elsewhere" >&5
36360 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36363 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36365 for ac_extension in a so sl dylib dll.a; do
36366 if test -f "$ac_dir/libGL.$ac_extension"; then
36367 ac_find_libraries=$ac_dir
36373 if test "x$ac_find_libraries" != "x"; then
36374 { echo "$as_me:$LINENO: result: yes" >&5
36375 echo "${ECHO_T}yes" >&6; }
36377 { echo "$as_me:$LINENO: result: no" >&5
36378 echo "${ECHO_T}no" >&6; }
36382 elif test $pkg_failed = untried; then
36384 if test "x$ac_find_libraries" = "x"; then
36385 if test "xglBegin" != "x"; then
36386 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36387 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36388 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36389 echo $ECHO_N "(cached) $ECHO_C" >&6
36391 ac_check_lib_save_LIBS=$LIBS
36393 cat >conftest.$ac_ext <<_ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36400 /* Override any GCC internal prototype to avoid an error.
36401 Use char because int might match the return type of a GCC
36402 builtin and then its argument prototype would still apply. */
36415 rm -f conftest.$ac_objext conftest$ac_exeext
36416 if { (ac_try="$ac_link"
36417 case "(($ac_try" in
36418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36419 *) ac_try_echo
=$ac_try;;
36421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36422 (eval "$ac_link") 2>conftest.er1
36424 grep -v '^ *+' conftest.er1
>conftest.err
36426 cat conftest.err
>&5
36427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36428 (exit $ac_status); } && {
36429 test -z "$ac_c_werror_flag" ||
36430 test ! -s conftest.err
36431 } && test -s conftest
$ac_exeext &&
36432 $as_test_x conftest
$ac_exeext; then
36433 ac_cv_lib_GL_glBegin
=yes
36435 echo "$as_me: failed program was:" >&5
36436 sed 's/^/| /' conftest.
$ac_ext >&5
36438 ac_cv_lib_GL_glBegin
=no
36441 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36442 conftest
$ac_exeext conftest.
$ac_ext
36443 LIBS
=$ac_check_lib_save_LIBS
36445 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36446 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36447 if test $ac_cv_lib_GL_glBegin = yes; then
36448 ac_find_libraries
="std"
36454 if test "x$ac_find_libraries" = "x"; then
36455 { echo "$as_me:$LINENO: checking elsewhere" >&5
36456 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36459 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36461 for ac_extension
in a so sl dylib dll.a
; do
36462 if test -f "$ac_dir/libGL.$ac_extension"; then
36463 ac_find_libraries
=$ac_dir
36469 if test "x$ac_find_libraries" != "x"; then
36470 { echo "$as_me:$LINENO: result: yes" >&5
36471 echo "${ECHO_T}yes" >&6; }
36473 { echo "$as_me:$LINENO: result: no" >&5
36474 echo "${ECHO_T}no" >&6; }
36479 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
36480 GL_LIBS
=$pkg_cv_GL_LIBS
36481 { echo "$as_me:$LINENO: result: yes" >&5
36482 echo "${ECHO_T}yes" >&6; }
36484 ac_find_libraries
="std"
36486 eval ac_find_cflags
=\
$GL_CFLAGS
36487 eval fl_libs
=\
$GL_LIBS
36489 for fl_path
in $fl_libs
36491 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36492 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36498 if test "$ac_find_libraries" != "" ; then
36499 if test "$ac_find_libraries" != "std" ; then
36501 if test "$ac_find_libraries" = "default location"; then
36504 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36506 if test $result = 0; then
36509 ac_path_to_link
=" -L$ac_find_libraries"
36513 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36514 LDFLAGS_GL
="$ac_path_to_link"
36521 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
36524 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36525 if test -n "$ac_tool_prefix"; then
36526 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36527 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 case $PKG_CONFIG in
36535 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36539 for as_dir
in $PATH
36542 test -z "$as_dir" && as_dir
=.
36543 for ac_exec_ext
in '' $ac_executable_extensions; do
36544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36545 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36556 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36557 if test -n "$PKG_CONFIG"; then
36558 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36559 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36561 { echo "$as_me:$LINENO: result: no" >&5
36562 echo "${ECHO_T}no" >&6; }
36567 if test -z "$ac_cv_path_PKG_CONFIG"; then
36568 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36569 # Extract the first word of "pkg-config", so it can be a program name with args.
36570 set dummy pkg
-config; ac_word
=$2
36571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36573 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36576 case $ac_pt_PKG_CONFIG in
36578 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36582 for as_dir
in $PATH
36585 test -z "$as_dir" && as_dir
=.
36586 for ac_exec_ext
in '' $ac_executable_extensions; do
36587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36588 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36599 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36600 if test -n "$ac_pt_PKG_CONFIG"; then
36601 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36602 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36604 { echo "$as_me:$LINENO: result: no" >&5
36605 echo "${ECHO_T}no" >&6; }
36608 if test "x$ac_pt_PKG_CONFIG" = x
; then
36611 case $cross_compiling:$ac_tool_warned in
36613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36614 whose name does not start with the host triplet. If you think this
36615 configuration is useful to you, please write to autoconf@gnu.org." >&5
36616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36617 whose name does not start with the host triplet. If you think this
36618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36619 ac_tool_warned
=yes ;;
36621 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36624 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36628 if test -n "$PKG_CONFIG"; then
36629 _pkg_min_version
=0.9.0
36630 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36631 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36632 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36633 { echo "$as_me:$LINENO: result: yes" >&5
36634 echo "${ECHO_T}yes" >&6; }
36636 { echo "$as_me:$LINENO: result: no" >&5
36637 echo "${ECHO_T}no" >&6; }
36644 { echo "$as_me:$LINENO: checking for GLU" >&5
36645 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36647 if test -n "$PKG_CONFIG"; then
36648 if test -n "$GLU_CFLAGS"; then
36649 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
36651 if test -n "$PKG_CONFIG" && \
36652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36653 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); }; then
36657 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36665 if test -n "$PKG_CONFIG"; then
36666 if test -n "$GLU_LIBS"; then
36667 pkg_cv_GLU_LIBS
="$GLU_LIBS"
36669 if test -n "$PKG_CONFIG" && \
36670 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36671 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; then
36675 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36686 if test $pkg_failed = yes; then
36688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36689 _pkg_short_errors_supported
=yes
36691 _pkg_short_errors_supported
=no
36693 if test $_pkg_short_errors_supported = yes; then
36694 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36696 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36698 # Put the nasty error message in config.log where it belongs
36699 echo "$GLU_PKG_ERRORS" >&5
36702 if test "x$ac_find_libraries" = "x"; then
36703 if test "xgluBeginCurve" != "x"; then
36704 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36705 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36706 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36709 ac_check_lib_save_LIBS
=$LIBS
36711 cat >conftest.
$ac_ext <<_ACEOF
36714 cat confdefs.h
>>conftest.
$ac_ext
36715 cat >>conftest.
$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36718 /* Override any GCC internal prototype to avoid an error.
36719 Use char because int might match the return type of a GCC
36720 builtin and then its argument prototype would still apply. */
36724 char gluBeginCurve ();
36728 return gluBeginCurve ();
36733 rm -f conftest.
$ac_objext conftest
$ac_exeext
36734 if { (ac_try
="$ac_link"
36735 case "(($ac_try" in
36736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36737 *) ac_try_echo=$ac_try;;
36739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36740 (eval "$ac_link") 2>conftest.er1
36742 grep -v '^ *+' conftest.er1 >conftest.err
36744 cat conftest.err >&5
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); } && {
36747 test -z "$ac_c_werror_flag" ||
36748 test ! -s conftest.err
36749 } && test -s conftest$ac_exeext &&
36750 $as_test_x conftest$ac_exeext; then
36751 ac_cv_lib_GLU_gluBeginCurve=yes
36753 echo "$as_me: failed program was:" >&5
36754 sed 's/^/| /' conftest.$ac_ext >&5
36756 ac_cv_lib_GLU_gluBeginCurve=no
36759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36760 conftest$ac_exeext conftest.$ac_ext
36761 LIBS=$ac_check_lib_save_LIBS
36763 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36764 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36765 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36766 ac_find_libraries="std"
36772 if test "x$ac_find_libraries" = "x"; then
36773 { echo "$as_me:$LINENO: checking elsewhere" >&5
36774 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36777 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36779 for ac_extension in a so sl dylib dll.a; do
36780 if test -f "$ac_dir/libGLU.$ac_extension"; then
36781 ac_find_libraries=$ac_dir
36787 if test "x$ac_find_libraries" != "x"; then
36788 { echo "$as_me:$LINENO: result: yes" >&5
36789 echo "${ECHO_T}yes" >&6; }
36791 { echo "$as_me:$LINENO: result: no" >&5
36792 echo "${ECHO_T}no" >&6; }
36796 elif test $pkg_failed = untried; then
36798 if test "x$ac_find_libraries" = "x"; then
36799 if test "xgluBeginCurve" != "x"; then
36800 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36801 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36802 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36805 ac_check_lib_save_LIBS=$LIBS
36807 cat >conftest.$ac_ext <<_ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36814 /* Override any GCC internal prototype to avoid an error.
36815 Use char because int might match the return type of a GCC
36816 builtin and then its argument prototype would still apply. */
36820 char gluBeginCurve ();
36824 return gluBeginCurve ();
36829 rm -f conftest.$ac_objext conftest$ac_exeext
36830 if { (ac_try="$ac_link"
36831 case "(($ac_try" in
36832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36833 *) ac_try_echo
=$ac_try;;
36835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36836 (eval "$ac_link") 2>conftest.er1
36838 grep -v '^ *+' conftest.er1
>conftest.err
36840 cat conftest.err
>&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); } && {
36843 test -z "$ac_c_werror_flag" ||
36844 test ! -s conftest.err
36845 } && test -s conftest
$ac_exeext &&
36846 $as_test_x conftest
$ac_exeext; then
36847 ac_cv_lib_GLU_gluBeginCurve
=yes
36849 echo "$as_me: failed program was:" >&5
36850 sed 's/^/| /' conftest.
$ac_ext >&5
36852 ac_cv_lib_GLU_gluBeginCurve
=no
36855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36856 conftest
$ac_exeext conftest.
$ac_ext
36857 LIBS
=$ac_check_lib_save_LIBS
36859 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36860 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36861 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36862 ac_find_libraries
="std"
36868 if test "x$ac_find_libraries" = "x"; then
36869 { echo "$as_me:$LINENO: checking elsewhere" >&5
36870 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36873 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36875 for ac_extension
in a so sl dylib dll.a
; do
36876 if test -f "$ac_dir/libGLU.$ac_extension"; then
36877 ac_find_libraries
=$ac_dir
36883 if test "x$ac_find_libraries" != "x"; then
36884 { echo "$as_me:$LINENO: result: yes" >&5
36885 echo "${ECHO_T}yes" >&6; }
36887 { echo "$as_me:$LINENO: result: no" >&5
36888 echo "${ECHO_T}no" >&6; }
36893 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
36894 GLU_LIBS
=$pkg_cv_GLU_LIBS
36895 { echo "$as_me:$LINENO: result: yes" >&5
36896 echo "${ECHO_T}yes" >&6; }
36898 ac_find_libraries
="std"
36900 eval ac_find_cflags
=\
$GLU_CFLAGS
36901 eval fl_libs
=\
$GLU_LIBS
36903 for fl_path
in $fl_libs
36905 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36906 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36912 if test "$ac_find_libraries" != "" ; then
36913 if test "$ac_find_libraries" != "std" ; then
36915 if test "$ac_find_libraries" = "default location"; then
36918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36920 if test $result = 0; then
36923 ac_path_to_link
=" -L$ac_find_libraries"
36927 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36928 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36929 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
36934 OPENGL_LIBS
="-lGL -lGLU"
36938 if test "$found_gl" != 1; then
36942 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
36945 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36946 if test -n "$ac_tool_prefix"; then
36947 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36948 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36951 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36952 echo $ECHO_N "(cached) $ECHO_C" >&6
36954 case $PKG_CONFIG in
36956 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36960 for as_dir
in $PATH
36963 test -z "$as_dir" && as_dir
=.
36964 for ac_exec_ext
in '' $ac_executable_extensions; do
36965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36966 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36977 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36978 if test -n "$PKG_CONFIG"; then
36979 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36980 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36982 { echo "$as_me:$LINENO: result: no" >&5
36983 echo "${ECHO_T}no" >&6; }
36988 if test -z "$ac_cv_path_PKG_CONFIG"; then
36989 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36990 # Extract the first word of "pkg-config", so it can be a program name with args.
36991 set dummy pkg
-config; ac_word
=$2
36992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36994 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36995 echo $ECHO_N "(cached) $ECHO_C" >&6
36997 case $ac_pt_PKG_CONFIG in
36999 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37003 for as_dir
in $PATH
37006 test -z "$as_dir" && as_dir
=.
37007 for ac_exec_ext
in '' $ac_executable_extensions; do
37008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37009 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37020 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
37021 if test -n "$ac_pt_PKG_CONFIG"; then
37022 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37023 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37025 { echo "$as_me:$LINENO: result: no" >&5
37026 echo "${ECHO_T}no" >&6; }
37029 if test "x$ac_pt_PKG_CONFIG" = x
; then
37032 case $cross_compiling:$ac_tool_warned in
37034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37035 whose name does not start with the host triplet. If you think this
37036 configuration is useful to you, please write to autoconf@gnu.org." >&5
37037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37038 whose name does not start with the host triplet. If you think this
37039 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
37040 ac_tool_warned
=yes ;;
37042 PKG_CONFIG
=$ac_pt_PKG_CONFIG
37045 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
37049 if test -n "$PKG_CONFIG"; then
37050 _pkg_min_version
=0.9.0
37051 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37052 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37053 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37054 { echo "$as_me:$LINENO: result: yes" >&5
37055 echo "${ECHO_T}yes" >&6; }
37057 { echo "$as_me:$LINENO: result: no" >&5
37058 echo "${ECHO_T}no" >&6; }
37065 { echo "$as_me:$LINENO: checking for MesaGL" >&5
37066 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
37068 if test -n "$PKG_CONFIG"; then
37069 if test -n "$MesaGL_CFLAGS"; then
37070 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
37072 if test -n "$PKG_CONFIG" && \
37073 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37074 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); }; then
37078 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
37086 if test -n "$PKG_CONFIG"; then
37087 if test -n "$MesaGL_LIBS"; then
37088 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
37090 if test -n "$PKG_CONFIG" && \
37091 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37092 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37095 (exit $ac_status); }; then
37096 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
37107 if test $pkg_failed = yes; then
37109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37110 _pkg_short_errors_supported
=yes
37112 _pkg_short_errors_supported
=no
37114 if test $_pkg_short_errors_supported = yes; then
37115 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37117 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37119 # Put the nasty error message in config.log where it belongs
37120 echo "$MesaGL_PKG_ERRORS" >&5
37123 if test "x$ac_find_libraries" = "x"; then
37124 if test "xglEnable" != "x"; then
37125 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37126 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37127 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37130 ac_check_lib_save_LIBS
=$LIBS
37131 LIBS
="-lMesaGL $LIBS"
37132 cat >conftest.
$ac_ext <<_ACEOF
37135 cat confdefs.h
>>conftest.
$ac_ext
37136 cat >>conftest.
$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37139 /* Override any GCC internal prototype to avoid an error.
37140 Use char because int might match the return type of a GCC
37141 builtin and then its argument prototype would still apply. */
37149 return glEnable ();
37154 rm -f conftest.
$ac_objext conftest
$ac_exeext
37155 if { (ac_try
="$ac_link"
37156 case "(($ac_try" in
37157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_link") 2>conftest.er1
37163 grep -v '^ *+' conftest.er1 >conftest.err
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_c_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest$ac_exeext &&
37171 $as_test_x conftest$ac_exeext; then
37172 ac_cv_lib_MesaGL_glEnable=yes
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37177 ac_cv_lib_MesaGL_glEnable=no
37180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37181 conftest$ac_exeext conftest.$ac_ext
37182 LIBS=$ac_check_lib_save_LIBS
37184 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37185 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37186 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37187 ac_find_libraries="std"
37193 if test "x$ac_find_libraries" = "x"; then
37194 { echo "$as_me:$LINENO: checking elsewhere" >&5
37195 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37198 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37200 for ac_extension in a so sl dylib dll.a; do
37201 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37202 ac_find_libraries=$ac_dir
37208 if test "x$ac_find_libraries" != "x"; then
37209 { echo "$as_me:$LINENO: result: yes" >&5
37210 echo "${ECHO_T}yes" >&6; }
37212 { echo "$as_me:$LINENO: result: no" >&5
37213 echo "${ECHO_T}no" >&6; }
37217 elif test $pkg_failed = untried; then
37219 if test "x$ac_find_libraries" = "x"; then
37220 if test "xglEnable" != "x"; then
37221 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37222 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37223 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37224 echo $ECHO_N "(cached) $ECHO_C" >&6
37226 ac_check_lib_save_LIBS=$LIBS
37227 LIBS="-lMesaGL $LIBS"
37228 cat >conftest.$ac_ext <<_ACEOF
37231 cat confdefs.h >>conftest.$ac_ext
37232 cat >>conftest.$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37235 /* Override any GCC internal prototype to avoid an error.
37236 Use char because int might match the return type of a GCC
37237 builtin and then its argument prototype would still apply. */
37245 return glEnable ();
37250 rm -f conftest.$ac_objext conftest$ac_exeext
37251 if { (ac_try="$ac_link"
37252 case "(($ac_try" in
37253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37254 *) ac_try_echo
=$ac_try;;
37256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37257 (eval "$ac_link") 2>conftest.er1
37259 grep -v '^ *+' conftest.er1
>conftest.err
37261 cat conftest.err
>&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } && {
37264 test -z "$ac_c_werror_flag" ||
37265 test ! -s conftest.err
37266 } && test -s conftest
$ac_exeext &&
37267 $as_test_x conftest
$ac_exeext; then
37268 ac_cv_lib_MesaGL_glEnable
=yes
37270 echo "$as_me: failed program was:" >&5
37271 sed 's/^/| /' conftest.
$ac_ext >&5
37273 ac_cv_lib_MesaGL_glEnable
=no
37276 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37277 conftest
$ac_exeext conftest.
$ac_ext
37278 LIBS
=$ac_check_lib_save_LIBS
37280 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37281 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37282 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37283 ac_find_libraries
="std"
37289 if test "x$ac_find_libraries" = "x"; then
37290 { echo "$as_me:$LINENO: checking elsewhere" >&5
37291 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37294 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
37296 for ac_extension
in a so sl dylib dll.a
; do
37297 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37298 ac_find_libraries
=$ac_dir
37304 if test "x$ac_find_libraries" != "x"; then
37305 { echo "$as_me:$LINENO: result: yes" >&5
37306 echo "${ECHO_T}yes" >&6; }
37308 { echo "$as_me:$LINENO: result: no" >&5
37309 echo "${ECHO_T}no" >&6; }
37314 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
37315 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
37316 { echo "$as_me:$LINENO: result: yes" >&5
37317 echo "${ECHO_T}yes" >&6; }
37319 ac_find_libraries
="std"
37321 eval ac_find_cflags
=\
$MesaGL_CFLAGS
37322 eval fl_libs
=\
$MesaGL_LIBS
37324 for fl_path
in $fl_libs
37326 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37327 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
37333 if test "$ac_find_libraries" != "" ; then
37334 if test "$ac_find_libraries" != "std" ; then
37336 if test "$ac_find_libraries" = "default location"; then
37339 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37341 if test $result = 0; then
37344 ac_path_to_link
=" -L$ac_find_libraries"
37348 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37349 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
37352 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
37364 if test "x$OPENGL_LIBS" = "x"; then
37365 if test "$wxUSE_OPENGL" = "yes"; then
37366 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37367 echo "$as_me: error: OpenGL libraries not available" >&2;}
37368 { (exit 1); exit 1; }; }
37370 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37371 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37377 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37378 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37382 if test "$wxUSE_OPENGL" = "auto"; then
37386 if test "$wxUSE_OPENGL" = "yes"; then
37388 cat >>confdefs.h
<<\_ACEOF
37389 #define wxUSE_OPENGL 1
37392 cat >>confdefs.h
<<\_ACEOF
37393 #define wxUSE_GLCANVAS 1
37396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37401 if test -n "$TOOLKIT" ; then
37402 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37407 if test "$wxUSE_SHARED" = "yes"; then
37411 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37412 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37417 if test "$wxUSE_SHARED" = "yes"; then
37421 *-*-cygwin* | *-*-mingw* )
37422 wx_cv_version_script
=no
37426 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37427 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37428 if test "${wx_cv_version_script+set}" = set; then
37429 echo $ECHO_N "(cached) $ECHO_C" >&6
37432 echo "VER_1 { *; };" >conftest.sym
37433 echo "int main() { return 0; }" >conftest.cpp
37436 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37437 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37439 (eval $ac_try) 2>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); }; } ; then
37443 if test -s conftest.stderr
; then
37444 wx_cv_version_script
=no
37446 wx_cv_version_script
=yes
37449 wx_cv_version_script
=no
37452 if test $wx_cv_version_script = yes
37454 echo "struct B { virtual ~B() { } }; \
37455 struct D : public B { }; \
37456 void F() { D d; }" > conftest.cpp
37459 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37460 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; } &&
37467 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37468 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; }
37476 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37477 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37479 (eval $ac_try) 2>&5
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); }; }
37484 wx_cv_version_script
=yes
37486 wx_cv_version_script
=no
37491 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37492 rm -f conftest1.output conftest2.output conftest3.output
37495 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37496 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37498 if test $wx_cv_version_script = yes ; then
37499 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37505 if test "$wxUSE_VISIBILITY" != "no"; then
37508 if test -n "$GCC"; then
37509 CFLAGS_VISIBILITY
="-fvisibility=hidden"
37510 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
37511 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37512 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37513 if test "${wx_cv_cc_visibility+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37517 wx_save_CXXFLAGS
="$CXXFLAGS"
37518 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37520 ac_cpp
='$CXXCPP $CPPFLAGS'
37521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37525 cat >conftest.
$ac_ext <<_ACEOF
37528 cat confdefs.h
>>conftest.
$ac_ext
37529 cat >>conftest.
$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37532 /* we need gcc >= 4.0, older versions with visibility support
37533 didn't have class visibility: */
37534 #if defined(__GNUC__) && __GNUC__ < 4
37535 error this gcc is too old;
37538 /* visibility only makes sense for ELF shared libs: */
37539 #if !defined(__ELF__) && !defined(__APPLE__)
37540 error this platform has no visibility;
37543 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37544 #if defined(__clang__)
37545 clang compiler is still broken w.r.t. visibility;
37548 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37549 extern __attribute__((__visibility__("default"))) int exportedvar;
37550 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37551 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37552 class __attribute__((__visibility__("default"))) Foo {
37564 rm -f conftest.
$ac_objext
37565 if { (ac_try
="$ac_compile"
37566 case "(($ac_try" in
37567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37568 *) ac_try_echo=$ac_try;;
37570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37571 (eval "$ac_compile") 2>conftest.er1
37573 grep -v '^ *+' conftest.er1 >conftest.err
37575 cat conftest.err >&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); } && {
37578 test -z "$ac_cxx_werror_flag" ||
37579 test ! -s conftest.err
37580 } && test -s conftest.$ac_objext; then
37581 wx_cv_cc_visibility=yes
37583 echo "$as_me: failed program was:" >&5
37584 sed 's/^/| /' conftest.$ac_ext >&5
37586 wx_cv_cc_visibility=no
37589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37591 ac_cpp='$CPP $CPPFLAGS'
37592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37596 CXXFLAGS="$wx_save_CXXFLAGS"
37599 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37600 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37601 if test $wx_cv_cc_visibility = yes; then
37602 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37603 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37604 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37605 echo $ECHO_N "(cached) $ECHO_C" >&6
37608 wx_save_CXXFLAGS="$CXXFLAGS"
37609 wx_save_LDFLAGS="$LDFLAGS"
37610 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37611 LDFLAGS="$LDFLAGS -shared -fPIC"
37613 ac_cpp='$CXXCPP $CPPFLAGS'
37614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37618 cat >conftest.$ac_ext <<_ACEOF
37621 cat confdefs.h >>conftest.$ac_ext
37622 cat >>conftest.$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37631 std::string s("hello");
37638 rm -f conftest.$ac_objext conftest$ac_exeext
37639 if { (ac_try="$ac_link"
37640 case "(($ac_try" in
37641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37642 *) ac_try_echo
=$ac_try;;
37644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37645 (eval "$ac_link") 2>conftest.er1
37647 grep -v '^ *+' conftest.er1
>conftest.err
37649 cat conftest.err
>&5
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); } && {
37652 test -z "$ac_cxx_werror_flag" ||
37653 test ! -s conftest.err
37654 } && test -s conftest
$ac_exeext &&
37655 $as_test_x conftest
$ac_exeext; then
37656 wx_cv_cc_broken_libstdcxx_visibility
=no
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.
$ac_ext >&5
37661 wx_cv_cc_broken_libstdcxx_visibility
=yes
37664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37665 conftest
$ac_exeext conftest.
$ac_ext
37667 ac_cpp
='$CPP $CPPFLAGS'
37668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37672 CXXFLAGS
="$wx_save_CXXFLAGS"
37673 LDFLAGS
="$wx_save_LDFLAGS"
37676 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37677 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37679 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37680 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37681 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37682 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37683 echo $ECHO_N "(cached) $ECHO_C" >&6
37687 ac_cpp
='$CXXCPP $CPPFLAGS'
37688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37692 cat >conftest.
$ac_ext <<_ACEOF
37695 cat confdefs.h
>>conftest.
$ac_ext
37696 cat >>conftest.
$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37699 #pragma GCC visibility push(default)
37701 #pragma GCC visibility pop
37707 std::string s("hello");
37714 rm -f conftest.
$ac_objext conftest
$ac_exeext
37715 if { (ac_try
="$ac_link"
37716 case "(($ac_try" in
37717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37718 *) ac_try_echo=$ac_try;;
37720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37721 (eval "$ac_link") 2>conftest.er1
37723 grep -v '^ *+' conftest.er1 >conftest.err
37725 cat conftest.err >&5
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); } && {
37728 test -z "$ac_cxx_werror_flag" ||
37729 test ! -s conftest.err
37730 } && test -s conftest$ac_exeext &&
37731 $as_test_x conftest$ac_exeext; then
37732 wx_cv_cc_visibility_workaround=no
37734 echo "$as_me: failed program was:" >&5
37735 sed 's/^/| /' conftest.$ac_ext >&5
37737 wx_cv_cc_visibility_workaround=yes
37740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37741 conftest$ac_exeext conftest.$ac_ext
37743 ac_cpp='$CPP $CPPFLAGS'
37744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37751 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37752 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37754 if test $wx_cv_cc_visibility_workaround = no; then
37755 wx_cv_cc_visibility=no
37760 if test $wx_cv_cc_visibility = yes; then
37761 cat >>confdefs.h <<\_ACEOF
37762 #define HAVE_VISIBILITY 1
37765 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37766 cat >>confdefs.h <<\_ACEOF
37767 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37772 CFLAGS_VISIBILITY=""
37773 CXXFLAGS_VISIBILITY=""
37781 if test "x$SUNCXX" = xyes; then
37782 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37783 WXCONFIG_RPATH="-R\$libdir"
37786 *-*-linux* | *-*-gnu* )
37787 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37788 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37793 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37795 saveLdflags="$LDFLAGS"
37796 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37797 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37798 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37799 cat >conftest.$ac_ext <<_ACEOF
37802 cat confdefs.h >>conftest.$ac_ext
37803 cat >>conftest.$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (ac_try="$ac_link"
37816 case "(($ac_try" in
37817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37818 *) ac_try_echo
=$ac_try;;
37820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37821 (eval "$ac_link") 2>conftest.er1
37823 grep -v '^ *+' conftest.er1
>conftest.err
37825 cat conftest.err
>&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); } && {
37828 test -z "$ac_c_werror_flag" ||
37829 test ! -s conftest.err
37830 } && test -s conftest
$ac_exeext &&
37831 $as_test_x conftest
$ac_exeext; then
37833 { echo "$as_me:$LINENO: result: yes" >&5
37834 echo "${ECHO_T}yes" >&6; }
37835 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
37836 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.
$ac_ext >&5
37843 { echo "$as_me:$LINENO: result: no" >&5
37844 echo "${ECHO_T}no" >&6; }
37845 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37846 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37847 LDFLAGS
="$saveLdflags -Wl,-R,/"
37848 cat >conftest.
$ac_ext <<_ACEOF
37851 cat confdefs.h
>>conftest.
$ac_ext
37852 cat >>conftest.
$ac_ext <<_ACEOF
37853 /* end confdefs.h. */
37863 rm -f conftest.
$ac_objext conftest
$ac_exeext
37864 if { (ac_try
="$ac_link"
37865 case "(($ac_try" in
37866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37867 *) ac_try_echo=$ac_try;;
37869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37870 (eval "$ac_link") 2>conftest.er1
37872 grep -v '^ *+' conftest.er1 >conftest.err
37874 cat conftest.err >&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); } && {
37877 test -z "$ac_c_werror_flag" ||
37878 test ! -s conftest.err
37879 } && test -s conftest$ac_exeext &&
37880 $as_test_x conftest$ac_exeext; then
37882 { echo "$as_me:$LINENO: result: yes" >&5
37883 echo "${ECHO_T}yes" >&6; }
37884 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37885 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37888 echo "$as_me: failed program was:" >&5
37889 sed 's/^/| /' conftest.$ac_ext >&5
37892 { echo "$as_me:$LINENO: result: no" >&5
37893 echo "${ECHO_T}no" >&6; }
37897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37898 conftest$ac_exeext conftest.$ac_ext
37902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37903 conftest$ac_exeext conftest.$ac_ext
37904 LDFLAGS="$saveLdflags"
37908 install_name_tool=`which ${HOST_PREFIX}install_name_tool
`
37909 if test "$install_name_tool" -a -x "$install_name_tool"; then
37910 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37911 cat <<EOF >change-install-names
37913 libnames=\`cd \
${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
37914 for i in \${libnames} ; do
37915 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37916 for dep in \${libnames} ; do
37917 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37921 chmod +x change-install-names
37922 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37925 HEADER_PAD_OPTION="-headerpad_max_install_names"
37928 *-*-cygwin* | *-*-mingw32* )
37932 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37933 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37939 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37941 if test $wxUSE_RPATH = "no"; then
37942 SAMPLES_RPATH_FLAG=''
37943 DYLIB_PATH_POSTLINK=''
37951 config_linkage_component="-static"
37958 lib_unicode_suffix=
37960 if test "$wxUSE_UNICODE" = "yes"; then
37961 lib_unicode_suffix=u
37962 WX_CHARTYPE="unicode"
37966 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37967 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37970 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37974 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37976 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37978 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37981 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37982 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37984 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37986 if test "${TOOLKIT_DIR}" = "os2"; then
37987 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37989 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37994 if test "$wxUSE_OLD_COCOA" = 1; then
37997 ac_cpp='$CPP $CPPFLAGS'
37998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38004 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38005 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38006 cat >conftest.$ac_ext <<_ACEOF
38009 cat confdefs.h >>conftest.$ac_ext
38010 cat >>conftest.$ac_ext <<_ACEOF
38011 /* end confdefs.h. */
38012 #include <AppKit/NSEvent.h>
38013 #include <CoreFoundation/CoreFoundation.h>
38023 rm -f conftest.$ac_objext
38024 if { (ac_try="$ac_compile"
38025 case "(($ac_try" in
38026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38027 *) ac_try_echo
=$ac_try;;
38029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38030 (eval "$ac_compile") 2>conftest.er1
38032 grep -v '^ *+' conftest.er1
>conftest.err
38034 cat conftest.err
>&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } && {
38037 test -z "$ac_c_werror_flag" ||
38038 test ! -s conftest.err
38039 } && test -s conftest.
$ac_objext; then
38040 { echo "$as_me:$LINENO: result: no" >&5
38041 echo "${ECHO_T}no" >&6; }
38043 echo "$as_me: failed program was:" >&5
38044 sed 's/^/| /' conftest.
$ac_ext >&5
38046 { echo "$as_me:$LINENO: result: yes" >&5
38047 echo "${ECHO_T}yes" >&6; }
38048 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38049 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38050 cat >conftest.
$ac_ext <<_ACEOF
38053 cat confdefs.h
>>conftest.
$ac_ext
38054 cat >>conftest.
$ac_ext <<_ACEOF
38055 /* end confdefs.h. */
38056 #define __Point__ 1
38057 #include <AppKit/NSEvent.h>
38058 #include <CoreFoundation/CoreFoundation.h>
38068 rm -f conftest.
$ac_objext
38069 if { (ac_try
="$ac_compile"
38070 case "(($ac_try" in
38071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38072 *) ac_try_echo=$ac_try;;
38074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38075 (eval "$ac_compile") 2>conftest.er1
38077 grep -v '^ *+' conftest.er1 >conftest.err
38079 cat conftest.err >&5
38080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081 (exit $ac_status); } && {
38082 test -z "$ac_c_werror_flag" ||
38083 test ! -s conftest.err
38084 } && test -s conftest.$ac_objext; then
38085 { echo "$as_me:$LINENO: result: yes" >&5
38086 echo "${ECHO_T}yes" >&6; }
38087 cat >>confdefs.h <<\_ACEOF
38088 #define __Point__ 1
38093 echo "$as_me: failed program was:" >&5
38094 sed 's/^/| /' conftest.$ac_ext >&5
38096 { { echo "$as_me:$LINENO: error: no
38097 See \`config.log
' for more details." >&5
38098 echo "$as_me: error: no
38099 See \`config.log' for more details.
" >&2;}
38100 { (exit 1); exit 1; }; }
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38110 ac_cpp='$CPP $CPPFLAGS'
38111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38118 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
38119 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
38120 if test "${ac_cv_type_mode_t+set}" = set; then
38121 echo $ECHO_N "(cached
) $ECHO_C" >&6
38123 cat >conftest.$ac_ext <<_ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129 $ac_includes_default
38130 typedef mode_t ac__type_new_;
38134 if ((ac__type_new_ *) 0)
38136 if (sizeof (ac__type_new_))
38142 rm -f conftest.$ac_objext
38143 if { (ac_try="$ac_compile"
38144 case "(($ac_try" in
38145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38146 *) ac_try_echo=$ac_try;;
38148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38149 (eval "$ac_compile") 2>conftest.er1
38151 grep -v '^ *+' conftest.er1 >conftest.err
38153 cat conftest.err >&5
38154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38155 (exit $ac_status); } && {
38156 test -z "$ac_c_werror_flag" ||
38157 test ! -s conftest.err
38158 } && test -s conftest.$ac_objext; then
38159 ac_cv_type_mode_t=yes
38161 echo "$as_me: failed program was
:" >&5
38162 sed 's/^/| /' conftest.$ac_ext >&5
38164 ac_cv_type_mode_t=no
38167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38169 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
38170 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38171 if test $ac_cv_type_mode_t = yes; then
38175 cat >>confdefs.h <<_ACEOF
38181 { echo "$as_me:$LINENO: checking
for off_t
" >&5
38182 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
38183 if test "${ac_cv_type_off_t+set}" = set; then
38184 echo $ECHO_N "(cached
) $ECHO_C" >&6
38186 cat >conftest.$ac_ext <<_ACEOF
38189 cat confdefs.h >>conftest.$ac_ext
38190 cat >>conftest.$ac_ext <<_ACEOF
38191 /* end confdefs.h. */
38192 $ac_includes_default
38193 typedef off_t ac__type_new_;
38197 if ((ac__type_new_ *) 0)
38199 if (sizeof (ac__type_new_))
38205 rm -f conftest.$ac_objext
38206 if { (ac_try="$ac_compile"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38211 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_compile") 2>conftest.er1
38214 grep -v '^ *+' conftest.er1 >conftest.err
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest.$ac_objext; then
38222 ac_cv_type_off_t=yes
38224 echo "$as_me: failed program was
:" >&5
38225 sed 's/^/| /' conftest.$ac_ext >&5
38227 ac_cv_type_off_t=no
38230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38232 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
38233 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38234 if test $ac_cv_type_off_t = yes; then
38238 cat >>confdefs.h <<_ACEOF
38239 #define off_t long int
38244 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
38245 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
38246 if test "${ac_cv_type_pid_t+set}" = set; then
38247 echo $ECHO_N "(cached
) $ECHO_C" >&6
38249 cat >conftest.$ac_ext <<_ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255 $ac_includes_default
38256 typedef pid_t ac__type_new_;
38260 if ((ac__type_new_ *) 0)
38262 if (sizeof (ac__type_new_))
38268 rm -f conftest.$ac_objext
38269 if { (ac_try="$ac_compile"
38270 case "(($ac_try" in
38271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38272 *) ac_try_echo=$ac_try;;
38274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38275 (eval "$ac_compile") 2>conftest.er1
38277 grep -v '^ *+' conftest.er1 >conftest.err
38279 cat conftest.err >&5
38280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38281 (exit $ac_status); } && {
38282 test -z "$ac_c_werror_flag" ||
38283 test ! -s conftest.err
38284 } && test -s conftest.$ac_objext; then
38285 ac_cv_type_pid_t=yes
38287 echo "$as_me: failed program was
:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38290 ac_cv_type_pid_t=no
38293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38295 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
38296 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38297 if test $ac_cv_type_pid_t = yes; then
38301 cat >>confdefs.h <<_ACEOF
38307 { echo "$as_me:$LINENO: checking
for size_t
" >&5
38308 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
38309 if test "${ac_cv_type_size_t+set}" = set; then
38310 echo $ECHO_N "(cached
) $ECHO_C" >&6
38312 cat >conftest.$ac_ext <<_ACEOF
38315 cat confdefs.h >>conftest.$ac_ext
38316 cat >>conftest.$ac_ext <<_ACEOF
38317 /* end confdefs.h. */
38318 $ac_includes_default
38319 typedef size_t ac__type_new_;
38323 if ((ac__type_new_ *) 0)
38325 if (sizeof (ac__type_new_))
38331 rm -f conftest.$ac_objext
38332 if { (ac_try="$ac_compile"
38333 case "(($ac_try" in
38334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38335 *) ac_try_echo=$ac_try;;
38337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38338 (eval "$ac_compile") 2>conftest.er1
38340 grep -v '^ *+' conftest.er1 >conftest.err
38342 cat conftest.err >&5
38343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38344 (exit $ac_status); } && {
38345 test -z "$ac_c_werror_flag" ||
38346 test ! -s conftest.err
38347 } && test -s conftest.$ac_objext; then
38348 ac_cv_type_size_t=yes
38350 echo "$as_me: failed program was
:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38353 ac_cv_type_size_t=no
38356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38358 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
38359 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38360 if test $ac_cv_type_size_t = yes; then
38364 cat >>confdefs.h <<_ACEOF
38365 #define size_t unsigned int
38371 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
38372 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
38373 if test "${ac_cv_type_ssize_t+set}" = set; then
38374 echo $ECHO_N "(cached
) $ECHO_C" >&6
38376 cat >conftest.$ac_ext <<_ACEOF
38379 cat confdefs.h >>conftest.$ac_ext
38380 cat >>conftest.$ac_ext <<_ACEOF
38381 /* end confdefs.h. */
38382 $ac_includes_default
38383 typedef ssize_t ac__type_new_;
38387 if ((ac__type_new_ *) 0)
38389 if (sizeof (ac__type_new_))
38395 rm -f conftest.$ac_objext
38396 if { (ac_try="$ac_compile"
38397 case "(($ac_try" in
38398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38399 *) ac_try_echo=$ac_try;;
38401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38402 (eval "$ac_compile") 2>conftest.er1
38404 grep -v '^ *+' conftest.er1 >conftest.err
38406 cat conftest.err >&5
38407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38408 (exit $ac_status); } && {
38409 test -z "$ac_c_werror_flag" ||
38410 test ! -s conftest.err
38411 } && test -s conftest.$ac_objext; then
38412 ac_cv_type_ssize_t=yes
38414 echo "$as_me: failed program was
:" >&5
38415 sed 's/^/| /' conftest.$ac_ext >&5
38417 ac_cv_type_ssize_t=no
38420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38422 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
38423 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38424 if test $ac_cv_type_ssize_t = yes; then
38426 cat >>confdefs.h <<_ACEOF
38427 #define HAVE_SSIZE_T 1
38435 ac_cpp='$CXXCPP $CPPFLAGS'
38436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38439 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
38440 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
38441 if test "${wx_cv_size_t_is_uint+set}" = set; then
38442 echo $ECHO_N "(cached
) $ECHO_C" >&6
38445 cat >conftest.$ac_ext <<_ACEOF
38448 cat confdefs.h >>conftest.$ac_ext
38449 cat >>conftest.$ac_ext <<_ACEOF
38450 /* end confdefs.h. */
38451 #include <stddef.h>
38458 struct Foo { void foo(size_t); void foo(unsigned int); };
38466 rm -f conftest.$ac_objext
38467 if { (ac_try="$ac_compile"
38468 case "(($ac_try" in
38469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38470 *) ac_try_echo=$ac_try;;
38472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_compile") 2>conftest.er1
38475 grep -v '^ *+' conftest.er1 >conftest.err
38477 cat conftest.err >&5
38478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_cxx_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest.$ac_objext; then
38483 wx_cv_size_t_is_uint=no
38485 echo "$as_me: failed program was
:" >&5
38486 sed 's/^/| /' conftest.$ac_ext >&5
38488 wx_cv_size_t_is_uint=yes
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
38497 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38499 if test "$wx_cv_size_t_is_uint" = "yes"; then
38500 cat >>confdefs.h <<\_ACEOF
38501 #define wxSIZE_T_IS_UINT 1
38505 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
38506 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
38507 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38508 echo $ECHO_N "(cached
) $ECHO_C" >&6
38510 cat >conftest.$ac_ext <<_ACEOF
38513 cat confdefs.h >>conftest.$ac_ext
38514 cat >>conftest.$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516 #include <stddef.h>
38523 struct Foo { void foo(size_t); void foo(unsigned long); };
38531 rm -f conftest.$ac_objext
38532 if { (ac_try="$ac_compile"
38533 case "(($ac_try" in
38534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38535 *) ac_try_echo=$ac_try;;
38537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38538 (eval "$ac_compile") 2>conftest.er1
38540 grep -v '^ *+' conftest.er1 >conftest.err
38542 cat conftest.err >&5
38543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38544 (exit $ac_status); } && {
38545 test -z "$ac_cxx_werror_flag" ||
38546 test ! -s conftest.err
38547 } && test -s conftest.$ac_objext; then
38548 wx_cv_size_t_is_ulong=no
38550 echo "$as_me: failed program was
:" >&5
38551 sed 's/^/| /' conftest.$ac_ext >&5
38553 wx_cv_size_t_is_ulong=yes
38557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38560 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
38561 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38563 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38564 cat >>confdefs.h <<\_ACEOF
38565 #define wxSIZE_T_IS_ULONG 1
38571 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
38572 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
38573 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38574 echo $ECHO_N "(cached
) $ECHO_C" >&6
38576 cat >conftest.$ac_ext <<_ACEOF
38579 cat confdefs.h >>conftest.$ac_ext
38580 cat >>conftest.$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38589 struct Foo { void foo(wchar_t);
38590 void foo(unsigned short);
38591 void foo(unsigned int);
38592 void foo(unsigned long); };
38600 rm -f conftest.$ac_objext
38601 if { (ac_try="$ac_compile"
38602 case "(($ac_try" in
38603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38604 *) ac_try_echo=$ac_try;;
38606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38607 (eval "$ac_compile") 2>conftest.er1
38609 grep -v '^ *+' conftest.er1 >conftest.err
38611 cat conftest.err >&5
38612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38613 (exit $ac_status); } && {
38614 test -z "$ac_cxx_werror_flag" ||
38615 test ! -s conftest.err
38616 } && test -s conftest.$ac_objext; then
38617 wx_cv_wchar_t_is_separate_type=yes
38619 echo "$as_me: failed program was
:" >&5
38620 sed 's/^/| /' conftest.$ac_ext >&5
38622 wx_cv_wchar_t_is_separate_type=no
38626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38629 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
38630 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38632 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38633 cat >>confdefs.h <<\_ACEOF
38634 #define wxWCHAR_T_IS_REAL_TYPE 1
38638 cat >>confdefs.h <<\_ACEOF
38639 #define wxWCHAR_T_IS_REAL_TYPE 0
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38651 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
38652 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
38653 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38654 echo $ECHO_N "(cached
) $ECHO_C" >&6
38657 cat >conftest.$ac_ext <<_ACEOF
38660 cat confdefs.h >>conftest.$ac_ext
38661 cat >>conftest.$ac_ext <<_ACEOF
38662 /* end confdefs.h. */
38676 rm -f conftest.$ac_objext
38677 if { (ac_try="$ac_compile"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38680 *) ac_try_echo=$ac_try;;
38682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_compile") 2>conftest.er1
38685 grep -v '^ *+' conftest.er1 >conftest.err
38687 cat conftest.err >&5
38688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest.$ac_objext; then
38694 wx_cv_struct_pw_gecos=yes
38697 echo "$as_me: failed program was
:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38701 wx_cv_struct_pw_gecos=no
38706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38710 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
38711 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38713 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38714 cat >>confdefs.h <<\_ACEOF
38715 #define HAVE_PW_GECOS 1
38724 for ac_func in wcslen
38726 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38727 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38728 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38729 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38730 echo $ECHO_N "(cached
) $ECHO_C" >&6
38732 cat >conftest.$ac_ext <<_ACEOF
38735 cat confdefs.h >>conftest.$ac_ext
38736 cat >>conftest.$ac_ext <<_ACEOF
38737 /* end confdefs.h. */
38738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38740 #define $ac_func innocuous_$ac_func
38742 /* System header to define __stub macros and hopefully few prototypes,
38743 which can conflict with char $ac_func (); below.
38744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38745 <limits.h> exists even on freestanding compilers. */
38748 # include <limits.h>
38750 # include <assert.h>
38755 /* Override any GCC internal prototype to avoid an error.
38756 Use char because int might match the return type of a GCC
38757 builtin and then its argument prototype would still apply. */
38762 /* The GNU C library defines this for functions which it implements
38763 to always fail with ENOSYS. Some functions are actually named
38764 something starting with __ and the normal name is an alias. */
38765 #if defined __stub_$ac_func || defined __stub___$ac_func
38772 return $ac_func ();
38777 rm -f conftest.$ac_objext conftest$ac_exeext
38778 if { (ac_try="$ac_link"
38779 case "(($ac_try" in
38780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38781 *) ac_try_echo=$ac_try;;
38783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38784 (eval "$ac_link") 2>conftest.er1
38786 grep -v '^ *+' conftest.er1 >conftest.err
38788 cat conftest.err >&5
38789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38790 (exit $ac_status); } && {
38791 test -z "$ac_c_werror_flag" ||
38792 test ! -s conftest.err
38793 } && test -s conftest$ac_exeext &&
38794 $as_test_x conftest$ac_exeext; then
38795 eval "$as_ac_var=yes"
38797 echo "$as_me: failed program was
:" >&5
38798 sed 's/^/| /' conftest.$ac_ext >&5
38800 eval "$as_ac_var=no
"
38803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38804 conftest$ac_exeext conftest.$ac_ext
38806 ac_res=`eval echo '${'$as_ac_var'}'`
38807 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38808 echo "${ECHO_T}$ac_res" >&6; }
38809 if test `eval echo '${'$as_ac_var'}'` = yes; then
38810 cat >>confdefs.h <<_ACEOF
38811 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38818 if test "$WCSLEN_FOUND" = 0; then
38819 if test "$TOOLKIT" = "MSW
"; then
38820 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
38821 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
38822 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38823 echo $ECHO_N "(cached
) $ECHO_C" >&6
38825 ac_check_lib_save_LIBS=$LIBS
38826 LIBS="-lmsvcrt $LIBS"
38827 cat >conftest.$ac_ext <<_ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38834 /* Override any GCC internal prototype to avoid an error.
38835 Use char because int might match the return type of a GCC
38836 builtin and then its argument prototype would still apply. */
38849 rm -f conftest.$ac_objext conftest$ac_exeext
38850 if { (ac_try="$ac_link"
38851 case "(($ac_try" in
38852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38853 *) ac_try_echo=$ac_try;;
38855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38856 (eval "$ac_link") 2>conftest.er1
38858 grep -v '^ *+' conftest.er1 >conftest.err
38860 cat conftest.err >&5
38861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38862 (exit $ac_status); } && {
38863 test -z "$ac_c_werror_flag" ||
38864 test ! -s conftest.err
38865 } && test -s conftest$ac_exeext &&
38866 $as_test_x conftest$ac_exeext; then
38867 ac_cv_lib_msvcrt_wcslen=yes
38869 echo "$as_me: failed program was
:" >&5
38870 sed 's/^/| /' conftest.$ac_ext >&5
38872 ac_cv_lib_msvcrt_wcslen=no
38875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38876 conftest$ac_exeext conftest.$ac_ext
38877 LIBS=$ac_check_lib_save_LIBS
38879 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
38880 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38881 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38886 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
38887 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
38888 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38889 echo $ECHO_N "(cached
) $ECHO_C" >&6
38891 ac_check_lib_save_LIBS=$LIBS
38893 cat >conftest.$ac_ext <<_ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38900 /* Override any GCC internal prototype to avoid an error.
38901 Use char because int might match the return type of a GCC
38902 builtin and then its argument prototype would still apply. */
38915 rm -f conftest.$ac_objext conftest$ac_exeext
38916 if { (ac_try="$ac_link"
38917 case "(($ac_try" in
38918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38919 *) ac_try_echo=$ac_try;;
38921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38922 (eval "$ac_link") 2>conftest.er1
38924 grep -v '^ *+' conftest.er1 >conftest.err
38926 cat conftest.err >&5
38927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38928 (exit $ac_status); } && {
38929 test -z "$ac_c_werror_flag" ||
38930 test ! -s conftest.err
38931 } && test -s conftest$ac_exeext &&
38932 $as_test_x conftest$ac_exeext; then
38933 ac_cv_lib_w_wcslen=yes
38935 echo "$as_me: failed program was
:" >&5
38936 sed 's/^/| /' conftest.$ac_ext >&5
38938 ac_cv_lib_w_wcslen=no
38941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38942 conftest$ac_exeext conftest.$ac_ext
38943 LIBS=$ac_check_lib_save_LIBS
38945 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
38946 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38947 if test $ac_cv_lib_w_wcslen = yes; then
38957 if test "$WCSLEN_FOUND" = 1; then
38958 cat >>confdefs.h <<\_ACEOF
38959 #define HAVE_WCSLEN 1
38970 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38972 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38973 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38974 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38975 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38976 echo $ECHO_N "(cached
) $ECHO_C" >&6
38978 cat >conftest.$ac_ext <<_ACEOF
38981 cat confdefs.h >>conftest.$ac_ext
38982 cat >>conftest.$ac_ext <<_ACEOF
38983 /* end confdefs.h. */
38984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38986 #define $ac_func innocuous_$ac_func
38988 /* System header to define __stub macros and hopefully few prototypes,
38989 which can conflict with char $ac_func (); below.
38990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38991 <limits.h> exists even on freestanding compilers. */
38994 # include <limits.h>
38996 # include <assert.h>
39001 /* Override any GCC internal prototype to avoid an error.
39002 Use char because int might match the return type of a GCC
39003 builtin and then its argument prototype would still apply. */
39008 /* The GNU C library defines this for functions which it implements
39009 to always fail with ENOSYS. Some functions are actually named
39010 something starting with __ and the normal name is an alias. */
39011 #if defined __stub_$ac_func || defined __stub___$ac_func
39018 return $ac_func ();
39023 rm -f conftest.$ac_objext conftest$ac_exeext
39024 if { (ac_try="$ac_link"
39025 case "(($ac_try" in
39026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39027 *) ac_try_echo=$ac_try;;
39029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39030 (eval "$ac_link") 2>conftest.er1
39032 grep -v '^ *+' conftest.er1 >conftest.err
39034 cat conftest.err >&5
39035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39036 (exit $ac_status); } && {
39037 test -z "$ac_c_werror_flag" ||
39038 test ! -s conftest.err
39039 } && test -s conftest$ac_exeext &&
39040 $as_test_x conftest$ac_exeext; then
39041 eval "$as_ac_var=yes"
39043 echo "$as_me: failed program was
:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39046 eval "$as_ac_var=no
"
39049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39050 conftest$ac_exeext conftest.$ac_ext
39052 ac_res=`eval echo '${'$as_ac_var'}'`
39053 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39054 echo "${ECHO_T}$ac_res" >&6; }
39055 if test `eval echo '${'$as_ac_var'}'` = yes; then
39056 cat >>confdefs.h <<_ACEOF
39057 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39064 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39065 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39068 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
39069 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
39070 if test "${ac_cv_type_mbstate_t+set}" = set; then
39071 echo $ECHO_N "(cached
) $ECHO_C" >&6
39073 cat >conftest.$ac_ext <<_ACEOF
39076 cat confdefs.h >>conftest.$ac_ext
39077 cat >>conftest.$ac_ext <<_ACEOF
39078 /* end confdefs.h. */
39081 typedef mbstate_t ac__type_new_;
39085 if ((ac__type_new_ *) 0)
39087 if (sizeof (ac__type_new_))
39093 rm -f conftest.$ac_objext
39094 if { (ac_try="$ac_compile"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 *) ac_try_echo=$ac_try;;
39099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_compile") 2>conftest.er1
39102 grep -v '^ *+' conftest.er1 >conftest.err
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_c_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest.$ac_objext; then
39110 ac_cv_type_mbstate_t=yes
39112 echo "$as_me: failed program was
:" >&5
39113 sed 's/^/| /' conftest.$ac_ext >&5
39115 ac_cv_type_mbstate_t=no
39118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39120 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
39121 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39122 if test $ac_cv_type_mbstate_t = yes; then
39124 cat >>confdefs.h <<_ACEOF
39125 #define HAVE_MBSTATE_T 1
39129 for ac_func in wcsrtombs
39131 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39132 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39133 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39134 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39135 echo $ECHO_N "(cached
) $ECHO_C" >&6
39137 cat >conftest.$ac_ext <<_ACEOF
39140 cat confdefs.h >>conftest.$ac_ext
39141 cat >>conftest.$ac_ext <<_ACEOF
39142 /* end confdefs.h. */
39143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39145 #define $ac_func innocuous_$ac_func
39147 /* System header to define __stub macros and hopefully few prototypes,
39148 which can conflict with char $ac_func (); below.
39149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39150 <limits.h> exists even on freestanding compilers. */
39153 # include <limits.h>
39155 # include <assert.h>
39160 /* Override any GCC internal prototype to avoid an error.
39161 Use char because int might match the return type of a GCC
39162 builtin and then its argument prototype would still apply. */
39167 /* The GNU C library defines this for functions which it implements
39168 to always fail with ENOSYS. Some functions are actually named
39169 something starting with __ and the normal name is an alias. */
39170 #if defined __stub_$ac_func || defined __stub___$ac_func
39177 return $ac_func ();
39182 rm -f conftest.$ac_objext conftest$ac_exeext
39183 if { (ac_try="$ac_link"
39184 case "(($ac_try" in
39185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39186 *) ac_try_echo=$ac_try;;
39188 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39189 (eval "$ac_link") 2>conftest.er1
39191 grep -v '^ *+' conftest.er1 >conftest.err
39193 cat conftest.err >&5
39194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39195 (exit $ac_status); } && {
39196 test -z "$ac_c_werror_flag" ||
39197 test ! -s conftest.err
39198 } && test -s conftest$ac_exeext &&
39199 $as_test_x conftest$ac_exeext; then
39200 eval "$as_ac_var=yes"
39202 echo "$as_me: failed program was
:" >&5
39203 sed 's/^/| /' conftest.$ac_ext >&5
39205 eval "$as_ac_var=no
"
39208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39209 conftest$ac_exeext conftest.$ac_ext
39211 ac_res=`eval echo '${'$as_ac_var'}'`
39212 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39213 echo "${ECHO_T}$ac_res" >&6; }
39214 if test `eval echo '${'$as_ac_var'}'` = yes; then
39215 cat >>confdefs.h <<_ACEOF
39216 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39228 for ac_func in snprintf vsnprintf vsscanf
39230 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39231 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39232 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39233 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39234 echo $ECHO_N "(cached
) $ECHO_C" >&6
39236 cat >conftest.$ac_ext <<_ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39244 #define $ac_func innocuous_$ac_func
39246 /* System header to define __stub macros and hopefully few prototypes,
39247 which can conflict with char $ac_func (); below.
39248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39249 <limits.h> exists even on freestanding compilers. */
39252 # include <limits.h>
39254 # include <assert.h>
39259 /* Override any GCC internal prototype to avoid an error.
39260 Use char because int might match the return type of a GCC
39261 builtin and then its argument prototype would still apply. */
39266 /* The GNU C library defines this for functions which it implements
39267 to always fail with ENOSYS. Some functions are actually named
39268 something starting with __ and the normal name is an alias. */
39269 #if defined __stub_$ac_func || defined __stub___$ac_func
39276 return $ac_func ();
39281 rm -f conftest.$ac_objext conftest$ac_exeext
39282 if { (ac_try="$ac_link"
39283 case "(($ac_try" in
39284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39285 *) ac_try_echo=$ac_try;;
39287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39288 (eval "$ac_link") 2>conftest.er1
39290 grep -v '^ *+' conftest.er1 >conftest.err
39292 cat conftest.err >&5
39293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39294 (exit $ac_status); } && {
39295 test -z "$ac_c_werror_flag" ||
39296 test ! -s conftest.err
39297 } && test -s conftest$ac_exeext &&
39298 $as_test_x conftest$ac_exeext; then
39299 eval "$as_ac_var=yes"
39301 echo "$as_me: failed program was
:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39304 eval "$as_ac_var=no
"
39307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39308 conftest$ac_exeext conftest.$ac_ext
39310 ac_res=`eval echo '${'$as_ac_var'}'`
39311 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39312 echo "${ECHO_T}$ac_res" >&6; }
39313 if test `eval echo '${'$as_ac_var'}'` = yes; then
39314 cat >>confdefs.h <<_ACEOF
39315 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39323 ac_cpp='$CXXCPP $CPPFLAGS'
39324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39328 if test "$ac_cv_func_vsnprintf" = "yes"; then
39329 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
39330 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
39331 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39332 echo $ECHO_N "(cached
) $ECHO_C" >&6
39335 cat >conftest.$ac_ext <<_ACEOF
39338 cat confdefs.h >>conftest.$ac_ext
39339 cat >>conftest.$ac_ext <<_ACEOF
39340 /* end confdefs.h. */
39343 #include <stdarg.h>
39345 #if __MSL__ >= 0x6000
39347 using namespace std;
39357 vsnprintf(buf, 10u, "%s
", ap);
39363 rm -f conftest.$ac_objext
39364 if { (ac_try="$ac_compile"
39365 case "(($ac_try" in
39366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39367 *) ac_try_echo=$ac_try;;
39369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39370 (eval "$ac_compile") 2>conftest.er1
39372 grep -v '^ *+' conftest.er1 >conftest.err
39374 cat conftest.err >&5
39375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39376 (exit $ac_status); } && {
39377 test -z "$ac_cxx_werror_flag" ||
39378 test ! -s conftest.err
39379 } && test -s conftest.$ac_objext; then
39380 wx_cv_func_vsnprintf_decl=yes
39382 echo "$as_me: failed program was
:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39385 wx_cv_func_vsnprintf_decl=no
39389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39393 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
39394 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39396 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39397 cat >>confdefs.h <<\_ACEOF
39398 #define HAVE_VSNPRINTF_DECL 1
39402 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
39403 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
39404 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39405 echo $ECHO_N "(cached
) $ECHO_C" >&6
39408 cat >conftest.$ac_ext <<_ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39416 #include <stdarg.h>
39418 #if __MSL__ >= 0x6000
39420 using namespace std;
39430 const char *fmt = "%s
";
39431 vsnprintf(buf, 10u, fmt, ap);
39437 rm -f conftest.$ac_objext
39438 if { (ac_try="$ac_compile"
39439 case "(($ac_try" in
39440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39441 *) ac_try_echo=$ac_try;;
39443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39444 (eval "$ac_compile") 2>conftest.er1
39446 grep -v '^ *+' conftest.er1 >conftest.err
39448 cat conftest.err >&5
39449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39450 (exit $ac_status); } && {
39451 test -z "$ac_cxx_werror_flag" ||
39452 test ! -s conftest.err
39453 } && test -s conftest.$ac_objext; then
39454 wx_cv_func_broken_vsnprintf_decl=no
39456 echo "$as_me: failed program was
:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39459 wx_cv_func_broken_vsnprintf_decl=yes
39463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39467 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
39468 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39470 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39471 cat >>confdefs.h <<\_ACEOF
39472 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39479 if test "$ac_cv_func_snprintf" = "yes"; then
39480 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
39481 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
39482 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39483 echo $ECHO_N "(cached
) $ECHO_C" >&6
39486 cat >conftest.$ac_ext <<_ACEOF
39489 cat confdefs.h >>conftest.$ac_ext
39490 cat >>conftest.$ac_ext <<_ACEOF
39491 /* end confdefs.h. */
39494 #include <stdarg.h>
39496 #if __MSL__ >= 0x6000
39498 using namespace std;
39507 snprintf(buf, 10u, "%s
", "wx
");
39513 rm -f conftest.$ac_objext
39514 if { (ac_try="$ac_compile"
39515 case "(($ac_try" in
39516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39517 *) ac_try_echo=$ac_try;;
39519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39520 (eval "$ac_compile") 2>conftest.er1
39522 grep -v '^ *+' conftest.er1 >conftest.err
39524 cat conftest.err >&5
39525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39526 (exit $ac_status); } && {
39527 test -z "$ac_cxx_werror_flag" ||
39528 test ! -s conftest.err
39529 } && test -s conftest.$ac_objext; then
39530 wx_cv_func_snprintf_decl=yes
39532 echo "$as_me: failed program was
:" >&5
39533 sed 's/^/| /' conftest.$ac_ext >&5
39535 wx_cv_func_snprintf_decl=no
39539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39543 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
39544 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39546 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39547 cat >>confdefs.h <<\_ACEOF
39548 #define HAVE_SNPRINTF_DECL 1
39553 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39555 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
39556 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
39557 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39558 echo $ECHO_N "(cached
) $ECHO_C" >&6
39561 if test "$cross_compiling" = yes; then
39563 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
39564 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
39565 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
39566 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
39567 wx_cv_func_snprintf_pos_params=no
39571 cat >conftest.$ac_ext <<_ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39583 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39584 if (strcmp ("2 3 1", buffer) == 0)
39590 rm -f conftest$ac_exeext
39591 if { (ac_try="$ac_link"
39592 case "(($ac_try" in
39593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39594 *) ac_try_echo=$ac_try;;
39596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39597 (eval "$ac_link") 2>&5
39599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39601 { (case "(($ac_try" in
39602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39603 *) ac_try_echo=$ac_try;;
39605 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39606 (eval "$ac_try") 2>&5
39608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39609 (exit $ac_status); }; }; then
39610 wx_cv_func_snprintf_pos_params=no
39612 echo "$as_me: program exited with status
$ac_status" >&5
39613 echo "$as_me: failed program was
:" >&5
39614 sed 's/^/| /' conftest.$ac_ext >&5
39616 ( exit $ac_status )
39617 wx_cv_func_snprintf_pos_params=yes
39619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39626 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
39627 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39629 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39630 cat >>confdefs.h <<\_ACEOF
39631 #define HAVE_UNIX98_PRINTF 1
39638 if test "$ac_cv_func_vsscanf" = "yes"; then
39639 { echo "$as_me:$LINENO: checking
for vsscanf declaration
" >&5
39640 echo $ECHO_N "checking
for vsscanf declaration...
$ECHO_C" >&6; }
39641 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39642 echo $ECHO_N "(cached
) $ECHO_C" >&6
39645 cat >conftest.$ac_ext <<_ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39653 #include <stdarg.h>
39655 #if __MSL__ >= 0x6000
39657 using namespace std;
39667 vsscanf(buf, "%s
", args);
39673 rm -f conftest.$ac_objext
39674 if { (ac_try="$ac_compile"
39675 case "(($ac_try" in
39676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39677 *) ac_try_echo=$ac_try;;
39679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39680 (eval "$ac_compile") 2>conftest.er1
39682 grep -v '^ *+' conftest.er1 >conftest.err
39684 cat conftest.err >&5
39685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39686 (exit $ac_status); } && {
39687 test -z "$ac_cxx_werror_flag" ||
39688 test ! -s conftest.err
39689 } && test -s conftest.$ac_objext; then
39690 wx_cv_func_vsscanf_decl=yes
39692 echo "$as_me: failed program was
:" >&5
39693 sed 's/^/| /' conftest.$ac_ext >&5
39695 wx_cv_func_vsscanf_decl=no
39699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39703 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsscanf_decl" >&5
39704 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39706 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39707 cat >>confdefs.h <<\_ACEOF
39708 #define HAVE_VSSCANF_DECL 1
39714 ac_cpp='$CPP $CPPFLAGS'
39715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39720 if test "$wxUSE_UNICODE" = yes; then
39722 wchar_headers="#include <stdio.h>
39723 #include <wchar.h>"
39727 for ac_header
in widec.h
39729 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39732 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39733 echo $ECHO_N "(cached) $ECHO_C" >&6
39735 cat >conftest.
$ac_ext <<_ACEOF
39738 cat confdefs.h
>>conftest.
$ac_ext
39739 cat >>conftest.
$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39741 $ac_includes_default
39743 #include <$ac_header>
39745 rm -f conftest.
$ac_objext
39746 if { (ac_try
="$ac_compile"
39747 case "(($ac_try" in
39748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39749 *) ac_try_echo=$ac_try;;
39751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39752 (eval "$ac_compile") 2>conftest.er1
39754 grep -v '^ *+' conftest.er1 >conftest.err
39756 cat conftest.err >&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } && {
39759 test -z "$ac_c_werror_flag" ||
39760 test ! -s conftest.err
39761 } && test -s conftest.$ac_objext; then
39762 eval "$as_ac_Header=yes"
39764 echo "$as_me: failed program was:" >&5
39765 sed 's/^/| /' conftest.$ac_ext >&5
39767 eval "$as_ac_Header=no"
39770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39772 ac_res=`eval echo '${'$as_ac_Header'}'`
39773 { echo "$as_me:$LINENO: result: $ac_res" >&5
39774 echo "${ECHO_T}$ac_res" >&6; }
39775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39776 cat >>confdefs.h <<_ACEOF
39777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39784 if test "$ac_cv_header_widec_h" = "yes"; then
39785 wchar_headers="$wchar_headers
39786 #include <widec.h>"
39791 for wx_func in putws fputws wprintf vswprintf vswscanf
39793 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39794 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39795 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39796 echo $ECHO_N "(cached) $ECHO_C" >&6
39799 cat >conftest.$ac_ext <<_ACEOF
39803 cat confdefs.h >>conftest.$ac_ext
39804 cat >>conftest.$ac_ext <<_ACEOF
39805 /* end confdefs.h. */
39808 $ac_includes_default
39824 rm -f conftest.$ac_objext conftest$ac_exeext
39825 if { (ac_try="$ac_link"
39826 case "(($ac_try" in
39827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39828 *) ac_try_echo
=$ac_try;;
39830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39831 (eval "$ac_link") 2>conftest.er1
39833 grep -v '^ *+' conftest.er1
>conftest.err
39835 cat conftest.err
>&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } && {
39838 test -z "$ac_c_werror_flag" ||
39839 test ! -s conftest.err
39840 } && test -s conftest
$ac_exeext &&
39841 $as_test_x conftest
$ac_exeext; then
39842 eval wx_cv_func_
$wx_func=yes
39844 echo "$as_me: failed program was:" >&5
39845 sed 's/^/| /' conftest.
$ac_ext >&5
39847 eval wx_cv_func_
$wx_func=no
39850 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39851 conftest
$ac_exeext conftest.
$ac_ext
39854 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39855 { echo "$as_me:$LINENO: result: $ac_res" >&5
39856 echo "${ECHO_T}$ac_res" >&6; }
39858 if eval test \
$wx_cv_func_$wx_func = yes
39860 cat >>confdefs.h
<<_ACEOF
39861 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39872 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39873 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39874 cat >conftest.
$ac_ext <<_ACEOF
39877 cat confdefs.h
>>conftest.
$ac_ext
39878 cat >>conftest.
$ac_ext <<_ACEOF
39879 /* end confdefs.h. */
39889 rm -f conftest.
$ac_objext
39890 if { (ac_try
="$ac_compile"
39891 case "(($ac_try" in
39892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39893 *) ac_try_echo=$ac_try;;
39895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39896 (eval "$ac_compile") 2>conftest.er1
39898 grep -v '^ *+' conftest.er1 >conftest.err
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } && {
39903 test -z "$ac_c_werror_flag" ||
39904 test ! -s conftest.err
39905 } && test -s conftest.$ac_objext; then
39906 { echo "$as_me:$LINENO: result: yes" >&5
39907 echo "${ECHO_T}yes" >&6; }
39908 cat >>confdefs.h <<\_ACEOF
39909 #define HAVE__VSNWPRINTF 1
39913 echo "$as_me: failed program was:" >&5
39914 sed 's/^/| /' conftest.$ac_ext >&5
39916 { echo "$as_me:$LINENO: result: no" >&5
39917 echo "${ECHO_T}no" >&6; }
39920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39923 if test "$wxUSE_FILE" = "yes"; then
39925 for wx_func in fsync
39927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39930 echo $ECHO_N "(cached) $ECHO_C" >&6
39933 cat >conftest.$ac_ext <<_ACEOF
39937 cat confdefs.h >>conftest.$ac_ext
39938 cat >>conftest.$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39942 $ac_includes_default
39958 rm -f conftest.$ac_objext conftest$ac_exeext
39959 if { (ac_try="$ac_link"
39960 case "(($ac_try" in
39961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39962 *) ac_try_echo
=$ac_try;;
39964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39965 (eval "$ac_link") 2>conftest.er1
39967 grep -v '^ *+' conftest.er1
>conftest.err
39969 cat conftest.err
>&5
39970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39971 (exit $ac_status); } && {
39972 test -z "$ac_c_werror_flag" ||
39973 test ! -s conftest.err
39974 } && test -s conftest
$ac_exeext &&
39975 $as_test_x conftest
$ac_exeext; then
39976 eval wx_cv_func_
$wx_func=yes
39978 echo "$as_me: failed program was:" >&5
39979 sed 's/^/| /' conftest.
$ac_ext >&5
39981 eval wx_cv_func_
$wx_func=no
39984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39985 conftest
$ac_exeext conftest.
$ac_ext
39988 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39989 { echo "$as_me:$LINENO: result: $ac_res" >&5
39990 echo "${ECHO_T}$ac_res" >&6; }
39992 if eval test \
$wx_cv_func_$wx_func = yes
39994 cat >>confdefs.h
<<_ACEOF
39995 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40008 ac_cpp
='$CXXCPP $CPPFLAGS'
40009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40014 for wx_func
in round
40016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40018 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40022 cat >conftest.
$ac_ext <<_ACEOF
40026 cat confdefs.h
>>conftest.
$ac_ext
40027 cat >>conftest.
$ac_ext <<_ACEOF
40028 /* end confdefs.h. */
40031 $ac_includes_default
40047 rm -f conftest.
$ac_objext conftest
$ac_exeext
40048 if { (ac_try
="$ac_link"
40049 case "(($ac_try" in
40050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40051 *) ac_try_echo=$ac_try;;
40053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40054 (eval "$ac_link") 2>conftest.er1
40056 grep -v '^ *+' conftest.er1 >conftest.err
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } && {
40061 test -z "$ac_cxx_werror_flag" ||
40062 test ! -s conftest.err
40063 } && test -s conftest$ac_exeext &&
40064 $as_test_x conftest$ac_exeext; then
40065 eval wx_cv_func_$wx_func=yes
40067 echo "$as_me: failed program was:" >&5
40068 sed 's/^/| /' conftest.$ac_ext >&5
40070 eval wx_cv_func_$wx_func=no
40073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40074 conftest$ac_exeext conftest.$ac_ext
40077 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40078 { echo "$as_me:$LINENO: result: $ac_res" >&5
40079 echo "${ECHO_T}$ac_res" >&6; }
40081 if eval test \$wx_cv_func_$wx_func = yes
40083 cat >>confdefs.h <<_ACEOF
40084 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40095 ac_cpp='$CPP $CPPFLAGS'
40096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40101 if test "$TOOLKIT" != "MSW"; then
40103 if test "$wxUSE_LIBICONV" != "no" ; then
40107 # Check whether --with-libiconv-prefix was given.
40108 if test "${with_libiconv_prefix+set}" = set; then
40109 withval=$with_libiconv_prefix;
40110 for dir in `echo "$withval" | tr : ' '`; do
40111 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40112 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40118 { echo "$as_me:$LINENO: checking for iconv" >&5
40119 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40120 if test "${am_cv_func_iconv+set}" = set; then
40121 echo $ECHO_N "(cached) $ECHO_C" >&6
40124 am_cv_func_iconv="no, consider installing GNU libiconv"
40126 cat >conftest.$ac_ext <<_ACEOF
40129 cat confdefs.h >>conftest.$ac_ext
40130 cat >>conftest.$ac_ext <<_ACEOF
40131 /* end confdefs.h. */
40132 #include <stdlib.h>
40137 iconv_t cd = iconv_open("","");
40138 iconv(cd,NULL,NULL,NULL,NULL);
40144 rm -f conftest.$ac_objext conftest$ac_exeext
40145 if { (ac_try="$ac_link"
40146 case "(($ac_try" in
40147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40148 *) ac_try_echo
=$ac_try;;
40150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40151 (eval "$ac_link") 2>conftest.er1
40153 grep -v '^ *+' conftest.er1
>conftest.err
40155 cat conftest.err
>&5
40156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40157 (exit $ac_status); } && {
40158 test -z "$ac_c_werror_flag" ||
40159 test ! -s conftest.err
40160 } && test -s conftest
$ac_exeext &&
40161 $as_test_x conftest
$ac_exeext; then
40162 am_cv_func_iconv
=yes
40164 echo "$as_me: failed program was:" >&5
40165 sed 's/^/| /' conftest.
$ac_ext >&5
40170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40171 conftest
$ac_exeext conftest.
$ac_ext
40172 if test "$am_cv_func_iconv" != yes; then
40173 am_save_LIBS
="$LIBS"
40174 LIBS
="$LIBS -liconv"
40175 cat >conftest.
$ac_ext <<_ACEOF
40178 cat confdefs.h
>>conftest.
$ac_ext
40179 cat >>conftest.
$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40181 #include <stdlib.h>
40186 iconv_t cd = iconv_open("","");
40187 iconv(cd,NULL,NULL,NULL,NULL);
40193 rm -f conftest.
$ac_objext conftest
$ac_exeext
40194 if { (ac_try
="$ac_link"
40195 case "(($ac_try" in
40196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40197 *) ac_try_echo=$ac_try;;
40199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40200 (eval "$ac_link") 2>conftest.er1
40202 grep -v '^ *+' conftest.er1 >conftest.err
40204 cat conftest.err >&5
40205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40206 (exit $ac_status); } && {
40207 test -z "$ac_c_werror_flag" ||
40208 test ! -s conftest.err
40209 } && test -s conftest$ac_exeext &&
40210 $as_test_x conftest$ac_exeext; then
40211 am_cv_lib_iconv=yes
40212 am_cv_func_iconv=yes
40214 echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.$ac_ext >&5
40220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40221 conftest$ac_exeext conftest.$ac_ext
40222 LIBS="$am_save_LIBS"
40226 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40227 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40228 if test "$am_cv_func_iconv" = yes; then
40230 cat >>confdefs.h <<\_ACEOF
40231 #define HAVE_ICONV 1
40234 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40235 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40236 if test "${wx_cv_func_iconv_const+set}" = set; then
40237 echo $ECHO_N "(cached) $ECHO_C" >&6
40239 cat >conftest.$ac_ext <<_ACEOF
40242 cat confdefs.h >>conftest.$ac_ext
40243 cat >>conftest.$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40246 #include <stdlib.h>
40252 #if defined(__STDC__) || defined(__cplusplus)
40253 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40266 rm -f conftest.$ac_objext
40267 if { (ac_try="$ac_compile"
40268 case "(($ac_try" in
40269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40270 *) ac_try_echo
=$ac_try;;
40272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40273 (eval "$ac_compile") 2>conftest.er1
40275 grep -v '^ *+' conftest.er1
>conftest.err
40277 cat conftest.err
>&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } && {
40280 test -z "$ac_c_werror_flag" ||
40281 test ! -s conftest.err
40282 } && test -s conftest.
$ac_objext; then
40283 wx_cv_func_iconv_const
="no"
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.
$ac_ext >&5
40288 wx_cv_func_iconv_const
="yes"
40292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40295 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40296 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40299 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40300 iconv_const
="const"
40304 cat >>confdefs.h
<<_ACEOF
40305 #define ICONV_CONST $iconv_const
40310 if test "$am_cv_lib_iconv" = yes; then
40315 LIBS
="$LIBICONV $LIBS"
40318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40320 for ac_func
in sigaction
40322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40325 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40326 echo $ECHO_N "(cached) $ECHO_C" >&6
40328 cat >conftest.
$ac_ext <<_ACEOF
40331 cat confdefs.h
>>conftest.
$ac_ext
40332 cat >>conftest.
$ac_ext <<_ACEOF
40333 /* end confdefs.h. */
40334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40336 #define $ac_func innocuous_$ac_func
40338 /* System header to define __stub macros and hopefully few prototypes,
40339 which can conflict with char $ac_func (); below.
40340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40341 <limits.h> exists even on freestanding compilers. */
40344 # include <limits.h>
40346 # include <assert.h>
40351 /* Override any GCC internal prototype to avoid an error.
40352 Use char because int might match the return type of a GCC
40353 builtin and then its argument prototype would still apply. */
40358 /* The GNU C library defines this for functions which it implements
40359 to always fail with ENOSYS. Some functions are actually named
40360 something starting with __ and the normal name is an alias. */
40361 #if defined __stub_$ac_func || defined __stub___$ac_func
40368 return $ac_func ();
40373 rm -f conftest.
$ac_objext conftest
$ac_exeext
40374 if { (ac_try
="$ac_link"
40375 case "(($ac_try" in
40376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40377 *) ac_try_echo=$ac_try;;
40379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40380 (eval "$ac_link") 2>conftest.er1
40382 grep -v '^ *+' conftest.er1 >conftest.err
40384 cat conftest.err >&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); } && {
40387 test -z "$ac_c_werror_flag" ||
40388 test ! -s conftest.err
40389 } && test -s conftest$ac_exeext &&
40390 $as_test_x conftest$ac_exeext; then
40391 eval "$as_ac_var=yes"
40393 echo "$as_me: failed program was:" >&5
40394 sed 's/^/| /' conftest.$ac_ext >&5
40396 eval "$as_ac_var=no"
40399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40400 conftest$ac_exeext conftest.$ac_ext
40402 ac_res=`eval echo '${'$as_ac_var'}'`
40403 { echo "$as_me:$LINENO: result: $ac_res" >&5
40404 echo "${ECHO_T}$ac_res" >&6; }
40405 if test `eval echo '${'$as_ac_var'}'` = yes; then
40406 cat >>confdefs.h <<_ACEOF
40407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40414 if test "$ac_cv_func_sigaction" = "no"; then
40415 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40416 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40417 wxUSE_ON_FATAL_EXCEPTION=no
40420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40421 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40422 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40423 if test "${wx_cv_type_sa_handler+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40428 ac_cpp='$CXXCPP $CPPFLAGS'
40429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40433 cat >conftest.$ac_ext <<_ACEOF
40436 cat confdefs.h >>conftest.$ac_ext
40437 cat >>conftest.$ac_ext <<_ACEOF
40438 /* end confdefs.h. */
40439 #include <signal.h>
40444 extern void testSigHandler(int);
40446 struct sigaction sa;
40447 sa.sa_handler = testSigHandler;
40453 rm -f conftest.$ac_objext
40454 if { (ac_try="$ac_compile"
40455 case "(($ac_try" in
40456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40457 *) ac_try_echo
=$ac_try;;
40459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40460 (eval "$ac_compile") 2>conftest.er1
40462 grep -v '^ *+' conftest.er1
>conftest.err
40464 cat conftest.err
>&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } && {
40467 test -z "$ac_cxx_werror_flag" ||
40468 test ! -s conftest.err
40469 } && test -s conftest.
$ac_objext; then
40471 wx_cv_type_sa_handler
=int
40474 echo "$as_me: failed program was:" >&5
40475 sed 's/^/| /' conftest.
$ac_ext >&5
40478 wx_cv_type_sa_handler
=void
40482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40484 ac_cpp
='$CPP $CPPFLAGS'
40485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40491 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40492 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40494 cat >>confdefs.h
<<_ACEOF
40495 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40501 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40502 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40503 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40504 if test "${wx_cv_func_backtrace+set}" = set; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40509 ac_cpp
='$CXXCPP $CPPFLAGS'
40510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40514 cat >conftest.
$ac_ext <<_ACEOF
40517 cat confdefs.h
>>conftest.
$ac_ext
40518 cat >>conftest.
$ac_ext <<_ACEOF
40519 /* end confdefs.h. */
40520 #include <execinfo.h>
40528 backtrace(trace, 1);
40529 messages = backtrace_symbols(trace, 1);
40535 rm -f conftest.
$ac_objext
40536 if { (ac_try
="$ac_compile"
40537 case "(($ac_try" in
40538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40539 *) ac_try_echo=$ac_try;;
40541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40542 (eval "$ac_compile") 2>conftest.er1
40544 grep -v '^ *+' conftest.er1 >conftest.err
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } && {
40549 test -z "$ac_cxx_werror_flag" ||
40550 test ! -s conftest.err
40551 } && test -s conftest.$ac_objext; then
40552 wx_cv_func_backtrace=yes
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.$ac_ext >&5
40557 wx_cv_func_backtrace=no
40561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40563 ac_cpp='$CPP $CPPFLAGS'
40564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40571 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40572 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40575 if test "$wx_cv_func_backtrace" = "no"; then
40576 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40577 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40578 wxUSE_STACKWALKER=no
40580 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40581 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40582 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40583 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 ac_cpp='$CXXCPP $CPPFLAGS'
40588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40592 cat >conftest.$ac_ext <<_ACEOF
40595 cat confdefs.h >>conftest.$ac_ext
40596 cat >>conftest.$ac_ext <<_ACEOF
40597 /* end confdefs.h. */
40598 #include <cxxabi.h>
40604 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40610 rm -f conftest.$ac_objext conftest$ac_exeext
40611 if { (ac_try="$ac_link"
40612 case "(($ac_try" in
40613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40614 *) ac_try_echo
=$ac_try;;
40616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40617 (eval "$ac_link") 2>conftest.er1
40619 grep -v '^ *+' conftest.er1
>conftest.err
40621 cat conftest.err
>&5
40622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } && {
40624 test -z "$ac_cxx_werror_flag" ||
40625 test ! -s conftest.err
40626 } && test -s conftest
$ac_exeext &&
40627 $as_test_x conftest
$ac_exeext; then
40628 wx_cv_func_cxa_demangle
=yes
40630 echo "$as_me: failed program was:" >&5
40631 sed 's/^/| /' conftest.
$ac_ext >&5
40633 wx_cv_func_cxa_demangle
=no
40637 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40638 conftest
$ac_exeext conftest.
$ac_ext
40640 ac_cpp
='$CPP $CPPFLAGS'
40641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40648 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40649 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40651 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40652 cat >>confdefs.h
<<\_ACEOF
40653 #define HAVE_CXA_DEMANGLE 1
40660 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40661 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40662 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40663 wxUSE_STACKWALKER
=no
40669 for ac_func
in mkstemp mktemp
40671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40674 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40675 echo $ECHO_N "(cached) $ECHO_C" >&6
40677 cat >conftest.
$ac_ext <<_ACEOF
40680 cat confdefs.h
>>conftest.
$ac_ext
40681 cat >>conftest.
$ac_ext <<_ACEOF
40682 /* end confdefs.h. */
40683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40685 #define $ac_func innocuous_$ac_func
40687 /* System header to define __stub macros and hopefully few prototypes,
40688 which can conflict with char $ac_func (); below.
40689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40690 <limits.h> exists even on freestanding compilers. */
40693 # include <limits.h>
40695 # include <assert.h>
40700 /* Override any GCC internal prototype to avoid an error.
40701 Use char because int might match the return type of a GCC
40702 builtin and then its argument prototype would still apply. */
40707 /* The GNU C library defines this for functions which it implements
40708 to always fail with ENOSYS. Some functions are actually named
40709 something starting with __ and the normal name is an alias. */
40710 #if defined __stub_$ac_func || defined __stub___$ac_func
40717 return $ac_func ();
40722 rm -f conftest.
$ac_objext conftest
$ac_exeext
40723 if { (ac_try
="$ac_link"
40724 case "(($ac_try" in
40725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40726 *) ac_try_echo=$ac_try;;
40728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40729 (eval "$ac_link") 2>conftest.er1
40731 grep -v '^ *+' conftest.er1 >conftest.err
40733 cat conftest.err >&5
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); } && {
40736 test -z "$ac_c_werror_flag" ||
40737 test ! -s conftest.err
40738 } && test -s conftest$ac_exeext &&
40739 $as_test_x conftest$ac_exeext; then
40740 eval "$as_ac_var=yes"
40742 echo "$as_me: failed program was:" >&5
40743 sed 's/^/| /' conftest.$ac_ext >&5
40745 eval "$as_ac_var=no"
40748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40749 conftest$ac_exeext conftest.$ac_ext
40751 ac_res=`eval echo '${'$as_ac_var'}'`
40752 { echo "$as_me:$LINENO: result: $ac_res" >&5
40753 echo "${ECHO_T}$ac_res" >&6; }
40754 if test `eval echo '${'$as_ac_var'}'` = yes; then
40755 cat >>confdefs.h <<_ACEOF
40756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40763 { echo "$as_me:$LINENO: checking for statfs" >&5
40764 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40765 if test "${wx_cv_func_statfs+set}" = set; then
40766 echo $ECHO_N "(cached) $ECHO_C" >&6
40768 cat >conftest.$ac_ext <<_ACEOF
40771 cat confdefs.h >>conftest.$ac_ext
40772 cat >>conftest.$ac_ext <<_ACEOF
40773 /* end confdefs.h. */
40775 #if defined(__BSD__)
40776 #include <sys/param.h>
40777 #include <sys/mount.h>
40779 #include <sys/vfs.h>
40797 rm -f conftest.$ac_objext
40798 if { (ac_try="$ac_compile"
40799 case "(($ac_try" in
40800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40801 *) ac_try_echo
=$ac_try;;
40803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40804 (eval "$ac_compile") 2>conftest.er1
40806 grep -v '^ *+' conftest.er1
>conftest.err
40808 cat conftest.err
>&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } && {
40811 test -z "$ac_c_werror_flag" ||
40812 test ! -s conftest.err
40813 } && test -s conftest.
$ac_objext; then
40814 wx_cv_func_statfs
=yes
40816 echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.
$ac_ext >&5
40819 wx_cv_func_statfs
=no
40823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40826 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40827 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40829 if test "$wx_cv_func_statfs" = "yes"; then
40830 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40831 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40832 if test "${wx_cv_func_statfs_decl+set}" = set; then
40833 echo $ECHO_N "(cached) $ECHO_C" >&6
40836 ac_cpp
='$CXXCPP $CPPFLAGS'
40837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40841 cat >conftest.
$ac_ext <<_ACEOF
40844 cat confdefs.h
>>conftest.
$ac_ext
40845 cat >>conftest.
$ac_ext <<_ACEOF
40846 /* end confdefs.h. */
40848 #if defined(__BSD__)
40849 #include <sys/param.h>
40850 #include <sys/mount.h>
40852 #include <sys/vfs.h>
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
40883 wx_cv_func_statfs_decl=yes
40885 echo "$as_me: failed program was:" >&5
40886 sed 's/^/| /' conftest.$ac_ext >&5
40888 wx_cv_func_statfs_decl=no
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40901 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40902 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40904 if test "$wx_cv_func_statfs_decl" = "yes"; then
40905 cat >>confdefs.h <<\_ACEOF
40906 #define HAVE_STATFS_DECL 1
40911 wx_cv_type_statvfs_t="struct statfs"
40912 cat >>confdefs.h <<\_ACEOF
40913 #define HAVE_STATFS 1
40917 { echo "$as_me:$LINENO: checking for statvfs" >&5
40918 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40919 if test "${wx_cv_func_statvfs+set}" = set; then
40920 echo $ECHO_N "(cached) $ECHO_C" >&6
40922 cat >conftest.$ac_ext <<_ACEOF
40925 cat confdefs.h >>conftest.$ac_ext
40926 cat >>conftest.$ac_ext <<_ACEOF
40927 /* end confdefs.h. */
40929 #include <stddef.h>
40930 #include <sys/statvfs.h>
40936 statvfs("/", NULL);
40942 rm -f conftest.$ac_objext
40943 if { (ac_try="$ac_compile"
40944 case "(($ac_try" in
40945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40946 *) ac_try_echo
=$ac_try;;
40948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40949 (eval "$ac_compile") 2>conftest.er1
40951 grep -v '^ *+' conftest.er1
>conftest.err
40953 cat conftest.err
>&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } && {
40956 test -z "$ac_c_werror_flag" ||
40957 test ! -s conftest.err
40958 } && test -s conftest.
$ac_objext; then
40959 wx_cv_func_statvfs
=yes
40961 echo "$as_me: failed program was:" >&5
40962 sed 's/^/| /' conftest.
$ac_ext >&5
40964 wx_cv_func_statvfs
=no
40968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40971 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40972 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40974 if test "$wx_cv_func_statvfs" = "yes"; then
40975 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40977 if test "${wx_cv_type_statvfs_t+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40981 ac_cpp
='$CXXCPP $CPPFLAGS'
40982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40986 cat >conftest.
$ac_ext <<_ACEOF
40989 cat confdefs.h
>>conftest.
$ac_ext
40990 cat >>conftest.
$ac_ext <<_ACEOF
40991 /* end confdefs.h. */
40993 #include <sys/statvfs.h>
41010 rm -f conftest.
$ac_objext
41011 if { (ac_try
="$ac_compile"
41012 case "(($ac_try" in
41013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41014 *) ac_try_echo=$ac_try;;
41016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41017 (eval "$ac_compile") 2>conftest.er1
41019 grep -v '^ *+' conftest.er1 >conftest.err
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } && {
41024 test -z "$ac_cxx_werror_flag" ||
41025 test ! -s conftest.err
41026 } && test -s conftest.$ac_objext; then
41027 wx_cv_type_statvfs_t=statvfs_t
41029 echo "$as_me: failed program was:" >&5
41030 sed 's/^/| /' conftest.$ac_ext >&5
41033 cat >conftest.$ac_ext <<_ACEOF
41036 cat confdefs.h >>conftest.$ac_ext
41037 cat >>conftest.$ac_ext <<_ACEOF
41038 /* end confdefs.h. */
41040 #include <sys/statvfs.h>
41057 rm -f conftest.$ac_objext
41058 if { (ac_try="$ac_compile"
41059 case "(($ac_try" in
41060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41061 *) ac_try_echo
=$ac_try;;
41063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41064 (eval "$ac_compile") 2>conftest.er1
41066 grep -v '^ *+' conftest.er1
>conftest.err
41068 cat conftest.err
>&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); } && {
41071 test -z "$ac_cxx_werror_flag" ||
41072 test ! -s conftest.err
41073 } && test -s conftest.
$ac_objext; then
41074 wx_cv_type_statvfs_t
="struct statvfs"
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.
$ac_ext >&5
41079 wx_cv_type_statvfs_t
="unknown"
41083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41090 ac_cpp
='$CPP $CPPFLAGS'
41091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41097 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
41098 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
41100 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41101 cat >>confdefs.h
<<\_ACEOF
41102 #define HAVE_STATVFS 1
41107 wx_cv_type_statvfs_t
="unknown"
41111 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41112 cat >>confdefs.h
<<_ACEOF
41113 #define WX_STATFS_T $wx_cv_type_statvfs_t
41117 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41118 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41121 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41124 for ac_func
in fcntl flock
41126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41129 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41130 echo $ECHO_N "(cached) $ECHO_C" >&6
41132 cat >conftest.
$ac_ext <<_ACEOF
41135 cat confdefs.h
>>conftest.
$ac_ext
41136 cat >>conftest.
$ac_ext <<_ACEOF
41137 /* end confdefs.h. */
41138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41140 #define $ac_func innocuous_$ac_func
41142 /* System header to define __stub macros and hopefully few prototypes,
41143 which can conflict with char $ac_func (); below.
41144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41145 <limits.h> exists even on freestanding compilers. */
41148 # include <limits.h>
41150 # include <assert.h>
41155 /* Override any GCC internal prototype to avoid an error.
41156 Use char because int might match the return type of a GCC
41157 builtin and then its argument prototype would still apply. */
41162 /* The GNU C library defines this for functions which it implements
41163 to always fail with ENOSYS. Some functions are actually named
41164 something starting with __ and the normal name is an alias. */
41165 #if defined __stub_$ac_func || defined __stub___$ac_func
41172 return $ac_func ();
41177 rm -f conftest.
$ac_objext conftest
$ac_exeext
41178 if { (ac_try
="$ac_link"
41179 case "(($ac_try" in
41180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41181 *) ac_try_echo=$ac_try;;
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_link") 2>conftest.er1
41186 grep -v '^ *+' conftest.er1 >conftest.err
41188 cat conftest.err >&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_c_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest$ac_exeext &&
41194 $as_test_x conftest$ac_exeext; then
41195 eval "$as_ac_var=yes"
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41200 eval "$as_ac_var=no"
41203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41204 conftest$ac_exeext conftest.$ac_ext
41206 ac_res=`eval echo '${'$as_ac_var'}'`
41207 { echo "$as_me:$LINENO: result: $ac_res" >&5
41208 echo "${ECHO_T}$ac_res" >&6; }
41209 if test `eval echo '${'$as_ac_var'}'` = yes; then
41210 cat >>confdefs.h <<_ACEOF
41211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41218 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41219 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41220 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41221 wxUSE_SNGLINST_CHECKER=no
41227 for ac_func in setenv putenv
41229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41233 echo $ECHO_N "(cached) $ECHO_C" >&6
41235 cat >conftest.$ac_ext <<_ACEOF
41238 cat confdefs.h >>conftest.$ac_ext
41239 cat >>conftest.$ac_ext <<_ACEOF
41240 /* end confdefs.h. */
41241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41243 #define $ac_func innocuous_$ac_func
41245 /* System header to define __stub macros and hopefully few prototypes,
41246 which can conflict with char $ac_func (); below.
41247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41248 <limits.h> exists even on freestanding compilers. */
41251 # include <limits.h>
41253 # include <assert.h>
41258 /* Override any GCC internal prototype to avoid an error.
41259 Use char because int might match the return type of a GCC
41260 builtin and then its argument prototype would still apply. */
41265 /* The GNU C library defines this for functions which it implements
41266 to always fail with ENOSYS. Some functions are actually named
41267 something starting with __ and the normal name is an alias. */
41268 #if defined __stub_$ac_func || defined __stub___$ac_func
41275 return $ac_func ();
41280 rm -f conftest.$ac_objext conftest$ac_exeext
41281 if { (ac_try="$ac_link"
41282 case "(($ac_try" in
41283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41284 *) ac_try_echo
=$ac_try;;
41286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41287 (eval "$ac_link") 2>conftest.er1
41289 grep -v '^ *+' conftest.er1
>conftest.err
41291 cat conftest.err
>&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); } && {
41294 test -z "$ac_c_werror_flag" ||
41295 test ! -s conftest.err
41296 } && test -s conftest
$ac_exeext &&
41297 $as_test_x conftest
$ac_exeext; then
41298 eval "$as_ac_var=yes"
41300 echo "$as_me: failed program was:" >&5
41301 sed 's/^/| /' conftest.
$ac_ext >&5
41303 eval "$as_ac_var=no"
41306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41307 conftest
$ac_exeext conftest.
$ac_ext
41309 ac_res
=`eval echo '${'$as_ac_var'}'`
41310 { echo "$as_me:$LINENO: result: $ac_res" >&5
41311 echo "${ECHO_T}$ac_res" >&6; }
41312 if test `eval echo '${'$as_ac_var'}'` = yes; then
41313 cat >>confdefs.h
<<_ACEOF
41314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41320 if test "$ac_cv_func_setenv" = "yes"; then
41322 for ac_func
in unsetenv
41324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41327 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41328 echo $ECHO_N "(cached) $ECHO_C" >&6
41330 cat >conftest.
$ac_ext <<_ACEOF
41333 cat confdefs.h
>>conftest.
$ac_ext
41334 cat >>conftest.
$ac_ext <<_ACEOF
41335 /* end confdefs.h. */
41336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41338 #define $ac_func innocuous_$ac_func
41340 /* System header to define __stub macros and hopefully few prototypes,
41341 which can conflict with char $ac_func (); below.
41342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41343 <limits.h> exists even on freestanding compilers. */
41346 # include <limits.h>
41348 # include <assert.h>
41353 /* Override any GCC internal prototype to avoid an error.
41354 Use char because int might match the return type of a GCC
41355 builtin and then its argument prototype would still apply. */
41360 /* The GNU C library defines this for functions which it implements
41361 to always fail with ENOSYS. Some functions are actually named
41362 something starting with __ and the normal name is an alias. */
41363 #if defined __stub_$ac_func || defined __stub___$ac_func
41370 return $ac_func ();
41375 rm -f conftest.
$ac_objext conftest
$ac_exeext
41376 if { (ac_try
="$ac_link"
41377 case "(($ac_try" in
41378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41379 *) ac_try_echo=$ac_try;;
41381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41382 (eval "$ac_link") 2>conftest.er1
41384 grep -v '^ *+' conftest.er1 >conftest.err
41386 cat conftest.err >&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); } && {
41389 test -z "$ac_c_werror_flag" ||
41390 test ! -s conftest.err
41391 } && test -s conftest$ac_exeext &&
41392 $as_test_x conftest$ac_exeext; then
41393 eval "$as_ac_var=yes"
41395 echo "$as_me: failed program was:" >&5
41396 sed 's/^/| /' conftest.$ac_ext >&5
41398 eval "$as_ac_var=no"
41401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41402 conftest$ac_exeext conftest.$ac_ext
41404 ac_res=`eval echo '${'$as_ac_var'}'`
41405 { echo "$as_me:$LINENO: result: $ac_res" >&5
41406 echo "${ECHO_T}$ac_res" >&6; }
41407 if test `eval echo '${'$as_ac_var'}'` = yes; then
41408 cat >>confdefs.h <<_ACEOF
41409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41417 HAVE_SOME_SLEEP_FUNC=0
41418 if test "$USE_BEOS" = 1; then
41419 cat >>confdefs.h <<\_ACEOF
41420 #define HAVE_SLEEP 1
41423 HAVE_SOME_SLEEP_FUNC=1
41426 if test "$USE_DARWIN" = 1; then
41427 cat >>confdefs.h <<\_ACEOF
41428 #define HAVE_USLEEP 1
41431 HAVE_SOME_SLEEP_FUNC=1
41434 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41437 for ac_func in nanosleep
41439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41443 echo $ECHO_N "(cached) $ECHO_C" >&6
41445 cat >conftest.$ac_ext <<_ACEOF
41448 cat confdefs.h >>conftest.$ac_ext
41449 cat >>conftest.$ac_ext <<_ACEOF
41450 /* end confdefs.h. */
41451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41453 #define $ac_func innocuous_$ac_func
41455 /* System header to define __stub macros and hopefully few prototypes,
41456 which can conflict with char $ac_func (); below.
41457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41458 <limits.h> exists even on freestanding compilers. */
41461 # include <limits.h>
41463 # include <assert.h>
41468 /* Override any GCC internal prototype to avoid an error.
41469 Use char because int might match the return type of a GCC
41470 builtin and then its argument prototype would still apply. */
41475 /* The GNU C library defines this for functions which it implements
41476 to always fail with ENOSYS. Some functions are actually named
41477 something starting with __ and the normal name is an alias. */
41478 #if defined __stub_$ac_func || defined __stub___$ac_func
41485 return $ac_func ();
41490 rm -f conftest.$ac_objext conftest$ac_exeext
41491 if { (ac_try="$ac_link"
41492 case "(($ac_try" in
41493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41494 *) ac_try_echo
=$ac_try;;
41496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41497 (eval "$ac_link") 2>conftest.er1
41499 grep -v '^ *+' conftest.er1
>conftest.err
41501 cat conftest.err
>&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } && {
41504 test -z "$ac_c_werror_flag" ||
41505 test ! -s conftest.err
41506 } && test -s conftest
$ac_exeext &&
41507 $as_test_x conftest
$ac_exeext; then
41508 eval "$as_ac_var=yes"
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.
$ac_ext >&5
41513 eval "$as_ac_var=no"
41516 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41517 conftest
$ac_exeext conftest.
$ac_ext
41519 ac_res
=`eval echo '${'$as_ac_var'}'`
41520 { echo "$as_me:$LINENO: result: $ac_res" >&5
41521 echo "${ECHO_T}$ac_res" >&6; }
41522 if test `eval echo '${'$as_ac_var'}'` = yes; then
41523 cat >>confdefs.h
<<_ACEOF
41524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41526 cat >>confdefs.h
<<\_ACEOF
41527 #define HAVE_NANOSLEEP 1
41532 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41533 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41534 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41535 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 ac_check_lib_save_LIBS
=$LIBS
41538 LIBS
="-lposix4 $LIBS"
41539 cat >conftest.
$ac_ext <<_ACEOF
41542 cat confdefs.h
>>conftest.
$ac_ext
41543 cat >>conftest.
$ac_ext <<_ACEOF
41544 /* end confdefs.h. */
41546 /* Override any GCC internal prototype to avoid an error.
41547 Use char because int might match the return type of a GCC
41548 builtin and then its argument prototype would still apply. */
41556 return nanosleep ();
41561 rm -f conftest.
$ac_objext conftest
$ac_exeext
41562 if { (ac_try
="$ac_link"
41563 case "(($ac_try" in
41564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41565 *) ac_try_echo=$ac_try;;
41567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41568 (eval "$ac_link") 2>conftest.er1
41570 grep -v '^ *+' conftest.er1 >conftest.err
41572 cat conftest.err >&5
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); } && {
41575 test -z "$ac_c_werror_flag" ||
41576 test ! -s conftest.err
41577 } && test -s conftest$ac_exeext &&
41578 $as_test_x conftest$ac_exeext; then
41579 ac_cv_lib_posix4_nanosleep=yes
41581 echo "$as_me: failed program was:" >&5
41582 sed 's/^/| /' conftest.$ac_ext >&5
41584 ac_cv_lib_posix4_nanosleep=no
41587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41588 conftest$ac_exeext conftest.$ac_ext
41589 LIBS=$ac_check_lib_save_LIBS
41591 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41592 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41593 if test $ac_cv_lib_posix4_nanosleep = yes; then
41595 cat >>confdefs.h <<\_ACEOF
41596 #define HAVE_NANOSLEEP 1
41599 POSIX4_LINK=" -lposix4"
41604 for wx_func in usleep
41606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41609 echo $ECHO_N "(cached) $ECHO_C" >&6
41612 cat >conftest.$ac_ext <<_ACEOF
41616 cat confdefs.h >>conftest.$ac_ext
41617 cat >>conftest.$ac_ext <<_ACEOF
41618 /* end confdefs.h. */
41621 $ac_includes_default
41637 rm -f conftest.$ac_objext conftest$ac_exeext
41638 if { (ac_try="$ac_link"
41639 case "(($ac_try" in
41640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41641 *) ac_try_echo
=$ac_try;;
41643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41644 (eval "$ac_link") 2>conftest.er1
41646 grep -v '^ *+' conftest.er1
>conftest.err
41648 cat conftest.err
>&5
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); } && {
41651 test -z "$ac_c_werror_flag" ||
41652 test ! -s conftest.err
41653 } && test -s conftest
$ac_exeext &&
41654 $as_test_x conftest
$ac_exeext; then
41655 eval wx_cv_func_
$wx_func=yes
41657 echo "$as_me: failed program was:" >&5
41658 sed 's/^/| /' conftest.
$ac_ext >&5
41660 eval wx_cv_func_
$wx_func=no
41663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41664 conftest
$ac_exeext conftest.
$ac_ext
41667 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41668 { echo "$as_me:$LINENO: result: $ac_res" >&5
41669 echo "${ECHO_T}$ac_res" >&6; }
41671 if eval test \
$wx_cv_func_$wx_func = yes
41673 cat >>confdefs.h
<<_ACEOF
41674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41680 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41681 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41698 for wx_func
in uname
41700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41702 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41703 echo $ECHO_N "(cached) $ECHO_C" >&6
41706 cat >conftest.
$ac_ext <<_ACEOF
41710 cat confdefs.h
>>conftest.
$ac_ext
41711 cat >>conftest.
$ac_ext <<_ACEOF
41712 /* end confdefs.h. */
41714 #include <sys/utsname.h>
41715 $ac_includes_default
41731 rm -f conftest.
$ac_objext conftest
$ac_exeext
41732 if { (ac_try
="$ac_link"
41733 case "(($ac_try" in
41734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41735 *) ac_try_echo=$ac_try;;
41737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41738 (eval "$ac_link") 2>conftest.er1
41740 grep -v '^ *+' conftest.er1 >conftest.err
41742 cat conftest.err >&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } && {
41745 test -z "$ac_c_werror_flag" ||
41746 test ! -s conftest.err
41747 } && test -s conftest$ac_exeext &&
41748 $as_test_x conftest$ac_exeext; then
41749 eval wx_cv_func_$wx_func=yes
41751 echo "$as_me: failed program was:" >&5
41752 sed 's/^/| /' conftest.$ac_ext >&5
41754 eval wx_cv_func_$wx_func=no
41757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41758 conftest$ac_exeext conftest.$ac_ext
41761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41762 { echo "$as_me:$LINENO: result: $ac_res" >&5
41763 echo "${ECHO_T}$ac_res" >&6; }
41765 if eval test \$wx_cv_func_$wx_func = yes
41767 cat >>confdefs.h <<_ACEOF
41768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41778 if test "$wx_cv_func_uname" != yes; then
41780 for wx_func in gethostname
41782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41784 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41785 echo $ECHO_N "(cached) $ECHO_C" >&6
41788 cat >conftest.$ac_ext <<_ACEOF
41792 cat confdefs.h >>conftest.$ac_ext
41793 cat >>conftest.$ac_ext <<_ACEOF
41794 /* end confdefs.h. */
41797 $ac_includes_default
41813 rm -f conftest.$ac_objext conftest$ac_exeext
41814 if { (ac_try="$ac_link"
41815 case "(($ac_try" in
41816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41817 *) ac_try_echo
=$ac_try;;
41819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41820 (eval "$ac_link") 2>conftest.er1
41822 grep -v '^ *+' conftest.er1
>conftest.err
41824 cat conftest.err
>&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); } && {
41827 test -z "$ac_c_werror_flag" ||
41828 test ! -s conftest.err
41829 } && test -s conftest
$ac_exeext &&
41830 $as_test_x conftest
$ac_exeext; then
41831 eval wx_cv_func_
$wx_func=yes
41833 echo "$as_me: failed program was:" >&5
41834 sed 's/^/| /' conftest.
$ac_ext >&5
41836 eval wx_cv_func_
$wx_func=no
41839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41840 conftest
$ac_exeext conftest.
$ac_ext
41843 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41844 { echo "$as_me:$LINENO: result: $ac_res" >&5
41845 echo "${ECHO_T}$ac_res" >&6; }
41847 if eval test \
$wx_cv_func_$wx_func = yes
41849 cat >>confdefs.h
<<_ACEOF
41850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41863 for wx_func
in strtok_r
41865 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41866 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41867 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41871 cat >conftest.
$ac_ext <<_ACEOF
41875 cat confdefs.h
>>conftest.
$ac_ext
41876 cat >>conftest.
$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41880 $ac_includes_default
41896 rm -f conftest.
$ac_objext conftest
$ac_exeext
41897 if { (ac_try
="$ac_link"
41898 case "(($ac_try" in
41899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41900 *) ac_try_echo=$ac_try;;
41902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41903 (eval "$ac_link") 2>conftest.er1
41905 grep -v '^ *+' conftest.er1 >conftest.err
41907 cat conftest.err >&5
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); } && {
41910 test -z "$ac_c_werror_flag" ||
41911 test ! -s conftest.err
41912 } && test -s conftest$ac_exeext &&
41913 $as_test_x conftest$ac_exeext; then
41914 eval wx_cv_func_$wx_func=yes
41916 echo "$as_me: failed program was:" >&5
41917 sed 's/^/| /' conftest.$ac_ext >&5
41919 eval wx_cv_func_$wx_func=no
41922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41923 conftest$ac_exeext conftest.$ac_ext
41926 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41927 { echo "$as_me:$LINENO: result: $ac_res" >&5
41928 echo "${ECHO_T}$ac_res" >&6; }
41930 if eval test \$wx_cv_func_$wx_func = yes
41932 cat >>confdefs.h <<_ACEOF
41933 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41946 for ac_func in inet_addr
41948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41952 echo $ECHO_N "(cached) $ECHO_C" >&6
41954 cat >conftest.$ac_ext <<_ACEOF
41957 cat confdefs.h >>conftest.$ac_ext
41958 cat >>conftest.$ac_ext <<_ACEOF
41959 /* end confdefs.h. */
41960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41962 #define $ac_func innocuous_$ac_func
41964 /* System header to define __stub macros and hopefully few prototypes,
41965 which can conflict with char $ac_func (); below.
41966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41967 <limits.h> exists even on freestanding compilers. */
41970 # include <limits.h>
41972 # include <assert.h>
41977 /* Override any GCC internal prototype to avoid an error.
41978 Use char because int might match the return type of a GCC
41979 builtin and then its argument prototype would still apply. */
41984 /* The GNU C library defines this for functions which it implements
41985 to always fail with ENOSYS. Some functions are actually named
41986 something starting with __ and the normal name is an alias. */
41987 #if defined __stub_$ac_func || defined __stub___$ac_func
41994 return $ac_func ();
41999 rm -f conftest.$ac_objext conftest$ac_exeext
42000 if { (ac_try="$ac_link"
42001 case "(($ac_try" in
42002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42003 *) ac_try_echo
=$ac_try;;
42005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42006 (eval "$ac_link") 2>conftest.er1
42008 grep -v '^ *+' conftest.er1
>conftest.err
42010 cat conftest.err
>&5
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); } && {
42013 test -z "$ac_c_werror_flag" ||
42014 test ! -s conftest.err
42015 } && test -s conftest
$ac_exeext &&
42016 $as_test_x conftest
$ac_exeext; then
42017 eval "$as_ac_var=yes"
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.
$ac_ext >&5
42022 eval "$as_ac_var=no"
42025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42026 conftest
$ac_exeext conftest.
$ac_ext
42028 ac_res
=`eval echo '${'$as_ac_var'}'`
42029 { echo "$as_me:$LINENO: result: $ac_res" >&5
42030 echo "${ECHO_T}$ac_res" >&6; }
42031 if test `eval echo '${'$as_ac_var'}'` = yes; then
42032 cat >>confdefs.h
<<_ACEOF
42033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42035 cat >>confdefs.h
<<\_ACEOF
42036 #define HAVE_INET_ADDR 1
42041 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
42042 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
42043 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
42044 echo $ECHO_N "(cached) $ECHO_C" >&6
42046 ac_check_lib_save_LIBS
=$LIBS
42048 cat >conftest.
$ac_ext <<_ACEOF
42051 cat confdefs.h
>>conftest.
$ac_ext
42052 cat >>conftest.
$ac_ext <<_ACEOF
42053 /* end confdefs.h. */
42055 /* Override any GCC internal prototype to avoid an error.
42056 Use char because int might match the return type of a GCC
42057 builtin and then its argument prototype would still apply. */
42065 return inet_addr ();
42070 rm -f conftest.
$ac_objext conftest
$ac_exeext
42071 if { (ac_try
="$ac_link"
42072 case "(($ac_try" in
42073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42074 *) ac_try_echo=$ac_try;;
42076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42077 (eval "$ac_link") 2>conftest.er1
42079 grep -v '^ *+' conftest.er1 >conftest.err
42081 cat conftest.err >&5
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); } && {
42084 test -z "$ac_c_werror_flag" ||
42085 test ! -s conftest.err
42086 } && test -s conftest$ac_exeext &&
42087 $as_test_x conftest$ac_exeext; then
42088 ac_cv_lib_nsl_inet_addr=yes
42090 echo "$as_me: failed program was:" >&5
42091 sed 's/^/| /' conftest.$ac_ext >&5
42093 ac_cv_lib_nsl_inet_addr=no
42096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42097 conftest$ac_exeext conftest.$ac_ext
42098 LIBS=$ac_check_lib_save_LIBS
42100 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
42101 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
42102 if test $ac_cv_lib_nsl_inet_addr = yes; then
42106 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42107 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42108 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42109 echo $ECHO_N "(cached) $ECHO_C" >&6
42111 ac_check_lib_save_LIBS=$LIBS
42112 LIBS="-lresolv $LIBS"
42113 cat >conftest.$ac_ext <<_ACEOF
42116 cat confdefs.h >>conftest.$ac_ext
42117 cat >>conftest.$ac_ext <<_ACEOF
42118 /* end confdefs.h. */
42120 /* Override any GCC internal prototype to avoid an error.
42121 Use char because int might match the return type of a GCC
42122 builtin and then its argument prototype would still apply. */
42130 return inet_addr ();
42135 rm -f conftest.$ac_objext conftest$ac_exeext
42136 if { (ac_try="$ac_link"
42137 case "(($ac_try" in
42138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42139 *) ac_try_echo
=$ac_try;;
42141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42142 (eval "$ac_link") 2>conftest.er1
42144 grep -v '^ *+' conftest.er1
>conftest.err
42146 cat conftest.err
>&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } && {
42149 test -z "$ac_c_werror_flag" ||
42150 test ! -s conftest.err
42151 } && test -s conftest
$ac_exeext &&
42152 $as_test_x conftest
$ac_exeext; then
42153 ac_cv_lib_resolv_inet_addr
=yes
42155 echo "$as_me: failed program was:" >&5
42156 sed 's/^/| /' conftest.
$ac_ext >&5
42158 ac_cv_lib_resolv_inet_addr
=no
42161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42162 conftest
$ac_exeext conftest.
$ac_ext
42163 LIBS
=$ac_check_lib_save_LIBS
42165 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42166 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42167 if test $ac_cv_lib_resolv_inet_addr = yes; then
42171 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42172 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42173 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42174 echo $ECHO_N "(cached) $ECHO_C" >&6
42176 ac_check_lib_save_LIBS
=$LIBS
42177 LIBS
="-lsocket $LIBS"
42178 cat >conftest.
$ac_ext <<_ACEOF
42181 cat confdefs.h
>>conftest.
$ac_ext
42182 cat >>conftest.
$ac_ext <<_ACEOF
42183 /* end confdefs.h. */
42185 /* Override any GCC internal prototype to avoid an error.
42186 Use char because int might match the return type of a GCC
42187 builtin and then its argument prototype would still apply. */
42195 return inet_addr ();
42200 rm -f conftest.
$ac_objext conftest
$ac_exeext
42201 if { (ac_try
="$ac_link"
42202 case "(($ac_try" in
42203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42204 *) ac_try_echo=$ac_try;;
42206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42207 (eval "$ac_link") 2>conftest.er1
42209 grep -v '^ *+' conftest.er1 >conftest.err
42211 cat conftest.err >&5
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); } && {
42214 test -z "$ac_c_werror_flag" ||
42215 test ! -s conftest.err
42216 } && test -s conftest$ac_exeext &&
42217 $as_test_x conftest$ac_exeext; then
42218 ac_cv_lib_socket_inet_addr=yes
42220 echo "$as_me: failed program was:" >&5
42221 sed 's/^/| /' conftest.$ac_ext >&5
42223 ac_cv_lib_socket_inet_addr=no
42226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42227 conftest$ac_exeext conftest.$ac_ext
42228 LIBS=$ac_check_lib_save_LIBS
42230 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42231 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42232 if test $ac_cv_lib_socket_inet_addr = yes; then
42252 for ac_func in inet_aton
42254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42260 cat >conftest.$ac_ext <<_ACEOF
42263 cat confdefs.h >>conftest.$ac_ext
42264 cat >>conftest.$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42268 #define $ac_func innocuous_$ac_func
42270 /* System header to define __stub macros and hopefully few prototypes,
42271 which can conflict with char $ac_func (); below.
42272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42273 <limits.h> exists even on freestanding compilers. */
42276 # include <limits.h>
42278 # include <assert.h>
42283 /* Override any GCC internal prototype to avoid an error.
42284 Use char because int might match the return type of a GCC
42285 builtin and then its argument prototype would still apply. */
42290 /* The GNU C library defines this for functions which it implements
42291 to always fail with ENOSYS. Some functions are actually named
42292 something starting with __ and the normal name is an alias. */
42293 #if defined __stub_$ac_func || defined __stub___$ac_func
42300 return $ac_func ();
42305 rm -f conftest.$ac_objext conftest$ac_exeext
42306 if { (ac_try="$ac_link"
42307 case "(($ac_try" in
42308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42309 *) ac_try_echo
=$ac_try;;
42311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42312 (eval "$ac_link") 2>conftest.er1
42314 grep -v '^ *+' conftest.er1
>conftest.err
42316 cat conftest.err
>&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); } && {
42319 test -z "$ac_c_werror_flag" ||
42320 test ! -s conftest.err
42321 } && test -s conftest
$ac_exeext &&
42322 $as_test_x conftest
$ac_exeext; then
42323 eval "$as_ac_var=yes"
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.
$ac_ext >&5
42328 eval "$as_ac_var=no"
42331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42332 conftest
$ac_exeext conftest.
$ac_ext
42334 ac_res
=`eval echo '${'$as_ac_var'}'`
42335 { echo "$as_me:$LINENO: result: $ac_res" >&5
42336 echo "${ECHO_T}$ac_res" >&6; }
42337 if test `eval echo '${'$as_ac_var'}'` = yes; then
42338 cat >>confdefs.h
<<_ACEOF
42339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42341 cat >>confdefs.h
<<\_ACEOF
42342 #define HAVE_INET_ATON 1
42347 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42348 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42349 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42350 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42351 echo $ECHO_N "(cached) $ECHO_C" >&6
42353 ac_check_lib_save_LIBS
=$LIBS
42354 LIBS
="-l$INET_LINK $LIBS"
42355 cat >conftest.
$ac_ext <<_ACEOF
42358 cat confdefs.h
>>conftest.
$ac_ext
42359 cat >>conftest.
$ac_ext <<_ACEOF
42360 /* end confdefs.h. */
42362 /* Override any GCC internal prototype to avoid an error.
42363 Use char because int might match the return type of a GCC
42364 builtin and then its argument prototype would still apply. */
42372 return inet_aton ();
42377 rm -f conftest.
$ac_objext conftest
$ac_exeext
42378 if { (ac_try
="$ac_link"
42379 case "(($ac_try" in
42380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42381 *) ac_try_echo=$ac_try;;
42383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42384 (eval "$ac_link") 2>conftest.er1
42386 grep -v '^ *+' conftest.er1 >conftest.err
42388 cat conftest.err >&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); } && {
42391 test -z "$ac_c_werror_flag" ||
42392 test ! -s conftest.err
42393 } && test -s conftest$ac_exeext &&
42394 $as_test_x conftest$ac_exeext; then
42395 eval "$as_ac_Lib=yes"
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.$ac_ext >&5
42400 eval "$as_ac_Lib=no"
42403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42404 conftest$ac_exeext conftest.$ac_ext
42405 LIBS=$ac_check_lib_save_LIBS
42407 ac_res=`eval echo '${'$as_ac_Lib'}'`
42408 { echo "$as_me:$LINENO: result: $ac_res" >&5
42409 echo "${ECHO_T}$ac_res" >&6; }
42410 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42411 cat >>confdefs.h <<\_ACEOF
42412 #define HAVE_INET_ATON 1
42422 if test "x$INET_LINK" != "x"; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define HAVE_INET_ADDR 1
42427 INET_LINK=" -l$INET_LINK"
42431 for wx_func in fdopen
42433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42436 echo $ECHO_N "(cached) $ECHO_C" >&6
42439 cat >conftest.$ac_ext <<_ACEOF
42443 cat confdefs.h >>conftest.$ac_ext
42444 cat >>conftest.$ac_ext <<_ACEOF
42445 /* end confdefs.h. */
42448 $ac_includes_default
42464 rm -f conftest.$ac_objext conftest$ac_exeext
42465 if { (ac_try="$ac_link"
42466 case "(($ac_try" in
42467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42468 *) ac_try_echo
=$ac_try;;
42470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42471 (eval "$ac_link") 2>conftest.er1
42473 grep -v '^ *+' conftest.er1
>conftest.err
42475 cat conftest.err
>&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); } && {
42478 test -z "$ac_c_werror_flag" ||
42479 test ! -s conftest.err
42480 } && test -s conftest
$ac_exeext &&
42481 $as_test_x conftest
$ac_exeext; then
42482 eval wx_cv_func_
$wx_func=yes
42484 echo "$as_me: failed program was:" >&5
42485 sed 's/^/| /' conftest.
$ac_ext >&5
42487 eval wx_cv_func_
$wx_func=no
42490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42491 conftest
$ac_exeext conftest.
$ac_ext
42494 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42495 { echo "$as_me:$LINENO: result: $ac_res" >&5
42496 echo "${ECHO_T}$ac_res" >&6; }
42498 if eval test \
$wx_cv_func_$wx_func = yes
42500 cat >>confdefs.h
<<_ACEOF
42501 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42512 if test "$wxUSE_TARSTREAM" = "yes"; then
42514 for wx_func
in sysconf
42516 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42517 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42518 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42519 echo $ECHO_N "(cached) $ECHO_C" >&6
42522 cat >conftest.
$ac_ext <<_ACEOF
42526 cat confdefs.h
>>conftest.
$ac_ext
42527 cat >>conftest.
$ac_ext <<_ACEOF
42528 /* end confdefs.h. */
42531 $ac_includes_default
42547 rm -f conftest.
$ac_objext conftest
$ac_exeext
42548 if { (ac_try
="$ac_link"
42549 case "(($ac_try" in
42550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42551 *) ac_try_echo=$ac_try;;
42553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42554 (eval "$ac_link") 2>conftest.er1
42556 grep -v '^ *+' conftest.er1 >conftest.err
42558 cat conftest.err >&5
42559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560 (exit $ac_status); } && {
42561 test -z "$ac_c_werror_flag" ||
42562 test ! -s conftest.err
42563 } && test -s conftest$ac_exeext &&
42564 $as_test_x conftest$ac_exeext; then
42565 eval wx_cv_func_$wx_func=yes
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42570 eval wx_cv_func_$wx_func=no
42573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42574 conftest$ac_exeext conftest.$ac_ext
42577 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42578 { echo "$as_me:$LINENO: result: $ac_res" >&5
42579 echo "${ECHO_T}$ac_res" >&6; }
42581 if eval test \$wx_cv_func_$wx_func = yes
42583 cat >>confdefs.h <<_ACEOF
42584 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42596 for wx_func in getpwuid_r
42598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42601 echo $ECHO_N "(cached) $ECHO_C" >&6
42604 cat >conftest.$ac_ext <<_ACEOF
42608 cat confdefs.h >>conftest.$ac_ext
42609 cat >>conftest.$ac_ext <<_ACEOF
42610 /* end confdefs.h. */
42616 $ac_includes_default
42626 struct passwd pw, *ppw;
42628 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42636 rm -f conftest.$ac_objext conftest$ac_exeext
42637 if { (ac_try="$ac_link"
42638 case "(($ac_try" in
42639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42640 *) ac_try_echo
=$ac_try;;
42642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42643 (eval "$ac_link") 2>conftest.er1
42645 grep -v '^ *+' conftest.er1
>conftest.err
42647 cat conftest.err
>&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_c_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest
$ac_exeext &&
42653 $as_test_x conftest
$ac_exeext; then
42654 eval wx_cv_func_
$wx_func=yes
42656 echo "$as_me: failed program was:" >&5
42657 sed 's/^/| /' conftest.
$ac_ext >&5
42659 eval wx_cv_func_
$wx_func=no
42662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42663 conftest
$ac_exeext conftest.
$ac_ext
42666 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42667 { echo "$as_me:$LINENO: result: $ac_res" >&5
42668 echo "${ECHO_T}$ac_res" >&6; }
42670 if eval test \
$wx_cv_func_$wx_func = yes
42672 cat >>confdefs.h
<<_ACEOF
42673 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42685 for wx_func
in getgrgid_r
42687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42689 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42690 echo $ECHO_N "(cached) $ECHO_C" >&6
42693 cat >conftest.
$ac_ext <<_ACEOF
42697 cat confdefs.h
>>conftest.
$ac_ext
42698 cat >>conftest.
$ac_ext <<_ACEOF
42699 /* end confdefs.h. */
42705 $ac_includes_default
42715 struct group grp, *pgrp;
42717 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42725 rm -f conftest.
$ac_objext conftest
$ac_exeext
42726 if { (ac_try
="$ac_link"
42727 case "(($ac_try" in
42728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42729 *) ac_try_echo=$ac_try;;
42731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42732 (eval "$ac_link") 2>conftest.er1
42734 grep -v '^ *+' conftest.er1 >conftest.err
42736 cat conftest.err >&5
42737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42738 (exit $ac_status); } && {
42739 test -z "$ac_c_werror_flag" ||
42740 test ! -s conftest.err
42741 } && test -s conftest$ac_exeext &&
42742 $as_test_x conftest$ac_exeext; then
42743 eval wx_cv_func_$wx_func=yes
42745 echo "$as_me: failed program was:" >&5
42746 sed 's/^/| /' conftest.$ac_ext >&5
42748 eval wx_cv_func_$wx_func=no
42751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42752 conftest$ac_exeext conftest.$ac_ext
42755 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42756 { echo "$as_me:$LINENO: result: $ac_res" >&5
42757 echo "${ECHO_T}$ac_res" >&6; }
42759 if eval test \$wx_cv_func_$wx_func = yes
42761 cat >>confdefs.h <<_ACEOF
42762 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42778 cat >confcache <<\_ACEOF
42779 # This file is a shell script that caches the results of configure
42780 # tests run on this system so they can be shared between configure
42781 # scripts and configure runs, see configure's option --config-cache.
42782 # It is not useful on other systems. If it contains results you don't
42783 # want to keep, you may remove or edit it.
42785 # config.status only pays attention to the cache file if you give it
42786 # the --recheck option to rerun configure.
42788 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
42789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42790 # following values.
42794 # The following way of writing the cache mishandles newlines in values,
42795 # but we know of no workaround that is simple, portable, and efficient.
42796 # So, we kill variables containing newlines.
42797 # Ultrix sh set writes to stderr and can't be redirected directly,
42798 # and sets the high bit in the cache file unless we assign to the vars.
42800 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42801 eval ac_val
=\$
$ac_var
42805 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42809 _
| IFS
| as_nl
) ;; #(
42810 *) $as_unset $ac_var ;;
42816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42817 *${as_nl}ac_space
=\
*)
42818 # `set' does not quote correctly, so add quotes (double-quote
42819 # substitution turns \\\\ into \\, and sed turns \\ into \).
42822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42825 # `set' quotes correctly as required by POSIX, so do not add quotes.
42826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42839 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
42840 if test -w "$cache_file"; then
42841 test "x$cache_file" != "x/dev/null" &&
42842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42843 echo "$as_me: updating cache $cache_file" >&6;}
42844 cat confcache
>$cache_file
42846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42853 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42859 if test "$wxUSE_THREADS" = "yes" ; then
42860 if test "$USE_BEOS" = 1; then
42861 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42862 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42867 if test "$wxUSE_THREADS" = "yes" ; then
42870 THREAD_OPTS
="-pthread"
42871 if test "x$SUNCXX" = xyes
; then
42872 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
42876 *-*-solaris2* | *-*-sunos4* )
42877 if test "x$GCC" = "xyes"; then
42878 THREAD_OPTS
="-pthreads $THREAD_OPTS"
42882 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
42884 *-*-darwin* | *-*-cygwin* )
42888 THREAD_OPTS
="pthreads"
42891 if test "x$GCC" = "xyes"; then
42892 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
42900 if test "x$GCC" = "xyes"; then
42910 if test "x$GCC" != "xyes"; then
42911 THREAD_OPTS
="-Ethread"
42918 THREAD_OPTS
="none pthread"
42922 THREAD_OPTS
="$THREAD_OPTS pthread none"
42927 for flag
in $THREAD_OPTS; do
42930 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42931 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42935 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42936 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42937 THREADS_CFLAGS
="$flag"
42941 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42942 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42943 THREADS_LINK
="-l$flag"
42948 save_CFLAGS
="$CFLAGS"
42949 LIBS
="$THREADS_LINK $LIBS"
42950 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
42952 cat >conftest.
$ac_ext <<_ACEOF
42955 cat confdefs.h
>>conftest.
$ac_ext
42956 cat >>conftest.
$ac_ext <<_ACEOF
42957 /* end confdefs.h. */
42958 #include <pthread.h>
42962 pthread_create(0,0,0,0);
42967 rm -f conftest.
$ac_objext conftest
$ac_exeext
42968 if { (ac_try
="$ac_link"
42969 case "(($ac_try" in
42970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42971 *) ac_try_echo=$ac_try;;
42973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42974 (eval "$ac_link") 2>conftest.er1
42976 grep -v '^ *+' conftest.er1 >conftest.err
42978 cat conftest.err >&5
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); } && {
42981 test -z "$ac_c_werror_flag" ||
42982 test ! -s conftest.err
42983 } && test -s conftest$ac_exeext &&
42984 $as_test_x conftest$ac_exeext; then
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42994 conftest$ac_exeext conftest.$ac_ext
42997 CFLAGS="$save_CFLAGS"
42999 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
43000 echo "${ECHO_T}$THREADS_OK" >&6; }
43001 if test "x$THREADS_OK" = "xyes"; then
43009 if test "x$THREADS_OK" != "xyes"; then
43011 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
43012 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
43014 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
43015 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
43016 LIBS="$THREADS_LINK $LIBS"
43018 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
43019 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
43023 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
43024 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
43025 flag="-D_THREAD_SAFE"
43028 flag="-D_THREAD_SAFE"
43031 flag="-D_REENTRANT"
43032 if test "x$GCC" != "xyes"; then
43033 flag="$flag -D_RWSTD_MULTI_THREAD"
43036 *solaris* | alpha*-osf*)
43037 flag="-D_REENTRANT"
43040 { echo "$as_me:$LINENO: result: ${flag}" >&5
43041 echo "${ECHO_T}${flag}" >&6; }
43042 if test "x$flag" != xno; then
43043 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
43046 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
43050 if test "$wxUSE_THREADS" = "yes" ; then
43052 for ac_func in thr_setconcurrency
43054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43058 echo $ECHO_N "(cached) $ECHO_C" >&6
43060 cat >conftest.$ac_ext <<_ACEOF
43063 cat confdefs.h >>conftest.$ac_ext
43064 cat >>conftest.$ac_ext <<_ACEOF
43065 /* end confdefs.h. */
43066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43068 #define $ac_func innocuous_$ac_func
43070 /* System header to define __stub macros and hopefully few prototypes,
43071 which can conflict with char $ac_func (); below.
43072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43073 <limits.h> exists even on freestanding compilers. */
43076 # include <limits.h>
43078 # include <assert.h>
43083 /* Override any GCC internal prototype to avoid an error.
43084 Use char because int might match the return type of a GCC
43085 builtin and then its argument prototype would still apply. */
43090 /* The GNU C library defines this for functions which it implements
43091 to always fail with ENOSYS. Some functions are actually named
43092 something starting with __ and the normal name is an alias. */
43093 #if defined __stub_$ac_func || defined __stub___$ac_func
43100 return $ac_func ();
43105 rm -f conftest.$ac_objext conftest$ac_exeext
43106 if { (ac_try="$ac_link"
43107 case "(($ac_try" in
43108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43109 *) ac_try_echo
=$ac_try;;
43111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43112 (eval "$ac_link") 2>conftest.er1
43114 grep -v '^ *+' conftest.er1
>conftest.err
43116 cat conftest.err
>&5
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); } && {
43119 test -z "$ac_c_werror_flag" ||
43120 test ! -s conftest.err
43121 } && test -s conftest
$ac_exeext &&
43122 $as_test_x conftest
$ac_exeext; then
43123 eval "$as_ac_var=yes"
43125 echo "$as_me: failed program was:" >&5
43126 sed 's/^/| /' conftest.
$ac_ext >&5
43128 eval "$as_ac_var=no"
43131 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43132 conftest
$ac_exeext conftest.
$ac_ext
43134 ac_res
=`eval echo '${'$as_ac_var'}'`
43135 { echo "$as_me:$LINENO: result: $ac_res" >&5
43136 echo "${ECHO_T}$ac_res" >&6; }
43137 if test `eval echo '${'$as_ac_var'}'` = yes; then
43138 cat >>confdefs.h
<<_ACEOF
43139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43146 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43147 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43148 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43149 echo $ECHO_N "(cached) $ECHO_C" >&6
43153 ac_cpp
='$CXXCPP $CPPFLAGS'
43154 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43158 cat >conftest.
$ac_ext <<_ACEOF
43161 cat confdefs.h
>>conftest.
$ac_ext
43162 cat >>conftest.
$ac_ext <<_ACEOF
43163 /* end confdefs.h. */
43164 #include <pthread.h>
43165 void ThreadCleanupFunc(void *p);
43172 pthread_cleanup_push(ThreadCleanupFunc, p);
43173 pthread_cleanup_pop(0);
43179 rm -f conftest.
$ac_objext
43180 if { (ac_try
="$ac_compile"
43181 case "(($ac_try" in
43182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43183 *) ac_try_echo=$ac_try;;
43185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43186 (eval "$ac_compile") 2>conftest.er1
43188 grep -v '^ *+' conftest.er1 >conftest.err
43190 cat conftest.err >&5
43191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192 (exit $ac_status); } && {
43193 test -z "$ac_cxx_werror_flag" ||
43194 test ! -s conftest.err
43195 } && test -s conftest.$ac_objext; then
43197 wx_cv_func_pthread_cleanup=yes
43200 echo "$as_me: failed program was:" >&5
43201 sed 's/^/| /' conftest.$ac_ext >&5
43204 wx_cv_func_pthread_cleanup=no
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43218 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43219 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43220 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxHAVE_PTHREAD_CLEANUP 1
43228 for ac_header in sched.h
43230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43234 echo $ECHO_N "(cached) $ECHO_C" >&6
43236 cat >conftest.$ac_ext <<_ACEOF
43239 cat confdefs.h >>conftest.$ac_ext
43240 cat >>conftest.$ac_ext <<_ACEOF
43241 /* end confdefs.h. */
43242 $ac_includes_default
43244 #include <$ac_header>
43246 rm -f conftest.$ac_objext
43247 if { (ac_try="$ac_compile"
43248 case "(($ac_try" in
43249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43250 *) ac_try_echo
=$ac_try;;
43252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43253 (eval "$ac_compile") 2>conftest.er1
43255 grep -v '^ *+' conftest.er1
>conftest.err
43257 cat conftest.err
>&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); } && {
43260 test -z "$ac_c_werror_flag" ||
43261 test ! -s conftest.err
43262 } && test -s conftest.
$ac_objext; then
43263 eval "$as_ac_Header=yes"
43265 echo "$as_me: failed program was:" >&5
43266 sed 's/^/| /' conftest.
$ac_ext >&5
43268 eval "$as_ac_Header=no"
43271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43273 ac_res
=`eval echo '${'$as_ac_Header'}'`
43274 { echo "$as_me:$LINENO: result: $ac_res" >&5
43275 echo "${ECHO_T}$ac_res" >&6; }
43276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43277 cat >>confdefs.h
<<_ACEOF
43278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43285 if test "$ac_cv_header_sched_h" = "yes"; then
43286 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43287 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43288 if test "${ac_cv_func_sched_yield+set}" = set; then
43289 echo $ECHO_N "(cached) $ECHO_C" >&6
43291 cat >conftest.
$ac_ext <<_ACEOF
43294 cat confdefs.h
>>conftest.
$ac_ext
43295 cat >>conftest.
$ac_ext <<_ACEOF
43296 /* end confdefs.h. */
43297 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43299 #define sched_yield innocuous_sched_yield
43301 /* System header to define __stub macros and hopefully few prototypes,
43302 which can conflict with char sched_yield (); below.
43303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43304 <limits.h> exists even on freestanding compilers. */
43307 # include <limits.h>
43309 # include <assert.h>
43314 /* Override any GCC internal prototype to avoid an error.
43315 Use char because int might match the return type of a GCC
43316 builtin and then its argument prototype would still apply. */
43320 char sched_yield ();
43321 /* The GNU C library defines this for functions which it implements
43322 to always fail with ENOSYS. Some functions are actually named
43323 something starting with __ and the normal name is an alias. */
43324 #if defined __stub_sched_yield || defined __stub___sched_yield
43331 return sched_yield ();
43336 rm -f conftest.
$ac_objext conftest
$ac_exeext
43337 if { (ac_try
="$ac_link"
43338 case "(($ac_try" in
43339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43340 *) ac_try_echo=$ac_try;;
43342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43343 (eval "$ac_link") 2>conftest.er1
43345 grep -v '^ *+' conftest.er1 >conftest.err
43347 cat conftest.err >&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); } && {
43350 test -z "$ac_c_werror_flag" ||
43351 test ! -s conftest.err
43352 } && test -s conftest$ac_exeext &&
43353 $as_test_x conftest$ac_exeext; then
43354 ac_cv_func_sched_yield=yes
43356 echo "$as_me: failed program was:" >&5
43357 sed 's/^/| /' conftest.$ac_ext >&5
43359 ac_cv_func_sched_yield=no
43362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43363 conftest$ac_exeext conftest.$ac_ext
43365 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43366 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43367 if test $ac_cv_func_sched_yield = yes; then
43368 cat >>confdefs.h <<\_ACEOF
43369 #define HAVE_SCHED_YIELD 1
43374 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43375 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43376 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43377 echo $ECHO_N "(cached) $ECHO_C" >&6
43379 ac_check_lib_save_LIBS=$LIBS
43380 LIBS="-lposix4 $LIBS"
43381 cat >conftest.$ac_ext <<_ACEOF
43384 cat confdefs.h >>conftest.$ac_ext
43385 cat >>conftest.$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43388 /* Override any GCC internal prototype to avoid an error.
43389 Use char because int might match the return type of a GCC
43390 builtin and then its argument prototype would still apply. */
43394 char sched_yield ();
43398 return sched_yield ();
43403 rm -f conftest.$ac_objext conftest$ac_exeext
43404 if { (ac_try="$ac_link"
43405 case "(($ac_try" in
43406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43407 *) ac_try_echo
=$ac_try;;
43409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43410 (eval "$ac_link") 2>conftest.er1
43412 grep -v '^ *+' conftest.er1
>conftest.err
43414 cat conftest.err
>&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); } && {
43417 test -z "$ac_c_werror_flag" ||
43418 test ! -s conftest.err
43419 } && test -s conftest
$ac_exeext &&
43420 $as_test_x conftest
$ac_exeext; then
43421 ac_cv_lib_posix4_sched_yield
=yes
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.
$ac_ext >&5
43426 ac_cv_lib_posix4_sched_yield
=no
43429 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43430 conftest
$ac_exeext conftest.
$ac_ext
43431 LIBS
=$ac_check_lib_save_LIBS
43433 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43434 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43435 if test $ac_cv_lib_posix4_sched_yield = yes; then
43436 cat >>confdefs.h
<<\_ACEOF
43437 #define HAVE_SCHED_YIELD 1
43439 POSIX4_LINK
=" -lposix4"
43441 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43442 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43453 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43454 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43455 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43456 echo $ECHO_N "(cached) $ECHO_C" >&6
43458 cat >conftest.
$ac_ext <<_ACEOF
43461 cat confdefs.h
>>conftest.
$ac_ext
43462 cat >>conftest.
$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43464 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43466 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43468 /* System header to define __stub macros and hopefully few prototypes,
43469 which can conflict with char pthread_attr_getschedpolicy (); below.
43470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43471 <limits.h> exists even on freestanding compilers. */
43474 # include <limits.h>
43476 # include <assert.h>
43479 #undef pthread_attr_getschedpolicy
43481 /* Override any GCC internal prototype to avoid an error.
43482 Use char because int might match the return type of a GCC
43483 builtin and then its argument prototype would still apply. */
43487 char pthread_attr_getschedpolicy ();
43488 /* The GNU C library defines this for functions which it implements
43489 to always fail with ENOSYS. Some functions are actually named
43490 something starting with __ and the normal name is an alias. */
43491 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43498 return pthread_attr_getschedpolicy ();
43503 rm -f conftest.
$ac_objext conftest
$ac_exeext
43504 if { (ac_try
="$ac_link"
43505 case "(($ac_try" in
43506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43507 *) ac_try_echo=$ac_try;;
43509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43510 (eval "$ac_link") 2>conftest.er1
43512 grep -v '^ *+' conftest.er1 >conftest.err
43514 cat conftest.err >&5
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); } && {
43517 test -z "$ac_c_werror_flag" ||
43518 test ! -s conftest.err
43519 } && test -s conftest$ac_exeext &&
43520 $as_test_x conftest$ac_exeext; then
43521 ac_cv_func_pthread_attr_getschedpolicy=yes
43523 echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.$ac_ext >&5
43526 ac_cv_func_pthread_attr_getschedpolicy=no
43529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43530 conftest$ac_exeext conftest.$ac_ext
43532 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43533 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43534 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43535 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43536 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43537 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43538 echo $ECHO_N "(cached) $ECHO_C" >&6
43540 cat >conftest.$ac_ext <<_ACEOF
43543 cat confdefs.h >>conftest.$ac_ext
43544 cat >>conftest.$ac_ext <<_ACEOF
43545 /* end confdefs.h. */
43546 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43548 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43550 /* System header to define __stub macros and hopefully few prototypes,
43551 which can conflict with char pthread_attr_setschedparam (); below.
43552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43553 <limits.h> exists even on freestanding compilers. */
43556 # include <limits.h>
43558 # include <assert.h>
43561 #undef pthread_attr_setschedparam
43563 /* Override any GCC internal prototype to avoid an error.
43564 Use char because int might match the return type of a GCC
43565 builtin and then its argument prototype would still apply. */
43569 char pthread_attr_setschedparam ();
43570 /* The GNU C library defines this for functions which it implements
43571 to always fail with ENOSYS. Some functions are actually named
43572 something starting with __ and the normal name is an alias. */
43573 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43580 return pthread_attr_setschedparam ();
43585 rm -f conftest.$ac_objext conftest$ac_exeext
43586 if { (ac_try="$ac_link"
43587 case "(($ac_try" in
43588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43589 *) ac_try_echo
=$ac_try;;
43591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43592 (eval "$ac_link") 2>conftest.er1
43594 grep -v '^ *+' conftest.er1
>conftest.err
43596 cat conftest.err
>&5
43597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43598 (exit $ac_status); } && {
43599 test -z "$ac_c_werror_flag" ||
43600 test ! -s conftest.err
43601 } && test -s conftest
$ac_exeext &&
43602 $as_test_x conftest
$ac_exeext; then
43603 ac_cv_func_pthread_attr_setschedparam
=yes
43605 echo "$as_me: failed program was:" >&5
43606 sed 's/^/| /' conftest.
$ac_ext >&5
43608 ac_cv_func_pthread_attr_setschedparam
=no
43611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43612 conftest
$ac_exeext conftest.
$ac_ext
43614 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43615 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43616 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43617 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43618 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43619 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43620 echo $ECHO_N "(cached) $ECHO_C" >&6
43622 cat >conftest.
$ac_ext <<_ACEOF
43625 cat confdefs.h
>>conftest.
$ac_ext
43626 cat >>conftest.
$ac_ext <<_ACEOF
43627 /* end confdefs.h. */
43628 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43630 #define sched_get_priority_max innocuous_sched_get_priority_max
43632 /* System header to define __stub macros and hopefully few prototypes,
43633 which can conflict with char sched_get_priority_max (); below.
43634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43635 <limits.h> exists even on freestanding compilers. */
43638 # include <limits.h>
43640 # include <assert.h>
43643 #undef sched_get_priority_max
43645 /* Override any GCC internal prototype to avoid an error.
43646 Use char because int might match the return type of a GCC
43647 builtin and then its argument prototype would still apply. */
43651 char sched_get_priority_max ();
43652 /* The GNU C library defines this for functions which it implements
43653 to always fail with ENOSYS. Some functions are actually named
43654 something starting with __ and the normal name is an alias. */
43655 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43662 return sched_get_priority_max ();
43667 rm -f conftest.
$ac_objext conftest
$ac_exeext
43668 if { (ac_try
="$ac_link"
43669 case "(($ac_try" in
43670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43671 *) ac_try_echo=$ac_try;;
43673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43674 (eval "$ac_link") 2>conftest.er1
43676 grep -v '^ *+' conftest.er1 >conftest.err
43678 cat conftest.err >&5
43679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43680 (exit $ac_status); } && {
43681 test -z "$ac_c_werror_flag" ||
43682 test ! -s conftest.err
43683 } && test -s conftest$ac_exeext &&
43684 $as_test_x conftest$ac_exeext; then
43685 ac_cv_func_sched_get_priority_max=yes
43687 echo "$as_me: failed program was:" >&5
43688 sed 's/^/| /' conftest.$ac_ext >&5
43690 ac_cv_func_sched_get_priority_max=no
43693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43694 conftest$ac_exeext conftest.$ac_ext
43696 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43697 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43698 if test $ac_cv_func_sched_get_priority_max = yes; then
43701 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43702 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43703 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43704 echo $ECHO_N "(cached) $ECHO_C" >&6
43706 ac_check_lib_save_LIBS=$LIBS
43707 LIBS="-lposix4 $LIBS"
43708 cat >conftest.$ac_ext <<_ACEOF
43711 cat confdefs.h >>conftest.$ac_ext
43712 cat >>conftest.$ac_ext <<_ACEOF
43713 /* end confdefs.h. */
43715 /* Override any GCC internal prototype to avoid an error.
43716 Use char because int might match the return type of a GCC
43717 builtin and then its argument prototype would still apply. */
43721 char sched_get_priority_max ();
43725 return sched_get_priority_max ();
43730 rm -f conftest.$ac_objext conftest$ac_exeext
43731 if { (ac_try="$ac_link"
43732 case "(($ac_try" in
43733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43734 *) ac_try_echo
=$ac_try;;
43736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43737 (eval "$ac_link") 2>conftest.er1
43739 grep -v '^ *+' conftest.er1
>conftest.err
43741 cat conftest.err
>&5
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); } && {
43744 test -z "$ac_c_werror_flag" ||
43745 test ! -s conftest.err
43746 } && test -s conftest
$ac_exeext &&
43747 $as_test_x conftest
$ac_exeext; then
43748 ac_cv_lib_posix4_sched_get_priority_max
=yes
43750 echo "$as_me: failed program was:" >&5
43751 sed 's/^/| /' conftest.
$ac_ext >&5
43753 ac_cv_lib_posix4_sched_get_priority_max
=no
43756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43757 conftest
$ac_exeext conftest.
$ac_ext
43758 LIBS
=$ac_check_lib_save_LIBS
43760 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43761 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43762 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43765 POSIX4_LINK
=" -lposix4"
43779 if test "$HAVE_PRIOR_FUNCS" = 1; then
43780 cat >>confdefs.h
<<\_ACEOF
43781 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43785 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43786 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43789 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43790 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43791 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43794 cat >conftest.
$ac_ext <<_ACEOF
43797 cat confdefs.h
>>conftest.
$ac_ext
43798 cat >>conftest.
$ac_ext <<_ACEOF
43799 /* end confdefs.h. */
43800 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43802 #define pthread_cancel innocuous_pthread_cancel
43804 /* System header to define __stub macros and hopefully few prototypes,
43805 which can conflict with char pthread_cancel (); below.
43806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43807 <limits.h> exists even on freestanding compilers. */
43810 # include <limits.h>
43812 # include <assert.h>
43815 #undef pthread_cancel
43817 /* Override any GCC internal prototype to avoid an error.
43818 Use char because int might match the return type of a GCC
43819 builtin and then its argument prototype would still apply. */
43823 char pthread_cancel ();
43824 /* The GNU C library defines this for functions which it implements
43825 to always fail with ENOSYS. Some functions are actually named
43826 something starting with __ and the normal name is an alias. */
43827 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43834 return pthread_cancel ();
43839 rm -f conftest.
$ac_objext conftest
$ac_exeext
43840 if { (ac_try
="$ac_link"
43841 case "(($ac_try" in
43842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43843 *) ac_try_echo=$ac_try;;
43845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43846 (eval "$ac_link") 2>conftest.er1
43848 grep -v '^ *+' conftest.er1 >conftest.err
43850 cat conftest.err >&5
43851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852 (exit $ac_status); } && {
43853 test -z "$ac_c_werror_flag" ||
43854 test ! -s conftest.err
43855 } && test -s conftest$ac_exeext &&
43856 $as_test_x conftest$ac_exeext; then
43857 ac_cv_func_pthread_cancel=yes
43859 echo "$as_me: failed program was:" >&5
43860 sed 's/^/| /' conftest.$ac_ext >&5
43862 ac_cv_func_pthread_cancel=no
43865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43866 conftest$ac_exeext conftest.$ac_ext
43868 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43869 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43870 if test $ac_cv_func_pthread_cancel = yes; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define HAVE_PTHREAD_CANCEL 1
43876 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43877 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43881 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43882 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43883 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43884 echo $ECHO_N "(cached) $ECHO_C" >&6
43886 cat >conftest.$ac_ext <<_ACEOF
43889 cat confdefs.h >>conftest.$ac_ext
43890 cat >>conftest.$ac_ext <<_ACEOF
43891 /* end confdefs.h. */
43892 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43894 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43896 /* System header to define __stub macros and hopefully few prototypes,
43897 which can conflict with char pthread_mutex_timedlock (); below.
43898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43899 <limits.h> exists even on freestanding compilers. */
43902 # include <limits.h>
43904 # include <assert.h>
43907 #undef pthread_mutex_timedlock
43909 /* Override any GCC internal prototype to avoid an error.
43910 Use char because int might match the return type of a GCC
43911 builtin and then its argument prototype would still apply. */
43915 char pthread_mutex_timedlock ();
43916 /* The GNU C library defines this for functions which it implements
43917 to always fail with ENOSYS. Some functions are actually named
43918 something starting with __ and the normal name is an alias. */
43919 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43926 return pthread_mutex_timedlock ();
43931 rm -f conftest.$ac_objext conftest$ac_exeext
43932 if { (ac_try="$ac_link"
43933 case "(($ac_try" in
43934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43935 *) ac_try_echo
=$ac_try;;
43937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43938 (eval "$ac_link") 2>conftest.er1
43940 grep -v '^ *+' conftest.er1
>conftest.err
43942 cat conftest.err
>&5
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); } && {
43945 test -z "$ac_c_werror_flag" ||
43946 test ! -s conftest.err
43947 } && test -s conftest
$ac_exeext &&
43948 $as_test_x conftest
$ac_exeext; then
43949 ac_cv_func_pthread_mutex_timedlock
=yes
43951 echo "$as_me: failed program was:" >&5
43952 sed 's/^/| /' conftest.
$ac_ext >&5
43954 ac_cv_func_pthread_mutex_timedlock
=no
43957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43958 conftest
$ac_exeext conftest.
$ac_ext
43960 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43961 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43962 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43963 cat >>confdefs.h
<<\_ACEOF
43964 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43968 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43969 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43973 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43974 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43975 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43976 echo $ECHO_N "(cached) $ECHO_C" >&6
43978 cat >conftest.
$ac_ext <<_ACEOF
43981 cat confdefs.h
>>conftest.
$ac_ext
43982 cat >>conftest.
$ac_ext <<_ACEOF
43983 /* end confdefs.h. */
43984 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43986 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43988 /* System header to define __stub macros and hopefully few prototypes,
43989 which can conflict with char pthread_attr_setstacksize (); below.
43990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43991 <limits.h> exists even on freestanding compilers. */
43994 # include <limits.h>
43996 # include <assert.h>
43999 #undef pthread_attr_setstacksize
44001 /* Override any GCC internal prototype to avoid an error.
44002 Use char because int might match the return type of a GCC
44003 builtin and then its argument prototype would still apply. */
44007 char pthread_attr_setstacksize ();
44008 /* The GNU C library defines this for functions which it implements
44009 to always fail with ENOSYS. Some functions are actually named
44010 something starting with __ and the normal name is an alias. */
44011 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
44018 return pthread_attr_setstacksize ();
44023 rm -f conftest.
$ac_objext conftest
$ac_exeext
44024 if { (ac_try
="$ac_link"
44025 case "(($ac_try" in
44026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44027 *) ac_try_echo=$ac_try;;
44029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44030 (eval "$ac_link") 2>conftest.er1
44032 grep -v '^ *+' conftest.er1 >conftest.err
44034 cat conftest.err >&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); } && {
44037 test -z "$ac_c_werror_flag" ||
44038 test ! -s conftest.err
44039 } && test -s conftest$ac_exeext &&
44040 $as_test_x conftest$ac_exeext; then
44041 ac_cv_func_pthread_attr_setstacksize=yes
44043 echo "$as_me: failed program was:" >&5
44044 sed 's/^/| /' conftest.$ac_ext >&5
44046 ac_cv_func_pthread_attr_setstacksize=no
44049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44050 conftest$ac_exeext conftest.$ac_ext
44052 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44053 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44054 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44063 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44064 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44065 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44069 cat >conftest.$ac_ext <<_ACEOF
44072 cat confdefs.h >>conftest.$ac_ext
44073 cat >>conftest.$ac_ext <<_ACEOF
44074 /* end confdefs.h. */
44075 #include <pthread.h>
44080 pthread_mutexattr_t attr;
44081 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44087 rm -f conftest.$ac_objext
44088 if { (ac_try="$ac_compile"
44089 case "(($ac_try" in
44090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44091 *) ac_try_echo
=$ac_try;;
44093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44094 (eval "$ac_compile") 2>conftest.er1
44096 grep -v '^ *+' conftest.er1
>conftest.err
44098 cat conftest.err
>&5
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); } && {
44101 test -z "$ac_c_werror_flag" ||
44102 test ! -s conftest.err
44103 } && test -s conftest.
$ac_objext; then
44104 wx_cv_type_pthread_mutexattr_t
=yes
44106 echo "$as_me: failed program was:" >&5
44107 sed 's/^/| /' conftest.
$ac_ext >&5
44109 wx_cv_type_pthread_mutexattr_t
=no
44113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44116 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44117 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44119 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44120 cat >>confdefs.h
<<\_ACEOF
44121 #define HAVE_PTHREAD_MUTEXATTR_T 1
44125 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44126 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44127 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44128 echo $ECHO_N "(cached) $ECHO_C" >&6
44131 cat >conftest.
$ac_ext <<_ACEOF
44134 cat confdefs.h
>>conftest.
$ac_ext
44135 cat >>conftest.
$ac_ext <<_ACEOF
44136 /* end confdefs.h. */
44137 #include <pthread.h>
44142 pthread_mutexattr_t attr;
44143 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44149 rm -f conftest.
$ac_objext
44150 if { (ac_try
="$ac_compile"
44151 case "(($ac_try" in
44152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44153 *) ac_try_echo=$ac_try;;
44155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44156 (eval "$ac_compile") 2>conftest.er1
44158 grep -v '^ *+' conftest.er1 >conftest.err
44160 cat conftest.err >&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } && {
44163 test -z "$ac_c_werror_flag" ||
44164 test ! -s conftest.err
44165 } && test -s conftest.$ac_objext; then
44166 wx_cv_func_pthread_mutexattr_settype_decl=yes
44168 echo "$as_me: failed program was:" >&5
44169 sed 's/^/| /' conftest.$ac_ext >&5
44171 wx_cv_func_pthread_mutexattr_settype_decl=no
44175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44178 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44179 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44180 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44187 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44188 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44189 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44190 echo $ECHO_N "(cached) $ECHO_C" >&6
44193 cat >conftest.$ac_ext <<_ACEOF
44196 cat confdefs.h >>conftest.$ac_ext
44197 cat >>conftest.$ac_ext <<_ACEOF
44198 /* end confdefs.h. */
44199 #include <pthread.h>
44204 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44210 rm -f conftest.$ac_objext
44211 if { (ac_try="$ac_compile"
44212 case "(($ac_try" in
44213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44214 *) ac_try_echo
=$ac_try;;
44216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44217 (eval "$ac_compile") 2>conftest.er1
44219 grep -v '^ *+' conftest.er1
>conftest.err
44221 cat conftest.err
>&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); } && {
44224 test -z "$ac_c_werror_flag" ||
44225 test ! -s conftest.err
44226 } && test -s conftest.
$ac_objext; then
44228 wx_cv_type_pthread_rec_mutex_init
=yes
44231 echo "$as_me: failed program was:" >&5
44232 sed 's/^/| /' conftest.
$ac_ext >&5
44235 wx_cv_type_pthread_rec_mutex_init
=no
44240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44243 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44244 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44245 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44246 cat >>confdefs.h
<<\_ACEOF
44247 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44251 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44252 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44256 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44257 if test "$USE_NETBSD" = 1; then
44258 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44259 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44260 wxUSE_COMPILER_TLS
=no
44262 wxUSE_COMPILER_TLS
=yes
44266 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44267 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44268 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44269 if test "${wx_cv_cc___thread+set}" = set; then
44270 echo $ECHO_N "(cached) $ECHO_C" >&6
44273 cat >conftest.
$ac_ext <<_ACEOF
44276 cat confdefs.h
>>conftest.
$ac_ext
44277 cat >>conftest.
$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44279 #include <pthread.h>
44284 static __thread int n = 0;
44285 static __thread int *p = 0;
44291 rm -f conftest.
$ac_objext
44292 if { (ac_try
="$ac_compile"
44293 case "(($ac_try" in
44294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44295 *) ac_try_echo=$ac_try;;
44297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44298 (eval "$ac_compile") 2>conftest.er1
44300 grep -v '^ *+' conftest.er1 >conftest.err
44302 cat conftest.err >&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); } && {
44305 test -z "$ac_c_werror_flag" ||
44306 test ! -s conftest.err
44307 } && test -s conftest.$ac_objext; then
44308 wx_cv_cc___thread=yes
44310 echo "$as_me: failed program was:" >&5
44311 sed 's/^/| /' conftest.$ac_ext >&5
44313 wx_cv_cc___thread=no
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44321 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44322 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44324 if test "$wx_cv_cc___thread" = "yes"; then
44330 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44331 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44333 if test "x$GCC" = "xyes" ; then
44335 if test -z "" ; then
44337 ax_gcc_option_test="int main()
44344 ax_gcc_option_test=""
44349 # Dump the test program to file
44350 cat <<EOF > conftest.c
44351 $ax_gcc_option_test
44354 # Dump back the file to the log, useful for debugging purposes
44355 { ac_try='cat conftest.c 1>&5'
44356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44357 (eval $ac_try) 2>&5
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; }
44362 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44364 (eval $ac_try) 2>&5
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); }; } ; then
44369 { echo "$as_me:$LINENO: result: yes" >&5
44370 echo "${ECHO_T}yes" >&6; }
44372 ax_gcc_version_option=yes
44377 { echo "$as_me:$LINENO: result: no" >&5
44378 echo "${ECHO_T}no" >&6; }
44380 ax_gcc_version_option=no
44388 { echo "$as_me:$LINENO: result: no gcc available" >&5
44389 echo "${ECHO_T}no gcc available" >&6; }
44394 if test "x$GXX" = "xyes"; then
44396 if test "x$ax_gxx_version_option" != "no"; then
44398 { echo "$as_me:$LINENO: checking gxx version" >&5
44399 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44400 if test "${ax_cv_gxx_version+set}" = set; then
44401 echo $ECHO_N "(cached) $ECHO_C" >&6
44404 ax_cv_gxx_version="`$CXX -dumpversion`"
44405 if test "x$ax_cv_gxx_version" = "x"; then
44407 ax_cv_gxx_version=""
44413 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44414 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44415 GXX_VERSION=$ax_cv_gxx_version
44424 if test -n "$ax_cv_gxx_version"; then
44425 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44426 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44427 case "$ax_cv_gxx_version" in
44429 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44430 echo "${ECHO_T}no, it's broken" >&6; }
44431 wx_cv_cc___thread=no
44434 { echo "$as_me:$LINENO: result: yes, it works" >&5
44435 echo "${ECHO_T}yes, it works" >&6; }
44441 if test "$wx_cv_cc___thread" = "yes"; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define HAVE___THREAD_KEYWORD 1
44451 if test "$wxUSE_THREADS" = "yes" ; then
44453 x86_64-*-mingw32* )
44456 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44457 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44458 if test "${wx_cv_cflags_mthread+set}" = set; then
44459 echo $ECHO_N "(cached) $ECHO_C" >&6
44462 CFLAGS_OLD="$CFLAGS"
44463 CFLAGS="-mthreads $CFLAGS"
44464 cat >conftest.$ac_ext <<_ACEOF
44467 cat confdefs.h >>conftest.$ac_ext
44468 cat >>conftest.$ac_ext <<_ACEOF
44469 /* end confdefs.h. */
44479 rm -f conftest.$ac_objext
44480 if { (ac_try="$ac_compile"
44481 case "(($ac_try" in
44482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44483 *) ac_try_echo
=$ac_try;;
44485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44486 (eval "$ac_compile") 2>conftest.er1
44488 grep -v '^ *+' conftest.er1
>conftest.err
44490 cat conftest.err
>&5
44491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492 (exit $ac_status); } && {
44493 test -z "$ac_c_werror_flag" ||
44494 test ! -s conftest.err
44495 } && test -s conftest.
$ac_objext; then
44496 wx_cv_cflags_mthread
=yes
44498 echo "$as_me: failed program was:" >&5
44499 sed 's/^/| /' conftest.
$ac_ext >&5
44501 wx_cv_cflags_mthread
=no
44505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44509 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44510 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44512 if test "$wx_cv_cflags_mthread" = "yes"; then
44513 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
44514 LDFLAGS
="$LDFLAGS -mthreads"
44516 CFLAGS
="$CFLAGS_OLD"
44520 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44521 LDFLAGS
="$LDFLAGS -Zmt"
44527 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44528 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44529 if test "${ac_cv_func_localtime_r+set}" = set; then
44530 echo $ECHO_N "(cached) $ECHO_C" >&6
44532 cat >conftest.
$ac_ext <<_ACEOF
44535 cat confdefs.h
>>conftest.
$ac_ext
44536 cat >>conftest.
$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44538 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44540 #define localtime_r innocuous_localtime_r
44542 /* System header to define __stub macros and hopefully few prototypes,
44543 which can conflict with char localtime_r (); below.
44544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44545 <limits.h> exists even on freestanding compilers. */
44548 # include <limits.h>
44550 # include <assert.h>
44555 /* Override any GCC internal prototype to avoid an error.
44556 Use char because int might match the return type of a GCC
44557 builtin and then its argument prototype would still apply. */
44561 char localtime_r ();
44562 /* The GNU C library defines this for functions which it implements
44563 to always fail with ENOSYS. Some functions are actually named
44564 something starting with __ and the normal name is an alias. */
44565 #if defined __stub_localtime_r || defined __stub___localtime_r
44572 return localtime_r ();
44577 rm -f conftest.
$ac_objext conftest
$ac_exeext
44578 if { (ac_try
="$ac_link"
44579 case "(($ac_try" in
44580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44581 *) ac_try_echo=$ac_try;;
44583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44584 (eval "$ac_link") 2>conftest.er1
44586 grep -v '^ *+' conftest.er1 >conftest.err
44588 cat conftest.err >&5
44589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590 (exit $ac_status); } && {
44591 test -z "$ac_c_werror_flag" ||
44592 test ! -s conftest.err
44593 } && test -s conftest$ac_exeext &&
44594 $as_test_x conftest$ac_exeext; then
44595 ac_cv_func_localtime_r=yes
44597 echo "$as_me: failed program was:" >&5
44598 sed 's/^/| /' conftest.$ac_ext >&5
44600 ac_cv_func_localtime_r=no
44603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44604 conftest$ac_exeext conftest.$ac_ext
44606 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44607 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44608 if test $ac_cv_func_localtime_r = yes; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define HAVE_LOCALTIME_R 1
44615 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44616 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44617 if test "${ac_cv_func_gmtime_r+set}" = set; then
44618 echo $ECHO_N "(cached) $ECHO_C" >&6
44620 cat >conftest.$ac_ext <<_ACEOF
44623 cat confdefs.h >>conftest.$ac_ext
44624 cat >>conftest.$ac_ext <<_ACEOF
44625 /* end confdefs.h. */
44626 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44628 #define gmtime_r innocuous_gmtime_r
44630 /* System header to define __stub macros and hopefully few prototypes,
44631 which can conflict with char gmtime_r (); below.
44632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44633 <limits.h> exists even on freestanding compilers. */
44636 # include <limits.h>
44638 # include <assert.h>
44643 /* Override any GCC internal prototype to avoid an error.
44644 Use char because int might match the return type of a GCC
44645 builtin and then its argument prototype would still apply. */
44650 /* The GNU C library defines this for functions which it implements
44651 to always fail with ENOSYS. Some functions are actually named
44652 something starting with __ and the normal name is an alias. */
44653 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44660 return gmtime_r ();
44665 rm -f conftest.$ac_objext conftest$ac_exeext
44666 if { (ac_try="$ac_link"
44667 case "(($ac_try" in
44668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44669 *) ac_try_echo
=$ac_try;;
44671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44672 (eval "$ac_link") 2>conftest.er1
44674 grep -v '^ *+' conftest.er1
>conftest.err
44676 cat conftest.err
>&5
44677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44678 (exit $ac_status); } && {
44679 test -z "$ac_c_werror_flag" ||
44680 test ! -s conftest.err
44681 } && test -s conftest
$ac_exeext &&
44682 $as_test_x conftest
$ac_exeext; then
44683 ac_cv_func_gmtime_r
=yes
44685 echo "$as_me: failed program was:" >&5
44686 sed 's/^/| /' conftest.
$ac_ext >&5
44688 ac_cv_func_gmtime_r
=no
44691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44692 conftest
$ac_exeext conftest.
$ac_ext
44694 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44695 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44696 if test $ac_cv_func_gmtime_r = yes; then
44697 cat >>confdefs.h
<<\_ACEOF
44698 #define HAVE_GMTIME_R 1
44707 ac_cpp
='$CPP $CPPFLAGS'
44708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44712 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44713 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44715 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44716 echo $ECHO_N "(cached) $ECHO_C" >&6
44720 ################################################################
44722 ac_cv_func_which_gethostbyname_r
=unknown
44725 # ONE ARGUMENT (sanity check)
44728 # This should fail, as there is no variant of gethostbyname_r() that takes
44729 # a single argument. If it actually compiles, then we can assume that
44730 # netdb.h is not declaring the function, and the compiler is thereby
44731 # assuming an implicit prototype. In which case, we're out of luck.
44733 cat >conftest.
$ac_ext <<_ACEOF
44736 cat confdefs.h
>>conftest.
$ac_ext
44737 cat >>conftest.
$ac_ext <<_ACEOF
44738 /* end confdefs.h. */
44744 char *name = "www.gnu.org";
44745 (void)gethostbyname_r(name) /* ; */
44752 rm -f conftest.
$ac_objext
44753 if { (ac_try
="$ac_compile"
44754 case "(($ac_try" in
44755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44756 *) ac_try_echo=$ac_try;;
44758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44759 (eval "$ac_compile") 2>conftest.er1
44761 grep -v '^ *+' conftest.er1 >conftest.err
44763 cat conftest.err >&5
44764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44765 (exit $ac_status); } && {
44766 test -z "$ac_c_werror_flag" ||
44767 test ! -s conftest.err
44768 } && test -s conftest.$ac_objext; then
44769 ac_cv_func_which_gethostbyname_r=no
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.$ac_ext >&5
44778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44785 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44787 cat >conftest.$ac_ext <<_ACEOF
44790 cat confdefs.h >>conftest.$ac_ext
44791 cat >>conftest.$ac_ext <<_ACEOF
44792 /* end confdefs.h. */
44798 char *name = "www.gnu.org";
44799 struct hostent ret, *retp;
44803 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44810 rm -f conftest.$ac_objext
44811 if { (ac_try="$ac_compile"
44812 case "(($ac_try" in
44813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44814 *) ac_try_echo
=$ac_try;;
44816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44817 (eval "$ac_compile") 2>conftest.er1
44819 grep -v '^ *+' conftest.er1
>conftest.err
44821 cat conftest.err
>&5
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); } && {
44824 test -z "$ac_c_werror_flag" ||
44825 test ! -s conftest.err
44826 } && test -s conftest.
$ac_objext; then
44827 ac_cv_func_which_gethostbyname_r
=six
44830 echo "$as_me: failed program was:" >&5
44831 sed 's/^/| /' conftest.
$ac_ext >&5
44836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44845 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44847 cat >conftest.
$ac_ext <<_ACEOF
44850 cat confdefs.h
>>conftest.
$ac_ext
44851 cat >>conftest.
$ac_ext <<_ACEOF
44852 /* end confdefs.h. */
44858 char *name = "www.gnu.org";
44859 struct hostent ret;
44863 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44870 rm -f conftest.
$ac_objext
44871 if { (ac_try
="$ac_compile"
44872 case "(($ac_try" in
44873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44874 *) ac_try_echo=$ac_try;;
44876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44877 (eval "$ac_compile") 2>conftest.er1
44879 grep -v '^ *+' conftest.er1 >conftest.err
44881 cat conftest.err >&5
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); } && {
44884 test -z "$ac_c_werror_flag" ||
44885 test ! -s conftest.err
44886 } && test -s conftest.$ac_objext; then
44887 ac_cv_func_which_gethostbyname_r=five
44890 echo "$as_me: failed program was:" >&5
44891 sed 's/^/| /' conftest.$ac_ext >&5
44896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44902 # (e.g. AIX, HP-UX, Tru64)
44905 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44907 cat >conftest.$ac_ext <<_ACEOF
44910 cat confdefs.h >>conftest.$ac_ext
44911 cat >>conftest.$ac_ext <<_ACEOF
44912 /* end confdefs.h. */
44918 char *name = "www.gnu.org";
44919 struct hostent ret;
44920 struct hostent_data data;
44921 (void)gethostbyname_r(name, &ret, &data) /* ; */
44928 rm -f conftest.$ac_objext
44929 if { (ac_try="$ac_compile"
44930 case "(($ac_try" in
44931 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44932 *) ac_try_echo
=$ac_try;;
44934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44935 (eval "$ac_compile") 2>conftest.er1
44937 grep -v '^ *+' conftest.er1
>conftest.err
44939 cat conftest.err
>&5
44940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44941 (exit $ac_status); } && {
44942 test -z "$ac_c_werror_flag" ||
44943 test ! -s conftest.err
44944 } && test -s conftest.
$ac_objext; then
44945 ac_cv_func_which_gethostbyname_r
=three
44948 echo "$as_me: failed program was:" >&5
44949 sed 's/^/| /' conftest.
$ac_ext >&5
44954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44958 ################################################################
44963 case "$ac_cv_func_which_gethostbyname_r" in
44965 { echo "$as_me:$LINENO: result: three" >&5
44966 echo "${ECHO_T}three" >&6; }
44967 cat >>confdefs.h
<<\_ACEOF
44968 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44974 { echo "$as_me:$LINENO: result: five" >&5
44975 echo "${ECHO_T}five" >&6; }
44976 cat >>confdefs.h
<<\_ACEOF
44977 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44983 { echo "$as_me:$LINENO: result: six" >&5
44984 echo "${ECHO_T}six" >&6; }
44985 cat >>confdefs.h
<<\_ACEOF
44986 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44992 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44993 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44997 { echo "$as_me:$LINENO: result: can't tell" >&5
44998 echo "${ECHO_T}can't tell" >&6; }
45002 { { echo "$as_me:$LINENO: error: internal error" >&5
45003 echo "$as_me: error: internal error" >&2;}
45004 { (exit 1); exit 1; }; }
45009 ac_cpp
='$CPP $CPPFLAGS'
45010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45016 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
45017 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
45018 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
45019 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
45020 if test "${ac_cv_func_gethostbyname+set}" = set; then
45021 echo $ECHO_N "(cached) $ECHO_C" >&6
45023 cat >conftest.
$ac_ext <<_ACEOF
45026 cat confdefs.h
>>conftest.
$ac_ext
45027 cat >>conftest.
$ac_ext <<_ACEOF
45028 /* end confdefs.h. */
45029 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45031 #define gethostbyname innocuous_gethostbyname
45033 /* System header to define __stub macros and hopefully few prototypes,
45034 which can conflict with char gethostbyname (); below.
45035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45036 <limits.h> exists even on freestanding compilers. */
45039 # include <limits.h>
45041 # include <assert.h>
45044 #undef gethostbyname
45046 /* Override any GCC internal prototype to avoid an error.
45047 Use char because int might match the return type of a GCC
45048 builtin and then its argument prototype would still apply. */
45052 char gethostbyname ();
45053 /* The GNU C library defines this for functions which it implements
45054 to always fail with ENOSYS. Some functions are actually named
45055 something starting with __ and the normal name is an alias. */
45056 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45063 return gethostbyname ();
45068 rm -f conftest.
$ac_objext conftest
$ac_exeext
45069 if { (ac_try
="$ac_link"
45070 case "(($ac_try" in
45071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45072 *) ac_try_echo=$ac_try;;
45074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45075 (eval "$ac_link") 2>conftest.er1
45077 grep -v '^ *+' conftest.er1 >conftest.err
45079 cat conftest.err >&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); } && {
45082 test -z "$ac_c_werror_flag" ||
45083 test ! -s conftest.err
45084 } && test -s conftest$ac_exeext &&
45085 $as_test_x conftest$ac_exeext; then
45086 ac_cv_func_gethostbyname=yes
45088 echo "$as_me: failed program was:" >&5
45089 sed 's/^/| /' conftest.$ac_ext >&5
45091 ac_cv_func_gethostbyname=no
45094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45095 conftest$ac_exeext conftest.$ac_ext
45097 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45098 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45099 if test $ac_cv_func_gethostbyname = yes; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define HAVE_GETHOSTBYNAME 1
45108 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45109 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45110 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45111 echo $ECHO_N "(cached) $ECHO_C" >&6
45115 ac_cpp='$CXXCPP $CPPFLAGS'
45116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45121 cat >conftest.$ac_ext <<_ACEOF
45124 cat confdefs.h >>conftest.$ac_ext
45125 cat >>conftest.$ac_ext <<_ACEOF
45126 /* end confdefs.h. */
45134 struct servent *se, *res;
45137 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45143 rm -f conftest.$ac_objext
45144 if { (ac_try="$ac_compile"
45145 case "(($ac_try" in
45146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45147 *) ac_try_echo
=$ac_try;;
45149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45150 (eval "$ac_compile") 2>conftest.er1
45152 grep -v '^ *+' conftest.er1
>conftest.err
45154 cat conftest.err
>&5
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); } && {
45157 test -z "$ac_cxx_werror_flag" ||
45158 test ! -s conftest.err
45159 } && test -s conftest.
$ac_objext; then
45160 ac_cv_func_which_getservbyname_r
=six
45162 echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.
$ac_ext >&5
45166 cat >conftest.
$ac_ext <<_ACEOF
45169 cat confdefs.h
>>conftest.
$ac_ext
45170 cat >>conftest.
$ac_ext <<_ACEOF
45171 /* end confdefs.h. */
45179 struct servent *se;
45182 (void) getservbyname_r(name, proto, se, buffer, buflen)
45188 rm -f conftest.
$ac_objext
45189 if { (ac_try
="$ac_compile"
45190 case "(($ac_try" in
45191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45192 *) ac_try_echo=$ac_try;;
45194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45195 (eval "$ac_compile") 2>conftest.er1
45197 grep -v '^ *+' conftest.er1 >conftest.err
45199 cat conftest.err >&5
45200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45201 (exit $ac_status); } && {
45202 test -z "$ac_cxx_werror_flag" ||
45203 test ! -s conftest.err
45204 } && test -s conftest.$ac_objext; then
45205 ac_cv_func_which_getservbyname_r=five
45207 echo "$as_me: failed program was:" >&5
45208 sed 's/^/| /' conftest.$ac_ext >&5
45211 cat >conftest.$ac_ext <<_ACEOF
45214 cat confdefs.h >>conftest.$ac_ext
45215 cat >>conftest.$ac_ext <<_ACEOF
45216 /* end confdefs.h. */
45224 struct servent *se;
45225 struct servent_data data;
45226 (void) getservbyname_r(name, proto, se, &data);
45232 rm -f conftest.$ac_objext
45233 if { (ac_try="$ac_compile"
45234 case "(($ac_try" in
45235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45236 *) ac_try_echo
=$ac_try;;
45238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45239 (eval "$ac_compile") 2>conftest.er1
45241 grep -v '^ *+' conftest.er1
>conftest.err
45243 cat conftest.err
>&5
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); } && {
45246 test -z "$ac_cxx_werror_flag" ||
45247 test ! -s conftest.err
45248 } && test -s conftest.
$ac_objext; then
45249 ac_cv_func_which_getservbyname_r
=four
45251 echo "$as_me: failed program was:" >&5
45252 sed 's/^/| /' conftest.
$ac_ext >&5
45254 ac_cv_func_which_getservbyname_r
=no
45258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45270 ac_cpp
='$CPP $CPPFLAGS'
45271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45278 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45279 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45281 if test $ac_cv_func_which_getservbyname_r = six
; then
45282 cat >>confdefs.h
<<\_ACEOF
45283 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45286 elif test $ac_cv_func_which_getservbyname_r = five
; then
45287 cat >>confdefs.h
<<\_ACEOF
45288 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45291 elif test $ac_cv_func_which_getservbyname_r = four
; then
45292 cat >>confdefs.h
<<\_ACEOF
45293 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45299 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45300 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45302 for ac_func
in getservbyname
45304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45307 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45308 echo $ECHO_N "(cached) $ECHO_C" >&6
45310 cat >conftest.
$ac_ext <<_ACEOF
45313 cat confdefs.h
>>conftest.
$ac_ext
45314 cat >>conftest.
$ac_ext <<_ACEOF
45315 /* end confdefs.h. */
45316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45318 #define $ac_func innocuous_$ac_func
45320 /* System header to define __stub macros and hopefully few prototypes,
45321 which can conflict with char $ac_func (); below.
45322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45323 <limits.h> exists even on freestanding compilers. */
45326 # include <limits.h>
45328 # include <assert.h>
45333 /* Override any GCC internal prototype to avoid an error.
45334 Use char because int might match the return type of a GCC
45335 builtin and then its argument prototype would still apply. */
45340 /* The GNU C library defines this for functions which it implements
45341 to always fail with ENOSYS. Some functions are actually named
45342 something starting with __ and the normal name is an alias. */
45343 #if defined __stub_$ac_func || defined __stub___$ac_func
45350 return $ac_func ();
45355 rm -f conftest.
$ac_objext conftest
$ac_exeext
45356 if { (ac_try
="$ac_link"
45357 case "(($ac_try" in
45358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45359 *) ac_try_echo=$ac_try;;
45361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45362 (eval "$ac_link") 2>conftest.er1
45364 grep -v '^ *+' conftest.er1 >conftest.err
45366 cat conftest.err >&5
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); } && {
45369 test -z "$ac_c_werror_flag" ||
45370 test ! -s conftest.err
45371 } && test -s conftest$ac_exeext &&
45372 $as_test_x conftest$ac_exeext; then
45373 eval "$as_ac_var=yes"
45375 echo "$as_me: failed program was:" >&5
45376 sed 's/^/| /' conftest.$ac_ext >&5
45378 eval "$as_ac_var=no"
45381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45382 conftest$ac_exeext conftest.$ac_ext
45384 ac_res=`eval echo '${'$as_ac_var'}'`
45385 { echo "$as_me:$LINENO: result: $ac_res" >&5
45386 echo "${ECHO_T}$ac_res" >&6; }
45387 if test `eval echo '${'$as_ac_var'}'` = yes; then
45388 cat >>confdefs.h <<_ACEOF
45389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45391 cat >>confdefs.h <<\_ACEOF
45392 #define HAVE_GETSERVBYNAME 1
45400 if test "$wxUSE_THREADS" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_THREADS 1
45406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45408 if test "$wx_cv_func_strtok_r" = "yes"; then
45409 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45410 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45411 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45412 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45413 { echo "$as_me:$LINENO: result: yes" >&5
45414 echo "${ECHO_T}yes" >&6; }
45416 { echo "$as_me:$LINENO: result: no" >&5
45417 echo "${ECHO_T}no" >&6; }
45422 if test "$WXGTK2" = 1 ; then
45423 cat >>confdefs.h <<_ACEOF
45424 #define __WXGTK20__ $WXGTK2
45429 if test "$WXGTK127" = 1 ; then
45430 cat >>confdefs.h <<_ACEOF
45431 #define __WXGTK127__ $WXGTK127
45436 if test "$WXGPE" = 1 ; then
45437 cat >>confdefs.h <<_ACEOF
45438 #define __WXGPE__ $WXGPE
45444 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
45445 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45446 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45447 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45451 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45452 wxUSE_DEBUG_INFO=yes
45453 if test "$GCC" = yes; then
45454 DEBUG_CFLAGS="-ggdb"
45458 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45459 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45461 if test "$wxUSE_GTK" = 1 ; then
45462 if test "x$wxGTK_VERSION" = "x1" ; then
45463 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45465 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45470 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_MEMORY_TRACING 1
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45479 cat >>confdefs.h <<\_ACEOF
45480 #define wxUSE_DEBUG_NEW_ALWAYS 1
45483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45486 if test "$wxUSE_DMALLOC" = "yes" ; then
45487 DMALLOC_LIBS="-ldmallocthcxx"
45491 if test "$wxUSE_PROFILE" = "yes" ; then
45492 PROFILE_FLAGS=" -pg"
45495 if test "$GCC" = "yes" ; then
45496 if test "$wxUSE_NO_RTTI" = "yes" ; then
45497 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45499 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45500 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45502 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45503 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45508 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45511 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45517 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
45518 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45519 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45521 if test "$wxUSE_OPTIMISE" = "no" ; then
45522 if test "$GCC" = yes ; then
45523 OPTIMISE_CFLAGS="-O0"
45526 if test "$GCC" = yes ; then
45528 *-pc-os2_emx | *-pc-os2-emx )
45529 OPTIMISE_CFLAGS="-O2"
45532 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45536 OPTIMISE_CFLAGS="-O"
45542 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define WXWIN_COMPATIBILITY_2_6 1
45548 WXWIN_COMPATIBILITY_2_8="yes"
45551 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define WXWIN_COMPATIBILITY_2_8 1
45559 if test "$wxUSE_GUI" = "yes"; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_GUI 1
45568 if test "$wxUSE_UNIX" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_UNIX 1
45576 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45580 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45581 if test "$USE_DOS" = 1; then
45585 for ac_func in dlopen
45587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45591 echo $ECHO_N "(cached) $ECHO_C" >&6
45593 cat >conftest.$ac_ext <<_ACEOF
45596 cat confdefs.h >>conftest.$ac_ext
45597 cat >>conftest.$ac_ext <<_ACEOF
45598 /* end confdefs.h. */
45599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45601 #define $ac_func innocuous_$ac_func
45603 /* System header to define __stub macros and hopefully few prototypes,
45604 which can conflict with char $ac_func (); below.
45605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45606 <limits.h> exists even on freestanding compilers. */
45609 # include <limits.h>
45611 # include <assert.h>
45616 /* Override any GCC internal prototype to avoid an error.
45617 Use char because int might match the return type of a GCC
45618 builtin and then its argument prototype would still apply. */
45623 /* The GNU C library defines this for functions which it implements
45624 to always fail with ENOSYS. Some functions are actually named
45625 something starting with __ and the normal name is an alias. */
45626 #if defined __stub_$ac_func || defined __stub___$ac_func
45633 return $ac_func ();
45638 rm -f conftest.$ac_objext conftest$ac_exeext
45639 if { (ac_try="$ac_link"
45640 case "(($ac_try" in
45641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45642 *) ac_try_echo
=$ac_try;;
45644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45645 (eval "$ac_link") 2>conftest.er1
45647 grep -v '^ *+' conftest.er1
>conftest.err
45649 cat conftest.err
>&5
45650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45651 (exit $ac_status); } && {
45652 test -z "$ac_c_werror_flag" ||
45653 test ! -s conftest.err
45654 } && test -s conftest
$ac_exeext &&
45655 $as_test_x conftest
$ac_exeext; then
45656 eval "$as_ac_var=yes"
45658 echo "$as_me: failed program was:" >&5
45659 sed 's/^/| /' conftest.
$ac_ext >&5
45661 eval "$as_ac_var=no"
45664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45665 conftest
$ac_exeext conftest.
$ac_ext
45667 ac_res
=`eval echo '${'$as_ac_var'}'`
45668 { echo "$as_me:$LINENO: result: $ac_res" >&5
45669 echo "${ECHO_T}$ac_res" >&6; }
45670 if test `eval echo '${'$as_ac_var'}'` = yes; then
45671 cat >>confdefs.h
<<_ACEOF
45672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45675 cat >>confdefs.h
<<\_ACEOF
45676 #define HAVE_DLOPEN 1
45683 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45684 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45685 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45686 echo $ECHO_N "(cached) $ECHO_C" >&6
45688 ac_check_lib_save_LIBS
=$LIBS
45690 cat >conftest.
$ac_ext <<_ACEOF
45693 cat confdefs.h
>>conftest.
$ac_ext
45694 cat >>conftest.
$ac_ext <<_ACEOF
45695 /* end confdefs.h. */
45697 /* Override any GCC internal prototype to avoid an error.
45698 Use char because int might match the return type of a GCC
45699 builtin and then its argument prototype would still apply. */
45712 rm -f conftest.
$ac_objext conftest
$ac_exeext
45713 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
45729 $as_test_x conftest$ac_exeext; then
45730 ac_cv_lib_dl_dlopen=yes
45732 echo "$as_me: failed program was:" >&5
45733 sed 's/^/| /' conftest.$ac_ext >&5
45735 ac_cv_lib_dl_dlopen=no
45738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45739 conftest$ac_exeext conftest.$ac_ext
45740 LIBS=$ac_check_lib_save_LIBS
45742 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45743 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45744 if test $ac_cv_lib_dl_dlopen = yes; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define HAVE_DLOPEN 1
45751 DL_LINK=" -ldl$DL_LINK"
45756 for ac_func in shl_load
45758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45759 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45762 echo $ECHO_N "(cached) $ECHO_C" >&6
45764 cat >conftest.$ac_ext <<_ACEOF
45767 cat confdefs.h >>conftest.$ac_ext
45768 cat >>conftest.$ac_ext <<_ACEOF
45769 /* end confdefs.h. */
45770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45772 #define $ac_func innocuous_$ac_func
45774 /* System header to define __stub macros and hopefully few prototypes,
45775 which can conflict with char $ac_func (); below.
45776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45777 <limits.h> exists even on freestanding compilers. */
45780 # include <limits.h>
45782 # include <assert.h>
45787 /* Override any GCC internal prototype to avoid an error.
45788 Use char because int might match the return type of a GCC
45789 builtin and then its argument prototype would still apply. */
45794 /* The GNU C library defines this for functions which it implements
45795 to always fail with ENOSYS. Some functions are actually named
45796 something starting with __ and the normal name is an alias. */
45797 #if defined __stub_$ac_func || defined __stub___$ac_func
45804 return $ac_func ();
45809 rm -f conftest.$ac_objext conftest$ac_exeext
45810 if { (ac_try="$ac_link"
45811 case "(($ac_try" in
45812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45813 *) ac_try_echo
=$ac_try;;
45815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45816 (eval "$ac_link") 2>conftest.er1
45818 grep -v '^ *+' conftest.er1
>conftest.err
45820 cat conftest.err
>&5
45821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45822 (exit $ac_status); } && {
45823 test -z "$ac_c_werror_flag" ||
45824 test ! -s conftest.err
45825 } && test -s conftest
$ac_exeext &&
45826 $as_test_x conftest
$ac_exeext; then
45827 eval "$as_ac_var=yes"
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.
$ac_ext >&5
45832 eval "$as_ac_var=no"
45835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45836 conftest
$ac_exeext conftest.
$ac_ext
45838 ac_res
=`eval echo '${'$as_ac_var'}'`
45839 { echo "$as_me:$LINENO: result: $ac_res" >&5
45840 echo "${ECHO_T}$ac_res" >&6; }
45841 if test `eval echo '${'$as_ac_var'}'` = yes; then
45842 cat >>confdefs.h
<<_ACEOF
45843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45846 cat >>confdefs.h
<<\_ACEOF
45847 #define HAVE_SHL_LOAD 1
45854 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45855 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45856 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45859 ac_check_lib_save_LIBS
=$LIBS
45860 LIBS
="-lshl_load $LIBS"
45861 cat >conftest.
$ac_ext <<_ACEOF
45864 cat confdefs.h
>>conftest.
$ac_ext
45865 cat >>conftest.
$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45868 /* Override any GCC internal prototype to avoid an error.
45869 Use char because int might match the return type of a GCC
45870 builtin and then its argument prototype would still apply. */
45883 rm -f conftest.
$ac_objext conftest
$ac_exeext
45884 if { (ac_try
="$ac_link"
45885 case "(($ac_try" in
45886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45887 *) ac_try_echo=$ac_try;;
45889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45890 (eval "$ac_link") 2>conftest.er1
45892 grep -v '^ *+' conftest.er1 >conftest.err
45894 cat conftest.err >&5
45895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45896 (exit $ac_status); } && {
45897 test -z "$ac_c_werror_flag" ||
45898 test ! -s conftest.err
45899 } && test -s conftest$ac_exeext &&
45900 $as_test_x conftest$ac_exeext; then
45901 ac_cv_lib_shl_load_dld=yes
45903 echo "$as_me: failed program was:" >&5
45904 sed 's/^/| /' conftest.$ac_ext >&5
45906 ac_cv_lib_shl_load_dld=no
45909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45910 conftest$ac_exeext conftest.$ac_ext
45911 LIBS=$ac_check_lib_save_LIBS
45913 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45914 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45915 if test $ac_cv_lib_shl_load_dld = yes; then
45918 DL_LINK=" -ldld$DL_LINK"
45934 if test "$HAVE_DL_FUNCS" = 1; then
45936 for ac_func in dlerror
45938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45942 echo $ECHO_N "(cached) $ECHO_C" >&6
45944 cat >conftest.$ac_ext <<_ACEOF
45947 cat confdefs.h >>conftest.$ac_ext
45948 cat >>conftest.$ac_ext <<_ACEOF
45949 /* end confdefs.h. */
45950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45952 #define $ac_func innocuous_$ac_func
45954 /* System header to define __stub macros and hopefully few prototypes,
45955 which can conflict with char $ac_func (); below.
45956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45957 <limits.h> exists even on freestanding compilers. */
45960 # include <limits.h>
45962 # include <assert.h>
45967 /* Override any GCC internal prototype to avoid an error.
45968 Use char because int might match the return type of a GCC
45969 builtin and then its argument prototype would still apply. */
45974 /* The GNU C library defines this for functions which it implements
45975 to always fail with ENOSYS. Some functions are actually named
45976 something starting with __ and the normal name is an alias. */
45977 #if defined __stub_$ac_func || defined __stub___$ac_func
45984 return $ac_func ();
45989 rm -f conftest.$ac_objext conftest$ac_exeext
45990 if { (ac_try="$ac_link"
45991 case "(($ac_try" in
45992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45993 *) ac_try_echo
=$ac_try;;
45995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45996 (eval "$ac_link") 2>conftest.er1
45998 grep -v '^ *+' conftest.er1
>conftest.err
46000 cat conftest.err
>&5
46001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46002 (exit $ac_status); } && {
46003 test -z "$ac_c_werror_flag" ||
46004 test ! -s conftest.err
46005 } && test -s conftest
$ac_exeext &&
46006 $as_test_x conftest
$ac_exeext; then
46007 eval "$as_ac_var=yes"
46009 echo "$as_me: failed program was:" >&5
46010 sed 's/^/| /' conftest.
$ac_ext >&5
46012 eval "$as_ac_var=no"
46015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46016 conftest
$ac_exeext conftest.
$ac_ext
46018 ac_res
=`eval echo '${'$as_ac_var'}'`
46019 { echo "$as_me:$LINENO: result: $ac_res" >&5
46020 echo "${ECHO_T}$ac_res" >&6; }
46021 if test `eval echo '${'$as_ac_var'}'` = yes; then
46022 cat >>confdefs.h
<<_ACEOF
46023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46025 cat >>confdefs.h
<<\_ACEOF
46026 #define HAVE_DLERROR 1
46031 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46032 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46033 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46034 echo $ECHO_N "(cached) $ECHO_C" >&6
46036 ac_check_lib_save_LIBS
=$LIBS
46038 cat >conftest.
$ac_ext <<_ACEOF
46041 cat confdefs.h
>>conftest.
$ac_ext
46042 cat >>conftest.
$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46045 /* Override any GCC internal prototype to avoid an error.
46046 Use char because int might match the return type of a GCC
46047 builtin and then its argument prototype would still apply. */
46060 rm -f conftest.
$ac_objext conftest
$ac_exeext
46061 if { (ac_try
="$ac_link"
46062 case "(($ac_try" in
46063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46064 *) ac_try_echo=$ac_try;;
46066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46067 (eval "$ac_link") 2>conftest.er1
46069 grep -v '^ *+' conftest.er1 >conftest.err
46071 cat conftest.err >&5
46072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46073 (exit $ac_status); } && {
46074 test -z "$ac_c_werror_flag" ||
46075 test ! -s conftest.err
46076 } && test -s conftest$ac_exeext &&
46077 $as_test_x conftest$ac_exeext; then
46078 ac_cv_lib_dl_dlerror=yes
46080 echo "$as_me: failed program was:" >&5
46081 sed 's/^/| /' conftest.$ac_ext >&5
46083 ac_cv_lib_dl_dlerror=no
46086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46087 conftest$ac_exeext conftest.$ac_ext
46088 LIBS=$ac_check_lib_save_LIBS
46090 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46091 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46092 if test $ac_cv_lib_dl_dlerror = yes; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define HAVE_DLERROR 1
46107 if test "$USE_DARWIN" = 1; then
46111 if test "$HAVE_DL_FUNCS" = 0; then
46112 if test "$HAVE_SHL_FUNCS" = 0; then
46113 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46114 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46115 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46116 wxUSE_DYNAMIC_LOADER=no
46117 wxUSE_DYNLIB_CLASS=no
46119 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46120 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46127 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_DYNAMIC_LOADER 1
46133 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_DYNLIB_CLASS 1
46142 if test "$wxUSE_PLUGINS" = "yes" ; then
46143 if test "$wxUSE_SHARED" = "no" ; then
46144 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46145 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46148 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46149 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46150 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46153 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46154 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46155 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46158 if test "$wxUSE_PLUGINS" = "yes" ; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_PLUGINS 1
46167 if test "$wxUSE_FSWATCHER" = "yes"; then
46168 if test "$wxUSE_MSW" != "1"; then
46169 if test "$wxUSE_UNIX" = "yes"; then
46171 for ac_header in sys/inotify.h
46173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46177 echo $ECHO_N "(cached) $ECHO_C" >&6
46179 cat >conftest.$ac_ext <<_ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46185 $ac_includes_default
46187 #include <$ac_header>
46189 rm -f conftest.$ac_objext
46190 if { (ac_try="$ac_compile"
46191 case "(($ac_try" in
46192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46193 *) ac_try_echo
=$ac_try;;
46195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46196 (eval "$ac_compile") 2>conftest.er1
46198 grep -v '^ *+' conftest.er1
>conftest.err
46200 cat conftest.err
>&5
46201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46202 (exit $ac_status); } && {
46203 test -z "$ac_c_werror_flag" ||
46204 test ! -s conftest.err
46205 } && test -s conftest.
$ac_objext; then
46206 eval "$as_ac_Header=yes"
46208 echo "$as_me: failed program was:" >&5
46209 sed 's/^/| /' conftest.
$ac_ext >&5
46211 eval "$as_ac_Header=no"
46214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46216 ac_res
=`eval echo '${'$as_ac_Header'}'`
46217 { echo "$as_me:$LINENO: result: $ac_res" >&5
46218 echo "${ECHO_T}$ac_res" >&6; }
46219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46220 cat >>confdefs.h
<<_ACEOF
46221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46228 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46229 cat >>confdefs.h
<<\_ACEOF
46230 #define wxHAS_INOTIFY 1
46235 for ac_header
in sys
/event.h
46237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46240 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46241 echo $ECHO_N "(cached) $ECHO_C" >&6
46243 cat >conftest.
$ac_ext <<_ACEOF
46246 cat confdefs.h
>>conftest.
$ac_ext
46247 cat >>conftest.
$ac_ext <<_ACEOF
46248 /* end confdefs.h. */
46249 $ac_includes_default
46251 #include <$ac_header>
46253 rm -f conftest.
$ac_objext
46254 if { (ac_try
="$ac_compile"
46255 case "(($ac_try" in
46256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46257 *) ac_try_echo=$ac_try;;
46259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46260 (eval "$ac_compile") 2>conftest.er1
46262 grep -v '^ *+' conftest.er1 >conftest.err
46264 cat conftest.err >&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); } && {
46267 test -z "$ac_c_werror_flag" ||
46268 test ! -s conftest.err
46269 } && test -s conftest.$ac_objext; then
46270 eval "$as_ac_Header=yes"
46272 echo "$as_me: failed program was:" >&5
46273 sed 's/^/| /' conftest.$ac_ext >&5
46275 eval "$as_ac_Header=no"
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46280 ac_res=`eval echo '${'$as_ac_Header'}'`
46281 { echo "$as_me:$LINENO: result: $ac_res" >&5
46282 echo "${ECHO_T}$ac_res" >&6; }
46283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46284 cat >>confdefs.h <<_ACEOF
46285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46292 if test "$ac_cv_header_sys_event_h" = "yes"; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define wxHAS_KQUEUE 1
46305 if test "$wxUSE_THREADS" != "yes"; then
46306 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46307 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46312 if test "$wxUSE_FSWATCHER" = "yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_FSWATCHER 1
46317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46319 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46320 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46325 if test "$wxUSE_STL" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_STL 1
46332 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_EXTENDED_RTTI 1
46339 if test "$wxUSE_ANY" = "yes"; then
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_ANY 1
46346 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_APPLE_IEEE 1
46353 if test "$wxUSE_TIMER" = "yes"; then
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_TIMER 1
46360 if test "$USE_UNIX" = 1 ; then
46361 if test "$wxUSE_MGL" != 1; then
46362 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46363 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46364 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46365 echo $ECHO_N "(cached) $ECHO_C" >&6
46368 cat >conftest.$ac_ext <<_ACEOF
46371 cat confdefs.h >>conftest.$ac_ext
46372 cat >>conftest.$ac_ext <<_ACEOF
46373 /* end confdefs.h. */
46375 #include <sys/ioctl.h>
46376 #include <sys/soundcard.h>
46382 ioctl(0, SNDCTL_DSP_SPEED, 0);
46388 rm -f conftest.$ac_objext conftest$ac_exeext
46389 if { (ac_try="$ac_link"
46390 case "(($ac_try" in
46391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46392 *) ac_try_echo
=$ac_try;;
46394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46395 (eval "$ac_link") 2>conftest.er1
46397 grep -v '^ *+' conftest.er1
>conftest.err
46399 cat conftest.err
>&5
46400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401 (exit $ac_status); } && {
46402 test -z "$ac_c_werror_flag" ||
46403 test ! -s conftest.err
46404 } && test -s conftest
$ac_exeext &&
46405 $as_test_x conftest
$ac_exeext; then
46406 ac_cv_header_sys_soundcard
=yes
46408 echo "$as_me: failed program was:" >&5
46409 sed 's/^/| /' conftest.
$ac_ext >&5
46413 LIBS
="$saveLibs -lossaudio"
46414 cat >conftest.
$ac_ext <<_ACEOF
46417 cat confdefs.h
>>conftest.
$ac_ext
46418 cat >>conftest.
$ac_ext <<_ACEOF
46419 /* end confdefs.h. */
46421 #include <sys/ioctl.h>
46422 #include <sys/soundcard.h>
46428 ioctl(0, SNDCTL_DSP_SPEED, 0);
46434 rm -f conftest.
$ac_objext conftest
$ac_exeext
46435 if { (ac_try
="$ac_link"
46436 case "(($ac_try" in
46437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46438 *) ac_try_echo=$ac_try;;
46440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46441 (eval "$ac_link") 2>conftest.er1
46443 grep -v '^ *+' conftest.er1 >conftest.err
46445 cat conftest.err >&5
46446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447 (exit $ac_status); } && {
46448 test -z "$ac_c_werror_flag" ||
46449 test ! -s conftest.err
46450 } && test -s conftest$ac_exeext &&
46451 $as_test_x conftest$ac_exeext; then
46452 ac_cv_header_sys_soundcard=yes
46454 echo "$as_me: failed program was:" >&5
46455 sed 's/^/| /' conftest.$ac_ext >&5
46459 ac_cv_header_sys_soundcard=no
46464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46465 conftest$ac_exeext conftest.$ac_ext
46470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46471 conftest$ac_exeext conftest.$ac_ext
46474 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46475 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46478 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46479 cat >>confdefs.h <<\_ACEOF
46480 #define HAVE_SYS_SOUNDCARD_H 1
46487 if test "$wxUSE_SOUND" = "yes"; then
46488 if test "$USE_UNIX" = 1 ; then
46489 if test "$wxUSE_LIBSDL" != "no"; then
46491 # Check whether --with-sdl-prefix was given.
46492 if test "${with_sdl_prefix+set}" = set; then
46493 withval=$with_sdl_prefix; sdl_prefix="$withval"
46499 # Check whether --with-sdl-exec-prefix was given.
46500 if test "${with_sdl_exec_prefix+set}" = set; then
46501 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46506 # Check whether --enable-sdltest was given.
46507 if test "${enable_sdltest+set}" = set; then
46508 enableval=$enable_sdltest;
46514 if test x$sdl_exec_prefix != x ; then
46515 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46516 if test x${SDL_CONFIG+set} != xset ; then
46517 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46520 if test x$sdl_prefix != x ; then
46521 sdl_args="$sdl_args --prefix=$sdl_prefix"
46522 if test x${SDL_CONFIG+set} != xset ; then
46523 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46527 if test "x$prefix" != xNONE; then
46528 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46530 # Extract the first word of "sdl-config", so it can be a program name with args.
46531 set dummy sdl-config; ac_word=$2
46532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46534 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46535 echo $ECHO_N "(cached) $ECHO_C" >&6
46537 case $SDL_CONFIG in
46539 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46543 for as_dir in $PATH
46546 test -z "$as_dir" && as_dir=.
46547 for ac_exec_ext in '' $ac_executable_extensions; do
46548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46549 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46557 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46561 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46562 if test -n "$SDL_CONFIG"; then
46563 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46564 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46566 { echo "$as_me:$LINENO: result: no" >&5
46567 echo "${ECHO_T}no" >&6; }
46571 min_sdl_version=1.2.0
46572 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46573 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46575 if test "$SDL_CONFIG" = "no" ; then
46578 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46579 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46581 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46583 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46585 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46587 if test "x$enable_sdltest" = "xyes" ; then
46588 ac_save_CFLAGS="$CFLAGS"
46589 ac_save_CXXFLAGS="$CXXFLAGS"
46590 ac_save_LIBS="$LIBS"
46591 CFLAGS="$CFLAGS $SDL_CFLAGS"
46592 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46593 LIBS="$LIBS $SDL_LIBS"
46595 if test "$cross_compiling" = yes; then
46596 echo $ac_n "cross compiling; assumed OK... $ac_c"
46598 cat >conftest.$ac_ext <<_ACEOF
46601 cat confdefs.h >>conftest.$ac_ext
46602 cat >>conftest.$ac_ext <<_ACEOF
46603 /* end confdefs.h. */
46606 #include <stdlib.h>
46607 #include <string.h>
46611 my_strdup (char *str)
46617 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46618 strcpy (new_str, str);
46626 int main (int argc, char *argv[])
46628 int major, minor, micro;
46631 /* This hangs on some systems (?)
46632 system ("touch conf.sdltest");
46634 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46636 /* HP/UX 9 (%@#!) writes to sscanf strings */
46637 tmp_version = my_strdup("$min_sdl_version");
46638 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46639 printf("%s, bad version string\n", "$min_sdl_version");
46643 if (($sdl_major_version > major) ||
46644 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46645 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46651 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46652 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46653 printf("*** best to upgrade to the required version.\n");
46654 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46655 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46656 printf("*** config.cache before re-running configure\n");
46663 rm -f conftest$ac_exeext
46664 if { (ac_try="$ac_link"
46665 case "(($ac_try" in
46666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46667 *) ac_try_echo
=$ac_try;;
46669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46670 (eval "$ac_link") 2>&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46674 { (case "(($ac_try" in
46675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46676 *) ac_try_echo=$ac_try;;
46678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46679 (eval "$ac_try") 2>&5
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); }; }; then
46685 echo "$as_me: program exited with status $ac_status" >&5
46686 echo "$as_me: failed program was:" >&5
46687 sed 's/^/| /' conftest.$ac_ext >&5
46689 ( exit $ac_status )
46692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46696 CFLAGS="$ac_save_CFLAGS"
46697 CXXFLAGS="$ac_save_CXXFLAGS"
46698 LIBS="$ac_save_LIBS"
46701 if test "x$no_sdl" = x ; then
46702 { echo "$as_me:$LINENO: result: yes" >&5
46703 echo "${ECHO_T}yes" >&6; }
46705 EXTRALIBS_SDL="$SDL_LIBS"
46706 CFLAGS="$SDL_CFLAGS $CFLAGS"
46707 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_LIBSDL 1
46714 { echo "$as_me:$LINENO: result: no" >&5
46715 echo "${ECHO_T}no" >&6; }
46716 if test "$SDL_CONFIG" = "no" ; then
46717 echo "*** The sdl-config script installed by SDL could not be found"
46718 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46719 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46720 echo "*** full path to sdl-config."
46722 if test -f conf.sdltest ; then
46725 echo "*** Could not run SDL test program, checking why..."
46726 CFLAGS="$CFLAGS $SDL_CFLAGS"
46727 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46728 LIBS="$LIBS $SDL_LIBS"
46729 cat >conftest.$ac_ext <<_ACEOF
46732 cat confdefs.h >>conftest.$ac_ext
46733 cat >>conftest.$ac_ext <<_ACEOF
46734 /* end confdefs.h. */
46739 int main(int argc, char *argv[])
46742 #define main K_and_R_C_main
46752 rm -f conftest.$ac_objext conftest$ac_exeext
46753 if { (ac_try="$ac_link"
46754 case "(($ac_try" in
46755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46756 *) ac_try_echo
=$ac_try;;
46758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46759 (eval "$ac_link") 2>conftest.er1
46761 grep -v '^ *+' conftest.er1
>conftest.err
46763 cat conftest.err
>&5
46764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46765 (exit $ac_status); } && {
46766 test -z "$ac_c_werror_flag" ||
46767 test ! -s conftest.err
46768 } && test -s conftest
$ac_exeext &&
46769 $as_test_x conftest
$ac_exeext; then
46770 echo "*** The test program compiled, but did not run. This usually means"
46771 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46772 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46773 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46774 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46775 echo "*** is required on your system"
46777 echo "*** If you have an old version installed, it is best to remove it, although"
46778 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46780 echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.
$ac_ext >&5
46783 echo "*** The test program failed to compile or link. See the file config.log for the"
46784 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46785 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46786 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46789 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46790 conftest
$ac_exeext conftest.
$ac_ext
46791 CFLAGS
="$ac_save_CFLAGS"
46792 CXXFLAGS
="$ac_save_CXXFLAGS"
46793 LIBS
="$ac_save_LIBS"
46804 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46809 if test "$wxUSE_MGL" = 1; then
46810 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46811 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46817 if test "$wxUSE_SOUND" = "yes"; then
46818 cat >>confdefs.h
<<\_ACEOF
46819 #define wxUSE_SOUND 1
46822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
46825 if test "$WXGTK2" = 1; then
46828 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46829 if test -n "$ac_tool_prefix"; then
46830 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46831 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
46832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46834 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46835 echo $ECHO_N "(cached) $ECHO_C" >&6
46837 case $PKG_CONFIG in
46839 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
46842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46843 for as_dir
in $PATH
46846 test -z "$as_dir" && as_dir
=.
46847 for ac_exec_ext
in '' $ac_executable_extensions; do
46848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46849 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46860 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
46861 if test -n "$PKG_CONFIG"; then
46862 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46863 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46865 { echo "$as_me:$LINENO: result: no" >&5
46866 echo "${ECHO_T}no" >&6; }
46871 if test -z "$ac_cv_path_PKG_CONFIG"; then
46872 ac_pt_PKG_CONFIG
=$PKG_CONFIG
46873 # Extract the first word of "pkg-config", so it can be a program name with args.
46874 set dummy pkg
-config; ac_word
=$2
46875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46877 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46878 echo $ECHO_N "(cached) $ECHO_C" >&6
46880 case $ac_pt_PKG_CONFIG in
46882 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46886 for as_dir
in $PATH
46889 test -z "$as_dir" && as_dir
=.
46890 for ac_exec_ext
in '' $ac_executable_extensions; do
46891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46892 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46903 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
46904 if test -n "$ac_pt_PKG_CONFIG"; then
46905 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46906 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46908 { echo "$as_me:$LINENO: result: no" >&5
46909 echo "${ECHO_T}no" >&6; }
46912 if test "x$ac_pt_PKG_CONFIG" = x
; then
46915 case $cross_compiling:$ac_tool_warned in
46917 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46918 whose name does not start with the host triplet. If you think this
46919 configuration is useful to you, please write to autoconf@gnu.org." >&5
46920 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46921 whose name does not start with the host triplet. If you think this
46922 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46923 ac_tool_warned
=yes ;;
46925 PKG_CONFIG
=$ac_pt_PKG_CONFIG
46928 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
46932 if test -n "$PKG_CONFIG"; then
46933 _pkg_min_version
=0.9.0
46934 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46935 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46936 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46937 { echo "$as_me:$LINENO: result: yes" >&5
46938 echo "${ECHO_T}yes" >&6; }
46940 { echo "$as_me:$LINENO: result: no" >&5
46941 echo "${ECHO_T}no" >&6; }
46947 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46949 if test "$wxUSE_GTKPRINT" = "yes" ; then
46953 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46954 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46956 if test -n "$PKG_CONFIG"; then
46957 if test -n "$GTKPRINT_CFLAGS"; then
46958 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
46960 if test -n "$PKG_CONFIG" && \
46961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46962 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); }; then
46966 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46974 if test -n "$PKG_CONFIG"; then
46975 if test -n "$GTKPRINT_LIBS"; then
46976 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
46978 if test -n "$PKG_CONFIG" && \
46979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46980 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46983 (exit $ac_status); }; then
46984 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46995 if test $pkg_failed = yes; then
46997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46998 _pkg_short_errors_supported
=yes
47000 _pkg_short_errors_supported
=no
47002 if test $_pkg_short_errors_supported = yes; then
47003 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47005 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47007 # Put the nasty error message in config.log where it belongs
47008 echo "$GTKPRINT_PKG_ERRORS" >&5
47011 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47012 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47013 wxUSE_GTKPRINT
="no"
47016 elif test $pkg_failed = untried
; then
47018 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47019 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47020 wxUSE_GTKPRINT
="no"
47024 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
47025 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
47026 { echo "$as_me:$LINENO: result: yes" >&5
47027 echo "${ECHO_T}yes" >&6; }
47029 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
47030 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
47031 cat >>confdefs.h
<<\_ACEOF
47032 #define wxUSE_GTKPRINT 1
47039 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47043 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47044 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47046 if test -n "$PKG_CONFIG"; then
47047 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47048 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
47050 if test -n "$PKG_CONFIG" && \
47051 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47052 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); }; then
47056 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47064 if test -n "$PKG_CONFIG"; then
47065 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47066 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
47068 if test -n "$PKG_CONFIG" && \
47069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47070 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47073 (exit $ac_status); }; then
47074 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47085 if test $pkg_failed = yes; then
47087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47088 _pkg_short_errors_supported
=yes
47090 _pkg_short_errors_supported
=no
47092 if test $_pkg_short_errors_supported = yes; then
47093 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47095 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47097 # Put the nasty error message in config.log where it belongs
47098 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47101 if test "$wxUSE_GTKPRINT" = yes; then
47102 { echo "$as_me:$LINENO: result: no" >&5
47103 echo "${ECHO_T}no" >&6; }
47105 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47106 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47108 wxUSE_LIBGNOMEPRINT
="no"
47111 elif test $pkg_failed = untried
; then
47113 if test "$wxUSE_GTKPRINT" = yes; then
47114 { echo "$as_me:$LINENO: result: no" >&5
47115 echo "${ECHO_T}no" >&6; }
47117 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47118 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47120 wxUSE_LIBGNOMEPRINT
="no"
47124 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47125 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47126 { echo "$as_me:$LINENO: result: yes" >&5
47127 echo "${ECHO_T}yes" >&6; }
47129 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47130 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47131 cat >>confdefs.h
<<\_ACEOF
47132 #define wxUSE_LIBGNOMEPRINT 1
47140 if test "$wxUSE_MIMETYPE" = "yes" ; then
47141 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47145 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47146 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47148 if test -n "$PKG_CONFIG"; then
47149 if test -n "$GNOMEVFS_CFLAGS"; then
47150 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
47152 if test -n "$PKG_CONFIG" && \
47153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47154 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); }; then
47158 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47166 if test -n "$PKG_CONFIG"; then
47167 if test -n "$GNOMEVFS_LIBS"; then
47168 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
47170 if test -n "$PKG_CONFIG" && \
47171 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47172 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47175 (exit $ac_status); }; then
47176 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47187 if test $pkg_failed = yes; then
47189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47190 _pkg_short_errors_supported
=yes
47192 _pkg_short_errors_supported
=no
47194 if test $_pkg_short_errors_supported = yes; then
47195 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47197 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47199 # Put the nasty error message in config.log where it belongs
47200 echo "$GNOMEVFS_PKG_ERRORS" >&5
47203 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47204 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47205 wxUSE_LIBGNOMEVFS
="no"
47208 elif test $pkg_failed = untried
; then
47210 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47211 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47212 wxUSE_LIBGNOMEVFS
="no"
47216 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
47217 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
47218 { echo "$as_me:$LINENO: result: yes" >&5
47219 echo "${ECHO_T}yes" >&6; }
47221 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
47222 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
47223 cat >>confdefs.h
<<\_ACEOF
47224 #define wxUSE_LIBGNOMEVFS 1
47232 if test "$wxUSE_LIBHILDON" = "yes" ; then
47235 { echo "$as_me:$LINENO: checking for HILDON" >&5
47236 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47238 if test -n "$PKG_CONFIG"; then
47239 if test -n "$HILDON_CFLAGS"; then
47240 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
47242 if test -n "$PKG_CONFIG" && \
47243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47244 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47247 (exit $ac_status); }; then
47248 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47256 if test -n "$PKG_CONFIG"; then
47257 if test -n "$HILDON_LIBS"; then
47258 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
47260 if test -n "$PKG_CONFIG" && \
47261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47262 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47265 (exit $ac_status); }; then
47266 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47277 if test $pkg_failed = yes; then
47279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47280 _pkg_short_errors_supported
=yes
47282 _pkg_short_errors_supported
=no
47284 if test $_pkg_short_errors_supported = yes; then
47285 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47287 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47289 # Put the nasty error message in config.log where it belongs
47290 echo "$HILDON_PKG_ERRORS" >&5
47293 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47294 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47295 wxUSE_LIBHILDON
="no"
47299 elif test $pkg_failed = untried
; then
47301 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47302 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47303 wxUSE_LIBHILDON
="no"
47308 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
47309 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
47310 { echo "$as_me:$LINENO: result: yes" >&5
47311 echo "${ECHO_T}yes" >&6; }
47313 EXTRALIBS_HILDON
="$HILDON_LIBS"
47314 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
47315 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
47316 cat >>confdefs.h
<<\_ACEOF
47317 #define wxUSE_LIBHILDON 1
47324 if test "$ac_hildon_lgpl" = 0 ; then
47327 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47328 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47330 if test -n "$PKG_CONFIG"; then
47331 if test -n "$HILDON2_CFLAGS"; then
47332 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
47334 if test -n "$PKG_CONFIG" && \
47335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47336 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47339 (exit $ac_status); }; then
47340 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47348 if test -n "$PKG_CONFIG"; then
47349 if test -n "$HILDON2_LIBS"; then
47350 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
47352 if test -n "$PKG_CONFIG" && \
47353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47354 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47357 (exit $ac_status); }; then
47358 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47369 if test $pkg_failed = yes; then
47371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47372 _pkg_short_errors_supported
=yes
47374 _pkg_short_errors_supported
=no
47376 if test $_pkg_short_errors_supported = yes; then
47377 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47379 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47381 # Put the nasty error message in config.log where it belongs
47382 echo "$HILDON2_PKG_ERRORS" >&5
47385 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47386 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47387 wxUSE_LIBHILDON2
="no"
47390 elif test $pkg_failed = untried
; then
47392 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47393 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47394 wxUSE_LIBHILDON2
="no"
47398 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
47399 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
47400 { echo "$as_me:$LINENO: result: yes" >&5
47401 echo "${ECHO_T}yes" >&6; }
47403 EXTRALIBS_HILDON
="$HILDON2_LIBS"
47404 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
47405 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
47406 cat >>confdefs.h
<<\_ACEOF
47407 #define wxUSE_LIBHILDON2 1
47416 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47417 cat >>confdefs.h
<<\_ACEOF
47418 #define wxUSE_CMDLINE_PARSER 1
47423 if test "$wxUSE_STOPWATCH" = "yes"; then
47424 cat >>confdefs.h
<<\_ACEOF
47425 #define wxUSE_STOPWATCH 1
47430 if test "$wxUSE_DATETIME" = "yes"; then
47431 cat >>confdefs.h
<<\_ACEOF
47432 #define wxUSE_DATETIME 1
47437 if test "$wxUSE_FILE" = "yes"; then
47438 cat >>confdefs.h
<<\_ACEOF
47439 #define wxUSE_FILE 1
47444 if test "$wxUSE_FFILE" = "yes"; then
47445 cat >>confdefs.h
<<\_ACEOF
47446 #define wxUSE_FFILE 1
47451 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47452 if test "$wxUSE_STREAMS" != yes; then
47453 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47454 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47455 wxUSE_ARCHIVE_STREAMS
=no
47457 cat >>confdefs.h
<<\_ACEOF
47458 #define wxUSE_ARCHIVE_STREAMS 1
47464 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47465 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47466 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47467 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47468 elif test "$wxUSE_ZLIB" = "no"; then
47469 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47470 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47472 cat >>confdefs.h
<<\_ACEOF
47473 #define wxUSE_ZIPSTREAM 1
47479 if test "$wxUSE_TARSTREAM" = "yes"; then
47480 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47481 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47482 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47484 cat >>confdefs.h
<<\_ACEOF
47485 #define wxUSE_TARSTREAM 1
47491 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47492 cat >>confdefs.h
<<\_ACEOF
47493 #define wxUSE_FILE_HISTORY 1
47498 if test "$wxUSE_FILESYSTEM" = "yes"; then
47499 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
47500 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47501 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47502 wxUSE_FILESYSTEM
=no
47504 cat >>confdefs.h
<<\_ACEOF
47505 #define wxUSE_FILESYSTEM 1
47511 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47512 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47513 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47514 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47516 cat >>confdefs.h
<<\_ACEOF
47517 #define wxUSE_FS_ARCHIVE 1
47523 if test "$wxUSE_FS_ZIP" = "yes"; then
47524 if test "$wxUSE_FS_ARCHIVE" != yes; then
47525 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47526 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47528 cat >>confdefs.h
<<\_ACEOF
47529 #define wxUSE_FS_ZIP 1
47535 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47536 if test "$USE_UNIX" != 1; then
47537 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47538 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47539 wxUSE_ON_FATAL_EXCEPTION
=no
47541 cat >>confdefs.h
<<\_ACEOF
47542 #define wxUSE_ON_FATAL_EXCEPTION 1
47548 if test "$wxUSE_STACKWALKER" = "yes"; then
47549 cat >>confdefs.h
<<\_ACEOF
47550 #define wxUSE_STACKWALKER 1
47555 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47556 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47557 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47558 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47559 wxUSE_DEBUGREPORT
=no
47561 cat >>confdefs.h
<<\_ACEOF
47562 #define wxUSE_DEBUGREPORT 1
47565 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
47571 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47572 cat >>confdefs.h
<<\_ACEOF
47573 #define wxUSE_SNGLINST_CHECKER 1
47578 if test "$wxUSE_BUSYINFO" = "yes"; then
47579 cat >>confdefs.h
<<\_ACEOF
47580 #define wxUSE_BUSYINFO 1
47585 if test "$wxUSE_HOTKEY" = "yes"; then
47586 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47587 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47588 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47591 elif test "$wxUSE_HOTKEY" = "auto"; then
47592 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47596 if test "$wxUSE_HOTKEY" = "yes"; then
47597 cat >>confdefs.h
<<\_ACEOF
47598 #define wxUSE_HOTKEY 1
47603 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47604 cat >>confdefs.h
<<\_ACEOF
47605 #define wxUSE_STD_CONTAINERS 1
47610 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47611 cat >>confdefs.h
<<\_ACEOF
47612 #define wxUSE_STD_IOSTREAM 1
47617 if test "$wxUSE_STD_STRING" = "yes"; then
47618 cat >>confdefs.h
<<\_ACEOF
47619 #define wxUSE_STD_STRING 1
47624 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47625 cat >>confdefs.h
<<\_ACEOF
47626 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47631 if test "$wxUSE_STDPATHS" = "yes"; then
47632 cat >>confdefs.h
<<\_ACEOF
47633 #define wxUSE_STDPATHS 1
47638 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47639 cat >>confdefs.h
<<\_ACEOF
47640 #define wxUSE_TEXTBUFFER 1
47645 if test "$wxUSE_TEXTFILE" = "yes"; then
47646 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47647 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47648 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47650 cat >>confdefs.h
<<\_ACEOF
47651 #define wxUSE_TEXTFILE 1
47657 if test "$wxUSE_CONFIG" = "yes" ; then
47658 if test "$wxUSE_TEXTFILE" != "yes"; then
47659 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47660 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47662 cat >>confdefs.h
<<\_ACEOF
47663 #define wxUSE_CONFIG 1
47666 cat >>confdefs.h
<<\_ACEOF
47667 #define wxUSE_CONFIG_NATIVE 1
47670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
47674 if test "$wxUSE_INTL" = "yes" ; then
47675 if test "$wxUSE_FILE" != "yes"; then
47676 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47677 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47679 cat >>confdefs.h
<<\_ACEOF
47680 #define wxUSE_INTL 1
47683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
47684 GUIDIST
="$GUIDIST INTL_DIST"
47688 if test "$wxUSE_XLOCALE" = "yes" ; then
47689 cat >>confdefs.h
<<\_ACEOF
47690 #define wxUSE_XLOCALE 1
47693 { echo "$as_me:$LINENO: checking for locale_t" >&5
47694 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47695 if test "${ac_cv_type_locale_t+set}" = set; then
47696 echo $ECHO_N "(cached) $ECHO_C" >&6
47698 cat >conftest.
$ac_ext <<_ACEOF
47701 cat confdefs.h
>>conftest.
$ac_ext
47702 cat >>conftest.
$ac_ext <<_ACEOF
47703 /* end confdefs.h. */
47704 #include <xlocale.h>
47705 #include <locale.h>
47707 typedef locale_t ac__type_new_;
47711 if ((ac__type_new_ *) 0)
47713 if (sizeof (ac__type_new_))
47719 rm -f conftest.
$ac_objext
47720 if { (ac_try
="$ac_compile"
47721 case "(($ac_try" in
47722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47723 *) ac_try_echo=$ac_try;;
47725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47726 (eval "$ac_compile") 2>conftest.er1
47728 grep -v '^ *+' conftest.er1 >conftest.err
47730 cat conftest.err >&5
47731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47732 (exit $ac_status); } && {
47733 test -z "$ac_c_werror_flag" ||
47734 test ! -s conftest.err
47735 } && test -s conftest.$ac_objext; then
47736 ac_cv_type_locale_t=yes
47738 echo "$as_me: failed program was:" >&5
47739 sed 's/^/| /' conftest.$ac_ext >&5
47741 ac_cv_type_locale_t=no
47744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47746 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47747 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47748 if test $ac_cv_type_locale_t = yes; then
47750 cat >>confdefs.h <<_ACEOF
47751 #define HAVE_LOCALE_T 1
47759 if test "$wxUSE_LOG" = "yes"; then
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_LOG 1
47765 if test "$wxUSE_LOGGUI" = "yes"; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_LOGGUI 1
47772 if test "$wxUSE_LOGWINDOW" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_LOGWINDOW 1
47779 if test "$wxUSE_LOGDIALOG" = "yes"; then
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_LOG_DIALOG 1
47786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47789 if test "$wxUSE_LONGLONG" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_LONGLONG 1
47796 if test "$wxUSE_GEOMETRY" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_GEOMETRY 1
47803 if test "$wxUSE_BASE64" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_BASE64 1
47810 if test "$wxUSE_STREAMS" = "yes" ; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_STREAMS 1
47817 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47818 cat >>confdefs.h <<\_ACEOF
47819 #define wxUSE_PRINTF_POS_PARAMS 1
47824 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_OBJC_UNIQUIFYING 1
47832 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_CONSOLE_EVENTLOOP 1
47838 if test "$wxUSE_UNIX" = "yes"; then
47839 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_SELECT_DISPATCHER 1
47846 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47848 for ac_header in sys/epoll.h
47850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47854 echo $ECHO_N "(cached) $ECHO_C" >&6
47856 cat >conftest.$ac_ext <<_ACEOF
47859 cat confdefs.h >>conftest.$ac_ext
47860 cat >>conftest.$ac_ext <<_ACEOF
47861 /* end confdefs.h. */
47862 $ac_includes_default
47864 #include <$ac_header>
47866 rm -f conftest.$ac_objext
47867 if { (ac_try="$ac_compile"
47868 case "(($ac_try" in
47869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47870 *) ac_try_echo
=$ac_try;;
47872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47873 (eval "$ac_compile") 2>conftest.er1
47875 grep -v '^ *+' conftest.er1
>conftest.err
47877 cat conftest.err
>&5
47878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47879 (exit $ac_status); } && {
47880 test -z "$ac_c_werror_flag" ||
47881 test ! -s conftest.err
47882 } && test -s conftest.
$ac_objext; then
47883 eval "$as_ac_Header=yes"
47885 echo "$as_me: failed program was:" >&5
47886 sed 's/^/| /' conftest.
$ac_ext >&5
47888 eval "$as_ac_Header=no"
47891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47893 ac_res
=`eval echo '${'$as_ac_Header'}'`
47894 { echo "$as_me:$LINENO: result: $ac_res" >&5
47895 echo "${ECHO_T}$ac_res" >&6; }
47896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47897 cat >>confdefs.h
<<_ACEOF
47898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47905 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47906 cat >>confdefs.h
<<\_ACEOF
47907 #define wxUSE_EPOLL_DISPATCHER 1
47911 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47912 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47921 for ac_func
in gettimeofday ftime
47923 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47926 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47927 echo $ECHO_N "(cached) $ECHO_C" >&6
47929 cat >conftest.
$ac_ext <<_ACEOF
47932 cat confdefs.h
>>conftest.
$ac_ext
47933 cat >>conftest.
$ac_ext <<_ACEOF
47934 /* end confdefs.h. */
47935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47937 #define $ac_func innocuous_$ac_func
47939 /* System header to define __stub macros and hopefully few prototypes,
47940 which can conflict with char $ac_func (); below.
47941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47942 <limits.h> exists even on freestanding compilers. */
47945 # include <limits.h>
47947 # include <assert.h>
47952 /* Override any GCC internal prototype to avoid an error.
47953 Use char because int might match the return type of a GCC
47954 builtin and then its argument prototype would still apply. */
47959 /* The GNU C library defines this for functions which it implements
47960 to always fail with ENOSYS. Some functions are actually named
47961 something starting with __ and the normal name is an alias. */
47962 #if defined __stub_$ac_func || defined __stub___$ac_func
47969 return $ac_func ();
47974 rm -f conftest.
$ac_objext conftest
$ac_exeext
47975 if { (ac_try
="$ac_link"
47976 case "(($ac_try" in
47977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47978 *) ac_try_echo=$ac_try;;
47980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47981 (eval "$ac_link") 2>conftest.er1
47983 grep -v '^ *+' conftest.er1 >conftest.err
47985 cat conftest.err >&5
47986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47987 (exit $ac_status); } && {
47988 test -z "$ac_c_werror_flag" ||
47989 test ! -s conftest.err
47990 } && test -s conftest$ac_exeext &&
47991 $as_test_x conftest$ac_exeext; then
47992 eval "$as_ac_var=yes"
47994 echo "$as_me: failed program was:" >&5
47995 sed 's/^/| /' conftest.$ac_ext >&5
47997 eval "$as_ac_var=no"
48000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48001 conftest$ac_exeext conftest.$ac_ext
48003 ac_res=`eval echo '${'$as_ac_var'}'`
48004 { echo "$as_me:$LINENO: result: $ac_res" >&5
48005 echo "${ECHO_T}$ac_res" >&6; }
48006 if test `eval echo '${'$as_ac_var'}'` = yes; then
48007 cat >>confdefs.h <<_ACEOF
48008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48015 if test "$ac_cv_func_gettimeofday" = "yes"; then
48016 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
48017 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
48018 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
48019 echo $ECHO_N "(cached) $ECHO_C" >&6
48022 cat >conftest.$ac_ext <<_ACEOF
48025 cat confdefs.h >>conftest.$ac_ext
48026 cat >>conftest.$ac_ext <<_ACEOF
48027 /* end confdefs.h. */
48029 #include <sys/time.h>
48030 #include <unistd.h>
48037 gettimeofday(&tv, NULL);
48043 rm -f conftest.$ac_objext
48044 if { (ac_try="$ac_compile"
48045 case "(($ac_try" in
48046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48047 *) ac_try_echo
=$ac_try;;
48049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48050 (eval "$ac_compile") 2>conftest.er1
48052 grep -v '^ *+' conftest.er1
>conftest.err
48054 cat conftest.err
>&5
48055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48056 (exit $ac_status); } && {
48057 test -z "$ac_c_werror_flag" ||
48058 test ! -s conftest.err
48059 } && test -s conftest.
$ac_objext; then
48060 wx_cv_func_gettimeofday_has_2_args
=yes
48062 echo "$as_me: failed program was:" >&5
48063 sed 's/^/| /' conftest.
$ac_ext >&5
48065 cat >conftest.
$ac_ext <<_ACEOF
48068 cat confdefs.h
>>conftest.
$ac_ext
48069 cat >>conftest.
$ac_ext <<_ACEOF
48070 /* end confdefs.h. */
48072 #include <sys/time.h>
48073 #include <unistd.h>
48086 rm -f conftest.
$ac_objext
48087 if { (ac_try
="$ac_compile"
48088 case "(($ac_try" in
48089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48090 *) ac_try_echo=$ac_try;;
48092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48093 (eval "$ac_compile") 2>conftest.er1
48095 grep -v '^ *+' conftest.er1 >conftest.err
48097 cat conftest.err >&5
48098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48099 (exit $ac_status); } && {
48100 test -z "$ac_c_werror_flag" ||
48101 test ! -s conftest.err
48102 } && test -s conftest.$ac_objext; then
48103 wx_cv_func_gettimeofday_has_2_args=no
48105 echo "$as_me: failed program was:" >&5
48106 sed 's/^/| /' conftest.$ac_ext >&5
48109 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48110 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48111 wx_cv_func_gettimeofday_has_2_args=unknown
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48123 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48124 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48126 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48127 cat >>confdefs.h <<\_ACEOF
48128 #define WX_GETTIMEOFDAY_NO_TZ 1
48134 if test "$wxUSE_DATETIME" = "yes"; then
48135 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48136 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48137 if test "${wx_cv_var_timezone+set}" = set; then
48138 echo $ECHO_N "(cached) $ECHO_C" >&6
48142 ac_cpp='$CXXCPP $CPPFLAGS'
48143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48147 cat >conftest.$ac_ext <<_ACEOF
48150 cat confdefs.h >>conftest.$ac_ext
48151 cat >>conftest.$ac_ext <<_ACEOF
48152 /* end confdefs.h. */
48167 rm -f conftest.$ac_objext
48168 if { (ac_try="$ac_compile"
48169 case "(($ac_try" in
48170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48171 *) ac_try_echo
=$ac_try;;
48173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48174 (eval "$ac_compile") 2>conftest.er1
48176 grep -v '^ *+' conftest.er1
>conftest.err
48178 cat conftest.err
>&5
48179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48180 (exit $ac_status); } && {
48181 test -z "$ac_cxx_werror_flag" ||
48182 test ! -s conftest.err
48183 } && test -s conftest.
$ac_objext; then
48185 wx_cv_var_timezone
=timezone
48188 echo "$as_me: failed program was:" >&5
48189 sed 's/^/| /' conftest.
$ac_ext >&5
48192 cat >conftest.
$ac_ext <<_ACEOF
48195 cat confdefs.h
>>conftest.
$ac_ext
48196 cat >>conftest.
$ac_ext <<_ACEOF
48197 /* end confdefs.h. */
48212 rm -f conftest.
$ac_objext
48213 if { (ac_try
="$ac_compile"
48214 case "(($ac_try" in
48215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48216 *) ac_try_echo=$ac_try;;
48218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48219 (eval "$ac_compile") 2>conftest.er1
48221 grep -v '^ *+' conftest.er1 >conftest.err
48223 cat conftest.err >&5
48224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48225 (exit $ac_status); } && {
48226 test -z "$ac_cxx_werror_flag" ||
48227 test ! -s conftest.err
48228 } && test -s conftest.$ac_objext; then
48230 wx_cv_var_timezone=_timezone
48233 echo "$as_me: failed program was:" >&5
48234 sed 's/^/| /' conftest.$ac_ext >&5
48237 cat >conftest.$ac_ext <<_ACEOF
48240 cat confdefs.h >>conftest.$ac_ext
48241 cat >>conftest.$ac_ext <<_ACEOF
48242 /* end confdefs.h. */
48257 rm -f conftest.$ac_objext
48258 if { (ac_try="$ac_compile"
48259 case "(($ac_try" in
48260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48261 *) ac_try_echo
=$ac_try;;
48263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48264 (eval "$ac_compile") 2>conftest.er1
48266 grep -v '^ *+' conftest.er1
>conftest.err
48268 cat conftest.err
>&5
48269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48270 (exit $ac_status); } && {
48271 test -z "$ac_cxx_werror_flag" ||
48272 test ! -s conftest.err
48273 } && test -s conftest.
$ac_objext; then
48275 wx_cv_var_timezone
=__timezone
48278 echo "$as_me: failed program was:" >&5
48279 sed 's/^/| /' conftest.
$ac_ext >&5
48282 if test "$USE_DOS" = 0 ; then
48283 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48284 echo "$as_me: WARNING: no timezone variable" >&2;}
48290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48302 ac_cpp
='$CPP $CPPFLAGS'
48303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48310 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48311 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48313 if test "x$wx_cv_var_timezone" != x
; then
48314 cat >>confdefs.h
<<_ACEOF
48315 #define WX_TIMEZONE $wx_cv_var_timezone
48321 for ac_func
in localtime
48323 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48326 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48327 echo $ECHO_N "(cached) $ECHO_C" >&6
48329 cat >conftest.
$ac_ext <<_ACEOF
48332 cat confdefs.h
>>conftest.
$ac_ext
48333 cat >>conftest.
$ac_ext <<_ACEOF
48334 /* end confdefs.h. */
48335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48337 #define $ac_func innocuous_$ac_func
48339 /* System header to define __stub macros and hopefully few prototypes,
48340 which can conflict with char $ac_func (); below.
48341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48342 <limits.h> exists even on freestanding compilers. */
48345 # include <limits.h>
48347 # include <assert.h>
48352 /* Override any GCC internal prototype to avoid an error.
48353 Use char because int might match the return type of a GCC
48354 builtin and then its argument prototype would still apply. */
48359 /* The GNU C library defines this for functions which it implements
48360 to always fail with ENOSYS. Some functions are actually named
48361 something starting with __ and the normal name is an alias. */
48362 #if defined __stub_$ac_func || defined __stub___$ac_func
48369 return $ac_func ();
48374 rm -f conftest.
$ac_objext conftest
$ac_exeext
48375 if { (ac_try
="$ac_link"
48376 case "(($ac_try" in
48377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48378 *) ac_try_echo=$ac_try;;
48380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48381 (eval "$ac_link") 2>conftest.er1
48383 grep -v '^ *+' conftest.er1 >conftest.err
48385 cat conftest.err >&5
48386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48387 (exit $ac_status); } && {
48388 test -z "$ac_c_werror_flag" ||
48389 test ! -s conftest.err
48390 } && test -s conftest$ac_exeext &&
48391 $as_test_x conftest$ac_exeext; then
48392 eval "$as_ac_var=yes"
48394 echo "$as_me: failed program was:" >&5
48395 sed 's/^/| /' conftest.$ac_ext >&5
48397 eval "$as_ac_var=no"
48400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48401 conftest$ac_exeext conftest.$ac_ext
48403 ac_res=`eval echo '${'$as_ac_var'}'`
48404 { echo "$as_me:$LINENO: result: $ac_res" >&5
48405 echo "${ECHO_T}$ac_res" >&6; }
48406 if test `eval echo '${'$as_ac_var'}'` = yes; then
48407 cat >>confdefs.h <<_ACEOF
48408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48415 if test "$ac_cv_func_localtime" = "yes"; then
48416 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48417 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48418 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48419 echo $ECHO_N "(cached) $ECHO_C" >&6
48422 cat >conftest.$ac_ext <<_ACEOF
48425 cat confdefs.h >>conftest.$ac_ext
48426 cat >>conftest.$ac_ext <<_ACEOF
48427 /* end confdefs.h. */
48442 rm -f conftest.$ac_objext
48443 if { (ac_try="$ac_compile"
48444 case "(($ac_try" in
48445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48446 *) ac_try_echo
=$ac_try;;
48448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48449 (eval "$ac_compile") 2>conftest.er1
48451 grep -v '^ *+' conftest.er1
>conftest.err
48453 cat conftest.err
>&5
48454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48455 (exit $ac_status); } && {
48456 test -z "$ac_c_werror_flag" ||
48457 test ! -s conftest.err
48458 } && test -s conftest.
$ac_objext; then
48460 wx_cv_struct_tm_has_gmtoff
=yes
48463 echo "$as_me: failed program was:" >&5
48464 sed 's/^/| /' conftest.
$ac_ext >&5
48466 wx_cv_struct_tm_has_gmtoff
=no
48470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48473 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48474 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48477 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48478 cat >>confdefs.h
<<\_ACEOF
48479 #define WX_GMTOFF_IN_TM 1
48484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
48488 if test "$wxUSE_SOCKETS" = "yes"; then
48489 if test "$wxUSE_MGL" = 1; then
48490 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48491 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48496 if test "$wxUSE_SOCKETS" = "yes"; then
48497 if test "$TOOLKIT" != "MSW"; then
48498 { echo "$as_me:$LINENO: checking for socket" >&5
48499 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48500 if test "${ac_cv_func_socket+set}" = set; then
48501 echo $ECHO_N "(cached) $ECHO_C" >&6
48503 cat >conftest.
$ac_ext <<_ACEOF
48506 cat confdefs.h
>>conftest.
$ac_ext
48507 cat >>conftest.
$ac_ext <<_ACEOF
48508 /* end confdefs.h. */
48509 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48511 #define socket innocuous_socket
48513 /* System header to define __stub macros and hopefully few prototypes,
48514 which can conflict with char socket (); below.
48515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48516 <limits.h> exists even on freestanding compilers. */
48519 # include <limits.h>
48521 # include <assert.h>
48526 /* Override any GCC internal prototype to avoid an error.
48527 Use char because int might match the return type of a GCC
48528 builtin and then its argument prototype would still apply. */
48533 /* The GNU C library defines this for functions which it implements
48534 to always fail with ENOSYS. Some functions are actually named
48535 something starting with __ and the normal name is an alias. */
48536 #if defined __stub_socket || defined __stub___socket
48548 rm -f conftest.
$ac_objext conftest
$ac_exeext
48549 if { (ac_try
="$ac_link"
48550 case "(($ac_try" in
48551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48552 *) ac_try_echo=$ac_try;;
48554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48555 (eval "$ac_link") 2>conftest.er1
48557 grep -v '^ *+' conftest.er1 >conftest.err
48559 cat conftest.err >&5
48560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48561 (exit $ac_status); } && {
48562 test -z "$ac_c_werror_flag" ||
48563 test ! -s conftest.err
48564 } && test -s conftest$ac_exeext &&
48565 $as_test_x conftest$ac_exeext; then
48566 ac_cv_func_socket=yes
48568 echo "$as_me: failed program was:" >&5
48569 sed 's/^/| /' conftest.$ac_ext >&5
48571 ac_cv_func_socket=no
48574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48575 conftest$ac_exeext conftest.$ac_ext
48577 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48578 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48579 if test $ac_cv_func_socket = yes; then
48583 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48584 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48585 if test "${ac_cv_lib_socket_socket+set}" = set; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48588 ac_check_lib_save_LIBS=$LIBS
48589 LIBS="-lsocket $LIBS"
48590 cat >conftest.$ac_ext <<_ACEOF
48593 cat confdefs.h >>conftest.$ac_ext
48594 cat >>conftest.$ac_ext <<_ACEOF
48595 /* end confdefs.h. */
48597 /* Override any GCC internal prototype to avoid an error.
48598 Use char because int might match the return type of a GCC
48599 builtin and then its argument prototype would still apply. */
48612 rm -f conftest.$ac_objext conftest$ac_exeext
48613 if { (ac_try="$ac_link"
48614 case "(($ac_try" in
48615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48616 *) ac_try_echo
=$ac_try;;
48618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48619 (eval "$ac_link") 2>conftest.er1
48621 grep -v '^ *+' conftest.er1
>conftest.err
48623 cat conftest.err
>&5
48624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48625 (exit $ac_status); } && {
48626 test -z "$ac_c_werror_flag" ||
48627 test ! -s conftest.err
48628 } && test -s conftest
$ac_exeext &&
48629 $as_test_x conftest
$ac_exeext; then
48630 ac_cv_lib_socket_socket
=yes
48632 echo "$as_me: failed program was:" >&5
48633 sed 's/^/| /' conftest.
$ac_ext >&5
48635 ac_cv_lib_socket_socket
=no
48638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
48639 conftest
$ac_exeext conftest.
$ac_ext
48640 LIBS
=$ac_check_lib_save_LIBS
48642 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48643 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48644 if test $ac_cv_lib_socket_socket = yes; then
48645 if test "$INET_LINK" != " -lsocket"; then
48646 INET_LINK
="$INET_LINK -lsocket"
48650 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48651 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48664 if test "$wxUSE_SOCKETS" = "yes" ; then
48665 if test "$TOOLKIT" != "MSW"; then
48666 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48667 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48668 if test "${wx_cv_type_getsockname3+set}" = set; then
48669 echo $ECHO_N "(cached) $ECHO_C" >&6
48673 ac_cpp
='$CXXCPP $CPPFLAGS'
48674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48678 cat >conftest.
$ac_ext <<_ACEOF
48681 cat confdefs.h
>>conftest.
$ac_ext
48682 cat >>conftest.
$ac_ext <<_ACEOF
48683 /* end confdefs.h. */
48685 #include <sys/types.h>
48686 #include <sys/socket.h>
48693 getsockname(0, 0, &len);
48699 rm -f conftest.
$ac_objext
48700 if { (ac_try
="$ac_compile"
48701 case "(($ac_try" in
48702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48703 *) ac_try_echo=$ac_try;;
48705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48706 (eval "$ac_compile") 2>conftest.er1
48708 grep -v '^ *+' conftest.er1 >conftest.err
48710 cat conftest.err >&5
48711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712 (exit $ac_status); } && {
48713 test -z "$ac_cxx_werror_flag" ||
48714 test ! -s conftest.err
48715 } && test -s conftest.$ac_objext; then
48716 wx_cv_type_getsockname3=socklen_t
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.$ac_ext >&5
48722 CFLAGS_OLD="$CFLAGS"
48723 if test "$GCC" = yes ; then
48724 CFLAGS="-Werror $CFLAGS"
48727 cat >conftest.$ac_ext <<_ACEOF
48730 cat confdefs.h >>conftest.$ac_ext
48731 cat >>conftest.$ac_ext <<_ACEOF
48732 /* end confdefs.h. */
48734 #include <sys/types.h>
48735 #include <sys/socket.h>
48742 getsockname(0, 0, &len);
48748 rm -f conftest.$ac_objext
48749 if { (ac_try="$ac_compile"
48750 case "(($ac_try" in
48751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48752 *) ac_try_echo
=$ac_try;;
48754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48755 (eval "$ac_compile") 2>conftest.er1
48757 grep -v '^ *+' conftest.er1
>conftest.err
48759 cat conftest.err
>&5
48760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48761 (exit $ac_status); } && {
48762 test -z "$ac_cxx_werror_flag" ||
48763 test ! -s conftest.err
48764 } && test -s conftest.
$ac_objext; then
48765 wx_cv_type_getsockname3
=size_t
48767 echo "$as_me: failed program was:" >&5
48768 sed 's/^/| /' conftest.
$ac_ext >&5
48770 cat >conftest.
$ac_ext <<_ACEOF
48773 cat confdefs.h
>>conftest.
$ac_ext
48774 cat >>conftest.
$ac_ext <<_ACEOF
48775 /* end confdefs.h. */
48777 #include <sys/types.h>
48778 #include <sys/socket.h>
48785 getsockname(0, 0, &len);
48791 rm -f conftest.
$ac_objext
48792 if { (ac_try
="$ac_compile"
48793 case "(($ac_try" in
48794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48795 *) ac_try_echo=$ac_try;;
48797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48798 (eval "$ac_compile") 2>conftest.er1
48800 grep -v '^ *+' conftest.er1 >conftest.err
48802 cat conftest.err >&5
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); } && {
48805 test -z "$ac_cxx_werror_flag" ||
48806 test ! -s conftest.err
48807 } && test -s conftest.$ac_objext; then
48808 wx_cv_type_getsockname3=int
48810 echo "$as_me: failed program was:" >&5
48811 sed 's/^/| /' conftest.$ac_ext >&5
48813 wx_cv_type_getsockname3=unknown
48817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48823 CFLAGS="$CFLAGS_OLD"
48828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48830 ac_cpp='$CPP $CPPFLAGS'
48831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48837 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48838 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48840 if test "$wx_cv_type_getsockname3" = "unknown"; then
48842 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48843 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48845 cat >>confdefs.h <<_ACEOF
48846 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48850 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48851 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48852 if test "${wx_cv_type_getsockopt5+set}" = set; then
48853 echo $ECHO_N "(cached) $ECHO_C" >&6
48857 ac_cpp='$CXXCPP $CPPFLAGS'
48858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48862 cat >conftest.$ac_ext <<_ACEOF
48865 cat confdefs.h >>conftest.$ac_ext
48866 cat >>conftest.$ac_ext <<_ACEOF
48867 /* end confdefs.h. */
48869 #include <sys/types.h>
48870 #include <sys/socket.h>
48877 getsockopt(0, 0, 0, 0, &len);
48883 rm -f conftest.$ac_objext
48884 if { (ac_try="$ac_compile"
48885 case "(($ac_try" in
48886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48887 *) ac_try_echo
=$ac_try;;
48889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48890 (eval "$ac_compile") 2>conftest.er1
48892 grep -v '^ *+' conftest.er1
>conftest.err
48894 cat conftest.err
>&5
48895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48896 (exit $ac_status); } && {
48897 test -z "$ac_cxx_werror_flag" ||
48898 test ! -s conftest.err
48899 } && test -s conftest.
$ac_objext; then
48900 wx_cv_type_getsockopt5
=socklen_t
48902 echo "$as_me: failed program was:" >&5
48903 sed 's/^/| /' conftest.
$ac_ext >&5
48906 cat >conftest.
$ac_ext <<_ACEOF
48909 cat confdefs.h
>>conftest.
$ac_ext
48910 cat >>conftest.
$ac_ext <<_ACEOF
48911 /* end confdefs.h. */
48913 #include <sys/types.h>
48914 #include <sys/socket.h>
48921 getsockopt(0, 0, 0, 0, &len);
48927 rm -f conftest.
$ac_objext
48928 if { (ac_try
="$ac_compile"
48929 case "(($ac_try" in
48930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48931 *) ac_try_echo=$ac_try;;
48933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48934 (eval "$ac_compile") 2>conftest.er1
48936 grep -v '^ *+' conftest.er1 >conftest.err
48938 cat conftest.err >&5
48939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48940 (exit $ac_status); } && {
48941 test -z "$ac_cxx_werror_flag" ||
48942 test ! -s conftest.err
48943 } && test -s conftest.$ac_objext; then
48944 wx_cv_type_getsockopt5=size_t
48946 echo "$as_me: failed program was:" >&5
48947 sed 's/^/| /' conftest.$ac_ext >&5
48949 cat >conftest.$ac_ext <<_ACEOF
48952 cat confdefs.h >>conftest.$ac_ext
48953 cat >>conftest.$ac_ext <<_ACEOF
48954 /* end confdefs.h. */
48956 #include <sys/types.h>
48957 #include <sys/socket.h>
48964 getsockopt(0, 0, 0, 0, &len);
48970 rm -f conftest.$ac_objext
48971 if { (ac_try="$ac_compile"
48972 case "(($ac_try" in
48973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48974 *) ac_try_echo
=$ac_try;;
48976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48977 (eval "$ac_compile") 2>conftest.er1
48979 grep -v '^ *+' conftest.er1
>conftest.err
48981 cat conftest.err
>&5
48982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48983 (exit $ac_status); } && {
48984 test -z "$ac_cxx_werror_flag" ||
48985 test ! -s conftest.err
48986 } && test -s conftest.
$ac_objext; then
48987 wx_cv_type_getsockopt5
=int
48989 echo "$as_me: failed program was:" >&5
48990 sed 's/^/| /' conftest.
$ac_ext >&5
48992 wx_cv_type_getsockopt5
=unknown
48996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49007 ac_cpp
='$CPP $CPPFLAGS'
49008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49014 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
49015 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
49017 if test "$wx_cv_type_getsockopt5" = "unknown"; then
49019 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
49020 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
49022 cat >>confdefs.h
<<_ACEOF
49023 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
49030 if test "$wxUSE_SOCKETS" = "yes" ; then
49031 if test "$wxUSE_IPV6" = "yes"; then
49032 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
49033 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
49034 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
49035 echo $ECHO_N "(cached) $ECHO_C" >&6
49038 cat >conftest.
$ac_ext <<_ACEOF
49041 cat confdefs.h
>>conftest.
$ac_ext
49042 cat >>conftest.
$ac_ext <<_ACEOF
49043 /* end confdefs.h. */
49045 #include <sys/types.h>
49046 #include <sys/socket.h>
49047 #include <netinet/in.h>
49053 struct sockaddr_in6 sa6;
49059 rm -f conftest.
$ac_objext
49060 if { (ac_try
="$ac_compile"
49061 case "(($ac_try" in
49062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49063 *) ac_try_echo=$ac_try;;
49065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49066 (eval "$ac_compile") 2>conftest.er1
49068 grep -v '^ *+' conftest.er1 >conftest.err
49070 cat conftest.err >&5
49071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49072 (exit $ac_status); } && {
49073 test -z "$ac_c_werror_flag" ||
49074 test ! -s conftest.err
49075 } && test -s conftest.$ac_objext; then
49076 wx_cv_type_sockaddr_in6=yes
49078 echo "$as_me: failed program was:" >&5
49079 sed 's/^/| /' conftest.$ac_ext >&5
49081 wx_cv_type_sockaddr_in6=no
49085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49089 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49090 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49092 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49093 cat >>confdefs.h <<\_ACEOF
49094 #define wxUSE_IPV6 1
49098 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49099 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49103 cat >>confdefs.h <<\_ACEOF
49104 #define wxUSE_SOCKETS 1
49107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49110 if test "$wxUSE_PROTOCOL" = "yes"; then
49111 if test "$wxUSE_SOCKETS" != "yes"; then
49112 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49113 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49118 if test "$wxUSE_PROTOCOL" = "yes"; then
49119 cat >>confdefs.h <<\_ACEOF
49120 #define wxUSE_PROTOCOL 1
49124 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49125 cat >>confdefs.h <<\_ACEOF
49126 #define wxUSE_PROTOCOL_HTTP 1
49130 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49131 cat >>confdefs.h <<\_ACEOF
49132 #define wxUSE_PROTOCOL_FTP 1
49136 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49137 cat >>confdefs.h <<\_ACEOF
49138 #define wxUSE_PROTOCOL_FILE 1
49143 if test "$wxUSE_FS_INET" = "yes"; then
49144 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49145 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49150 if test "$wxUSE_URL" = "yes"; then
49151 if test "$wxUSE_PROTOCOL" != "yes"; then
49152 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49153 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49156 if test "$wxUSE_URL" = "yes"; then
49157 cat >>confdefs.h <<\_ACEOF
49158 #define wxUSE_URL 1
49164 if test "$wxUSE_VARIANT" = "yes"; then
49165 cat >>confdefs.h <<\_ACEOF
49166 #define wxUSE_VARIANT 1
49171 if test "$wxUSE_FS_INET" = "yes"; then
49172 cat >>confdefs.h <<\_ACEOF
49173 #define wxUSE_FS_INET 1
49179 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49182 if test "$TOOLKIT" = "MSW"; then
49185 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49186 if test "$USE_DARWIN" = 1; then
49187 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49188 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49190 ac_cpp='$CXXCPP $CPPFLAGS'
49191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49195 cat >conftest.$ac_ext <<_ACEOF
49198 cat confdefs.h >>conftest.$ac_ext
49199 cat >>conftest.$ac_ext <<_ACEOF
49200 /* end confdefs.h. */
49201 #include <IOKit/hid/IOHIDLib.h>
49205 IOHIDQueueInterface *qi = NULL;
49206 IOHIDCallbackFunction cb = NULL;
49207 qi->setEventCallout(NULL, cb, NULL, NULL);
49212 rm -f conftest.$ac_objext
49213 if { (ac_try="$ac_compile"
49214 case "(($ac_try" in
49215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49216 *) ac_try_echo
=$ac_try;;
49218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49219 (eval "$ac_compile") 2>conftest.er1
49221 grep -v '^ *+' conftest.er1
>conftest.err
49223 cat conftest.err
>&5
49224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49225 (exit $ac_status); } && {
49226 test -z "$ac_cxx_werror_flag" ||
49227 test ! -s conftest.err
49228 } && test -s conftest.
$ac_objext; then
49232 echo "$as_me: failed program was:" >&5
49233 sed 's/^/| /' conftest.
$ac_ext >&5
49238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49240 ac_cpp
='$CPP $CPPFLAGS'
49241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49245 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49246 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49250 if test "$wxUSE_MGL" != 1; then
49252 for ac_header
in linux
/joystick.h
49254 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49255 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49257 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49258 echo $ECHO_N "(cached) $ECHO_C" >&6
49260 cat >conftest.
$ac_ext <<_ACEOF
49263 cat confdefs.h
>>conftest.
$ac_ext
49264 cat >>conftest.
$ac_ext <<_ACEOF
49265 /* end confdefs.h. */
49266 $ac_includes_default
49268 #include <$ac_header>
49270 rm -f conftest.
$ac_objext
49271 if { (ac_try
="$ac_compile"
49272 case "(($ac_try" in
49273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49274 *) ac_try_echo=$ac_try;;
49276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49277 (eval "$ac_compile") 2>conftest.er1
49279 grep -v '^ *+' conftest.er1 >conftest.err
49281 cat conftest.err >&5
49282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49283 (exit $ac_status); } && {
49284 test -z "$ac_c_werror_flag" ||
49285 test ! -s conftest.err
49286 } && test -s conftest.$ac_objext; then
49287 eval "$as_ac_Header=yes"
49289 echo "$as_me: failed program was:" >&5
49290 sed 's/^/| /' conftest.$ac_ext >&5
49292 eval "$as_ac_Header=no"
49295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49297 ac_res=`eval echo '${'$as_ac_Header'}'`
49298 { echo "$as_me:$LINENO: result: $ac_res" >&5
49299 echo "${ECHO_T}$ac_res" >&6; }
49300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49301 cat >>confdefs.h <<_ACEOF
49302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49312 if test "$wxUSE_JOYSTICK" = "yes"; then
49313 cat >>confdefs.h <<\_ACEOF
49314 #define wxUSE_JOYSTICK 1
49317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49319 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49320 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49326 if test "$wxUSE_FONTENUM" = "yes" ; then
49327 cat >>confdefs.h <<\_ACEOF
49328 #define wxUSE_FONTENUM 1
49333 if test "$wxUSE_FONTMAP" = "yes" ; then
49334 cat >>confdefs.h <<\_ACEOF
49335 #define wxUSE_FONTMAP 1
49340 if test "$wxUSE_UNICODE" = "yes" ; then
49341 cat >>confdefs.h <<\_ACEOF
49342 #define wxUSE_UNICODE 1
49346 if test "$USE_WIN32" != 1; then
49347 wxUSE_UNICODE_MSLU=no
49350 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49351 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49352 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49353 if test "${ac_cv_lib_unicows_main+set}" = set; then
49354 echo $ECHO_N "(cached) $ECHO_C" >&6
49356 ac_check_lib_save_LIBS=$LIBS
49357 LIBS="-lunicows $LIBS"
49358 cat >conftest.$ac_ext <<_ACEOF
49361 cat confdefs.h >>conftest.$ac_ext
49362 cat >>conftest.$ac_ext <<_ACEOF
49363 /* end confdefs.h. */
49374 rm -f conftest.$ac_objext conftest$ac_exeext
49375 if { (ac_try="$ac_link"
49376 case "(($ac_try" in
49377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49378 *) ac_try_echo
=$ac_try;;
49380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49381 (eval "$ac_link") 2>conftest.er1
49383 grep -v '^ *+' conftest.er1
>conftest.err
49385 cat conftest.err
>&5
49386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49387 (exit $ac_status); } && {
49388 test -z "$ac_c_werror_flag" ||
49389 test ! -s conftest.err
49390 } && test -s conftest
$ac_exeext &&
49391 $as_test_x conftest
$ac_exeext; then
49392 ac_cv_lib_unicows_main
=yes
49394 echo "$as_me: failed program was:" >&5
49395 sed 's/^/| /' conftest.
$ac_ext >&5
49397 ac_cv_lib_unicows_main
=no
49400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
49401 conftest
$ac_exeext conftest.
$ac_ext
49402 LIBS
=$ac_check_lib_save_LIBS
49404 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49405 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49406 if test $ac_cv_lib_unicows_main = yes; then
49408 cat >>confdefs.h
<<\_ACEOF
49409 #define wxUSE_UNICODE_MSLU 1
49415 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49416 Applications will only run on Windows NT/2000/XP!" >&5
49417 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49418 Applications will only run on Windows NT/2000/XP!" >&2;}
49419 wxUSE_UNICODE_MSLU
=no
49426 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49427 cat >>confdefs.h
<<\_ACEOF
49428 #define wxUSE_UNICODE_UTF8 1
49432 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49433 cat >>confdefs.h
<<\_ACEOF
49434 #define wxUSE_UTF8_LOCALE_ONLY 1
49441 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49442 cat >>confdefs.h
<<\_ACEOF
49443 #define wxUSE_CONSTRAINTS 1
49446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
49449 if test "$wxUSE_MDI" = "yes"; then
49450 cat >>confdefs.h
<<\_ACEOF
49451 #define wxUSE_MDI 1
49455 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49456 cat >>confdefs.h
<<\_ACEOF
49457 #define wxUSE_MDI_ARCHITECTURE 1
49460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
49464 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49465 cat >>confdefs.h
<<\_ACEOF
49466 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
49472 if test "$wxUSE_HELP" = "yes"; then
49473 cat >>confdefs.h
<<\_ACEOF
49474 #define wxUSE_HELP 1
49477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
49479 if test "$wxUSE_MSW" = 1; then
49480 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49481 cat >>confdefs.h
<<\_ACEOF
49482 #define wxUSE_MS_HTML_HELP 1
49488 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49489 if test "$wxUSE_HTML" = "yes"; then
49490 cat >>confdefs.h
<<\_ACEOF
49491 #define wxUSE_WXHTML_HELP 1
49495 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49496 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49497 wxUSE_WXHTML_HELP
=no
49502 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49503 cat >>confdefs.h
<<\_ACEOF
49504 #define wxUSE_PRINTING_ARCHITECTURE 1
49507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
49510 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49511 cat >>confdefs.h
<<\_ACEOF
49512 #define wxUSE_POSTSCRIPT 1
49517 cat >>confdefs.h
<<\_ACEOF
49518 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49522 if test "$wxUSE_SVG" = "yes"; then
49523 cat >>confdefs.h
<<\_ACEOF
49524 #define wxUSE_SVG 1
49530 if test "$wxUSE_METAFILE" = "yes"; then
49531 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49532 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49533 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49536 elif test "$wxUSE_METAFILE" = "auto"; then
49537 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49542 if test "$wxUSE_METAFILE" = "yes"; then
49543 cat >>confdefs.h
<<\_ACEOF
49544 #define wxUSE_METAFILE 1
49547 if test "$wxUSE_MSW" = 1; then
49548 cat >>confdefs.h
<<\_ACEOF
49549 #define wxUSE_ENH_METAFILE 1
49556 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
49557 -o "$wxUSE_CLIPBOARD" = "yes" \
49558 -o "$wxUSE_OLE" = "yes" \
49559 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
49560 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49561 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49562 if test "${ac_cv_header_ole2_h+set}" = set; then
49563 echo $ECHO_N "(cached) $ECHO_C" >&6
49565 cat >conftest.
$ac_ext <<_ACEOF
49568 cat confdefs.h
>>conftest.
$ac_ext
49569 cat >>conftest.
$ac_ext <<_ACEOF
49570 /* end confdefs.h. */
49575 rm -f conftest.
$ac_objext
49576 if { (ac_try
="$ac_compile"
49577 case "(($ac_try" in
49578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49579 *) ac_try_echo=$ac_try;;
49581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49582 (eval "$ac_compile") 2>conftest.er1
49584 grep -v '^ *+' conftest.er1 >conftest.err
49586 cat conftest.err >&5
49587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49588 (exit $ac_status); } && {
49589 test -z "$ac_c_werror_flag" ||
49590 test ! -s conftest.err
49591 } && test -s conftest.$ac_objext; then
49592 ac_cv_header_ole2_h=yes
49594 echo "$as_me: failed program was:" >&5
49595 sed 's/^/| /' conftest.$ac_ext >&5
49597 ac_cv_header_ole2_h=no
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49603 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49607 if test "$ac_cv_header_ole2_h" = "yes" ; then
49608 if test "$GCC" = yes ; then
49609 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49610 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49611 cat >conftest.$ac_ext <<_ACEOF
49614 cat confdefs.h >>conftest.$ac_ext
49615 cat >>conftest.$ac_ext <<_ACEOF
49616 /* end confdefs.h. */
49617 #include <windows.h>
49627 rm -f conftest.$ac_objext
49628 if { (ac_try="$ac_compile"
49629 case "(($ac_try" in
49630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49631 *) ac_try_echo
=$ac_try;;
49633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49634 (eval "$ac_compile") 2>conftest.er1
49636 grep -v '^ *+' conftest.er1
>conftest.err
49638 cat conftest.err
>&5
49639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49640 (exit $ac_status); } && {
49641 test -z "$ac_c_werror_flag" ||
49642 test ! -s conftest.err
49643 } && test -s conftest.
$ac_objext; then
49644 { echo "$as_me:$LINENO: result: no" >&5
49645 echo "${ECHO_T}no" >&6; }
49647 echo "$as_me: failed program was:" >&5
49648 sed 's/^/| /' conftest.
$ac_ext >&5
49650 { echo "$as_me:$LINENO: result: yes" >&5
49651 echo "${ECHO_T}yes" >&6; }
49652 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49656 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49657 if test "$wxUSE_OLE" = "yes" ; then
49658 cat >>confdefs.h
<<\_ACEOF
49659 #define wxUSE_OLE 1
49662 cat >>confdefs.h
<<\_ACEOF
49663 #define wxUSE_OLE_AUTOMATION 1
49666 cat >>confdefs.h
<<\_ACEOF
49667 #define wxUSE_ACTIVEX 1
49670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
49674 if test "$wxUSE_DATAOBJ" = "yes" ; then
49675 cat >>confdefs.h
<<\_ACEOF
49676 #define wxUSE_DATAOBJ 1
49681 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49682 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49685 wxUSE_DRAG_AND_DROP
=no
49691 if test "$wxUSE_IPC" = "yes"; then
49692 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49693 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49694 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49698 if test "$wxUSE_IPC" = "yes"; then
49699 cat >>confdefs.h
<<\_ACEOF
49700 #define wxUSE_IPC 1
49703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
49707 if test "$wxUSE_DATAOBJ" = "yes"; then
49708 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49709 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49710 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49713 cat >>confdefs.h
<<\_ACEOF
49714 #define wxUSE_DATAOBJ 1
49719 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49720 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49722 wxUSE_DRAG_AND_DROP
=no
49725 if test "$wxUSE_CLIPBOARD" = "yes"; then
49726 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49727 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49728 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49732 if test "$wxUSE_CLIPBOARD" = "yes"; then
49733 cat >>confdefs.h
<<\_ACEOF
49734 #define wxUSE_CLIPBOARD 1
49740 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49741 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49742 "$wxUSE_DFB" = 1; then
49743 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49744 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49745 wxUSE_DRAG_AND_DROP
=no
49748 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49749 cat >>confdefs.h
<<\_ACEOF
49750 #define wxUSE_DRAG_AND_DROP 1
49757 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
49761 if test "$wxUSE_CLIPBOARD" = "yes"; then
49762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
49765 if test "$wxUSE_SPLINES" = "yes" ; then
49766 cat >>confdefs.h
<<\_ACEOF
49767 #define wxUSE_SPLINES 1
49772 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49773 cat >>confdefs.h
<<\_ACEOF
49774 #define wxUSE_MOUSEWHEEL 1
49779 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49780 cat >>confdefs.h
<<\_ACEOF
49781 #define wxUSE_UIACTIONSIMULATOR 1
49784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
49787 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49788 cat >>confdefs.h
<<\_ACEOF
49789 #define wxUSE_DC_TRANSFORM_MATRIX 1
49796 if test "$wxUSE_CONTROLS" = "yes"; then
49800 if test "$wxUSE_MARKUP" = "yes"; then
49801 cat >>confdefs.h
<<\_ACEOF
49802 #define wxUSE_MARKUP 1
49807 if test "$wxUSE_ACCEL" = "yes"; then
49808 cat >>confdefs.h
<<\_ACEOF
49809 #define wxUSE_ACCEL 1
49815 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49816 cat >>confdefs.h
<<\_ACEOF
49817 #define wxUSE_ANIMATIONCTRL 1
49821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
49824 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49825 cat >>confdefs.h
<<\_ACEOF
49826 #define wxUSE_BANNERWINDOW 1
49831 if test "$wxUSE_BUTTON" = "yes"; then
49832 cat >>confdefs.h
<<\_ACEOF
49833 #define wxUSE_BUTTON 1
49839 if test "$wxUSE_BMPBUTTON" = "yes"; then
49840 cat >>confdefs.h
<<\_ACEOF
49841 #define wxUSE_BMPBUTTON 1
49847 if test "$wxUSE_CALCTRL" = "yes"; then
49848 cat >>confdefs.h
<<\_ACEOF
49849 #define wxUSE_CALENDARCTRL 1
49853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
49856 if test "$wxUSE_CARET" = "yes"; then
49857 cat >>confdefs.h
<<\_ACEOF
49858 #define wxUSE_CARET 1
49862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
49865 if test "$wxUSE_COLLPANE" = "yes"; then
49866 cat >>confdefs.h
<<\_ACEOF
49867 #define wxUSE_COLLPANE 1
49871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
49874 if test "$wxUSE_COMBOBOX" = "yes"; then
49875 cat >>confdefs.h
<<\_ACEOF
49876 #define wxUSE_COMBOBOX 1
49882 if test "$wxUSE_COMBOCTRL" = "yes"; then
49883 cat >>confdefs.h
<<\_ACEOF
49884 #define wxUSE_COMBOCTRL 1
49890 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49891 cat >>confdefs.h
<<\_ACEOF
49892 #define wxUSE_COMMANDLINKBUTTON 1
49898 if test "$wxUSE_CHOICE" = "yes"; then
49899 cat >>confdefs.h
<<\_ACEOF
49900 #define wxUSE_CHOICE 1
49906 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49907 cat >>confdefs.h
<<\_ACEOF
49908 #define wxUSE_CHOICEBOOK 1
49914 if test "$wxUSE_CHECKBOX" = "yes"; then
49915 cat >>confdefs.h
<<\_ACEOF
49916 #define wxUSE_CHECKBOX 1
49922 if test "$wxUSE_CHECKLST" = "yes"; then
49923 cat >>confdefs.h
<<\_ACEOF
49924 #define wxUSE_CHECKLISTBOX 1
49930 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49931 cat >>confdefs.h
<<\_ACEOF
49932 #define wxUSE_COLOURPICKERCTRL 1
49938 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49939 cat >>confdefs.h
<<\_ACEOF
49940 #define wxUSE_DATEPICKCTRL 1
49946 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49947 cat >>confdefs.h
<<\_ACEOF
49948 #define wxUSE_DIRPICKERCTRL 1
49954 if test "$wxUSE_FILECTRL" = "yes"; then
49955 cat >>confdefs.h
<<\_ACEOF
49956 #define wxUSE_FILECTRL 1
49962 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49963 cat >>confdefs.h
<<\_ACEOF
49964 #define wxUSE_FILEPICKERCTRL 1
49970 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49971 cat >>confdefs.h
<<\_ACEOF
49972 #define wxUSE_FONTPICKERCTRL 1
49978 if test "$wxUSE_DISPLAY" = "yes"; then
49979 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
49980 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49981 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49984 cat >>confdefs.h
<<\_ACEOF
49985 #define wxUSE_DISPLAY 1
49988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
49992 if test "$wxUSE_DETECT_SM" = "yes"; then
49993 cat >>confdefs.h
<<\_ACEOF
49994 #define wxUSE_DETECT_SM 1
49999 if test "$wxUSE_GAUGE" = "yes"; then
50000 cat >>confdefs.h
<<\_ACEOF
50001 #define wxUSE_GAUGE 1
50007 if test "$wxUSE_GRID" = "yes"; then
50008 cat >>confdefs.h
<<\_ACEOF
50009 #define wxUSE_GRID 1
50013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
50016 if test "$wxUSE_HEADERCTRL" = "yes"; then
50017 cat >>confdefs.h
<<\_ACEOF
50018 #define wxUSE_HEADERCTRL 1
50024 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
50025 cat >>confdefs.h
<<\_ACEOF
50026 #define wxUSE_HYPERLINKCTRL 1
50032 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
50033 cat >>confdefs.h
<<\_ACEOF
50034 #define wxUSE_BITMAPCOMBOBOX 1
50040 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
50041 cat >>confdefs.h
<<\_ACEOF
50042 #define wxUSE_DATAVIEWCTRL 1
50046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
50049 if test "$wxUSE_IMAGLIST" = "yes"; then
50050 cat >>confdefs.h
<<\_ACEOF
50051 #define wxUSE_IMAGLIST 1
50056 if test "$wxUSE_INFOBAR" = "yes"; then
50057 cat >>confdefs.h
<<\_ACEOF
50058 #define wxUSE_INFOBAR 1
50063 if test "$wxUSE_LISTBOOK" = "yes"; then
50064 cat >>confdefs.h
<<\_ACEOF
50065 #define wxUSE_LISTBOOK 1
50071 if test "$wxUSE_LISTBOX" = "yes"; then
50072 cat >>confdefs.h
<<\_ACEOF
50073 #define wxUSE_LISTBOX 1
50079 if test "$wxUSE_LISTCTRL" = "yes"; then
50080 if test "$wxUSE_IMAGLIST" = "yes"; then
50081 cat >>confdefs.h
<<\_ACEOF
50082 #define wxUSE_LISTCTRL 1
50086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
50088 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50089 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50093 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50094 cat >>confdefs.h
<<\_ACEOF
50095 #define wxUSE_EDITABLELISTBOX 1
50101 if test "$wxUSE_NOTEBOOK" = "yes"; then
50102 cat >>confdefs.h
<<\_ACEOF
50103 #define wxUSE_NOTEBOOK 1
50107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
50110 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50111 cat >>confdefs.h
<<\_ACEOF
50112 #define wxUSE_NOTIFICATION_MESSAGE 1
50117 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50118 cat >>confdefs.h
<<\_ACEOF
50119 #define wxUSE_ODCOMBOBOX 1
50123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
50126 if test "$wxUSE_RADIOBOX" = "yes"; then
50127 cat >>confdefs.h
<<\_ACEOF
50128 #define wxUSE_RADIOBOX 1
50134 if test "$wxUSE_RADIOBTN" = "yes"; then
50135 cat >>confdefs.h
<<\_ACEOF
50136 #define wxUSE_RADIOBTN 1
50142 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50143 cat >>confdefs.h
<<\_ACEOF
50144 #define wxUSE_REARRANGECTRL 1
50149 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50150 cat >>confdefs.h
<<\_ACEOF
50151 #define wxUSE_RICHMSGDLG 1
50156 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50157 cat >>confdefs.h
<<\_ACEOF
50158 #define wxUSE_RICHTOOLTIP 1
50163 if test "$wxUSE_SASH" = "yes"; then
50164 cat >>confdefs.h
<<\_ACEOF
50165 #define wxUSE_SASH 1
50168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
50171 if test "$wxUSE_SCROLLBAR" = "yes"; then
50172 cat >>confdefs.h
<<\_ACEOF
50173 #define wxUSE_SCROLLBAR 1
50177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
50180 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50181 cat >>confdefs.h
<<\_ACEOF
50182 #define wxUSE_SEARCHCTRL 1
50188 if test "$wxUSE_SLIDER" = "yes"; then
50189 cat >>confdefs.h
<<\_ACEOF
50190 #define wxUSE_SLIDER 1
50196 if test "$wxUSE_SPINBTN" = "yes"; then
50197 cat >>confdefs.h
<<\_ACEOF
50198 #define wxUSE_SPINBTN 1
50204 if test "$wxUSE_SPINCTRL" = "yes"; then
50205 cat >>confdefs.h
<<\_ACEOF
50206 #define wxUSE_SPINCTRL 1
50212 if test "$wxUSE_SPLITTER" = "yes"; then
50213 cat >>confdefs.h
<<\_ACEOF
50214 #define wxUSE_SPLITTER 1
50217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
50220 if test "$wxUSE_STATBMP" = "yes"; then
50221 cat >>confdefs.h
<<\_ACEOF
50222 #define wxUSE_STATBMP 1
50228 if test "$wxUSE_STATBOX" = "yes"; then
50229 cat >>confdefs.h
<<\_ACEOF
50230 #define wxUSE_STATBOX 1
50236 if test "$wxUSE_STATTEXT" = "yes"; then
50237 cat >>confdefs.h
<<\_ACEOF
50238 #define wxUSE_STATTEXT 1
50244 if test "$wxUSE_STATLINE" = "yes"; then
50245 cat >>confdefs.h
<<\_ACEOF
50246 #define wxUSE_STATLINE 1
50252 if test "$wxUSE_STATUSBAR" = "yes"; then
50253 cat >>confdefs.h
<<\_ACEOF
50254 #define wxUSE_NATIVE_STATUSBAR 1
50257 cat >>confdefs.h
<<\_ACEOF
50258 #define wxUSE_STATUSBAR 1
50263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
50266 if test "$wxUSE_TEXTCTRL" = "yes"; then
50267 cat >>confdefs.h
<<\_ACEOF
50268 #define wxUSE_TEXTCTRL 1
50272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
50274 cat >>confdefs.h
<<\_ACEOF
50275 #define wxUSE_RICHEDIT 1
50278 cat >>confdefs.h
<<\_ACEOF
50279 #define wxUSE_RICHEDIT2 1
50284 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50285 cat >>confdefs.h
<<\_ACEOF
50286 #define wxUSE_TIMEPICKCTRL 1
50292 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50293 if test "$wxUSE_OLD_COCOA" = 1 ; then
50294 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50295 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50299 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50300 cat >>confdefs.h
<<\_ACEOF
50301 #define wxUSE_TOGGLEBTN 1
50308 if test "$wxUSE_TOOLBAR" = "yes"; then
50309 cat >>confdefs.h
<<\_ACEOF
50310 #define wxUSE_TOOLBAR 1
50315 if test "$wxUSE_UNIVERSAL" = "yes"; then
50316 wxUSE_TOOLBAR_NATIVE
="no"
50318 wxUSE_TOOLBAR_NATIVE
="yes"
50319 cat >>confdefs.h
<<\_ACEOF
50320 #define wxUSE_TOOLBAR_NATIVE 1
50325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
50328 if test "$wxUSE_TOOLTIPS" = "yes"; then
50329 if test "$wxUSE_MOTIF" = 1; then
50330 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50331 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50333 if test "$wxUSE_UNIVERSAL" = "yes"; then
50334 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50335 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50337 cat >>confdefs.h
<<\_ACEOF
50338 #define wxUSE_TOOLTIPS 1
50345 if test "$wxUSE_TREEBOOK" = "yes"; then
50346 cat >>confdefs.h
<<\_ACEOF
50347 #define wxUSE_TREEBOOK 1
50353 if test "$wxUSE_TOOLBOOK" = "yes"; then
50354 cat >>confdefs.h
<<\_ACEOF
50355 #define wxUSE_TOOLBOOK 1
50361 if test "$wxUSE_TREECTRL" = "yes"; then
50362 if test "$wxUSE_IMAGLIST" = "yes"; then
50363 cat >>confdefs.h
<<\_ACEOF
50364 #define wxUSE_TREECTRL 1
50368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
50370 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50371 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50375 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50376 cat >>confdefs.h
<<\_ACEOF
50377 #define wxUSE_TREELISTCTRL 1
50381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
50384 if test "$wxUSE_POPUPWIN" = "yes"; then
50385 if test "$wxUSE_OLD_COCOA" = 1 ; then
50386 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50387 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50389 if test "$wxUSE_PM" = 1; then
50390 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50391 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50393 cat >>confdefs.h
<<\_ACEOF
50394 #define wxUSE_POPUPWIN 1
50397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
50404 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50405 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50406 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50407 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50409 cat >>confdefs.h
<<\_ACEOF
50410 #define wxUSE_DIALUP_MANAGER 1
50413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
50417 if test "$wxUSE_TIPWINDOW" = "yes"; then
50418 if test "$wxUSE_PM" = 1; then
50419 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50420 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50422 cat >>confdefs.h
<<\_ACEOF
50423 #define wxUSE_TIPWINDOW 1
50429 if test "$USES_CONTROLS" = 1; then
50430 cat >>confdefs.h
<<\_ACEOF
50431 #define wxUSE_CONTROLS 1
50437 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50438 cat >>confdefs.h
<<\_ACEOF
50439 #define wxUSE_ACCESSIBILITY 1
50442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
50445 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50446 cat >>confdefs.h
<<\_ACEOF
50447 #define wxUSE_ARTPROVIDER_STD 1
50452 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50453 if test "$wxUSE_GTK" != 1; then
50454 if test "$wxUSE_LIBPNG" != no
-a \
50455 "$wxUSE_IMAGE" = yes -a \
50456 "$wxUSE_STREAMS" = yes; then
50457 wxUSE_ARTPROVIDER_TANGO
="yes"
50462 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50463 cat >>confdefs.h
<<\_ACEOF
50464 #define wxUSE_ARTPROVIDER_TANGO 1
50469 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50470 cat >>confdefs.h
<<\_ACEOF
50471 #define wxUSE_DRAGIMAGE 1
50474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
50477 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50478 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50479 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50480 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50482 cat >>confdefs.h
<<\_ACEOF
50483 #define wxUSE_EXCEPTIONS 1
50486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
50491 if test "$wxUSE_HTML" = "yes"; then
50492 cat >>confdefs.h
<<\_ACEOF
50493 #define wxUSE_HTML 1
50497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50499 if test "$wxUSE_WEBKIT" = "yes"; then
50500 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50501 old_CPPFLAGS
="$CPPFLAGS"
50502 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
50503 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50504 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50505 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50506 echo $ECHO_N "(cached) $ECHO_C" >&6
50508 cat >conftest.
$ac_ext <<_ACEOF
50511 cat confdefs.h
>>conftest.
$ac_ext
50512 cat >>conftest.
$ac_ext <<_ACEOF
50513 /* end confdefs.h. */
50515 #include <Carbon/Carbon.h>
50516 #include <WebKit/WebKit.h>
50519 #include <WebKit/HIWebView.h>
50521 rm -f conftest.
$ac_objext
50522 if { (ac_try
="$ac_compile"
50523 case "(($ac_try" in
50524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50525 *) ac_try_echo=$ac_try;;
50527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50528 (eval "$ac_compile") 2>conftest.er1
50530 grep -v '^ *+' conftest.er1 >conftest.err
50532 cat conftest.err >&5
50533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50534 (exit $ac_status); } && {
50535 test -z "$ac_c_werror_flag" ||
50536 test ! -s conftest.err
50537 } && test -s conftest.$ac_objext; then
50538 ac_cv_header_WebKit_HIWebView_h=yes
50540 echo "$as_me: failed program was:" >&5
50541 sed 's/^/| /' conftest.$ac_ext >&5
50543 ac_cv_header_WebKit_HIWebView_h=no
50546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50548 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50549 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50550 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50552 cat >>confdefs.h <<\_ACEOF
50553 #define wxUSE_WEBKIT 1
50556 WEBKIT_LINK="-framework WebKit"
50560 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50561 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50567 CPPFLAGS="$old_CPPFLAGS"
50568 elif test "$wxUSE_OLD_COCOA" = 1; then
50569 cat >>confdefs.h <<\_ACEOF
50570 #define wxUSE_WEBKIT 1
50576 if test "$wxUSE_WEBKIT" = "yes"; then
50577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50582 if test "$wxUSE_XRC" = "yes"; then
50583 if test "$wxUSE_XML" != "yes"; then
50584 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50585 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50588 cat >>confdefs.h <<\_ACEOF
50589 #define wxUSE_XRC 1
50593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50598 if test "$wxUSE_AUI" = "yes"; then
50599 cat >>confdefs.h <<\_ACEOF
50600 #define wxUSE_AUI 1
50604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50608 if test "$wxUSE_PROPGRID" = "yes"; then
50609 cat >>confdefs.h <<\_ACEOF
50610 #define wxUSE_PROPGRID 1
50614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50618 if test "$wxUSE_RIBBON" = "yes"; then
50619 cat >>confdefs.h <<\_ACEOF
50620 #define wxUSE_RIBBON 1
50624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50628 if test "$wxUSE_STC" = "yes"; then
50629 cat >>confdefs.h <<\_ACEOF
50630 #define wxUSE_STC 1
50634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50636 # Extract the first word of "python", so it can be a program name with args.
50637 set dummy python; ac_word=$2
50638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50640 if test "${ac_cv_path_PYTHON+set}" = set; then
50641 echo $ECHO_N "(cached) $ECHO_C" >&6
50645 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50649 for as_dir in $PATH
50652 test -z "$as_dir" && as_dir=.
50653 for ac_exec_ext in '' $ac_executable_extensions; do
50654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50655 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50666 PYTHON=$ac_cv_path_PYTHON
50667 if test -n "$PYTHON"; then
50668 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50669 echo "${ECHO_T}$PYTHON" >&6; }
50671 { echo "$as_me:$LINENO: result: no" >&5
50672 echo "${ECHO_T}no" >&6; }
50676 if test "x$PYTHON" = "x"; then
50682 if test "$wxUSE_MENUS" = "yes"; then
50683 cat >>confdefs.h <<\_ACEOF
50684 #define wxUSE_MENUS 1
50687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50690 if test "$wxUSE_MIMETYPE" = "yes"; then
50691 cat >>confdefs.h <<\_ACEOF
50692 #define wxUSE_MIMETYPE 1
50697 if test "$wxUSE_MINIFRAME" = "yes"; then
50698 cat >>confdefs.h <<\_ACEOF
50699 #define wxUSE_MINIFRAME 1
50704 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50705 cat >>confdefs.h <<\_ACEOF
50706 #define wxUSE_SYSTEM_OPTIONS 1
50711 if test "$wxUSE_TASKBARICON" = "yes"; then
50712 cat >>confdefs.h <<\_ACEOF
50713 #define wxUSE_TASKBARICON 1
50716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50720 if test "$wxUSE_VALIDATORS" = "yes"; then
50721 cat >>confdefs.h <<\_ACEOF
50722 #define wxUSE_VALIDATORS 1
50725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50728 if test "$wxUSE_PALETTE" = "yes" ; then
50729 if test "$wxUSE_DFB" = 1; then
50730 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50731 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50734 cat >>confdefs.h <<\_ACEOF
50735 #define wxUSE_PALETTE 1
50741 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50742 LIBS=" -lunicows $LIBS"
50746 if test "$wxUSE_RICHTEXT" = "yes"; then
50747 cat >>confdefs.h <<\_ACEOF
50748 #define wxUSE_RICHTEXT 1
50752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50755 if test "$wxUSE_WEBVIEW" = "yes"; then
50756 USE_WEBVIEW_WEBKIT=0
50757 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50758 if test "$wxUSE_GTK" = 1; then
50759 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50760 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50763 for ac_dir in $SEARCH_LIB
50765 for ac_extension in a so sl dylib dll.a; do
50766 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50767 ac_find_libraries=$ac_dir
50773 if test "$ac_find_libraries" != "" ; then
50775 if test "$ac_find_libraries" = "default location"; then
50778 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50780 if test $result = 0; then
50783 ac_path_to_link=" -L$ac_find_libraries"
50787 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50788 LDFLAGS="$LDFLAGS $ac_path_to_link"
50790 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50791 { echo "$as_me:$LINENO: result: yes" >&5
50792 echo "${ECHO_T}yes" >&6; }
50794 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50795 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50798 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50800 if test -f "$ac_dir/webkit/webkit.h"; then
50801 ac_find_includes=$ac_dir
50806 if test "$ac_find_includes" != "" ; then
50807 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50808 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50810 if test "x$ac_find_includes" = "x/usr/include"; then
50811 ac_path_to_include=""
50813 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50815 if test $result = 0; then
50816 ac_path_to_include=""
50818 ac_path_to_include=" -I$ac_find_includes"
50822 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50824 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50825 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50828 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50830 if test -f "$ac_dir/libsoup/soup.h"; then
50831 ac_find_includes=$ac_dir
50836 if test "$ac_find_includes" != "" ; then
50837 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50838 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50840 if test "x$ac_find_includes" = "x/usr/include"; then
50841 ac_path_to_include=""
50843 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50845 if test $result = 0; then
50846 ac_path_to_include=""
50848 ac_path_to_include=" -I$ac_find_includes"
50852 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50854 USE_WEBVIEW_WEBKIT=1
50856 { echo "$as_me:$LINENO: result: not found" >&5
50857 echo "${ECHO_T}not found" >&6; }
50858 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50859 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50862 { echo "$as_me:$LINENO: result: not found" >&5
50863 echo "${ECHO_T}not found" >&6; }
50864 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50865 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50868 { echo "$as_me:$LINENO: result: no" >&5
50869 echo "${ECHO_T}no" >&6; }
50870 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50871 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50873 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50874 old_CPPFLAGS="$CPPFLAGS"
50875 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50876 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50877 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50878 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50879 echo $ECHO_N "(cached) $ECHO_C" >&6
50881 cat >conftest.$ac_ext <<_ACEOF
50884 cat confdefs.h >>conftest.$ac_ext
50885 cat >>conftest.$ac_ext <<_ACEOF
50886 /* end confdefs.h. */
50888 #include <Carbon/Carbon.h>
50889 #include <WebKit/WebKit.h>
50892 #include <WebKit/HIWebView.h>
50894 rm -f conftest.$ac_objext
50895 if { (ac_try="$ac_compile"
50896 case "(($ac_try" in
50897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50898 *) ac_try_echo
=$ac_try;;
50900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50901 (eval "$ac_compile") 2>conftest.er1
50903 grep -v '^ *+' conftest.er1
>conftest.err
50905 cat conftest.err
>&5
50906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50907 (exit $ac_status); } && {
50908 test -z "$ac_c_werror_flag" ||
50909 test ! -s conftest.err
50910 } && test -s conftest.
$ac_objext; then
50911 ac_cv_header_WebKit_HIWebView_h
=yes
50913 echo "$as_me: failed program was:" >&5
50914 sed 's/^/| /' conftest.
$ac_ext >&5
50916 ac_cv_header_WebKit_HIWebView_h
=no
50919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50921 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50922 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50923 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50925 USE_WEBVIEW_WEBKIT
=1
50926 WEBKIT_LINK
="-framework WebKit"
50930 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50931 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50936 CPPFLAGS
="$old_CPPFLAGS"
50941 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50942 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50943 wxUSE_WEBVIEW
="yes"
50944 cat >>confdefs.h
<<\_ACEOF
50945 #define wxUSE_WEBVIEW_WEBKIT 1
50949 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50950 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50952 elif test "$wxUSE_MSW" = 1; then
50953 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50954 wxUSE_WEBVIEW
="yes"
50955 cat >>confdefs.h
<<\_ACEOF
50956 #define wxUSE_WEBVIEW_IE 1
50963 if test "$wxUSE_WEBVIEW" = "yes"; then
50965 cat >>confdefs.h
<<\_ACEOF
50966 #define wxUSE_WEBVIEW 1
50969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
50975 if test "$wxUSE_IMAGE" = "yes" ; then
50976 cat >>confdefs.h
<<\_ACEOF
50977 #define wxUSE_IMAGE 1
50981 if test "$wxUSE_GIF" = "yes" ; then
50982 cat >>confdefs.h
<<\_ACEOF
50983 #define wxUSE_GIF 1
50988 if test "$wxUSE_PCX" = "yes" ; then
50989 cat >>confdefs.h
<<\_ACEOF
50990 #define wxUSE_PCX 1
50995 if test "$wxUSE_TGA" = "yes" ; then
50996 cat >>confdefs.h
<<\_ACEOF
50997 #define wxUSE_TGA 1
51002 if test "$wxUSE_IFF" = "yes" ; then
51003 cat >>confdefs.h
<<\_ACEOF
51004 #define wxUSE_IFF 1
51009 if test "$wxUSE_PNM" = "yes" ; then
51010 cat >>confdefs.h
<<\_ACEOF
51011 #define wxUSE_PNM 1
51016 if test "$wxUSE_XPM" = "yes" ; then
51017 cat >>confdefs.h
<<\_ACEOF
51018 #define wxUSE_XPM 1
51023 if test "$wxUSE_ICO_CUR" = "yes" ; then
51024 cat >>confdefs.h
<<\_ACEOF
51025 #define wxUSE_ICO_CUR 1
51032 if test "$wxUSE_ABOUTDLG" = "yes"; then
51033 cat >>confdefs.h
<<\_ACEOF
51034 #define wxUSE_ABOUTDLG 1
51039 if test "$wxUSE_CHOICEDLG" = "yes"; then
51040 cat >>confdefs.h
<<\_ACEOF
51041 #define wxUSE_CHOICEDLG 1
51046 if test "$wxUSE_COLOURDLG" = "yes"; then
51047 cat >>confdefs.h
<<\_ACEOF
51048 #define wxUSE_COLOURDLG 1
51053 if test "$wxUSE_FILEDLG" = "yes"; then
51054 cat >>confdefs.h
<<\_ACEOF
51055 #define wxUSE_FILEDLG 1
51060 if test "$wxUSE_FINDREPLDLG" = "yes"; then
51061 cat >>confdefs.h
<<\_ACEOF
51062 #define wxUSE_FINDREPLDLG 1
51067 if test "$wxUSE_FONTDLG" = "yes"; then
51068 cat >>confdefs.h
<<\_ACEOF
51069 #define wxUSE_FONTDLG 1
51074 if test "$wxUSE_DIRDLG" = "yes"; then
51075 if test "$wxUSE_TREECTRL" != "yes"; then
51076 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
51077 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
51079 cat >>confdefs.h
<<\_ACEOF
51080 #define wxUSE_DIRDLG 1
51086 if test "$wxUSE_MSGDLG" = "yes"; then
51087 cat >>confdefs.h
<<\_ACEOF
51088 #define wxUSE_MSGDLG 1
51093 if test "$wxUSE_NUMBERDLG" = "yes"; then
51094 cat >>confdefs.h
<<\_ACEOF
51095 #define wxUSE_NUMBERDLG 1
51100 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51101 cat >>confdefs.h
<<\_ACEOF
51102 #define wxUSE_PROGRESSDLG 1
51107 if test "$wxUSE_SPLASH" = "yes"; then
51108 cat >>confdefs.h
<<\_ACEOF
51109 #define wxUSE_SPLASH 1
51112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
51115 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51116 cat >>confdefs.h
<<\_ACEOF
51117 #define wxUSE_STARTUP_TIPS 1
51122 if test "$wxUSE_TEXTDLG" = "yes"; then
51123 cat >>confdefs.h
<<\_ACEOF
51124 #define wxUSE_TEXTDLG 1
51129 if test "$wxUSE_WIZARDDLG" = "yes"; then
51130 cat >>confdefs.h
<<\_ACEOF
51131 #define wxUSE_WIZARDDLG 1
51134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
51138 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51139 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51140 cat >>confdefs.h
<<\_ACEOF
51141 #define wxUSE_OWNER_DRAWN 1
51148 if test "$wxUSE_MSW" = 1 ; then
51150 if test "$wxUSE_DC_CACHEING" = "yes"; then
51151 cat >>confdefs.h
<<\_ACEOF
51152 #define wxUSE_DC_CACHEING 1
51157 if test "$wxUSE_DIB" = "yes"; then
51158 cat >>confdefs.h
<<\_ACEOF
51159 #define wxUSE_WXDIB 1
51164 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51165 cat >>confdefs.h
<<\_ACEOF
51166 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51171 if test "$wxUSE_UXTHEME" = "yes"; then
51172 cat >>confdefs.h
<<\_ACEOF
51173 #define wxUSE_UXTHEME 1
51180 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51181 cat >>confdefs.h
<<\_ACEOF
51182 #define wxUSE_AUTOID_MANAGEMENT 1
51187 if test "$USE_WIN32" = 1 ; then
51188 if test "$wxUSE_INICONF" = "yes"; then
51189 cat >>confdefs.h
<<\_ACEOF
51190 #define wxUSE_INICONF 1
51195 if test "$wxUSE_REGKEY" = "yes"; then
51196 cat >>confdefs.h
<<\_ACEOF
51197 #define wxUSE_REGKEY 1
51204 if test "$wxUSE_MAC" = 1; then
51205 wxUSE_GRAPHICS_CONTEXT
="yes"
51208 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51210 if test "$wxUSE_MSW" = 1; then
51211 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51212 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51213 if test "${wx_cv_lib_gdiplus+set}" = set; then
51214 echo $ECHO_N "(cached) $ECHO_C" >&6
51218 ac_cpp
='$CXXCPP $CPPFLAGS'
51219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51223 cat >conftest.
$ac_ext <<_ACEOF
51226 cat confdefs.h
>>conftest.
$ac_ext
51227 cat >>conftest.
$ac_ext <<_ACEOF
51228 /* end confdefs.h. */
51229 #include <windows.h>
51230 #include <gdiplus.h>
51235 using namespace Gdiplus;
51241 rm -f conftest.
$ac_objext
51242 if { (ac_try
="$ac_compile"
51243 case "(($ac_try" in
51244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51245 *) ac_try_echo=$ac_try;;
51247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51248 (eval "$ac_compile") 2>conftest.er1
51250 grep -v '^ *+' conftest.er1 >conftest.err
51252 cat conftest.err >&5
51253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51254 (exit $ac_status); } && {
51255 test -z "$ac_cxx_werror_flag" ||
51256 test ! -s conftest.err
51257 } && test -s conftest.$ac_objext; then
51258 wx_cv_lib_gdiplus=yes
51260 echo "$as_me: failed program was:" >&5
51261 sed 's/^/| /' conftest.$ac_ext >&5
51263 wx_cv_lib_gdiplus=no
51267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51269 ac_cpp='$CPP $CPPFLAGS'
51270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51277 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51278 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51279 if test "$wx_cv_lib_gdiplus" = "yes"; then
51282 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51285 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51286 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51288 if test -n "$PKG_CONFIG"; then
51289 if test -n "$CAIRO_CFLAGS"; then
51290 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51292 if test -n "$PKG_CONFIG" && \
51293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51294 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51297 (exit $ac_status); }; then
51298 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
51306 if test -n "$PKG_CONFIG"; then
51307 if test -n "$CAIRO_LIBS"; then
51308 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51310 if test -n "$PKG_CONFIG" && \
51311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51312 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51315 (exit $ac_status); }; then
51316 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
51327 if test $pkg_failed = yes; then
51329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51330 _pkg_short_errors_supported=yes
51332 _pkg_short_errors_supported=no
51334 if test $_pkg_short_errors_supported = yes; then
51335 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51337 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51339 # Put the nasty error message in config.log where it belongs
51340 echo "$CAIRO_PKG_ERRORS" >&5
51342 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51343 echo "$as_me: WARNING: Cairo library not found" >&2;}
51345 elif test $pkg_failed = untried; then
51346 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51347 echo "$as_me: WARNING: Cairo library not found" >&2;}
51350 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51351 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51352 { echo "$as_me:$LINENO: result: yes" >&5
51353 echo "${ECHO_T}yes" >&6; }
51356 if test "$wx_has_graphics" = 1; then
51358 LIBS="$LIBS $CAIRO_LIBS"
51360 for ac_func in cairo_push_group
51362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51366 echo $ECHO_N "(cached) $ECHO_C" >&6
51368 cat >conftest.$ac_ext <<_ACEOF
51371 cat confdefs.h >>conftest.$ac_ext
51372 cat >>conftest.$ac_ext <<_ACEOF
51373 /* end confdefs.h. */
51374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51376 #define $ac_func innocuous_$ac_func
51378 /* System header to define __stub macros and hopefully few prototypes,
51379 which can conflict with char $ac_func (); below.
51380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51381 <limits.h> exists even on freestanding compilers. */
51384 # include <limits.h>
51386 # include <assert.h>
51391 /* Override any GCC internal prototype to avoid an error.
51392 Use char because int might match the return type of a GCC
51393 builtin and then its argument prototype would still apply. */
51398 /* The GNU C library defines this for functions which it implements
51399 to always fail with ENOSYS. Some functions are actually named
51400 something starting with __ and the normal name is an alias. */
51401 #if defined __stub_$ac_func || defined __stub___$ac_func
51408 return $ac_func ();
51413 rm -f conftest.$ac_objext conftest$ac_exeext
51414 if { (ac_try="$ac_link"
51415 case "(($ac_try" in
51416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51417 *) ac_try_echo
=$ac_try;;
51419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51420 (eval "$ac_link") 2>conftest.er1
51422 grep -v '^ *+' conftest.er1
>conftest.err
51424 cat conftest.err
>&5
51425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51426 (exit $ac_status); } && {
51427 test -z "$ac_c_werror_flag" ||
51428 test ! -s conftest.err
51429 } && test -s conftest
$ac_exeext &&
51430 $as_test_x conftest
$ac_exeext; then
51431 eval "$as_ac_var=yes"
51433 echo "$as_me: failed program was:" >&5
51434 sed 's/^/| /' conftest.
$ac_ext >&5
51436 eval "$as_ac_var=no"
51439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
51440 conftest
$ac_exeext conftest.
$ac_ext
51442 ac_res
=`eval echo '${'$as_ac_var'}'`
51443 { echo "$as_me:$LINENO: result: $ac_res" >&5
51444 echo "${ECHO_T}$ac_res" >&6; }
51445 if test `eval echo '${'$as_ac_var'}'` = yes; then
51446 cat >>confdefs.h
<<_ACEOF
51447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51454 if test "$ac_cv_func_cairo_push_group" = "no"; then
51456 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51457 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51459 cat >>confdefs.h
<<\_ACEOF
51460 #define wxUSE_CAIRO 1
51464 if test "$wxUSE_GTK" != 1; then
51465 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
51466 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
51474 if test "$wx_has_graphics" = 1; then
51475 cat >>confdefs.h
<<\_ACEOF
51476 #define wxUSE_GRAPHICS_CONTEXT 1
51480 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51481 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51488 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51491 if test "$wxUSE_GTK" = 1; then
51492 wxUSE_GSTREAMER
="no"
51494 GST_VERSION_MAJOR
=0
51495 GST_VERSION_MINOR
=10
51496 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51498 if test "$wxUSE_GSTREAMER8" = "no"; then
51501 { echo "$as_me:$LINENO: checking for GST" >&5
51502 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51504 if test -n "$PKG_CONFIG"; then
51505 if test -n "$GST_CFLAGS"; then
51506 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51508 if test -n "$PKG_CONFIG" && \
51509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51510 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51513 (exit $ac_status); }; then
51514 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51522 if test -n "$PKG_CONFIG"; then
51523 if test -n "$GST_LIBS"; then
51524 pkg_cv_GST_LIBS
="$GST_LIBS"
51526 if test -n "$PKG_CONFIG" && \
51527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51528 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); }; then
51532 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51543 if test $pkg_failed = yes; then
51545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51546 _pkg_short_errors_supported
=yes
51548 _pkg_short_errors_supported
=no
51550 if test $_pkg_short_errors_supported = yes; then
51551 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51553 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51555 # Put the nasty error message in config.log where it belongs
51556 echo "$GST_PKG_ERRORS" >&5
51559 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51560 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51561 GST_VERSION_MINOR
=8
51564 elif test $pkg_failed = untried
; then
51566 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51567 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51568 GST_VERSION_MINOR
=8
51572 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51573 GST_LIBS
=$pkg_cv_GST_LIBS
51574 { echo "$as_me:$LINENO: result: yes" >&5
51575 echo "${ECHO_T}yes" >&6; }
51577 wxUSE_GSTREAMER
="yes"
51578 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51582 GST_VERSION_MINOR
=8
51585 if test $GST_VERSION_MINOR = "8"; then
51586 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51589 { echo "$as_me:$LINENO: checking for GST" >&5
51590 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51592 if test -n "$PKG_CONFIG"; then
51593 if test -n "$GST_CFLAGS"; then
51594 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51596 if test -n "$PKG_CONFIG" && \
51597 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51598 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51601 (exit $ac_status); }; then
51602 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51610 if test -n "$PKG_CONFIG"; then
51611 if test -n "$GST_LIBS"; then
51612 pkg_cv_GST_LIBS
="$GST_LIBS"
51614 if test -n "$PKG_CONFIG" && \
51615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51616 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51619 (exit $ac_status); }; then
51620 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51631 if test $pkg_failed = yes; then
51633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51634 _pkg_short_errors_supported
=yes
51636 _pkg_short_errors_supported
=no
51638 if test $_pkg_short_errors_supported = yes; then
51639 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51641 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51643 # Put the nasty error message in config.log where it belongs
51644 echo "$GST_PKG_ERRORS" >&5
51647 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51648 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51650 elif test $pkg_failed = untried
; then
51652 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51653 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51656 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51657 GST_LIBS
=$pkg_cv_GST_LIBS
51658 { echo "$as_me:$LINENO: result: yes" >&5
51659 echo "${ECHO_T}yes" >&6; }
51660 wxUSE_GSTREAMER
="yes"
51665 if test "$wxUSE_GSTREAMER" = "yes"; then
51666 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
51667 EXTRALIBS_MEDIA
="$GST_LIBS"
51669 cat >>confdefs.h
<<\_ACEOF
51670 #define wxUSE_GSTREAMER 1
51678 if test $USE_MEDIA = 1; then
51679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
51680 cat >>confdefs.h
<<\_ACEOF
51681 #define wxUSE_MEDIACTRL 1
51685 if test "$wxUSE_MEDIACTRL" = "yes"; then
51686 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51687 echo "$as_me: error: GStreamer not available" >&2;}
51688 { (exit 1); exit 1; }; }
51690 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51691 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51697 if test "$cross_compiling" != "no"; then
51700 OSINFO
=`uname -s -r -m`
51701 OSINFO
="\"$OSINFO\""
51704 cat >>confdefs.h
<<_ACEOF
51705 #define WXWIN_OS_DESCRIPTION $OSINFO
51710 if test "x$prefix" != "xNONE"; then
51713 wxPREFIX
=$ac_default_prefix
51716 cat >>confdefs.h
<<_ACEOF
51717 #define wxINSTALL_PREFIX "$wxPREFIX"
51723 STD_BASE_LIBS
="base"
51725 BUILT_WX_LIBS
="base"
51726 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
51728 if test "$wxUSE_SOCKETS" = "yes" ; then
51729 STD_BASE_LIBS
="net $STD_BASE_LIBS"
51730 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
51732 if test "$wxUSE_XML" = "yes" ; then
51733 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
51734 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
51737 if test "$wxUSE_GUI" = "yes"; then
51738 STD_GUI_LIBS
="adv core"
51739 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
51741 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51742 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
51743 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
51745 if test "$wxUSE_HTML" = "yes" ; then
51746 STD_GUI_LIBS
="html $STD_GUI_LIBS"
51747 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
51749 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51750 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
51752 if test "$wxUSE_OPENGL" = "yes" ; then
51753 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
51755 if test "$wxUSE_AUI" = "yes" ; then
51756 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
51758 if test "$wxUSE_PROPGRID" = "yes" ; then
51759 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
51761 if test "$wxUSE_RIBBON" = "yes" ; then
51762 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
51764 if test "$wxUSE_RICHTEXT" = "yes" ; then
51765 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
51767 if test "$wxUSE_STC" = "yes" ; then
51768 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
51770 if test "$wxUSE_WEBVIEW" = "yes" ; then
51771 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
51772 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
51774 if test "$wxUSE_XRC" = "yes" ; then
51775 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
51776 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
51787 if test "$wxUSE_MAC" = 1 ; then
51788 if test "$USE_DARWIN" = 1; then
51789 if test "$wxUSE_OSX_IPHONE" = 1; then
51790 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51792 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51796 if test "$wxUSE_OLD_COCOA" = 1 ; then
51797 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
51798 if test "$wxUSE_MEDIACTRL" = "yes"; then
51799 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
51802 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51803 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51806 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
51807 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51809 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51811 if test "$wxUSE_GUI" = "yes"; then
51814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51815 erase event exec font image minimal render \
51816 shaped svg taborder vscroll widgets wrapsizer"
51818 if test "$wxUSE_MONOLITHIC" != "yes"; then
51819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
51821 if test "$TOOLKIT" = "MSW"; then
51822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
51823 if test "$wxUSE_UNIVERSAL" != "yes"; then
51824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51827 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
51831 SAMPLES_SUBDIRS
="console"
51832 if test "$wxUSE_SOCKETS" = "yes" ; then
51833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51835 if test "$wxUSE_IPC" = "yes" ; then
51836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
51841 if test "x$INTELCC" = "xyes" ; then
51842 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
51843 elif test "$GCC" = yes ; then
51844 CWARNINGS
="-Wall -Wundef"
51847 if test "x$INTELCXX" = "xyes" ; then
51848 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51849 elif test "$GXX" = yes ; then
51850 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51851 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51852 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51853 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51854 echo $ECHO_N "(cached) $ECHO_C" >&6
51856 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
51859 ac_cpp
='$CXXCPP $CPPFLAGS'
51860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51864 ac_save_CXXFLAGS
="$CXXFLAGS"
51865 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51866 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51867 cat >conftest.
$ac_ext <<_ACEOF
51870 cat confdefs.h
>>conftest.
$ac_ext
51871 cat >>conftest.
$ac_ext <<_ACEOF
51872 /* end confdefs.h. */
51882 rm -f conftest.
$ac_objext
51883 if { (ac_try
="$ac_compile"
51884 case "(($ac_try" in
51885 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51886 *) ac_try_echo=$ac_try;;
51888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51889 (eval "$ac_compile") 2>conftest.er1
51891 grep -v '^ *+' conftest.er1 >conftest.err
51893 cat conftest.err >&5
51894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51895 (exit $ac_status); } && {
51896 test -z "$ac_cxx_werror_flag" ||
51897 test ! -s conftest.err
51898 } && test -s conftest.$ac_objext; then
51899 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51901 echo "$as_me: failed program was:" >&5
51902 sed 's/^/| /' conftest.$ac_ext >&5
51907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51909 CXXFLAGS="$ac_save_CXXFLAGS"
51911 ac_cpp='$CPP $CPPFLAGS'
51912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51918 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51919 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51920 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51924 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51925 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51926 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); }
51930 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51931 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51934 (exit $ac_status); }
51935 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51941 if test "$wxUSE_MAC" = 1 ; then
51942 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51947 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51948 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51951 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51952 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
51953 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
51956 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51957 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51958 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51959 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51960 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51962 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51965 if test "x$MWCC" = "xyes"; then
51967 CC="$CC -cwd source -I-"
51968 CXX="$CXX -cwd source -I-"
51973 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51974 EXTRALIBS_XML="$EXPAT_LINK"
51975 EXTRALIBS_HTML="$MSPACK_LINK"
51976 EXTRALIBS_MEDIA="$GST_LIBS"
51977 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51978 if test "$wxUSE_GUI" = "yes"; then
51979 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51981 if test "$wxUSE_OPENGL" = "yes"; then
51982 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51985 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51987 WXCONFIG_LIBS="$LIBS"
51989 if test "$wxUSE_REGEX" = "builtin" ; then
51990 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51992 if test "$wxUSE_EXPAT" = "builtin" ; then
51993 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51995 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51996 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51998 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51999 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
52001 if test "$wxUSE_LIBPNG" = "builtin" ; then
52002 wxconfig_3rdparty="png $wxconfig_3rdparty"
52004 if test "$wxUSE_ZLIB" = "builtin" ; then
52005 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
52008 for i in $wxconfig_3rdparty ; do
52009 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
52013 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
52016 case "$wxUNIV_THEMES" in
52018 cat >>confdefs.h <<\_ACEOF
52019 #define wxUSE_ALL_THEMES 1
52025 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52026 cat >>confdefs.h <<_ACEOF
52027 #define wxUSE_THEME_$t 1
52043 if test $wxUSE_MONOLITHIC = "yes" ; then
52049 if test $wxUSE_PLUGINS = "yes" ; then
52055 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52061 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52093 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52106 TOOLKIT_DESC="GTK+"
52107 if test "$WXGTK2" = 1; then
52108 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52109 if test "$wxUSE_GTKPRINT" = "yes" ; then
52110 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52112 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52113 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52115 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52116 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52118 if test "$wxUSE_LIBHILDON" = "yes"; then
52119 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52121 if test "$wxUSE_LIBHILDON2" = "yes"; then
52122 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52125 if test "$TOOLKIT_EXTRA" != ""; then
52126 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52132 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52136 TOOLKIT_DESC="base only"
52140 if test "$wxUSE_WINE" = "yes"; then
52141 BAKEFILE_FORCE_PLATFORM=win32
52144 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52146 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52147 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52148 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52149 echo $ECHO_N "(cached) $ECHO_C" >&6
52152 echo '#include <stdio.h>
52153 const wchar_t test_var[] = L"awidetest";' > conftest.h
52155 echo '#include "conftest.h"
52158 printf("%ls", test_var);
52162 wx_cv_gcc_pch_bug="pch not supported"
52164 if $CXX conftest.h >/dev/null 2>&1
52168 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52170 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52171 grep awidetest >/dev/null
52173 wx_cv_gcc_pch_bug=no
52175 wx_cv_gcc_pch_bug=yes
52180 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52183 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52184 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52186 if test "$wx_cv_gcc_pch_bug" = yes; then
52197 if test "x$BAKEFILE_HOST" = "x"; then
52198 if test "x${host}" = "x" ; then
52199 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52200 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52201 { (exit 1); exit 1; }; }
52204 BAKEFILE_HOST="${host}"
52207 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52209 if test -n "$ac_tool_prefix"; then
52210 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52211 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52214 if test "${ac_cv_prog_RANLIB+set}" = set; then
52215 echo $ECHO_N "(cached) $ECHO_C" >&6
52217 if test -n "$RANLIB"; then
52218 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52221 for as_dir in $PATH
52224 test -z "$as_dir" && as_dir=.
52225 for ac_exec_ext in '' $ac_executable_extensions; do
52226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52227 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52237 RANLIB=$ac_cv_prog_RANLIB
52238 if test -n "$RANLIB"; then
52239 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52240 echo "${ECHO_T}$RANLIB" >&6; }
52242 { echo "$as_me:$LINENO: result: no" >&5
52243 echo "${ECHO_T}no" >&6; }
52248 if test -z "$ac_cv_prog_RANLIB"; then
52249 ac_ct_RANLIB=$RANLIB
52250 # Extract the first word of "ranlib", so it can be a program name with args.
52251 set dummy ranlib; ac_word=$2
52252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52254 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52255 echo $ECHO_N "(cached) $ECHO_C" >&6
52257 if test -n "$ac_ct_RANLIB"; then
52258 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52261 for as_dir in $PATH
52264 test -z "$as_dir" && as_dir=.
52265 for ac_exec_ext in '' $ac_executable_extensions; do
52266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52267 ac_cv_prog_ac_ct_RANLIB="ranlib"
52268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52277 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52278 if test -n "$ac_ct_RANLIB"; then
52279 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52280 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52282 { echo "$as_me:$LINENO: result: no" >&5
52283 echo "${ECHO_T}no" >&6; }
52286 if test "x$ac_ct_RANLIB" = x; then
52289 case $cross_compiling:$ac_tool_warned in
52291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52292 whose name does not start with the host triplet. If you think this
52293 configuration is useful to you, please write to autoconf@gnu.org." >&5
52294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52295 whose name does not start with the host triplet. If you think this
52296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52297 ac_tool_warned=yes ;;
52299 RANLIB=$ac_ct_RANLIB
52302 RANLIB="$ac_cv_prog_RANLIB"
52305 # Find a good install program. We prefer a C program (faster),
52306 # so one script is as good as another. But avoid the broken or
52307 # incompatible versions:
52308 # SysV /etc/install, /usr/sbin/install
52309 # SunOS /usr/etc/install
52310 # IRIX /sbin/install
52312 # AmigaOS /C/install, which installs bootblocks on floppy discs
52313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52316 # OS/2's system install, which has a completely different semantic
52317 # ./install, which can be erroneously created by make from ./install.sh.
52318 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52319 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52320 if test -z "$INSTALL"; then
52321 if test "${ac_cv_path_install+set}" = set; then
52322 echo $ECHO_N "(cached) $ECHO_C" >&6
52324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52325 for as_dir in $PATH
52328 test -z "$as_dir" && as_dir=.
52329 # Account for people who put trailing slashes in PATH elements.
52331 ./ | .// | /cC/* | \
52332 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52333 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52336 # OSF1 and SCO ODT 3.0 have their own names for install.
52337 # Don't use installbsd from OSF since it installs stuff as root
52339 for ac_prog in ginstall scoinst install; do
52340 for ac_exec_ext in '' $ac_executable_extensions; do
52341 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52342 if test $ac_prog = install &&
52343 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52344 # AIX install. It has an incompatible calling convention.
52346 elif test $ac_prog = install &&
52347 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52348 # program-specific install script used by HP pwplus--don't use.
52351 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52364 if test "${ac_cv_path_install+set}" = set; then
52365 INSTALL=$ac_cv_path_install
52367 # As a last resort, use the slow shell script. Don't cache a
52368 # value for INSTALL within a source directory, because that will
52369 # break other packages using the cache if that directory is
52370 # removed, or if the value is a relative name.
52371 INSTALL=$ac_install_sh
52374 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52375 echo "${ECHO_T}$INSTALL" >&6; }
52377 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52378 # It thinks the first close brace ends the variable substitution.
52379 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52381 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52383 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52385 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52386 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52388 if test "$LN_S" = "ln -s"; then
52389 { echo "$as_me:$LINENO: result: yes" >&5
52390 echo "${ECHO_T}yes" >&6; }
52392 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52393 echo "${ECHO_T}no, using $LN_S" >&6; }
52397 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52398 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52399 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52400 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52401 echo $ECHO_N "(cached) $ECHO_C" >&6
52403 cat >conftest.make <<\_ACEOF
52406 @echo '@@@%%%=$(MAKE)=@@@%%%'
52408 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52409 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52410 *@@@%%%=?*=@@@%%%*)
52411 eval ac_cv_prog_make_${ac_make}_set=yes;;
52413 eval ac_cv_prog_make_${ac_make}_set=no;;
52415 rm -f conftest.make
52417 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52418 { echo "$as_me:$LINENO: result: yes" >&5
52419 echo "${ECHO_T}yes" >&6; }
52422 { echo "$as_me:$LINENO: result: no" >&5
52423 echo "${ECHO_T}no" >&6; }
52424 SET_MAKE="MAKE=${MAKE-make}"
52429 if test "x$SUNCXX" = "xyes"; then
52431 AROPTIONS="-xar -o"
52433 elif test "x$SGICC" = "xyes"; then
52438 if test -n "$ac_tool_prefix"; then
52439 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52440 set dummy ${ac_tool_prefix}ar; ac_word=$2
52441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52443 if test "${ac_cv_prog_AR+set}" = set; then
52444 echo $ECHO_N "(cached) $ECHO_C" >&6
52446 if test -n "$AR"; then
52447 ac_cv_prog_AR="$AR" # Let the user override the test.
52449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52450 for as_dir in $PATH
52453 test -z "$as_dir" && as_dir=.
52454 for ac_exec_ext in '' $ac_executable_extensions; do
52455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52456 ac_cv_prog_AR="${ac_tool_prefix}ar"
52457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52467 if test -n "$AR"; then
52468 { echo "$as_me:$LINENO: result: $AR" >&5
52469 echo "${ECHO_T}$AR" >&6; }
52471 { echo "$as_me:$LINENO: result: no" >&5
52472 echo "${ECHO_T}no" >&6; }
52477 if test -z "$ac_cv_prog_AR"; then
52479 # Extract the first word of "ar", so it can be a program name with args.
52480 set dummy ar; ac_word=$2
52481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52483 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52484 echo $ECHO_N "(cached) $ECHO_C" >&6
52486 if test -n "$ac_ct_AR"; then
52487 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52490 for as_dir in $PATH
52493 test -z "$as_dir" && as_dir=.
52494 for ac_exec_ext in '' $ac_executable_extensions; do
52495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52496 ac_cv_prog_ac_ct_AR="ar"
52497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52506 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52507 if test -n "$ac_ct_AR"; then
52508 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52509 echo "${ECHO_T}$ac_ct_AR" >&6; }
52511 { echo "$as_me:$LINENO: result: no" >&5
52512 echo "${ECHO_T}no" >&6; }
52515 if test "x$ac_ct_AR" = x; then
52518 case $cross_compiling:$ac_tool_warned in
52520 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52521 whose name does not start with the host triplet. If you think this
52522 configuration is useful to you, please write to autoconf@gnu.org." >&5
52523 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52524 whose name does not start with the host triplet. If you think this
52525 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52526 ac_tool_warned=yes ;;
52531 AR="$ac_cv_prog_AR"
52538 if test -n "$ac_tool_prefix"; then
52539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52540 set dummy ${ac_tool_prefix}strip; ac_word=$2
52541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52543 if test "${ac_cv_prog_STRIP+set}" = set; then
52544 echo $ECHO_N "(cached) $ECHO_C" >&6
52546 if test -n "$STRIP"; then
52547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52550 for as_dir in $PATH
52553 test -z "$as_dir" && as_dir=.
52554 for ac_exec_ext in '' $ac_executable_extensions; do
52555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52556 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52566 STRIP=$ac_cv_prog_STRIP
52567 if test -n "$STRIP"; then
52568 { echo "$as_me:$LINENO: result: $STRIP" >&5
52569 echo "${ECHO_T}$STRIP" >&6; }
52571 { echo "$as_me:$LINENO: result: no" >&5
52572 echo "${ECHO_T}no" >&6; }
52577 if test -z "$ac_cv_prog_STRIP"; then
52579 # Extract the first word of "strip", so it can be a program name with args.
52580 set dummy strip; ac_word=$2
52581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52584 echo $ECHO_N "(cached) $ECHO_C" >&6
52586 if test -n "$ac_ct_STRIP"; then
52587 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52590 for as_dir in $PATH
52593 test -z "$as_dir" && as_dir=.
52594 for ac_exec_ext in '' $ac_executable_extensions; do
52595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52596 ac_cv_prog_ac_ct_STRIP="strip"
52597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52607 if test -n "$ac_ct_STRIP"; then
52608 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52609 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52611 { echo "$as_me:$LINENO: result: no" >&5
52612 echo "${ECHO_T}no" >&6; }
52615 if test "x$ac_ct_STRIP" = x; then
52618 case $cross_compiling:$ac_tool_warned in
52620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52621 whose name does not start with the host triplet. If you think this
52622 configuration is useful to you, please write to autoconf@gnu.org." >&5
52623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52624 whose name does not start with the host triplet. If you think this
52625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52626 ac_tool_warned=yes ;;
52631 STRIP="$ac_cv_prog_STRIP"
52634 if test -n "$ac_tool_prefix"; then
52635 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52636 set dummy ${ac_tool_prefix}nm; ac_word=$2
52637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52639 if test "${ac_cv_prog_NM+set}" = set; then
52640 echo $ECHO_N "(cached) $ECHO_C" >&6
52642 if test -n "$NM"; then
52643 ac_cv_prog_NM="$NM" # Let the user override the test.
52645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52646 for as_dir in $PATH
52649 test -z "$as_dir" && as_dir=.
52650 for ac_exec_ext in '' $ac_executable_extensions; do
52651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52652 ac_cv_prog_NM="${ac_tool_prefix}nm"
52653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52663 if test -n "$NM"; then
52664 { echo "$as_me:$LINENO: result: $NM" >&5
52665 echo "${ECHO_T}$NM" >&6; }
52667 { echo "$as_me:$LINENO: result: no" >&5
52668 echo "${ECHO_T}no" >&6; }
52673 if test -z "$ac_cv_prog_NM"; then
52675 # Extract the first word of "nm", so it can be a program name with args.
52676 set dummy nm; ac_word=$2
52677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52679 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52680 echo $ECHO_N "(cached) $ECHO_C" >&6
52682 if test -n "$ac_ct_NM"; then
52683 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52686 for as_dir in $PATH
52689 test -z "$as_dir" && as_dir=.
52690 for ac_exec_ext in '' $ac_executable_extensions; do
52691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52692 ac_cv_prog_ac_ct_NM="nm"
52693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52702 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52703 if test -n "$ac_ct_NM"; then
52704 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52705 echo "${ECHO_T}$ac_ct_NM" >&6; }
52707 { echo "$as_me:$LINENO: result: no" >&5
52708 echo "${ECHO_T}no" >&6; }
52711 if test "x$ac_ct_NM" = x; then
52714 case $cross_compiling:$ac_tool_warned in
52716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52717 whose name does not start with the host triplet. If you think this
52718 configuration is useful to you, please write to autoconf@gnu.org." >&5
52719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52720 whose name does not start with the host triplet. If you think this
52721 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52722 ac_tool_warned=yes ;;
52727 NM="$ac_cv_prog_NM"
52731 INSTALL_DIR="mkdir -p"
52735 case ${BAKEFILE_HOST} in
52736 *-*-cygwin* | *-*-mingw32* )
52737 LDFLAGS_GUI="-mwindows"
52743 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52744 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52745 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52746 echo $ECHO_N "(cached) $ECHO_C" >&6
52749 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52750 egrep -s GNU > /dev/null); then
52751 bakefile_cv_prog_makeisgnu="yes"
52753 bakefile_cv_prog_makeisgnu="no"
52757 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52758 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52760 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52777 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52778 case "${BAKEFILE_HOST}" in
52785 *-pc-os2_emx | *-pc-os2-emx )
52795 powerpc-apple-macos* )
52804 case "$BAKEFILE_FORCE_PLATFORM" in
52825 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52826 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52827 { (exit 1); exit 1; }; }
52842 # Check whether --enable-omf was given.
52843 if test "${enable_omf+set}" = set; then
52844 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52848 case "${BAKEFILE_HOST}" in
52850 if test "x$GCC" = "xyes"; then
52851 CFLAGS="$CFLAGS -fno-common"
52852 CXXFLAGS="$CXXFLAGS -fno-common"
52854 if test "x$XLCC" = "xyes"; then
52855 CFLAGS="$CFLAGS -qnocommon"
52856 CXXFLAGS="$CXXFLAGS -qnocommon"
52860 *-pc-os2_emx | *-pc-os2-emx )
52861 if test "x$bk_os2_use_omf" = "xyes" ; then
52864 LDFLAGS="-Zomf $LDFLAGS"
52865 CFLAGS="-Zomf $CFLAGS"
52866 CXXFLAGS="-Zomf $CXXFLAGS"
52874 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52880 SO_SUFFIX_MODULE="so"
52885 DLLPREFIX_MODULE=""
52889 case "${BAKEFILE_HOST}" in
52894 SO_SUFFIX_MODULE="sl"
52898 SO_SUFFIX_MODULE="a"
52902 SO_SUFFIX_MODULE="dll"
52903 DLLIMP_SUFFIX="dll.a"
52910 SO_SUFFIX_MODULE="dll"
52911 DLLIMP_SUFFIX="dll.a"
52921 *-pc-os2_emx | *-pc-os2-emx )
52923 SO_SUFFIX_MODULE="dll"
52924 DLLIMP_SUFFIX=$OS2_LIBEXT
52928 LIBEXT=".$OS2_LIBEXT"
52933 SO_SUFFIX_MODULE="bundle"
52937 if test "x$DLLIMP_SUFFIX" = "x" ; then
52938 DLLIMP_SUFFIX="$SO_SUFFIX"
52953 if test "x$GCC" = "xyes"; then
52957 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52958 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52961 case "${BAKEFILE_HOST}" in
52963 if test "x$GCC" != "xyes"; then
52964 LDFLAGS="$LDFLAGS -L/usr/lib"
52966 SHARED_LD_CC="${CC} -b -o"
52967 SHARED_LD_CXX="${CXX} -b -o"
52973 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52975 elif test "x$SUNCXX" = "xyes"; then
52976 SHARED_LD_CC="${CC} -G -o"
52977 SHARED_LD_CXX="${CXX} -G -o"
52983 if test "x$SUNCXX" = xyes ; then
52984 SHARED_LD_CC="${CC} -G -o"
52985 SHARED_LD_CXX="${CXX} -G -o"
52993 cat <<EOF >shared-ld-sh
52995 #-----------------------------------------------------------------------------
52996 #-- Name: distrib/mac/shared-ld-sh
52997 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52998 #-- Author: Gilles Depeyrot
52999 #-- Copyright: (c) 2002 Gilles Depeyrot
53000 #-- Licence: any use permitted
53001 #-----------------------------------------------------------------------------
53006 linking_flag="-dynamiclib"
53007 ldargs="-r -keep_private_externs -nostdlib"
53009 if test "x${D}CXX" = "x"; then
53013 while test ${D}# -gt 0; do
53020 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
53021 # collect these options and values
53022 args="${D}{args} ${D}1 ${D}2"
53027 # collect these options and values
53028 ldargs="${D}{ldargs} ${D}1 ${D}2"
53033 # collect these load args
53034 ldargs="${D}{ldargs} ${D}1"
53037 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53038 # collect these options
53039 args="${D}{args} ${D}1"
53042 -dynamiclib|-bundle)
53043 linking_flag="${D}1"
53047 echo "shared-ld: unhandled option '${D}1'"
53051 *.o | *.a | *.dylib)
53052 # collect object files
53053 objects="${D}{objects} ${D}1"
53057 echo "shared-ld: unhandled argument '${D}1'"
53068 # Link one module containing all the others
53070 if test ${D}{verbose} = 1; then
53071 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53073 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53077 # Link the shared library from the single module created, but only if the
53078 # previous command didn't fail:
53080 if test ${D}{status} = 0; then
53081 if test ${D}{verbose} = 1; then
53082 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53084 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53089 # Remove intermediate module
53091 rm -f master.${D}${D}.o
53096 chmod +x shared-ld-sh
53098 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53099 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53102 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53103 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53104 if test "${bakefile_cv_gcc31+set}" = set; then
53105 echo $ECHO_N "(cached) $ECHO_C" >&6
53108 cat >conftest.$ac_ext <<_ACEOF
53111 cat confdefs.h >>conftest.$ac_ext
53112 cat >>conftest.$ac_ext <<_ACEOF
53113 /* end confdefs.h. */
53119 #if (__GNUC__ < 3) || \
53120 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53128 rm -f conftest.$ac_objext
53129 if { (ac_try="$ac_compile"
53130 case "(($ac_try" in
53131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
53132 *) ac_try_echo
=$ac_try;;
53134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53135 (eval "$ac_compile") 2>conftest.er1
53137 grep -v '^ *+' conftest.er1
>conftest.err
53139 cat conftest.err
>&5
53140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53141 (exit $ac_status); } && {
53142 test -z "$ac_c_werror_flag" ||
53143 test ! -s conftest.err
53144 } && test -s conftest.
$ac_objext; then
53146 bakefile_cv_gcc31
=yes
53149 echo "$as_me: failed program was:" >&5
53150 sed 's/^/| /' conftest.
$ac_ext >&5
53153 bakefile_cv_gcc31
=no
53158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53161 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53162 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53163 if test "$bakefile_cv_gcc31" = "no"; then
53164 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53165 SHARED_LD_CXX
="$SHARED_LD_CC"
53167 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53168 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53171 if test "x$GCC" == "xyes"; then
53172 PIC_FLAG
="-dynamic -fPIC"
53174 if test "x$XLCC" = "xyes"; then
53175 PIC_FLAG
="-dynamic -DPIC"
53180 if test "x$GCC" = "xyes"; then
53183 case "${BAKEFILE_HOST}" in
53185 LD_EXPFULL
="-Wl,-bexpfull"
53189 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
53190 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
53192 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53193 set dummy makeC
++SharedLib
; ac_word
=$2
53194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53196 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53197 echo $ECHO_N "(cached) $ECHO_C" >&6
53199 if test -n "$AIX_CXX_LD"; then
53200 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
53202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53203 for as_dir
in $PATH
53206 test -z "$as_dir" && as_dir
=.
53207 for ac_exec_ext
in '' $ac_executable_extensions; do
53208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53209 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
53210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53217 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
53220 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
53221 if test -n "$AIX_CXX_LD"; then
53222 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53223 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53225 { echo "$as_me:$LINENO: result: no" >&5
53226 echo "${ECHO_T}no" >&6; }
53230 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
53231 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
53236 SHARED_LD_CC
="${LD} -nostart -o"
53237 SHARED_LD_CXX
="${LD} -nostart -o"
53241 if test "x$GCC" != "xyes"; then
53246 *-*-cygwin* | *-*-mingw32* )
53248 SHARED_LD_CC
="\$(CC) -shared -o"
53249 SHARED_LD_CXX
="\$(CXX) -shared -o"
53253 *-pc-os2_emx | *-pc-os2-emx )
53254 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53255 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53259 cat <<EOF >dllar.sh
53262 # dllar - a tool to build both a .dll and an .a file
53263 # from a set of object (.o) files for EMX/OS2.
53265 # Written by Andrew Zabolotny, bit@freya.etu.ru
53266 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53268 # This script will accept a set of files on the command line.
53269 # All the public symbols from the .o files will be exported into
53270 # a .DEF file, then linker will be run (through gcc) against them to
53271 # build a shared library consisting of all given .o files. All libraries
53272 # (.a) will be first decompressed into component .o files then act as
53273 # described above. You can optionally give a description (-d "description")
53274 # which will be put into .DLL. To see the list of accepted options (as well
53275 # as command-line format) simply run this program without options. The .DLL
53276 # is built to be imported by name (there is no guarantee that new versions
53277 # of the library you build will have same ordinals for same symbols).
53279 # dllar is free software; you can redistribute it and/or modify
53280 # it under the terms of the GNU General Public License as published by
53281 # the Free Software Foundation; either version 2, or (at your option)
53282 # any later version.
53284 # dllar is distributed in the hope that it will be useful,
53285 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53286 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53287 # GNU General Public License for more details.
53289 # You should have received a copy of the GNU General Public License
53290 # along with dllar; see the file COPYING. If not, write to the Free
53291 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53294 # To successfuly run this program you will need:
53295 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53296 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53298 # (used to build the .dll)
53300 # (used to create .def file from .o files)
53302 # (used to create .a file from .def file)
53303 # - GNU text utilites (cat, sort, uniq)
53304 # used to process emxexp output
53305 # - GNU file utilities (mv, rm)
53307 # - lxlite (optional, see flag below)
53308 # (used for general .dll cleanup)
53315 # basnam, variant of basename, which does _not_ remove the path, _iff_
53316 # second argument (suffix to remove) is given
53320 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53323 echo ${D}1 | sed 's/'${D}2'${D}//'
53326 echo "error in basnam ${D}*"
53332 # Cleanup temporary files and output
53335 for i in ${D}inputFiles ; do
53338 rm -rf \`basnam ${D}i !\`
53345 # Kill result in case of failure as there is just to many stupid make/nmake
53346 # things out there which doesn't do this.
53347 if [ ${D}# -eq 0 ]; then
53348 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53352 # Print usage and exit script with rc=1.
53354 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53355 echo ' [-name-mangler-script script.sh]'
53356 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53357 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53358 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53359 echo ' [*.o] [*.a]'
53360 echo '*> "output_file" should have no extension.'
53361 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53362 echo ' The import library name is derived from this and is set to "name".a,'
53363 echo ' unless overridden by -import'
53364 echo '*> "importlib_name" should have no extension.'
53365 echo ' If it has the .o, or .a extension, it is automatically removed.'
53366 echo ' This name is used as the import library name and may be longer and'
53367 echo ' more descriptive than the DLL name which has to follow the old '
53368 echo ' 8.3 convention of FAT.'
53369 echo '*> "script.sh may be given to override the output_file name by a'
53370 echo ' different name. It is mainly useful if the regular make process'
53371 echo ' of some package does not take into account OS/2 restriction of'
53372 echo ' DLL name lengths. It takes the importlib name as input and is'
53373 echo ' supposed to procude a shorter name as output. The script should'
53374 echo ' expect to get importlib_name without extension and should produce'
53375 echo ' a (max.) 8 letter name without extension.'
53376 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53377 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53378 echo ' These flags will be put at the start of GCC command line.'
53379 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53380 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53381 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53382 echo ' If the last character of a symbol is "*", all symbols beginning'
53383 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53384 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53385 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53386 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53387 echo ' C runtime DLLs.'
53388 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53389 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53390 echo ' unchanged to GCC at the end of command line.'
53391 echo '*> If you create a DLL from a library and you do not specify -o,'
53392 echo ' the basename for DLL and import library will be set to library name,'
53393 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53394 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53395 echo ' library will be renamed into gcc_s.a.'
53398 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53399 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53404 # Execute a command.
53405 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53406 # @Uses Whatever CleanUp() uses.
53412 if [ ${D}rcCmd -ne 0 ]; then
53413 echo "command failed, exit code="${D}rcCmd
53428 CFLAGS="-s -Zcrtdll"
53430 EXPORT_BY_ORDINALS=0
53435 case ${D}curDirS in
53439 curDirS=${D}{curDirS}"/"
53442 # Parse commandline
53445 while [ ${D}1 ]; do
53448 EXPORT_BY_ORDINALS=1;
53458 -name-mangler-script)
53479 exclude_symbols=${D}{exclude_symbols}${D}1" "
53483 library_flags=${D}{library_flags}${D}1" "
53502 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53505 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53506 if [ ${D}omfLinking -eq 1 ]; then
53507 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53509 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53514 if [ ${D}libsToLink -ne 0 ]; then
53515 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53517 for file in ${D}1 ; do
53518 if [ -f ${D}file ]; then
53519 inputFiles="${D}{inputFiles} ${D}file"
53523 if [ ${D}found -eq 0 ]; then
53524 echo "ERROR: No file(s) found: "${D}1
53531 done # iterate cmdline words
53534 if [ -z "${D}inputFiles" ]; then
53535 echo "dllar: no input files"
53539 # Now extract all .o files from .a files
53541 for file in ${D}inputFiles ; do
53552 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53557 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53559 if [ ${D}? -ne 0 ]; then
53560 echo "Failed to create subdirectory ./${D}dirname"
53564 # Append '!' to indicate archive
53565 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53566 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53569 for subfile in ${D}dirname/*.o* ; do
53570 if [ -f ${D}subfile ]; then
53572 if [ -s ${D}subfile ]; then
53573 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53574 newInputFiles="${D}newInputFiles ${D}subfile"
53578 if [ ${D}found -eq 0 ]; then
53579 echo "WARNING: there are no files in archive \\'${D}file\\'"
53583 newInputFiles="${D}{newInputFiles} ${D}file"
53587 inputFiles="${D}newInputFiles"
53589 # Output filename(s).
53591 if [ -z ${D}outFile ]; then
53593 set outFile ${D}inputFiles; outFile=${D}2
53596 # If it is an archive, remove the '!' and the '_%' suffixes
53597 case ${D}outFile in
53599 outFile=\`basnam ${D}outFile _%!\`
53604 case ${D}outFile in
53606 outFile=\`basnam ${D}outFile .dll\`
53609 outFile=\`basnam ${D}outFile .DLL\`
53612 outFile=\`basnam ${D}outFile .o\`
53615 outFile=\`basnam ${D}outFile .obj\`
53618 outFile=\`basnam ${D}outFile .a\`
53621 outFile=\`basnam ${D}outFile .lib\`
53626 case ${D}outimpFile in
53628 outimpFile=\`basnam ${D}outimpFile .a\`
53631 outimpFile=\`basnam ${D}outimpFile .lib\`
53636 if [ -z ${D}outimpFile ]; then
53637 outimpFile=${D}outFile
53639 defFile="${D}{outFile}.def"
53640 arcFile="${D}{outimpFile}.a"
53641 arcFile2="${D}{outimpFile}.lib"
53643 #create ${D}dllFile as something matching 8.3 restrictions,
53644 if [ -z ${D}renameScript ] ; then
53645 dllFile="${D}outFile"
53647 dllFile=\`${D}renameScript ${D}outimpFile\`
53650 if [ ${D}do_backup -ne 0 ] ; then
53651 if [ -f ${D}arcFile ] ; then
53652 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53654 if [ -f ${D}arcFile2 ] ; then
53655 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53659 # Extract public symbols from all the object files.
53660 tmpdefFile=${D}{defFile}_%
53661 rm -f ${D}tmpdefFile
53662 for file in ${D}inputFiles ; do
53667 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53672 # Create the def file.
53674 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53675 dllFile="${D}{dllFile}.dll"
53676 if [ ! -z ${D}description ]; then
53677 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53679 echo "EXPORTS" >> ${D}defFile
53681 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53682 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53684 # Checks if the export is ok or not.
53685 for word in ${D}exclude_symbols; do
53686 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53687 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53691 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53692 sed "=" < ${D}tmpdefFile | \\
53696 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53698 ' > ${D}{tmpdefFile}%
53699 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53701 rm -f ${D}{tmpdefFile}%
53703 cat ${D}tmpdefFile >> ${D}defFile
53704 rm -f ${D}tmpdefFile
53706 # Do linking, create implib, and apply lxlite.
53708 for file in ${D}inputFiles ; do
53713 gccCmdl="${D}gccCmdl ${D}file"
53717 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53718 touch "${D}{outFile}.dll"
53720 doCommand "emximp -o ${D}arcFile ${D}defFile"
53721 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53723 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53726 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53728 doCommand "emxomf -s -l ${D}arcFile"
53738 powerpc
-apple-macos* | \
53739 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
53749 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53750 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53751 { (exit 1); exit 1; }; }
53754 if test "x$PIC_FLAG" != "x" ; then
53755 PIC_FLAG
="$PIC_FLAG -DPIC"
53758 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53759 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
53761 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53762 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
53777 USE_SOTWOSYMLINKS
=0
53781 case "${BAKEFILE_HOST}" in
53782 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53783 *-*-k*bsd
*-gnu | *-*-mirbsd* )
53784 if test "x$SUNCXX" = "xyes"; then
53787 SONAME_FLAG
="-Wl,-soname,"
53791 USE_SOTWOSYMLINKS
=1
53803 USE_SOTWOSYMLINKS
=1
53821 # Check whether --enable-dependency-tracking was given.
53822 if test "${enable_dependency_tracking+set}" = set; then
53823 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
53827 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53828 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53831 if test "x$bk_use_trackdeps" = "xno" ; then
53833 { echo "$as_me:$LINENO: result: disabled" >&5
53834 echo "${ECHO_T}disabled" >&6; }
53838 if test "x$GCC" = "xyes"; then
53840 case "${BAKEFILE_HOST}" in
53842 DEPSFLAG
="-no-cpp-precomp -MMD"
53848 { echo "$as_me:$LINENO: result: gcc" >&5
53849 echo "${ECHO_T}gcc" >&6; }
53850 elif test "x$MWCC" = "xyes"; then
53853 { echo "$as_me:$LINENO: result: mwcc" >&5
53854 echo "${ECHO_T}mwcc" >&6; }
53855 elif test "x$SUNCC" = "xyes"; then
53858 { echo "$as_me:$LINENO: result: Sun cc" >&5
53859 echo "${ECHO_T}Sun cc" >&6; }
53860 elif test "x$SGICC" = "xyes"; then
53863 { echo "$as_me:$LINENO: result: SGI cc" >&5
53864 echo "${ECHO_T}SGI cc" >&6; }
53865 elif test "x$HPCC" = "xyes"; then
53868 { echo "$as_me:$LINENO: result: HP cc" >&5
53869 echo "${ECHO_T}HP cc" >&6; }
53870 elif test "x$COMPAQCC" = "xyes"; then
53873 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53874 echo "${ECHO_T}Compaq cc" >&6; }
53877 { echo "$as_me:$LINENO: result: none" >&5
53878 echo "${ECHO_T}none" >&6; }
53881 if test $DEPS_TRACKING = 1 ; then
53887 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53888 # script. It is used to track C/C++ files dependencies in portable way.
53890 # Permission is given to use this file in any way.
53892 DEPSMODE=${DEPSMODE}
53893 DEPSFLAG="${DEPSFLAG}"
53896 if test ${D}DEPSMODE = gcc ; then
53897 ${D}* ${D}{DEPSFLAG}
53900 # determine location of created files:
53901 while test ${D}# -gt 0; do
53915 objfilebase=\`basename ${D}objfile\`
53916 builddir=\`dirname ${D}objfile\`
53917 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53918 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53919 depsdir=${D}builddir/${D}DEPSDIRBASE
53920 mkdir -p ${D}depsdir
53922 # if the compiler failed, we're done:
53923 if test ${D}{status} != 0 ; then
53928 # move created file to the location we want it in:
53929 if test -f ${D}depfile ; then
53930 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53933 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53934 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53935 if test ! -f ${D}depfile ; then
53936 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53937 depfile="${D}objfile.d"
53939 if test -f ${D}depfile ; then
53940 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53946 elif test ${D}DEPSMODE = mwcc ; then
53947 ${D}* || exit ${D}?
53948 # Run mwcc again with -MM and redirect into the dep file we want
53949 # NOTE: We can't use shift here because we need ${D}* to be valid
53951 for arg in ${D}* ; do
53952 if test "${D}prevarg" = "-o"; then
53966 objfilebase=\`basename ${D}objfile\`
53967 builddir=\`dirname ${D}objfile\`
53968 depsdir=${D}builddir/${D}DEPSDIRBASE
53969 mkdir -p ${D}depsdir
53971 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53974 elif test ${D}DEPSMODE = unixcc; then
53975 ${D}* || exit ${D}?
53976 # Run compiler again with deps flag and redirect into the dep file.
53977 # It doesn't work if the '-o FILE' option is used, but without it the
53978 # dependency file will contain the wrong name for the object. So it is
53979 # removed from the command line, and the dep file is fixed with sed.
53981 while test ${D}# -gt 0; do
53988 eval arg${D}#=\\${D}1
53989 cmd="${D}cmd \\${D}arg${D}#"
53995 objfilebase=\`basename ${D}objfile\`
53996 builddir=\`dirname ${D}objfile\`
53997 depsdir=${D}builddir/${D}DEPSDIRBASE
53998 mkdir -p ${D}depsdir
54000 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
54010 BK_DEPS
="`pwd`/bk-deps"
54018 case ${BAKEFILE_HOST} in
54019 *-*-cygwin* | *-*-mingw32* )
54020 if test -n "$ac_tool_prefix"; then
54021 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
54022 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
54023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54025 if test "${ac_cv_prog_WINDRES+set}" = set; then
54026 echo $ECHO_N "(cached) $ECHO_C" >&6
54028 if test -n "$WINDRES"; then
54029 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
54031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54032 for as_dir
in $PATH
54035 test -z "$as_dir" && as_dir
=.
54036 for ac_exec_ext
in '' $ac_executable_extensions; do
54037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54038 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
54039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54048 WINDRES
=$ac_cv_prog_WINDRES
54049 if test -n "$WINDRES"; then
54050 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54051 echo "${ECHO_T}$WINDRES" >&6; }
54053 { echo "$as_me:$LINENO: result: no" >&5
54054 echo "${ECHO_T}no" >&6; }
54059 if test -z "$ac_cv_prog_WINDRES"; then
54060 ac_ct_WINDRES
=$WINDRES
54061 # Extract the first word of "windres", so it can be a program name with args.
54062 set dummy windres
; ac_word
=$2
54063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54065 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54066 echo $ECHO_N "(cached) $ECHO_C" >&6
54068 if test -n "$ac_ct_WINDRES"; then
54069 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
54071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54072 for as_dir
in $PATH
54075 test -z "$as_dir" && as_dir
=.
54076 for ac_exec_ext
in '' $ac_executable_extensions; do
54077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54078 ac_cv_prog_ac_ct_WINDRES
="windres"
54079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54088 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
54089 if test -n "$ac_ct_WINDRES"; then
54090 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54091 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54093 { echo "$as_me:$LINENO: result: no" >&5
54094 echo "${ECHO_T}no" >&6; }
54097 if test "x$ac_ct_WINDRES" = x
; then
54100 case $cross_compiling:$ac_tool_warned in
54102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54103 whose name does not start with the host triplet. If you think this
54104 configuration is useful to you, please write to autoconf@gnu.org." >&5
54105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54106 whose name does not start with the host triplet. If you think this
54107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54108 ac_tool_warned
=yes ;;
54110 WINDRES
=$ac_ct_WINDRES
54113 WINDRES
="$ac_cv_prog_WINDRES"
54118 *-*-darwin* | powerpc
-apple-macos* )
54119 # Extract the first word of "Rez", so it can be a program name with args.
54120 set dummy Rez
; ac_word
=$2
54121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54123 if test "${ac_cv_prog_REZ+set}" = set; then
54124 echo $ECHO_N "(cached) $ECHO_C" >&6
54126 if test -n "$REZ"; then
54127 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
54129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54130 for as_dir
in $PATH
54133 test -z "$as_dir" && as_dir
=.
54134 for ac_exec_ext
in '' $ac_executable_extensions; do
54135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54136 ac_cv_prog_REZ
="Rez"
54137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54144 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
54147 REZ
=$ac_cv_prog_REZ
54148 if test -n "$REZ"; then
54149 { echo "$as_me:$LINENO: result: $REZ" >&5
54150 echo "${ECHO_T}$REZ" >&6; }
54152 { echo "$as_me:$LINENO: result: no" >&5
54153 echo "${ECHO_T}no" >&6; }
54157 # Extract the first word of "SetFile", so it can be a program name with args.
54158 set dummy SetFile
; ac_word
=$2
54159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54161 if test "${ac_cv_prog_SETFILE+set}" = set; then
54162 echo $ECHO_N "(cached) $ECHO_C" >&6
54164 if test -n "$SETFILE"; then
54165 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
54167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54168 for as_dir
in $PATH
54171 test -z "$as_dir" && as_dir
=.
54172 for ac_exec_ext
in '' $ac_executable_extensions; do
54173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54174 ac_cv_prog_SETFILE
="SetFile"
54175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54182 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
54185 SETFILE
=$ac_cv_prog_SETFILE
54186 if test -n "$SETFILE"; then
54187 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54188 echo "${ECHO_T}$SETFILE" >&6; }
54190 { echo "$as_me:$LINENO: result: no" >&5
54191 echo "${ECHO_T}no" >&6; }
54206 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
54209 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
54213 # Check whether --enable-precomp-headers was given.
54214 if test "${enable_precomp_headers+set}" = set; then
54215 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
54224 case ${BAKEFILE_HOST} in
54230 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54231 if test "x$GCC" = "xyes"; then
54232 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54233 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54234 cat >conftest.
$ac_ext <<_ACEOF
54237 cat confdefs.h
>>conftest.
$ac_ext
54238 cat >>conftest.
$ac_ext <<_ACEOF
54239 /* end confdefs.h. */
54245 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54246 There is no PCH support
54249 There is no PCH support
54251 #if (__GNUC__ == 3) && \
54252 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54253 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54254 ( defined(__INTEL_COMPILER) )
54255 There is no PCH support
54262 rm -f conftest.
$ac_objext
54263 if { (ac_try
="$ac_compile"
54264 case "(($ac_try" in
54265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54266 *) ac_try_echo=$ac_try;;
54268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54269 (eval "$ac_compile") 2>conftest.er1
54271 grep -v '^ *+' conftest.er1 >conftest.err
54273 cat conftest.err >&5
54274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54275 (exit $ac_status); } && {
54276 test -z "$ac_c_werror_flag" ||
54277 test ! -s conftest.err
54278 } && test -s conftest.$ac_objext; then
54280 { echo "$as_me:$LINENO: result: yes" >&5
54281 echo "${ECHO_T}yes" >&6; }
54285 echo "$as_me: failed program was:" >&5
54286 sed 's/^/| /' conftest.$ac_ext >&5
54289 if test "$INTELCXX8" = "yes"; then
54290 { echo "$as_me:$LINENO: result: yes" >&5
54291 echo "${ECHO_T}yes" >&6; }
54293 if test "$INTELCXX10" = "yes"; then
54294 ICC_PCH_CREATE_SWITCH="-pch-create"
54295 ICC_PCH_USE_SWITCH="-pch-use"
54297 ICC_PCH_CREATE_SWITCH="-create-pch"
54298 ICC_PCH_USE_SWITCH="-use-pch"
54301 { echo "$as_me:$LINENO: result: no" >&5
54302 echo "${ECHO_T}no" >&6; }
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54308 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54312 cat <<EOF >bk-make-pch
54315 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54316 # script. It is used to generated precompiled headers.
54318 # Permission is given to use this file in any way.
54325 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
54330 while test ${D}{#} -gt 0; do
54334 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
54335 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54336 headerfile="${D}{incdir}/${D}{header}"
54339 -use-pch|-use_pch|-pch-use )
54344 if test ${D}add_to_cmdline = 1 ; then
54345 compiler="${D}{compiler} ${D}{1}"
54350 if test "x${D}{headerfile}" = "x" ; then
54351 echo "error: can't find header ${D}{header} in include paths" >&2
54353 if test -f ${D}{outfile} ; then
54354 rm -f ${D}{outfile}
54356 mkdir -p \`dirname ${D}{outfile
}\
`
54358 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
54359 mkdir -p ${D}{builddir}/.deps
54360 if test "x${GCC_PCH}" = "x1" ; then
54361 # can do this because gcc is >= 3.4:
54362 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54363 elif test "x${ICC_PCH}" = "x1" ; then
54364 filename=pch_gen-${D}${D}
54365 file=${D}{filename}.c
54366 dfile=${D}{filename}.d
54367 cat > ${D}file <<EOT
54368 #include "${D}header"
54370 # using -MF icc complains about differing command lines in creation/use
54371 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54372 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54373 rm -f ${D}file ${D}dfile ${D}{filename}.o
54379 chmod +x bk-make-pch
54380 BK_MAKE_PCH="`pwd`/bk-make-pch"
54391 COND_BUILD_DEBUG="#"
54392 if test "x$BUILD" = "xdebug" ; then
54393 COND_BUILD_DEBUG=""
54396 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54397 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54398 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54401 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54402 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54403 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54406 COND_BUILD_DEBUG_UNICODE_0="#"
54407 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54408 COND_BUILD_DEBUG_UNICODE_0=""
54411 COND_BUILD_DEBUG_UNICODE_1="#"
54412 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54413 COND_BUILD_DEBUG_UNICODE_1=""
54416 COND_BUILD_RELEASE="#"
54417 if test "x$BUILD" = "xrelease" ; then
54418 COND_BUILD_RELEASE=""
54421 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54422 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54423 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54426 COND_BUILD_RELEASE_UNICODE_0="#"
54427 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54428 COND_BUILD_RELEASE_UNICODE_0=""
54431 COND_BUILD_RELEASE_UNICODE_1="#"
54432 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54433 COND_BUILD_RELEASE_UNICODE_1=""
54436 COND_BUILD_debug="#"
54437 if test "x$BUILD" = "xdebug" ; then
54438 COND_BUILD_debug=""
54441 COND_BUILD_debug_DEBUG_FLAG_default="#"
54442 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54443 COND_BUILD_debug_DEBUG_FLAG_default=""
54446 COND_BUILD_debug_DEBUG_INFO_default="#"
54447 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54448 COND_BUILD_debug_DEBUG_INFO_default=""
54451 COND_BUILD_debug_UNICODE_0="#"
54452 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54453 COND_BUILD_debug_UNICODE_0=""
54456 COND_BUILD_debug_UNICODE_1="#"
54457 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54458 COND_BUILD_debug_UNICODE_1=""
54461 COND_BUILD_release="#"
54462 if test "x$BUILD" = "xrelease" ; then
54463 COND_BUILD_release=""
54466 COND_BUILD_release_DEBUG_INFO_default="#"
54467 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54468 COND_BUILD_release_DEBUG_INFO_default=""
54471 COND_BUILD_release_UNICODE_0="#"
54472 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54473 COND_BUILD_release_UNICODE_0=""
54476 COND_BUILD_release_UNICODE_1="#"
54477 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54478 COND_BUILD_release_UNICODE_1=""
54481 COND_DEBUG_FLAG_0="#"
54482 if test "x$DEBUG_FLAG" = "x0" ; then
54483 COND_DEBUG_FLAG_0=""
54486 COND_DEBUG_FLAG_1="#"
54487 if test "x$DEBUG_FLAG" = "x1" ; then
54488 COND_DEBUG_FLAG_1=""
54491 COND_DEBUG_INFO_0="#"
54492 if test "x$DEBUG_INFO" = "x0" ; then
54493 COND_DEBUG_INFO_0=""
54496 COND_DEBUG_INFO_1="#"
54497 if test "x$DEBUG_INFO" = "x1" ; then
54498 COND_DEBUG_INFO_1=""
54501 COND_DEPS_TRACKING_0="#"
54502 if test "x$DEPS_TRACKING" = "x0" ; then
54503 COND_DEPS_TRACKING_0=""
54506 COND_DEPS_TRACKING_1="#"
54507 if test "x$DEPS_TRACKING" = "x1" ; then
54508 COND_DEPS_TRACKING_1=""
54512 if test "x$GCC_PCH" = "x1" ; then
54517 if test "x$ICC_PCH" = "x1" ; then
54521 COND_MONOLITHIC_0="#"
54522 if test "x$MONOLITHIC" = "x0" ; then
54523 COND_MONOLITHIC_0=""
54526 COND_MONOLITHIC_0_SHARED_0="#"
54527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54528 COND_MONOLITHIC_0_SHARED_0=""
54531 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54533 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54541 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54551 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54553 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54556 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54558 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54561 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54563 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54566 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54568 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54571 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54573 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54576 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54578 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54581 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54583 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54586 COND_MONOLITHIC_0_SHARED_1="#"
54587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54588 COND_MONOLITHIC_0_SHARED_1=""
54591 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54593 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54603 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54611 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54612 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54613 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54616 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54617 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54618 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54621 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54622 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54623 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54626 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54627 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54628 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54631 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54632 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54633 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54636 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54637 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54638 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54641 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54643 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54646 COND_MONOLITHIC_0_USE_AUI_1="#"
54647 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54648 COND_MONOLITHIC_0_USE_AUI_1=""
54651 COND_MONOLITHIC_0_USE_GUI_1="#"
54652 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54653 COND_MONOLITHIC_0_USE_GUI_1=""
54656 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54657 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54658 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54661 COND_MONOLITHIC_0_USE_HTML_1="#"
54662 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54663 COND_MONOLITHIC_0_USE_HTML_1=""
54666 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54667 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54668 COND_MONOLITHIC_0_USE_MEDIA_1=""
54671 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54672 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54673 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54676 COND_MONOLITHIC_0_USE_QA_1="#"
54677 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54678 COND_MONOLITHIC_0_USE_QA_1=""
54681 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54682 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54683 COND_MONOLITHIC_0_USE_RIBBON_1=""
54686 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54687 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54688 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54691 COND_MONOLITHIC_0_USE_STC_1="#"
54692 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54693 COND_MONOLITHIC_0_USE_STC_1=""
54696 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54697 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54698 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54701 COND_MONOLITHIC_0_USE_XRC_1="#"
54702 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54703 COND_MONOLITHIC_0_USE_XRC_1=""
54706 COND_MONOLITHIC_1="#"
54707 if test "x$MONOLITHIC" = "x1" ; then
54708 COND_MONOLITHIC_1=""
54711 COND_MONOLITHIC_1_SHARED_0="#"
54712 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54713 COND_MONOLITHIC_1_SHARED_0=""
54716 COND_MONOLITHIC_1_SHARED_1="#"
54717 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54718 COND_MONOLITHIC_1_SHARED_1=""
54721 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54722 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54723 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54726 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54727 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54728 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54731 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54732 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54733 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54736 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54737 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54738 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54741 COND_PLATFORM_MACOSX_1="#"
54742 if test "x$PLATFORM_MACOSX" = "x1" ; then
54743 COND_PLATFORM_MACOSX_1=""
54746 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54747 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54748 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54751 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54752 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54753 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54756 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54757 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54758 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54761 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54762 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54763 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54766 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54767 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54768 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54771 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54772 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54773 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54776 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54777 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54781 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54782 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54783 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54786 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54787 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54788 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54791 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54796 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54797 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54798 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54801 COND_PLATFORM_MACOS_1="#"
54802 if test "x$PLATFORM_MACOS" = "x1" ; then
54803 COND_PLATFORM_MACOS_1=""
54806 COND_PLATFORM_MAC_0="#"
54807 if test "x$PLATFORM_MAC" = "x0" ; then
54808 COND_PLATFORM_MAC_0=""
54811 COND_PLATFORM_MAC_1="#"
54812 if test "x$PLATFORM_MAC" = "x1" ; then
54813 COND_PLATFORM_MAC_1=""
54816 COND_PLATFORM_MSDOS_0="#"
54817 if test "x$PLATFORM_MSDOS" = "x0" ; then
54818 COND_PLATFORM_MSDOS_0=""
54821 COND_PLATFORM_MSDOS_1="#"
54822 if test "x$PLATFORM_MSDOS" = "x1" ; then
54823 COND_PLATFORM_MSDOS_1=""
54826 COND_PLATFORM_OS2_1="#"
54827 if test "x$PLATFORM_OS2" = "x1" ; then
54828 COND_PLATFORM_OS2_1=""
54831 COND_PLATFORM_UNIX_0="#"
54832 if test "x$PLATFORM_UNIX" = "x0" ; then
54833 COND_PLATFORM_UNIX_0=""
54836 COND_PLATFORM_UNIX_1="#"
54837 if test "x$PLATFORM_UNIX" = "x1" ; then
54838 COND_PLATFORM_UNIX_1=""
54841 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
54842 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
54843 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
54846 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
54847 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54848 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
54851 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54852 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54853 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54856 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54857 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54858 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54861 COND_PLATFORM_WIN32_0="#"
54862 if test "x$PLATFORM_WIN32" = "x0" ; then
54863 COND_PLATFORM_WIN32_0=""
54866 COND_PLATFORM_WIN32_1="#"
54867 if test "x$PLATFORM_WIN32" = "x1" ; then
54868 COND_PLATFORM_WIN32_1=""
54871 COND_PLATFORM_WIN32_1_SHARED_0="#"
54872 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54873 COND_PLATFORM_WIN32_1_SHARED_0=""
54877 if test "x$SHARED" = "x0" ; then
54881 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54882 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54883 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54887 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54891 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54892 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54893 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54897 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54898 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54901 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54902 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54903 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54907 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54911 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54912 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54916 COND_SHARED_0_USE_STC_1="#"
54917 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54918 COND_SHARED_0_USE_STC_1=""
54921 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54922 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54923 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54926 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54927 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54928 COND_SHARED_0_wxUSE_REGEX_builtin=""
54931 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54932 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54933 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54937 if test "x$SHARED" = "x1" ; then
54941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54942 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54943 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54947 if test "x$TOOLKIT" = "x" ; then
54951 COND_TOOLKIT_COCOA="#"
54952 if test "x$TOOLKIT" = "xCOCOA" ; then
54953 COND_TOOLKIT_COCOA=""
54956 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54957 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54958 COND_TOOLKIT_COCOA_USE_GUI_1=""
54961 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54962 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54963 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54966 COND_TOOLKIT_DFB="#"
54967 if test "x$TOOLKIT" = "xDFB" ; then
54968 COND_TOOLKIT_DFB=""
54971 COND_TOOLKIT_DFB_USE_GUI_1="#"
54972 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54973 COND_TOOLKIT_DFB_USE_GUI_1=""
54976 COND_TOOLKIT_GTK="#"
54977 if test "x$TOOLKIT" = "xGTK" ; then
54978 COND_TOOLKIT_GTK=""
54981 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54982 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54983 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54986 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54987 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54988 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54991 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54992 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54993 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54996 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54997 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
55001 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
55002 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
55003 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
55006 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
55007 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55008 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
55011 COND_TOOLKIT_GTK_USE_GUI_1="#"
55012 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
55013 COND_TOOLKIT_GTK_USE_GUI_1=""
55016 COND_TOOLKIT_MAC="#"
55017 if test "x$TOOLKIT" = "xMAC" ; then
55018 COND_TOOLKIT_MAC=""
55021 COND_TOOLKIT_MGL="#"
55022 if test "x$TOOLKIT" = "xMGL" ; then
55023 COND_TOOLKIT_MGL=""
55026 COND_TOOLKIT_MGL_USE_GUI_1="#"
55027 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
55028 COND_TOOLKIT_MGL_USE_GUI_1=""
55031 COND_TOOLKIT_MOTIF="#"
55032 if test "x$TOOLKIT" = "xMOTIF" ; then
55033 COND_TOOLKIT_MOTIF=""
55036 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
55037 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
55038 COND_TOOLKIT_MOTIF_USE_GUI_1=""
55041 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
55042 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55043 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
55046 COND_TOOLKIT_MSW="#"
55047 if test "x$TOOLKIT" = "xMSW" ; then
55048 COND_TOOLKIT_MSW=""
55051 COND_TOOLKIT_MSW_USE_GUI_1="#"
55052 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55053 COND_TOOLKIT_MSW_USE_GUI_1=""
55056 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55057 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55058 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55061 COND_TOOLKIT_MSW_WXUNIV_0="#"
55062 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55063 COND_TOOLKIT_MSW_WXUNIV_0=""
55066 COND_TOOLKIT_OSX_CARBON="#"
55067 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55068 COND_TOOLKIT_OSX_CARBON=""
55071 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55072 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55073 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55076 COND_TOOLKIT_OSX_COCOA="#"
55077 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55078 COND_TOOLKIT_OSX_COCOA=""
55081 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55082 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55083 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55086 COND_TOOLKIT_OSX_IPHONE="#"
55087 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55088 COND_TOOLKIT_OSX_IPHONE=""
55091 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55092 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55093 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55096 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55097 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55098 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55101 COND_TOOLKIT_PM="#"
55102 if test "x$TOOLKIT" = "xPM" ; then
55106 COND_TOOLKIT_PM_USE_GUI_1="#"
55107 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55108 COND_TOOLKIT_PM_USE_GUI_1=""
55111 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55112 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55113 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55116 COND_TOOLKIT_WINCE="#"
55117 if test "x$TOOLKIT" = "xWINCE" ; then
55118 COND_TOOLKIT_WINCE=""
55121 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55122 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55123 COND_TOOLKIT_WINCE_USE_GUI_1=""
55126 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55127 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55128 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55131 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55132 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55133 COND_TOOLKIT_WINCE_WXUNIV_0=""
55136 COND_TOOLKIT_X11="#"
55137 if test "x$TOOLKIT" = "xX11" ; then
55138 COND_TOOLKIT_X11=""
55141 COND_TOOLKIT_X11_USE_GUI_1="#"
55142 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55143 COND_TOOLKIT_X11_USE_GUI_1=""
55147 if test "x$UNICODE" = "x1" ; then
55151 COND_USE_CAIRO_1="#"
55152 if test "x$USE_CAIRO" = "x1" ; then
55153 COND_USE_CAIRO_1=""
55156 COND_USE_EXCEPTIONS_0="#"
55157 if test "x$USE_EXCEPTIONS" = "x0" ; then
55158 COND_USE_EXCEPTIONS_0=""
55161 COND_USE_EXCEPTIONS_1="#"
55162 if test "x$USE_EXCEPTIONS" = "x1" ; then
55163 COND_USE_EXCEPTIONS_1=""
55167 if test "x$USE_GUI" = "x0" ; then
55172 if test "x$USE_GUI" = "x1" ; then
55176 COND_USE_GUI_1_USE_OPENGL_1="#"
55177 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55178 COND_USE_GUI_1_USE_OPENGL_1=""
55181 COND_USE_GUI_1_WXUNIV_0="#"
55182 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55183 COND_USE_GUI_1_WXUNIV_0=""
55186 COND_USE_GUI_1_WXUNIV_1="#"
55187 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55188 COND_USE_GUI_1_WXUNIV_1=""
55191 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55192 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55193 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55196 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55197 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55198 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55201 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55202 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55203 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55206 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55207 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55208 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55211 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55212 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55213 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55216 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55217 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55218 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55221 COND_USE_OPENGL_1="#"
55222 if test "x$USE_OPENGL" = "x1" ; then
55223 COND_USE_OPENGL_1=""
55227 if test "x$USE_PCH" = "x1" ; then
55231 COND_USE_PLUGINS_0="#"
55232 if test "x$USE_PLUGINS" = "x0" ; then
55233 COND_USE_PLUGINS_0=""
55236 COND_USE_RTTI_0="#"
55237 if test "x$USE_RTTI" = "x0" ; then
55241 COND_USE_RTTI_1="#"
55242 if test "x$USE_RTTI" = "x1" ; then
55246 COND_USE_SOTWOSYMLINKS_1="#"
55247 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55248 COND_USE_SOTWOSYMLINKS_1=""
55251 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55252 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55253 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55256 COND_USE_SOVERLINUX_1="#"
55257 if test "x$USE_SOVERLINUX" = "x1" ; then
55258 COND_USE_SOVERLINUX_1=""
55261 COND_USE_SOVERSION_0="#"
55262 if test "x$USE_SOVERSION" = "x0" ; then
55263 COND_USE_SOVERSION_0=""
55266 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55267 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55268 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55271 COND_USE_SOVERSOLARIS_1="#"
55272 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55273 COND_USE_SOVERSOLARIS_1=""
55277 if test "x$USE_STC" = "x1" ; then
55281 COND_USE_THREADS_0="#"
55282 if test "x$USE_THREADS" = "x0" ; then
55283 COND_USE_THREADS_0=""
55286 COND_USE_THREADS_1="#"
55287 if test "x$USE_THREADS" = "x1" ; then
55288 COND_USE_THREADS_1=""
55292 if test "x$USE_XRC" = "x1" ; then
55296 COND_WINDOWS_IMPLIB_1="#"
55297 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55298 COND_WINDOWS_IMPLIB_1=""
55301 COND_WITH_PLUGIN_SDL_1="#"
55302 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55303 COND_WITH_PLUGIN_SDL_1=""
55307 if test "x$WXUNIV" = "x0" ; then
55312 if test "x$WXUNIV" = "x1" ; then
55316 COND_WXUSE_EXPAT_BUILTIN="#"
55317 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55318 COND_WXUSE_EXPAT_BUILTIN=""
55321 COND_WXUSE_LIBJPEG_BUILTIN="#"
55322 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55323 COND_WXUSE_LIBJPEG_BUILTIN=""
55326 COND_WXUSE_LIBPNG_BUILTIN="#"
55327 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55328 COND_WXUSE_LIBPNG_BUILTIN=""
55331 COND_WXUSE_LIBTIFF_BUILTIN="#"
55332 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55333 COND_WXUSE_LIBTIFF_BUILTIN=""
55336 COND_WXUSE_REGEX_BUILTIN="#"
55337 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55338 COND_WXUSE_REGEX_BUILTIN=""
55341 COND_WXUSE_ZLIB_BUILTIN="#"
55342 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55343 COND_WXUSE_ZLIB_BUILTIN=""
55346 COND_wxUSE_EXPAT_builtin="#"
55347 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55348 COND_wxUSE_EXPAT_builtin=""
55351 COND_wxUSE_LIBJPEG_builtin="#"
55352 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55353 COND_wxUSE_LIBJPEG_builtin=""
55356 COND_wxUSE_LIBPNG_builtin="#"
55357 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55358 COND_wxUSE_LIBPNG_builtin=""
55361 COND_wxUSE_LIBTIFF_builtin="#"
55362 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55363 COND_wxUSE_LIBTIFF_builtin=""
55366 COND_wxUSE_REGEX_builtin="#"
55367 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55368 COND_wxUSE_REGEX_builtin=""
55371 COND_wxUSE_ZLIB_builtin="#"
55372 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55373 COND_wxUSE_ZLIB_builtin=""
55378 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55379 { { 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
55380 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;}
55381 { (exit 1); exit 1; }; }
55384 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55385 { { 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
55386 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;}
55387 { (exit 1); exit 1; }; }
55394 ?:* ) # Drive letter, considered as absolute.
55397 INSTALL=`pwd`/${INSTALL} ;;
55400 if test "$wxUSE_GUI" = "yes"; then
55402 if test "$wxUSE_MSW" = 1 ; then
55403 if test "x$WINDRES" = "x"; then
55404 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55405 echo "$as_me: error: Required windres program not found" >&2;}
55406 { (exit 1); exit 1; }; }
55412 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55413 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55414 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55416 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55418 # Extract the first word of "DeRez", so it can be a program name with args.
55419 set dummy DeRez; ac_word=$2
55420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55422 if test "${ac_cv_prog_DEREZ+set}" = set; then
55423 echo $ECHO_N "(cached) $ECHO_C" >&6
55425 if test -n "$DEREZ"; then
55426 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55429 for as_dir in $PATH
55432 test -z "$as_dir" && as_dir=.
55433 for ac_exec_ext in '' $ac_executable_extensions; do
55434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55435 ac_cv_prog_DEREZ="DeRez"
55436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55443 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55446 DEREZ=$ac_cv_prog_DEREZ
55447 if test -n "$DEREZ"; then
55448 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55449 echo "${ECHO_T}$DEREZ" >&6; }
55451 { echo "$as_me:$LINENO: result: no" >&5
55452 echo "${ECHO_T}no" >&6; }
55457 MACSETFILE="\$(SETFILE)"
55459 if test "$wxUSE_OSX_CARBON" = 1; then
55460 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55462 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55464 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55465 RESCOMP="cat /dev/null \| $REZ"
55466 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55472 if test "$wxUSE_PM" = 1; then
55474 WXCONFIG_RESFLAGS="-ep"
55476 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55478 POSTLINK_COMMAND="@true"
55485 if test $GCC_PCH = 1
55487 if test "$wx_cv_gcc_pch_bug" = yes; then
55488 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55489 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55490 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55491 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55492 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55493 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55496 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55497 # the headers that benefit from precompilation are mostly C++ headers.
55498 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55499 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55500 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55504 if test "$wxUSE_MAC" = 1 ; then
55505 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55506 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55512 if test "$wxUSE_SHARED" = "yes"; then
55514 *-pc-os2_emx | *-pc-os2-emx )
55515 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55516 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55517 cp -p ${srcdir}/src/os2/dllnames.sh .
55518 cp -p ${srcdir}/src/os2/dllar.sh .
55522 if test "$wxUSE_OMF" = "yes"; then
55524 *-pc-os2_emx | *-pc-os2-emx )
55525 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55526 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55527 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55532 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55537 if test "$GCC" = yes; then
55538 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55539 LIBS=`echo $LIBS | sed 's/-mt//g'`
55540 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55545 if test "x$SUNCXX" = xyes; then
55546 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55547 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55548 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55553 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55554 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55555 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55556 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55558 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55619 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55620 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55621 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55622 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55623 echo $ECHO_N "(cached) $ECHO_C" >&6
55625 cat >conftest.make <<\_ACEOF
55628 @echo '@@@%%%=$(MAKE)=@@@%%%'
55630 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55631 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
55632 *@@@%%%=?*=@@@%%%*)
55633 eval ac_cv_prog_make_${ac_make}_set=yes;;
55635 eval ac_cv_prog_make_${ac_make}_set=no;;
55637 rm -f conftest.make
55639 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55640 { echo "$as_me:$LINENO: result: yes" >&5
55641 echo "${ECHO_T}yes" >&6; }
55644 { echo "$as_me:$LINENO: result: no" >&5
55645 echo "${ECHO_T}no" >&6; }
55646 SET_MAKE="MAKE=${MAKE-make}"
55651 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55654 if test "$USE_WIN32" = 1; then
55655 ac_config_commands="$ac_config_commands rcdefs.h"
55659 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55662 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55665 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55668 if test "$wx_cv_version_script" = "yes"; then
55669 ac_config_files="$ac_config_files version-script"
55672 ac_config_files="$ac_config_files Makefile"
55675 ac_config_commands="$ac_config_commands wx-config"
55679 if test "$wxWITH_SUBDIRS" != "no"; then
55680 if test "$wxUSE_GUI" = "yes"; then
55681 SUBDIRS="samples demos utils"
55683 SUBDIRS="samples utils"
55688 # Check whether --with-cppunit-prefix was given.
55689 if test "${with_cppunit_prefix+set}" = set; then
55690 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55692 cppunit_config_prefix=""
55696 # Check whether --with-cppunit-exec-prefix was given.
55697 if test "${with_cppunit_exec_prefix+set}" = set; then
55698 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55700 cppunit_config_exec_prefix=""
55704 if test x$cppunit_config_exec_prefix != x ; then
55705 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55706 if test x${CPPUNIT_CONFIG+set} != xset ; then
55707 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55710 if test x$cppunit_config_prefix != x ; then
55711 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55712 if test x${CPPUNIT_CONFIG+set} != xset ; then
55713 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55717 # Extract the first word of "cppunit-config", so it can be a program name with args.
55718 set dummy cppunit-config; ac_word=$2
55719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55721 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55722 echo $ECHO_N "(cached) $ECHO_C" >&6
55724 case $CPPUNIT_CONFIG in
55726 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55730 for as_dir in $PATH
55733 test -z "$as_dir" && as_dir=.
55734 for ac_exec_ext in '' $ac_executable_extensions; do
55735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55736 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55744 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55748 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55749 if test -n "$CPPUNIT_CONFIG"; then
55750 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55751 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55753 { echo "$as_me:$LINENO: result: no" >&5
55754 echo "${ECHO_T}no" >&6; }
55758 cppunit_version_min=1.8.0
55760 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55761 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55763 if test "$CPPUNIT_CONFIG" = "no" ; then
55764 { echo "$as_me:$LINENO: result: no" >&5
55765 echo "${ECHO_T}no" >&6; }
55768 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55769 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55770 cppunit_version=`$CPPUNIT_CONFIG --version`
55772 cppunit_major_version=`echo $cppunit_version | \
55773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55774 cppunit_minor_version=`echo $cppunit_version | \
55775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55776 cppunit_micro_version=`echo $cppunit_version | \
55777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55779 cppunit_major_min=`echo $cppunit_version_min | \
55780 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55781 cppunit_minor_min=`echo $cppunit_version_min | \
55782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55783 cppunit_micro_min=`echo $cppunit_version_min | \
55784 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55786 cppunit_version_proper=`expr \
55787 $cppunit_major_version \
> $cppunit_major_min \
| \
55788 $cppunit_major_version \
= $cppunit_major_min \
& \
55789 $cppunit_minor_version \
> $cppunit_minor_min \
| \
55790 $cppunit_major_version \
= $cppunit_major_min \
& \
55791 $cppunit_minor_version \
= $cppunit_minor_min \
& \
55792 $cppunit_micro_version \
>= $cppunit_micro_min `
55794 if test "$cppunit_version_proper" = "1" ; then
55795 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55796 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55798 { echo "$as_me:$LINENO: result: no" >&5
55799 echo "${ECHO_T}no" >&6; }
55804 if test "x$no_cppunit" = x ; then
55805 SUBDIRS="$SUBDIRS tests"
55816 for subdir in $SUBDIRS; do
55817 if test -d ${srcdir}/${subdir} ; then
55818 if test "$wxUSE_GUI" = "yes"; then
55819 if test ${subdir} = "samples"; then
55820 makefiles="samples/Makefile.in $makefiles"
55821 for sample in $SAMPLES_SUBDIRS; do
55822 if test -d $srcdir/samples/$sample; then
55823 makefiles="samples/$sample/Makefile.in $makefiles"
55827 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55828 eval "disabled=\$$disabled_var"
55829 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
55830 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
55833 if test ${subdir} = "samples"; then
55834 makefiles="samples/Makefile.in $makefiles"
55835 for sample in `echo $SAMPLES_SUBDIRS`; do
55836 if test -d $srcdir/samples/$sample; then
55837 makefiles="samples/$sample/Makefile.in $makefiles"
55840 elif test ${subdir} = "utils"; then
55842 for util in ifacecheck ; do
55843 if test -d $srcdir/utils/$util ; then
55844 makefiles="utils/$util/src/Makefile.in \
55849 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
55853 for mkin in $makefiles ; do
55854 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55855 ac_config_files="$ac_config_files $mk"
55861 cat >confcache <<\_ACEOF
55862 # This file is a shell script that caches the results of configure
55863 # tests run on this system so they can be shared between configure
55864 # scripts and configure runs, see configure's option --config-cache.
55865 # It is not useful on other systems. If it contains results you don't
55866 # want to keep, you may remove or edit it.
55868 # config.status only pays attention to the cache file if you give it
55869 # the --recheck option to rerun configure.
55871 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
55872 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55873 # following values.
55877 # The following way of writing the cache mishandles newlines in values,
55878 # but we know of no workaround that is simple, portable, and efficient.
55879 # So, we kill variables containing newlines.
55880 # Ultrix sh set writes to stderr and can't be redirected directly,
55881 # and sets the high bit in the cache file unless we assign to the vars.
55883 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55884 eval ac_val
=\$
$ac_var
55888 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55889 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55892 _
| IFS
| as_nl
) ;; #(
55893 *) $as_unset $ac_var ;;
55899 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55900 *${as_nl}ac_space
=\
*)
55901 # `set' does not quote correctly, so add quotes (double-quote
55902 # substitution turns \\\\ into \\, and sed turns \\ into \).
55905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55908 # `set' quotes correctly as required by POSIX, so do not add quotes.
55909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55918 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55920 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55922 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
55923 if test -w "$cache_file"; then
55924 test "x$cache_file" != "x/dev/null" &&
55925 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55926 echo "$as_me: updating cache $cache_file" >&6;}
55927 cat confcache
>$cache_file
55929 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55930 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55935 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
55936 # Let make expand exec_prefix.
55937 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
55939 DEFS
=-DHAVE_CONFIG_H
55943 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
55944 # 1. Remove the extension, and $U if already installed.
55945 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
55946 ac_i
=`echo "$ac_i" | sed "$ac_script"`
55947 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55948 # will be set to the directory where LIBOBJS objects are built.
55949 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55950 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55952 LIBOBJS
=$ac_libobjs
55954 LTLIBOBJS
=$ac_ltlibobjs
55958 : ${CONFIG_STATUS=./config.status}
55959 ac_clean_files_save
=$ac_clean_files
55960 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
55961 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55962 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55963 cat >$CONFIG_STATUS <<_ACEOF
55965 # Generated by $as_me.
55966 # Run this file to recreate the current configuration.
55967 # Compiler output produced by configure, useful for debugging
55968 # configure, is in config.log if it exists.
55971 ac_cs_recheck=false
55973 SHELL=\${CONFIG_SHELL-$SHELL}
55976 cat >>$CONFIG_STATUS <<\_ACEOF
55977 ## --------------------- ##
55978 ## M4sh Initialization. ##
55979 ## --------------------- ##
55981 # Be more Bourne compatible
55982 DUALCASE
=1; export DUALCASE
# for MKS sh
55983 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
55986 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55987 # is contrary to our usage. Disable this feature.
55988 alias -g '${1+"$@"}'='"$@"'
55989 setopt NO_GLOB_SUBST
55991 case `(set -o) 2>/dev/null` in
55992 *posix
*) set -o posix
;;
56001 # Avoid depending upon Character Ranges.
56002 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
56003 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56004 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
56005 as_cr_digits
='0123456789'
56006 as_cr_alnum
=$as_cr_Letters$as_cr_digits
56008 # The user is always right.
56009 if test "${PATH_SEPARATOR+set}" != set; then
56010 echo "#! /bin/sh" >conf$$.sh
56011 echo "exit 0" >>conf$$.sh
56013 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56021 # Support unset when possible.
56022 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
56030 # We need space, tab and new line, in precisely that order. Quoting is
56031 # there to prevent editors from complaining about space-tab.
56032 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56033 # splitting by setting IFS to empty value.)
56038 # Find who we are. Look in the path if we contain no directory separator.
56040 *[\\/]* ) as_myself
=$0 ;;
56041 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
56042 for as_dir
in $PATH
56045 test -z "$as_dir" && as_dir
=.
56046 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
56052 # We did not find ourselves, most probably we were run as `sh COMMAND'
56053 # in which case we are not to be found in the path.
56054 if test "x$as_myself" = x
; then
56057 if test ! -f "$as_myself"; then
56058 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56059 { (exit 1); exit 1; }
56062 # Work around bugs in pre-3.0 UWIN ksh.
56063 for as_var
in ENV MAIL MAILPATH
56064 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
56072 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56073 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56074 LC_TELEPHONE LC_TIME
56076 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56077 eval $as_var=C
; export $as_var
56079 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
56083 # Required to use basename.
56084 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56085 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56091 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56092 as_basename
=basename
56098 # Name of the executable.
56099 as_me
=`$as_basename -- "$0" ||
56100 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56101 X"$0" : 'X\(//\)$' \| \
56102 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56104 sed '/^.*\/\([^/][^/]*\)\/*$/{
56123 as_lineno_1
=$LINENO
56124 as_lineno_2
=$LINENO
56125 test "x$as_lineno_1" != "x$as_lineno_2" &&
56126 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56128 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56129 # uniformly replaced by the line number. The first 'sed' inserts a
56130 # line-number line after each line using $LINENO; the second 'sed'
56131 # does the real work. The second script uses 'N' to pair each
56132 # line-number line with the line containing $LINENO, and appends
56133 # trailing '-' during substitution so that $LINENO is not a special
56134 # case at line end.
56135 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56136 # scripts with optimization help from Paolo Bonzini. Blame Lee
56137 # E. McMahon (1931-1989) for sed's syntax. :-)
56149 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56152 ' >$as_me.lineno
&&
56153 chmod +x
"$as_me.lineno" ||
56154 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56155 { (exit 1); exit 1; }; }
56157 # Don't try to exec as it changes $[0], causing all sort of problems
56158 # (the dirname of $[0] is not the place where we might find the
56159 # original and so on. Autoconf is especially sensitive to this).
56160 .
"./$as_me.lineno"
56161 # Exit status is that of the last command.
56166 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
56172 ECHO_C
= ECHO_N
= ECHO_T
=
56173 case `echo -n x` in
56175 case `echo 'x\c'` in
56176 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
56183 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56184 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56190 rm -f conf$$ conf$$.exe conf$$.
file
56191 if test -d conf$$.dir
; then
56192 rm -f conf$$.dir
/conf$$.
file
56198 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
56200 # ... but there are two gotchas:
56201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56203 # In both cases, we have to default to `cp -p'.
56204 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
56206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56211 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
56212 rmdir conf$$.dir
2>/dev
/null
56214 if mkdir -p .
2>/dev
/null
; then
56217 test -d .
/-p && rmdir .
/-p
56221 if test -x / >/dev
/null
2>&1; then
56222 as_test_x
='test -x'
56224 if ls -dL / >/dev
/null
2>&1; then
56231 if test -d "$1"; then
56237 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56238 ???[sx]*):;;*)false;;esac;fi
56242 as_executable_p
=$as_test_x
56244 # Sed expression to map a string onto a valid CPP name.
56245 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56247 # Sed expression to map a string onto a valid variable name.
56248 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56253 # Save the log message, to keep $[0] and so on meaningful, and to
56254 # report actual input values of CONFIG_FILES etc. instead of their
56255 # values after options handling.
56257 This file was extended by wxWidgets $as_me 2.9.4, which was
56258 generated by GNU Autoconf 2.61. Invocation command line was
56260 CONFIG_FILES = $CONFIG_FILES
56261 CONFIG_HEADERS = $CONFIG_HEADERS
56262 CONFIG_LINKS = $CONFIG_LINKS
56263 CONFIG_COMMANDS = $CONFIG_COMMANDS
56266 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56271 cat >>$CONFIG_STATUS <<_ACEOF
56272 # Files that config.status was made for.
56273 config_files="$ac_config_files"
56274 config_headers="$ac_config_headers"
56275 config_commands="$ac_config_commands"
56279 cat >>$CONFIG_STATUS <<\_ACEOF
56281 \`$as_me' instantiates files from templates according to the
56282 current configuration.
56284 Usage: $0 [OPTIONS] [FILE]...
56286 -h, --help print this help, then exit
56287 -V, --version print version number and configuration settings, then exit
56288 -q, --quiet do not print progress messages
56289 -d, --debug don't remove temporary files
56290 --recheck update $as_me by reconfiguring in the same conditions
56291 --file=FILE[:TEMPLATE]
56292 instantiate the configuration file FILE
56293 --header=FILE[:TEMPLATE]
56294 instantiate the configuration header FILE
56296 Configuration files:
56299 Configuration headers:
56302 Configuration commands:
56305 Report bugs to <bug-autoconf@gnu.org>."
56308 cat >>$CONFIG_STATUS <<_ACEOF
56310 wxWidgets config.status 2.9.4
56311 configured by $0, generated by GNU Autoconf 2.61,
56312 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56314 Copyright (C) 2006 Free Software Foundation, Inc.
56315 This config.status script is free software; the Free Software Foundation
56316 gives unlimited permission to copy, distribute and modify it."
56323 cat >>$CONFIG_STATUS <<\_ACEOF
56324 # If no file are specified by the user, then we need to provide default
56325 # value. By we need to know if files were specified by the user.
56331 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
56332 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
56343 # Handling of the options.
56344 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56346 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56347 echo "$ac_cs_version"; exit ;;
56348 --debug | --debu | --deb | --de | --d | -d )
56350 --file | --fil | --fi | --f )
56352 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
56353 ac_need_defaults
=false
;;
56354 --header | --heade | --head | --hea )
56356 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
56357 ac_need_defaults
=false
;;
56359 # Conflict between --help and --header
56360 { echo "$as_me: error: ambiguous option: $1
56361 Try \`$0 --help' for more information." >&2
56362 { (exit 1); exit 1; }; };;
56363 --help | --hel | -h )
56364 echo "$ac_cs_usage"; exit ;;
56365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56366 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56369 # This is an error.
56370 -*) { echo "$as_me: error: unrecognized option: $1
56371 Try \`$0 --help' for more information." >&2
56372 { (exit 1); exit 1; }; } ;;
56374 *) ac_config_targets
="$ac_config_targets $1"
56375 ac_need_defaults
=false
;;
56381 ac_configure_extra_args
=
56383 if $ac_cs_silent; then
56385 ac_configure_extra_args
="$ac_configure_extra_args --silent"
56389 cat >>$CONFIG_STATUS <<_ACEOF
56390 if \$ac_cs_recheck; then
56391 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56392 CONFIG_SHELL=$SHELL
56393 export CONFIG_SHELL
56394 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56398 cat >>$CONFIG_STATUS <<\_ACEOF
56402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56403 ## Running $as_me. ##
56409 cat >>$CONFIG_STATUS <<_ACEOF
56415 infile="$srcdir/include/wx/msw/genrcdefs.h"
56416 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56419 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56420 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56421 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56427 cat >>$CONFIG_STATUS <<\_ACEOF
56429 # Handling of arguments.
56430 for ac_config_target
in $ac_config_targets
56432 case $ac_config_target in
56433 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56434 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
56435 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56436 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56437 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56438 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
56439 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
56440 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
56441 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
56443 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56444 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56445 { (exit 1); exit 1; }; };;
56450 # If the user did not use the arguments to specify the items to instantiate,
56451 # then the envvar interface is used. Set only those that are not.
56452 # We use the long form for the default assignment because of an extremely
56453 # bizarre bug on SunOS 4.1.3.
56454 if $ac_need_defaults; then
56455 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
56456 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
56457 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
56460 # Have a temporary directory for convenience. Make it in the build tree
56461 # simply because there is no reason against having it here, and in addition,
56462 # creating and moving files from /tmp can sometimes cause problems.
56463 # Hook for its removal unless debugging.
56464 # Note that there is a small window in which the directory will not be cleaned:
56465 # after its creation but before its name has been assigned to `$tmp'.
56469 trap 'exit_status=$?
56470 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56472 trap '{ (exit 1); exit 1; }' 1 2 13 15
56474 # Create a (secure) tmp directory for tmp files.
56477 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56478 test -n "$tmp" && test -d "$tmp"
56481 tmp
=.
/conf$$
-$RANDOM
56482 (umask 077 && mkdir "$tmp")
56485 echo "$me: cannot create a temporary directory in ." >&2
56486 { (exit 1); exit 1; }
56490 # Set up the sed scripts for CONFIG_FILES section.
56493 # No need to generate the scripts if there are no CONFIG_FILES.
56494 # This happens for instance when ./config.status config.h
56495 if test -n "$CONFIG_FILES"; then
56502 for ac_last_try
in false false false false false
:; do
56503 cat >conf$
$subs.
sed <<_ACEOF
56504 SHELL!$SHELL$ac_delim
56505 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56506 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56507 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56508 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56509 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56510 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56511 exec_prefix!$exec_prefix$ac_delim
56512 prefix!$prefix$ac_delim
56513 program_transform_name!$program_transform_name$ac_delim
56514 bindir!$bindir$ac_delim
56515 sbindir!$sbindir$ac_delim
56516 libexecdir!$libexecdir$ac_delim
56517 datarootdir!$datarootdir$ac_delim
56518 datadir!$datadir$ac_delim
56519 sysconfdir!$sysconfdir$ac_delim
56520 sharedstatedir!$sharedstatedir$ac_delim
56521 localstatedir!$localstatedir$ac_delim
56522 includedir!$includedir$ac_delim
56523 oldincludedir!$oldincludedir$ac_delim
56524 docdir!$docdir$ac_delim
56525 infodir!$infodir$ac_delim
56526 htmldir!$htmldir$ac_delim
56527 dvidir!$dvidir$ac_delim
56528 pdfdir!$pdfdir$ac_delim
56529 psdir!$psdir$ac_delim
56530 libdir!$libdir$ac_delim
56531 localedir!$localedir$ac_delim
56532 mandir!$mandir$ac_delim
56533 DEFS!$DEFS$ac_delim
56534 ECHO_C!$ECHO_C$ac_delim
56535 ECHO_N!$ECHO_N$ac_delim
56536 ECHO_T!$ECHO_T$ac_delim
56537 LIBS!$LIBS$ac_delim
56538 build_alias!$build_alias$ac_delim
56539 host_alias!$host_alias$ac_delim
56540 target_alias!$target_alias$ac_delim
56541 build!$build$ac_delim
56542 build_cpu!$build_cpu$ac_delim
56543 build_vendor!$build_vendor$ac_delim
56544 build_os!$build_os$ac_delim
56545 host!$host$ac_delim
56546 host_cpu!$host_cpu$ac_delim
56547 host_vendor!$host_vendor$ac_delim
56548 host_os!$host_os$ac_delim
56549 wx_top_builddir!$wx_top_builddir$ac_delim
56551 CFLAGS!$CFLAGS$ac_delim
56552 LDFLAGS!$LDFLAGS$ac_delim
56553 CPPFLAGS!$CPPFLAGS$ac_delim
56554 ac_ct_CC!$ac_ct_CC$ac_delim
56555 EXEEXT!$EXEEXT$ac_delim
56556 OBJEXT!$OBJEXT$ac_delim
56558 GREP!$GREP$ac_delim
56559 EGREP!$EGREP$ac_delim
56561 CXXFLAGS!$CXXFLAGS$ac_delim
56562 ac_ct_CXX!$ac_ct_CXX$ac_delim
56564 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56565 CXXCPP!$CXXCPP$ac_delim
56566 subdirs!$subdirs$ac_delim
56567 PKG_CONFIG!$PKG_CONFIG$ac_delim
56568 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56569 GTK_LIBS!$GTK_LIBS$ac_delim
56570 GTK_CONFIG!$GTK_CONFIG$ac_delim
56571 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56572 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56573 XMKMF!$XMKMF$ac_delim
56574 X_CFLAGS!$X_CFLAGS$ac_delim
56575 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56576 X_LIBS!$X_LIBS$ac_delim
56577 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56578 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56579 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56580 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56581 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56582 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56583 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56584 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56585 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56586 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56587 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56588 SM_CFLAGS!$SM_CFLAGS$ac_delim
56589 SM_LIBS!$SM_LIBS$ac_delim
56590 GL_CFLAGS!$GL_CFLAGS$ac_delim
56591 GL_LIBS!$GL_LIBS$ac_delim
56592 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56593 GLU_LIBS!$GLU_LIBS$ac_delim
56594 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56595 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56596 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56597 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56598 LIBICONV!$LIBICONV$ac_delim
56599 GXX_VERSION!$GXX_VERSION$ac_delim
56600 SDL_CONFIG!$SDL_CONFIG$ac_delim
56603 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56605 elif $ac_last_try; then
56606 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56607 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56608 { (exit 1); exit 1; }; }
56610 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56614 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56615 if test -n "$ac_eof"; then
56616 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56617 ac_eof
=`expr $ac_eof + 1`
56620 cat >>$CONFIG_STATUS <<_ACEOF
56621 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56625 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56626 s/^/s,@/; s/!/@,|#_!!_#|/
56629 s/'"$ac_delim"'$/,g/; t
56631 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56632 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56633 rm -f conf$
$subs.
sed
56634 cat >>$CONFIG_STATUS <<_ACEOF
56640 for ac_last_try
in false false false false false
:; do
56641 cat >conf$
$subs.
sed <<_ACEOF
56642 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56643 SDL_LIBS!$SDL_LIBS$ac_delim
56644 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56645 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56646 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56647 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56648 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56649 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56650 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56651 HILDON_LIBS!$HILDON_LIBS$ac_delim
56652 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56653 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56654 PYTHON!$PYTHON$ac_delim
56655 COND_PYTHON!$COND_PYTHON$ac_delim
56656 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56657 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56658 GST_CFLAGS!$GST_CFLAGS$ac_delim
56659 GST_LIBS!$GST_LIBS$ac_delim
56660 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56661 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56662 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56663 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56664 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56665 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56666 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56667 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56668 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56669 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56670 VENDOR!$VENDOR$ac_delim
56671 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56672 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56673 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56674 WXUNIV!$WXUNIV$ac_delim
56675 MONOLITHIC!$MONOLITHIC$ac_delim
56676 USE_PLUGINS!$USE_PLUGINS$ac_delim
56677 CXXWARNINGS!$CXXWARNINGS$ac_delim
56678 EXTRALIBS!$EXTRALIBS$ac_delim
56679 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56680 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56681 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56682 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56683 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56684 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56685 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56686 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56687 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56688 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56689 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56690 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56691 UNICODE!$UNICODE$ac_delim
56692 DEBUG_INFO!$DEBUG_INFO$ac_delim
56693 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56694 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56695 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56696 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56697 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56698 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56699 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56700 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56701 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56702 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56703 RANLIB!$RANLIB$ac_delim
56704 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56705 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56706 INSTALL_DATA!$INSTALL_DATA$ac_delim
56707 LN_S!$LN_S$ac_delim
56708 SET_MAKE!$SET_MAKE$ac_delim
56709 MAKE_SET!$MAKE_SET$ac_delim
56710 AROPTIONS!$AROPTIONS$ac_delim
56711 STRIP!$STRIP$ac_delim
56713 INSTALL_DIR!$INSTALL_DIR$ac_delim
56714 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56715 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56716 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56717 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56718 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56719 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56720 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56721 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56722 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56723 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56724 SO_SUFFIX!$SO_SUFFIX$ac_delim
56725 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56726 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56727 LIBPREFIX!$LIBPREFIX$ac_delim
56728 LIBEXT!$LIBEXT$ac_delim
56729 DLLPREFIX!$DLLPREFIX$ac_delim
56730 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56731 dlldir!$dlldir$ac_delim
56732 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56733 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56734 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56735 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56736 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56737 PIC_FLAG!$PIC_FLAG$ac_delim
56738 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56741 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56743 elif $ac_last_try; then
56744 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56745 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56746 { (exit 1); exit 1; }; }
56748 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56752 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56753 if test -n "$ac_eof"; then
56754 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56755 ac_eof
=`expr $ac_eof + 1`
56758 cat >>$CONFIG_STATUS <<_ACEOF
56759 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56760 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56763 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56764 s/^/s,@/; s/!/@,|#_!!_#|/
56767 s/'"$ac_delim"'$/,g/; t
56769 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56770 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56771 rm -f conf$
$subs.
sed
56772 cat >>$CONFIG_STATUS <<_ACEOF
56778 for ac_last_try
in false false false false false
:; do
56779 cat >conf$
$subs.
sed <<_ACEOF
56780 USE_SOVERSION!$USE_SOVERSION$ac_delim
56781 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56782 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56783 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56784 USE_MACVERSION!$USE_MACVERSION$ac_delim
56785 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56786 SONAME_FLAG!$SONAME_FLAG$ac_delim
56787 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56788 BK_DEPS!$BK_DEPS$ac_delim
56789 WINDRES!$WINDRES$ac_delim
56791 SETFILE!$SETFILE$ac_delim
56792 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56793 GCC_PCH!$GCC_PCH$ac_delim
56794 ICC_PCH!$ICC_PCH$ac_delim
56795 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56796 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56797 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56798 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56799 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56800 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56801 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56802 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56803 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56804 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56805 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56806 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56807 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56808 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56809 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56810 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56811 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56812 COND_BUILD_release!$COND_BUILD_release$ac_delim
56813 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56814 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56815 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56816 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56817 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56818 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56819 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56820 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56821 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56822 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56823 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56824 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56825 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56826 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56832 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56833 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56837 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56844 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56845 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56849 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56850 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56851 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56852 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56853 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56854 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56855 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56856 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56857 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56858 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56859 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56860 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56861 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56862 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56863 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56868 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56869 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56870 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56871 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56872 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
56873 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56874 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
56875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56876 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
56879 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56881 elif $ac_last_try; then
56882 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56883 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56884 { (exit 1); exit 1; }; }
56886 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56890 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56891 if test -n "$ac_eof"; then
56892 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56893 ac_eof
=`expr $ac_eof + 1`
56896 cat >>$CONFIG_STATUS <<_ACEOF
56897 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56901 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56902 s/^/s,@/; s/!/@,|#_!!_#|/
56905 s/'"$ac_delim"'$/,g/; t
56907 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56908 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56909 rm -f conf$
$subs.
sed
56910 cat >>$CONFIG_STATUS <<_ACEOF
56916 for ac_last_try
in false false false false false
:; do
56917 cat >conf$
$subs.
sed <<_ACEOF
56918 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56919 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56920 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56921 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56922 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56923 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56924 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56925 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56926 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56927 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56928 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56929 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
56930 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
56931 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56932 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56933 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56934 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56935 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56936 COND_SHARED_0!$COND_SHARED_0$ac_delim
56937 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56938 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56939 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56940 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56941 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56942 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56943 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56944 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56945 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56946 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56947 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56948 COND_SHARED_1!$COND_SHARED_1$ac_delim
56949 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56950 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56951 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56952 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56953 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56954 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56955 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56956 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56957 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56958 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56959 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56960 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56961 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56962 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56963 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56964 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56965 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
56966 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
56967 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56968 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56969 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56970 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56971 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56972 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56973 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56974 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56975 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56976 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56977 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56978 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56979 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56980 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56981 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56982 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56983 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56984 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56985 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56986 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56987 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56988 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56989 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56990 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56991 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56992 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56993 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56994 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56995 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56996 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56997 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56998 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56999 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
57000 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
57001 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
57002 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57003 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57004 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57005 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
57006 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
57007 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
57008 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
57009 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
57010 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
57011 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
57012 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
57013 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
57014 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
57017 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
57019 elif $ac_last_try; then
57020 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57021 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57022 { (exit 1); exit 1; }; }
57024 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
57028 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57029 if test -n "$ac_eof"; then
57030 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
57031 ac_eof
=`expr $ac_eof + 1`
57034 cat >>$CONFIG_STATUS <<_ACEOF
57035 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
57036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57039 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57040 s/^/s,@/; s/!/@,|#_!!_#|/
57043 s/'"$ac_delim"'$/,g/; t
57045 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57046 ' >>$CONFIG_STATUS <conf$
$subs.
sed
57047 rm -f conf$
$subs.
sed
57048 cat >>$CONFIG_STATUS <<_ACEOF
57054 for ac_last_try
in false false false false false
:; do
57055 cat >conf$
$subs.
sed <<_ACEOF
57056 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
57057 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
57058 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57059 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57060 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57061 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57062 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57063 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57064 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57065 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57066 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57067 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57068 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57069 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57070 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57071 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57072 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57073 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57074 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57075 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57076 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57077 DEREZ!$DEREZ$ac_delim
57078 SHARED!$SHARED$ac_delim
57079 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57080 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57081 USE_GUI!$USE_GUI$ac_delim
57082 AFMINSTALL!$AFMINSTALL$ac_delim
57083 WIN32INSTALL!$WIN32INSTALL$ac_delim
57084 TOOLKIT!$TOOLKIT$ac_delim
57085 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57086 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57087 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57088 cross_compiling!$cross_compiling$ac_delim
57089 WIDGET_SET!$WIDGET_SET$ac_delim
57090 WX_RELEASE!$WX_RELEASE$ac_delim
57091 WX_VERSION!$WX_VERSION$ac_delim
57092 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57093 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57094 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57095 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57096 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57097 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57098 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57099 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57100 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57101 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57102 GUIDIST!$GUIDIST$ac_delim
57103 DISTDIR!$DISTDIR$ac_delim
57104 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57105 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57106 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57107 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57108 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57109 RESCOMP!$RESCOMP$ac_delim
57110 RESFLAGS!$RESFLAGS$ac_delim
57111 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57112 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57113 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57114 LIBWXMACRES!$LIBWXMACRES$ac_delim
57115 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57116 MACSETFILE!$MACSETFILE$ac_delim
57118 DLLTOOL!$DLLTOOL$ac_delim
57119 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57120 LIBOBJS!$LIBOBJS$ac_delim
57121 LTLIBOBJS!$LTLIBOBJS$ac_delim
57124 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
57126 elif $ac_last_try; then
57127 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57128 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57129 { (exit 1); exit 1; }; }
57131 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
57135 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57136 if test -n "$ac_eof"; then
57137 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
57138 ac_eof
=`expr $ac_eof + 1`
57141 cat >>$CONFIG_STATUS <<_ACEOF
57142 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57146 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57147 s/^/s,@/; s/!/@,|#_!!_#|/
57150 s/'"$ac_delim"'$/,g/; t
57152 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57153 ' >>$CONFIG_STATUS <conf$
$subs.
sed
57154 rm -f conf$
$subs.
sed
57155 cat >>$CONFIG_STATUS <<_ACEOF
57162 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57163 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57164 # trailing colons and then remove the whole line if VPATH becomes empty
57165 # (actually we leave an empty line to preserve line numbers).
57166 if test "x$srcdir" = x.
; then
57167 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
57168 s/:*\$(srcdir):*/:/
57169 s/:*\${srcdir}:*/:/
57171 s/^\([^=]*=[ ]*\):*/\1/
57177 cat >>$CONFIG_STATUS <<\_ACEOF
57178 fi # test -n "$CONFIG_FILES"
57181 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
57184 :[FHLC
]) ac_mode
=$ac_tag; continue;;
57186 case $ac_mode$ac_tag in
57188 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57189 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57190 { (exit 1); exit 1; }; };;
57191 :[FH
]-) ac_tag
=-:-;;
57192 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
57209 -) ac_f
="$tmp/stdin";;
57210 *) # Look for the file first in the build tree, then in the source tree
57211 # (if the path is not absolute). The absolute path cannot be DOS-style,
57212 # because $ac_f cannot contain `:'.
57216 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
57218 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57219 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57220 { (exit 1); exit 1; }; };;
57222 ac_file_inputs
="$ac_file_inputs $ac_f"
57225 # Let's still pretend it is `configure' which instantiates (i.e., don't
57226 # use $as_me), people would be surprised to read:
57227 # /* config.h. Generated by config.status. */
57228 configure_input
="Generated from "`IFS=:
57229 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57230 if test x
"$ac_file" != x
-; then
57231 configure_input
="$ac_file. $configure_input"
57232 { echo "$as_me:$LINENO: creating $ac_file" >&5
57233 echo "$as_me: creating $ac_file" >&6;}
57237 *:-:* | *:-) cat >"$tmp/stdin";;
57242 ac_dir
=`$as_dirname -- "$ac_file" ||
57243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57244 X"$ac_file" : 'X\(//\)[^/]' \| \
57245 X"$ac_file" : 'X\(//\)$' \| \
57246 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57252 /^X\(\/\/\)[^/].*/{
57267 -*) as_dir
=.
/$as_dir;;
57269 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57273 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57274 *) as_qdir
=$as_dir;;
57276 as_dirs
="'$as_qdir' $as_dirs"
57277 as_dir
=`$as_dirname -- "$as_dir" ||
57278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57279 X"$as_dir" : 'X\(//\)[^/]' \| \
57280 X"$as_dir" : 'X\(//\)$' \| \
57281 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57287 /^X\(\/\/\)[^/].*/{
57300 test -d "$as_dir" && break
57302 test -z "$as_dirs" || eval "mkdir $as_dirs"
57303 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57304 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57305 { (exit 1); exit 1; }; }; }
57309 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57311 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57312 # A ".." for each directory in $ac_dir_suffix.
57313 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57314 case $ac_top_builddir_sub in
57315 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57316 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57319 ac_abs_top_builddir
=$ac_pwd
57320 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57321 # for backward compatibility:
57322 ac_top_builddir
=$ac_top_build_prefix
57325 .
) # We are building in place.
57327 ac_top_srcdir
=$ac_top_builddir_sub
57328 ac_abs_top_srcdir
=$ac_pwd ;;
57329 [\\/]* | ?
:[\\/]* ) # Absolute name.
57330 ac_srcdir
=$srcdir$ac_dir_suffix;
57331 ac_top_srcdir
=$srcdir
57332 ac_abs_top_srcdir
=$srcdir ;;
57333 *) # Relative name.
57334 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57335 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57336 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57338 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57348 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
57349 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
57353 cat >>$CONFIG_STATUS <<\_ACEOF
57354 # If the template does not know about datarootdir, expand it.
57355 # FIXME: This hack should be removed a few years after 2.60.
57356 ac_datarootdir_hack
=; ac_datarootdir_seen
=
57358 case `sed -n '/datarootdir/ {
57367 ' $ac_file_inputs` in
57368 *datarootdir
*) ac_datarootdir_seen
=yes;;
57369 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
57370 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57371 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57373 cat >>$CONFIG_STATUS <<_ACEOF
57374 ac_datarootdir_hack='
57375 s&@datadir@&$datadir&g
57376 s&@docdir@&$docdir&g
57377 s&@infodir@&$infodir&g
57378 s&@localedir@&$localedir&g
57379 s&@mandir@&$mandir&g
57380 s&\\\${datarootdir}&$datarootdir&g' ;;
57384 # Neutralize VPATH when `$srcdir' = `.'.
57385 # Shell code in configure.ac might set extrasub.
57386 # FIXME: do we really want to maintain this feature?
57387 cat >>$CONFIG_STATUS <<_ACEOF
57391 cat >>$CONFIG_STATUS <<\_ACEOF
57393 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
57394 s
&@configure_input@
&$configure_input&;t t
57395 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
57396 s
&@srcdir@
&$ac_srcdir&;t t
57397 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
57398 s
&@top_srcdir@
&$ac_top_srcdir&;t t
57399 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
57400 s
&@builddir@
&$ac_builddir&;t t
57401 s
&@abs_builddir@
&$ac_abs_builddir&;t t
57402 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
57403 s
&@INSTALL@
&$ac_INSTALL&;t t
57404 $ac_datarootdir_hack
57405 " $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
57407 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57408 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
57409 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
57410 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
57411 which seems to be undefined. Please make sure it is defined." >&5
57412 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
57413 which seems to be undefined. Please make sure it is defined." >&2;}
57417 -) cat "$tmp/out"; rm -f "$tmp/out";;
57418 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57427 # Transform confdefs.h into a sed script `conftest.defines', that
57428 # substitutes the proper values into config.h.in to produce config.h.
57429 rm -f conftest.defines conftest.
tail
57430 # First, append a space to every undef/define line, to ease matching.
57431 echo 's/$/ /' >conftest.defines
57432 # Then, protect against being on the right side of a sed subst, or in
57433 # an unquoted here document, in config.status. If some macros were
57434 # called several times there might be several #defines for the same
57435 # symbol, which is useless. But do not sort them, since the last
57436 # AC_DEFINE must be honored.
57437 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
57438 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57439 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57440 # PARAMS is the parameter list in the macro definition--in most cases, it's
57441 # just an empty string.
57442 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57443 ac_dB
='\\)[ (].*,\\1define\\2'
57451 s/^[ ]*#[ ]*define[ ][ ]*//
57456 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57457 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57458 ' >>conftest.defines
57460 # Remove the space that was appended to ease matching.
57461 # Then replace #undef with comments. This is necessary, for
57462 # example, in the case of _POSIX_SOURCE, which is predefined and required
57463 # on some systems where configure will not decide to define it.
57464 # (The regexp can be short, since the line contains either #define or #undef.)
57466 s,^[ #]*u.*,/* & */,' >>conftest.defines
57468 # Break up conftest.defines:
57469 ac_max_sed_lines
=50
57471 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57472 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57473 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57475 ac_in
='$ac_file_inputs'
57476 ac_out
='"$tmp/out1"'
57477 ac_nxt
='"$tmp/out2"'
57481 # Write a here document:
57482 cat >>$CONFIG_STATUS <<_ACEOF
57483 # First, check the format of the line:
57484 cat >"\$tmp/defines.sed" <<\\CEOF
57485 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57486 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57490 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
57492 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57493 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
57494 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
57495 grep . conftest.
tail >/dev
/null
|| break
57496 rm -f conftest.defines
57497 mv conftest.
tail conftest.defines
57499 rm -f conftest.defines conftest.
tail
57501 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57502 cat >>$CONFIG_STATUS <<\_ACEOF
57503 if test x
"$ac_file" != x
-; then
57504 echo "/* $configure_input */" >"$tmp/config.h"
57505 cat "$ac_result" >>"$tmp/config.h"
57506 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
57507 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57508 echo "$as_me: $ac_file is unchanged" >&6;}
57511 mv "$tmp/config.h" $ac_file
57514 echo "/* $configure_input */"
57520 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57521 echo "$as_me: executing $ac_file commands" >&6;}
57526 case $ac_file$ac_mode in
57528 mkdir -p $outdir &&
57529 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57531 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
57532 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
57533 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
57534 "wx-config":C
) rm -f wx
-config
57535 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
57542 { (exit 0); exit 0; }
57544 chmod +x
$CONFIG_STATUS
57545 ac_clean_files
=$ac_clean_files_save
57548 # configure is writing to config.log, and then calls config.status.
57549 # config.status does its own redirection, appending to config.log.
57550 # Unfortunately, on DOS this fails, as config.log is still kept open
57551 # by configure, so config.status won't be able to write to it; its
57552 # output is simply discarded. So we exec the FD to /dev/null,
57553 # effectively closing config.log, so it can be properly (re)opened and
57554 # appended to by config.status. When coming back to configure, we
57555 # need to make the FD available again.
57556 if test "$no_create" != yes; then
57558 ac_config_status_args
=
57559 test "$silent" = yes &&
57560 ac_config_status_args
="$ac_config_status_args --quiet"
57562 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
57564 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57565 # would make configure fail if this is the last instruction.
57566 $ac_cs_success || { (exit 1); exit 1; }
57570 # CONFIG_SUBDIRS section.
57572 if test "$no_recursion" != yes; then
57574 # Remove --cache-file and --srcdir arguments so they do not pile up.
57575 ac_sub_configure_args
=
57577 eval "set x $ac_configure_args"
57581 if test -n "$ac_prev"; then
57586 -cache-file | --cache-file | --cache-fil | --cache-fi \
57587 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57588 ac_prev
=cache_file
;;
57589 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57590 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57593 --config-cache | -C)
57595 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57597 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57599 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57601 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57605 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57607 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
57611 # Always prepend --prefix to ensure using the same prefix
57612 # in subdir configurations.
57613 ac_arg
="--prefix=$prefix"
57615 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57617 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
57620 if test "$silent" = yes; then
57621 ac_sub_configure_args
="--silent $ac_sub_configure_args"
57625 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
57627 # Do not complain, so a configure script can configure whichever
57628 # parts of a large source tree are present.
57629 test -d "$srcdir/$ac_dir" || continue
57631 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57632 echo "$as_me:$LINENO: $ac_msg" >&5
57636 -*) as_dir
=.
/$as_dir;;
57638 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57642 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57643 *) as_qdir
=$as_dir;;
57645 as_dirs
="'$as_qdir' $as_dirs"
57646 as_dir
=`$as_dirname -- "$as_dir" ||
57647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57648 X"$as_dir" : 'X\(//\)[^/]' \| \
57649 X"$as_dir" : 'X\(//\)$' \| \
57650 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57656 /^X\(\/\/\)[^/].*/{
57669 test -d "$as_dir" && break
57671 test -z "$as_dirs" || eval "mkdir $as_dirs"
57672 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57673 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57674 { (exit 1); exit 1; }; }; }
57678 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57680 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57681 # A ".." for each directory in $ac_dir_suffix.
57682 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57683 case $ac_top_builddir_sub in
57684 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57685 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57688 ac_abs_top_builddir
=$ac_pwd
57689 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57690 # for backward compatibility:
57691 ac_top_builddir
=$ac_top_build_prefix
57694 .
) # We are building in place.
57696 ac_top_srcdir
=$ac_top_builddir_sub
57697 ac_abs_top_srcdir
=$ac_pwd ;;
57698 [\\/]* | ?
:[\\/]* ) # Absolute name.
57699 ac_srcdir
=$srcdir$ac_dir_suffix;
57700 ac_top_srcdir
=$srcdir
57701 ac_abs_top_srcdir
=$srcdir ;;
57702 *) # Relative name.
57703 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57704 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57705 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57707 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57712 # Check for guested configure; otherwise get Cygnus style configure.
57713 if test -f "$ac_srcdir/configure.gnu"; then
57714 ac_sub_configure
=$ac_srcdir/configure.gnu
57715 elif test -f "$ac_srcdir/configure"; then
57716 ac_sub_configure
=$ac_srcdir/configure
57717 elif test -f "$ac_srcdir/configure.in"; then
57718 # This should be Cygnus configure.
57719 ac_sub_configure
=$ac_aux_dir/configure
57721 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57722 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57726 # The recursion is here.
57727 if test -n "$ac_sub_configure"; then
57728 # Make the cache file name correct relative to the subdirectory.
57729 case $cache_file in
57730 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
57731 *) # Relative name.
57732 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
57735 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57736 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57737 # The eval makes quoting arguments work.
57738 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57739 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57740 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57741 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57742 { (exit 1); exit 1; }; }
57751 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57753 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57754 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57755 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57756 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57757 if test "$wxUSE_UNICODE" = "yes"; then
57758 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57759 echo " (using UTF-8)"
57761 echo " (using wchar_t)"
57767 echo " What level of wxWidgets compatibility should be enabled?"
57768 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57769 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57771 echo " Which libraries should wxWidgets use?"
57772 echo " STL ${wxUSE_STL}"
57773 echo " jpeg ${wxUSE_LIBJPEG-none}"
57774 echo " png ${wxUSE_LIBPNG-none}"
57775 echo " regex ${wxUSE_REGEX}"
57776 echo " tiff ${wxUSE_LIBTIFF-none}"
57777 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57778 echo " xpm ${wxUSE_LIBXPM-none}"
57780 echo " zlib ${wxUSE_ZLIB}"
57781 echo " expat ${wxUSE_EXPAT}"
57782 echo " libmspack ${wxUSE_LIBMSPACK}"
57783 echo " sdl ${wxUSE_LIBSDL}"