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.1.
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.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
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
706 LIBGNOMEPRINTUI_CFLAGS
812 ICC_PCH_CREATE_SWITCH
816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
818 COND_BUILD_DEBUG_UNICODE_0
819 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
822 COND_BUILD_RELEASE_UNICODE_0
823 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug_DEBUG_FLAG_default
826 COND_BUILD_debug_DEBUG_INFO_default
827 COND_BUILD_debug_UNICODE_0
828 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release_DEBUG_INFO_default
831 COND_BUILD_release_UNICODE_0
832 COND_BUILD_release_UNICODE_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
853 COND_MONOLITHIC_0_SHARED_1
854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
860 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
861 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
864 COND_MONOLITHIC_0_USE_AUI_1
865 COND_MONOLITHIC_0_USE_GUI_1
866 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_HTML_1
868 COND_MONOLITHIC_0_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_PROPGRID_1
870 COND_MONOLITHIC_0_USE_QA_1
871 COND_MONOLITHIC_0_USE_RIBBON_1
872 COND_MONOLITHIC_0_USE_RICHTEXT_1
873 COND_MONOLITHIC_0_USE_STC_1
874 COND_MONOLITHIC_0_USE_XRC_1
876 COND_MONOLITHIC_1_SHARED_0
877 COND_MONOLITHIC_1_SHARED_1
878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
880 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
881 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
882 COND_PLATFORM_MACOSX_1
883 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
890 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
891 COND_PLATFORM_MACOS_1
894 COND_PLATFORM_MSDOS_0
895 COND_PLATFORM_MSDOS_1
899 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
901 COND_PLATFORM_UNIX_1_USE_GUI_1
902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
903 COND_PLATFORM_WIN32_0
904 COND_PLATFORM_WIN32_1
906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
907 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
908 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
910 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
911 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
913 COND_SHARED_0_USE_STC_1
914 COND_SHARED_0_wxUSE_EXPAT_builtin
915 COND_SHARED_0_wxUSE_REGEX_builtin
916 COND_SHARED_0_wxUSE_ZLIB_builtin
918 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
921 COND_TOOLKIT_COCOA_USE_GUI_1
922 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_DFB_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_USE_GUI_1
935 COND_TOOLKIT_MGL_USE_GUI_1
937 COND_TOOLKIT_MOTIF_USE_GUI_1
938 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_MSW_USE_GUI_1
941 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_WXUNIV_0
943 COND_TOOLKIT_OSX_CARBON
944 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA
946 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
947 COND_TOOLKIT_OSX_IPHONE
949 COND_TOOLKIT_PM_USE_GUI_1
950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
952 COND_TOOLKIT_WINCE_USE_GUI_1
953 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_WXUNIV_0
956 COND_TOOLKIT_X11_USE_GUI_1
958 COND_USE_EXCEPTIONS_0
959 COND_USE_EXCEPTIONS_1
962 COND_USE_GUI_1_USE_OPENGL_1
963 COND_USE_GUI_1_WXUNIV_0
964 COND_USE_GUI_1_WXUNIV_1
965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
967 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
969 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
970 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
976 COND_USE_SOSYMLINKS_1
977 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
978 COND_USE_SOVERLINUX_1
980 COND_USE_SOVERSOLARIS_1
985 COND_WINDOWS_IMPLIB_1
986 COND_WITH_PLUGIN_SDL_1
989 COND_WXUSE_EXPAT_BUILTIN
990 COND_WXUSE_LIBJPEG_BUILTIN
991 COND_WXUSE_LIBPNG_BUILTIN
992 COND_WXUSE_LIBTIFF_BUILTIN
993 COND_WXUSE_REGEX_BUILTIN
994 COND_WXUSE_ZLIB_BUILTIN
995 COND_wxUSE_EXPAT_builtin
996 COND_wxUSE_LIBJPEG_builtin
997 COND_wxUSE_LIBPNG_builtin
998 COND_wxUSE_LIBTIFF_builtin
999 COND_wxUSE_REGEX_builtin
1000 COND_wxUSE_ZLIB_builtin
1003 WX_LIBRARY_BASENAME_NOGUI
1004 WX_LIBRARY_BASENAME_GUI
1023 WXCONFIG_LDFLAGS_GUI
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1046 ac_precious_vars
='build_alias
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1080 ac_subdirs_all
='src/tiff
1083 # Initialize some variables set by options.
1085 ac_init_version
=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file
=/dev
/null
1095 program_transform_name
=s
,x
,x
,
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir
='${exec_prefix}/bin'
1110 sbindir
='${exec_prefix}/sbin'
1111 libexecdir
='${exec_prefix}/libexec'
1112 datarootdir
='${prefix}/share'
1113 datadir
='${datarootdir}'
1114 sysconfdir
='${prefix}/etc'
1115 sharedstatedir
='${prefix}/com'
1116 localstatedir
='${prefix}/var'
1117 includedir
='${prefix}/include'
1118 oldincludedir
='/usr/include'
1119 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir
='${datarootdir}/info'
1125 libdir
='${exec_prefix}/lib'
1126 localedir
='${datarootdir}/locale'
1127 mandir
='${datarootdir}/man'
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\
$ac_option
1141 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1147 case $ac_dashdash$ac_option in
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir
=$ac_optarg ;;
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev
=build_alias
;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias
=$ac_optarg ;;
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev
=cache_file
;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file
=$ac_optarg ;;
1168 --config-cache | -C)
1169 cache_file
=config.cache
;;
1171 -datadir | --datadir | --datadi | --datad)
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir
=$ac_optarg ;;
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev
=datarootdir
;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir
=$ac_optarg ;;
1183 -disable-* | --disable-*)
1184 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_
$ac_feature=no
;;
1192 -docdir | --docdir | --docdi | --doc | --do)
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir
=$ac_optarg ;;
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir
=$ac_optarg ;;
1202 -enable-* | --enable-*)
1203 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_
$ac_feature=\
$ac_optarg ;;
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev
=exec_prefix
;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix
=$ac_optarg ;;
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help
=long
;;
1226 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1227 ac_init_help
=recursive
;;
1228 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1229 ac_init_help
=short
;;
1231 -host | --host | --hos | --ho)
1232 ac_prev
=host_alias
;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias
=$ac_optarg ;;
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1240 htmldir
=$ac_optarg ;;
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev
=includedir
;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir
=$ac_optarg ;;
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir
=$ac_optarg ;;
1254 -libdir | --libdir | --libdi | --libd)
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir
=$ac_optarg ;;
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev
=libexecdir
;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir
=$ac_optarg ;;
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev
=localedir
;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir
=$ac_optarg ;;
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev
=localstatedir
;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir
=$ac_optarg ;;
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir
=$ac_optarg ;;
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev
=oldincludedir
;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir
=$ac_optarg ;;
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix
=$ac_optarg ;;
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev
=program_prefix
;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix
=$ac_optarg ;;
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev
=program_suffix
;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix
=$ac_optarg ;;
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev
=program_transform_name
;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name
=$ac_optarg ;;
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir
=$ac_optarg ;;
1345 -psdir | --psdir | --psdi | --psd | --ps)
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1358 sbindir
=$ac_optarg ;;
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1364 ac_prev
=sharedstatedir
;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1369 sharedstatedir
=$ac_optarg ;;
1371 -site | --site | --sit)
1373 -site=* | --site=* | --sit=*)
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir
=$ac_optarg ;;
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev
=sysconfdir
;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir
=$ac_optarg ;;
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev
=target_alias
;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias
=$ac_optarg ;;
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version
=: ;;
1400 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_
$ac_package=\
$ac_optarg ;;
1408 -without-* | --without-*)
1409 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_
$ac_package=no
;;
1418 # Obsolete; use --with-x.
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev
=x_includes
;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes
=$ac_optarg ;;
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev
=x_libraries
;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries
=$ac_optarg ;;
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1441 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\
$ac_optarg
1447 export $ac_envvar ;;
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1460 if test -n "$ac_prev"; then
1461 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1466 # Be sure to have absolute directory names.
1467 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1472 eval ac_val
=\$
$ac_var
1474 [\\/$
]* | ?
:[\\/]* ) continue;;
1475 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1486 target
=$target_alias
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x
; then
1490 if test "x$build_alias" = x
; then
1491 cross_compiling
=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1500 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1502 test "$silent" = yes && exec 6>/dev
/null
1505 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di
=`ls -di .` &&
1507 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted
=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir
=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1547 ac_srcdir_defaulted
=no
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1554 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1567 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1569 for ac_var
in $ac_precious_vars; do
1570 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1572 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1573 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1577 # Report the --help message.
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1583 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1590 Defaults for the options are specified in brackets.
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1614 For better control, use the options below.
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1641 --x-includes=DIR X include files are
in DIR
1642 --x-libraries=DIR X library files are
in DIR
1645 --build=BUILD configure
for building on BUILD
[guessed
]
1646 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1650 if test -n "$ac_init_help"; then
1651 case $ac_init_help in
1652 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1657 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1658 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1659 --disable-gui don
't build GUI parts of the library
1660 --enable-monolithic build wxWidgets as single library
1661 --enable-plugins build parts of wxWidgets as loadable components
1662 --enable-official_build official build of wxWidgets (win32 DLL only)
1663 --enable-vendor=VENDOR vendor name (win32 DLL only)
1664 --disable-all-features disable all optional features to build minimal library
1665 --enable-universal use wxWidgets GUI controls instead of native ones
1666 --enable-nanox use NanoX
1667 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1668 --enable-gpe use GNOME PDA Environment features if possible
1669 --enable-debug build library for debugging
1670 --disable-debug_flag disable all debugging support
1671 --enable-debug_info generate debug information
1672 --enable-debug_gdb create code with extra GDB debugging information
1673 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1674 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1675 --disable-shared create static library instead of shared
1676 --enable-stl use STL for containers
1677 --enable-std_iostreams use standard C++ stream classes
1678 --enable-std_string use standard C++ string classes
1679 --disable-unicode compile without Unicode support
1680 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1681 --enable-utf8 use UTF-8 representation for strings (Unix only)
1682 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1683 --enable-extended_rtti use extended RTTI (XTI)
1684 --enable-omf use OMF object format
1685 --disable-optimise compile without optimisations
1686 --enable-profile create code with profiling information
1687 --enable-no_rtti create code without RTTI information
1688 --enable-no_exceptions create code without C++ exceptions handling
1689 --enable-permissive compile code disregarding strict ANSI
1690 --enable-no_deps create code without dependency information
1691 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1692 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1693 --enable-compat26 enable wxWidgets
2.6 compatibility
1694 --disable-compat28 disable wxWidgets
2.8 compatibility
1695 --disable-rpath disable use of rpath
for uninstalled builds
1696 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1697 --disable-visibility disable use of ELF symbols visibility even
if supported
1698 --disable-tls disable use of compiler TLS support
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x
-locale support
(requires wxLocale
)
1701 --enable-config use wxConfig
(and derived
) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP
(requires wxProtocol
1704 --enable-http use wxHTTP
(requires wxProtocol
1705 --enable-fileproto use wxFileProto class
(requires wxProtocol
1706 --enable-sockets use socket
/network classes
1707 --enable-ipv6 enable IPv6 support
in wxSocket
1708 --enable-ole use OLE classes
(Win32 only
)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication
(wxSocket etc.
)
1711 --enable-baseevtloop use event loop
in console programs too
1712 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding
/decoding functions
1717 --enable-backtrace use wxStackWalker class
for getting backtraces
1718 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class
for DLL loading
1724 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1725 --enable-exceptions build exception
-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual
file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP
/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support
in wxProtocol
1754 --enable-protocol-ftp FTP support
in wxProtocol
1755 --enable-protocol-file FILE support
in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig
(Win32 only
)
1758 --enable-regkey use wxRegKey class
(Win32 only
)
1759 --enable-docview use document view architecture
1760 --enable-help use
help subsystem
1761 --enable-mshtmlhelp use MS HTML Help
(win32
)
1762 --enable-html use wxHTML sub
-library
1763 --enable-htmlhelp use wxHTML
-based help
1764 --enable-xrc use XRC resources sub
-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-ribbon use wxRibbon library
1768 --enable-stc use wxStyledTextCtrl library
1769 --enable-constraints use layout
-constraints system
1770 --enable-loggui use standard GUI logger
1771 --enable-logwin use wxLogWindow
1772 --enable-logdialog use wxLogDialog
1773 --enable-mdi use multiple document interface architecture
1774 --enable-mdidoc use docview architecture with MDI
1775 --enable-mediactrl use wxMediaCtrl class
1776 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1777 --enable-webkit use wxWebKitCtrl
(Mac
)
1778 --enable-richtext use wxRichTextCtrl
1779 --enable-graphics_ctx use graphics context
2D drawing API
1780 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1781 --enable-printarch use printing architecture
1782 --enable-svg use wxSVGFileDC device context
1783 --enable-clipboard use wxClipboard class
1784 --enable-dnd use Drag
'n'Drop classes
1785 --enable-metafile use win32 metafiles
1786 --disable-controls disable compilation of all standard controls
1787 --enable-accel use accelerators
1788 --enable-animatectrl use wxAnimationCtrl class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-button use wxButton class
1792 --enable-calendar use wxCalendarCtrl class
1793 --enable-caret use wxCaret class
1794 --enable-checkbox use wxCheckBox class
1795 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1796 --enable-choice use wxChoice class
1797 --enable-choicebook use wxChoicebook class
1798 --enable-collpane use wxCollapsiblePane class
1799 --enable-colourpicker use wxColourPickerCtrl class
1800 --enable-combobox use wxComboBox class
1801 --enable-comboctrl use wxComboCtrl class
1802 --enable-dataviewctrl use wxDataViewCtrl class
1803 --enable-datepick use wxDatePickerCtrl class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-dirpicker use wxDirPickerCtrl class
1806 --enable-display use wxDisplay class
1807 --enable-editablebox use wxEditableListBox class
1808 --enable-filectrl use wxFileCtrl class
1809 --enable-filepicker use wxFilePickerCtrl class
1810 --enable-fontpicker use wxFontPickerCtrl class
1811 --enable-gauge use wxGauge class
1812 --enable-grid use wxGrid class
1813 --enable-headerctrl use wxHeaderCtrl class
1814 --enable-hyperlink use wxHyperlinkCtrl class
1815 --enable-imaglist use wxImageList class
1816 --enable-listbook use wxListbook class
1817 --enable-listbox use wxListBox class
1818 --enable-listctrl use wxListCtrl class
1819 --enable-notebook use wxNotebook class
1820 --enable-notifmsg use wxNotificationMessage class
1821 --enable-odcombobox use wxOwnerDrawnComboBox class
1822 --enable-popupwin use wxPopUpWindow class
1823 --enable-radiobox use wxRadioBox class
1824 --enable-radiobtn use wxRadioButton class
1825 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1826 --enable-sash use wxSashWindow class
1827 --enable-scrollbar use wxScrollBar class and scrollable windows
1828 --enable-searchctrl use wxSearchCtrl class
1829 --enable-slider use wxSlider class
1830 --enable-spinbtn use wxSpinButton class
1831 --enable-spinctrl use wxSpinCtrl class
1832 --enable-splitter use wxSplitterWindow class
1833 --enable-statbmp use wxStaticBitmap class
1834 --enable-statbox use wxStaticBox class
1835 --enable-statline use wxStaticLine class
1836 --enable-stattext use wxStaticText class
1837 --enable-statusbar use wxStatusBar class
1838 --enable-taskbaricon use wxTaskBarIcon class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-textctrl use wxTextCtrl class
1841 --enable-tipwindow use wxTipWindow class
1842 --enable-togglebtn use wxToggleButton class
1843 --enable-toolbar use wxToolBar class
1844 --enable-toolbook use wxToolbook class
1845 --enable-treebook use wxTreebook class
1846 --enable-treectrl use wxTreeCtrl class
1847 --enable-commondlg use all common dialogs
1848 --enable-aboutdlg use wxAboutBox
1849 --enable-choicedlg use wxChoiceDialog
1850 --enable-coldlg use wxColourDialog
1851 --enable-filedlg use wxFileDialog
1852 --enable-finddlg use wxFindReplaceDialog
1853 --enable-fontdlg use wxFontDialog
1854 --enable-dirdlg use wxDirDialog
1855 --enable-msgdlg use wxMessageDialog
1856 --enable-numberdlg use wxNumberEntryDialog
1857 --enable-splash use wxSplashScreen
1858 --enable-textdlg use wxTextDialog
1859 --enable-tipdlg use startup tips
1860 --enable-progressdlg use wxProgressDialog
1861 --enable-wizarddlg use wxWizard
1862 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1863 --enable-miniframe use wxMiniFrame class
1864 --enable-tooltips use wxToolTip class
1865 --enable-splines use spline drawing code
1866 --enable-mousewheel use mousewheel
1867 --enable-validators use wxValidator and derived classes
1868 --enable-busyinfo use wxBusyInfo
1869 --enable-joystick use wxJoystick
1870 --enable-metafiles use wxMetaFile
(Win32 only
)
1871 --enable-dragimage use wxDragImage
1872 --enable-accessibility enable accessibility support
1873 --enable-palette use wxPalette class
1874 --enable-image use wxImage class
1875 --enable-gif use gif images
(GIF
file format
)
1876 --enable-pcx use pcx images
(PCX
file format
)
1877 --enable-tga use tga images
(TGA
file format
)
1878 --enable-iff use iff images
(IFF
file format
)
1879 --enable-pnm use pnm images
(PNM
file format
)
1880 --enable-xpm use xpm images
(XPM
file format
)
1881 --enable-ico_cur use Windows ICO and CUR formats
1882 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1883 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1884 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1885 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1886 --enable-wxdib use wxDIB class
(Win32 only
)
1887 --enable-autoidman use automatic ids management
1888 --disable-largefile omit support
for large files
1889 --disable-gtktest do not try to compile and run a
test GTK
+ program
1890 --disable-gtktest Do not try to compile and run a
test GTK program
1891 --disable-sdltest Do not try to compile and run a
test SDL program
1892 --enable-omf use OMF object format
(OS
/2)
1893 --disable-dependency-tracking
1894 don
't use dependency tracking even if the compiler
1896 --disable-precomp-headers
1897 don't use precompiled headers even
if compiler can
1900 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1901 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1902 --without-subdirs don
't generate makefiles for samples/demos/...
1903 --with-flavour=NAME specify a name to identify this build
1904 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1905 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1906 --with-motif use Motif/Lesstif
1907 --with-osx_carbon use Mac OS X (Carbon)
1908 --with-osx_cocoa use Mac OS X (Cocoa)
1909 --with-mac use Mac OS X (Default)
1910 --with-cocoa use Cocoa
1911 --with-wine use Wine
1912 --with-msw use MS-Windows
1913 --with-pm use OS/2 Presentation Manager
1914 --with-mgl use SciTech MGL
1915 --with-directfb use DirectFB
1916 --with-microwin use MicroWindows
1918 --with-libpng use libpng (PNG image format)
1919 --with-libjpeg use libjpeg (JPEG file format)
1920 --with-libtiff use libtiff (TIFF file format)
1921 --with-libxpm use libxpm (XPM file format)
1922 --with-libiconv use libiconv (character conversion)
1923 --with-libmspack use libmspack (CHM help files loading)
1924 --without-gtkprint don't use GTK printing support
1925 --without-gnomeprint don
't use GNOME printing libraries
1926 --with-gnomevfs use GNOME VFS for associating MIME types
1927 --with-hildon use Hildon framework for Nokia 770
1928 --with-opengl use OpenGL (or Mesa)
1929 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1930 --with-sdl use SDL for audio on Unix
1931 --with-regex enable support for wxRegEx class
1932 --with-zlib use zlib for LZW compression
1933 --with-expat enable XML support using expat parser
1934 --with-macosx-sdk=PATH use an OS X SDK at PATH
1935 --with-macosx-version-min=VER build binaries which require at least this OS X version
1936 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1937 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1938 --with-x use the X Window System
1939 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1940 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1941 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1942 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1943 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1945 Some influential environment variables:
1946 CC C compiler command
1947 CFLAGS C compiler flags
1948 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1949 nonstandard directory <lib dir>
1950 LIBS libraries to pass to the linker, e.g. -l<library>
1951 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1952 you have headers in a nonstandard directory <include dir>
1954 CXX C++ compiler command
1955 CXXFLAGS C++ compiler flags
1956 PKG_CONFIG path to pkg-config utility
1958 C compiler flags for DIRECTFB, overriding pkg-config
1960 linker flags for DIRECTFB, overriding pkg-config
1961 XMKMF Path to xmkmf, Makefile generator for X Window System
1963 C compiler flags for PANGOX, overriding pkg-config
1964 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1966 C compiler flags for PANGOFT2, overriding pkg-config
1968 linker flags for PANGOFT2, overriding pkg-config
1970 C compiler flags for PANGOXFT, overriding pkg-config
1972 linker flags for PANGOXFT, overriding pkg-config
1974 C compiler flags for GTKPRINT, overriding pkg-config
1976 linker flags for GTKPRINT, overriding pkg-config
1977 LIBGNOMEPRINTUI_CFLAGS
1978 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 LIBGNOMEPRINTUI_LIBS
1980 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1982 C compiler flags for GNOMEVFS, overriding pkg-config
1984 linker flags for GNOMEVFS, overriding pkg-config
1986 C compiler flags for HILDON, overriding pkg-config
1987 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1989 C compiler flags for CAIRO, overriding pkg-config
1990 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1991 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1992 GST_LIBS linker flags for GST, overriding pkg-config
1994 Use these variables to override the choices made by `configure' or to
help
1995 it to
find libraries and programs with nonstandard names
/locations.
1997 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2002 if test "$ac_init_help" = "recursive"; then
2003 # If there are subdirs, report their specific --help.
2004 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2005 test -d "$ac_dir" || continue
2009 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2011 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2012 # A ".." for each directory in $ac_dir_suffix.
2013 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2014 case $ac_top_builddir_sub in
2015 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2016 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2019 ac_abs_top_builddir
=$ac_pwd
2020 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2021 # for backward compatibility:
2022 ac_top_builddir
=$ac_top_build_prefix
2025 .
) # We are building in place.
2027 ac_top_srcdir
=$ac_top_builddir_sub
2028 ac_abs_top_srcdir
=$ac_pwd ;;
2029 [\\/]* | ?
:[\\/]* ) # Absolute name.
2030 ac_srcdir
=$srcdir$ac_dir_suffix;
2031 ac_top_srcdir
=$srcdir
2032 ac_abs_top_srcdir
=$srcdir ;;
2034 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2035 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2036 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2038 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2040 cd "$ac_dir" || { ac_status
=$?
; continue; }
2041 # Check for guested configure.
2042 if test -f "$ac_srcdir/configure.gnu"; then
2044 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2045 elif test -f "$ac_srcdir/configure"; then
2047 $SHELL "$ac_srcdir/configure" --help=recursive
2049 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2051 cd "$ac_pwd" || { ac_status
=$?
; break; }
2055 test -n "$ac_init_help" && exit $ac_status
2056 if $ac_init_version; then
2058 wxWidgets configure
2.9.1
2059 generated by GNU Autoconf
2.61
2061 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2062 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2063 This configure
script is free software
; the Free Software Foundation
2064 gives unlimited permission to copy
, distribute and modify it.
2068 cat >config.log
<<_ACEOF
2069 This file contains any messages produced by compilers while
2070 running configure, to aid debugging if configure makes a mistake.
2072 It was created by wxWidgets $as_me 2.9.1, which was
2073 generated by GNU Autoconf 2.61. Invocation command line was
2085 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2086 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2087 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2088 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2089 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2091 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2092 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2094 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2095 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2096 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2097 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2098 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2099 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2100 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir
=.
2109 echo "PATH: $as_dir"
2125 # Keep a trace of the command line.
2126 # Strip out --no-create and --no-recursion so they do not pile up.
2127 # Strip out --silent because we don't want to record it for future runs.
2128 # Also quote any args containing shell meta-characters.
2129 # Make two passes to allow for proper duplicate-argument suppression.
2133 ac_must_keep_next
=false
2139 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2141 | -silent | --silent | --silen | --sile | --sil)
2144 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2147 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2149 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2150 if test $ac_must_keep_next = true
; then
2151 ac_must_keep_next
=false
# Got value, back to normal.
2154 *=* | --config-cache | -C | -disable-* | --disable-* \
2155 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2156 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2157 | -with-* | --with-* | -without-* | --without-* | --x)
2158 case "$ac_configure_args0 " in
2159 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2162 -* ) ac_must_keep_next
=true
;;
2165 ac_configure_args
="$ac_configure_args '$ac_arg'"
2170 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2171 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2173 # When interrupted or exit'd, cleanup temporary files, and complete
2174 # config.log. We remove comments because anyway the quotes in there
2175 # would cause problems or look ugly.
2176 # WARNING: Use '\'' to represent an apostrophe within the trap.
2177 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2178 trap 'exit_status=$?
2179 # Save into config.log some information that might help in debugging.
2184 ## ---------------- ##
2185 ## Cache variables. ##
2186 ## ---------------- ##
2189 # The following way of writing the cache mishandles newlines in values,
2191 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2192 eval ac_val=\$$ac_var
2196 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2197 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2200 _ | IFS | as_nl) ;; #(
2201 *) $as_unset $ac_var ;;
2206 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2207 *${as_nl}ac_space=\ *)
2209 "s/'\''/'\''\\\\'\'''\''/g;
2210 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2221 ## ----------------- ##
2222 ## Output variables. ##
2223 ## ----------------- ##
2226 for ac_var in $ac_subst_vars
2228 eval ac_val=\$$ac_var
2230 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2232 echo "$ac_var='\''$ac_val'\''"
2236 if test -n "$ac_subst_files"; then
2238 ## ------------------- ##
2239 ## File substitutions. ##
2240 ## ------------------- ##
2243 for ac_var
in $ac_subst_files
2245 eval ac_val
=\$
$ac_var
2247 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249 echo "$ac_var='\''$ac_val'\''"
2254 if test -s confdefs.h; then
2264 test "$ac_signal" != 0 &&
2265 echo "$as_me: caught signal $ac_signal"
2266 echo "$as_me: exit $exit_status"
2268 rm -f core *.core core.conftest.* &&
2269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2272 for ac_signal
in 1 2 13 15; do
2273 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest
* confdefs.h
2280 # Predefined preprocessor variables.
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_NAME "$PACKAGE_NAME"
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2292 cat >>confdefs.h
<<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2297 cat >>confdefs.h
<<_ACEOF
2298 #define PACKAGE_STRING "$PACKAGE_STRING"
2302 cat >>confdefs.h
<<_ACEOF
2303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2307 # Let the site file select an alternate cache file if it wants to.
2308 # Prefer explicitly selected file to automatically selected ones.
2309 if test -n "$CONFIG_SITE"; then
2310 set x
"$CONFIG_SITE"
2311 elif test "x$prefix" != xNONE
; then
2312 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2314 set x
"$ac_default_prefix/share/config.site" \
2315 "$ac_default_prefix/etc/config.site"
2320 if test -r "$ac_site_file"; then
2321 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2322 echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2328 if test -r "$cache_file"; then
2329 # Some versions of bash will fail to source /dev/null (special
2330 # files actually), so we avoid doing that.
2331 if test -f "$cache_file"; then
2332 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2333 echo "$as_me: loading cache $cache_file" >&6;}
2335 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2336 *) .
"./$cache_file";;
2340 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2341 echo "$as_me: creating cache $cache_file" >&6;}
2345 # Check that the precious variables saved in the cache have kept the same
2347 ac_cache_corrupted
=false
2348 for ac_var
in $ac_precious_vars; do
2349 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2350 eval ac_new_set
=\
$ac_env_${ac_var}_set
2351 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2352 eval ac_new_val
=\
$ac_env_${ac_var}_value
2353 case $ac_old_set,$ac_new_set in
2355 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2356 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2357 ac_cache_corrupted
=: ;;
2359 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2360 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2361 ac_cache_corrupted
=: ;;
2364 if test "x$ac_old_val" != "x$ac_new_val"; then
2365 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2366 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2367 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2368 echo "$as_me: former value: $ac_old_val" >&2;}
2369 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2370 echo "$as_me: current value: $ac_new_val" >&2;}
2371 ac_cache_corrupted
=:
2374 # Pass precious variables to config.status.
2375 if test "$ac_new_set" = set; then
2377 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2378 *) ac_arg
=$ac_var=$ac_new_val ;;
2380 case " $ac_configure_args " in
2381 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2382 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2386 if $ac_cache_corrupted; then
2387 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2388 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2389 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2390 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2391 { (exit 1); exit 1; }; }
2419 ac_cpp
='$CPP $CPPFLAGS'
2420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2429 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2430 if test -f "$ac_dir/install-sh"; then
2432 ac_install_sh
="$ac_aux_dir/install-sh -c"
2434 elif test -f "$ac_dir/install.sh"; then
2436 ac_install_sh
="$ac_aux_dir/install.sh -c"
2438 elif test -f "$ac_dir/shtool"; then
2440 ac_install_sh
="$ac_aux_dir/shtool install -c"
2444 if test -z "$ac_aux_dir"; then
2445 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2446 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2447 { (exit 1); exit 1; }; }
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2455 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2456 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2459 # Make sure we can run config.sub.
2460 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2461 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2462 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2463 { (exit 1); exit 1; }; }
2465 { echo "$as_me:$LINENO: checking build system type" >&5
2466 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_build+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 ac_build_alias
=$build_alias
2471 test "x$ac_build_alias" = x
&&
2472 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x
&&
2474 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2475 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2476 { (exit 1); exit 1; }; }
2477 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2478 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2479 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2480 { (exit 1); exit 1; }; }
2483 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2484 echo "${ECHO_T}$ac_cv_build" >&6; }
2485 case $ac_cv_build in
2487 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2488 echo "$as_me: error: invalid value of canonical build" >&2;}
2489 { (exit 1); exit 1; }; };;
2492 ac_save_IFS
=$IFS; IFS
='-'
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2502 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2505 { echo "$as_me:$LINENO: checking host system type" >&5
2506 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_host+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 if test "x$host_alias" = x
; then
2511 ac_cv_host
=$ac_cv_build
2513 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2521 echo "${ECHO_T}$ac_cv_host" >&6; }
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2525 echo "$as_me: error: invalid value of canonical host" >&2;}
2526 { (exit 1); exit 1; }; };;
2529 ac_save_IFS
=$IFS; IFS
='-'
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2539 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2543 if test "$cross_compiling" != "no"; then
2544 HOST_PREFIX
="${host_alias}-"
2545 HOST_SUFFIX
="-$host_alias"
2552 wx_major_version_number
=2
2553 wx_minor_version_number
=9
2555 wx_subrelease_number
=0
2557 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2558 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2559 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2561 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2564 wx_top_builddir
="`pwd`"
2577 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2583 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2589 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2591 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2593 DEFAULT_wxUSE_COCOA
=0
2595 DEFAULT_wxUSE_OSX_CARBON
=0
2596 DEFAULT_wxUSE_OSX_COCOA
=0
2598 DEFAULT_wxUSE_MICROWIN
=0
2599 DEFAULT_wxUSE_MOTIF
=0
2605 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2606 DEFAULT_DEFAULT_wxUSE_GTK
=0
2607 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2608 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2609 DEFAULT_DEFAULT_wxUSE_MGL
=0
2610 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2611 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2612 DEFAULT_DEFAULT_wxUSE_MSW
=0
2613 DEFAULT_DEFAULT_wxUSE_PM
=0
2614 DEFAULT_DEFAULT_wxUSE_X11
=0
2615 DEFAULT_DEFAULT_wxUSE_DFB
=0
2619 DYLIB_RPATH_INSTALL
=
2620 DYLIB_RPATH_POSTLINK
=
2622 DEFAULT_STD_FLAG
=yes
2627 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2629 cat >>confdefs.h
<<\_ACEOF
2634 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2638 cat >>confdefs.h
<<\_ACEOF
2643 if test "x$TMP" = "xalpha"; then
2645 cat >>confdefs.h
<<\_ACEOF
2650 DEFAULT_DEFAULT_wxUSE_GTK
=1
2652 *-*-gnu* | *-*-k*bsd
*-gnu )
2655 if test "x$TMP" = "xalpha"; then
2657 cat >>confdefs.h
<<\_ACEOF
2662 DEFAULT_DEFAULT_wxUSE_GTK
=1
2664 *-*-irix5* | *-*-irix6* )
2667 cat >>confdefs.h
<<\_ACEOF
2671 cat >>confdefs.h
<<\_ACEOF
2675 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2681 cat >>confdefs.h
<<\_ACEOF
2685 cat >>confdefs.h
<<\_ACEOF
2686 #define __SOLARIS__ 1
2689 cat >>confdefs.h
<<\_ACEOF
2693 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2694 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 cat >>confdefs.h
<<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __FREEBSD__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK
=1
2727 *-*-openbsd*|*-*-mirbsd*)
2730 cat >>confdefs.h
<<\_ACEOF
2731 #define __OPENBSD__ 1
2734 cat >>confdefs.h
<<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_GTK
=1
2743 cat >>confdefs.h
<<\_ACEOF
2744 #define __NETBSD__ 1
2747 cat >>confdefs.h
<<\_ACEOF
2751 DEFAULT_DEFAULT_wxUSE_GTK
=1
2752 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2754 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2759 cat >>confdefs.h
<<\_ACEOF
2763 cat >>confdefs.h
<<\_ACEOF
2767 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2768 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2773 cat >>confdefs.h
<<\_ACEOF
2777 cat >>confdefs.h
<<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2786 cat >>confdefs.h
<<\_ACEOF
2790 cat >>confdefs.h
<<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 cat >>confdefs.h
<<\_ACEOF
2812 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2819 cat >>confdefs.h
<<\_ACEOF
2820 #define __UNIXWARE__ 1
2825 *-*-cygwin* | *-*-mingw32* )
2827 DEFAULT_DEFAULT_wxUSE_MSW
=1
2833 cat >>confdefs.h
<<\_ACEOF
2838 DEFAULT_DEFAULT_wxUSE_MGL
=1
2841 *-pc-os2_emx | *-pc-os2-emx )
2842 cat >>confdefs.h
<<\_ACEOF
2847 cat >>confdefs.h
<<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_PM
=1
2854 LDFLAGS
="$LDFLAGS -Zcrtdll"
2855 ac_executable_extensions
=".exe"
2856 export ac_executable_extensions
2860 for ac_dir
in $PATH; do
2862 if test -z "$ac_TEMP_PATH"; then
2863 ac_TEMP_PATH
="$ac_dir"
2865 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2868 export PATH
="$ac_TEMP_PATH"
2876 cat >>confdefs.h
<<\_ACEOF
2880 cat >>confdefs.h
<<\_ACEOF
2881 #define __DARWIN__ 1
2884 cat >>confdefs.h
<<\_ACEOF
2885 #define TARGET_CARBON 1
2888 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2893 cat >>confdefs.h
<<\_ACEOF
2900 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2901 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2902 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2903 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2905 DEFAULT_DEFAULT_wxUSE_X11
=1
2906 DEFAULT_wxUSE_SHARED
=no
2911 DEFAULT_wxUSE_ALL_FEATURES
=yes
2913 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2914 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2916 DEFAULT_wxUSE_DMALLOC
=no
2917 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2918 DEFAULT_wxUSE_LIBHILDON
=no
2919 DEFAULT_wxUSE_LIBMSPACK
=no
2920 DEFAULT_wxUSE_LIBSDL
=no
2922 DEFAULT_wxUSE_ACCESSIBILITY
=no
2923 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2924 DEFAULT_wxUSE_IPV6
=no
2925 DEFAULT_wxUSE_GSTREAMER8
=no
2927 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2928 DEFAULT_wxUSE_OPENGL
=auto
2929 DEFAULT_wxUSE_MEDIACTRL
=auto
2930 DEFAULT_wxUSE_COMPILER_TLS
=auto
2932 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2934 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2936 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2938 DEFAULT_wxUSE_GTK2
=yes
2940 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2946 enablestring
=disable
2948 if test -z "$defaultval"; then
2949 if test x
"$enablestring" = xdisable
; then
2956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2957 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2958 # Check whether --enable-gui was given.
2959 if test "${enable_gui+set}" = set; then
2960 enableval
=$enable_gui;
2961 if test "$enableval" = yes; then
2962 wx_cv_use_gui
='wxUSE_GUI=yes'
2964 wx_cv_use_gui
='wxUSE_GUI=no'
2969 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2974 eval "$wx_cv_use_gui"
2976 if test x"$enablestring" = xdisable; then
2977 if test $wxUSE_GUI = no; then
2986 { echo "$as_me:$LINENO: result: $result" >&5
2987 echo "${ECHO_T}$result" >&6; }
2992 if test -z "$defaultval"; then
2993 if test x"$enablestring" = xdisable; then
3000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3001 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3002 # Check whether --enable-monolithic was given.
3003 if test "${enable_monolithic+set}" = set; then
3004 enableval=$enable_monolithic;
3005 if test "$enableval" = yes; then
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3008 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3013 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3018 eval "$wx_cv_use_monolithic"
3020 if test x"$enablestring" = xdisable; then
3021 if test $wxUSE_MONOLITHIC = no; then
3027 result=$wxUSE_MONOLITHIC
3030 { echo "$as_me:$LINENO: result
: $result" >&5
3031 echo "${ECHO_T}$result" >&6; }
3036 if test -z "$defaultval"; then
3037 if test x"$enablestring" = xdisable; then
3044 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3045 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3046 # Check whether --enable-plugins was given.
3047 if test "${enable_plugins+set}" = set; then
3048 enableval=$enable_plugins;
3049 if test "$enableval" = yes; then
3050 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3052 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3057 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3062 eval "$wx_cv_use_plugins"
3064 if test x
"$enablestring" = xdisable
; then
3065 if test $wxUSE_PLUGINS = no
; then
3071 result
=$wxUSE_PLUGINS
3074 { echo "$as_me:$LINENO: result: $result" >&5
3075 echo "${ECHO_T}$result" >&6; }
3079 defaultval
=$wxUSE_ALL_FEATURES
3080 if test -z "$defaultval"; then
3081 if test x
"$withstring" = xwithout
; then
3087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3088 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3090 # Check whether --with-subdirs was given.
3091 if test "${with_subdirs+set}" = set; then
3092 withval
=$with_subdirs;
3093 if test "$withval" = yes; then
3094 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3096 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3101 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3106 eval "$wx_cv_use_subdirs"
3108 if test x"$withstring" = xwithout; then
3109 if test $wxWITH_SUBDIRS = yes; then
3115 result=$wxWITH_SUBDIRS
3118 { echo "$as_me:$LINENO: result: $result" >&5
3119 echo "${ECHO_T}$result" >&6; }
3122 # Check whether --with-flavour was given.
3123 if test "${with_flavour+set}" = set; then
3124 withval=$with_flavour; WX_FLAVOUR="$withval"
3130 if test -z "$defaultval"; then
3131 if test x"$enablestring" = xdisable; then
3138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3139 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3140 # Check whether --enable-official_build was given.
3141 if test "${enable_official_build+set}" = set; then
3142 enableval=$enable_official_build;
3143 if test "$enableval" = yes; then
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3146 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3151 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3156 eval "$wx_cv_use_official_build"
3158 if test x"$enablestring" = xdisable; then
3159 if test $wxUSE_OFFICIAL_BUILD = no; then
3165 result=$wxUSE_OFFICIAL_BUILD
3168 { echo "$as_me:$LINENO: result
: $result" >&5
3169 echo "${ECHO_T}$result" >&6; }
3171 # Check whether --enable-vendor was given.
3172 if test "${enable_vendor+set}" = set; then
3173 enableval=$enable_vendor; VENDOR="$enableval"
3176 if test "x
$VENDOR" = "x
"; then
3181 enablestring=disable
3183 if test -z "$defaultval"; then
3184 if test x"$enablestring" = xdisable; then
3191 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3192 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3193 # Check whether --enable-all-features was given.
3194 if test "${enable_all_features+set}" = set; then
3195 enableval=$enable_all_features;
3196 if test "$enableval" = yes; then
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3199 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3204 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3209 eval "$wx_cv_use_all_features"
3211 if test x
"$enablestring" = xdisable
; then
3212 if test $wxUSE_ALL_FEATURES = no
; then
3218 result
=$wxUSE_ALL_FEATURES
3221 { echo "$as_me:$LINENO: result: $result" >&5
3222 echo "${ECHO_T}$result" >&6; }
3225 if test "$wxUSE_ALL_FEATURES" = "no"; then
3226 DEFAULT_wxUSE_MEDIACTRL
=no
3230 if test "$wxUSE_GUI" = "yes"; then
3235 if test -z "$defaultval"; then
3236 if test x
"$enablestring" = xdisable
; then
3243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3244 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3245 # Check whether --enable-universal was given.
3246 if test "${enable_universal+set}" = set; then
3247 enableval
=$enable_universal;
3248 if test "$enableval" = yes; then
3249 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3251 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3256 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3261 eval "$wx_cv_use_universal"
3263 if test x"$enablestring" = xdisable; then
3264 if test $wxUSE_UNIVERSAL = no; then
3270 result=$wxUSE_UNIVERSAL
3273 { echo "$as_me:$LINENO: result: $result" >&5
3274 echo "${ECHO_T}$result" >&6; }
3276 if test "$wxUSE_UNIVERSAL" = "yes"; then
3278 # Check whether --with-themes was given.
3279 if test "${with_themes+set}" = set; then
3280 withval=$with_themes; wxUNIV_THEMES="$withval"
3286 # Check whether --with-gtk was given.
3287 if test "${with_gtk+set}" = set; then
3288 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3292 # Check whether --with-motif was given.
3293 if test "${with_motif+set}" = set; then
3294 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3298 # Check whether --with-osx_carbon was given.
3299 if test "${with_osx_carbon+set}" = set; then
3300 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3304 # Check whether --with-osx_cocoa was given.
3305 if test "${with_osx_cocoa+set}" = set; then
3306 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3310 # Check whether --with-mac was given.
3311 if test "${with_mac+set}" = set; then
3312 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3316 # Check whether --with-cocoa was given.
3317 if test "${with_cocoa+set}" = set; then
3318 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3322 # Check whether --with-wine was given.
3323 if test "${with_wine+set}" = set; then
3324 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3328 # Check whether --with-msw was given.
3329 if test "${with_msw+set}" = set; then
3330 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3334 # Check whether --with-pm was given.
3335 if test "${with_pm+set}" = set; then
3336 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3340 # Check whether --with-mgl was given.
3341 if test "${with_mgl+set}" = set; then
3342 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3346 # Check whether --with-directfb was given.
3347 if test "${with_directfb+set}" = set; then
3348 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3352 # Check whether --with-microwin was given.
3353 if test "${with_microwin+set}" = set; then
3354 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3358 # Check whether --with-x11 was given.
3359 if test "${with_x11+set}" = set; then
3360 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3366 if test -z "$defaultval"; then
3367 if test x"$enablestring" = xdisable; then
3374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3375 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3376 # Check whether --enable-nanox was given.
3377 if test "${enable_nanox+set}" = set; then
3378 enableval=$enable_nanox;
3379 if test "$enableval" = yes; then
3380 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3382 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3387 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3392 eval "$wx_cv_use_nanox"
3394 if test x"$enablestring" = xdisable; then
3395 if test $wxUSE_NANOX = no; then
3404 { echo "$as_me:$LINENO: result
: $result" >&5
3405 echo "${ECHO_T}$result" >&6; }
3408 # Check whether --enable-gtk2 was given.
3409 if test "${enable_gtk2+set}" = set; then
3410 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3416 if test -z "$defaultval"; then
3417 if test x"$enablestring" = xdisable; then
3424 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3425 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3426 # Check whether --enable-gpe was given.
3427 if test "${enable_gpe+set}" = set; then
3428 enableval=$enable_gpe;
3429 if test "$enableval" = yes; then
3430 wx_cv_use_gpe='wxUSE_GPE=yes'
3432 wx_cv_use_gpe='wxUSE_GPE=no'
3437 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3442 eval "$wx_cv_use_gpe"
3444 if test x
"$enablestring" = xdisable
; then
3445 if test $wxUSE_GPE = no
; then
3454 { echo "$as_me:$LINENO: result: $result" >&5
3455 echo "${ECHO_T}$result" >&6; }
3459 { echo "$as_me:$LINENO: checking for toolkit" >&5
3460 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3464 # In Wine, we need to default to MSW, not GTK or MOTIF
3465 if test "$wxUSE_WINE" = "yes"; then
3466 DEFAULT_DEFAULT_wxUSE_GTK
=0
3467 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3468 DEFAULT_DEFAULT_wxUSE_MSW
=1
3475 if test "$wxUSE_GUI" = "yes"; then
3477 if test "$USE_BEOS" = 1; then
3478 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3479 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3480 { (exit 1); exit 1; }; }
3483 if test "$TOOLKIT_GIVEN" = 1; then
3484 for toolkit
in $ALL_TOOLKITS; do
3486 eval "value=\$${var}"
3487 if test "x$value" = "xno"; then
3489 elif test "x$value" != "x"; then
3493 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3494 eval "wx${toolkit}_VERSION=$value"
3498 for toolkit
in $ALL_TOOLKITS; do
3499 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3500 eval "wxUSE_$toolkit=\$${var}"
3504 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3505 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3506 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3509 *-pc-os2_emx | *-pc-os2-emx )
3510 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3513 case "$NUM_TOOLKITS" in
3517 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3518 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3519 { (exit 1); exit 1; }; }
3522 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3523 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3524 { (exit 1); exit 1; }; }
3527 # to be removed when --disable-gtk2 isn't needed
3528 if test "x$wxUSE_GTK2" = "xyes"; then
3530 elif test "x$wxUSE_GTK2" = "xno"; then
3534 for toolkit
in $ALL_TOOLKITS; do
3536 eval "value=\$${var}"
3537 if test "$value" = 1; then
3538 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3539 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3540 echo "${ECHO_T}$toolkit_echo" >&6; }
3544 if test "x$host_alias" != "x"; then
3545 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3546 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3548 { echo "$as_me:$LINENO: result: base only" >&5
3549 echo "${ECHO_T}base only" >&6; }
3554 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3560 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3561 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3563 # Check whether --with-libpng was given.
3564 if test "${with_libpng+set}" = set; then
3565 withval
=$with_libpng;
3566 if test "$withval" = yes; then
3567 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3568 elif test "$withval" = no
; then
3569 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3570 elif test "$withval" = sys
; then
3571 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3572 elif test "$withval" = builtin; then
3573 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3575 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3576 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3577 { (exit 1); exit 1; }; }
3582 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3587 eval "$wx_cv_use_libpng"
3589 if test "$wxUSE_LIBPNG" = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 elif test "$wxUSE_LIBPNG" = no; then
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3595 elif test "$wxUSE_LIBPNG" = sys; then
3596 { echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6; }
3598 elif test "$wxUSE_LIBPNG" = builtin; then
3599 { echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6; }
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3608 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3609 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3611 # Check whether --with-libjpeg was given.
3612 if test "${with_libjpeg+set}" = set; then
3613 withval=$with_libjpeg;
3614 if test "$withval" = yes; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3616 elif test "$withval" = no; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3618 elif test "$withval" = sys; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3620 elif test "$withval" = builtin; then
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3624 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3625 { (exit 1); exit 1; }; }
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3635 eval "$wx_cv_use_libjpeg"
3637 if test "$wxUSE_LIBJPEG" = yes; then
3638 { echo "$as_me:$LINENO: result
: yes" >&5
3639 echo "${ECHO_T}yes" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = no; then
3641 { echo "$as_me:$LINENO: result
: no
" >&5
3642 echo "${ECHO_T}no
" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = sys; then
3644 { echo "$as_me:$LINENO: result
: system version
" >&5
3645 echo "${ECHO_T}system version
" >&6; }
3646 elif test "$wxUSE_LIBJPEG" = builtin; then
3647 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3648 echo "${ECHO_T}builtin version
" >&6; }
3650 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3651 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3652 { (exit 1); exit 1; }; }
3656 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3657 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3659 # Check whether --with-libtiff was given.
3660 if test "${with_libtiff+set}" = set; then
3661 withval=$with_libtiff;
3662 if test "$withval" = yes; then
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3664 elif test "$withval" = no; then
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3666 elif test "$withval" = sys; then
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3668 elif test "$withval" = builtin; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3671 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3672 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3673 { (exit 1); exit 1; }; }
3678 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3683 eval "$wx_cv_use_libtiff"
3685 if test "$wxUSE_LIBTIFF" = yes; then
3686 { echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = no
; then
3689 { echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = sys
; then
3692 { echo "$as_me:$LINENO: result: system version" >&5
3693 echo "${ECHO_T}system version" >&6; }
3694 elif test "$wxUSE_LIBTIFF" = builtin; then
3695 { echo "$as_me:$LINENO: result: builtin version" >&5
3696 echo "${ECHO_T}builtin version" >&6; }
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3704 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3705 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3707 # Check whether --with-libxpm was given.
3708 if test "${with_libxpm+set}" = set; then
3709 withval
=$with_libxpm;
3710 if test "$withval" = yes; then
3711 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3712 elif test "$withval" = no
; then
3713 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3714 elif test "$withval" = sys
; then
3715 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3716 elif test "$withval" = builtin; then
3717 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3719 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3720 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3721 { (exit 1); exit 1; }; }
3726 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3731 eval "$wx_cv_use_libxpm"
3733 if test "$wxUSE_LIBXPM" = yes; then
3734 { echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6; }
3736 elif test "$wxUSE_LIBXPM" = no; then
3737 { echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6; }
3739 elif test "$wxUSE_LIBXPM" = sys; then
3740 { echo "$as_me:$LINENO: result: system version" >&5
3741 echo "${ECHO_T}system version" >&6; }
3742 elif test "$wxUSE_LIBXPM" = builtin; then
3743 { echo "$as_me:$LINENO: result: builtin version" >&5
3744 echo "${ECHO_T}builtin version" >&6; }
3746 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3747 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3748 { (exit 1); exit 1; }; }
3753 defaultval=$wxUSE_ALL_FEATURES
3754 if test -z "$defaultval"; then
3755 if test x"$withstring" = xwithout; then
3761 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3762 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3764 # Check whether --with-libiconv was given.
3765 if test "${with_libiconv+set}" = set; then
3766 withval=$with_libiconv;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3770 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3775 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3780 eval "$wx_cv_use_libiconv"
3782 if test x"$withstring" = xwithout; then
3783 if test $wxUSE_LIBICONV = yes; then
3789 result=$wxUSE_LIBICONV
3792 { echo "$as_me:$LINENO: result
: $result" >&5
3793 echo "${ECHO_T}$result" >&6; }
3797 defaultval=$wxUSE_ALL_FEATURES
3798 if test -z "$defaultval"; then
3799 if test x"$withstring" = xwithout; then
3805 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3806 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3808 # Check whether --with-libmspack was given.
3809 if test "${with_libmspack+set}" = set; then
3810 withval=$with_libmspack;
3811 if test "$withval" = yes; then
3812 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3814 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3819 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3824 eval "$wx_cv_use_libmspack"
3826 if test x
"$withstring" = xwithout
; then
3827 if test $wxUSE_LIBMSPACK = yes; then
3833 result
=$wxUSE_LIBMSPACK
3836 { echo "$as_me:$LINENO: result: $result" >&5
3837 echo "${ECHO_T}$result" >&6; }
3841 defaultval
=$wxUSE_ALL_FEATURES
3842 if test -z "$defaultval"; then
3843 if test x
"$withstring" = xwithout
; then
3849 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3850 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3852 # Check whether --with-gtkprint was given.
3853 if test "${with_gtkprint+set}" = set; then
3854 withval
=$with_gtkprint;
3855 if test "$withval" = yes; then
3856 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3858 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3863 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3868 eval "$wx_cv_use_gtkprint"
3870 if test x"$withstring" = xwithout; then
3871 if test $wxUSE_GTKPRINT = yes; then
3877 result=$wxUSE_GTKPRINT
3880 { echo "$as_me:$LINENO: result: $result" >&5
3881 echo "${ECHO_T}$result" >&6; }
3885 defaultval=$wxUSE_ALL_FEATURES
3886 if test -z "$defaultval"; then
3887 if test x"$withstring" = xwithout; then
3893 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3894 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3896 # Check whether --with-gnomeprint was given.
3897 if test "${with_gnomeprint+set}" = set; then
3898 withval=$with_gnomeprint;
3899 if test "$withval" = yes; then
3900 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3902 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3907 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3912 eval "$wx_cv_use_gnomeprint"
3914 if test x"$withstring" = xwithout; then
3915 if test $wxUSE_LIBGNOMEPRINT = yes; then
3921 result=$wxUSE_LIBGNOMEPRINT
3924 { echo "$as_me:$LINENO: result
: $result" >&5
3925 echo "${ECHO_T}$result" >&6; }
3929 defaultval=$wxUSE_ALL_FEATURES
3930 if test -z "$defaultval"; then
3931 if test x"$withstring" = xwithout; then
3937 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3938 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3940 # Check whether --with-gnomevfs was given.
3941 if test "${with_gnomevfs+set}" = set; then
3942 withval=$with_gnomevfs;
3943 if test "$withval" = yes; then
3944 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3946 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3956 eval "$wx_cv_use_gnomevfs"
3958 if test x
"$withstring" = xwithout
; then
3959 if test $wxUSE_LIBGNOMEVFS = yes; then
3965 result
=$wxUSE_LIBGNOMEVFS
3968 { echo "$as_me:$LINENO: result: $result" >&5
3969 echo "${ECHO_T}$result" >&6; }
3973 defaultval
=$wxUSE_ALL_FEATURES
3974 if test -z "$defaultval"; then
3975 if test x
"$withstring" = xwithout
; then
3981 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3982 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3984 # Check whether --with-hildon was given.
3985 if test "${with_hildon+set}" = set; then
3986 withval
=$with_hildon;
3987 if test "$withval" = yes; then
3988 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3990 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3995 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4000 eval "$wx_cv_use_hildon"
4002 if test x"$withstring" = xwithout; then
4003 if test $wxUSE_LIBHILDON = yes; then
4009 result=$wxUSE_LIBHILDON
4012 { echo "$as_me:$LINENO: result: $result" >&5
4013 echo "${ECHO_T}$result" >&6; }
4017 defaultval=$wxUSE_ALL_FEATURES
4018 if test -z "$defaultval"; then
4019 if test x"$withstring" = xwithout; then
4025 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4026 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4028 # Check whether --with-opengl was given.
4029 if test "${with_opengl+set}" = set; then
4030 withval=$with_opengl;
4031 if test "$withval" = yes; then
4032 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4034 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4039 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4044 eval "$wx_cv_use_opengl"
4046 if test x"$withstring" = xwithout; then
4047 if test $wxUSE_OPENGL = yes; then
4053 result=$wxUSE_OPENGL
4056 { echo "$as_me:$LINENO: result
: $result" >&5
4057 echo "${ECHO_T}$result" >&6; }
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4072 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4073 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4075 # Check whether --with-dmalloc was given.
4076 if test "${with_dmalloc+set}" = set; then
4077 withval=$with_dmalloc;
4078 if test "$withval" = yes; then
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4086 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4091 eval "$wx_cv_use_dmalloc"
4093 if test x
"$withstring" = xwithout
; then
4094 if test $wxUSE_DMALLOC = yes; then
4100 result
=$wxUSE_DMALLOC
4103 { echo "$as_me:$LINENO: result: $result" >&5
4104 echo "${ECHO_T}$result" >&6; }
4108 defaultval
=$wxUSE_ALL_FEATURES
4109 if test -z "$defaultval"; then
4110 if test x
"$withstring" = xwithout
; then
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4119 # Check whether --with-sdl was given.
4120 if test "${with_sdl+set}" = set; then
4122 if test "$withval" = yes; then
4123 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4125 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4130 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4135 eval "$wx_cv_use_sdl"
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_LIBSDL = yes; then
4144 result=$wxUSE_LIBSDL
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4151 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4154 # Check whether --with-regex was given.
4155 if test "${with_regex+set}" = set; then
4156 withval=$with_regex;
4157 if test "$withval" = yes; then
4158 wx_cv_use_regex='wxUSE_REGEX
=yes'
4159 elif test "$withval" = no; then
4160 wx_cv_use_regex='wxUSE_REGEX
=no
'
4161 elif test "$withval" = sys; then
4162 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4163 elif test "$withval" = builtin; then
4164 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4168 { (exit 1); exit 1; }; }
4173 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4178 eval "$wx_cv_use_regex"
4180 if test "$wxUSE_REGEX" = yes; then
4181 { echo "$as_me:$LINENO: result
: yes" >&5
4182 echo "${ECHO_T}yes" >&6; }
4183 elif test "$wxUSE_REGEX" = no; then
4184 { echo "$as_me:$LINENO: result
: no
" >&5
4185 echo "${ECHO_T}no
" >&6; }
4186 elif test "$wxUSE_REGEX" = sys; then
4187 { echo "$as_me:$LINENO: result
: system version
" >&5
4188 echo "${ECHO_T}system version
" >&6; }
4189 elif test "$wxUSE_REGEX" = builtin; then
4190 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4191 echo "${ECHO_T}builtin version
" >&6; }
4193 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4194 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4195 { (exit 1); exit 1; }; }
4199 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4200 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4202 # Check whether --with-zlib was given.
4203 if test "${with_zlib+set}" = set; then
4205 if test "$withval" = yes; then
4206 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4207 elif test "$withval" = no; then
4208 wx_cv_use_zlib='wxUSE_ZLIB=no'
4209 elif test "$withval" = sys; then
4210 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4211 elif test "$withval" = builtin; then
4212 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4214 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4215 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4216 { (exit 1); exit 1; }; }
4221 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4226 eval "$wx_cv_use_zlib"
4228 if test "$wxUSE_ZLIB" = yes; then
4229 { echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6; }
4231 elif test "$wxUSE_ZLIB" = no
; then
4232 { echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6; }
4234 elif test "$wxUSE_ZLIB" = sys
; then
4235 { echo "$as_me:$LINENO: result: system version" >&5
4236 echo "${ECHO_T}system version" >&6; }
4237 elif test "$wxUSE_ZLIB" = builtin; then
4238 { echo "$as_me:$LINENO: result: builtin version" >&5
4239 echo "${ECHO_T}builtin version" >&6; }
4241 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4242 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4243 { (exit 1); exit 1; }; }
4247 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4248 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4250 # Check whether --with-expat was given.
4251 if test "${with_expat+set}" = set; then
4252 withval
=$with_expat;
4253 if test "$withval" = yes; then
4254 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4255 elif test "$withval" = no
; then
4256 wx_cv_use_expat
='wxUSE_EXPAT=no'
4257 elif test "$withval" = sys
; then
4258 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4259 elif test "$withval" = builtin; then
4260 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4262 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4263 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4264 { (exit 1); exit 1; }; }
4269 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4274 eval "$wx_cv_use_expat"
4276 if test "$wxUSE_EXPAT" = yes; then
4277 { echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6; }
4279 elif test "$wxUSE_EXPAT" = no; then
4280 { echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6; }
4282 elif test "$wxUSE_EXPAT" = sys; then
4283 { echo "$as_me:$LINENO: result: system version" >&5
4284 echo "${ECHO_T}system version" >&6; }
4285 elif test "$wxUSE_EXPAT" = builtin; then
4286 { echo "$as_me:$LINENO: result: builtin version" >&5
4287 echo "${ECHO_T}builtin version" >&6; }
4289 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4290 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4291 { (exit 1); exit 1; }; }
4295 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4296 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4298 # Check whether --with-macosx-sdk was given.
4299 if test "${with_macosx_sdk+set}" = set; then
4300 withval=$with_macosx_sdk;
4301 wxUSE_MACOSX_SDK=$withval
4302 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4306 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4307 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4309 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4310 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4312 # Check whether --with-macosx-version-min was given.
4313 if test "${with_macosx_version_min+set}" = set; then
4314 withval=$with_macosx_version_min;
4315 wxUSE_MACOSX_VERSION_MIN=$withval
4316 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4320 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4321 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4324 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4325 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4326 # Check whether --enable-debug was given.
4327 if test "${enable_debug+set}" = set; then
4328 enableval=$enable_debug;
4329 if test "$enableval" = yes; then
4331 elif test "$enableval" = no; then
4333 elif test "$enableval" = max; then
4335 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4337 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4338 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4339 { (exit 1); exit 1; }; }
4348 case "$wxUSE_DEBUG" in
4350 DEFAULT_wxUSE_DEBUG_FLAG=yes
4351 DEFAULT_wxUSE_DEBUG_INFO=yes
4353 DEFAULT_wxUSE_OPTIMISE=no
4357 DEFAULT_wxUSE_DEBUG_FLAG=no
4358 DEFAULT_wxUSE_DEBUG_INFO=no
4362 DEFAULT_wxUSE_DEBUG_FLAG=yes
4363 DEFAULT_wxUSE_DEBUG_INFO=no
4368 enablestring=disable
4370 if test -z "$defaultval"; then
4371 if test x"$enablestring" = xdisable; then
4378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4380 # Check whether --enable-debug_flag was given.
4381 if test "${enable_debug_flag+set}" = set; then
4382 enableval=$enable_debug_flag;
4383 if test "$enableval" = yes; then
4384 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4386 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4391 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4396 eval "$wx_cv_use_debug_flag"
4398 if test x"$enablestring" = xdisable; then
4399 if test $wxUSE_DEBUG_FLAG = no; then
4405 result=$wxUSE_DEBUG_FLAG
4408 { echo "$as_me:$LINENO: result
: $result" >&5
4409 echo "${ECHO_T}$result" >&6; }
4414 if test -z "$defaultval"; then
4415 if test x"$enablestring" = xdisable; then
4422 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4423 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4424 # Check whether --enable-debug_info was given.
4425 if test "${enable_debug_info+set}" = set; then
4426 enableval=$enable_debug_info;
4427 if test "$enableval" = yes; then
4428 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4430 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4435 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4440 eval "$wx_cv_use_debug_info"
4442 if test x
"$enablestring" = xdisable
; then
4443 if test $wxUSE_DEBUG_INFO = no
; then
4449 result
=$wxUSE_DEBUG_INFO
4452 { echo "$as_me:$LINENO: result: $result" >&5
4453 echo "${ECHO_T}$result" >&6; }
4460 if test -z "$defaultval"; then
4461 if test x
"$enablestring" = xdisable
; then
4468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4470 # Check whether --enable-debug_gdb was given.
4471 if test "${enable_debug_gdb+set}" = set; then
4472 enableval
=$enable_debug_gdb;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4476 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4481 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4486 eval "$wx_cv_use_debug_gdb"
4488 if test x"$enablestring" = xdisable; then
4489 if test $wxUSE_DEBUG_GDB = no; then
4495 result=$wxUSE_DEBUG_GDB
4498 { echo "$as_me:$LINENO: result: $result" >&5
4499 echo "${ECHO_T}$result" >&6; }
4504 if test -z "$defaultval"; then
4505 if test x"$enablestring" = xdisable; then
4512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4514 # Check whether --enable-debug_cntxt was given.
4515 if test "${enable_debug_cntxt+set}" = set; then
4516 enableval=$enable_debug_cntxt;
4517 if test "$enableval" = yes; then
4518 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4520 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4525 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4530 eval "$wx_cv_use_debug_cntxt"
4532 if test x"$enablestring" = xdisable; then
4533 if test $wxUSE_DEBUG_CONTEXT = no; then
4539 result=$wxUSE_DEBUG_CONTEXT
4542 { echo "$as_me:$LINENO: result
: $result" >&5
4543 echo "${ECHO_T}$result" >&6; }
4548 if test -z "$defaultval"; then
4549 if test x"$enablestring" = xdisable; then
4556 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4557 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4558 # Check whether --enable-mem_tracing was given.
4559 if test "${enable_mem_tracing+set}" = set; then
4560 enableval=$enable_mem_tracing;
4561 if test "$enableval" = yes; then
4562 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4564 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4569 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4574 eval "$wx_cv_use_mem_tracing"
4576 if test x
"$enablestring" = xdisable
; then
4577 if test $wxUSE_MEM_TRACING = no
; then
4583 result
=$wxUSE_MEM_TRACING
4586 { echo "$as_me:$LINENO: result: $result" >&5
4587 echo "${ECHO_T}$result" >&6; }
4592 enablestring
=disable
4594 if test -z "$defaultval"; then
4595 if test x
"$enablestring" = xdisable
; then
4602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4604 # Check whether --enable-shared was given.
4605 if test "${enable_shared+set}" = set; then
4606 enableval
=$enable_shared;
4607 if test "$enableval" = yes; then
4608 wx_cv_use_shared
='wxUSE_SHARED=yes'
4610 wx_cv_use_shared
='wxUSE_SHARED=no'
4615 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4620 eval "$wx_cv_use_shared"
4622 if test x"$enablestring" = xdisable; then
4623 if test $wxUSE_SHARED = no; then
4629 result=$wxUSE_SHARED
4632 { echo "$as_me:$LINENO: result: $result" >&5
4633 echo "${ECHO_T}$result" >&6; }
4638 if test -z "$defaultval"; then
4639 if test x"$enablestring" = xdisable; then
4646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4647 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4648 # Check whether --enable-stl was given.
4649 if test "${enable_stl+set}" = set; then
4650 enableval=$enable_stl;
4651 if test "$enableval" = yes; then
4652 wx_cv_use_stl='wxUSE_STL
=yes'
4654 wx_cv_use_stl='wxUSE_STL
=no
'
4659 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4664 eval "$wx_cv_use_stl"
4666 if test x"$enablestring" = xdisable; then
4667 if test $wxUSE_STL = no; then
4676 { echo "$as_me:$LINENO: result
: $result" >&5
4677 echo "${ECHO_T}$result" >&6; }
4682 if test -z "$defaultval"; then
4683 if test x"$enablestring" = xdisable; then
4690 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4691 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4692 # Check whether --enable-std_iostreams was given.
4693 if test "${enable_std_iostreams+set}" = set; then
4694 enableval=$enable_std_iostreams;
4695 if test "$enableval" = yes; then
4696 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4698 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4703 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4708 eval "$wx_cv_use_std_iostreams"
4710 if test x
"$enablestring" = xdisable
; then
4711 if test $wxUSE_STD_IOSTREAM = no
; then
4717 result
=$wxUSE_STD_IOSTREAM
4720 { echo "$as_me:$LINENO: result: $result" >&5
4721 echo "${ECHO_T}$result" >&6; }
4726 if test -z "$defaultval"; then
4727 if test x
"$enablestring" = xdisable
; then
4734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4736 # Check whether --enable-std_string was given.
4737 if test "${enable_std_string+set}" = set; then
4738 enableval
=$enable_std_string;
4739 if test "$enableval" = yes; then
4740 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4742 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4747 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4752 eval "$wx_cv_use_std_string"
4754 if test x"$enablestring" = xdisable; then
4755 if test $wxUSE_STD_STRING = no; then
4761 result=$wxUSE_STD_STRING
4764 { echo "$as_me:$LINENO: result: $result" >&5
4765 echo "${ECHO_T}$result" >&6; }
4768 enablestring=disable
4770 if test -z "$defaultval"; then
4771 if test x"$enablestring" = xdisable; then
4778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4780 # Check whether --enable-unicode was given.
4781 if test "${enable_unicode+set}" = set; then
4782 enableval=$enable_unicode;
4783 if test "$enableval" = yes; then
4784 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4786 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4791 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4796 eval "$wx_cv_use_unicode"
4798 if test x"$enablestring" = xdisable; then
4799 if test $wxUSE_UNICODE = no; then
4805 result=$wxUSE_UNICODE
4808 { echo "$as_me:$LINENO: result
: $result" >&5
4809 echo "${ECHO_T}$result" >&6; }
4814 if test -z "$defaultval"; then
4815 if test x"$enablestring" = xdisable; then
4822 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4823 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4824 # Check whether --enable-mslu was given.
4825 if test "${enable_mslu+set}" = set; then
4826 enableval=$enable_mslu;
4827 if test "$enableval" = yes; then
4828 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4830 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4835 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4840 eval "$wx_cv_use_mslu"
4842 if test x
"$enablestring" = xdisable
; then
4843 if test $wxUSE_UNICODE_MSLU = no
; then
4849 result
=$wxUSE_UNICODE_MSLU
4852 { echo "$as_me:$LINENO: result: $result" >&5
4853 echo "${ECHO_T}$result" >&6; }
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4859 # Check whether --enable-utf8 was given.
4860 if test "${enable_utf8+set}" = set; then
4861 enableval
=$enable_utf8;
4862 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4866 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4871 eval "$wx_cv_use_utf8"
4873 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4874 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4879 if test -z "$defaultval"; then
4880 if test x
"$enablestring" = xdisable
; then
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4889 # Check whether --enable-utf8only was given.
4890 if test "${enable_utf8only+set}" = set; then
4891 enableval
=$enable_utf8only;
4892 if test "$enableval" = yes; then
4893 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4895 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4900 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4905 eval "$wx_cv_use_utf8only"
4907 if test x"$enablestring" = xdisable; then
4908 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4914 result=$wxUSE_UNICODE_UTF8_LOCALE
4917 { echo "$as_me:$LINENO: result: $result" >&5
4918 echo "${ECHO_T}$result" >&6; }
4923 if test -z "$defaultval"; then
4924 if test x"$enablestring" = xdisable; then
4931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4933 # Check whether --enable-extended_rtti was given.
4934 if test "${enable_extended_rtti+set}" = set; then
4935 enableval=$enable_extended_rtti;
4936 if test "$enableval" = yes; then
4937 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4939 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4944 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4949 eval "$wx_cv_use_extended_rtti"
4951 if test x"$enablestring" = xdisable; then
4952 if test $wxUSE_EXTENDED_RTTI = no; then
4958 result=$wxUSE_EXTENDED_RTTI
4961 { echo "$as_me:$LINENO: result
: $result" >&5
4962 echo "${ECHO_T}$result" >&6; }
4964 if test "$USE_OS2" = 1; then
4965 DEFAULT_wxUSE_OMF=no
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4977 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4978 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4979 # Check whether --enable-omf was given.
4980 if test "${enable_omf+set}" = set; then
4981 enableval=$enable_omf;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_omf='wxUSE_OMF=yes'
4985 wx_cv_use_omf='wxUSE_OMF=no'
4990 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4995 eval "$wx_cv_use_omf"
4997 if test x
"$enablestring" = xdisable
; then
4998 if test $wxUSE_OMF = no
; then
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5013 enablestring
=disable
5015 if test -z "$defaultval"; then
5016 if test x
"$enablestring" = xdisable
; then
5023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5025 # Check whether --enable-optimise was given.
5026 if test "${enable_optimise+set}" = set; then
5027 enableval
=$enable_optimise;
5028 if test "$enableval" = yes; then
5029 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5031 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5036 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5041 eval "$wx_cv_use_optimise"
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_OPTIMISE = no; then
5050 result=$wxUSE_OPTIMISE
5053 { echo "$as_me:$LINENO: result: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5070 # Check whether --enable-profile was given.
5071 if test "${enable_profile+set}" = set; then
5072 enableval=$enable_profile;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5076 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5081 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5086 eval "$wx_cv_use_profile"
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_PROFILE = no; then
5095 result=$wxUSE_PROFILE
5098 { echo "$as_me:$LINENO: result
: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5104 if test -z "$defaultval"; then
5105 if test x"$enablestring" = xdisable; then
5112 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5113 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5114 # Check whether --enable-no_rtti was given.
5115 if test "${enable_no_rtti+set}" = set; then
5116 enableval=$enable_no_rtti;
5117 if test "$enableval" = yes; then
5118 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5120 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5125 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5130 eval "$wx_cv_use_no_rtti"
5132 if test x
"$enablestring" = xdisable
; then
5133 if test $wxUSE_NO_RTTI = no
; then
5139 result
=$wxUSE_NO_RTTI
5142 { echo "$as_me:$LINENO: result: $result" >&5
5143 echo "${ECHO_T}$result" >&6; }
5148 if test -z "$defaultval"; then
5149 if test x
"$enablestring" = xdisable
; then
5156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5158 # Check whether --enable-no_exceptions was given.
5159 if test "${enable_no_exceptions+set}" = set; then
5160 enableval
=$enable_no_exceptions;
5161 if test "$enableval" = yes; then
5162 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5164 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5169 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5174 eval "$wx_cv_use_no_exceptions"
5176 if test x"$enablestring" = xdisable; then
5177 if test $wxUSE_NO_EXCEPTIONS = no; then
5183 result=$wxUSE_NO_EXCEPTIONS
5186 { echo "$as_me:$LINENO: result: $result" >&5
5187 echo "${ECHO_T}$result" >&6; }
5192 if test -z "$defaultval"; then
5193 if test x"$enablestring" = xdisable; then
5200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5202 # Check whether --enable-permissive was given.
5203 if test "${enable_permissive+set}" = set; then
5204 enableval=$enable_permissive;
5205 if test "$enableval" = yes; then
5206 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5208 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5213 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5218 eval "$wx_cv_use_permissive"
5220 if test x"$enablestring" = xdisable; then
5221 if test $wxUSE_PERMISSIVE = no; then
5227 result=$wxUSE_PERMISSIVE
5230 { echo "$as_me:$LINENO: result
: $result" >&5
5231 echo "${ECHO_T}$result" >&6; }
5236 if test -z "$defaultval"; then
5237 if test x"$enablestring" = xdisable; then
5244 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5245 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5246 # Check whether --enable-no_deps was given.
5247 if test "${enable_no_deps+set}" = set; then
5248 enableval=$enable_no_deps;
5249 if test "$enableval" = yes; then
5250 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5252 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5257 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5262 eval "$wx_cv_use_no_deps"
5264 if test x
"$enablestring" = xdisable
; then
5265 if test $wxUSE_NO_DEPS = no
; then
5271 result
=$wxUSE_NO_DEPS
5274 { echo "$as_me:$LINENO: result: $result" >&5
5275 echo "${ECHO_T}$result" >&6; }
5278 enablestring
=disable
5280 if test -z "$defaultval"; then
5281 if test x
"$enablestring" = xdisable
; then
5288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5290 # Check whether --enable-vararg_macros was given.
5291 if test "${enable_vararg_macros+set}" = set; then
5292 enableval
=$enable_vararg_macros;
5293 if test "$enableval" = yes; then
5294 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5296 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5301 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5306 eval "$wx_cv_use_vararg_macros"
5308 if test x"$enablestring" = xdisable; then
5309 if test $wxUSE_VARARG_MACROS = no; then
5315 result=$wxUSE_VARARG_MACROS
5318 { echo "$as_me:$LINENO: result: $result" >&5
5319 echo "${ECHO_T}$result" >&6; }
5323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5325 # Check whether --enable-universal_binary was given.
5326 if test "${enable_universal_binary+set}" = set; then
5327 enableval=$enable_universal_binary;
5328 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5332 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5337 eval "$wx_cv_use_universal_binary"
5339 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5340 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5346 if test -z "$defaultval"; then
5347 if test x"$enablestring" = xdisable; then
5354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5355 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5356 # Check whether --enable-compat26 was given.
5357 if test "${enable_compat26+set}" = set; then
5358 enableval=$enable_compat26;
5359 if test "$enableval" = yes; then
5360 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5362 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5367 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5372 eval "$wx_cv_use_compat26"
5374 if test x"$enablestring" = xdisable; then
5375 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5381 result=$WXWIN_COMPATIBILITY_2_6
5384 { echo "$as_me:$LINENO: result
: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5388 enablestring=disable
5390 if test -z "$defaultval"; then
5391 if test x"$enablestring" = xdisable; then
5398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5399 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5400 # Check whether --enable-compat28 was given.
5401 if test "${enable_compat28+set}" = set; then
5402 enableval=$enable_compat28;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5406 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5411 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5416 eval "$wx_cv_use_compat28"
5418 if test x
"$enablestring" = xdisable
; then
5419 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5425 result
=$WXWIN_COMPATIBILITY_2_8
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5433 enablestring
=disable
5435 if test -z "$defaultval"; then
5436 if test x
"$enablestring" = xdisable
; then
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5445 # Check whether --enable-rpath was given.
5446 if test "${enable_rpath+set}" = set; then
5447 enableval
=$enable_rpath;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5451 wx_cv_use_rpath
='wxUSE_RPATH=no'
5456 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5461 eval "$wx_cv_use_rpath"
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_RPATH = no; then
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5490 # Check whether --enable-objc_uniquifying was given.
5491 if test "${enable_objc_uniquifying+set}" = set; then
5492 enableval=$enable_objc_uniquifying;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5496 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5501 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5506 eval "$wx_cv_use_objc_uniquifying"
5508 if test x"$enablestring" = xdisable; then
5509 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5515 result=$wxUSE_OBJC_UNIQUIFYING
5518 { echo "$as_me:$LINENO: result
: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5523 enablestring=disable
5525 if test -z "$defaultval"; then
5526 if test x"$enablestring" = xdisable; then
5533 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5534 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5535 # Check whether --enable-visibility was given.
5536 if test "${enable_visibility+set}" = set; then
5537 enableval=$enable_visibility;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5541 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5546 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5551 eval "$wx_cv_use_visibility"
5553 if test x
"$enablestring" = xdisable
; then
5554 if test $wxUSE_VISIBILITY = no
; then
5560 result
=$wxUSE_VISIBILITY
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5567 enablestring
=disable
5569 if test -z "$defaultval"; then
5570 if test x
"$enablestring" = xdisable
; then
5577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5578 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5579 # Check whether --enable-tls was given.
5580 if test "${enable_tls+set}" = set; then
5581 enableval
=$enable_tls;
5582 if test "$enableval" = yes; then
5583 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5585 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5590 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5595 eval "$wx_cv_use_tls"
5597 if test x"$enablestring" = xdisable; then
5598 if test $wxUSE_COMPILER_TLS = no; then
5604 result=$wxUSE_COMPILER_TLS
5607 { echo "$as_me:$LINENO: result: $result" >&5
5608 echo "${ECHO_T}$result" >&6; }
5614 defaultval=$wxUSE_ALL_FEATURES
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5624 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5625 # Check whether --enable-intl was given.
5626 if test "${enable_intl+set}" = set; then
5627 enableval=$enable_intl;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_intl='wxUSE_INTL
=yes'
5631 wx_cv_use_intl='wxUSE_INTL
=no
'
5636 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5641 eval "$wx_cv_use_intl"
5643 if test x"$enablestring" = xdisable; then
5644 if test $wxUSE_INTL = no; then
5653 { echo "$as_me:$LINENO: result
: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5658 defaultval=$wxUSE_ALL_FEATURES
5659 if test -z "$defaultval"; then
5660 if test x"$enablestring" = xdisable; then
5667 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5668 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5669 # Check whether --enable-xlocale was given.
5670 if test "${enable_xlocale+set}" = set; then
5671 enableval=$enable_xlocale;
5672 if test "$enableval" = yes; then
5673 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5675 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5680 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5685 eval "$wx_cv_use_xlocale"
5687 if test x
"$enablestring" = xdisable
; then
5688 if test $wxUSE_XLOCALE = no
; then
5694 result
=$wxUSE_XLOCALE
5697 { echo "$as_me:$LINENO: result: $result" >&5
5698 echo "${ECHO_T}$result" >&6; }
5702 defaultval
=$wxUSE_ALL_FEATURES
5703 if test -z "$defaultval"; then
5704 if test x
"$enablestring" = xdisable
; then
5711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5713 # Check whether --enable-config was given.
5714 if test "${enable_config+set}" = set; then
5715 enableval
=$enable_config;
5716 if test "$enableval" = yes; then
5717 wx_cv_use_config
='wxUSE_CONFIG=yes'
5719 wx_cv_use_config
='wxUSE_CONFIG=no'
5724 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5729 eval "$wx_cv_use_config"
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_CONFIG = no; then
5738 result=$wxUSE_CONFIG
5741 { echo "$as_me:$LINENO: result: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5747 defaultval=$wxUSE_ALL_FEATURES
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5758 # Check whether --enable-protocols was given.
5759 if test "${enable_protocols+set}" = set; then
5760 enableval=$enable_protocols;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5764 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5769 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5774 eval "$wx_cv_use_protocols"
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_PROTOCOL = no; then
5783 result=$wxUSE_PROTOCOL
5786 { echo "$as_me:$LINENO: result
: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5791 defaultval=$wxUSE_ALL_FEATURES
5792 if test -z "$defaultval"; then
5793 if test x"$enablestring" = xdisable; then
5800 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5801 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5802 # Check whether --enable-ftp was given.
5803 if test "${enable_ftp+set}" = set; then
5804 enableval=$enable_ftp;
5805 if test "$enableval" = yes; then
5806 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5808 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5813 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5818 eval "$wx_cv_use_ftp"
5820 if test x
"$enablestring" = xdisable
; then
5821 if test $wxUSE_PROTOCOL_FTP = no
; then
5827 result
=$wxUSE_PROTOCOL_FTP
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5835 defaultval
=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x
"$enablestring" = xdisable
; then
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5846 # Check whether --enable-http was given.
5847 if test "${enable_http+set}" = set; then
5848 enableval
=$enable_http;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5852 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5857 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5862 eval "$wx_cv_use_http"
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_PROTOCOL_HTTP = no; then
5871 result=$wxUSE_PROTOCOL_HTTP
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5890 # Check whether --enable-fileproto was given.
5891 if test "${enable_fileproto+set}" = set; then
5892 enableval=$enable_fileproto;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5896 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5901 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5906 eval "$wx_cv_use_fileproto"
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_PROTOCOL_FILE = no; then
5915 result=$wxUSE_PROTOCOL_FILE
5918 { echo "$as_me:$LINENO: result
: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5932 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5933 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5934 # Check whether --enable-sockets was given.
5935 if test "${enable_sockets+set}" = set; then
5936 enableval=$enable_sockets;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5940 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5945 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5950 eval "$wx_cv_use_sockets"
5952 if test x
"$enablestring" = xdisable
; then
5953 if test $wxUSE_SOCKETS = no
; then
5959 result
=$wxUSE_SOCKETS
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5967 defaultval
=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x
"$enablestring" = xdisable
; then
5976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5978 # Check whether --enable-ipv6 was given.
5979 if test "${enable_ipv6+set}" = set; then
5980 enableval
=$enable_ipv6;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5984 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5989 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5994 eval "$wx_cv_use_ipv6"
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_IPV6 = no; then
6006 { echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6011 defaultval=$wxUSE_ALL_FEATURES
6012 if test -z "$defaultval"; then
6013 if test x"$enablestring" = xdisable; then
6020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6022 # Check whether --enable-ole was given.
6023 if test "${enable_ole+set}" = set; then
6024 enableval=$enable_ole;
6025 if test "$enableval" = yes; then
6026 wx_cv_use_ole='wxUSE_OLE
=yes'
6028 wx_cv_use_ole='wxUSE_OLE
=no
'
6033 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6038 eval "$wx_cv_use_ole"
6040 if test x"$enablestring" = xdisable; then
6041 if test $wxUSE_OLE = no; then
6050 { echo "$as_me:$LINENO: result
: $result" >&5
6051 echo "${ECHO_T}$result" >&6; }
6055 defaultval=$wxUSE_ALL_FEATURES
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6065 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6066 # Check whether --enable-dataobj was given.
6067 if test "${enable_dataobj+set}" = set; then
6068 enableval=$enable_dataobj;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6072 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6077 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6082 eval "$wx_cv_use_dataobj"
6084 if test x
"$enablestring" = xdisable
; then
6085 if test $wxUSE_DATAOBJ = no
; then
6091 result
=$wxUSE_DATAOBJ
6094 { echo "$as_me:$LINENO: result: $result" >&5
6095 echo "${ECHO_T}$result" >&6; }
6100 defaultval
=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x
"$enablestring" = xdisable
; then
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6111 # Check whether --enable-ipc was given.
6112 if test "${enable_ipc+set}" = set; then
6113 enableval
=$enable_ipc;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_ipc
='wxUSE_IPC=yes'
6117 wx_cv_use_ipc
='wxUSE_IPC=no'
6122 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6127 eval "$wx_cv_use_ipc"
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_IPC = no; then
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6156 # Check whether --enable-baseevtloop was given.
6157 if test "${enable_baseevtloop+set}" = set; then
6158 enableval=$enable_baseevtloop;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6162 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6167 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6172 eval "$wx_cv_use_baseevtloop"
6174 if test x"$enablestring" = xdisable; then
6175 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6181 result=$wxUSE_CONSOLE_EVENTLOOP
6184 { echo "$as_me:$LINENO: result
: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6189 defaultval=$wxUSE_ALL_FEATURES
6190 if test -z "$defaultval"; then
6191 if test x"$enablestring" = xdisable; then
6198 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6199 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6200 # Check whether --enable-epollloop was given.
6201 if test "${enable_epollloop+set}" = set; then
6202 enableval=$enable_epollloop;
6203 if test "$enableval" = yes; then
6204 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6206 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6211 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6216 eval "$wx_cv_use_epollloop"
6218 if test x
"$enablestring" = xdisable
; then
6219 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6225 result
=$wxUSE_EPOLL_DISPATCHER
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6233 defaultval
=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x
"$enablestring" = xdisable
; then
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6244 # Check whether --enable-selectloop was given.
6245 if test "${enable_selectloop+set}" = set; then
6246 enableval
=$enable_selectloop;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6250 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6255 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6260 eval "$wx_cv_use_selectloop"
6262 if test x"$enablestring" = xdisable; then
6263 if test $wxUSE_SELECT_DISPATCHER = no; then
6269 result=$wxUSE_SELECT_DISPATCHER
6272 { echo "$as_me:$LINENO: result: $result" >&5
6273 echo "${ECHO_T}$result" >&6; }
6278 defaultval=$wxUSE_ALL_FEATURES
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6288 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6289 # Check whether --enable-apple_ieee was given.
6290 if test "${enable_apple_ieee+set}" = set; then
6291 enableval=$enable_apple_ieee;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6295 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6300 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6305 eval "$wx_cv_use_apple_ieee"
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_APPLE_IEEE = no; then
6314 result=$wxUSE_APPLE_IEEE
6317 { echo "$as_me:$LINENO: result
: $result" >&5
6318 echo "${ECHO_T}$result" >&6; }
6322 defaultval=$wxUSE_ALL_FEATURES
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6332 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6333 # Check whether --enable-arcstream was given.
6334 if test "${enable_arcstream+set}" = set; then
6335 enableval=$enable_arcstream;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6339 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6344 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6349 eval "$wx_cv_use_arcstream"
6351 if test x
"$enablestring" = xdisable
; then
6352 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6358 result
=$wxUSE_ARCHIVE_STREAMS
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6366 defaultval
=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x
"$enablestring" = xdisable
; then
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6377 # Check whether --enable-base64 was given.
6378 if test "${enable_base64+set}" = set; then
6379 enableval
=$enable_base64;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_base64
='wxUSE_BASE64=yes'
6383 wx_cv_use_base64
='wxUSE_BASE64=no'
6388 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6393 eval "$wx_cv_use_base64"
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_BASE64 = no; then
6402 result=$wxUSE_BASE64
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6421 # Check whether --enable-backtrace was given.
6422 if test "${enable_backtrace+set}" = set; then
6423 enableval=$enable_backtrace;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6427 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6432 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6437 eval "$wx_cv_use_backtrace"
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_STACKWALKER = no; then
6446 result=$wxUSE_STACKWALKER
6449 { echo "$as_me:$LINENO: result
: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6463 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6464 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6465 # Check whether --enable-catch_segvs was given.
6466 if test "${enable_catch_segvs+set}" = set; then
6467 enableval=$enable_catch_segvs;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6471 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6476 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6481 eval "$wx_cv_use_catch_segvs"
6483 if test x
"$enablestring" = xdisable
; then
6484 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6490 result
=$wxUSE_ON_FATAL_EXCEPTION
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6498 defaultval
=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x
"$enablestring" = xdisable
; then
6507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6509 # Check whether --enable-cmdline was given.
6510 if test "${enable_cmdline+set}" = set; then
6511 enableval
=$enable_cmdline;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6515 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6520 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6525 eval "$wx_cv_use_cmdline"
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_CMDLINE_PARSER = no; then
6534 result=$wxUSE_CMDLINE_PARSER
6537 { echo "$as_me:$LINENO: result: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6542 defaultval=$wxUSE_ALL_FEATURES
6543 if test -z "$defaultval"; then
6544 if test x"$enablestring" = xdisable; then
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6553 # Check whether --enable-datetime was given.
6554 if test "${enable_datetime+set}" = set; then
6555 enableval=$enable_datetime;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6559 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6564 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6569 eval "$wx_cv_use_datetime"
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_DATETIME = no; then
6578 result=$wxUSE_DATETIME
6581 { echo "$as_me:$LINENO: result
: $result" >&5
6582 echo "${ECHO_T}$result" >&6; }
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6595 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6596 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6597 # Check whether --enable-debugreport was given.
6598 if test "${enable_debugreport+set}" = set; then
6599 enableval=$enable_debugreport;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6603 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6608 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6613 eval "$wx_cv_use_debugreport"
6615 if test x
"$enablestring" = xdisable
; then
6616 if test $wxUSE_DEBUGREPORT = no
; then
6622 result
=$wxUSE_DEBUGREPORT
6625 { echo "$as_me:$LINENO: result: $result" >&5
6626 echo "${ECHO_T}$result" >&6; }
6630 defaultval
=$wxUSE_ALL_FEATURES
6631 if test -z "$defaultval"; then
6632 if test x
"$enablestring" = xdisable
; then
6639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6640 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6641 # Check whether --enable-dialupman was given.
6642 if test "${enable_dialupman+set}" = set; then
6643 enableval
=$enable_dialupman;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6647 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6652 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6657 eval "$wx_cv_use_dialupman"
6659 if test x"$enablestring" = xdisable; then
6660 if test $wxUSE_DIALUP_MANAGER = no; then
6666 result=$wxUSE_DIALUP_MANAGER
6669 { echo "$as_me:$LINENO: result: $result" >&5
6670 echo "${ECHO_T}$result" >&6; }
6674 defaultval=$wxUSE_ALL_FEATURES
6675 if test -z "$defaultval"; then
6676 if test x"$enablestring" = xdisable; then
6683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6684 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6685 # Check whether --enable-dynlib was given.
6686 if test "${enable_dynlib+set}" = set; then
6687 enableval=$enable_dynlib;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6691 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6696 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6701 eval "$wx_cv_use_dynlib"
6703 if test x"$enablestring" = xdisable; then
6704 if test $wxUSE_DYNLIB_CLASS = no; then
6710 result=$wxUSE_DYNLIB_CLASS
6713 { echo "$as_me:$LINENO: result
: $result" >&5
6714 echo "${ECHO_T}$result" >&6; }
6718 defaultval=$wxUSE_ALL_FEATURES
6719 if test -z "$defaultval"; then
6720 if test x"$enablestring" = xdisable; then
6727 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6728 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6729 # Check whether --enable-dynamicloader was given.
6730 if test "${enable_dynamicloader+set}" = set; then
6731 enableval=$enable_dynamicloader;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6735 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6740 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6745 eval "$wx_cv_use_dynamicloader"
6747 if test x
"$enablestring" = xdisable
; then
6748 if test $wxUSE_DYNAMIC_LOADER = no
; then
6754 result
=$wxUSE_DYNAMIC_LOADER
6757 { echo "$as_me:$LINENO: result: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6762 defaultval
=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x
"$enablestring" = xdisable
; then
6771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6773 # Check whether --enable-exceptions was given.
6774 if test "${enable_exceptions+set}" = set; then
6775 enableval
=$enable_exceptions;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6779 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6784 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6789 eval "$wx_cv_use_exceptions"
6791 if test x"$enablestring" = xdisable; then
6792 if test $wxUSE_EXCEPTIONS = no; then
6798 result=$wxUSE_EXCEPTIONS
6801 { echo "$as_me:$LINENO: result: $result" >&5
6802 echo "${ECHO_T}$result" >&6; }
6806 defaultval=$wxUSE_ALL_FEATURES
6807 if test -z "$defaultval"; then
6808 if test x"$enablestring" = xdisable; then
6815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6817 # Check whether --enable-ffile was given.
6818 if test "${enable_ffile+set}" = set; then
6819 enableval=$enable_ffile;
6820 if test "$enableval" = yes; then
6821 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6823 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6828 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6833 eval "$wx_cv_use_ffile"
6835 if test x"$enablestring" = xdisable; then
6836 if test $wxUSE_FFILE = no; then
6845 { echo "$as_me:$LINENO: result
: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6850 defaultval=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x"$enablestring" = xdisable; then
6859 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6860 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6861 # Check whether --enable-file was given.
6862 if test "${enable_file+set}" = set; then
6863 enableval=$enable_file;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_file='wxUSE_FILE=yes'
6867 wx_cv_use_file='wxUSE_FILE=no'
6872 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6877 eval "$wx_cv_use_file"
6879 if test x
"$enablestring" = xdisable
; then
6880 if test $wxUSE_FILE = no
; then
6889 { echo "$as_me:$LINENO: result: $result" >&5
6890 echo "${ECHO_T}$result" >&6; }
6894 defaultval
=$wxUSE_ALL_FEATURES
6895 if test -z "$defaultval"; then
6896 if test x
"$enablestring" = xdisable
; then
6903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6905 # Check whether --enable-filesystem was given.
6906 if test "${enable_filesystem+set}" = set; then
6907 enableval
=$enable_filesystem;
6908 if test "$enableval" = yes; then
6909 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6911 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6916 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6921 eval "$wx_cv_use_filesystem"
6923 if test x"$enablestring" = xdisable; then
6924 if test $wxUSE_FILESYSTEM = no; then
6930 result=$wxUSE_FILESYSTEM
6933 { echo "$as_me:$LINENO: result: $result" >&5
6934 echo "${ECHO_T}$result" >&6; }
6938 defaultval=$wxUSE_ALL_FEATURES
6939 if test -z "$defaultval"; then
6940 if test x"$enablestring" = xdisable; then
6947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6948 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6949 # Check whether --enable-fontenum was given.
6950 if test "${enable_fontenum+set}" = set; then
6951 enableval=$enable_fontenum;
6952 if test "$enableval" = yes; then
6953 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6955 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6960 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6965 eval "$wx_cv_use_fontenum"
6967 if test x"$enablestring" = xdisable; then
6968 if test $wxUSE_FONTENUM = no; then
6974 result=$wxUSE_FONTENUM
6977 { echo "$as_me:$LINENO: result
: $result" >&5
6978 echo "${ECHO_T}$result" >&6; }
6982 defaultval=$wxUSE_ALL_FEATURES
6983 if test -z "$defaultval"; then
6984 if test x"$enablestring" = xdisable; then
6991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6992 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6993 # Check whether --enable-fontmap was given.
6994 if test "${enable_fontmap+set}" = set; then
6995 enableval=$enable_fontmap;
6996 if test "$enableval" = yes; then
6997 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6999 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7004 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7009 eval "$wx_cv_use_fontmap"
7011 if test x
"$enablestring" = xdisable
; then
7012 if test $wxUSE_FONTMAP = no
; then
7018 result
=$wxUSE_FONTMAP
7021 { echo "$as_me:$LINENO: result: $result" >&5
7022 echo "${ECHO_T}$result" >&6; }
7026 defaultval
=$wxUSE_ALL_FEATURES
7027 if test -z "$defaultval"; then
7028 if test x
"$enablestring" = xdisable
; then
7035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7036 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7037 # Check whether --enable-fs_archive was given.
7038 if test "${enable_fs_archive+set}" = set; then
7039 enableval
=$enable_fs_archive;
7040 if test "$enableval" = yes; then
7041 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7043 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7048 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7053 eval "$wx_cv_use_fs_archive"
7055 if test x"$enablestring" = xdisable; then
7056 if test $wxUSE_FS_ARCHIVE = no; then
7062 result=$wxUSE_FS_ARCHIVE
7065 { echo "$as_me:$LINENO: result: $result" >&5
7066 echo "${ECHO_T}$result" >&6; }
7070 defaultval=$wxUSE_ALL_FEATURES
7071 if test -z "$defaultval"; then
7072 if test x"$enablestring" = xdisable; then
7079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7080 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7081 # Check whether --enable-fs_inet was given.
7082 if test "${enable_fs_inet+set}" = set; then
7083 enableval=$enable_fs_inet;
7084 if test "$enableval" = yes; then
7085 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7087 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7092 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7097 eval "$wx_cv_use_fs_inet"
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_FS_INET = no; then
7106 result=$wxUSE_FS_INET
7109 { echo "$as_me:$LINENO: result
: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7124 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7125 # Check whether --enable-fs_zip was given.
7126 if test "${enable_fs_zip+set}" = set; then
7127 enableval=$enable_fs_zip;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7131 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7136 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7141 eval "$wx_cv_use_fs_zip"
7143 if test x
"$enablestring" = xdisable
; then
7144 if test $wxUSE_FS_ZIP = no
; then
7150 result
=$wxUSE_FS_ZIP
7153 { echo "$as_me:$LINENO: result: $result" >&5
7154 echo "${ECHO_T}$result" >&6; }
7158 defaultval
=$wxUSE_ALL_FEATURES
7159 if test -z "$defaultval"; then
7160 if test x
"$enablestring" = xdisable
; then
7167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7169 # Check whether --enable-geometry was given.
7170 if test "${enable_geometry+set}" = set; then
7171 enableval
=$enable_geometry;
7172 if test "$enableval" = yes; then
7173 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7175 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7180 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7185 eval "$wx_cv_use_geometry"
7187 if test x"$enablestring" = xdisable; then
7188 if test $wxUSE_GEOMETRY = no; then
7194 result=$wxUSE_GEOMETRY
7197 { echo "$as_me:$LINENO: result: $result" >&5
7198 echo "${ECHO_T}$result" >&6; }
7202 defaultval=$wxUSE_ALL_FEATURES
7203 if test -z "$defaultval"; then
7204 if test x"$enablestring" = xdisable; then
7211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7213 # Check whether --enable-log was given.
7214 if test "${enable_log+set}" = set; then
7215 enableval=$enable_log;
7216 if test "$enableval" = yes; then
7217 wx_cv_use_log='wxUSE_LOG
=yes'
7219 wx_cv_use_log='wxUSE_LOG
=no
'
7224 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7229 eval "$wx_cv_use_log"
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_LOG = no; then
7241 { echo "$as_me:$LINENO: result
: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7255 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7256 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7257 # Check whether --enable-longlong was given.
7258 if test "${enable_longlong+set}" = set; then
7259 enableval=$enable_longlong;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7263 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7268 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7273 eval "$wx_cv_use_longlong"
7275 if test x
"$enablestring" = xdisable
; then
7276 if test $wxUSE_LONGLONG = no
; then
7282 result
=$wxUSE_LONGLONG
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7290 defaultval
=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x
"$enablestring" = xdisable
; then
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7301 # Check whether --enable-mimetype was given.
7302 if test "${enable_mimetype+set}" = set; then
7303 enableval
=$enable_mimetype;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7307 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7312 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7317 eval "$wx_cv_use_mimetype"
7319 if test x"$enablestring" = xdisable; then
7320 if test $wxUSE_MIMETYPE = no; then
7326 result=$wxUSE_MIMETYPE
7329 { echo "$as_me:$LINENO: result: $result" >&5
7330 echo "${ECHO_T}$result" >&6; }
7334 defaultval=$wxUSE_ALL_FEATURES
7335 if test -z "$defaultval"; then
7336 if test x"$enablestring" = xdisable; then
7343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7345 # Check whether --enable-printfposparam was given.
7346 if test "${enable_printfposparam+set}" = set; then
7347 enableval=$enable_printfposparam;
7348 if test "$enableval" = yes; then
7349 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7351 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7356 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7361 eval "$wx_cv_use_printfposparam"
7363 if test x"$enablestring" = xdisable; then
7364 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7370 result=$wxUSE_PRINTF_POS_PARAMS
7373 { echo "$as_me:$LINENO: result
: $result" >&5
7374 echo "${ECHO_T}$result" >&6; }
7378 defaultval=$wxUSE_ALL_FEATURES
7379 if test -z "$defaultval"; then
7380 if test x"$enablestring" = xdisable; then
7387 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7388 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7389 # Check whether --enable-snglinst was given.
7390 if test "${enable_snglinst+set}" = set; then
7391 enableval=$enable_snglinst;
7392 if test "$enableval" = yes; then
7393 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7395 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7400 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7405 eval "$wx_cv_use_snglinst"
7407 if test x
"$enablestring" = xdisable
; then
7408 if test $wxUSE_SNGLINST_CHECKER = no
; then
7414 result
=$wxUSE_SNGLINST_CHECKER
7417 { echo "$as_me:$LINENO: result: $result" >&5
7418 echo "${ECHO_T}$result" >&6; }
7422 defaultval
=$wxUSE_ALL_FEATURES
7423 if test -z "$defaultval"; then
7424 if test x
"$enablestring" = xdisable
; then
7431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7433 # Check whether --enable-sound was given.
7434 if test "${enable_sound+set}" = set; then
7435 enableval
=$enable_sound;
7436 if test "$enableval" = yes; then
7437 wx_cv_use_sound
='wxUSE_SOUND=yes'
7439 wx_cv_use_sound
='wxUSE_SOUND=no'
7444 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7449 eval "$wx_cv_use_sound"
7451 if test x"$enablestring" = xdisable; then
7452 if test $wxUSE_SOUND = no; then
7461 { echo "$as_me:$LINENO: result: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7466 defaultval=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x"$enablestring" = xdisable; then
7475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7477 # Check whether --enable-stdpaths was given.
7478 if test "${enable_stdpaths+set}" = set; then
7479 enableval=$enable_stdpaths;
7480 if test "$enableval" = yes; then
7481 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7483 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7488 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7493 eval "$wx_cv_use_stdpaths"
7495 if test x"$enablestring" = xdisable; then
7496 if test $wxUSE_STDPATHS = no; then
7502 result=$wxUSE_STDPATHS
7505 { echo "$as_me:$LINENO: result
: $result" >&5
7506 echo "${ECHO_T}$result" >&6; }
7510 defaultval=$wxUSE_ALL_FEATURES
7511 if test -z "$defaultval"; then
7512 if test x"$enablestring" = xdisable; then
7519 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7520 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7521 # Check whether --enable-stopwatch was given.
7522 if test "${enable_stopwatch+set}" = set; then
7523 enableval=$enable_stopwatch;
7524 if test "$enableval" = yes; then
7525 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7527 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7532 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7537 eval "$wx_cv_use_stopwatch"
7539 if test x
"$enablestring" = xdisable
; then
7540 if test $wxUSE_STOPWATCH = no
; then
7546 result
=$wxUSE_STOPWATCH
7549 { echo "$as_me:$LINENO: result: $result" >&5
7550 echo "${ECHO_T}$result" >&6; }
7554 defaultval
=$wxUSE_ALL_FEATURES
7555 if test -z "$defaultval"; then
7556 if test x
"$enablestring" = xdisable
; then
7563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7565 # Check whether --enable-streams was given.
7566 if test "${enable_streams+set}" = set; then
7567 enableval
=$enable_streams;
7568 if test "$enableval" = yes; then
7569 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7571 wx_cv_use_streams
='wxUSE_STREAMS=no'
7576 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7581 eval "$wx_cv_use_streams"
7583 if test x"$enablestring" = xdisable; then
7584 if test $wxUSE_STREAMS = no; then
7590 result=$wxUSE_STREAMS
7593 { echo "$as_me:$LINENO: result: $result" >&5
7594 echo "${ECHO_T}$result" >&6; }
7598 defaultval=$wxUSE_ALL_FEATURES
7599 if test -z "$defaultval"; then
7600 if test x"$enablestring" = xdisable; then
7607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7609 # Check whether --enable-system_options was given.
7610 if test "${enable_system_options+set}" = set; then
7611 enableval=$enable_system_options;
7612 if test "$enableval" = yes; then
7613 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7615 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7620 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7625 eval "$wx_cv_use_system_options"
7627 if test x"$enablestring" = xdisable; then
7628 if test $wxUSE_SYSTEM_OPTIONS = no; then
7634 result=$wxUSE_SYSTEM_OPTIONS
7637 { echo "$as_me:$LINENO: result
: $result" >&5
7638 echo "${ECHO_T}$result" >&6; }
7642 defaultval=$wxUSE_ALL_FEATURES
7643 if test -z "$defaultval"; then
7644 if test x"$enablestring" = xdisable; then
7651 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7652 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7653 # Check whether --enable-tarstream was given.
7654 if test "${enable_tarstream+set}" = set; then
7655 enableval=$enable_tarstream;
7656 if test "$enableval" = yes; then
7657 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7659 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7664 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7669 eval "$wx_cv_use_tarstream"
7671 if test x
"$enablestring" = xdisable
; then
7672 if test $wxUSE_TARSTREAM = no
; then
7678 result
=$wxUSE_TARSTREAM
7681 { echo "$as_me:$LINENO: result: $result" >&5
7682 echo "${ECHO_T}$result" >&6; }
7686 defaultval
=$wxUSE_ALL_FEATURES
7687 if test -z "$defaultval"; then
7688 if test x
"$enablestring" = xdisable
; then
7695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7696 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7697 # Check whether --enable-textbuf was given.
7698 if test "${enable_textbuf+set}" = set; then
7699 enableval
=$enable_textbuf;
7700 if test "$enableval" = yes; then
7701 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7703 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7708 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7713 eval "$wx_cv_use_textbuf"
7715 if test x"$enablestring" = xdisable; then
7716 if test $wxUSE_TEXTBUFFER = no; then
7722 result=$wxUSE_TEXTBUFFER
7725 { echo "$as_me:$LINENO: result: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7730 defaultval=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x"$enablestring" = xdisable; then
7739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7741 # Check whether --enable-textfile was given.
7742 if test "${enable_textfile+set}" = set; then
7743 enableval=$enable_textfile;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7747 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7752 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7757 eval "$wx_cv_use_textfile"
7759 if test x"$enablestring" = xdisable; then
7760 if test $wxUSE_TEXTFILE = no; then
7766 result=$wxUSE_TEXTFILE
7769 { echo "$as_me:$LINENO: result
: $result" >&5
7770 echo "${ECHO_T}$result" >&6; }
7774 defaultval=$wxUSE_ALL_FEATURES
7775 if test -z "$defaultval"; then
7776 if test x"$enablestring" = xdisable; then
7783 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7784 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7785 # Check whether --enable-timer was given.
7786 if test "${enable_timer+set}" = set; then
7787 enableval=$enable_timer;
7788 if test "$enableval" = yes; then
7789 wx_cv_use_timer='wxUSE_TIMER=yes'
7791 wx_cv_use_timer='wxUSE_TIMER=no'
7796 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7801 eval "$wx_cv_use_timer"
7803 if test x
"$enablestring" = xdisable
; then
7804 if test $wxUSE_TIMER = no
; then
7813 { echo "$as_me:$LINENO: result: $result" >&5
7814 echo "${ECHO_T}$result" >&6; }
7818 defaultval
=$wxUSE_ALL_FEATURES
7819 if test -z "$defaultval"; then
7820 if test x
"$enablestring" = xdisable
; then
7827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7829 # Check whether --enable-variant was given.
7830 if test "${enable_variant+set}" = set; then
7831 enableval
=$enable_variant;
7832 if test "$enableval" = yes; then
7833 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7835 wx_cv_use_variant
='wxUSE_VARIANT=no'
7840 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7845 eval "$wx_cv_use_variant"
7847 if test x"$enablestring" = xdisable; then
7848 if test $wxUSE_VARIANT = no; then
7854 result=$wxUSE_VARIANT
7857 { echo "$as_me:$LINENO: result: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7862 defaultval=$wxUSE_ALL_FEATURES
7863 if test -z "$defaultval"; then
7864 if test x"$enablestring" = xdisable; then
7871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7873 # Check whether --enable-zipstream was given.
7874 if test "${enable_zipstream+set}" = set; then
7875 enableval=$enable_zipstream;
7876 if test "$enableval" = yes; then
7877 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7879 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7884 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7889 eval "$wx_cv_use_zipstream"
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_ZIPSTREAM = no; then
7898 result=$wxUSE_ZIPSTREAM
7901 { echo "$as_me:$LINENO: result
: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7916 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7917 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7918 # Check whether --enable-url was given.
7919 if test "${enable_url+set}" = set; then
7920 enableval=$enable_url;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_url='wxUSE_URL=yes'
7924 wx_cv_use_url='wxUSE_URL=no'
7929 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7934 eval "$wx_cv_use_url"
7936 if test x
"$enablestring" = xdisable
; then
7937 if test $wxUSE_URL = no
; then
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7951 defaultval
=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x
"$enablestring" = xdisable
; then
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7962 # Check whether --enable-protocol was given.
7963 if test "${enable_protocol+set}" = set; then
7964 enableval
=$enable_protocol;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7968 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7973 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7978 eval "$wx_cv_use_protocol"
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_PROTOCOL = no; then
7987 result=$wxUSE_PROTOCOL
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8006 # Check whether --enable-protocol_http was given.
8007 if test "${enable_protocol_http+set}" = set; then
8008 enableval=$enable_protocol_http;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8012 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8022 eval "$wx_cv_use_protocol_http"
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_PROTOCOL_HTTP = no; then
8031 result=$wxUSE_PROTOCOL_HTTP
8034 { echo "$as_me:$LINENO: result
: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8048 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8049 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8050 # Check whether --enable-protocol_ftp was given.
8051 if test "${enable_protocol_ftp+set}" = set; then
8052 enableval=$enable_protocol_ftp;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8056 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8066 eval "$wx_cv_use_protocol_ftp"
8068 if test x
"$enablestring" = xdisable
; then
8069 if test $wxUSE_PROTOCOL_FTP = no
; then
8075 result
=$wxUSE_PROTOCOL_FTP
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8083 defaultval
=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x
"$enablestring" = xdisable
; then
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8094 # Check whether --enable-protocol_file was given.
8095 if test "${enable_protocol_file+set}" = set; then
8096 enableval
=$enable_protocol_file;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8100 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8105 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8110 eval "$wx_cv_use_protocol_file"
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_PROTOCOL_FILE = no; then
8119 result=$wxUSE_PROTOCOL_FILE
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8139 # Check whether --enable-threads was given.
8140 if test "${enable_threads+set}" = set; then
8141 enableval=$enable_threads;
8142 if test "$enableval" = yes; then
8143 wx_cv_use_threads='wxUSE_THREADS
=yes'
8145 wx_cv_use_threads='wxUSE_THREADS
=no
'
8150 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8155 eval "$wx_cv_use_threads"
8157 if test x"$enablestring" = xdisable; then
8158 if test $wxUSE_THREADS = no; then
8164 result=$wxUSE_THREADS
8167 { echo "$as_me:$LINENO: result
: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8182 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8183 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8184 # Check whether --enable-iniconf was given.
8185 if test "${enable_iniconf+set}" = set; then
8186 enableval=$enable_iniconf;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8190 wx_cv_use_iniconf='wxUSE_INICONF=no'
8195 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8200 eval "$wx_cv_use_iniconf"
8202 if test x
"$enablestring" = xdisable
; then
8203 if test $wxUSE_INICONF = no
; then
8209 result
=$wxUSE_INICONF
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8217 defaultval
=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x
"$enablestring" = xdisable
; then
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8228 # Check whether --enable-regkey was given.
8229 if test "${enable_regkey+set}" = set; then
8230 enableval
=$enable_regkey;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8234 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8239 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8244 eval "$wx_cv_use_regkey"
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_REGKEY = no; then
8253 result=$wxUSE_REGKEY
8256 { echo "$as_me:$LINENO: result: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8260 if test "$wxUSE_GUI" = "yes"; then
8265 defaultval=$wxUSE_ALL_FEATURES
8266 if test -z "$defaultval"; then
8267 if test x"$enablestring" = xdisable; then
8274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8276 # Check whether --enable-docview was given.
8277 if test "${enable_docview+set}" = set; then
8278 enableval=$enable_docview;
8279 if test "$enableval" = yes; then
8280 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8282 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8292 eval "$wx_cv_use_docview"
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8301 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8304 { echo "$as_me:$LINENO: result
: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8318 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8319 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8320 # Check whether --enable-help was given.
8321 if test "${enable_help+set}" = set; then
8322 enableval=$enable_help;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_help='wxUSE_HELP=yes'
8326 wx_cv_use_help='wxUSE_HELP=no'
8331 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8336 eval "$wx_cv_use_help"
8338 if test x
"$enablestring" = xdisable
; then
8339 if test $wxUSE_HELP = no
; then
8348 { echo "$as_me:$LINENO: result: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8353 defaultval
=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x
"$enablestring" = xdisable
; then
8362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8364 # Check whether --enable-mshtmlhelp was given.
8365 if test "${enable_mshtmlhelp+set}" = set; then
8366 enableval
=$enable_mshtmlhelp;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8370 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8375 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8380 eval "$wx_cv_use_mshtmlhelp"
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_MS_HTML_HELP = no; then
8389 result=$wxUSE_MS_HTML_HELP
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8408 # Check whether --enable-html was given.
8409 if test "${enable_html+set}" = set; then
8410 enableval=$enable_html;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_html='wxUSE_HTML
=yes'
8414 wx_cv_use_html='wxUSE_HTML
=no
'
8419 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8424 eval "$wx_cv_use_html"
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_HTML = no; then
8436 { echo "$as_me:$LINENO: result
: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8450 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8451 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8452 # Check whether --enable-htmlhelp was given.
8453 if test "${enable_htmlhelp+set}" = set; then
8454 enableval=$enable_htmlhelp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8458 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8468 eval "$wx_cv_use_htmlhelp"
8470 if test x
"$enablestring" = xdisable
; then
8471 if test $wxUSE_WXHTML_HELP = no
; then
8477 result
=$wxUSE_WXHTML_HELP
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8485 defaultval
=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x
"$enablestring" = xdisable
; then
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8496 # Check whether --enable-xrc was given.
8497 if test "${enable_xrc+set}" = set; then
8498 enableval
=$enable_xrc;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_xrc
='wxUSE_XRC=yes'
8502 wx_cv_use_xrc
='wxUSE_XRC=no'
8507 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8512 eval "$wx_cv_use_xrc"
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_XRC = no; then
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8529 defaultval=$wxUSE_ALL_FEATURES
8530 if test -z "$defaultval"; then
8531 if test x"$enablestring" = xdisable; then
8538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8540 # Check whether --enable-aui was given.
8541 if test "${enable_aui+set}" = set; then
8542 enableval=$enable_aui;
8543 if test "$enableval" = yes; then
8544 wx_cv_use_aui='wxUSE_AUI
=yes'
8546 wx_cv_use_aui='wxUSE_AUI
=no
'
8551 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8556 eval "$wx_cv_use_aui"
8558 if test x"$enablestring" = xdisable; then
8559 if test $wxUSE_AUI = no; then
8568 { echo "$as_me:$LINENO: result
: $result" >&5
8569 echo "${ECHO_T}$result" >&6; }
8573 defaultval=$wxUSE_ALL_FEATURES
8574 if test -z "$defaultval"; then
8575 if test x"$enablestring" = xdisable; then
8582 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8583 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8584 # Check whether --enable-propgrid was given.
8585 if test "${enable_propgrid+set}" = set; then
8586 enableval=$enable_propgrid;
8587 if test "$enableval" = yes; then
8588 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8590 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8595 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8600 eval "$wx_cv_use_propgrid"
8602 if test x
"$enablestring" = xdisable
; then
8603 if test $wxUSE_PROPGRID = no
; then
8609 result
=$wxUSE_PROPGRID
8612 { echo "$as_me:$LINENO: result: $result" >&5
8613 echo "${ECHO_T}$result" >&6; }
8617 defaultval
=$wxUSE_ALL_FEATURES
8618 if test -z "$defaultval"; then
8619 if test x
"$enablestring" = xdisable
; then
8626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8628 # Check whether --enable-ribbon was given.
8629 if test "${enable_ribbon+set}" = set; then
8630 enableval
=$enable_ribbon;
8631 if test "$enableval" = yes; then
8632 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8634 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8639 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8644 eval "$wx_cv_use_ribbon"
8646 if test x"$enablestring" = xdisable; then
8647 if test $wxUSE_RIBBON = no; then
8653 result=$wxUSE_RIBBON
8656 { echo "$as_me:$LINENO: result: $result" >&5
8657 echo "${ECHO_T}$result" >&6; }
8661 defaultval=$wxUSE_ALL_FEATURES
8662 if test -z "$defaultval"; then
8663 if test x"$enablestring" = xdisable; then
8670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8672 # Check whether --enable-stc was given.
8673 if test "${enable_stc+set}" = set; then
8674 enableval=$enable_stc;
8675 if test "$enableval" = yes; then
8676 wx_cv_use_stc='wxUSE_STC
=yes'
8678 wx_cv_use_stc='wxUSE_STC
=no
'
8683 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8688 eval "$wx_cv_use_stc"
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_STC = no; then
8700 { echo "$as_me:$LINENO: result
: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8714 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8715 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8716 # Check whether --enable-constraints was given.
8717 if test "${enable_constraints+set}" = set; then
8718 enableval=$enable_constraints;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8722 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8727 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8732 eval "$wx_cv_use_constraints"
8734 if test x
"$enablestring" = xdisable
; then
8735 if test $wxUSE_CONSTRAINTS = no
; then
8741 result
=$wxUSE_CONSTRAINTS
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8749 defaultval
=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x
"$enablestring" = xdisable
; then
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8760 # Check whether --enable-loggui was given.
8761 if test "${enable_loggui+set}" = set; then
8762 enableval
=$enable_loggui;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8766 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8771 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8776 eval "$wx_cv_use_loggui"
8778 if test x"$enablestring" = xdisable; then
8779 if test $wxUSE_LOGGUI = no; then
8785 result=$wxUSE_LOGGUI
8788 { echo "$as_me:$LINENO: result: $result" >&5
8789 echo "${ECHO_T}$result" >&6; }
8793 defaultval=$wxUSE_ALL_FEATURES
8794 if test -z "$defaultval"; then
8795 if test x"$enablestring" = xdisable; then
8802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8804 # Check whether --enable-logwin was given.
8805 if test "${enable_logwin+set}" = set; then
8806 enableval=$enable_logwin;
8807 if test "$enableval" = yes; then
8808 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
8810 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
8815 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8820 eval "$wx_cv_use_logwin"
8822 if test x"$enablestring" = xdisable; then
8823 if test $wxUSE_LOGWINDOW = no; then
8829 result=$wxUSE_LOGWINDOW
8832 { echo "$as_me:$LINENO: result
: $result" >&5
8833 echo "${ECHO_T}$result" >&6; }
8837 defaultval=$wxUSE_ALL_FEATURES
8838 if test -z "$defaultval"; then
8839 if test x"$enablestring" = xdisable; then
8846 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
8847 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
8848 # Check whether --enable-logdialog was given.
8849 if test "${enable_logdialog+set}" = set; then
8850 enableval=$enable_logdialog;
8851 if test "$enableval" = yes; then
8852 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8854 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8859 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8864 eval "$wx_cv_use_logdialog"
8866 if test x
"$enablestring" = xdisable
; then
8867 if test $wxUSE_LOGDIALOG = no
; then
8873 result
=$wxUSE_LOGDIALOG
8876 { echo "$as_me:$LINENO: result: $result" >&5
8877 echo "${ECHO_T}$result" >&6; }
8881 defaultval
=$wxUSE_ALL_FEATURES
8882 if test -z "$defaultval"; then
8883 if test x
"$enablestring" = xdisable
; then
8890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8892 # Check whether --enable-mdi was given.
8893 if test "${enable_mdi+set}" = set; then
8894 enableval
=$enable_mdi;
8895 if test "$enableval" = yes; then
8896 wx_cv_use_mdi
='wxUSE_MDI=yes'
8898 wx_cv_use_mdi
='wxUSE_MDI=no'
8903 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8908 eval "$wx_cv_use_mdi"
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_MDI = no; then
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8936 # Check whether --enable-mdidoc was given.
8937 if test "${enable_mdidoc+set}" = set; then
8938 enableval=$enable_mdidoc;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
8942 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
8947 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8952 eval "$wx_cv_use_mdidoc"
8954 if test x"$enablestring" = xdisable; then
8955 if test $wxUSE_MDI_ARCHITECTURE = no; then
8961 result=$wxUSE_MDI_ARCHITECTURE
8964 { echo "$as_me:$LINENO: result
: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8969 defaultval=$wxUSE_ALL_FEATURES
8970 if test -z "$defaultval"; then
8971 if test x"$enablestring" = xdisable; then
8978 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8979 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8980 # Check whether --enable-mediactrl was given.
8981 if test "${enable_mediactrl+set}" = set; then
8982 enableval=$enable_mediactrl;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8986 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8991 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8996 eval "$wx_cv_use_mediactrl"
8998 if test x
"$enablestring" = xdisable
; then
8999 if test $wxUSE_MEDIACTRL = no
; then
9005 result
=$wxUSE_MEDIACTRL
9008 { echo "$as_me:$LINENO: result: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9013 defaultval
=$wxUSE_ALL_FEATURES
9014 if test -z "$defaultval"; then
9015 if test x
"$enablestring" = xdisable
; then
9022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9024 # Check whether --enable-gstreamer8 was given.
9025 if test "${enable_gstreamer8+set}" = set; then
9026 enableval
=$enable_gstreamer8;
9027 if test "$enableval" = yes; then
9028 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9030 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9035 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9040 eval "$wx_cv_use_gstreamer8"
9042 if test x"$enablestring" = xdisable; then
9043 if test $wxUSE_GSTREAMER8 = no; then
9049 result=$wxUSE_GSTREAMER8
9052 { echo "$as_me:$LINENO: result: $result" >&5
9053 echo "${ECHO_T}$result" >&6; }
9057 defaultval=$wxUSE_ALL_FEATURES
9058 if test -z "$defaultval"; then
9059 if test x"$enablestring" = xdisable; then
9066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9068 # Check whether --enable-webkit was given.
9069 if test "${enable_webkit+set}" = set; then
9070 enableval=$enable_webkit;
9071 if test "$enableval" = yes; then
9072 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9074 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9079 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9084 eval "$wx_cv_use_webkit"
9086 if test x"$enablestring" = xdisable; then
9087 if test $wxUSE_WEBKIT = no; then
9093 result=$wxUSE_WEBKIT
9096 { echo "$as_me:$LINENO: result
: $result" >&5
9097 echo "${ECHO_T}$result" >&6; }
9101 defaultval=$wxUSE_ALL_FEATURES
9102 if test -z "$defaultval"; then
9103 if test x"$enablestring" = xdisable; then
9110 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9111 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9112 # Check whether --enable-richtext was given.
9113 if test "${enable_richtext+set}" = set; then
9114 enableval=$enable_richtext;
9115 if test "$enableval" = yes; then
9116 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9118 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9123 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9128 eval "$wx_cv_use_richtext"
9130 if test x
"$enablestring" = xdisable
; then
9131 if test $wxUSE_RICHTEXT = no
; then
9137 result
=$wxUSE_RICHTEXT
9140 { echo "$as_me:$LINENO: result: $result" >&5
9141 echo "${ECHO_T}$result" >&6; }
9145 defaultval
=$wxUSE_ALL_FEATURES
9146 if test -z "$defaultval"; then
9147 if test x
"$enablestring" = xdisable
; then
9154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9156 # Check whether --enable-graphics_ctx was given.
9157 if test "${enable_graphics_ctx+set}" = set; then
9158 enableval
=$enable_graphics_ctx;
9159 if test "$enableval" = yes; then
9160 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9162 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9167 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9172 eval "$wx_cv_use_graphics_ctx"
9174 if test x"$enablestring" = xdisable; then
9175 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9181 result=$wxUSE_GRAPHICS_CONTEXT
9184 { echo "$as_me:$LINENO: result: $result" >&5
9185 echo "${ECHO_T}$result" >&6; }
9189 defaultval=$wxUSE_ALL_FEATURES
9190 if test -z "$defaultval"; then
9191 if test x"$enablestring" = xdisable; then
9198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9200 # Check whether --enable-postscript was given.
9201 if test "${enable_postscript+set}" = set; then
9202 enableval=$enable_postscript;
9203 if test "$enableval" = yes; then
9204 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9206 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9211 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9216 eval "$wx_cv_use_postscript"
9218 if test x"$enablestring" = xdisable; then
9219 if test $wxUSE_POSTSCRIPT = no; then
9225 result=$wxUSE_POSTSCRIPT
9228 { echo "$as_me:$LINENO: result
: $result" >&5
9229 echo "${ECHO_T}$result" >&6; }
9233 defaultval=$wxUSE_ALL_FEATURES
9234 if test -z "$defaultval"; then
9235 if test x"$enablestring" = xdisable; then
9242 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9243 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9244 # Check whether --enable-printarch was given.
9245 if test "${enable_printarch+set}" = set; then
9246 enableval=$enable_printarch;
9247 if test "$enableval" = yes; then
9248 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9250 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9255 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9260 eval "$wx_cv_use_printarch"
9262 if test x
"$enablestring" = xdisable
; then
9263 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9269 result
=$wxUSE_PRINTING_ARCHITECTURE
9272 { echo "$as_me:$LINENO: result: $result" >&5
9273 echo "${ECHO_T}$result" >&6; }
9277 defaultval
=$wxUSE_ALL_FEATURES
9278 if test -z "$defaultval"; then
9279 if test x
"$enablestring" = xdisable
; then
9286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9288 # Check whether --enable-svg was given.
9289 if test "${enable_svg+set}" = set; then
9290 enableval
=$enable_svg;
9291 if test "$enableval" = yes; then
9292 wx_cv_use_svg
='wxUSE_SVG=yes'
9294 wx_cv_use_svg
='wxUSE_SVG=no'
9299 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9304 eval "$wx_cv_use_svg"
9306 if test x"$enablestring" = xdisable; then
9307 if test $wxUSE_SVG = no; then
9316 { echo "$as_me:$LINENO: result: $result" >&5
9317 echo "${ECHO_T}$result" >&6; }
9323 defaultval=$wxUSE_ALL_FEATURES
9324 if test -z "$defaultval"; then
9325 if test x"$enablestring" = xdisable; then
9332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9334 # Check whether --enable-clipboard was given.
9335 if test "${enable_clipboard+set}" = set; then
9336 enableval=$enable_clipboard;
9337 if test "$enableval" = yes; then
9338 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9340 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9345 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9350 eval "$wx_cv_use_clipboard"
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_CLIPBOARD = no; then
9359 result=$wxUSE_CLIPBOARD
9362 { echo "$as_me:$LINENO: result
: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9367 defaultval=$wxUSE_ALL_FEATURES
9368 if test -z "$defaultval"; then
9369 if test x"$enablestring" = xdisable; then
9376 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9377 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9378 # Check whether --enable-dnd was given.
9379 if test "${enable_dnd+set}" = set; then
9380 enableval=$enable_dnd;
9381 if test "$enableval" = yes; then
9382 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9384 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9389 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9394 eval "$wx_cv_use_dnd"
9396 if test x
"$enablestring" = xdisable
; then
9397 if test $wxUSE_DRAG_AND_DROP = no
; then
9403 result
=$wxUSE_DRAG_AND_DROP
9406 { echo "$as_me:$LINENO: result: $result" >&5
9407 echo "${ECHO_T}$result" >&6; }
9411 defaultval
=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x
"$enablestring" = xdisable
; then
9420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9422 # Check whether --enable-metafile was given.
9423 if test "${enable_metafile+set}" = set; then
9424 enableval
=$enable_metafile;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9428 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9433 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9438 eval "$wx_cv_use_metafile"
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_METAFILE = no; then
9447 result=$wxUSE_METAFILE
9450 { echo "$as_me:$LINENO: result: $result" >&5
9451 echo "${ECHO_T}$result" >&6; }
9455 DEFAULT_wxUSE_CONTROLS=none
9457 enablestring=disable
9459 if test -z "$defaultval"; then
9460 if test x"$enablestring" = xdisable; then
9467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9469 # Check whether --enable-controls was given.
9470 if test "${enable_controls+set}" = set; then
9471 enableval=$enable_controls;
9472 if test "$enableval" = yes; then
9473 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9475 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9480 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9485 eval "$wx_cv_use_controls"
9487 if test x"$enablestring" = xdisable; then
9488 if test $wxUSE_CONTROLS = no; then
9494 result=$wxUSE_CONTROLS
9497 { echo "$as_me:$LINENO: result
: $result" >&5
9498 echo "${ECHO_T}$result" >&6; }
9501 if test "$wxUSE_CONTROLS" = "no
"; then
9502 DEFAULT_wxUSE_ACCEL=no
9503 DEFAULT_wxUSE_ANIMATIONCTRL=no
9504 DEFAULT_wxUSE_BMPBUTTON=no
9505 DEFAULT_wxUSE_BUTTON=no
9506 DEFAULT_wxUSE_CALCTRL=no
9507 DEFAULT_wxUSE_CARET=no
9508 DEFAULT_wxUSE_CHECKBOX=no
9509 DEFAULT_wxUSE_CHECKLISTBOX=no
9510 DEFAULT_wxUSE_CHOICE=no
9511 DEFAULT_wxUSE_CHOICEBOOK=no
9512 DEFAULT_wxUSE_COLLPANE=no
9513 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9514 DEFAULT_wxUSE_COMBOBOX=no
9515 DEFAULT_wxUSE_COMBOBOX=no
9516 DEFAULT_wxUSE_DATAVIEWCTRL=no
9517 DEFAULT_wxUSE_DATEPICKCTRL=no
9518 DEFAULT_wxUSE_DETECT_SM=no
9519 DEFAULT_wxUSE_DIRPICKERCTRL=no
9520 DEFAULT_wxUSE_DISPLAY=no
9521 DEFAULT_wxUSE_FILECTRL=no
9522 DEFAULT_wxUSE_FILEPICKERCTRL=no
9523 DEFAULT_wxUSE_FONTPICKERCTRL=no
9524 DEFAULT_wxUSE_GAUGE=no
9525 DEFAULT_wxUSE_GRID=no
9526 DEFAULT_wxUSE_HEADERCTRL=no
9527 DEFAULT_wxUSE_HYPERLINKCTRL=no
9528 DEFAULT_wxUSE_IMAGLIST=no
9529 DEFAULT_wxUSE_LISTBOOK=no
9530 DEFAULT_wxUSE_LISTBOX=no
9531 DEFAULT_wxUSE_LISTCTRL=no
9532 DEFAULT_wxUSE_NOTEBOOK=no
9533 DEFAULT_wxUSE_POPUPWIN=no
9534 DEFAULT_wxUSE_RADIOBOX=no
9535 DEFAULT_wxUSE_RADIOBTN=no
9536 DEFAULT_wxUSE_REARRANGECTRL=no
9537 DEFAULT_wxUSE_SASH=no
9538 DEFAULT_wxUSE_SCROLLBAR=no
9539 DEFAULT_wxUSE_SEARCHCTRL=no
9540 DEFAULT_wxUSE_SLIDER=no
9541 DEFAULT_wxUSE_SPINBTN=no
9542 DEFAULT_wxUSE_SPINCTRL=no
9543 DEFAULT_wxUSE_SPLITTER=no
9544 DEFAULT_wxUSE_STATBMP=no
9545 DEFAULT_wxUSE_STATBOX=no
9546 DEFAULT_wxUSE_STATLINE=no
9547 DEFAULT_wxUSE_STATUSBAR=no
9548 DEFAULT_wxUSE_TIPWINDOW=no
9549 DEFAULT_wxUSE_TOGGLEBTN=no
9550 DEFAULT_wxUSE_TOOLBAR=no
9551 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9552 DEFAULT_wxUSE_TOOLBOOK=no
9553 DEFAULT_wxUSE_TOOLTIPS=no
9554 DEFAULT_wxUSE_TREEBOOK=no
9555 DEFAULT_wxUSE_TREECTRL=no
9560 defaultval=$wxUSE_ALL_FEATURES
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9569 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9570 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9571 # Check whether --enable-accel was given.
9572 if test "${enable_accel+set}" = set; then
9573 enableval=$enable_accel;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_accel='wxUSE_ACCEL=yes'
9577 wx_cv_use_accel='wxUSE_ACCEL=no'
9582 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9587 eval "$wx_cv_use_accel"
9589 if test x
"$enablestring" = xdisable
; then
9590 if test $wxUSE_ACCEL = no
; then
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9604 defaultval
=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x
"$enablestring" = xdisable
; then
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9615 # Check whether --enable-animatectrl was given.
9616 if test "${enable_animatectrl+set}" = set; then
9617 enableval
=$enable_animatectrl;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9621 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9626 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9631 eval "$wx_cv_use_animatectrl"
9633 if test x"$enablestring" = xdisable; then
9634 if test $wxUSE_ANIMATIONCTRL = no; then
9640 result=$wxUSE_ANIMATIONCTRL
9643 { echo "$as_me:$LINENO: result: $result" >&5
9644 echo "${ECHO_T}$result" >&6; }
9648 defaultval=$wxUSE_ALL_FEATURES
9649 if test -z "$defaultval"; then
9650 if test x"$enablestring" = xdisable; then
9657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9659 # Check whether --enable-bmpbutton was given.
9660 if test "${enable_bmpbutton+set}" = set; then
9661 enableval=$enable_bmpbutton;
9662 if test "$enableval" = yes; then
9663 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9665 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9670 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9675 eval "$wx_cv_use_bmpbutton"
9677 if test x"$enablestring" = xdisable; then
9678 if test $wxUSE_BMPBUTTON = no; then
9684 result=$wxUSE_BMPBUTTON
9687 { echo "$as_me:$LINENO: result
: $result" >&5
9688 echo "${ECHO_T}$result" >&6; }
9692 defaultval=$wxUSE_ALL_FEATURES
9693 if test -z "$defaultval"; then
9694 if test x"$enablestring" = xdisable; then
9701 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9702 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9703 # Check whether --enable-bmpcombobox was given.
9704 if test "${enable_bmpcombobox+set}" = set; then
9705 enableval=$enable_bmpcombobox;
9706 if test "$enableval" = yes; then
9707 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9709 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9714 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9719 eval "$wx_cv_use_bmpcombobox"
9721 if test x
"$enablestring" = xdisable
; then
9722 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9728 result
=$wxUSE_BITMAPCOMBOBOX
9731 { echo "$as_me:$LINENO: result: $result" >&5
9732 echo "${ECHO_T}$result" >&6; }
9736 defaultval
=$wxUSE_ALL_FEATURES
9737 if test -z "$defaultval"; then
9738 if test x
"$enablestring" = xdisable
; then
9745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9747 # Check whether --enable-button was given.
9748 if test "${enable_button+set}" = set; then
9749 enableval
=$enable_button;
9750 if test "$enableval" = yes; then
9751 wx_cv_use_button
='wxUSE_BUTTON=yes'
9753 wx_cv_use_button
='wxUSE_BUTTON=no'
9758 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9763 eval "$wx_cv_use_button"
9765 if test x"$enablestring" = xdisable; then
9766 if test $wxUSE_BUTTON = no; then
9772 result=$wxUSE_BUTTON
9775 { echo "$as_me:$LINENO: result: $result" >&5
9776 echo "${ECHO_T}$result" >&6; }
9780 defaultval=$wxUSE_ALL_FEATURES
9781 if test -z "$defaultval"; then
9782 if test x"$enablestring" = xdisable; then
9789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9790 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9791 # Check whether --enable-calendar was given.
9792 if test "${enable_calendar+set}" = set; then
9793 enableval=$enable_calendar;
9794 if test "$enableval" = yes; then
9795 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
9797 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
9802 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9807 eval "$wx_cv_use_calendar"
9809 if test x"$enablestring" = xdisable; then
9810 if test $wxUSE_CALCTRL = no; then
9816 result=$wxUSE_CALCTRL
9819 { echo "$as_me:$LINENO: result
: $result" >&5
9820 echo "${ECHO_T}$result" >&6; }
9824 defaultval=$wxUSE_ALL_FEATURES
9825 if test -z "$defaultval"; then
9826 if test x"$enablestring" = xdisable; then
9833 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
9834 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
9835 # Check whether --enable-caret was given.
9836 if test "${enable_caret+set}" = set; then
9837 enableval=$enable_caret;
9838 if test "$enableval" = yes; then
9839 wx_cv_use_caret='wxUSE_CARET=yes'
9841 wx_cv_use_caret='wxUSE_CARET=no'
9846 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9851 eval "$wx_cv_use_caret"
9853 if test x
"$enablestring" = xdisable
; then
9854 if test $wxUSE_CARET = no
; then
9863 { echo "$as_me:$LINENO: result: $result" >&5
9864 echo "${ECHO_T}$result" >&6; }
9868 defaultval
=$wxUSE_ALL_FEATURES
9869 if test -z "$defaultval"; then
9870 if test x
"$enablestring" = xdisable
; then
9877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9878 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9879 # Check whether --enable-checkbox was given.
9880 if test "${enable_checkbox+set}" = set; then
9881 enableval
=$enable_checkbox;
9882 if test "$enableval" = yes; then
9883 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
9885 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
9890 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9895 eval "$wx_cv_use_checkbox"
9897 if test x"$enablestring" = xdisable; then
9898 if test $wxUSE_CHECKBOX = no; then
9904 result=$wxUSE_CHECKBOX
9907 { echo "$as_me:$LINENO: result: $result" >&5
9908 echo "${ECHO_T}$result" >&6; }
9912 defaultval=$wxUSE_ALL_FEATURES
9913 if test -z "$defaultval"; then
9914 if test x"$enablestring" = xdisable; then
9921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9923 # Check whether --enable-checklst was given.
9924 if test "${enable_checklst+set}" = set; then
9925 enableval=$enable_checklst;
9926 if test "$enableval" = yes; then
9927 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
9929 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
9934 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9939 eval "$wx_cv_use_checklst"
9941 if test x"$enablestring" = xdisable; then
9942 if test $wxUSE_CHECKLST = no; then
9948 result=$wxUSE_CHECKLST
9951 { echo "$as_me:$LINENO: result
: $result" >&5
9952 echo "${ECHO_T}$result" >&6; }
9956 defaultval=$wxUSE_ALL_FEATURES
9957 if test -z "$defaultval"; then
9958 if test x"$enablestring" = xdisable; then
9965 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
9966 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
9967 # Check whether --enable-choice was given.
9968 if test "${enable_choice+set}" = set; then
9969 enableval=$enable_choice;
9970 if test "$enableval" = yes; then
9971 wx_cv_use_choice='wxUSE_CHOICE=yes'
9973 wx_cv_use_choice='wxUSE_CHOICE=no'
9978 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9983 eval "$wx_cv_use_choice"
9985 if test x
"$enablestring" = xdisable
; then
9986 if test $wxUSE_CHOICE = no
; then
9992 result
=$wxUSE_CHOICE
9995 { echo "$as_me:$LINENO: result: $result" >&5
9996 echo "${ECHO_T}$result" >&6; }
10000 defaultval
=$wxUSE_ALL_FEATURES
10001 if test -z "$defaultval"; then
10002 if test x
"$enablestring" = xdisable
; then
10009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10010 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10011 # Check whether --enable-choicebook was given.
10012 if test "${enable_choicebook+set}" = set; then
10013 enableval
=$enable_choicebook;
10014 if test "$enableval" = yes; then
10015 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10017 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10022 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10027 eval "$wx_cv_use_choicebook"
10029 if test x"$enablestring" = xdisable; then
10030 if test $wxUSE_CHOICEBOOK = no; then
10036 result=$wxUSE_CHOICEBOOK
10039 { echo "$as_me:$LINENO: result: $result" >&5
10040 echo "${ECHO_T}$result" >&6; }
10044 defaultval=$wxUSE_ALL_FEATURES
10045 if test -z "$defaultval"; then
10046 if test x"$enablestring" = xdisable; then
10053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10055 # Check whether --enable-collpane was given.
10056 if test "${enable_collpane+set}" = set; then
10057 enableval=$enable_collpane;
10058 if test "$enableval" = yes; then
10059 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10061 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10066 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10071 eval "$wx_cv_use_collpane"
10073 if test x"$enablestring" = xdisable; then
10074 if test $wxUSE_COLLPANE = no; then
10080 result=$wxUSE_COLLPANE
10083 { echo "$as_me:$LINENO: result
: $result" >&5
10084 echo "${ECHO_T}$result" >&6; }
10088 defaultval=$wxUSE_ALL_FEATURES
10089 if test -z "$defaultval"; then
10090 if test x"$enablestring" = xdisable; then
10097 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10098 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10099 # Check whether --enable-colourpicker was given.
10100 if test "${enable_colourpicker+set}" = set; then
10101 enableval=$enable_colourpicker;
10102 if test "$enableval" = yes; then
10103 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10105 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10110 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10115 eval "$wx_cv_use_colourpicker"
10117 if test x
"$enablestring" = xdisable
; then
10118 if test $wxUSE_COLOURPICKERCTRL = no
; then
10124 result
=$wxUSE_COLOURPICKERCTRL
10127 { echo "$as_me:$LINENO: result: $result" >&5
10128 echo "${ECHO_T}$result" >&6; }
10132 defaultval
=$wxUSE_ALL_FEATURES
10133 if test -z "$defaultval"; then
10134 if test x
"$enablestring" = xdisable
; then
10141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10142 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10143 # Check whether --enable-combobox was given.
10144 if test "${enable_combobox+set}" = set; then
10145 enableval
=$enable_combobox;
10146 if test "$enableval" = yes; then
10147 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10149 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10154 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10159 eval "$wx_cv_use_combobox"
10161 if test x"$enablestring" = xdisable; then
10162 if test $wxUSE_COMBOBOX = no; then
10168 result=$wxUSE_COMBOBOX
10171 { echo "$as_me:$LINENO: result: $result" >&5
10172 echo "${ECHO_T}$result" >&6; }
10176 defaultval=$wxUSE_ALL_FEATURES
10177 if test -z "$defaultval"; then
10178 if test x"$enablestring" = xdisable; then
10185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10187 # Check whether --enable-comboctrl was given.
10188 if test "${enable_comboctrl+set}" = set; then
10189 enableval=$enable_comboctrl;
10190 if test "$enableval" = yes; then
10191 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10193 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10198 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10203 eval "$wx_cv_use_comboctrl"
10205 if test x"$enablestring" = xdisable; then
10206 if test $wxUSE_COMBOCTRL = no; then
10212 result=$wxUSE_COMBOCTRL
10215 { echo "$as_me:$LINENO: result
: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10220 defaultval=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x"$enablestring" = xdisable; then
10229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10230 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10231 # Check whether --enable-dataviewctrl was given.
10232 if test "${enable_dataviewctrl+set}" = set; then
10233 enableval=$enable_dataviewctrl;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10237 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10242 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10247 eval "$wx_cv_use_dataviewctrl"
10249 if test x
"$enablestring" = xdisable
; then
10250 if test $wxUSE_DATAVIEWCTRL = no
; then
10256 result
=$wxUSE_DATAVIEWCTRL
10259 { echo "$as_me:$LINENO: result: $result" >&5
10260 echo "${ECHO_T}$result" >&6; }
10264 defaultval
=$wxUSE_ALL_FEATURES
10265 if test -z "$defaultval"; then
10266 if test x
"$enablestring" = xdisable
; then
10273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10275 # Check whether --enable-datepick was given.
10276 if test "${enable_datepick+set}" = set; then
10277 enableval
=$enable_datepick;
10278 if test "$enableval" = yes; then
10279 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10281 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10286 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10291 eval "$wx_cv_use_datepick"
10293 if test x"$enablestring" = xdisable; then
10294 if test $wxUSE_DATEPICKCTRL = no; then
10300 result=$wxUSE_DATEPICKCTRL
10303 { echo "$as_me:$LINENO: result: $result" >&5
10304 echo "${ECHO_T}$result" >&6; }
10308 defaultval=$wxUSE_ALL_FEATURES
10309 if test -z "$defaultval"; then
10310 if test x"$enablestring" = xdisable; then
10317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10319 # Check whether --enable-detect_sm was given.
10320 if test "${enable_detect_sm+set}" = set; then
10321 enableval=$enable_detect_sm;
10322 if test "$enableval" = yes; then
10323 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10325 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10330 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10335 eval "$wx_cv_use_detect_sm"
10337 if test x"$enablestring" = xdisable; then
10338 if test $wxUSE_DETECT_SM = no; then
10344 result=$wxUSE_DETECT_SM
10347 { echo "$as_me:$LINENO: result
: $result" >&5
10348 echo "${ECHO_T}$result" >&6; }
10352 defaultval=$wxUSE_ALL_FEATURES
10353 if test -z "$defaultval"; then
10354 if test x"$enablestring" = xdisable; then
10361 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10362 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10363 # Check whether --enable-dirpicker was given.
10364 if test "${enable_dirpicker+set}" = set; then
10365 enableval=$enable_dirpicker;
10366 if test "$enableval" = yes; then
10367 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10369 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10374 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10379 eval "$wx_cv_use_dirpicker"
10381 if test x
"$enablestring" = xdisable
; then
10382 if test $wxUSE_DIRPICKERCTRL = no
; then
10388 result
=$wxUSE_DIRPICKERCTRL
10391 { echo "$as_me:$LINENO: result: $result" >&5
10392 echo "${ECHO_T}$result" >&6; }
10396 defaultval
=$wxUSE_ALL_FEATURES
10397 if test -z "$defaultval"; then
10398 if test x
"$enablestring" = xdisable
; then
10405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10406 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10407 # Check whether --enable-display was given.
10408 if test "${enable_display+set}" = set; then
10409 enableval
=$enable_display;
10410 if test "$enableval" = yes; then
10411 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10413 wx_cv_use_display
='wxUSE_DISPLAY=no'
10418 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10423 eval "$wx_cv_use_display"
10425 if test x"$enablestring" = xdisable; then
10426 if test $wxUSE_DISPLAY = no; then
10432 result=$wxUSE_DISPLAY
10435 { echo "$as_me:$LINENO: result: $result" >&5
10436 echo "${ECHO_T}$result" >&6; }
10440 defaultval=$wxUSE_ALL_FEATURES
10441 if test -z "$defaultval"; then
10442 if test x"$enablestring" = xdisable; then
10449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10450 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10451 # Check whether --enable-editablebox was given.
10452 if test "${enable_editablebox+set}" = set; then
10453 enableval=$enable_editablebox;
10454 if test "$enableval" = yes; then
10455 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10457 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10462 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10467 eval "$wx_cv_use_editablebox"
10469 if test x"$enablestring" = xdisable; then
10470 if test $wxUSE_EDITABLELISTBOX = no; then
10476 result=$wxUSE_EDITABLELISTBOX
10479 { echo "$as_me:$LINENO: result
: $result" >&5
10480 echo "${ECHO_T}$result" >&6; }
10484 defaultval=$wxUSE_ALL_FEATURES
10485 if test -z "$defaultval"; then
10486 if test x"$enablestring" = xdisable; then
10493 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10494 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10495 # Check whether --enable-filectrl was given.
10496 if test "${enable_filectrl+set}" = set; then
10497 enableval=$enable_filectrl;
10498 if test "$enableval" = yes; then
10499 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10501 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10506 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10511 eval "$wx_cv_use_filectrl"
10513 if test x
"$enablestring" = xdisable
; then
10514 if test $wxUSE_FILECTRL = no
; then
10520 result
=$wxUSE_FILECTRL
10523 { echo "$as_me:$LINENO: result: $result" >&5
10524 echo "${ECHO_T}$result" >&6; }
10528 defaultval
=$wxUSE_ALL_FEATURES
10529 if test -z "$defaultval"; then
10530 if test x
"$enablestring" = xdisable
; then
10537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10538 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10539 # Check whether --enable-filepicker was given.
10540 if test "${enable_filepicker+set}" = set; then
10541 enableval
=$enable_filepicker;
10542 if test "$enableval" = yes; then
10543 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10545 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10550 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10555 eval "$wx_cv_use_filepicker"
10557 if test x"$enablestring" = xdisable; then
10558 if test $wxUSE_FILEPICKERCTRL = no; then
10564 result=$wxUSE_FILEPICKERCTRL
10567 { echo "$as_me:$LINENO: result: $result" >&5
10568 echo "${ECHO_T}$result" >&6; }
10572 defaultval=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x"$enablestring" = xdisable; then
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10583 # Check whether --enable-fontpicker was given.
10584 if test "${enable_fontpicker+set}" = set; then
10585 enableval=$enable_fontpicker;
10586 if test "$enableval" = yes; then
10587 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10589 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10594 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10599 eval "$wx_cv_use_fontpicker"
10601 if test x"$enablestring" = xdisable; then
10602 if test $wxUSE_FONTPICKERCTRL = no; then
10608 result=$wxUSE_FONTPICKERCTRL
10611 { echo "$as_me:$LINENO: result
: $result" >&5
10612 echo "${ECHO_T}$result" >&6; }
10616 defaultval=$wxUSE_ALL_FEATURES
10617 if test -z "$defaultval"; then
10618 if test x"$enablestring" = xdisable; then
10625 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10626 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10627 # Check whether --enable-gauge was given.
10628 if test "${enable_gauge+set}" = set; then
10629 enableval=$enable_gauge;
10630 if test "$enableval" = yes; then
10631 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10633 wx_cv_use_gauge='wxUSE_GAUGE=no'
10638 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10643 eval "$wx_cv_use_gauge"
10645 if test x
"$enablestring" = xdisable
; then
10646 if test $wxUSE_GAUGE = no
; then
10652 result
=$wxUSE_GAUGE
10655 { echo "$as_me:$LINENO: result: $result" >&5
10656 echo "${ECHO_T}$result" >&6; }
10660 defaultval
=$wxUSE_ALL_FEATURES
10661 if test -z "$defaultval"; then
10662 if test x
"$enablestring" = xdisable
; then
10669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10671 # Check whether --enable-grid was given.
10672 if test "${enable_grid+set}" = set; then
10673 enableval
=$enable_grid;
10674 if test "$enableval" = yes; then
10675 wx_cv_use_grid
='wxUSE_GRID=yes'
10677 wx_cv_use_grid
='wxUSE_GRID=no'
10682 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10687 eval "$wx_cv_use_grid"
10689 if test x"$enablestring" = xdisable; then
10690 if test $wxUSE_GRID = no; then
10699 { echo "$as_me:$LINENO: result: $result" >&5
10700 echo "${ECHO_T}$result" >&6; }
10704 defaultval=$wxUSE_ALL_FEATURES
10705 if test -z "$defaultval"; then
10706 if test x"$enablestring" = xdisable; then
10713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10714 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10715 # Check whether --enable-headerctrl was given.
10716 if test "${enable_headerctrl+set}" = set; then
10717 enableval=$enable_headerctrl;
10718 if test "$enableval" = yes; then
10719 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10721 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10726 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10731 eval "$wx_cv_use_headerctrl"
10733 if test x"$enablestring" = xdisable; then
10734 if test $wxUSE_HEADERCTRL = no; then
10740 result=$wxUSE_HEADERCTRL
10743 { echo "$as_me:$LINENO: result
: $result" >&5
10744 echo "${ECHO_T}$result" >&6; }
10748 defaultval=$wxUSE_ALL_FEATURES
10749 if test -z "$defaultval"; then
10750 if test x"$enablestring" = xdisable; then
10757 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10758 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10759 # Check whether --enable-hyperlink was given.
10760 if test "${enable_hyperlink+set}" = set; then
10761 enableval=$enable_hyperlink;
10762 if test "$enableval" = yes; then
10763 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10765 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10770 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10775 eval "$wx_cv_use_hyperlink"
10777 if test x
"$enablestring" = xdisable
; then
10778 if test $wxUSE_HYPERLINKCTRL = no
; then
10784 result
=$wxUSE_HYPERLINKCTRL
10787 { echo "$as_me:$LINENO: result: $result" >&5
10788 echo "${ECHO_T}$result" >&6; }
10792 defaultval
=$wxUSE_ALL_FEATURES
10793 if test -z "$defaultval"; then
10794 if test x
"$enablestring" = xdisable
; then
10801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10802 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10803 # Check whether --enable-imaglist was given.
10804 if test "${enable_imaglist+set}" = set; then
10805 enableval
=$enable_imaglist;
10806 if test "$enableval" = yes; then
10807 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
10809 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
10814 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10819 eval "$wx_cv_use_imaglist"
10821 if test x"$enablestring" = xdisable; then
10822 if test $wxUSE_IMAGLIST = no; then
10828 result=$wxUSE_IMAGLIST
10831 { echo "$as_me:$LINENO: result: $result" >&5
10832 echo "${ECHO_T}$result" >&6; }
10836 defaultval=$wxUSE_ALL_FEATURES
10837 if test -z "$defaultval"; then
10838 if test x"$enablestring" = xdisable; then
10845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10846 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10847 # Check whether --enable-listbook was given.
10848 if test "${enable_listbook+set}" = set; then
10849 enableval=$enable_listbook;
10850 if test "$enableval" = yes; then
10851 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10853 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
10858 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10863 eval "$wx_cv_use_listbook"
10865 if test x"$enablestring" = xdisable; then
10866 if test $wxUSE_LISTBOOK = no; then
10872 result=$wxUSE_LISTBOOK
10875 { echo "$as_me:$LINENO: result
: $result" >&5
10876 echo "${ECHO_T}$result" >&6; }
10880 defaultval=$wxUSE_ALL_FEATURES
10881 if test -z "$defaultval"; then
10882 if test x"$enablestring" = xdisable; then
10889 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
10890 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
10891 # Check whether --enable-listbox was given.
10892 if test "${enable_listbox+set}" = set; then
10893 enableval=$enable_listbox;
10894 if test "$enableval" = yes; then
10895 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10897 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10902 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10907 eval "$wx_cv_use_listbox"
10909 if test x
"$enablestring" = xdisable
; then
10910 if test $wxUSE_LISTBOX = no
; then
10916 result
=$wxUSE_LISTBOX
10919 { echo "$as_me:$LINENO: result: $result" >&5
10920 echo "${ECHO_T}$result" >&6; }
10924 defaultval
=$wxUSE_ALL_FEATURES
10925 if test -z "$defaultval"; then
10926 if test x
"$enablestring" = xdisable
; then
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10935 # Check whether --enable-listctrl was given.
10936 if test "${enable_listctrl+set}" = set; then
10937 enableval
=$enable_listctrl;
10938 if test "$enableval" = yes; then
10939 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
10941 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
10946 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10951 eval "$wx_cv_use_listctrl"
10953 if test x"$enablestring" = xdisable; then
10954 if test $wxUSE_LISTCTRL = no; then
10960 result=$wxUSE_LISTCTRL
10963 { echo "$as_me:$LINENO: result: $result" >&5
10964 echo "${ECHO_T}$result" >&6; }
10968 defaultval=$wxUSE_ALL_FEATURES
10969 if test -z "$defaultval"; then
10970 if test x"$enablestring" = xdisable; then
10977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10979 # Check whether --enable-notebook was given.
10980 if test "${enable_notebook+set}" = set; then
10981 enableval=$enable_notebook;
10982 if test "$enableval" = yes; then
10983 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
10985 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
10990 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10995 eval "$wx_cv_use_notebook"
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_NOTEBOOK = no; then
11004 result=$wxUSE_NOTEBOOK
11007 { echo "$as_me:$LINENO: result
: $result" >&5
11008 echo "${ECHO_T}$result" >&6; }
11012 defaultval=$wxUSE_ALL_FEATURES
11013 if test -z "$defaultval"; then
11014 if test x"$enablestring" = xdisable; then
11021 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
11022 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
11023 # Check whether --enable-notifmsg was given.
11024 if test "${enable_notifmsg+set}" = set; then
11025 enableval=$enable_notifmsg;
11026 if test "$enableval" = yes; then
11027 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11029 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11034 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11039 eval "$wx_cv_use_notifmsg"
11041 if test x
"$enablestring" = xdisable
; then
11042 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11048 result
=$wxUSE_NOTIFICATION_MESSAGE
11051 { echo "$as_me:$LINENO: result: $result" >&5
11052 echo "${ECHO_T}$result" >&6; }
11056 defaultval
=$wxUSE_ALL_FEATURES
11057 if test -z "$defaultval"; then
11058 if test x
"$enablestring" = xdisable
; then
11065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11067 # Check whether --enable-odcombobox was given.
11068 if test "${enable_odcombobox+set}" = set; then
11069 enableval
=$enable_odcombobox;
11070 if test "$enableval" = yes; then
11071 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11073 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11078 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11083 eval "$wx_cv_use_odcombobox"
11085 if test x"$enablestring" = xdisable; then
11086 if test $wxUSE_ODCOMBOBOX = no; then
11092 result=$wxUSE_ODCOMBOBOX
11095 { echo "$as_me:$LINENO: result: $result" >&5
11096 echo "${ECHO_T}$result" >&6; }
11100 defaultval=$wxUSE_ALL_FEATURES
11101 if test -z "$defaultval"; then
11102 if test x"$enablestring" = xdisable; then
11109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11111 # Check whether --enable-popupwin was given.
11112 if test "${enable_popupwin+set}" = set; then
11113 enableval=$enable_popupwin;
11114 if test "$enableval" = yes; then
11115 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11117 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11122 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11127 eval "$wx_cv_use_popupwin"
11129 if test x"$enablestring" = xdisable; then
11130 if test $wxUSE_POPUPWIN = no; then
11136 result=$wxUSE_POPUPWIN
11139 { echo "$as_me:$LINENO: result
: $result" >&5
11140 echo "${ECHO_T}$result" >&6; }
11144 defaultval=$wxUSE_ALL_FEATURES
11145 if test -z "$defaultval"; then
11146 if test x"$enablestring" = xdisable; then
11153 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11154 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11155 # Check whether --enable-radiobox was given.
11156 if test "${enable_radiobox+set}" = set; then
11157 enableval=$enable_radiobox;
11158 if test "$enableval" = yes; then
11159 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11161 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11166 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11171 eval "$wx_cv_use_radiobox"
11173 if test x
"$enablestring" = xdisable
; then
11174 if test $wxUSE_RADIOBOX = no
; then
11180 result
=$wxUSE_RADIOBOX
11183 { echo "$as_me:$LINENO: result: $result" >&5
11184 echo "${ECHO_T}$result" >&6; }
11188 defaultval
=$wxUSE_ALL_FEATURES
11189 if test -z "$defaultval"; then
11190 if test x
"$enablestring" = xdisable
; then
11197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11198 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11199 # Check whether --enable-radiobtn was given.
11200 if test "${enable_radiobtn+set}" = set; then
11201 enableval
=$enable_radiobtn;
11202 if test "$enableval" = yes; then
11203 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11205 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11210 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11215 eval "$wx_cv_use_radiobtn"
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_RADIOBTN = no; then
11224 result=$wxUSE_RADIOBTN
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11243 # Check whether --enable-rearrangectrl was given.
11244 if test "${enable_rearrangectrl+set}" = set; then
11245 enableval=$enable_rearrangectrl;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11249 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11254 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11259 eval "$wx_cv_use_rearrangectrl"
11261 if test x"$enablestring" = xdisable; then
11262 if test $wxUSE_REARRANGECTRL = no; then
11268 result=$wxUSE_REARRANGECTRL
11271 { echo "$as_me:$LINENO: result
: $result" >&5
11272 echo "${ECHO_T}$result" >&6; }
11276 defaultval=$wxUSE_ALL_FEATURES
11277 if test -z "$defaultval"; then
11278 if test x"$enablestring" = xdisable; then
11285 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11286 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11287 # Check whether --enable-sash was given.
11288 if test "${enable_sash+set}" = set; then
11289 enableval=$enable_sash;
11290 if test "$enableval" = yes; then
11291 wx_cv_use_sash='wxUSE_SASH=yes'
11293 wx_cv_use_sash='wxUSE_SASH=no'
11298 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11303 eval "$wx_cv_use_sash"
11305 if test x
"$enablestring" = xdisable
; then
11306 if test $wxUSE_SASH = no
; then
11315 { echo "$as_me:$LINENO: result: $result" >&5
11316 echo "${ECHO_T}$result" >&6; }
11320 defaultval
=$wxUSE_ALL_FEATURES
11321 if test -z "$defaultval"; then
11322 if test x
"$enablestring" = xdisable
; then
11329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11330 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11331 # Check whether --enable-scrollbar was given.
11332 if test "${enable_scrollbar+set}" = set; then
11333 enableval
=$enable_scrollbar;
11334 if test "$enableval" = yes; then
11335 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11337 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11342 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11347 eval "$wx_cv_use_scrollbar"
11349 if test x"$enablestring" = xdisable; then
11350 if test $wxUSE_SCROLLBAR = no; then
11356 result=$wxUSE_SCROLLBAR
11359 { echo "$as_me:$LINENO: result: $result" >&5
11360 echo "${ECHO_T}$result" >&6; }
11364 defaultval=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x"$enablestring" = xdisable; then
11373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11374 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11375 # Check whether --enable-searchctrl was given.
11376 if test "${enable_searchctrl+set}" = set; then
11377 enableval=$enable_searchctrl;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11381 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11386 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11391 eval "$wx_cv_use_searchctrl"
11393 if test x"$enablestring" = xdisable; then
11394 if test $wxUSE_SEARCHCTRL = no; then
11400 result=$wxUSE_SEARCHCTRL
11403 { echo "$as_me:$LINENO: result
: $result" >&5
11404 echo "${ECHO_T}$result" >&6; }
11408 defaultval=$wxUSE_ALL_FEATURES
11409 if test -z "$defaultval"; then
11410 if test x"$enablestring" = xdisable; then
11417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11418 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11419 # Check whether --enable-slider was given.
11420 if test "${enable_slider+set}" = set; then
11421 enableval=$enable_slider;
11422 if test "$enableval" = yes; then
11423 wx_cv_use_slider='wxUSE_SLIDER=yes'
11425 wx_cv_use_slider='wxUSE_SLIDER=no'
11430 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11435 eval "$wx_cv_use_slider"
11437 if test x
"$enablestring" = xdisable
; then
11438 if test $wxUSE_SLIDER = no
; then
11444 result
=$wxUSE_SLIDER
11447 { echo "$as_me:$LINENO: result: $result" >&5
11448 echo "${ECHO_T}$result" >&6; }
11452 defaultval
=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x
"$enablestring" = xdisable
; then
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11463 # Check whether --enable-spinbtn was given.
11464 if test "${enable_spinbtn+set}" = set; then
11465 enableval
=$enable_spinbtn;
11466 if test "$enableval" = yes; then
11467 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11469 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11474 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11479 eval "$wx_cv_use_spinbtn"
11481 if test x"$enablestring" = xdisable; then
11482 if test $wxUSE_SPINBTN = no; then
11488 result=$wxUSE_SPINBTN
11491 { echo "$as_me:$LINENO: result: $result" >&5
11492 echo "${ECHO_T}$result" >&6; }
11496 defaultval=$wxUSE_ALL_FEATURES
11497 if test -z "$defaultval"; then
11498 if test x"$enablestring" = xdisable; then
11505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11506 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11507 # Check whether --enable-spinctrl was given.
11508 if test "${enable_spinctrl+set}" = set; then
11509 enableval=$enable_spinctrl;
11510 if test "$enableval" = yes; then
11511 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11513 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11518 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11523 eval "$wx_cv_use_spinctrl"
11525 if test x"$enablestring" = xdisable; then
11526 if test $wxUSE_SPINCTRL = no; then
11532 result=$wxUSE_SPINCTRL
11535 { echo "$as_me:$LINENO: result
: $result" >&5
11536 echo "${ECHO_T}$result" >&6; }
11540 defaultval=$wxUSE_ALL_FEATURES
11541 if test -z "$defaultval"; then
11542 if test x"$enablestring" = xdisable; then
11549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11550 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11551 # Check whether --enable-splitter was given.
11552 if test "${enable_splitter+set}" = set; then
11553 enableval=$enable_splitter;
11554 if test "$enableval" = yes; then
11555 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11557 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11562 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11567 eval "$wx_cv_use_splitter"
11569 if test x
"$enablestring" = xdisable
; then
11570 if test $wxUSE_SPLITTER = no
; then
11576 result
=$wxUSE_SPLITTER
11579 { echo "$as_me:$LINENO: result: $result" >&5
11580 echo "${ECHO_T}$result" >&6; }
11584 defaultval
=$wxUSE_ALL_FEATURES
11585 if test -z "$defaultval"; then
11586 if test x
"$enablestring" = xdisable
; then
11593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11594 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11595 # Check whether --enable-statbmp was given.
11596 if test "${enable_statbmp+set}" = set; then
11597 enableval
=$enable_statbmp;
11598 if test "$enableval" = yes; then
11599 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11601 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11606 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11611 eval "$wx_cv_use_statbmp"
11613 if test x"$enablestring" = xdisable; then
11614 if test $wxUSE_STATBMP = no; then
11620 result=$wxUSE_STATBMP
11623 { echo "$as_me:$LINENO: result: $result" >&5
11624 echo "${ECHO_T}$result" >&6; }
11628 defaultval=$wxUSE_ALL_FEATURES
11629 if test -z "$defaultval"; then
11630 if test x"$enablestring" = xdisable; then
11637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11638 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11639 # Check whether --enable-statbox was given.
11640 if test "${enable_statbox+set}" = set; then
11641 enableval=$enable_statbox;
11642 if test "$enableval" = yes; then
11643 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11645 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11650 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11655 eval "$wx_cv_use_statbox"
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_STATBOX = no; then
11664 result=$wxUSE_STATBOX
11667 { echo "$as_me:$LINENO: result
: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11681 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11682 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11683 # Check whether --enable-statline was given.
11684 if test "${enable_statline+set}" = set; then
11685 enableval=$enable_statline;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_statline='wxUSE_STATLINE=yes'
11689 wx_cv_use_statline='wxUSE_STATLINE=no'
11694 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11699 eval "$wx_cv_use_statline"
11701 if test x
"$enablestring" = xdisable
; then
11702 if test $wxUSE_STATLINE = no
; then
11708 result
=$wxUSE_STATLINE
11711 { echo "$as_me:$LINENO: result: $result" >&5
11712 echo "${ECHO_T}$result" >&6; }
11716 defaultval
=$wxUSE_ALL_FEATURES
11717 if test -z "$defaultval"; then
11718 if test x
"$enablestring" = xdisable
; then
11725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11726 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11727 # Check whether --enable-stattext was given.
11728 if test "${enable_stattext+set}" = set; then
11729 enableval
=$enable_stattext;
11730 if test "$enableval" = yes; then
11731 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11733 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11738 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11743 eval "$wx_cv_use_stattext"
11745 if test x"$enablestring" = xdisable; then
11746 if test $wxUSE_STATTEXT = no; then
11752 result=$wxUSE_STATTEXT
11755 { echo "$as_me:$LINENO: result: $result" >&5
11756 echo "${ECHO_T}$result" >&6; }
11760 defaultval=$wxUSE_ALL_FEATURES
11761 if test -z "$defaultval"; then
11762 if test x"$enablestring" = xdisable; then
11769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11770 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11771 # Check whether --enable-statusbar was given.
11772 if test "${enable_statusbar+set}" = set; then
11773 enableval=$enable_statusbar;
11774 if test "$enableval" = yes; then
11775 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11777 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11782 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11787 eval "$wx_cv_use_statusbar"
11789 if test x"$enablestring" = xdisable; then
11790 if test $wxUSE_STATUSBAR = no; then
11796 result=$wxUSE_STATUSBAR
11799 { echo "$as_me:$LINENO: result
: $result" >&5
11800 echo "${ECHO_T}$result" >&6; }
11804 defaultval=$wxUSE_ALL_FEATURES
11805 if test -z "$defaultval"; then
11806 if test x"$enablestring" = xdisable; then
11813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11814 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11815 # Check whether --enable-taskbaricon was given.
11816 if test "${enable_taskbaricon+set}" = set; then
11817 enableval=$enable_taskbaricon;
11818 if test "$enableval" = yes; then
11819 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11821 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11826 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11831 eval "$wx_cv_use_taskbaricon"
11833 if test x
"$enablestring" = xdisable
; then
11834 if test $wxUSE_TASKBARICON = no
; then
11840 result
=$wxUSE_TASKBARICON
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11848 defaultval
=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x
"$enablestring" = xdisable
; then
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11859 # Check whether --enable-tbarnative was given.
11860 if test "${enable_tbarnative+set}" = set; then
11861 enableval
=$enable_tbarnative;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11865 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11870 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11875 eval "$wx_cv_use_tbarnative"
11877 if test x"$enablestring" = xdisable; then
11878 if test $wxUSE_TOOLBAR_NATIVE = no; then
11884 result=$wxUSE_TOOLBAR_NATIVE
11887 { echo "$as_me:$LINENO: result: $result" >&5
11888 echo "${ECHO_T}$result" >&6; }
11892 defaultval=$wxUSE_ALL_FEATURES
11893 if test -z "$defaultval"; then
11894 if test x"$enablestring" = xdisable; then
11901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11902 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11903 # Check whether --enable-textctrl was given.
11904 if test "${enable_textctrl+set}" = set; then
11905 enableval=$enable_textctrl;
11906 if test "$enableval" = yes; then
11907 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
11909 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
11914 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11919 eval "$wx_cv_use_textctrl"
11921 if test x"$enablestring" = xdisable; then
11922 if test $wxUSE_TEXTCTRL = no; then
11928 result=$wxUSE_TEXTCTRL
11931 { echo "$as_me:$LINENO: result
: $result" >&5
11932 echo "${ECHO_T}$result" >&6; }
11936 defaultval=$wxUSE_ALL_FEATURES
11937 if test -z "$defaultval"; then
11938 if test x"$enablestring" = xdisable; then
11945 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
11946 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
11947 # Check whether --enable-tipwindow was given.
11948 if test "${enable_tipwindow+set}" = set; then
11949 enableval=$enable_tipwindow;
11950 if test "$enableval" = yes; then
11951 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11953 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11958 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11963 eval "$wx_cv_use_tipwindow"
11965 if test x
"$enablestring" = xdisable
; then
11966 if test $wxUSE_TIPWINDOW = no
; then
11972 result
=$wxUSE_TIPWINDOW
11975 { echo "$as_me:$LINENO: result: $result" >&5
11976 echo "${ECHO_T}$result" >&6; }
11980 defaultval
=$wxUSE_ALL_FEATURES
11981 if test -z "$defaultval"; then
11982 if test x
"$enablestring" = xdisable
; then
11989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11990 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11991 # Check whether --enable-togglebtn was given.
11992 if test "${enable_togglebtn+set}" = set; then
11993 enableval
=$enable_togglebtn;
11994 if test "$enableval" = yes; then
11995 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11997 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12002 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12007 eval "$wx_cv_use_togglebtn"
12009 if test x"$enablestring" = xdisable; then
12010 if test $wxUSE_TOGGLEBTN = no; then
12016 result=$wxUSE_TOGGLEBTN
12019 { echo "$as_me:$LINENO: result: $result" >&5
12020 echo "${ECHO_T}$result" >&6; }
12024 defaultval=$wxUSE_ALL_FEATURES
12025 if test -z "$defaultval"; then
12026 if test x"$enablestring" = xdisable; then
12033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12034 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12035 # Check whether --enable-toolbar was given.
12036 if test "${enable_toolbar+set}" = set; then
12037 enableval=$enable_toolbar;
12038 if test "$enableval" = yes; then
12039 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12041 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12046 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12051 eval "$wx_cv_use_toolbar"
12053 if test x"$enablestring" = xdisable; then
12054 if test $wxUSE_TOOLBAR = no; then
12060 result=$wxUSE_TOOLBAR
12063 { echo "$as_me:$LINENO: result
: $result" >&5
12064 echo "${ECHO_T}$result" >&6; }
12068 defaultval=$wxUSE_ALL_FEATURES
12069 if test -z "$defaultval"; then
12070 if test x"$enablestring" = xdisable; then
12077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12078 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12079 # Check whether --enable-toolbook was given.
12080 if test "${enable_toolbook+set}" = set; then
12081 enableval=$enable_toolbook;
12082 if test "$enableval" = yes; then
12083 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12085 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12090 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12095 eval "$wx_cv_use_toolbook"
12097 if test x
"$enablestring" = xdisable
; then
12098 if test $wxUSE_TOOLBOOK = no
; then
12104 result
=$wxUSE_TOOLBOOK
12107 { echo "$as_me:$LINENO: result: $result" >&5
12108 echo "${ECHO_T}$result" >&6; }
12112 defaultval
=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x
"$enablestring" = xdisable
; then
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12123 # Check whether --enable-treebook was given.
12124 if test "${enable_treebook+set}" = set; then
12125 enableval
=$enable_treebook;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12129 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12134 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12139 eval "$wx_cv_use_treebook"
12141 if test x"$enablestring" = xdisable; then
12142 if test $wxUSE_TREEBOOK = no; then
12148 result=$wxUSE_TREEBOOK
12151 { echo "$as_me:$LINENO: result: $result" >&5
12152 echo "${ECHO_T}$result" >&6; }
12156 defaultval=$wxUSE_ALL_FEATURES
12157 if test -z "$defaultval"; then
12158 if test x"$enablestring" = xdisable; then
12165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12166 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12167 # Check whether --enable-treectrl was given.
12168 if test "${enable_treectrl+set}" = set; then
12169 enableval=$enable_treectrl;
12170 if test "$enableval" = yes; then
12171 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12173 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12178 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12183 eval "$wx_cv_use_treectrl"
12185 if test x"$enablestring" = xdisable; then
12186 if test $wxUSE_TREECTRL = no; then
12192 result=$wxUSE_TREECTRL
12195 { echo "$as_me:$LINENO: result
: $result" >&5
12196 echo "${ECHO_T}$result" >&6; }
12202 defaultval=$wxUSE_ALL_FEATURES
12203 if test -z "$defaultval"; then
12204 if test x"$enablestring" = xdisable; then
12211 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12212 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12213 # Check whether --enable-commondlg was given.
12214 if test "${enable_commondlg+set}" = set; then
12215 enableval=$enable_commondlg;
12216 if test "$enableval" = yes; then
12217 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12219 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12224 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12229 eval "$wx_cv_use_commondlg"
12231 if test x
"$enablestring" = xdisable
; then
12232 if test $wxUSE_COMMONDLGS = no
; then
12238 result
=$wxUSE_COMMONDLGS
12241 { echo "$as_me:$LINENO: result: $result" >&5
12242 echo "${ECHO_T}$result" >&6; }
12246 defaultval
=$wxUSE_ALL_FEATURES
12247 if test -z "$defaultval"; then
12248 if test x
"$enablestring" = xdisable
; then
12255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12256 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12257 # Check whether --enable-aboutdlg was given.
12258 if test "${enable_aboutdlg+set}" = set; then
12259 enableval
=$enable_aboutdlg;
12260 if test "$enableval" = yes; then
12261 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12263 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12268 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12273 eval "$wx_cv_use_aboutdlg"
12275 if test x"$enablestring" = xdisable; then
12276 if test $wxUSE_ABOUTDLG = no; then
12282 result=$wxUSE_ABOUTDLG
12285 { echo "$as_me:$LINENO: result: $result" >&5
12286 echo "${ECHO_T}$result" >&6; }
12290 defaultval=$wxUSE_ALL_FEATURES
12291 if test -z "$defaultval"; then
12292 if test x"$enablestring" = xdisable; then
12299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12300 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12301 # Check whether --enable-choicedlg was given.
12302 if test "${enable_choicedlg+set}" = set; then
12303 enableval=$enable_choicedlg;
12304 if test "$enableval" = yes; then
12305 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12307 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12312 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12317 eval "$wx_cv_use_choicedlg"
12319 if test x"$enablestring" = xdisable; then
12320 if test $wxUSE_CHOICEDLG = no; then
12326 result=$wxUSE_CHOICEDLG
12329 { echo "$as_me:$LINENO: result
: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12334 defaultval=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x"$enablestring" = xdisable; then
12343 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12344 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12345 # Check whether --enable-coldlg was given.
12346 if test "${enable_coldlg+set}" = set; then
12347 enableval=$enable_coldlg;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12351 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12356 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12361 eval "$wx_cv_use_coldlg"
12363 if test x
"$enablestring" = xdisable
; then
12364 if test $wxUSE_COLOURDLG = no
; then
12370 result
=$wxUSE_COLOURDLG
12373 { echo "$as_me:$LINENO: result: $result" >&5
12374 echo "${ECHO_T}$result" >&6; }
12378 defaultval
=$wxUSE_ALL_FEATURES
12379 if test -z "$defaultval"; then
12380 if test x
"$enablestring" = xdisable
; then
12387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12388 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12389 # Check whether --enable-filedlg was given.
12390 if test "${enable_filedlg+set}" = set; then
12391 enableval
=$enable_filedlg;
12392 if test "$enableval" = yes; then
12393 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12395 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12400 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12405 eval "$wx_cv_use_filedlg"
12407 if test x"$enablestring" = xdisable; then
12408 if test $wxUSE_FILEDLG = no; then
12414 result=$wxUSE_FILEDLG
12417 { echo "$as_me:$LINENO: result: $result" >&5
12418 echo "${ECHO_T}$result" >&6; }
12422 defaultval=$wxUSE_ALL_FEATURES
12423 if test -z "$defaultval"; then
12424 if test x"$enablestring" = xdisable; then
12431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12432 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12433 # Check whether --enable-finddlg was given.
12434 if test "${enable_finddlg+set}" = set; then
12435 enableval=$enable_finddlg;
12436 if test "$enableval" = yes; then
12437 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12439 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12444 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12449 eval "$wx_cv_use_finddlg"
12451 if test x"$enablestring" = xdisable; then
12452 if test $wxUSE_FINDREPLDLG = no; then
12458 result=$wxUSE_FINDREPLDLG
12461 { echo "$as_me:$LINENO: result
: $result" >&5
12462 echo "${ECHO_T}$result" >&6; }
12466 defaultval=$wxUSE_ALL_FEATURES
12467 if test -z "$defaultval"; then
12468 if test x"$enablestring" = xdisable; then
12475 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12476 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12477 # Check whether --enable-fontdlg was given.
12478 if test "${enable_fontdlg+set}" = set; then
12479 enableval=$enable_fontdlg;
12480 if test "$enableval" = yes; then
12481 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12483 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12488 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12493 eval "$wx_cv_use_fontdlg"
12495 if test x
"$enablestring" = xdisable
; then
12496 if test $wxUSE_FONTDLG = no
; then
12502 result
=$wxUSE_FONTDLG
12505 { echo "$as_me:$LINENO: result: $result" >&5
12506 echo "${ECHO_T}$result" >&6; }
12510 defaultval
=$wxUSE_ALL_FEATURES
12511 if test -z "$defaultval"; then
12512 if test x
"$enablestring" = xdisable
; then
12519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12520 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12521 # Check whether --enable-dirdlg was given.
12522 if test "${enable_dirdlg+set}" = set; then
12523 enableval
=$enable_dirdlg;
12524 if test "$enableval" = yes; then
12525 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12527 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12532 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12537 eval "$wx_cv_use_dirdlg"
12539 if test x"$enablestring" = xdisable; then
12540 if test $wxUSE_DIRDLG = no; then
12546 result=$wxUSE_DIRDLG
12549 { echo "$as_me:$LINENO: result: $result" >&5
12550 echo "${ECHO_T}$result" >&6; }
12554 defaultval=$wxUSE_ALL_FEATURES
12555 if test -z "$defaultval"; then
12556 if test x"$enablestring" = xdisable; then
12563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12564 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12565 # Check whether --enable-msgdlg was given.
12566 if test "${enable_msgdlg+set}" = set; then
12567 enableval=$enable_msgdlg;
12568 if test "$enableval" = yes; then
12569 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12571 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12576 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12581 eval "$wx_cv_use_msgdlg"
12583 if test x"$enablestring" = xdisable; then
12584 if test $wxUSE_MSGDLG = no; then
12590 result=$wxUSE_MSGDLG
12593 { echo "$as_me:$LINENO: result
: $result" >&5
12594 echo "${ECHO_T}$result" >&6; }
12598 defaultval=$wxUSE_ALL_FEATURES
12599 if test -z "$defaultval"; then
12600 if test x"$enablestring" = xdisable; then
12607 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12608 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12609 # Check whether --enable-numberdlg was given.
12610 if test "${enable_numberdlg+set}" = set; then
12611 enableval=$enable_numberdlg;
12612 if test "$enableval" = yes; then
12613 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12615 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12620 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12625 eval "$wx_cv_use_numberdlg"
12627 if test x
"$enablestring" = xdisable
; then
12628 if test $wxUSE_NUMBERDLG = no
; then
12634 result
=$wxUSE_NUMBERDLG
12637 { echo "$as_me:$LINENO: result: $result" >&5
12638 echo "${ECHO_T}$result" >&6; }
12642 defaultval
=$wxUSE_ALL_FEATURES
12643 if test -z "$defaultval"; then
12644 if test x
"$enablestring" = xdisable
; then
12651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12652 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12653 # Check whether --enable-splash was given.
12654 if test "${enable_splash+set}" = set; then
12655 enableval
=$enable_splash;
12656 if test "$enableval" = yes; then
12657 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12659 wx_cv_use_splash
='wxUSE_SPLASH=no'
12664 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12669 eval "$wx_cv_use_splash"
12671 if test x"$enablestring" = xdisable; then
12672 if test $wxUSE_SPLASH = no; then
12678 result=$wxUSE_SPLASH
12681 { echo "$as_me:$LINENO: result: $result" >&5
12682 echo "${ECHO_T}$result" >&6; }
12686 defaultval=$wxUSE_ALL_FEATURES
12687 if test -z "$defaultval"; then
12688 if test x"$enablestring" = xdisable; then
12695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12696 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12697 # Check whether --enable-textdlg was given.
12698 if test "${enable_textdlg+set}" = set; then
12699 enableval=$enable_textdlg;
12700 if test "$enableval" = yes; then
12701 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12703 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12708 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12713 eval "$wx_cv_use_textdlg"
12715 if test x"$enablestring" = xdisable; then
12716 if test $wxUSE_TEXTDLG = no; then
12722 result=$wxUSE_TEXTDLG
12725 { echo "$as_me:$LINENO: result
: $result" >&5
12726 echo "${ECHO_T}$result" >&6; }
12730 defaultval=$wxUSE_ALL_FEATURES
12731 if test -z "$defaultval"; then
12732 if test x"$enablestring" = xdisable; then
12739 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12740 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12741 # Check whether --enable-tipdlg was given.
12742 if test "${enable_tipdlg+set}" = set; then
12743 enableval=$enable_tipdlg;
12744 if test "$enableval" = yes; then
12745 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12747 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12752 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12757 eval "$wx_cv_use_tipdlg"
12759 if test x
"$enablestring" = xdisable
; then
12760 if test $wxUSE_STARTUP_TIPS = no
; then
12766 result
=$wxUSE_STARTUP_TIPS
12769 { echo "$as_me:$LINENO: result: $result" >&5
12770 echo "${ECHO_T}$result" >&6; }
12774 defaultval
=$wxUSE_ALL_FEATURES
12775 if test -z "$defaultval"; then
12776 if test x
"$enablestring" = xdisable
; then
12783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12784 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12785 # Check whether --enable-progressdlg was given.
12786 if test "${enable_progressdlg+set}" = set; then
12787 enableval
=$enable_progressdlg;
12788 if test "$enableval" = yes; then
12789 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12791 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12796 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12801 eval "$wx_cv_use_progressdlg"
12803 if test x"$enablestring" = xdisable; then
12804 if test $wxUSE_PROGRESSDLG = no; then
12810 result=$wxUSE_PROGRESSDLG
12813 { echo "$as_me:$LINENO: result: $result" >&5
12814 echo "${ECHO_T}$result" >&6; }
12818 defaultval=$wxUSE_ALL_FEATURES
12819 if test -z "$defaultval"; then
12820 if test x"$enablestring" = xdisable; then
12827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12828 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12829 # Check whether --enable-wizarddlg was given.
12830 if test "${enable_wizarddlg+set}" = set; then
12831 enableval=$enable_wizarddlg;
12832 if test "$enableval" = yes; then
12833 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12835 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12840 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12845 eval "$wx_cv_use_wizarddlg"
12847 if test x"$enablestring" = xdisable; then
12848 if test $wxUSE_WIZARDDLG = no; then
12854 result=$wxUSE_WIZARDDLG
12857 { echo "$as_me:$LINENO: result
: $result" >&5
12858 echo "${ECHO_T}$result" >&6; }
12864 defaultval=$wxUSE_ALL_FEATURES
12865 if test -z "$defaultval"; then
12866 if test x"$enablestring" = xdisable; then
12873 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12874 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12875 # Check whether --enable-menus was given.
12876 if test "${enable_menus+set}" = set; then
12877 enableval=$enable_menus;
12878 if test "$enableval" = yes; then
12879 wx_cv_use_menus='wxUSE_MENUS=yes'
12881 wx_cv_use_menus='wxUSE_MENUS=no'
12886 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12891 eval "$wx_cv_use_menus"
12893 if test x
"$enablestring" = xdisable
; then
12894 if test $wxUSE_MENUS = no
; then
12900 result
=$wxUSE_MENUS
12903 { echo "$as_me:$LINENO: result: $result" >&5
12904 echo "${ECHO_T}$result" >&6; }
12908 defaultval
=$wxUSE_ALL_FEATURES
12909 if test -z "$defaultval"; then
12910 if test x
"$enablestring" = xdisable
; then
12917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12918 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12919 # Check whether --enable-miniframe was given.
12920 if test "${enable_miniframe+set}" = set; then
12921 enableval
=$enable_miniframe;
12922 if test "$enableval" = yes; then
12923 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12925 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12930 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12935 eval "$wx_cv_use_miniframe"
12937 if test x"$enablestring" = xdisable; then
12938 if test $wxUSE_MINIFRAME = no; then
12944 result=$wxUSE_MINIFRAME
12947 { echo "$as_me:$LINENO: result: $result" >&5
12948 echo "${ECHO_T}$result" >&6; }
12952 defaultval=$wxUSE_ALL_FEATURES
12953 if test -z "$defaultval"; then
12954 if test x"$enablestring" = xdisable; then
12961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12962 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12963 # Check whether --enable-tooltips was given.
12964 if test "${enable_tooltips+set}" = set; then
12965 enableval=$enable_tooltips;
12966 if test "$enableval" = yes; then
12967 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12969 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12974 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12979 eval "$wx_cv_use_tooltips"
12981 if test x"$enablestring" = xdisable; then
12982 if test $wxUSE_TOOLTIPS = no; then
12988 result=$wxUSE_TOOLTIPS
12991 { echo "$as_me:$LINENO: result
: $result" >&5
12992 echo "${ECHO_T}$result" >&6; }
12996 defaultval=$wxUSE_ALL_FEATURES
12997 if test -z "$defaultval"; then
12998 if test x"$enablestring" = xdisable; then
13005 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13006 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13007 # Check whether --enable-splines was given.
13008 if test "${enable_splines+set}" = set; then
13009 enableval=$enable_splines;
13010 if test "$enableval" = yes; then
13011 wx_cv_use_splines='wxUSE_SPLINES=yes'
13013 wx_cv_use_splines='wxUSE_SPLINES=no'
13018 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13023 eval "$wx_cv_use_splines"
13025 if test x
"$enablestring" = xdisable
; then
13026 if test $wxUSE_SPLINES = no
; then
13032 result
=$wxUSE_SPLINES
13035 { echo "$as_me:$LINENO: result: $result" >&5
13036 echo "${ECHO_T}$result" >&6; }
13040 defaultval
=$wxUSE_ALL_FEATURES
13041 if test -z "$defaultval"; then
13042 if test x
"$enablestring" = xdisable
; then
13049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13050 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13051 # Check whether --enable-mousewheel was given.
13052 if test "${enable_mousewheel+set}" = set; then
13053 enableval
=$enable_mousewheel;
13054 if test "$enableval" = yes; then
13055 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13057 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13062 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13067 eval "$wx_cv_use_mousewheel"
13069 if test x"$enablestring" = xdisable; then
13070 if test $wxUSE_MOUSEWHEEL = no; then
13076 result=$wxUSE_MOUSEWHEEL
13079 { echo "$as_me:$LINENO: result: $result" >&5
13080 echo "${ECHO_T}$result" >&6; }
13084 defaultval=$wxUSE_ALL_FEATURES
13085 if test -z "$defaultval"; then
13086 if test x"$enablestring" = xdisable; then
13093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13094 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13095 # Check whether --enable-validators was given.
13096 if test "${enable_validators+set}" = set; then
13097 enableval=$enable_validators;
13098 if test "$enableval" = yes; then
13099 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13101 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13106 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13111 eval "$wx_cv_use_validators"
13113 if test x"$enablestring" = xdisable; then
13114 if test $wxUSE_VALIDATORS = no; then
13120 result=$wxUSE_VALIDATORS
13123 { echo "$as_me:$LINENO: result
: $result" >&5
13124 echo "${ECHO_T}$result" >&6; }
13128 defaultval=$wxUSE_ALL_FEATURES
13129 if test -z "$defaultval"; then
13130 if test x"$enablestring" = xdisable; then
13137 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13138 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13139 # Check whether --enable-busyinfo was given.
13140 if test "${enable_busyinfo+set}" = set; then
13141 enableval=$enable_busyinfo;
13142 if test "$enableval" = yes; then
13143 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13145 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13150 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13155 eval "$wx_cv_use_busyinfo"
13157 if test x
"$enablestring" = xdisable
; then
13158 if test $wxUSE_BUSYINFO = no
; then
13164 result
=$wxUSE_BUSYINFO
13167 { echo "$as_me:$LINENO: result: $result" >&5
13168 echo "${ECHO_T}$result" >&6; }
13172 defaultval
=$wxUSE_ALL_FEATURES
13173 if test -z "$defaultval"; then
13174 if test x
"$enablestring" = xdisable
; then
13181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13182 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13183 # Check whether --enable-joystick was given.
13184 if test "${enable_joystick+set}" = set; then
13185 enableval
=$enable_joystick;
13186 if test "$enableval" = yes; then
13187 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13189 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13194 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13199 eval "$wx_cv_use_joystick"
13201 if test x"$enablestring" = xdisable; then
13202 if test $wxUSE_JOYSTICK = no; then
13208 result=$wxUSE_JOYSTICK
13211 { echo "$as_me:$LINENO: result: $result" >&5
13212 echo "${ECHO_T}$result" >&6; }
13216 defaultval=$wxUSE_ALL_FEATURES
13217 if test -z "$defaultval"; then
13218 if test x"$enablestring" = xdisable; then
13225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13226 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13227 # Check whether --enable-metafile was given.
13228 if test "${enable_metafile+set}" = set; then
13229 enableval=$enable_metafile;
13230 if test "$enableval" = yes; then
13231 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13233 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13238 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13243 eval "$wx_cv_use_metafile"
13245 if test x"$enablestring" = xdisable; then
13246 if test $wxUSE_METAFILE = no; then
13252 result=$wxUSE_METAFILE
13255 { echo "$as_me:$LINENO: result
: $result" >&5
13256 echo "${ECHO_T}$result" >&6; }
13260 defaultval=$wxUSE_ALL_FEATURES
13261 if test -z "$defaultval"; then
13262 if test x"$enablestring" = xdisable; then
13269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13270 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13271 # Check whether --enable-dragimage was given.
13272 if test "${enable_dragimage+set}" = set; then
13273 enableval=$enable_dragimage;
13274 if test "$enableval" = yes; then
13275 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13277 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13282 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13287 eval "$wx_cv_use_dragimage"
13289 if test x
"$enablestring" = xdisable
; then
13290 if test $wxUSE_DRAGIMAGE = no
; then
13296 result
=$wxUSE_DRAGIMAGE
13299 { echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6; }
13304 defaultval
=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x
"$enablestring" = xdisable
; then
13313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13315 # Check whether --enable-accessibility was given.
13316 if test "${enable_accessibility+set}" = set; then
13317 enableval
=$enable_accessibility;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13321 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13326 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13331 eval "$wx_cv_use_accessibility"
13333 if test x"$enablestring" = xdisable; then
13334 if test $wxUSE_ACCESSIBILITY = no; then
13340 result=$wxUSE_ACCESSIBILITY
13343 { echo "$as_me:$LINENO: result: $result" >&5
13344 echo "${ECHO_T}$result" >&6; }
13350 defaultval=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x"$enablestring" = xdisable; then
13359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13360 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13361 # Check whether --enable-palette was given.
13362 if test "${enable_palette+set}" = set; then
13363 enableval=$enable_palette;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13367 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13372 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13377 eval "$wx_cv_use_palette"
13379 if test x"$enablestring" = xdisable; then
13380 if test $wxUSE_PALETTE = no; then
13386 result=$wxUSE_PALETTE
13389 { echo "$as_me:$LINENO: result
: $result" >&5
13390 echo "${ECHO_T}$result" >&6; }
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13403 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13404 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13405 # Check whether --enable-image was given.
13406 if test "${enable_image+set}" = set; then
13407 enableval=$enable_image;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_image='wxUSE_IMAGE=yes'
13411 wx_cv_use_image='wxUSE_IMAGE=no'
13416 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13421 eval "$wx_cv_use_image"
13423 if test x
"$enablestring" = xdisable
; then
13424 if test $wxUSE_IMAGE = no
; then
13430 result
=$wxUSE_IMAGE
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13438 defaultval
=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x
"$enablestring" = xdisable
; then
13447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13448 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13449 # Check whether --enable-gif was given.
13450 if test "${enable_gif+set}" = set; then
13451 enableval
=$enable_gif;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_gif
='wxUSE_GIF=yes'
13455 wx_cv_use_gif
='wxUSE_GIF=no'
13460 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13465 eval "$wx_cv_use_gif"
13467 if test x"$enablestring" = xdisable; then
13468 if test $wxUSE_GIF = no; then
13477 { echo "$as_me:$LINENO: result: $result" >&5
13478 echo "${ECHO_T}$result" >&6; }
13482 defaultval=$wxUSE_ALL_FEATURES
13483 if test -z "$defaultval"; then
13484 if test x"$enablestring" = xdisable; then
13491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13492 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13493 # Check whether --enable-pcx was given.
13494 if test "${enable_pcx+set}" = set; then
13495 enableval=$enable_pcx;
13496 if test "$enableval" = yes; then
13497 wx_cv_use_pcx='wxUSE_PCX
=yes'
13499 wx_cv_use_pcx='wxUSE_PCX
=no
'
13504 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13509 eval "$wx_cv_use_pcx"
13511 if test x"$enablestring" = xdisable; then
13512 if test $wxUSE_PCX = no; then
13521 { echo "$as_me:$LINENO: result
: $result" >&5
13522 echo "${ECHO_T}$result" >&6; }
13526 defaultval=$wxUSE_ALL_FEATURES
13527 if test -z "$defaultval"; then
13528 if test x"$enablestring" = xdisable; then
13535 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13536 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13537 # Check whether --enable-tga was given.
13538 if test "${enable_tga+set}" = set; then
13539 enableval=$enable_tga;
13540 if test "$enableval" = yes; then
13541 wx_cv_use_tga='wxUSE_TGA=yes'
13543 wx_cv_use_tga='wxUSE_TGA=no'
13548 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13553 eval "$wx_cv_use_tga"
13555 if test x
"$enablestring" = xdisable
; then
13556 if test $wxUSE_TGA = no
; then
13565 { echo "$as_me:$LINENO: result: $result" >&5
13566 echo "${ECHO_T}$result" >&6; }
13570 defaultval
=$wxUSE_ALL_FEATURES
13571 if test -z "$defaultval"; then
13572 if test x
"$enablestring" = xdisable
; then
13579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13580 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13581 # Check whether --enable-iff was given.
13582 if test "${enable_iff+set}" = set; then
13583 enableval
=$enable_iff;
13584 if test "$enableval" = yes; then
13585 wx_cv_use_iff
='wxUSE_IFF=yes'
13587 wx_cv_use_iff
='wxUSE_IFF=no'
13592 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13597 eval "$wx_cv_use_iff"
13599 if test x"$enablestring" = xdisable; then
13600 if test $wxUSE_IFF = no; then
13609 { echo "$as_me:$LINENO: result: $result" >&5
13610 echo "${ECHO_T}$result" >&6; }
13614 defaultval=$wxUSE_ALL_FEATURES
13615 if test -z "$defaultval"; then
13616 if test x"$enablestring" = xdisable; then
13623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13624 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13625 # Check whether --enable-pnm was given.
13626 if test "${enable_pnm+set}" = set; then
13627 enableval=$enable_pnm;
13628 if test "$enableval" = yes; then
13629 wx_cv_use_pnm='wxUSE_PNM
=yes'
13631 wx_cv_use_pnm='wxUSE_PNM
=no
'
13636 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13641 eval "$wx_cv_use_pnm"
13643 if test x"$enablestring" = xdisable; then
13644 if test $wxUSE_PNM = no; then
13653 { echo "$as_me:$LINENO: result
: $result" >&5
13654 echo "${ECHO_T}$result" >&6; }
13658 defaultval=$wxUSE_ALL_FEATURES
13659 if test -z "$defaultval"; then
13660 if test x"$enablestring" = xdisable; then
13667 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13668 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13669 # Check whether --enable-xpm was given.
13670 if test "${enable_xpm+set}" = set; then
13671 enableval=$enable_xpm;
13672 if test "$enableval" = yes; then
13673 wx_cv_use_xpm='wxUSE_XPM=yes'
13675 wx_cv_use_xpm='wxUSE_XPM=no'
13680 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13685 eval "$wx_cv_use_xpm"
13687 if test x
"$enablestring" = xdisable
; then
13688 if test $wxUSE_XPM = no
; then
13697 { echo "$as_me:$LINENO: result: $result" >&5
13698 echo "${ECHO_T}$result" >&6; }
13702 defaultval
=$wxUSE_ALL_FEATURES
13703 if test -z "$defaultval"; then
13704 if test x
"$enablestring" = xdisable
; then
13711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13712 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13713 # Check whether --enable-ico_cur was given.
13714 if test "${enable_ico_cur+set}" = set; then
13715 enableval
=$enable_ico_cur;
13716 if test "$enableval" = yes; then
13717 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13719 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13724 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13729 eval "$wx_cv_use_ico_cur"
13731 if test x"$enablestring" = xdisable; then
13732 if test $wxUSE_ICO_CUR = no; then
13738 result=$wxUSE_ICO_CUR
13741 { echo "$as_me:$LINENO: result: $result" >&5
13742 echo "${ECHO_T}$result" >&6; }
13748 defaultval=$wxUSE_ALL_FEATURES
13749 if test -z "$defaultval"; then
13750 if test x"$enablestring" = xdisable; then
13757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13758 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13759 # Check whether --enable-dccache was given.
13760 if test "${enable_dccache+set}" = set; then
13761 enableval=$enable_dccache;
13762 if test "$enableval" = yes; then
13763 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13765 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13770 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13775 eval "$wx_cv_use_dccache"
13777 if test x"$enablestring" = xdisable; then
13778 if test $wxUSE_DC_CACHEING = no; then
13784 result=$wxUSE_DC_CACHEING
13787 { echo "$as_me:$LINENO: result
: $result" >&5
13788 echo "${ECHO_T}$result" >&6; }
13792 defaultval=$wxUSE_ALL_FEATURES
13793 if test -z "$defaultval"; then
13794 if test x"$enablestring" = xdisable; then
13801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13802 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13803 # Check whether --enable-ps-in-msw was given.
13804 if test "${enable_ps_in_msw+set}" = set; then
13805 enableval=$enable_ps_in_msw;
13806 if test "$enableval" = yes; then
13807 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13809 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13814 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13819 eval "$wx_cv_use_ps_in_msw"
13821 if test x
"$enablestring" = xdisable
; then
13822 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
13828 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13831 { echo "$as_me:$LINENO: result: $result" >&5
13832 echo "${ECHO_T}$result" >&6; }
13836 defaultval
=$wxUSE_ALL_FEATURES
13837 if test -z "$defaultval"; then
13838 if test x
"$enablestring" = xdisable
; then
13845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13846 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13847 # Check whether --enable-ownerdrawn was given.
13848 if test "${enable_ownerdrawn+set}" = set; then
13849 enableval
=$enable_ownerdrawn;
13850 if test "$enableval" = yes; then
13851 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13853 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13858 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13863 eval "$wx_cv_use_ownerdrawn"
13865 if test x"$enablestring" = xdisable; then
13866 if test $wxUSE_OWNER_DRAWN = no; then
13872 result=$wxUSE_OWNER_DRAWN
13875 { echo "$as_me:$LINENO: result: $result" >&5
13876 echo "${ECHO_T}$result" >&6; }
13880 defaultval=$wxUSE_ALL_FEATURES
13881 if test -z "$defaultval"; then
13882 if test x"$enablestring" = xdisable; then
13889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13890 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13891 # Check whether --enable-uxtheme was given.
13892 if test "${enable_uxtheme+set}" = set; then
13893 enableval=$enable_uxtheme;
13894 if test "$enableval" = yes; then
13895 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13897 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13902 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13907 eval "$wx_cv_use_uxtheme"
13909 if test x"$enablestring" = xdisable; then
13910 if test $wxUSE_UXTHEME = no; then
13916 result=$wxUSE_UXTHEME
13919 { echo "$as_me:$LINENO: result
: $result" >&5
13920 echo "${ECHO_T}$result" >&6; }
13924 defaultval=$wxUSE_ALL_FEATURES
13925 if test -z "$defaultval"; then
13926 if test x"$enablestring" = xdisable; then
13933 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13934 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13935 # Check whether --enable-wxdib was given.
13936 if test "${enable_wxdib+set}" = set; then
13937 enableval=$enable_wxdib;
13938 if test "$enableval" = yes; then
13939 wx_cv_use_wxdib='wxUSE_DIB=yes'
13941 wx_cv_use_wxdib='wxUSE_DIB=no'
13946 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13951 eval "$wx_cv_use_wxdib"
13953 if test x
"$enablestring" = xdisable
; then
13954 if test $wxUSE_DIB = no
; then
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13967 if test "$wxUSE_MSW" != 1; then
13968 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13973 defaultval
=$wxUSE_ALL_FEATURES
13974 if test -z "$defaultval"; then
13975 if test x
"$enablestring" = xdisable
; then
13982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13983 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13984 # Check whether --enable-autoidman was given.
13985 if test "${enable_autoidman+set}" = set; then
13986 enableval
=$enable_autoidman;
13987 if test "$enableval" = yes; then
13988 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13990 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13995 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14000 eval "$wx_cv_use_autoidman"
14002 if test x"$enablestring" = xdisable; then
14003 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14009 result=$wxUSE_AUTOID_MANAGEMENT
14012 { echo "$as_me:$LINENO: result: $result" >&5
14013 echo "${ECHO_T}$result" >&6; }
14019 cat >confcache <<\_ACEOF
14020 # This file is a shell script that caches the results of configure
14021 # tests run on this system so they can be shared between configure
14022 # scripts and configure runs, see configure's option
--config-cache.
14023 # It is not useful on other systems. If it contains results you don't
14024 # want to keep, you may remove or edit it.
14026 # config.status only pays attention to the cache file if you give it
14027 # the --recheck option to rerun configure.
14029 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14030 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14031 # following values.
14035 # The following way of writing the cache mishandles newlines in values,
14036 # but we know of no workaround that is simple, portable, and efficient.
14037 # So, we kill variables containing newlines.
14038 # Ultrix sh set writes to stderr and can't be redirected directly,
14039 # and sets the high bit in the cache file unless we assign to the vars.
14041 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14042 eval ac_val
=\$
$ac_var
14046 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14047 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14050 _
| IFS
| as_nl
) ;; #(
14051 *) $as_unset $ac_var ;;
14057 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14058 *${as_nl}ac_space
=\
*)
14059 # `set' does not quote correctly, so add quotes (double-quote
14060 # substitution turns \\\\ into \\, and sed turns \\ into \).
14063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14066 # `set' quotes correctly as required by POSIX, so do not add quotes.
14067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14076 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14078 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14080 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14081 if test -w "$cache_file"; then
14082 test "x$cache_file" != "x/dev/null" &&
14083 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14084 echo "$as_me: updating cache $cache_file" >&6;}
14085 cat confcache
>$cache_file
14087 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14088 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14098 ac_cpp
='$CPP $CPPFLAGS'
14099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14102 if test -n "$ac_tool_prefix"; then
14103 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14104 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14107 if test "${ac_cv_prog_CC+set}" = set; then
14108 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 if test -n "$CC"; then
14111 ac_cv_prog_CC
="$CC" # Let the user override the test.
14113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14114 for as_dir
in $PATH
14117 test -z "$as_dir" && as_dir
=.
14118 for ac_exec_ext
in '' $ac_executable_extensions; do
14119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14120 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14131 if test -n "$CC"; then
14132 { echo "$as_me:$LINENO: result: $CC" >&5
14133 echo "${ECHO_T}$CC" >&6; }
14135 { echo "$as_me:$LINENO: result: no" >&5
14136 echo "${ECHO_T}no" >&6; }
14141 if test -z "$ac_cv_prog_CC"; then
14143 # Extract the first word of "gcc", so it can be a program name with args.
14144 set dummy gcc
; ac_word
=$2
14145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14147 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 if test -n "$ac_ct_CC"; then
14151 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14154 for as_dir
in $PATH
14157 test -z "$as_dir" && as_dir
=.
14158 for ac_exec_ext
in '' $ac_executable_extensions; do
14159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14160 ac_cv_prog_ac_ct_CC
="gcc"
14161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14170 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14171 if test -n "$ac_ct_CC"; then
14172 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14173 echo "${ECHO_T}$ac_ct_CC" >&6; }
14175 { echo "$as_me:$LINENO: result: no" >&5
14176 echo "${ECHO_T}no" >&6; }
14179 if test "x$ac_ct_CC" = x
; then
14182 case $cross_compiling:$ac_tool_warned in
14184 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14185 whose name does not start with the host triplet. If you think this
14186 configuration is useful to you, please write to autoconf@gnu.org." >&5
14187 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14188 whose name does not start with the host triplet. If you think this
14189 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14190 ac_tool_warned
=yes ;;
14195 CC
="$ac_cv_prog_CC"
14198 if test -z "$CC"; then
14199 if test -n "$ac_tool_prefix"; then
14200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14201 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14204 if test "${ac_cv_prog_CC+set}" = set; then
14205 echo $ECHO_N "(cached) $ECHO_C" >&6
14207 if test -n "$CC"; then
14208 ac_cv_prog_CC
="$CC" # Let the user override the test.
14210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14211 for as_dir
in $PATH
14214 test -z "$as_dir" && as_dir
=.
14215 for ac_exec_ext
in '' $ac_executable_extensions; do
14216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14217 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14228 if test -n "$CC"; then
14229 { echo "$as_me:$LINENO: result: $CC" >&5
14230 echo "${ECHO_T}$CC" >&6; }
14232 { echo "$as_me:$LINENO: result: no" >&5
14233 echo "${ECHO_T}no" >&6; }
14239 if test -z "$CC"; then
14240 # Extract the first word of "cc", so it can be a program name with args.
14241 set dummy cc
; ac_word
=$2
14242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14244 if test "${ac_cv_prog_CC+set}" = set; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 if test -n "$CC"; then
14248 ac_cv_prog_CC
="$CC" # Let the user override the test.
14250 ac_prog_rejected
=no
14251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14252 for as_dir
in $PATH
14255 test -z "$as_dir" && as_dir
=.
14256 for ac_exec_ext
in '' $ac_executable_extensions; do
14257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14259 ac_prog_rejected
=yes
14263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14270 if test $ac_prog_rejected = yes; then
14271 # We found a bogon in the path, so make sure we never use it.
14272 set dummy
$ac_cv_prog_CC
14274 if test $# != 0; then
14275 # We chose a different compiler from the bogus one.
14276 # However, it has the same basename, so the bogon will be chosen
14277 # first if we set CC to just the basename; use the full file name.
14279 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14285 if test -n "$CC"; then
14286 { echo "$as_me:$LINENO: result: $CC" >&5
14287 echo "${ECHO_T}$CC" >&6; }
14289 { echo "$as_me:$LINENO: result: no" >&5
14290 echo "${ECHO_T}no" >&6; }
14295 if test -z "$CC"; then
14296 if test -n "$ac_tool_prefix"; then
14297 for ac_prog
in cl.exe
14299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14300 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14303 if test "${ac_cv_prog_CC+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 if test -n "$CC"; then
14307 ac_cv_prog_CC
="$CC" # Let the user override the test.
14309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14310 for as_dir
in $PATH
14313 test -z "$as_dir" && as_dir
=.
14314 for ac_exec_ext
in '' $ac_executable_extensions; do
14315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14316 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14327 if test -n "$CC"; then
14328 { echo "$as_me:$LINENO: result: $CC" >&5
14329 echo "${ECHO_T}$CC" >&6; }
14331 { echo "$as_me:$LINENO: result: no" >&5
14332 echo "${ECHO_T}no" >&6; }
14336 test -n "$CC" && break
14339 if test -z "$CC"; then
14341 for ac_prog
in cl.exe
14343 # Extract the first word of "$ac_prog", so it can be a program name with args.
14344 set dummy
$ac_prog; ac_word
=$2
14345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 if test -n "$ac_ct_CC"; then
14351 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14354 for as_dir
in $PATH
14357 test -z "$as_dir" && as_dir
=.
14358 for ac_exec_ext
in '' $ac_executable_extensions; do
14359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14360 ac_cv_prog_ac_ct_CC
="$ac_prog"
14361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14370 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14371 if test -n "$ac_ct_CC"; then
14372 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14373 echo "${ECHO_T}$ac_ct_CC" >&6; }
14375 { echo "$as_me:$LINENO: result: no" >&5
14376 echo "${ECHO_T}no" >&6; }
14380 test -n "$ac_ct_CC" && break
14383 if test "x$ac_ct_CC" = x
; then
14386 case $cross_compiling:$ac_tool_warned in
14388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14389 whose name does not start with the host triplet. If you think this
14390 configuration is useful to you, please write to autoconf@gnu.org." >&5
14391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14392 whose name does not start with the host triplet. If you think this
14393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14394 ac_tool_warned
=yes ;;
14403 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14404 See \`config.log' for more details." >&5
14405 echo "$as_me: error: no acceptable C compiler found in \$PATH
14406 See \`config.log' for more details." >&2;}
14407 { (exit 1); exit 1; }; }
14409 # Provide some information about the compiler.
14410 echo "$as_me:$LINENO: checking for C compiler version" >&5
14411 ac_compiler
=`set X $ac_compile; echo $2`
14412 { (ac_try
="$ac_compiler --version >&5"
14413 case "(($ac_try" in
14414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 (eval "$ac_compiler --version >&5") 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }
14422 { (ac_try="$ac_compiler -v >&5"
14423 case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14425 *) ac_try_echo
=$ac_try;;
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_compiler -v >&5") 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }
14432 { (ac_try
="$ac_compiler -V >&5"
14433 case "(($ac_try" in
14434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_compiler -V >&5") 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }
14443 cat >conftest.$ac_ext <<_ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14458 ac_clean_files_save=$ac_clean_files
14459 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14460 # Try to create an executable without -o first, disregard a.out.
14461 # It will help us diagnose broken compilers, and finding out an intuition
14463 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14464 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14465 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14467 # List of possible output files, starting from the most likely.
14468 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14469 # only as a last resort. b.out is created by i960 compilers.
14470 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14472 # The IRIX 6 linker writes into existing files which may not be
14473 # executable, retaining their permissions. Remove them first so a
14474 # subsequent execution test works.
14476 for ac_file in $ac_files
14479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14480 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14485 if { (ac_try="$ac_link_default"
14486 case "(($ac_try" in
14487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14488 *) ac_try_echo=$ac_try;;
14490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14491 (eval "$ac_link_default") 2>&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); }; then
14495 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14496 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14497 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14498 # so that the user can short-circuit this test for compilers unknown to
14500 for ac_file
in $ac_files ''
14502 test -f "$ac_file" || continue
14504 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14507 # We found the default executable, but exeext='' is most
14511 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14513 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14515 # We set ac_cv_exeext here because the later test for it is not
14516 # safe: cross compilers may not add the suffix if given an `-o'
14517 # argument, so we may need to know it at that point already.
14518 # Even if this section looks crufty: it has the advantage of
14519 # actually working.
14525 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14531 { echo "$as_me:$LINENO: result: $ac_file" >&5
14532 echo "${ECHO_T}$ac_file" >&6; }
14533 if test -z "$ac_file"; then
14534 echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.
$ac_ext >&5
14537 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14538 See \`config.log' for more details." >&5
14539 echo "$as_me: error: C compiler cannot create executables
14540 See \`config.log' for more details." >&2;}
14541 { (exit 77); exit 77; }; }
14544 ac_exeext
=$ac_cv_exeext
14546 # Check that the compiler produces executables we can run. If not, either
14547 # the compiler is broken, or we cross compile.
14548 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14549 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14550 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14551 # If not cross compiling, check that we can run a simple program.
14552 if test "$cross_compiling" != yes; then
14553 if { ac_try
='./$ac_file'
14554 { (case "(($ac_try" in
14555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14556 *) ac_try_echo=$ac_try;;
14558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14559 (eval "$ac_try") 2>&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; }; then
14565 if test "$cross_compiling" = maybe; then
14566 cross_compiling=yes
14568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14569 If you meant to cross compile, use \`--host'.
14570 See \`config.log' for more details.
" >&5
14571 echo "$as_me: error
: cannot run C compiled programs.
14572 If you meant to cross compile
, use \
`--host'.
14573 See \`config.log
' for more details." >&2;}
14574 { (exit 1); exit 1; }; }
14578 { echo "$as_me:$LINENO: result: yes" >&5
14579 echo "${ECHO_T}yes" >&6; }
14581 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14582 ac_clean_files=$ac_clean_files_save
14583 # Check that the compiler produces executables we can run. If not, either
14584 # the compiler is broken, or we cross compile.
14585 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14587 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14588 echo "${ECHO_T}$cross_compiling" >&6; }
14590 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14592 if { (ac_try="$ac_link"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_link") 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; then
14602 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14603 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14604 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14606 for ac_file
in conftest.exe conftest conftest.
*; do
14607 test -f "$ac_file" || continue
14609 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14610 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14616 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14617 See \`config.log' for more details." >&5
14618 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14619 See \`config.log' for more details." >&2;}
14620 { (exit 1); exit 1; }; }
14623 rm -f conftest
$ac_cv_exeext
14624 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14625 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14627 rm -f conftest.
$ac_ext
14628 EXEEXT
=$ac_cv_exeext
14630 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14631 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14632 if test "${ac_cv_objext+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 cat >conftest.
$ac_ext <<_ACEOF
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14650 rm -f conftest.o conftest.obj
14651 if { (ac_try
="$ac_compile"
14652 case "(($ac_try" in
14653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14657 (eval "$ac_compile") 2>&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; then
14661 for ac_file in conftest.o conftest.obj conftest.*; do
14662 test -f "$ac_file" || continue;
14664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14665 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14670 echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.$ac_ext >&5
14673 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14674 See \`config.log
' for more details." >&5
14675 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14676 See \`config.log' for more details.
" >&2;}
14677 { (exit 1); exit 1; }; }
14680 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14682 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14683 echo "${ECHO_T}$ac_cv_objext" >&6; }
14684 OBJEXT=$ac_cv_objext
14686 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14687 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14688 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14689 echo $ECHO_N "(cached
) $ECHO_C" >&6
14691 cat >conftest.$ac_ext <<_ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14709 rm -f conftest.$ac_objext
14710 if { (ac_try="$ac_compile"
14711 case "(($ac_try" in
14712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14713 *) ac_try_echo=$ac_try;;
14715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14716 (eval "$ac_compile") 2>conftest.er1
14718 grep -v '^ *+' conftest.er1 >conftest.err
14720 cat conftest.err >&5
14721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14722 (exit $ac_status); } && {
14723 test -z "$ac_c_werror_flag" ||
14724 test ! -s conftest.err
14725 } && test -s conftest.$ac_objext; then
14726 ac_compiler_gnu=yes
14728 echo "$as_me: failed program was
:" >&5
14729 sed 's/^/| /' conftest.$ac_ext >&5
14734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14735 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14738 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14739 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14740 GCC=`test $ac_compiler_gnu = yes && echo yes`
14741 ac_test_CFLAGS=${CFLAGS+set}
14742 ac_save_CFLAGS=$CFLAGS
14743 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14744 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14745 if test "${ac_cv_prog_cc_g+set}" = set; then
14746 echo $ECHO_N "(cached
) $ECHO_C" >&6
14748 ac_save_c_werror_flag=$ac_c_werror_flag
14749 ac_c_werror_flag=yes
14752 cat >conftest.$ac_ext <<_ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14767 rm -f conftest.$ac_objext
14768 if { (ac_try="$ac_compile"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compile") 2>conftest.er1
14776 grep -v '^ *+' conftest.er1 >conftest.err
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest.$ac_objext; then
14784 ac_cv_prog_cc_g=yes
14786 echo "$as_me: failed program was
:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14790 cat >conftest.$ac_ext <<_ACEOF
14793 cat confdefs.h >>conftest.$ac_ext
14794 cat >>conftest.$ac_ext <<_ACEOF
14795 /* end confdefs.h. */
14805 rm -f conftest.$ac_objext
14806 if { (ac_try="$ac_compile"
14807 case "(($ac_try" in
14808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14809 *) ac_try_echo=$ac_try;;
14811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14812 (eval "$ac_compile") 2>conftest.er1
14814 grep -v '^ *+' conftest.er1 >conftest.err
14816 cat conftest.err >&5
14817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14818 (exit $ac_status); } && {
14819 test -z "$ac_c_werror_flag" ||
14820 test ! -s conftest.err
14821 } && test -s conftest.$ac_objext; then
14824 echo "$as_me: failed program was
:" >&5
14825 sed 's/^/| /' conftest.$ac_ext >&5
14827 ac_c_werror_flag=$ac_save_c_werror_flag
14829 cat >conftest.$ac_ext <<_ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14844 rm -f conftest.$ac_objext
14845 if { (ac_try="$ac_compile"
14846 case "(($ac_try" in
14847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14848 *) ac_try_echo=$ac_try;;
14850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14851 (eval "$ac_compile") 2>conftest.er1
14853 grep -v '^ *+' conftest.er1 >conftest.err
14855 cat conftest.err >&5
14856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14857 (exit $ac_status); } && {
14858 test -z "$ac_c_werror_flag" ||
14859 test ! -s conftest.err
14860 } && test -s conftest.$ac_objext; then
14861 ac_cv_prog_cc_g=yes
14863 echo "$as_me: failed program was
:" >&5
14864 sed 's/^/| /' conftest.$ac_ext >&5
14869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14876 ac_c_werror_flag=$ac_save_c_werror_flag
14878 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14879 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14880 if test "$ac_test_CFLAGS" = set; then
14881 CFLAGS=$ac_save_CFLAGS
14882 elif test $ac_cv_prog_cc_g = yes; then
14883 if test "$GCC" = yes; then
14889 if test "$GCC" = yes; then
14895 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14896 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14897 if test "${ac_cv_prog_cc_c89+set}" = set; then
14898 echo $ECHO_N "(cached
) $ECHO_C" >&6
14900 ac_cv_prog_cc_c89=no
14902 cat >conftest.$ac_ext <<_ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 #include <stdarg.h>
14910 #include <sys/types.h>
14911 #include <sys/stat.h>
14912 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14913 struct buf { int x; };
14914 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14915 static char *e (p, i)
14921 static char *f (char * (*g) (char **, int), char **p, ...)
14926 s = g (p, va_arg (v,int));
14931 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14932 function prototypes and stuff, but not '\xHH' hex character constants.
14933 These don't provoke an error unfortunately, instead are silently treated
14934 as 'x'. The following induces an error, until -std is added to get
14935 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14936 array size at least. It's necessary to write '\x00'==0 to get something
14937 that's true only with -std. */
14938 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14940 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14941 inside strings and character constants. */
14943 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14945 int test (int i, double x);
14946 struct s1 {int (*f) (int a);};
14947 struct s2 {int (*f) (double a);};
14948 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14954 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14959 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14960 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14962 CC="$ac_save_CC $ac_arg"
14963 rm -f conftest.$ac_objext
14964 if { (ac_try="$ac_compile"
14965 case "(($ac_try" in
14966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14967 *) ac_try_echo=$ac_try;;
14969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14970 (eval "$ac_compile") 2>conftest.er1
14972 grep -v '^ *+' conftest.er1 >conftest.err
14974 cat conftest.err >&5
14975 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14976 (exit $ac_status); } && {
14977 test -z "$ac_c_werror_flag" ||
14978 test ! -s conftest.err
14979 } && test -s conftest.$ac_objext; then
14980 ac_cv_prog_cc_c89=$ac_arg
14982 echo "$as_me: failed program was
:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14988 rm -f core conftest.err conftest.$ac_objext
14989 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14991 rm -f conftest.$ac_ext
14996 case "x
$ac_cv_prog_cc_c89" in
14998 { echo "$as_me:$LINENO: result
: none needed
" >&5
14999 echo "${ECHO_T}none needed
" >&6; } ;;
15001 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15002 echo "${ECHO_T}unsupported
" >&6; } ;;
15004 CC="$CC $ac_cv_prog_cc_c89"
15005 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15006 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15011 ac_cpp='$CPP $CPPFLAGS'
15012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15020 ac_cpp='$CPP $CPPFLAGS'
15021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15025 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15026 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15027 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15028 echo $ECHO_N "(cached
) $ECHO_C" >&6
15030 cat >conftest.$ac_ext <<_ACEOF
15033 cat confdefs.h >>conftest.$ac_ext
15034 cat >>conftest.$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15041 #ifndef __INTEL_COMPILER
15049 rm -f conftest.$ac_objext
15050 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_compile") 2>conftest.er1
15058 grep -v '^ *+' conftest.er1 >conftest.err
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest.$ac_objext; then
15066 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15068 echo "$as_me: failed program was
:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15071 bakefile_cv_c_compiler___INTEL_COMPILER=no
15075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15079 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15080 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15081 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15087 ac_cpp='$CPP $CPPFLAGS'
15088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15095 if test "$INTELCC" = "yes"; then
15099 ac_cpp='$CPP $CPPFLAGS'
15100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15104 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15105 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15106 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15107 echo $ECHO_N "(cached
) $ECHO_C" >&6
15109 cat >conftest.$ac_ext <<_ACEOF
15112 cat confdefs.h >>conftest.$ac_ext
15113 cat >>conftest.$ac_ext <<_ACEOF
15114 /* end confdefs.h. */
15120 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15128 rm -f conftest.$ac_objext
15129 if { (ac_try="$ac_compile"
15130 case "(($ac_try" in
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15132 *) ac_try_echo=$ac_try;;
15134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15135 (eval "$ac_compile") 2>conftest.er1
15137 grep -v '^ *+' conftest.er1 >conftest.err
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15141 (exit $ac_status); } && {
15142 test -z "$ac_c_werror_flag" ||
15143 test ! -s conftest.err
15144 } && test -s conftest.$ac_objext; then
15145 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15147 echo "$as_me: failed program was
:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15150 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15158 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15159 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15160 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15176 ac_cpp='$CPP $CPPFLAGS'
15177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15181 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15182 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15183 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15184 echo $ECHO_N "(cached
) $ECHO_C" >&6
15186 cat >conftest.$ac_ext <<_ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15197 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15205 rm -f conftest.$ac_objext
15206 if { (ac_try="$ac_compile"
15207 case "(($ac_try" in
15208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15209 *) ac_try_echo=$ac_try;;
15211 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15212 (eval "$ac_compile") 2>conftest.er1
15214 grep -v '^ *+' conftest.er1 >conftest.err
15216 cat conftest.err >&5
15217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15218 (exit $ac_status); } && {
15219 test -z "$ac_c_werror_flag" ||
15220 test ! -s conftest.err
15221 } && test -s conftest.$ac_objext; then
15222 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15224 echo "$as_me: failed program was
:" >&5
15225 sed 's/^/| /' conftest.$ac_ext >&5
15227 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15235 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15236 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15237 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15243 ac_cpp='$CPP $CPPFLAGS'
15244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15252 if test "x
$GCC" != "xyes
"; then
15253 if test "xCC
" = "xC
"; then
15254 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15255 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15256 if test "${bakefile_cv_c_exto+set}" = set; then
15257 echo $ECHO_N "(cached
) $ECHO_C" >&6
15259 cat >conftest.$ac_ext <<_ACEOF
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15274 rm -f conftest.$ac_objext conftest.$ac_ext.o
15275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15276 (eval $ac_compile) 2>&5
15278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15279 (exit $ac_status); }; then
15280 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15282 conftest.$ac_ext.o)
15283 bakefile_cv_c_exto="-ext o
"
15290 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15291 See \
`config.log' for more details." >&5
15292 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15293 See \`config.log
' for more details." >&2;}
15294 { (exit 1); exit 1; }; }
15298 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15302 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15303 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15304 if test "c" = "c"; then
15305 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15307 if test "c" = "cxx"; then
15308 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15312 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15313 unset ac_cv_prog_cc_g
15314 ac_test_CFLAGS=${CFLAGS+set}
15315 ac_save_CFLAGS=$CFLAGS
15316 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15317 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15318 if test "${ac_cv_prog_cc_g+set}" = set; then
15319 echo $ECHO_N "(cached) $ECHO_C" >&6
15321 ac_save_c_werror_flag=$ac_c_werror_flag
15322 ac_c_werror_flag=yes
15325 cat >conftest.$ac_ext <<_ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15340 rm -f conftest.$ac_objext
15341 if { (ac_try="$ac_compile"
15342 case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_compile") 2>conftest.er1
15349 grep -v '^
*+' conftest.er1 >conftest.err
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } && {
15354 test -z "$ac_c_werror_flag" ||
15355 test ! -s conftest.err
15356 } && test -s conftest.$ac_objext; then
15357 ac_cv_prog_cc_g=yes
15359 echo "$as_me: failed program was:" >&5
15360 sed 's
/^
/| /' conftest.$ac_ext >&5
15363 cat >conftest.$ac_ext <<_ACEOF
15366 cat confdefs.h >>conftest.$ac_ext
15367 cat >>conftest.$ac_ext <<_ACEOF
15368 /* end confdefs.h. */
15378 rm -f conftest.$ac_objext
15379 if { (ac_try="$ac_compile"
15380 case "(($ac_try" in
15381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15382 *) ac_try_echo=$ac_try;;
15384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15385 (eval "$ac_compile") 2>conftest.er1
15387 grep -v '^
*+' conftest.er1 >conftest.err
15389 cat conftest.err >&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } && {
15392 test -z "$ac_c_werror_flag" ||
15393 test ! -s conftest.err
15394 } && test -s conftest.$ac_objext; then
15397 echo "$as_me: failed program was:" >&5
15398 sed 's
/^
/| /' conftest.$ac_ext >&5
15400 ac_c_werror_flag=$ac_save_c_werror_flag
15402 cat >conftest.$ac_ext <<_ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15417 rm -f conftest.$ac_objext
15418 if { (ac_try="$ac_compile"
15419 case "(($ac_try" in
15420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15421 *) ac_try_echo=$ac_try;;
15423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15424 (eval "$ac_compile") 2>conftest.er1
15426 grep -v '^
*+' conftest.er1 >conftest.err
15428 cat conftest.err >&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } && {
15431 test -z "$ac_c_werror_flag" ||
15432 test ! -s conftest.err
15433 } && test -s conftest.$ac_objext; then
15434 ac_cv_prog_cc_g=yes
15436 echo "$as_me: failed program was:" >&5
15437 sed 's
/^
/| /' conftest.$ac_ext >&5
15442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15449 ac_c_werror_flag=$ac_save_c_werror_flag
15451 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15453 if test "$ac_test_CFLAGS" = set; then
15454 CFLAGS=$ac_save_CFLAGS
15455 elif test $ac_cv_prog_cc_g = yes; then
15456 if test "$GCC" = yes; then
15462 if test "$GCC" = yes; then
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15478 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15481 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15482 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15483 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15484 echo $ECHO_N "(cached) $ECHO_C" >&6
15486 cat >conftest.$ac_ext <<_ACEOF
15489 cat confdefs.h >>conftest.$ac_ext
15490 cat >>conftest.$ac_ext <<_ACEOF
15491 /* end confdefs.h. */
15505 rm -f conftest.$ac_objext
15506 if { (ac_try="$ac_compile"
15507 case "(($ac_try" in
15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15509 *) ac_try_echo=$ac_try;;
15511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15512 (eval "$ac_compile") 2>conftest.er1
15514 grep -v '^
*+' conftest.er1 >conftest.err
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } && {
15519 test -z "$ac_c_werror_flag" ||
15520 test ! -s conftest.err
15521 } && test -s conftest.$ac_objext; then
15522 bakefile_cv_c_compiler___xlC__=yes
15524 echo "$as_me: failed program was:" >&5
15525 sed 's
/^
/| /' conftest.$ac_ext >&5
15527 bakefile_cv_c_compiler___xlC__=no
15531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15536 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15537 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15543 ac_cpp='$CPP $CPPFLAGS'
15544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15545 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15556 ac_cpp='$CPP $CPPFLAGS'
15557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15558 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15561 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15562 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15563 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15566 cat >conftest.$ac_ext <<_ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15585 rm -f conftest.$ac_objext
15586 if { (ac_try="$ac_compile"
15587 case "(($ac_try" in
15588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15589 *) ac_try_echo=$ac_try;;
15591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15592 (eval "$ac_compile") 2>conftest.er1
15594 grep -v '^
*+' conftest.er1 >conftest.err
15596 cat conftest.err >&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } && {
15599 test -z "$ac_c_werror_flag" ||
15600 test ! -s conftest.err
15601 } && test -s conftest.$ac_objext; then
15602 bakefile_cv_c_compiler___MWERKS__=yes
15604 echo "$as_me: failed program was:" >&5
15605 sed 's
/^
/| /' conftest.$ac_ext >&5
15607 bakefile_cv_c_compiler___MWERKS__=no
15611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15615 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15616 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15617 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15623 ac_cpp='$CPP $CPPFLAGS'
15624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15625 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15630 if test "$MWCC" != "yes"; then
15634 ac_cpp='$CPP $CPPFLAGS'
15635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15636 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15639 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15640 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15641 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15642 echo $ECHO_N "(cached) $ECHO_C" >&6
15644 cat >conftest.$ac_ext <<_ACEOF
15647 cat confdefs.h >>conftest.$ac_ext
15648 cat >>conftest.$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15663 rm -f conftest.$ac_objext
15664 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15672 grep -v '^
*+' conftest.er1 >conftest.err
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest.$ac_objext; then
15680 bakefile_cv_c_compiler___xlC__=yes
15682 echo "$as_me: failed program was:" >&5
15683 sed 's
/^
/| /' conftest.$ac_ext >&5
15685 bakefile_cv_c_compiler___xlC__=no
15689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15693 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15694 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15695 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15701 ac_cpp='$CPP $CPPFLAGS'
15702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15703 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15715 ac_cpp='$CPP $CPPFLAGS'
15716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15717 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15720 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15721 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15722 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 cat >conftest.$ac_ext <<_ACEOF
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h. */
15736 #ifndef _SGI_COMPILER_VERSION
15744 rm -f conftest.$ac_objext
15745 if { (ac_try="$ac_compile"
15746 case "(($ac_try" in
15747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15748 *) ac_try_echo=$ac_try;;
15750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15751 (eval "$ac_compile") 2>conftest.er1
15753 grep -v '^
*+' conftest.er1 >conftest.err
15755 cat conftest.err >&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } && {
15758 test -z "$ac_c_werror_flag" ||
15759 test ! -s conftest.err
15760 } && test -s conftest.$ac_objext; then
15761 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15763 echo "$as_me: failed program was:" >&5
15764 sed 's
/^
/| /' conftest.$ac_ext >&5
15766 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15774 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15775 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15776 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15782 ac_cpp='$CPP $CPPFLAGS'
15783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15784 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15792 if test "$INTELCC" != "yes"; then
15796 ac_cpp='$CPP $CPPFLAGS'
15797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15798 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15801 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15802 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15803 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15806 cat >conftest.$ac_ext <<_ACEOF
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15825 rm -f conftest.$ac_objext
15826 if { (ac_try="$ac_compile"
15827 case "(($ac_try" in
15828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15829 *) ac_try_echo=$ac_try;;
15831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15832 (eval "$ac_compile") 2>conftest.er1
15834 grep -v '^
*+' conftest.er1 >conftest.err
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } && {
15839 test -z "$ac_c_werror_flag" ||
15840 test ! -s conftest.err
15841 } && test -s conftest.$ac_objext; then
15842 bakefile_cv_c_compiler___SUNPRO_C=yes
15844 echo "$as_me: failed program was:" >&5
15845 sed 's
/^
/| /' conftest.$ac_ext >&5
15847 bakefile_cv_c_compiler___SUNPRO_C=no
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15856 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15857 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15863 ac_cpp='$CPP $CPPFLAGS'
15864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15865 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15877 ac_cpp='$CPP $CPPFLAGS'
15878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15879 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15882 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15883 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15884 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 cat >conftest.$ac_ext <<_ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15906 rm -f conftest.$ac_objext
15907 if { (ac_try="$ac_compile"
15908 case "(($ac_try" in
15909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15910 *) ac_try_echo=$ac_try;;
15912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15913 (eval "$ac_compile") 2>conftest.er1
15915 grep -v '^
*+' conftest.er1 >conftest.err
15917 cat conftest.err >&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } && {
15920 test -z "$ac_c_werror_flag" ||
15921 test ! -s conftest.err
15922 } && test -s conftest.$ac_objext; then
15923 bakefile_cv_c_compiler___HP_cc=yes
15925 echo "$as_me: failed program was:" >&5
15926 sed 's
/^
/| /' conftest.$ac_ext >&5
15928 bakefile_cv_c_compiler___HP_cc=no
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15936 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15937 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15938 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15944 ac_cpp='$CPP $CPPFLAGS'
15945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15946 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15957 ac_cpp='$CPP $CPPFLAGS'
15958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15959 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15962 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15963 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15964 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 cat >conftest.$ac_ext <<_ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15986 rm -f conftest.$ac_objext
15987 if { (ac_try="$ac_compile"
15988 case "(($ac_try" in
15989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15990 *) ac_try_echo=$ac_try;;
15992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15993 (eval "$ac_compile") 2>conftest.er1
15995 grep -v '^
*+' conftest.er1 >conftest.err
15997 cat conftest.err >&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } && {
16000 test -z "$ac_c_werror_flag" ||
16001 test ! -s conftest.err
16002 } && test -s conftest.$ac_objext; then
16003 bakefile_cv_c_compiler___DECC=yes
16005 echo "$as_me: failed program was:" >&5
16006 sed 's
/^
/| /' conftest.$ac_ext >&5
16008 bakefile_cv_c_compiler___DECC=no
16012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16016 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16017 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16018 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16024 ac_cpp='$CPP $CPPFLAGS'
16025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16026 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16037 ac_cpp='$CPP $CPPFLAGS'
16038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16039 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16042 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16043 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16044 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 cat >conftest.$ac_ext <<_ACEOF
16050 cat confdefs.h >>conftest.$ac_ext
16051 cat >>conftest.$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16066 rm -f conftest.$ac_objext
16067 if { (ac_try="$ac_compile"
16068 case "(($ac_try" in
16069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16070 *) ac_try_echo=$ac_try;;
16072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16073 (eval "$ac_compile") 2>conftest.er1
16075 grep -v '^
*+' conftest.er1 >conftest.err
16077 cat conftest.err >&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } && {
16080 test -z "$ac_c_werror_flag" ||
16081 test ! -s conftest.err
16082 } && test -s conftest.$ac_objext; then
16083 bakefile_cv_c_compiler___SUNPRO_C=yes
16085 echo "$as_me: failed program was:" >&5
16086 sed 's
/^
/| /' conftest.$ac_ext >&5
16088 bakefile_cv_c_compiler___SUNPRO_C=no
16092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16096 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16097 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16098 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16104 ac_cpp='$CPP $CPPFLAGS'
16105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16106 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16118 ac_cpp='$CPP $CPPFLAGS'
16119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16120 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16122 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16123 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16124 # On Suns, sometimes $CPP names a directory.
16125 if test -n "$CPP" && test -d "$CPP"; then
16128 if test -z "$CPP"; then
16129 if test "${ac_cv_prog_CPP+set}" = set; then
16130 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 # Double quotes because CPP needs to be expanded
16133 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16135 ac_preproc_ok=false
16136 for ac_c_preproc_warn_flag in '' yes
16138 # Use a header file that comes with gcc, so configuring glibc
16139 # with a fresh cross-compiler works.
16140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16141 # <limits.h> exists even on freestanding compilers.
16142 # On the NeXT, cc -E runs the code through the compiler's parser
,
16143 # not just through cpp. "Syntax error" is here to catch this case.
16144 cat >conftest.
$ac_ext <<_ACEOF
16147 cat confdefs.h
>>conftest.
$ac_ext
16148 cat >>conftest.
$ac_ext <<_ACEOF
16149 /* end confdefs.h. */
16151 # include <limits.h>
16153 # include <assert.h>
16157 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16158 case "(($ac_try" in
16159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16160 *) ac_try_echo=$ac_try;;
16162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16165 grep -v '^ *+' conftest.er1 >conftest.err
16167 cat conftest.err >&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } >/dev/null && {
16170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16171 test ! -s conftest.err
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16178 # Broken: fails on valid input.
16182 rm -f conftest.err conftest.$ac_ext
16184 # OK, works on sane cases. Now check whether nonexistent headers
16185 # can be detected and how.
16186 cat >conftest.$ac_ext <<_ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 #include <ac_nonexistent.h>
16194 if { (ac_try="$ac_cpp conftest.$ac_ext"
16195 case "(($ac_try" in
16196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16197 *) ac_try_echo
=$ac_try;;
16199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16202 grep -v '^ *+' conftest.er1
>conftest.err
16204 cat conftest.err
>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); } >/dev
/null
&& {
16207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16208 test ! -s conftest.err
16210 # Broken: success on invalid input.
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.
$ac_ext >&5
16216 # Passes both tests.
16221 rm -f conftest.err conftest.
$ac_ext
16224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16225 rm -f conftest.err conftest.
$ac_ext
16226 if $ac_preproc_ok; then
16231 ac_cv_prog_CPP
=$CPP
16234 CPP
=$ac_cv_prog_CPP
16236 ac_cv_prog_CPP
=$CPP
16238 { echo "$as_me:$LINENO: result: $CPP" >&5
16239 echo "${ECHO_T}$CPP" >&6; }
16240 ac_preproc_ok
=false
16241 for ac_c_preproc_warn_flag
in '' yes
16243 # Use a header file that comes with gcc, so configuring glibc
16244 # with a fresh cross-compiler works.
16245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16246 # <limits.h> exists even on freestanding compilers.
16247 # On the NeXT, cc -E runs the code through the compiler's parser,
16248 # not just through cpp. "Syntax error" is here to catch this case.
16249 cat >conftest.
$ac_ext <<_ACEOF
16252 cat confdefs.h
>>conftest.
$ac_ext
16253 cat >>conftest.
$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16256 # include <limits.h>
16258 # include <assert.h>
16262 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16263 case "(($ac_try" in
16264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16265 *) ac_try_echo=$ac_try;;
16267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16270 grep -v '^ *+' conftest.er1 >conftest.err
16272 cat conftest.err >&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } >/dev/null && {
16275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16276 test ! -s conftest.err
16280 echo "$as_me: failed program was:" >&5
16281 sed 's/^/| /' conftest.$ac_ext >&5
16283 # Broken: fails on valid input.
16287 rm -f conftest.err conftest.$ac_ext
16289 # OK, works on sane cases. Now check whether nonexistent headers
16290 # can be detected and how.
16291 cat >conftest.$ac_ext <<_ACEOF
16294 cat confdefs.h >>conftest.$ac_ext
16295 cat >>conftest.$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 #include <ac_nonexistent.h>
16299 if { (ac_try="$ac_cpp conftest.$ac_ext"
16300 case "(($ac_try" in
16301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16302 *) ac_try_echo
=$ac_try;;
16304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16307 grep -v '^ *+' conftest.er1
>conftest.err
16309 cat conftest.err
>&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); } >/dev
/null
&& {
16312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16313 test ! -s conftest.err
16315 # Broken: success on invalid input.
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.
$ac_ext >&5
16321 # Passes both tests.
16326 rm -f conftest.err conftest.
$ac_ext
16329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16330 rm -f conftest.err conftest.
$ac_ext
16331 if $ac_preproc_ok; then
16334 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16335 See \`config.log' for more details." >&5
16336 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16337 See \`config.log' for more details." >&2;}
16338 { (exit 1); exit 1; }; }
16342 ac_cpp
='$CPP $CPPFLAGS'
16343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16348 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16349 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16350 if test "${ac_cv_path_GREP+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 # Extract the first word of "grep ggrep" to use in msg output
16354 if test -z "$GREP"; then
16355 set dummy
grep ggrep
; ac_prog_name
=$2
16356 if test "${ac_cv_path_GREP+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16359 ac_path_GREP_found
=false
16360 # Loop through the user's path and test for each of PROGNAME-LIST
16361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16362 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16365 test -z "$as_dir" && as_dir
=.
16366 for ac_prog
in grep ggrep
; do
16367 for ac_exec_ext
in '' $ac_executable_extensions; do
16368 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16369 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16370 # Check for GNU ac_path_GREP and select it if it is found.
16371 # Check for GNU $ac_path_GREP
16372 case `"$ac_path_GREP" --version 2>&1` in
16374 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16377 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16380 cat "conftest.in" "conftest.in" >"conftest.tmp"
16381 mv "conftest.tmp" "conftest.in"
16382 cp "conftest.in" "conftest.nl"
16383 echo 'GREP' >> "conftest.nl"
16384 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16385 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16386 ac_count
=`expr $ac_count + 1`
16387 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16388 # Best one so far, save it but keep looking for a better one
16389 ac_cv_path_GREP
="$ac_path_GREP"
16390 ac_path_GREP_max
=$ac_count
16392 # 10*(2^10) chars as input seems more than enough
16393 test $ac_count -gt 10 && break
16395 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16399 $ac_path_GREP_found && break 3
16409 GREP
="$ac_cv_path_GREP"
16410 if test -z "$GREP"; then
16411 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16412 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16413 { (exit 1); exit 1; }; }
16417 ac_cv_path_GREP
=$GREP
16422 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16423 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16424 GREP
="$ac_cv_path_GREP"
16427 { echo "$as_me:$LINENO: checking for egrep" >&5
16428 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16429 if test "${ac_cv_path_EGREP+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16433 then ac_cv_path_EGREP
="$GREP -E"
16435 # Extract the first word of "egrep" to use in msg output
16436 if test -z "$EGREP"; then
16437 set dummy
egrep; ac_prog_name
=$2
16438 if test "${ac_cv_path_EGREP+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 ac_path_EGREP_found
=false
16442 # Loop through the user's path and test for each of PROGNAME-LIST
16443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16444 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16447 test -z "$as_dir" && as_dir
=.
16448 for ac_prog
in egrep; do
16449 for ac_exec_ext
in '' $ac_executable_extensions; do
16450 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16451 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16452 # Check for GNU ac_path_EGREP and select it if it is found.
16453 # Check for GNU $ac_path_EGREP
16454 case `"$ac_path_EGREP" --version 2>&1` in
16456 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16459 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16462 cat "conftest.in" "conftest.in" >"conftest.tmp"
16463 mv "conftest.tmp" "conftest.in"
16464 cp "conftest.in" "conftest.nl"
16465 echo 'EGREP' >> "conftest.nl"
16466 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16467 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16468 ac_count
=`expr $ac_count + 1`
16469 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16470 # Best one so far, save it but keep looking for a better one
16471 ac_cv_path_EGREP
="$ac_path_EGREP"
16472 ac_path_EGREP_max
=$ac_count
16474 # 10*(2^10) chars as input seems more than enough
16475 test $ac_count -gt 10 && break
16477 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16481 $ac_path_EGREP_found && break 3
16491 EGREP
="$ac_cv_path_EGREP"
16492 if test -z "$EGREP"; then
16493 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16494 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16495 { (exit 1); exit 1; }; }
16499 ac_cv_path_EGREP
=$EGREP
16505 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16506 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16507 EGREP
="$ac_cv_path_EGREP"
16510 if test $ac_cv_c_compiler_gnu = yes; then
16511 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16512 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16513 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16514 echo $ECHO_N "(cached) $ECHO_C" >&6
16516 ac_pattern
="Autoconf.*'x'"
16517 cat >conftest.
$ac_ext <<_ACEOF
16520 cat confdefs.h
>>conftest.
$ac_ext
16521 cat >>conftest.
$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16527 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16528 ac_cv_prog_gcc_traditional
=yes
16530 ac_cv_prog_gcc_traditional
=no
16535 if test $ac_cv_prog_gcc_traditional = no
; then
16536 cat >conftest.
$ac_ext <<_ACEOF
16539 cat confdefs.h
>>conftest.
$ac_ext
16540 cat >>conftest.
$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542 #include <termio.h>
16545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16546 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16547 ac_cv_prog_gcc_traditional
=yes
16553 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16554 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16555 if test $ac_cv_prog_gcc_traditional = yes; then
16556 CC
="$CC -traditional"
16561 CXXFLAGS
=${CXXFLAGS:=}
16566 ac_cpp
='$CXXCPP $CPPFLAGS'
16567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16570 if test -z "$CXX"; then
16571 if test -n "$CCC"; then
16574 if test -n "$ac_tool_prefix"; then
16575 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16578 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16581 if test "${ac_cv_prog_CXX+set}" = set; then
16582 echo $ECHO_N "(cached) $ECHO_C" >&6
16584 if test -n "$CXX"; then
16585 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16588 for as_dir
in $PATH
16591 test -z "$as_dir" && as_dir
=.
16592 for ac_exec_ext
in '' $ac_executable_extensions; do
16593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16594 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16604 CXX
=$ac_cv_prog_CXX
16605 if test -n "$CXX"; then
16606 { echo "$as_me:$LINENO: result: $CXX" >&5
16607 echo "${ECHO_T}$CXX" >&6; }
16609 { echo "$as_me:$LINENO: result: no" >&5
16610 echo "${ECHO_T}no" >&6; }
16614 test -n "$CXX" && break
16617 if test -z "$CXX"; then
16619 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16621 # Extract the first word of "$ac_prog", so it can be a program name with args.
16622 set dummy
$ac_prog; ac_word
=$2
16623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16625 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16626 echo $ECHO_N "(cached) $ECHO_C" >&6
16628 if test -n "$ac_ct_CXX"; then
16629 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16632 for as_dir
in $PATH
16635 test -z "$as_dir" && as_dir
=.
16636 for ac_exec_ext
in '' $ac_executable_extensions; do
16637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16638 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16648 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16649 if test -n "$ac_ct_CXX"; then
16650 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16651 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16653 { echo "$as_me:$LINENO: result: no" >&5
16654 echo "${ECHO_T}no" >&6; }
16658 test -n "$ac_ct_CXX" && break
16661 if test "x$ac_ct_CXX" = x
; then
16664 case $cross_compiling:$ac_tool_warned in
16666 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16667 whose name does not start with the host triplet. If you think this
16668 configuration is useful to you, please write to autoconf@gnu.org." >&5
16669 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16670 whose name does not start with the host triplet. If you think this
16671 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16672 ac_tool_warned
=yes ;;
16680 # Provide some information about the compiler.
16681 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16682 ac_compiler
=`set X $ac_compile; echo $2`
16683 { (ac_try
="$ac_compiler --version >&5"
16684 case "(($ac_try" in
16685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16686 *) ac_try_echo=$ac_try;;
16688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16689 (eval "$ac_compiler --version >&5") 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }
16693 { (ac_try="$ac_compiler -v >&5"
16694 case "(($ac_try" in
16695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16696 *) ac_try_echo
=$ac_try;;
16698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16699 (eval "$ac_compiler -v >&5") 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }
16703 { (ac_try
="$ac_compiler -V >&5"
16704 case "(($ac_try" in
16705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compiler -V >&5") 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }
16714 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16715 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16716 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16719 cat >conftest.$ac_ext <<_ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16737 rm -f conftest.$ac_objext
16738 if { (ac_try="$ac_compile"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16741 *) ac_try_echo
=$ac_try;;
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_compile") 2>conftest.er1
16746 grep -v '^ *+' conftest.er1
>conftest.err
16748 cat conftest.err
>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && {
16751 test -z "$ac_cxx_werror_flag" ||
16752 test ! -s conftest.err
16753 } && test -s conftest.
$ac_objext; then
16754 ac_compiler_gnu
=yes
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.
$ac_ext >&5
16762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16763 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16766 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16767 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16768 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16769 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16770 ac_save_CXXFLAGS
=$CXXFLAGS
16771 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16772 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16773 if test "${ac_cv_prog_cxx_g+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16777 ac_cxx_werror_flag
=yes
16778 ac_cv_prog_cxx_g
=no
16780 cat >conftest.
$ac_ext <<_ACEOF
16783 cat confdefs.h
>>conftest.
$ac_ext
16784 cat >>conftest.
$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16795 rm -f conftest.
$ac_objext
16796 if { (ac_try
="$ac_compile"
16797 case "(($ac_try" in
16798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_compile") 2>conftest.er1
16804 grep -v '^ *+' conftest.er1 >conftest.err
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } && {
16809 test -z "$ac_cxx_werror_flag" ||
16810 test ! -s conftest.err
16811 } && test -s conftest.$ac_objext; then
16812 ac_cv_prog_cxx_g=yes
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16818 cat >conftest.$ac_ext <<_ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16837 *) ac_try_echo
=$ac_try;;
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16842 grep -v '^ *+' conftest.er1
>conftest.err
16844 cat conftest.err
>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_cxx_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.
$ac_objext; then
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.
$ac_ext >&5
16855 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16857 cat >conftest.
$ac_ext <<_ACEOF
16860 cat confdefs.h
>>conftest.
$ac_ext
16861 cat >>conftest.
$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16872 rm -f conftest.
$ac_objext
16873 if { (ac_try
="$ac_compile"
16874 case "(($ac_try" in
16875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16876 *) ac_try_echo=$ac_try;;
16878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16879 (eval "$ac_compile") 2>conftest.er1
16881 grep -v '^ *+' conftest.er1 >conftest.err
16883 cat conftest.err >&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } && {
16886 test -z "$ac_cxx_werror_flag" ||
16887 test ! -s conftest.err
16888 } && test -s conftest.$ac_objext; then
16889 ac_cv_prog_cxx_g=yes
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16906 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16907 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16908 if test "$ac_test_CXXFLAGS" = set; then
16909 CXXFLAGS=$ac_save_CXXFLAGS
16910 elif test $ac_cv_prog_cxx_g = yes; then
16911 if test "$GXX" = yes; then
16917 if test "$GXX" = yes; then
16924 ac_cpp='$CPP $CPPFLAGS'
16925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16933 ac_cpp='$CXXCPP $CPPFLAGS'
16934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16938 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16939 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16940 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 cat >conftest.$ac_ext <<_ACEOF
16946 cat confdefs.h >>conftest.$ac_ext
16947 cat >>conftest.$ac_ext <<_ACEOF
16948 /* end confdefs.h. */
16954 #ifndef __INTEL_COMPILER
16962 rm -f conftest.$ac_objext
16963 if { (ac_try="$ac_compile"
16964 case "(($ac_try" in
16965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16966 *) ac_try_echo
=$ac_try;;
16968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16969 (eval "$ac_compile") 2>conftest.er1
16971 grep -v '^ *+' conftest.er1
>conftest.err
16973 cat conftest.err
>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } && {
16976 test -z "$ac_cxx_werror_flag" ||
16977 test ! -s conftest.err
16978 } && test -s conftest.
$ac_objext; then
16979 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.
$ac_ext >&5
16984 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16992 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16993 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16994 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17000 ac_cpp
='$CPP $CPPFLAGS'
17001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17008 if test "$INTELCXX" = "yes"; then
17012 ac_cpp
='$CXXCPP $CPPFLAGS'
17013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17017 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17018 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17019 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 cat >conftest.
$ac_ext <<_ACEOF
17025 cat confdefs.h
>>conftest.
$ac_ext
17026 cat >>conftest.
$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17033 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17041 rm -f conftest.
$ac_objext
17042 if { (ac_try
="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17050 grep -v '^ *+' conftest.er1 >conftest.err
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_cxx_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17072 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17073 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17079 ac_cpp='$CPP $CPPFLAGS'
17080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17089 ac_cpp='$CXXCPP $CPPFLAGS'
17090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17094 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17095 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17096 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 cat >conftest.$ac_ext <<_ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17110 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17118 rm -f conftest.$ac_objext
17119 if { (ac_try="$ac_compile"
17120 case "(($ac_try" in
17121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17122 *) ac_try_echo
=$ac_try;;
17124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17125 (eval "$ac_compile") 2>conftest.er1
17127 grep -v '^ *+' conftest.er1
>conftest.err
17129 cat conftest.err
>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } && {
17132 test -z "$ac_cxx_werror_flag" ||
17133 test ! -s conftest.err
17134 } && test -s conftest.
$ac_objext; then
17135 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17148 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17149 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17150 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17156 ac_cpp
='$CPP $CPPFLAGS'
17157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17165 if test "x$GCXX" != "xyes"; then
17166 if test "xCXX" = "xC"; then
17167 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17168 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17169 if test "${bakefile_cv_c_exto+set}" = set; then
17170 echo $ECHO_N "(cached) $ECHO_C" >&6
17172 cat >conftest.
$ac_ext <<_ACEOF
17175 cat confdefs.h
>>conftest.
$ac_ext
17176 cat >>conftest.
$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17187 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17189 (eval $ac_compile) 2>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; then
17193 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17195 conftest.
$ac_ext.o
)
17196 bakefile_cv_c_exto
="-ext o"
17203 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17204 See \`config.log' for more details." >&5
17205 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17206 See \`config.log' for more details." >&2;}
17207 { (exit 1); exit 1; }; }
17211 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17214 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17215 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17216 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17217 if test "c" = "c"; then
17218 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17220 if test "c" = "cxx"; then
17221 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17225 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17226 unset ac_cv_prog_cc_g
17227 ac_test_CFLAGS
=${CFLAGS+set}
17228 ac_save_CFLAGS
=$CFLAGS
17229 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17230 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17231 if test "${ac_cv_prog_cc_g+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 ac_save_c_werror_flag
=$ac_c_werror_flag
17235 ac_c_werror_flag
=yes
17238 cat >conftest.
$ac_ext <<_ACEOF
17241 cat confdefs.h
>>conftest.
$ac_ext
17242 cat >>conftest.
$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17253 rm -f conftest.
$ac_objext
17254 if { (ac_try
="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17262 grep -v '^ *+' conftest.er1 >conftest.err
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.$ac_objext; then
17270 ac_cv_prog_cc_g=yes
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17276 cat >conftest.$ac_ext <<_ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17291 rm -f conftest.$ac_objext
17292 if { (ac_try="$ac_compile"
17293 case "(($ac_try" in
17294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17295 *) ac_try_echo
=$ac_try;;
17297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17298 (eval "$ac_compile") 2>conftest.er1
17300 grep -v '^ *+' conftest.er1
>conftest.err
17302 cat conftest.err
>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } && {
17305 test -z "$ac_c_werror_flag" ||
17306 test ! -s conftest.err
17307 } && test -s conftest.
$ac_objext; then
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.
$ac_ext >&5
17313 ac_c_werror_flag
=$ac_save_c_werror_flag
17315 cat >conftest.
$ac_ext <<_ACEOF
17318 cat confdefs.h
>>conftest.
$ac_ext
17319 cat >>conftest.
$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17330 rm -f conftest.
$ac_objext
17331 if { (ac_try
="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_compile") 2>conftest.er1
17339 grep -v '^ *+' conftest.er1 >conftest.err
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest.$ac_objext; then
17347 ac_cv_prog_cc_g=yes
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 ac_c_werror_flag=$ac_save_c_werror_flag
17364 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17365 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17366 if test "$ac_test_CFLAGS" = set; then
17367 CFLAGS=$ac_save_CFLAGS
17368 elif test $ac_cv_prog_cc_g = yes; then
17369 if test "$GCC" = yes; then
17375 if test "$GCC" = yes; then
17389 ac_cpp='$CXXCPP $CPPFLAGS'
17390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17394 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17395 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17396 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 cat >conftest.$ac_ext <<_ACEOF
17402 cat confdefs.h >>conftest.$ac_ext
17403 cat >>conftest.$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17418 rm -f conftest.$ac_objext
17419 if { (ac_try="$ac_compile"
17420 case "(($ac_try" in
17421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17422 *) ac_try_echo
=$ac_try;;
17424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17425 (eval "$ac_compile") 2>conftest.er1
17427 grep -v '^ *+' conftest.er1
>conftest.err
17429 cat conftest.err
>&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && {
17432 test -z "$ac_cxx_werror_flag" ||
17433 test ! -s conftest.err
17434 } && test -s conftest.
$ac_objext; then
17435 bakefile_cv_cxx_compiler___xlC__
=yes
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.
$ac_ext >&5
17440 bakefile_cv_cxx_compiler___xlC__
=no
17444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17448 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17449 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17450 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17456 ac_cpp
='$CPP $CPPFLAGS'
17457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17469 ac_cpp
='$CXXCPP $CPPFLAGS'
17470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17474 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17475 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17476 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 cat >conftest.
$ac_ext <<_ACEOF
17482 cat confdefs.h
>>conftest.
$ac_ext
17483 cat >>conftest.
$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17498 rm -f conftest.
$ac_objext
17499 if { (ac_try
="$ac_compile"
17500 case "(($ac_try" in
17501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17502 *) ac_try_echo=$ac_try;;
17504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17505 (eval "$ac_compile") 2>conftest.er1
17507 grep -v '^ *+' conftest.er1 >conftest.err
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } && {
17512 test -z "$ac_cxx_werror_flag" ||
17513 test ! -s conftest.err
17514 } && test -s conftest.$ac_objext; then
17515 bakefile_cv_cxx_compiler___MWERKS__=yes
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 bakefile_cv_cxx_compiler___MWERKS__=no
17524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17529 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17530 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17536 ac_cpp='$CPP $CPPFLAGS'
17537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17543 if test "$MWCXX" != "yes"; then
17547 ac_cpp='$CXXCPP $CPPFLAGS'
17548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17552 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17553 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17554 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 cat >conftest.$ac_ext <<_ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17576 rm -f conftest.$ac_objext
17577 if { (ac_try="$ac_compile"
17578 case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17580 *) ac_try_echo
=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_compile") 2>conftest.er1
17585 grep -v '^ *+' conftest.er1
>conftest.err
17587 cat conftest.err
>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_cxx_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest.
$ac_objext; then
17593 bakefile_cv_cxx_compiler___xlC__
=yes
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.
$ac_ext >&5
17598 bakefile_cv_cxx_compiler___xlC__
=no
17602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17606 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17607 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17608 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17614 ac_cpp
='$CPP $CPPFLAGS'
17615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17628 ac_cpp
='$CXXCPP $CPPFLAGS'
17629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17633 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17634 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17635 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17649 #ifndef _SGI_COMPILER_VERSION
17657 rm -f conftest.
$ac_objext
17658 if { (ac_try
="$ac_compile"
17659 case "(($ac_try" in
17660 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_compile") 2>conftest.er1
17666 grep -v '^ *+' conftest.er1 >conftest.err
17668 cat conftest.err >&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } && {
17671 test -z "$ac_cxx_werror_flag" ||
17672 test ! -s conftest.err
17673 } && test -s conftest.$ac_objext; then
17674 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17679 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17688 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17689 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17695 ac_cpp='$CPP $CPPFLAGS'
17696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17705 if test "$INTELCXX" != "yes"; then
17709 ac_cpp='$CXXCPP $CPPFLAGS'
17710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17714 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17715 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17716 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17717 echo $ECHO_N "(cached) $ECHO_C" >&6
17719 cat >conftest.$ac_ext <<_ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17730 #ifndef __SUNPRO_CC
17738 rm -f conftest.$ac_objext
17739 if { (ac_try="$ac_compile"
17740 case "(($ac_try" in
17741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17742 *) ac_try_echo
=$ac_try;;
17744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17745 (eval "$ac_compile") 2>conftest.er1
17747 grep -v '^ *+' conftest.er1
>conftest.err
17749 cat conftest.err
>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } && {
17752 test -z "$ac_cxx_werror_flag" ||
17753 test ! -s conftest.err
17754 } && test -s conftest.
$ac_objext; then
17755 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.
$ac_ext >&5
17760 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17768 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17769 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17770 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17776 ac_cpp
='$CPP $CPPFLAGS'
17777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17790 ac_cpp
='$CXXCPP $CPPFLAGS'
17791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17795 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17796 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17797 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 cat >conftest.
$ac_ext <<_ACEOF
17803 cat confdefs.h
>>conftest.
$ac_ext
17804 cat >>conftest.
$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17819 rm -f conftest.
$ac_objext
17820 if { (ac_try
="$ac_compile"
17821 case "(($ac_try" in
17822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17823 *) ac_try_echo=$ac_try;;
17825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17826 (eval "$ac_compile") 2>conftest.er1
17828 grep -v '^ *+' conftest.er1 >conftest.err
17830 cat conftest.err >&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } && {
17833 test -z "$ac_cxx_werror_flag" ||
17834 test ! -s conftest.err
17835 } && test -s conftest.$ac_objext; then
17836 bakefile_cv_cxx_compiler___HP_aCC=yes
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17841 bakefile_cv_cxx_compiler___HP_aCC=no
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17849 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17850 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17851 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17857 ac_cpp='$CPP $CPPFLAGS'
17858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870 ac_cpp='$CXXCPP $CPPFLAGS'
17871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17875 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17876 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17877 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17880 cat >conftest.$ac_ext <<_ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17903 *) ac_try_echo
=$ac_try;;
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17908 grep -v '^ *+' conftest.er1
>conftest.err
17910 cat conftest.err
>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_cxx_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.
$ac_objext; then
17916 bakefile_cv_cxx_compiler___DECCXX
=yes
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.
$ac_ext >&5
17921 bakefile_cv_cxx_compiler___DECCXX
=no
17925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17929 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17930 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17931 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17937 ac_cpp
='$CPP $CPPFLAGS'
17938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17950 ac_cpp
='$CXXCPP $CPPFLAGS'
17951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17955 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17956 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17957 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17958 echo $ECHO_N "(cached) $ECHO_C" >&6
17960 cat >conftest.
$ac_ext <<_ACEOF
17963 cat confdefs.h
>>conftest.
$ac_ext
17964 cat >>conftest.
$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17971 #ifndef __SUNPRO_CC
17979 rm -f conftest.
$ac_objext
17980 if { (ac_try
="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17988 grep -v '^ *+' conftest.er1 >conftest.err
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_cxx_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18001 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18010 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18011 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18017 ac_cpp='$CPP $CPPFLAGS'
18018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18030 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18031 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18032 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18033 { (exit 1); exit 1; }; }
18036 if test "x$SUNCXX" != xyes; then
18037 if test -n "$ac_tool_prefix"; then
18038 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18039 set dummy ${ac_tool_prefix}ar; ac_word=$2
18040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18042 if test "${ac_cv_prog_AR+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 if test -n "$AR"; then
18046 ac_cv_prog_AR="$AR" # Let the user override the test.
18048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18049 for as_dir in $PATH
18052 test -z "$as_dir" && as_dir=.
18053 for ac_exec_ext in '' $ac_executable_extensions; do
18054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18055 ac_cv_prog_AR="${ac_tool_prefix}ar"
18056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18066 if test -n "$AR"; then
18067 { echo "$as_me:$LINENO: result: $AR" >&5
18068 echo "${ECHO_T}$AR" >&6; }
18070 { echo "$as_me:$LINENO: result: no" >&5
18071 echo "${ECHO_T}no" >&6; }
18076 if test -z "$ac_cv_prog_AR"; then
18078 # Extract the first word of "ar", so it can be a program name with args.
18079 set dummy ar; ac_word=$2
18080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18082 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 if test -n "$ac_ct_AR"; then
18086 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18089 for as_dir in $PATH
18092 test -z "$as_dir" && as_dir=.
18093 for ac_exec_ext in '' $ac_executable_extensions; do
18094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18095 ac_cv_prog_ac_ct_AR="ar"
18096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18105 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18106 if test -n "$ac_ct_AR"; then
18107 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18108 echo "${ECHO_T}$ac_ct_AR" >&6; }
18110 { echo "$as_me:$LINENO: result: no" >&5
18111 echo "${ECHO_T}no" >&6; }
18114 if test "x$ac_ct_AR" = x; then
18117 case $cross_compiling:$ac_tool_warned in
18119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18120 whose name does not start with the host triplet. If you think this
18121 configuration is useful to you, please write to autoconf@gnu.org." >&5
18122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18123 whose name does not start with the host triplet. If you think this
18124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18125 ac_tool_warned=yes ;;
18130 AR="$ac_cv_prog_AR"
18133 if test "x$AR" = "x" ; then
18134 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18135 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18136 { (exit 1); exit 1; }; }
18141 if test "$wxUSE_MAC" = 1; then
18143 retest_macosx_linking=no
18145 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18146 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18147 # Implicitly turn on the new --with-macosx-sdk using the default
18148 # SDK which provides the behavior this option has always had.
18149 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18150 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18151 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18152 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18153 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18154 wxUSE_MACOSX_SDK=yes
18157 # Complain to user if he specified an argument to --enable-universal_binary
18158 # and also 1) specified --with-macosx-sdk using the default (yes) or
18159 # 2) specified --with-macosx-sdk using a path or 3) specified
18160 # --without-macosx-sdk (no).
18161 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18162 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18163 See \`config.log
' for more details." >&5
18164 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18165 See \`config.log' for more details.
" >&2;}
18166 { (exit 1); exit 1; }; }
18168 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18169 # special-case the empty string because the below test simply
18170 # converts "no
" to the empty string anyway.
18171 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18172 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18173 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18176 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18177 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18178 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18179 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18180 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18181 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18182 retest_macosx_linking=yes
18184 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18185 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18189 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18191 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18192 # TODO: Search for most recent SDK and use it.
18193 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18197 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18198 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18199 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18200 if ! test -d "$wxUSE_MACOSX_SDK"; then
18201 { { echo "$as_me:$LINENO: error
: not found
18202 See \
`config.log' for more details." >&5
18203 echo "$as_me: error: not found
18204 See \`config.log
' for more details." >&2;}
18205 { (exit 1); exit 1; }; }
18207 { echo "$as_me:$LINENO: result: exists" >&5
18208 echo "${ECHO_T}exists" >&6; }
18210 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18211 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18212 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18213 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18214 retest_macosx_linking=yes
18217 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18218 wxUSE_MACOSX_VERSION_MIN=
18219 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18220 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18221 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18222 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18224 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/'`
18226 # If that failed, try again with the new key
18227 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18229 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/'`
18233 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18234 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18235 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18236 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18238 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18239 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18240 wxUSE_MACOSX_VERSION_MIN=
18243 wxUSE_MACOSX_VERSION_MIN=
18245 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18246 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18247 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18248 # otherwise configure stops on leopard for universal_binary
18249 wxUSE_MACOSX_VERSION_MIN=10.4
18251 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18252 wxUSE_MACOSX_VERSION_MIN=10.5
18257 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18261 if test "$wxUSE_OSX_CARBON" = 1; then
18265 if test "x$NEEDS_GCC40" == "xyes"; then
18266 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18267 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18268 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18269 if test "x$CC" = "xgcc"; then
18270 CCVERSION=`$CC --version | grep 4.[2-9].`
18271 if test "x$CCVERSION" != "x"; then
18272 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18273 CC="/usr/bin/gcc-4.0"
18277 if test "x$CXX" = "xg++"; then
18278 CCVERSION=`$CXX --version | grep 4.[2-9].`
18279 if test "x$CCVERSION" != "x"; then
18280 CXX="/usr/bin/g++-4.0"
18285 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18286 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18287 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18288 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18289 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18290 retest_macosx_linking=yes
18293 if test "x$retest_macosx_linking" = "xyes"; then
18295 ac_cpp='$CPP $CPPFLAGS'
18296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18300 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18301 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18302 cat >conftest.$ac_ext <<_ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (ac_try="$ac_link"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_link") 2>conftest.er1
18326 grep -v '^
*+' conftest.er1 >conftest.err
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_c_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest$ac_exeext &&
18334 $as_test_x conftest$ac_exeext; then
18335 { echo "$as_me:$LINENO: result: yes" >&5
18336 echo "${ECHO_T}yes" >&6; }
18338 echo "$as_me: failed program was:" >&5
18339 sed 's
/^
/| /' conftest.$ac_ext >&5
18341 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18342 See \`config.log' for more details.
" >&5
18343 echo "$as_me: error
: no. Try a different SDK
18344 See \
`config.log' for more details." >&2;}
18345 { (exit 1); exit 1; }; }; exit 1
18348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18349 conftest$ac_exeext conftest.$ac_ext
18351 ac_cpp='$CPP $CPPFLAGS'
18352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18358 ac_cpp='$CXXCPP $CPPFLAGS'
18359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18363 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18364 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18365 cat >conftest.$ac_ext <<_ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18380 rm -f conftest.$ac_objext conftest$ac_exeext
18381 if { (ac_try="$ac_link"
18382 case "(($ac_try" in
18383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18384 *) ac_try_echo
=$ac_try;;
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_link") 2>conftest.er1
18389 grep -v '^ *+' conftest.er1
>conftest.err
18391 cat conftest.err
>&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && {
18394 test -z "$ac_cxx_werror_flag" ||
18395 test ! -s conftest.err
18396 } && test -s conftest
$ac_exeext &&
18397 $as_test_x conftest
$ac_exeext; then
18398 { echo "$as_me:$LINENO: result: yes" >&5
18399 echo "${ECHO_T}yes" >&6; }
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.
$ac_ext >&5
18404 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18405 See \`config.log' for more details." >&5
18406 echo "$as_me: error: no. Try a different SDK
18407 See \`config.log' for more details." >&2;}
18408 { (exit 1); exit 1; }; }; exit 1
18411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18412 conftest
$ac_exeext conftest.
$ac_ext
18414 ac_cpp
='$CPP $CPPFLAGS'
18415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18425 INSTALL_PROGRAM
="cp -fp"
18426 INSTALL_DATA
="cp -fp"
18433 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18434 CXXFLAGS
="-qunique $CXXFLAGS"
18438 powerpc
-*-darwin* )
18439 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18440 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18441 cat >conftest.
$ac_ext <<_ACEOF
18444 cat confdefs.h
>>conftest.
$ac_ext
18445 cat >>conftest.
$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18451 #ifndef __POWERPC__
18452 choke me for lack of PowerPC
18459 rm -f conftest.
$ac_objext
18460 if { (ac_try
="$ac_compile"
18461 case "(($ac_try" in
18462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_compile") 2>conftest.er1
18468 grep -v '^ *+' conftest.er1 >conftest.err
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } && {
18473 test -z "$ac_c_werror_flag" ||
18474 test ! -s conftest.err
18475 } && test -s conftest.$ac_objext; then
18476 { echo "$as_me:$LINENO: result: yes" >&5
18477 echo "${ECHO_T}yes" >&6; }
18479 echo "$as_me: failed program was:" >&5
18480 sed 's/^/| /' conftest.$ac_ext >&5
18482 { echo "$as_me:$LINENO: result: no" >&5
18483 echo "${ECHO_T}no" >&6; }
18484 cat >>confdefs.h <<\_ACEOF
18485 #define __POWERPC__ 1
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18498 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18499 cat >conftest.$ac_ext <<_ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #include <CoreFoundation/CFBase.h>
18515 rm -f conftest.$ac_objext
18516 if { (ac_try="$ac_compile"
18517 case "(($ac_try" in
18518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18519 *) ac_try_echo
=$ac_try;;
18521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18522 (eval "$ac_compile") 2>conftest.er1
18524 grep -v '^ *+' conftest.er1
>conftest.err
18526 cat conftest.err
>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); } && {
18529 test -z "$ac_c_werror_flag" ||
18530 test ! -s conftest.err
18531 } && test -s conftest.
$ac_objext; then
18532 { echo "$as_me:$LINENO: result: yes" >&5
18533 echo "${ECHO_T}yes" >&6; }
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.
$ac_ext >&5
18538 { echo "$as_me:$LINENO: result: no" >&5
18539 echo "${ECHO_T}no" >&6; }
18540 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18541 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18542 cat >conftest.
$ac_ext <<_ACEOF
18545 cat confdefs.h
>>conftest.
$ac_ext
18546 cat >>conftest.
$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 #define __CF_USE_FRAMEWORK_INCLUDES__
18549 #include <CoreFoundation/CFBase.h>
18559 rm -f conftest.
$ac_objext
18560 if { (ac_try
="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18568 grep -v '^ *+' conftest.er1 >conftest.err
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 { echo "$as_me:$LINENO: result: yes" >&5
18577 echo "${ECHO_T}yes" >&6; }
18578 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18583 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18584 See \`config.log
' for more details." >&5
18585 echo "$as_me: error: no. CoreFoundation not available.
18586 See \`config.log' for more details.
" >&2;}
18587 { (exit 1); exit 1; }; }
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 doesnt_want_win32=0
18604 if test "$wxUSE_MSW" = 1 ; then
18607 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18608 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18609 if test "${wx_cv_nocygwin+set}" = set; then
18610 echo $ECHO_N "(cached
) $ECHO_C" >&6
18613 cat >conftest.$ac_ext <<_ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18632 rm -f conftest.$ac_objext
18633 if { (ac_try="$ac_compile"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_compile") 2>conftest.er1
18641 grep -v '^ *+' conftest.er1 >conftest.err
18643 cat conftest.err >&5
18644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18645 (exit $ac_status); } && {
18646 test -z "$ac_c_werror_flag" ||
18647 test ! -s conftest.err
18648 } && test -s conftest.$ac_objext; then
18651 echo "$as_me: failed program was
:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18663 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18665 if test "$wx_cv_nocygwin" = "yes"; then
18668 doesnt_want_win32=1
18671 if test "$wants_win32" = 1 ; then
18672 BAKEFILE_FORCE_PLATFORM=win32
18680 if test "$wxUSE_WINE" = "yes"; then
18682 LDFLAGS_GUI="-mwindows"
18685 if test "$wants_win32" = 1 ; then
18688 cat >>confdefs.h <<\_ACEOF
18689 #define __WIN32__ 1
18692 cat >>confdefs.h <<\_ACEOF
18693 #define __WIN95__ 1
18696 cat >>confdefs.h <<\_ACEOF
18697 #define __WINDOWS__ 1
18700 cat >>confdefs.h <<\_ACEOF
18701 #define __GNUWIN32__ 1
18704 cat >>confdefs.h <<\_ACEOF
18709 if test "$doesnt_want_win32" = 1 ; then
18714 if test "$USE_UNIX" = 1 ; then
18716 cat >>confdefs.h <<\_ACEOF
18723 *-pc-os2_emx | *-pc-os2-emx )
18724 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18725 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18726 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18727 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18728 echo $ECHO_N "(cached
) $ECHO_C" >&6
18730 ac_check_lib_save_LIBS=$LIBS
18731 LIBS="-lcExt $LIBS"
18732 cat >conftest.$ac_ext <<_ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18739 /* Override any GCC internal prototype to avoid an error.
18740 Use char because int might match the return type of a GCC
18741 builtin and then its argument prototype would still apply. */
18754 rm -f conftest.$ac_objext conftest$ac_exeext
18755 if { (ac_try="$ac_link"
18756 case "(($ac_try" in
18757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18758 *) ac_try_echo=$ac_try;;
18760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18761 (eval "$ac_link") 2>conftest.er1
18763 grep -v '^ *+' conftest.er1 >conftest.err
18765 cat conftest.err >&5
18766 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18767 (exit $ac_status); } && {
18768 test -z "$ac_c_werror_flag" ||
18769 test ! -s conftest.err
18770 } && test -s conftest$ac_exeext &&
18771 $as_test_x conftest$ac_exeext; then
18772 ac_cv_lib_cExt_drand48=yes
18774 echo "$as_me: failed program was
:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18777 ac_cv_lib_cExt_drand48=no
18780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18781 conftest$ac_exeext conftest.$ac_ext
18782 LIBS=$ac_check_lib_save_LIBS
18784 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18785 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18786 if test $ac_cv_lib_cExt_drand48 = yes; then
18787 LIBS="$LIBS -lcExt"
18791 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18793 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18794 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18795 if test "${wx_cv_gccversion+set}" = set; then
18796 echo $ECHO_N "(cached
) $ECHO_C" >&6
18799 if test "$cross_compiling" = yes; then
18800 wx_cv_gccversion="EMX2
"
18803 cat >conftest.$ac_ext <<_ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18814 FILE *f=fopen("conftestval
", "w
");
18819 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18821 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18831 rm -f conftest$ac_exeext
18832 if { (ac_try="$ac_link"
18833 case "(($ac_try" in
18834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18835 *) ac_try_echo=$ac_try;;
18837 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18838 (eval "$ac_link") 2>&5
18840 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18841 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18842 { (case "(($ac_try" in
18843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18844 *) ac_try_echo=$ac_try;;
18846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18847 (eval "$ac_try") 2>&5
18849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18850 (exit $ac_status); }; }; then
18851 wx_cv_gccversion=`cat conftestval`
18853 echo "$as_me: program exited with status
$ac_status" >&5
18854 echo "$as_me: failed program was
:" >&5
18855 sed 's/^/| /' conftest.$ac_ext >&5
18857 ( exit $ac_status )
18858 wx_cv_gccversion="EMX2
"
18860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18866 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18867 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18868 if test "$wx_cv_gccversion" = "EMX2
"; then
18869 LIBS="$LIBS -lstdcpp"
18870 LDFLAGS="$LDFLAGS -Zsysv-signals"
18872 if test "$wx_cv_gccversion" = "EMX3
"; then
18873 LIBS="$LIBS -lstdcxx -lgcc"
18874 LDFLAGS="$LDFLAGS -Zsysv-signals"
18876 LIBS="$LIBS -lstdc++"
18879 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18880 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18881 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18888 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18889 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18890 if test "${ac_cv_string_strcasecmp+set}" = set; then
18891 echo $ECHO_N "(cached
) $ECHO_C" >&6
18894 cat >conftest.$ac_ext <<_ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18901 #include <string.h>
18907 strcasecmp("foo
", "bar
");
18913 rm -f conftest.$ac_objext conftest$ac_exeext
18914 if { (ac_try="$ac_link"
18915 case "(($ac_try" in
18916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18917 *) ac_try_echo=$ac_try;;
18919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18920 (eval "$ac_link") 2>conftest.er1
18922 grep -v '^ *+' conftest.er1 >conftest.err
18924 cat conftest.err >&5
18925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18926 (exit $ac_status); } && {
18927 test -z "$ac_c_werror_flag" ||
18928 test ! -s conftest.err
18929 } && test -s conftest$ac_exeext &&
18930 $as_test_x conftest$ac_exeext; then
18931 ac_cv_string_strcasecmp=yes
18933 echo "$as_me: failed program was
:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_string_strcasecmp=no
18940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18941 conftest$ac_exeext conftest.$ac_ext
18944 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18945 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18947 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18948 cat >>confdefs.h <<\_ACEOF
18949 #define HAVE_STRCASECMP_IN_STRING_H 1
18953 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18954 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18955 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18956 echo $ECHO_N "(cached
) $ECHO_C" >&6
18959 cat >conftest.$ac_ext <<_ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18966 #include <strings.h>
18972 strcasecmp("foo
", "bar
");
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (ac_try="$ac_link"
18980 case "(($ac_try" in
18981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18982 *) ac_try_echo=$ac_try;;
18984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_link") 2>conftest.er1
18987 grep -v '^ *+' conftest.er1 >conftest.err
18989 cat conftest.err >&5
18990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18991 (exit $ac_status); } && {
18992 test -z "$ac_c_werror_flag" ||
18993 test ! -s conftest.err
18994 } && test -s conftest$ac_exeext &&
18995 $as_test_x conftest$ac_exeext; then
18996 ac_cv_strings_strcasecmp=yes
18998 echo "$as_me: failed program was
:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19001 ac_cv_strings_strcasecmp=no
19005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19006 conftest$ac_exeext conftest.$ac_ext
19009 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19010 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19012 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19013 cat >>confdefs.h <<\_ACEOF
19014 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19018 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19019 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19020 { (exit 1); exit 1; }; }
19028 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19029 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19030 if test "${ac_cv_header_stdc+set}" = set; then
19031 echo $ECHO_N "(cached
) $ECHO_C" >&6
19033 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <stdlib.h>
19040 #include <stdarg.h>
19041 #include <string.h>
19052 rm -f conftest.$ac_objext
19053 if { (ac_try="$ac_compile"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_compile") 2>conftest.er1
19061 grep -v '^ *+' conftest.er1 >conftest.err
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19065 (exit $ac_status); } && {
19066 test -z "$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19068 } && test -s conftest.$ac_objext; then
19069 ac_cv_header_stdc=yes
19071 echo "$as_me: failed program was
:" >&5
19072 sed 's/^/| /' conftest.$ac_ext >&5
19074 ac_cv_header_stdc=no
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19079 if test $ac_cv_header_stdc = yes; then
19080 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19081 cat >conftest.$ac_ext <<_ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 #include <string.h>
19090 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19091 $EGREP "memchr
" >/dev/null 2>&1; then
19094 ac_cv_header_stdc=no
19100 if test $ac_cv_header_stdc = yes; then
19101 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19102 cat >conftest.$ac_ext <<_ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 #include <stdlib.h>
19111 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19112 $EGREP "free
" >/dev/null 2>&1; then
19115 ac_cv_header_stdc=no
19121 if test $ac_cv_header_stdc = yes; then
19122 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19123 if test "$cross_compiling" = yes; then
19126 cat >conftest.$ac_ext <<_ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19133 #include <stdlib.h>
19134 #if ((' ' & 0x0FF) == 0x020)
19135 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19136 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19138 # define ISLOWER(c) \
19139 (('a' <= (c) && (c) <= 'i') \
19140 || ('j' <= (c) && (c) <= 'r') \
19141 || ('s' <= (c) && (c) <= 'z'))
19142 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19145 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19150 for (i = 0; i < 256; i++)
19151 if (XOR (islower (i), ISLOWER (i))
19152 || toupper (i) != TOUPPER (i))
19157 rm -f conftest$ac_exeext
19158 if { (ac_try="$ac_link"
19159 case "(($ac_try" in
19160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19161 *) ac_try_echo=$ac_try;;
19163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19164 (eval "$ac_link") 2>&5
19166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19168 { (case "(($ac_try" in
19169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 *) ac_try_echo=$ac_try;;
19172 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_try") 2>&5
19175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19176 (exit $ac_status); }; }; then
19179 echo "$as_me: program exited with status
$ac_status" >&5
19180 echo "$as_me: failed program was
:" >&5
19181 sed 's/^/| /' conftest.$ac_ext >&5
19183 ( exit $ac_status )
19184 ac_cv_header_stdc=no
19186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19192 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19193 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19194 if test $ac_cv_header_stdc = yes; then
19196 cat >>confdefs.h <<\_ACEOF
19197 #define STDC_HEADERS 1
19202 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19212 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19213 inttypes.h stdint.h unistd.h
19215 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19216 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19217 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19218 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19219 echo $ECHO_N "(cached
) $ECHO_C" >&6
19221 cat >conftest.$ac_ext <<_ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 $ac_includes_default
19229 #include <$ac_header>
19231 rm -f conftest.$ac_objext
19232 if { (ac_try="$ac_compile"
19233 case "(($ac_try" in
19234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_compile") 2>conftest.er1
19240 grep -v '^ *+' conftest.er1 >conftest.err
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19244 (exit $ac_status); } && {
19245 test -z "$ac_c_werror_flag" ||
19246 test ! -s conftest.err
19247 } && test -s conftest.$ac_objext; then
19248 eval "$as_ac_Header=yes"
19250 echo "$as_me: failed program was
:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19253 eval "$as_ac_Header=no
"
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 ac_res=`eval echo '${'$as_ac_Header'}'`
19259 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19260 echo "${ECHO_T}$ac_res" >&6; }
19261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19273 for ac_header in langinfo.h wchar.h
19275 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19276 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19277 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19278 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19279 echo $ECHO_N "(cached
) $ECHO_C" >&6
19281 cat >conftest.$ac_ext <<_ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19289 #include <$ac_header>
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19300 grep -v '^ *+' conftest.er1 >conftest.err
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 eval "$as_ac_Header=yes"
19310 echo "$as_me: failed program was
:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19313 eval "$as_ac_Header=no
"
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 ac_res=`eval echo '${'$as_ac_Header'}'`
19319 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19320 echo "${ECHO_T}$ac_res" >&6; }
19321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19322 cat >>confdefs.h <<_ACEOF
19323 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19331 if test "$ac_cv_header_wchar_h" != "yes"; then
19333 for ac_header in wcstr.h
19335 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19336 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19337 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19338 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19339 echo $ECHO_N "(cached
) $ECHO_C" >&6
19341 cat >conftest.$ac_ext <<_ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19349 #include <$ac_header>
19351 rm -f conftest.$ac_objext
19352 if { (ac_try="$ac_compile"
19353 case "(($ac_try" in
19354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19355 *) ac_try_echo=$ac_try;;
19357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19358 (eval "$ac_compile") 2>conftest.er1
19360 grep -v '^ *+' conftest.er1 >conftest.err
19362 cat conftest.err >&5
19363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19364 (exit $ac_status); } && {
19365 test -z "$ac_c_werror_flag" ||
19366 test ! -s conftest.err
19367 } && test -s conftest.$ac_objext; then
19368 eval "$as_ac_Header=yes"
19370 echo "$as_me: failed program was
:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 eval "$as_ac_Header=no
"
19376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19378 ac_res=`eval echo '${'$as_ac_Header'}'`
19379 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19380 echo "${ECHO_T}$ac_res" >&6; }
19381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19382 cat >>confdefs.h <<_ACEOF
19383 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19393 *-pc-os2_emx | *-pc-os2-emx )
19394 if test $ac_cv_header_langinfo_h = "yes" \
19395 -a \( "$wx_cv_gccversion" = "EMX2
" \
19396 -o "$wx_cv_gccversion" = "EMX3
" \
19397 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19398 LIBS="$LIBS -lintl"
19403 if test "$USE_UNIX" = 1 ; then
19405 for ac_header in sys/select.h
19407 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19408 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19409 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19410 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19411 echo $ECHO_N "(cached
) $ECHO_C" >&6
19413 cat >conftest.$ac_ext <<_ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 $ac_includes_default
19421 #include <$ac_header>
19423 rm -f conftest.$ac_objext
19424 if { (ac_try="$ac_compile"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_compile") 2>conftest.er1
19432 grep -v '^ *+' conftest.er1 >conftest.err
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19436 (exit $ac_status); } && {
19437 test -z "$ac_c_werror_flag" ||
19438 test ! -s conftest.err
19439 } && test -s conftest.$ac_objext; then
19440 eval "$as_ac_Header=yes"
19442 echo "$as_me: failed program was
:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19445 eval "$as_ac_Header=no
"
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 ac_res=`eval echo '${'$as_ac_Header'}'`
19451 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19452 echo "${ECHO_T}$ac_res" >&6; }
19453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19454 cat >>confdefs.h <<_ACEOF
19455 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19465 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19466 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19467 if test "${ac_cv_c_const+set}" = set; then
19468 echo $ECHO_N "(cached
) $ECHO_C" >&6
19470 cat >conftest.$ac_ext <<_ACEOF
19473 cat confdefs.h >>conftest.$ac_ext
19474 cat >>conftest.$ac_ext <<_ACEOF
19475 /* end confdefs.h. */
19480 /* FIXME: Include the comments suggested by Paul. */
19481 #ifndef __cplusplus
19482 /* Ultrix mips cc rejects this. */
19483 typedef int charset[2];
19485 /* SunOS 4.1.1 cc rejects this. */
19486 char const *const *pcpcc;
19488 /* NEC SVR4.0.2 mips cc rejects this. */
19489 struct point {int x, y;};
19490 static struct point const zero = {0,0};
19491 /* AIX XL C 1.02.0.0 rejects this.
19492 It does not let you subtract one const X* pointer from another in
19493 an arm of an if-expression whose if-part is not a constant
19495 const char *g = "string
";
19496 pcpcc = &g + (g ? g-g : 0);
19497 /* HPUX 7.0 cc rejects these. */
19499 ppc = (char**) pcpcc;
19500 pcpcc = (char const *const *) ppc;
19501 { /* SCO 3.2v4 cc rejects this. */
19503 char const *s = 0 ? (char *) 0 : (char const *) 0;
19508 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19509 int x[] = {25, 17};
19510 const int *foo = &x[0];
19513 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19514 typedef const int *iptr;
19518 { /* AIX XL C 1.02.0.0 rejects this saying
19519 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19520 struct s { int j; const int *ap[3]; };
19521 struct s *b; b->j = 5;
19523 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19524 const int foo = 10;
19525 if (!foo) return 0;
19527 return !cs[0] && !zero.x;
19534 rm -f conftest.$ac_objext
19535 if { (ac_try="$ac_compile"
19536 case "(($ac_try" in
19537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538 *) ac_try_echo=$ac_try;;
19540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_compile") 2>conftest.er1
19543 grep -v '^ *+' conftest.er1 >conftest.err
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19547 (exit $ac_status); } && {
19548 test -z "$ac_c_werror_flag" ||
19549 test ! -s conftest.err
19550 } && test -s conftest.$ac_objext; then
19553 echo "$as_me: failed program was
:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19562 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19563 if test $ac_cv_c_const = no; then
19565 cat >>confdefs.h <<\_ACEOF
19571 { echo "$as_me:$LINENO: checking
for inline
" >&5
19572 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19573 if test "${ac_cv_c_inline+set}" = set; then
19574 echo $ECHO_N "(cached
) $ECHO_C" >&6
19577 for ac_kw in inline __inline__ __inline; do
19578 cat >conftest.$ac_ext <<_ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #ifndef __cplusplus
19586 static $ac_kw foo_t static_foo () {return 0; }
19587 $ac_kw foo_t foo () {return 0; }
19591 rm -f conftest.$ac_objext
19592 if { (ac_try="$ac_compile"
19593 case "(($ac_try" in
19594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19595 *) ac_try_echo=$ac_try;;
19597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19598 (eval "$ac_compile") 2>conftest.er1
19600 grep -v '^ *+' conftest.er1 >conftest.err
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19604 (exit $ac_status); } && {
19605 test -z "$ac_c_werror_flag" ||
19606 test ! -s conftest.err
19607 } && test -s conftest.$ac_objext; then
19608 ac_cv_c_inline=$ac_kw
19610 echo "$as_me: failed program was
:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19617 test "$ac_cv_c_inline" != no && break
19621 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19622 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19625 case $ac_cv_c_inline in
19628 case $ac_cv_c_inline in
19630 *) ac_val=$ac_cv_c_inline;;
19632 cat >>confdefs.h <<_ACEOF
19633 #ifndef __cplusplus
19634 #define inline $ac_val
19641 { echo "$as_me:$LINENO: checking
for short
" >&5
19642 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19643 if test "${ac_cv_type_short+set}" = set; then
19644 echo $ECHO_N "(cached
) $ECHO_C" >&6
19646 cat >conftest.$ac_ext <<_ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 typedef short ac__type_new_;
19657 if ((ac__type_new_ *) 0)
19659 if (sizeof (ac__type_new_))
19665 rm -f conftest.$ac_objext
19666 if { (ac_try="$ac_compile"
19667 case "(($ac_try" in
19668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;;
19671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_compile") 2>conftest.er1
19674 grep -v '^ *+' conftest.er1 >conftest.err
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19678 (exit $ac_status); } && {
19679 test -z "$ac_c_werror_flag" ||
19680 test ! -s conftest.err
19681 } && test -s conftest.$ac_objext; then
19682 ac_cv_type_short=yes
19684 echo "$as_me: failed program was
:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19687 ac_cv_type_short=no
19690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19693 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19695 # The cast to long int works around a bug in the HP C Compiler
19696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19698 # This bug is HP SR number 8606223364.
19699 { echo "$as_me:$LINENO: checking size of short
" >&5
19700 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19701 if test "${ac_cv_sizeof_short+set}" = set; then
19702 echo $ECHO_N "(cached
) $ECHO_C" >&6
19704 if test "$cross_compiling" = yes; then
19705 # Depending upon the size, compute the lo and hi bounds.
19706 cat >conftest.$ac_ext <<_ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 $ac_includes_default
19713 typedef short ac__type_sizeof_;
19717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19724 rm -f conftest.$ac_objext
19725 if { (ac_try="$ac_compile"
19726 case "(($ac_try" in
19727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19728 *) ac_try_echo=$ac_try;;
19730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19731 (eval "$ac_compile") 2>conftest.er1
19733 grep -v '^ *+' conftest.er1 >conftest.err
19735 cat conftest.err >&5
19736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19737 (exit $ac_status); } && {
19738 test -z "$ac_c_werror_flag" ||
19739 test ! -s conftest.err
19740 } && test -s conftest.$ac_objext; then
19743 cat >conftest.$ac_ext <<_ACEOF
19746 cat confdefs.h >>conftest.$ac_ext
19747 cat >>conftest.$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749 $ac_includes_default
19750 typedef short ac__type_sizeof_;
19754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19761 rm -f conftest.$ac_objext
19762 if { (ac_try="$ac_compile"
19763 case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_compile") 2>conftest.er1
19770 grep -v '^ *+' conftest.er1 >conftest.err
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest.$ac_objext; then
19778 ac_hi=$ac_mid; break
19780 echo "$as_me: failed program was
:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 ac_lo=`expr $ac_mid + 1`
19784 if test $ac_lo -le $ac_mid; then
19788 ac_mid=`expr 2 '*' $ac_mid + 1`
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 echo "$as_me: failed program was
:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 cat >conftest.$ac_ext <<_ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19804 typedef short ac__type_sizeof_;
19808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19815 rm -f conftest.$ac_objext
19816 if { (ac_try="$ac_compile"
19817 case "(($ac_try" in
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_compile") 2>conftest.er1
19824 grep -v '^ *+' conftest.er1 >conftest.err
19826 cat conftest.err >&5
19827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19828 (exit $ac_status); } && {
19829 test -z "$ac_c_werror_flag" ||
19830 test ! -s conftest.err
19831 } && test -s conftest.$ac_objext; then
19834 cat >conftest.$ac_ext <<_ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 typedef short ac__type_sizeof_;
19845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19852 rm -f conftest.$ac_objext
19853 if { (ac_try="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19858 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19861 grep -v '^ *+' conftest.er1 >conftest.err
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19869 ac_lo=$ac_mid; break
19871 echo "$as_me: failed program was
:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 ac_hi=`expr '(' $ac_mid ')' - 1`
19875 if test $ac_mid -le $ac_hi; then
19879 ac_mid=`expr 2 '*' $ac_mid`
19882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19885 echo "$as_me: failed program was
:" >&5
19886 sed 's/^/| /' conftest.$ac_ext >&5
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19895 # Binary search between lo and hi bounds.
19896 while test "x
$ac_lo" != "x
$ac_hi"; do
19897 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19898 cat >conftest.$ac_ext <<_ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19904 $ac_includes_default
19905 typedef short ac__type_sizeof_;
19909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19916 rm -f conftest.$ac_objext
19917 if { (ac_try="$ac_compile"
19918 case "(($ac_try" in
19919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19920 *) ac_try_echo=$ac_try;;
19922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19923 (eval "$ac_compile") 2>conftest.er1
19925 grep -v '^ *+' conftest.er1 >conftest.err
19927 cat conftest.err >&5
19928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19929 (exit $ac_status); } && {
19930 test -z "$ac_c_werror_flag" ||
19931 test ! -s conftest.err
19932 } && test -s conftest.$ac_objext; then
19935 echo "$as_me: failed program was
:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19938 ac_lo=`expr '(' $ac_mid ')' + 1`
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19944 ?*) ac_cv_sizeof_short=$ac_lo;;
19945 '') if test "$ac_cv_type_short" = yes; then
19946 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19947 See \
`config.log' for more details." >&5
19948 echo "$as_me: error: cannot compute sizeof (short)
19949 See \`config.log
' for more details." >&2;}
19950 { (exit 77); exit 77; }; }
19952 ac_cv_sizeof_short=0
19956 cat >conftest.$ac_ext <<_ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19963 typedef short ac__type_sizeof_;
19964 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19965 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19967 #include <stdlib.h>
19972 FILE *f = fopen ("conftest.val", "w");
19975 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19977 long int i = longval ();
19978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19980 fprintf (f, "%ld\n", i);
19984 unsigned long int i = ulongval ();
19985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19987 fprintf (f, "%lu\n", i);
19989 return ferror (f) || fclose (f) != 0;
19995 rm -f conftest$ac_exeext
19996 if { (ac_try="$ac_link"
19997 case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_link") 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20006 { (case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_try") 2>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 ac_cv_sizeof_short=`cat conftest.val`
20017 echo "$as_me: program exited with status $ac_status" >&5
20018 echo "$as_me: failed program was:" >&5
20019 sed 's
/^
/| /' conftest.$ac_ext >&5
20021 ( exit $ac_status )
20022 if test "$ac_cv_type_short" = yes; then
20023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20024 See \`config.log' for more details.
" >&5
20025 echo "$as_me: error
: cannot compute sizeof
(short
)
20026 See \
`config.log' for more details." >&2;}
20027 { (exit 77); exit 77; }; }
20029 ac_cv_sizeof_short=0
20032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20036 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20037 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20041 cat >>confdefs.h <<_ACEOF
20042 #define SIZEOF_SHORT $ac_cv_sizeof_short
20046 { echo "$as_me:$LINENO: checking for void *" >&5
20047 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20048 if test "${ac_cv_type_void_p+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 cat >conftest.$ac_ext <<_ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 $ac_includes_default
20058 typedef void * ac__type_new_;
20062 if ((ac__type_new_ *) 0)
20064 if (sizeof (ac__type_new_))
20070 rm -f conftest.$ac_objext
20071 if { (ac_try="$ac_compile"
20072 case "(($ac_try" in
20073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20074 *) ac_try_echo
=$ac_try;;
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_compile") 2>conftest.er1
20079 grep -v '^ *+' conftest.er1
>conftest.err
20081 cat conftest.err
>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && {
20084 test -z "$ac_c_werror_flag" ||
20085 test ! -s conftest.err
20086 } && test -s conftest.
$ac_objext; then
20087 ac_cv_type_void_p
=yes
20089 echo "$as_me: failed program was:" >&5
20090 sed 's/^/| /' conftest.
$ac_ext >&5
20092 ac_cv_type_void_p
=no
20095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20097 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20098 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20100 # The cast to long int works around a bug in the HP C Compiler
20101 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20103 # This bug is HP SR number 8606223364.
20104 { echo "$as_me:$LINENO: checking size of void *" >&5
20105 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20106 if test "${ac_cv_sizeof_void_p+set}" = set; then
20107 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 if test "$cross_compiling" = yes; then
20110 # Depending upon the size, compute the lo and hi bounds.
20111 cat >conftest.
$ac_ext <<_ACEOF
20114 cat confdefs.h
>>conftest.
$ac_ext
20115 cat >>conftest.
$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 $ac_includes_default
20118 typedef void * ac__type_sizeof_;
20122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20129 rm -f conftest.
$ac_objext
20130 if { (ac_try
="$ac_compile"
20131 case "(($ac_try" in
20132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20133 *) ac_try_echo=$ac_try;;
20135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 (eval "$ac_compile") 2>conftest.er1
20138 grep -v '^ *+' conftest.er1 >conftest.err
20140 cat conftest.err >&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } && {
20143 test -z "$ac_c_werror_flag" ||
20144 test ! -s conftest.err
20145 } && test -s conftest.$ac_objext; then
20148 cat >conftest.$ac_ext <<_ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 $ac_includes_default
20155 typedef void * ac__type_sizeof_;
20159 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20166 rm -f conftest.$ac_objext
20167 if { (ac_try="$ac_compile"
20168 case "(($ac_try" in
20169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20170 *) ac_try_echo
=$ac_try;;
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_compile") 2>conftest.er1
20175 grep -v '^ *+' conftest.er1
>conftest.err
20177 cat conftest.err
>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } && {
20180 test -z "$ac_c_werror_flag" ||
20181 test ! -s conftest.err
20182 } && test -s conftest.
$ac_objext; then
20183 ac_hi
=$ac_mid; break
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.
$ac_ext >&5
20188 ac_lo
=`expr $ac_mid + 1`
20189 if test $ac_lo -le $ac_mid; then
20193 ac_mid
=`expr 2 '*' $ac_mid + 1`
20196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.
$ac_ext >&5
20202 cat >conftest.
$ac_ext <<_ACEOF
20205 cat confdefs.h
>>conftest.
$ac_ext
20206 cat >>conftest.
$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20209 typedef void * ac__type_sizeof_;
20213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20220 rm -f conftest.
$ac_objext
20221 if { (ac_try
="$ac_compile"
20222 case "(($ac_try" in
20223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20224 *) ac_try_echo=$ac_try;;
20226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 (eval "$ac_compile") 2>conftest.er1
20229 grep -v '^ *+' conftest.er1 >conftest.err
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } && {
20234 test -z "$ac_c_werror_flag" ||
20235 test ! -s conftest.err
20236 } && test -s conftest.$ac_objext; then
20239 cat >conftest.$ac_ext <<_ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 $ac_includes_default
20246 typedef void * ac__type_sizeof_;
20250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20257 rm -f conftest.$ac_objext
20258 if { (ac_try="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20261 *) ac_try_echo
=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20266 grep -v '^ *+' conftest.er1
>conftest.err
20268 cat conftest.err
>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.
$ac_objext; then
20274 ac_lo
=$ac_mid; break
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.
$ac_ext >&5
20279 ac_hi
=`expr '(' $ac_mid ')' - 1`
20280 if test $ac_mid -le $ac_hi; then
20284 ac_mid
=`expr 2 '*' $ac_mid`
20287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.
$ac_ext >&5
20296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20300 # Binary search between lo and hi bounds.
20301 while test "x$ac_lo" != "x$ac_hi"; do
20302 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20303 cat >conftest.
$ac_ext <<_ACEOF
20306 cat confdefs.h
>>conftest.
$ac_ext
20307 cat >>conftest.
$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20310 typedef void * ac__type_sizeof_;
20314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20321 rm -f conftest.
$ac_objext
20322 if { (ac_try
="$ac_compile"
20323 case "(($ac_try" in
20324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_compile") 2>conftest.er1
20330 grep -v '^ *+' conftest.er1 >conftest.err
20332 cat conftest.err >&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } && {
20335 test -z "$ac_c_werror_flag" ||
20336 test ! -s conftest.err
20337 } && test -s conftest.$ac_objext; then
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20343 ac_lo=`expr '(' $ac_mid ')' + 1`
20346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20350 '') if test "$ac_cv_type_void_p" = yes; then
20351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20352 See \`config.log
' for more details." >&5
20353 echo "$as_me: error: cannot compute sizeof (void *)
20354 See \`config.log' for more details.
" >&2;}
20355 { (exit 77); exit 77; }; }
20357 ac_cv_sizeof_void_p=0
20361 cat >conftest.$ac_ext <<_ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 $ac_includes_default
20368 typedef void * ac__type_sizeof_;
20369 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20370 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20372 #include <stdlib.h>
20377 FILE *f = fopen ("conftest.val
", "w
");
20380 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20382 long int i = longval ();
20383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20385 fprintf (f, "%ld
\n", i);
20389 unsigned long int i = ulongval ();
20390 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20392 fprintf (f, "%lu
\n", i);
20394 return ferror (f) || fclose (f) != 0;
20400 rm -f conftest$ac_exeext
20401 if { (ac_try="$ac_link"
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_link") 2>&5
20409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20411 { (case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_try") 2>&5
20418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20419 (exit $ac_status); }; }; then
20420 ac_cv_sizeof_void_p=`cat conftest.val`
20422 echo "$as_me: program exited with status
$ac_status" >&5
20423 echo "$as_me: failed program was
:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20426 ( exit $ac_status )
20427 if test "$ac_cv_type_void_p" = yes; then
20428 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20429 See \
`config.log' for more details." >&5
20430 echo "$as_me: error: cannot compute sizeof (void *)
20431 See \`config.log
' for more details." >&2;}
20432 { (exit 77); exit 77; }; }
20434 ac_cv_sizeof_void_p=0
20437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20441 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20442 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20446 cat >>confdefs.h <<_ACEOF
20447 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20451 { echo "$as_me:$LINENO: checking for int" >&5
20452 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20453 if test "${ac_cv_type_int+set}" = set; then
20454 echo $ECHO_N "(cached) $ECHO_C" >&6
20456 cat >conftest.$ac_ext <<_ACEOF
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 $ac_includes_default
20463 typedef int ac__type_new_;
20467 if ((ac__type_new_ *) 0)
20469 if (sizeof (ac__type_new_))
20475 rm -f conftest.$ac_objext
20476 if { (ac_try="$ac_compile"
20477 case "(($ac_try" in
20478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20479 *) ac_try_echo=$ac_try;;
20481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20482 (eval "$ac_compile") 2>conftest.er1
20484 grep -v '^
*+' conftest.er1 >conftest.err
20486 cat conftest.err >&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } && {
20489 test -z "$ac_c_werror_flag" ||
20490 test ! -s conftest.err
20491 } && test -s conftest.$ac_objext; then
20494 echo "$as_me: failed program was:" >&5
20495 sed 's
/^
/| /' conftest.$ac_ext >&5
20500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20503 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20505 # The cast to long int works around a bug in the HP C Compiler
20506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20508 # This bug is HP SR number 8606223364.
20509 { echo "$as_me:$LINENO: checking size of int" >&5
20510 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20511 if test "${ac_cv_sizeof_int+set}" = set; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20514 if test "$cross_compiling" = yes; then
20515 # Depending upon the size, compute the lo and hi bounds.
20516 cat >conftest.
$ac_ext <<_ACEOF
20519 cat confdefs.h
>>conftest.
$ac_ext
20520 cat >>conftest.
$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 $ac_includes_default
20523 typedef int ac__type_sizeof_;
20527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20534 rm -f conftest.
$ac_objext
20535 if { (ac_try
="$ac_compile"
20536 case "(($ac_try" in
20537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20538 *) ac_try_echo=$ac_try;;
20540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20541 (eval "$ac_compile") 2>conftest.er1
20543 grep -v '^ *+' conftest.er1 >conftest.err
20545 cat conftest.err >&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } && {
20548 test -z "$ac_c_werror_flag" ||
20549 test ! -s conftest.err
20550 } && test -s conftest.$ac_objext; then
20553 cat >conftest.$ac_ext <<_ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 $ac_includes_default
20560 typedef int ac__type_sizeof_;
20564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20571 rm -f conftest.$ac_objext
20572 if { (ac_try="$ac_compile"
20573 case "(($ac_try" in
20574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20575 *) ac_try_echo
=$ac_try;;
20577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20578 (eval "$ac_compile") 2>conftest.er1
20580 grep -v '^ *+' conftest.er1
>conftest.err
20582 cat conftest.err
>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } && {
20585 test -z "$ac_c_werror_flag" ||
20586 test ! -s conftest.err
20587 } && test -s conftest.
$ac_objext; then
20588 ac_hi
=$ac_mid; break
20590 echo "$as_me: failed program was:" >&5
20591 sed 's/^/| /' conftest.
$ac_ext >&5
20593 ac_lo
=`expr $ac_mid + 1`
20594 if test $ac_lo -le $ac_mid; then
20598 ac_mid
=`expr 2 '*' $ac_mid + 1`
20601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.
$ac_ext >&5
20607 cat >conftest.
$ac_ext <<_ACEOF
20610 cat confdefs.h
>>conftest.
$ac_ext
20611 cat >>conftest.
$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20614 typedef int ac__type_sizeof_;
20618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20625 rm -f conftest.
$ac_objext
20626 if { (ac_try
="$ac_compile"
20627 case "(($ac_try" in
20628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20629 *) ac_try_echo=$ac_try;;
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_compile") 2>conftest.er1
20634 grep -v '^ *+' conftest.er1 >conftest.err
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest.$ac_objext; then
20644 cat >conftest.$ac_ext <<_ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 typedef int ac__type_sizeof_;
20655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20662 rm -f conftest.$ac_objext
20663 if { (ac_try="$ac_compile"
20664 case "(($ac_try" in
20665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20666 *) ac_try_echo
=$ac_try;;
20668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_compile") 2>conftest.er1
20671 grep -v '^ *+' conftest.er1
>conftest.err
20673 cat conftest.err
>&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } && {
20676 test -z "$ac_c_werror_flag" ||
20677 test ! -s conftest.err
20678 } && test -s conftest.
$ac_objext; then
20679 ac_lo
=$ac_mid; break
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.
$ac_ext >&5
20684 ac_hi
=`expr '(' $ac_mid ')' - 1`
20685 if test $ac_mid -le $ac_hi; then
20689 ac_mid
=`expr 2 '*' $ac_mid`
20692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.
$ac_ext >&5
20701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20705 # Binary search between lo and hi bounds.
20706 while test "x$ac_lo" != "x$ac_hi"; do
20707 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20708 cat >conftest.
$ac_ext <<_ACEOF
20711 cat confdefs.h
>>conftest.
$ac_ext
20712 cat >>conftest.
$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20715 typedef int ac__type_sizeof_;
20719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20726 rm -f conftest.
$ac_objext
20727 if { (ac_try
="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1 >conftest.err
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 ac_lo=`expr '(' $ac_mid ')' + 1`
20751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20754 ?*) ac_cv_sizeof_int=$ac_lo;;
20755 '') if test "$ac_cv_type_int" = yes; then
20756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20757 See \`config.log
' for more details." >&5
20758 echo "$as_me: error: cannot compute sizeof (int)
20759 See \`config.log' for more details.
" >&2;}
20760 { (exit 77); exit 77; }; }
20766 cat >conftest.$ac_ext <<_ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 $ac_includes_default
20773 typedef int ac__type_sizeof_;
20774 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20775 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20777 #include <stdlib.h>
20782 FILE *f = fopen ("conftest.val
", "w
");
20785 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20787 long int i = longval ();
20788 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20790 fprintf (f, "%ld
\n", i);
20794 unsigned long int i = ulongval ();
20795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20797 fprintf (f, "%lu
\n", i);
20799 return ferror (f) || fclose (f) != 0;
20805 rm -f conftest$ac_exeext
20806 if { (ac_try="$ac_link"
20807 case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_link") 2>&5
20814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20816 { (case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_try") 2>&5
20823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 ac_cv_sizeof_int=`cat conftest.val`
20827 echo "$as_me: program exited with status
$ac_status" >&5
20828 echo "$as_me: failed program was
:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20831 ( exit $ac_status )
20832 if test "$ac_cv_type_int" = yes; then
20833 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20834 See \
`config.log' for more details." >&5
20835 echo "$as_me: error: cannot compute sizeof (int)
20836 See \`config.log
' for more details." >&2;}
20837 { (exit 77); exit 77; }; }
20842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20846 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20847 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20851 cat >>confdefs.h <<_ACEOF
20852 #define SIZEOF_INT $ac_cv_sizeof_int
20856 { echo "$as_me:$LINENO: checking for long" >&5
20857 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20858 if test "${ac_cv_type_long+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 cat >conftest.$ac_ext <<_ACEOF
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 typedef long ac__type_new_;
20872 if ((ac__type_new_ *) 0)
20874 if (sizeof (ac__type_new_))
20880 rm -f conftest.$ac_objext
20881 if { (ac_try="$ac_compile"
20882 case "(($ac_try" in
20883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20884 *) ac_try_echo=$ac_try;;
20886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20887 (eval "$ac_compile") 2>conftest.er1
20889 grep -v '^
*+' conftest.er1 >conftest.err
20891 cat conftest.err >&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } && {
20894 test -z "$ac_c_werror_flag" ||
20895 test ! -s conftest.err
20896 } && test -s conftest.$ac_objext; then
20897 ac_cv_type_long=yes
20899 echo "$as_me: failed program was:" >&5
20900 sed 's
/^
/| /' conftest.$ac_ext >&5
20905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20907 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20908 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20910 # The cast to long int works around a bug in the HP C Compiler
20911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20913 # This bug is HP SR number 8606223364.
20914 { echo "$as_me:$LINENO: checking size of long" >&5
20915 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20916 if test "${ac_cv_sizeof_long+set}" = set; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20919 if test "$cross_compiling" = yes; then
20920 # Depending upon the size, compute the lo and hi bounds.
20921 cat >conftest.
$ac_ext <<_ACEOF
20924 cat confdefs.h
>>conftest.
$ac_ext
20925 cat >>conftest.
$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928 typedef long ac__type_sizeof_;
20932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20939 rm -f conftest.
$ac_objext
20940 if { (ac_try
="$ac_compile"
20941 case "(($ac_try" in
20942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20943 *) ac_try_echo=$ac_try;;
20945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20946 (eval "$ac_compile") 2>conftest.er1
20948 grep -v '^ *+' conftest.er1 >conftest.err
20950 cat conftest.err >&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } && {
20953 test -z "$ac_c_werror_flag" ||
20954 test ! -s conftest.err
20955 } && test -s conftest.$ac_objext; then
20958 cat >conftest.$ac_ext <<_ACEOF
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20964 $ac_includes_default
20965 typedef long ac__type_sizeof_;
20969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20976 rm -f conftest.$ac_objext
20977 if { (ac_try="$ac_compile"
20978 case "(($ac_try" in
20979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20980 *) ac_try_echo
=$ac_try;;
20982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20983 (eval "$ac_compile") 2>conftest.er1
20985 grep -v '^ *+' conftest.er1
>conftest.err
20987 cat conftest.err
>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); } && {
20990 test -z "$ac_c_werror_flag" ||
20991 test ! -s conftest.err
20992 } && test -s conftest.
$ac_objext; then
20993 ac_hi
=$ac_mid; break
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.
$ac_ext >&5
20998 ac_lo
=`expr $ac_mid + 1`
20999 if test $ac_lo -le $ac_mid; then
21003 ac_mid
=`expr 2 '*' $ac_mid + 1`
21006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.
$ac_ext >&5
21012 cat >conftest.
$ac_ext <<_ACEOF
21015 cat confdefs.h
>>conftest.
$ac_ext
21016 cat >>conftest.
$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 typedef long ac__type_sizeof_;
21023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21030 rm -f conftest.
$ac_objext
21031 if { (ac_try
="$ac_compile"
21032 case "(($ac_try" in
21033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_compile") 2>conftest.er1
21039 grep -v '^ *+' conftest.er1 >conftest.err
21041 cat conftest.err >&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } && {
21044 test -z "$ac_c_werror_flag" ||
21045 test ! -s conftest.err
21046 } && test -s conftest.$ac_objext; then
21049 cat >conftest.$ac_ext <<_ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long ac__type_sizeof_;
21060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21067 rm -f conftest.$ac_objext
21068 if { (ac_try="$ac_compile"
21069 case "(($ac_try" in
21070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21071 *) ac_try_echo
=$ac_try;;
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_compile") 2>conftest.er1
21076 grep -v '^ *+' conftest.er1
>conftest.err
21078 cat conftest.err
>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } && {
21081 test -z "$ac_c_werror_flag" ||
21082 test ! -s conftest.err
21083 } && test -s conftest.
$ac_objext; then
21084 ac_lo
=$ac_mid; break
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.
$ac_ext >&5
21089 ac_hi
=`expr '(' $ac_mid ')' - 1`
21090 if test $ac_mid -le $ac_hi; then
21094 ac_mid
=`expr 2 '*' $ac_mid`
21097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.
$ac_ext >&5
21106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21110 # Binary search between lo and hi bounds.
21111 while test "x$ac_lo" != "x$ac_hi"; do
21112 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21113 cat >conftest.
$ac_ext <<_ACEOF
21116 cat confdefs.h
>>conftest.
$ac_ext
21117 cat >>conftest.
$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21120 typedef long ac__type_sizeof_;
21124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21131 rm -f conftest.
$ac_objext
21132 if { (ac_try
="$ac_compile"
21133 case "(($ac_try" in
21134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_compile") 2>conftest.er1
21140 grep -v '^ *+' conftest.er1 >conftest.err
21142 cat conftest.err >&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); } && {
21145 test -z "$ac_c_werror_flag" ||
21146 test ! -s conftest.err
21147 } && test -s conftest.$ac_objext; then
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21153 ac_lo=`expr '(' $ac_mid ')' + 1`
21156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21159 ?*) ac_cv_sizeof_long=$ac_lo;;
21160 '') if test "$ac_cv_type_long" = yes; then
21161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21162 See \`config.log
' for more details." >&5
21163 echo "$as_me: error: cannot compute sizeof (long)
21164 See \`config.log' for more details.
" >&2;}
21165 { (exit 77); exit 77; }; }
21167 ac_cv_sizeof_long=0
21171 cat >conftest.$ac_ext <<_ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 $ac_includes_default
21178 typedef long ac__type_sizeof_;
21179 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21180 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21182 #include <stdlib.h>
21187 FILE *f = fopen ("conftest.val
", "w
");
21190 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21192 long int i = longval ();
21193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21195 fprintf (f, "%ld
\n", i);
21199 unsigned long int i = ulongval ();
21200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21202 fprintf (f, "%lu
\n", i);
21204 return ferror (f) || fclose (f) != 0;
21210 rm -f conftest$ac_exeext
21211 if { (ac_try="$ac_link"
21212 case "(($ac_try" in
21213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21214 *) ac_try_echo=$ac_try;;
21216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21217 (eval "$ac_link") 2>&5
21219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21221 { (case "(($ac_try" in
21222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21223 *) ac_try_echo=$ac_try;;
21225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21226 (eval "$ac_try") 2>&5
21228 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 ac_cv_sizeof_long=`cat conftest.val`
21232 echo "$as_me: program exited with status
$ac_status" >&5
21233 echo "$as_me: failed program was
:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21236 ( exit $ac_status )
21237 if test "$ac_cv_type_long" = yes; then
21238 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21239 See \
`config.log' for more details." >&5
21240 echo "$as_me: error: cannot compute sizeof (long)
21241 See \`config.log
' for more details." >&2;}
21242 { (exit 77); exit 77; }; }
21244 ac_cv_sizeof_long=0
21247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21251 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21252 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21256 cat >>confdefs.h <<_ACEOF
21257 #define SIZEOF_LONG $ac_cv_sizeof_long
21261 { echo "$as_me:$LINENO: checking for size_t" >&5
21262 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21263 if test "${ac_cv_type_size_t+set}" = set; then
21264 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 cat >conftest.$ac_ext <<_ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 typedef size_t ac__type_new_;
21277 if ((ac__type_new_ *) 0)
21279 if (sizeof (ac__type_new_))
21285 rm -f conftest.$ac_objext
21286 if { (ac_try="$ac_compile"
21287 case "(($ac_try" in
21288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21289 *) ac_try_echo=$ac_try;;
21291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21292 (eval "$ac_compile") 2>conftest.er1
21294 grep -v '^
*+' conftest.er1 >conftest.err
21296 cat conftest.err >&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } && {
21299 test -z "$ac_c_werror_flag" ||
21300 test ! -s conftest.err
21301 } && test -s conftest.$ac_objext; then
21302 ac_cv_type_size_t=yes
21304 echo "$as_me: failed program was:" >&5
21305 sed 's
/^
/| /' conftest.$ac_ext >&5
21307 ac_cv_type_size_t=no
21310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21312 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21313 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21315 # The cast to long int works around a bug in the HP C Compiler
21316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21318 # This bug is HP SR number 8606223364.
21319 { echo "$as_me:$LINENO: checking size of size_t" >&5
21320 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21321 if test "${ac_cv_sizeof_size_t+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21324 if test "$cross_compiling" = yes; then
21325 # Depending upon the size, compute the lo and hi bounds.
21326 cat >conftest.
$ac_ext <<_ACEOF
21329 cat confdefs.h
>>conftest.
$ac_ext
21330 cat >>conftest.
$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 $ac_includes_default
21333 typedef size_t ac__type_sizeof_;
21337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21344 rm -f conftest.
$ac_objext
21345 if { (ac_try
="$ac_compile"
21346 case "(($ac_try" in
21347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_compile") 2>conftest.er1
21353 grep -v '^ *+' conftest.er1 >conftest.err
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } && {
21358 test -z "$ac_c_werror_flag" ||
21359 test ! -s conftest.err
21360 } && test -s conftest.$ac_objext; then
21363 cat >conftest.$ac_ext <<_ACEOF
21366 cat confdefs.h >>conftest.$ac_ext
21367 cat >>conftest.$ac_ext <<_ACEOF
21368 /* end confdefs.h. */
21369 $ac_includes_default
21370 typedef size_t ac__type_sizeof_;
21374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21381 rm -f conftest.$ac_objext
21382 if { (ac_try="$ac_compile"
21383 case "(($ac_try" in
21384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21385 *) ac_try_echo
=$ac_try;;
21387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21388 (eval "$ac_compile") 2>conftest.er1
21390 grep -v '^ *+' conftest.er1
>conftest.err
21392 cat conftest.err
>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); } && {
21395 test -z "$ac_c_werror_flag" ||
21396 test ! -s conftest.err
21397 } && test -s conftest.
$ac_objext; then
21398 ac_hi
=$ac_mid; break
21400 echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.
$ac_ext >&5
21403 ac_lo
=`expr $ac_mid + 1`
21404 if test $ac_lo -le $ac_mid; then
21408 ac_mid
=`expr 2 '*' $ac_mid + 1`
21411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21414 echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.
$ac_ext >&5
21417 cat >conftest.
$ac_ext <<_ACEOF
21420 cat confdefs.h
>>conftest.
$ac_ext
21421 cat >>conftest.
$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 $ac_includes_default
21424 typedef size_t ac__type_sizeof_;
21428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21435 rm -f conftest.
$ac_objext
21436 if { (ac_try
="$ac_compile"
21437 case "(($ac_try" in
21438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21439 *) ac_try_echo=$ac_try;;
21441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21442 (eval "$ac_compile") 2>conftest.er1
21444 grep -v '^ *+' conftest.er1 >conftest.err
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } && {
21449 test -z "$ac_c_werror_flag" ||
21450 test ! -s conftest.err
21451 } && test -s conftest.$ac_objext; then
21454 cat >conftest.$ac_ext <<_ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef size_t ac__type_sizeof_;
21465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21476 *) ac_try_echo
=$ac_try;;
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21481 grep -v '^ *+' conftest.er1
>conftest.err
21483 cat conftest.err
>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.
$ac_objext; then
21489 ac_lo
=$ac_mid; break
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.
$ac_ext >&5
21494 ac_hi
=`expr '(' $ac_mid ')' - 1`
21495 if test $ac_mid -le $ac_hi; then
21499 ac_mid
=`expr 2 '*' $ac_mid`
21502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.
$ac_ext >&5
21511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21515 # Binary search between lo and hi bounds.
21516 while test "x$ac_lo" != "x$ac_hi"; do
21517 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21518 cat >conftest.
$ac_ext <<_ACEOF
21521 cat confdefs.h
>>conftest.
$ac_ext
21522 cat >>conftest.
$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 $ac_includes_default
21525 typedef size_t ac__type_sizeof_;
21529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21536 rm -f conftest.
$ac_objext
21537 if { (ac_try
="$ac_compile"
21538 case "(($ac_try" in
21539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_compile") 2>conftest.er1
21545 grep -v '^ *+' conftest.er1 >conftest.err
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && {
21550 test -z "$ac_c_werror_flag" ||
21551 test ! -s conftest.err
21552 } && test -s conftest.$ac_objext; then
21555 echo "$as_me: failed program was:" >&5
21556 sed 's/^/| /' conftest.$ac_ext >&5
21558 ac_lo=`expr '(' $ac_mid ')' + 1`
21561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21564 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21565 '') if test "$ac_cv_type_size_t" = yes; then
21566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21567 See \`config.log
' for more details." >&5
21568 echo "$as_me: error: cannot compute sizeof (size_t)
21569 See \`config.log' for more details.
" >&2;}
21570 { (exit 77); exit 77; }; }
21572 ac_cv_sizeof_size_t=0
21576 cat >conftest.$ac_ext <<_ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21582 $ac_includes_default
21583 typedef size_t ac__type_sizeof_;
21584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21587 #include <stdlib.h>
21592 FILE *f = fopen ("conftest.val
", "w
");
21595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21597 long int i = longval ();
21598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21600 fprintf (f, "%ld
\n", i);
21604 unsigned long int i = ulongval ();
21605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21607 fprintf (f, "%lu
\n", i);
21609 return ferror (f) || fclose (f) != 0;
21615 rm -f conftest$ac_exeext
21616 if { (ac_try="$ac_link"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_link") 2>&5
21624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21626 { (case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_try") 2>&5
21633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21634 (exit $ac_status); }; }; then
21635 ac_cv_sizeof_size_t=`cat conftest.val`
21637 echo "$as_me: program exited with status
$ac_status" >&5
21638 echo "$as_me: failed program was
:" >&5
21639 sed 's/^/| /' conftest.$ac_ext >&5
21641 ( exit $ac_status )
21642 if test "$ac_cv_type_size_t" = yes; then
21643 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21644 See \
`config.log' for more details." >&5
21645 echo "$as_me: error: cannot compute sizeof (size_t)
21646 See \`config.log
' for more details." >&2;}
21647 { (exit 77); exit 77; }; }
21649 ac_cv_sizeof_size_t=0
21652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21657 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21661 cat >>confdefs.h <<_ACEOF
21662 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21669 { echo "$as_me:$LINENO: checking for long long" >&5
21670 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21671 if test "${ac_cv_type_long_long+set}" = set; then
21672 echo $ECHO_N "(cached) $ECHO_C" >&6
21674 cat >conftest.$ac_ext <<_ACEOF
21677 cat confdefs.h >>conftest.$ac_ext
21678 cat >>conftest.$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21680 $ac_includes_default
21681 typedef long long ac__type_new_;
21685 if ((ac__type_new_ *) 0)
21687 if (sizeof (ac__type_new_))
21693 rm -f conftest.$ac_objext
21694 if { (ac_try="$ac_compile"
21695 case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_compile") 2>conftest.er1
21702 grep -v '^
*+' conftest.er1 >conftest.err
21704 cat conftest.err >&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); } && {
21707 test -z "$ac_c_werror_flag" ||
21708 test ! -s conftest.err
21709 } && test -s conftest.$ac_objext; then
21710 ac_cv_type_long_long=yes
21712 echo "$as_me: failed program was:" >&5
21713 sed 's
/^
/| /' conftest.$ac_ext >&5
21715 ac_cv_type_long_long=no
21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21720 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21721 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21723 # The cast to long int works around a bug in the HP C Compiler
21724 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21725 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21726 # This bug is HP SR number 8606223364.
21727 { echo "$as_me:$LINENO: checking size of long long" >&5
21728 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21729 if test "${ac_cv_sizeof_long_long+set}" = set; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 if test "$cross_compiling" = yes; then
21733 # Depending upon the size, compute the lo and hi bounds.
21734 cat >conftest.
$ac_ext <<_ACEOF
21737 cat confdefs.h
>>conftest.
$ac_ext
21738 cat >>conftest.
$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 $ac_includes_default
21741 typedef long long ac__type_sizeof_;
21745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21752 rm -f conftest.
$ac_objext
21753 if { (ac_try
="$ac_compile"
21754 case "(($ac_try" in
21755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21756 *) ac_try_echo=$ac_try;;
21758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21759 (eval "$ac_compile") 2>conftest.er1
21761 grep -v '^ *+' conftest.er1 >conftest.err
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } && {
21766 test -z "$ac_c_werror_flag" ||
21767 test ! -s conftest.err
21768 } && test -s conftest.$ac_objext; then
21771 cat >conftest.$ac_ext <<_ACEOF
21774 cat confdefs.h >>conftest.$ac_ext
21775 cat >>conftest.$ac_ext <<_ACEOF
21776 /* end confdefs.h. */
21777 $ac_includes_default
21778 typedef long long ac__type_sizeof_;
21782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21789 rm -f conftest.$ac_objext
21790 if { (ac_try="$ac_compile"
21791 case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21793 *) ac_try_echo
=$ac_try;;
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_compile") 2>conftest.er1
21798 grep -v '^ *+' conftest.er1
>conftest.err
21800 cat conftest.err
>&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } && {
21803 test -z "$ac_c_werror_flag" ||
21804 test ! -s conftest.err
21805 } && test -s conftest.
$ac_objext; then
21806 ac_hi
=$ac_mid; break
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.
$ac_ext >&5
21811 ac_lo
=`expr $ac_mid + 1`
21812 if test $ac_lo -le $ac_mid; then
21816 ac_mid
=`expr 2 '*' $ac_mid + 1`
21819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21822 echo "$as_me: failed program was:" >&5
21823 sed 's/^/| /' conftest.
$ac_ext >&5
21825 cat >conftest.
$ac_ext <<_ACEOF
21828 cat confdefs.h
>>conftest.
$ac_ext
21829 cat >>conftest.
$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21831 $ac_includes_default
21832 typedef long long ac__type_sizeof_;
21836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21843 rm -f conftest.
$ac_objext
21844 if { (ac_try
="$ac_compile"
21845 case "(($ac_try" in
21846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21847 *) ac_try_echo=$ac_try;;
21849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21850 (eval "$ac_compile") 2>conftest.er1
21852 grep -v '^ *+' conftest.er1 >conftest.err
21854 cat conftest.err >&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); } && {
21857 test -z "$ac_c_werror_flag" ||
21858 test ! -s conftest.err
21859 } && test -s conftest.$ac_objext; then
21862 cat >conftest.$ac_ext <<_ACEOF
21865 cat confdefs.h >>conftest.$ac_ext
21866 cat >>conftest.$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 typedef long long ac__type_sizeof_;
21873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21880 rm -f conftest.$ac_objext
21881 if { (ac_try="$ac_compile"
21882 case "(($ac_try" in
21883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21884 *) ac_try_echo
=$ac_try;;
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_compile") 2>conftest.er1
21889 grep -v '^ *+' conftest.er1
>conftest.err
21891 cat conftest.err
>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_c_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest.
$ac_objext; then
21897 ac_lo
=$ac_mid; break
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.
$ac_ext >&5
21902 ac_hi
=`expr '(' $ac_mid ')' - 1`
21903 if test $ac_mid -le $ac_hi; then
21907 ac_mid
=`expr 2 '*' $ac_mid`
21910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21913 echo "$as_me: failed program was:" >&5
21914 sed 's/^/| /' conftest.
$ac_ext >&5
21919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21923 # Binary search between lo and hi bounds.
21924 while test "x$ac_lo" != "x$ac_hi"; do
21925 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21926 cat >conftest.
$ac_ext <<_ACEOF
21929 cat confdefs.h
>>conftest.
$ac_ext
21930 cat >>conftest.
$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21932 $ac_includes_default
21933 typedef long long ac__type_sizeof_;
21937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21944 rm -f conftest.
$ac_objext
21945 if { (ac_try
="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21953 grep -v '^ *+' conftest.er1 >conftest.err
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } && {
21958 test -z "$ac_c_werror_flag" ||
21959 test ! -s conftest.err
21960 } && test -s conftest.$ac_objext; then
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21966 ac_lo=`expr '(' $ac_mid ')' + 1`
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21972 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21973 '') if test "$ac_cv_type_long_long" = yes; then
21974 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21975 See \`config.log
' for more details." >&5
21976 echo "$as_me: error: cannot compute sizeof (long long)
21977 See \`config.log' for more details.
" >&2;}
21978 { (exit 77); exit 77; }; }
21980 ac_cv_sizeof_long_long=0
21984 cat >conftest.$ac_ext <<_ACEOF
21987 cat confdefs.h >>conftest.$ac_ext
21988 cat >>conftest.$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21990 $ac_includes_default
21991 typedef long long ac__type_sizeof_;
21992 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21993 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21995 #include <stdlib.h>
22000 FILE *f = fopen ("conftest.val
", "w
");
22003 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22005 long int i = longval ();
22006 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22008 fprintf (f, "%ld
\n", i);
22012 unsigned long int i = ulongval ();
22013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22015 fprintf (f, "%lu
\n", i);
22017 return ferror (f) || fclose (f) != 0;
22023 rm -f conftest$ac_exeext
22024 if { (ac_try="$ac_link"
22025 case "(($ac_try" in
22026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22027 *) ac_try_echo=$ac_try;;
22029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22030 (eval "$ac_link") 2>&5
22032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22034 { (case "(($ac_try" in
22035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_try") 2>&5
22041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 ac_cv_sizeof_long_long=`cat conftest.val`
22045 echo "$as_me: program exited with status
$ac_status" >&5
22046 echo "$as_me: failed program was
:" >&5
22047 sed 's/^/| /' conftest.$ac_ext >&5
22049 ( exit $ac_status )
22050 if test "$ac_cv_type_long_long" = yes; then
22051 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22052 See \
`config.log' for more details." >&5
22053 echo "$as_me: error: cannot compute sizeof (long long)
22054 See \`config.log
' for more details." >&2;}
22055 { (exit 77); exit 77; }; }
22057 ac_cv_sizeof_long_long=0
22060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22064 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22065 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22069 cat >>confdefs.h <<_ACEOF
22070 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22076 { echo "$as_me:$LINENO: checking for long long" >&5
22077 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22078 if test "${ac_cv_type_long_long+set}" = set; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22081 cat >conftest.$ac_ext <<_ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef long long ac__type_new_;
22092 if ((ac__type_new_ *) 0)
22094 if (sizeof (ac__type_new_))
22100 rm -f conftest.$ac_objext
22101 if { (ac_try="$ac_compile"
22102 case "(($ac_try" in
22103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22104 *) ac_try_echo=$ac_try;;
22106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22107 (eval "$ac_compile") 2>conftest.er1
22109 grep -v '^
*+' conftest.er1 >conftest.err
22111 cat conftest.err >&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } && {
22114 test -z "$ac_c_werror_flag" ||
22115 test ! -s conftest.err
22116 } && test -s conftest.$ac_objext; then
22117 ac_cv_type_long_long=yes
22119 echo "$as_me: failed program was:" >&5
22120 sed 's
/^
/| /' conftest.$ac_ext >&5
22122 ac_cv_type_long_long=no
22125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22128 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22130 # The cast to long int works around a bug in the HP C Compiler
22131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22133 # This bug is HP SR number 8606223364.
22134 { echo "$as_me:$LINENO: checking size of long long" >&5
22135 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22136 if test "${ac_cv_sizeof_long_long+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22139 if test "$cross_compiling" = yes; then
22140 # Depending upon the size, compute the lo and hi bounds.
22141 cat >conftest.
$ac_ext <<_ACEOF
22144 cat confdefs.h
>>conftest.
$ac_ext
22145 cat >>conftest.
$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_sizeof_;
22152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22159 rm -f conftest.
$ac_objext
22160 if { (ac_try
="$ac_compile"
22161 case "(($ac_try" in
22162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_compile") 2>conftest.er1
22168 grep -v '^ *+' conftest.er1 >conftest.err
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest.$ac_objext; then
22178 cat >conftest.$ac_ext <<_ACEOF
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 $ac_includes_default
22185 typedef long long ac__type_sizeof_;
22189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22196 rm -f conftest.$ac_objext
22197 if { (ac_try="$ac_compile"
22198 case "(($ac_try" in
22199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22200 *) ac_try_echo
=$ac_try;;
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_compile") 2>conftest.er1
22205 grep -v '^ *+' conftest.er1
>conftest.err
22207 cat conftest.err
>&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } && {
22210 test -z "$ac_c_werror_flag" ||
22211 test ! -s conftest.err
22212 } && test -s conftest.
$ac_objext; then
22213 ac_hi
=$ac_mid; break
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.
$ac_ext >&5
22218 ac_lo
=`expr $ac_mid + 1`
22219 if test $ac_lo -le $ac_mid; then
22223 ac_mid
=`expr 2 '*' $ac_mid + 1`
22226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.
$ac_ext >&5
22232 cat >conftest.
$ac_ext <<_ACEOF
22235 cat confdefs.h
>>conftest.
$ac_ext
22236 cat >>conftest.
$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef long long ac__type_sizeof_;
22243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22250 rm -f conftest.
$ac_objext
22251 if { (ac_try
="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22259 grep -v '^ *+' conftest.er1 >conftest.err
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } && {
22264 test -z "$ac_c_werror_flag" ||
22265 test ! -s conftest.err
22266 } && test -s conftest.$ac_objext; then
22269 cat >conftest.$ac_ext <<_ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef long long ac__type_sizeof_;
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22287 rm -f conftest.$ac_objext
22288 if { (ac_try="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22291 *) ac_try_echo
=$ac_try;;
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22296 grep -v '^ *+' conftest.er1
>conftest.err
22298 cat conftest.err
>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.
$ac_objext; then
22304 ac_lo
=$ac_mid; break
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.
$ac_ext >&5
22309 ac_hi
=`expr '(' $ac_mid ')' - 1`
22310 if test $ac_mid -le $ac_hi; then
22314 ac_mid
=`expr 2 '*' $ac_mid`
22317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.
$ac_ext >&5
22326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22330 # Binary search between lo and hi bounds.
22331 while test "x$ac_lo" != "x$ac_hi"; do
22332 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22333 cat >conftest.
$ac_ext <<_ACEOF
22336 cat confdefs.h
>>conftest.
$ac_ext
22337 cat >>conftest.
$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339 $ac_includes_default
22340 typedef long long ac__type_sizeof_;
22344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22351 rm -f conftest.
$ac_objext
22352 if { (ac_try
="$ac_compile"
22353 case "(($ac_try" in
22354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22355 *) ac_try_echo=$ac_try;;
22357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22358 (eval "$ac_compile") 2>conftest.er1
22360 grep -v '^ *+' conftest.er1 >conftest.err
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } && {
22365 test -z "$ac_c_werror_flag" ||
22366 test ! -s conftest.err
22367 } && test -s conftest.$ac_objext; then
22370 echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.$ac_ext >&5
22373 ac_lo=`expr '(' $ac_mid ')' + 1`
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22380 '') if test "$ac_cv_type_long_long" = yes; then
22381 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22382 See \`config.log
' for more details." >&5
22383 echo "$as_me: error: cannot compute sizeof (long long)
22384 See \`config.log' for more details.
" >&2;}
22385 { (exit 77); exit 77; }; }
22387 ac_cv_sizeof_long_long=0
22391 cat >conftest.$ac_ext <<_ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397 $ac_includes_default
22398 typedef long long ac__type_sizeof_;
22399 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22400 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22402 #include <stdlib.h>
22407 FILE *f = fopen ("conftest.val
", "w
");
22410 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22412 long int i = longval ();
22413 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22415 fprintf (f, "%ld
\n", i);
22419 unsigned long int i = ulongval ();
22420 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22422 fprintf (f, "%lu
\n", i);
22424 return ferror (f) || fclose (f) != 0;
22430 rm -f conftest$ac_exeext
22431 if { (ac_try="$ac_link"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22436 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_link") 2>&5
22439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22441 { (case "(($ac_try" in
22442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22443 *) ac_try_echo=$ac_try;;
22445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22446 (eval "$ac_try") 2>&5
22448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22449 (exit $ac_status); }; }; then
22450 ac_cv_sizeof_long_long=`cat conftest.val`
22452 echo "$as_me: program exited with status
$ac_status" >&5
22453 echo "$as_me: failed program was
:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22456 ( exit $ac_status )
22457 if test "$ac_cv_type_long_long" = yes; then
22458 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22459 See \
`config.log' for more details." >&5
22460 echo "$as_me: error: cannot compute sizeof (long long)
22461 See \`config.log
' for more details." >&2;}
22462 { (exit 77); exit 77; }; }
22464 ac_cv_sizeof_long_long=0
22467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22471 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22472 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22476 cat >>confdefs.h <<_ACEOF
22477 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22481 if test "$ac_cv_sizeof_long_long" != 0; then
22482 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22486 { echo "$as_me:$LINENO: checking for long long" >&5
22487 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22488 if test "${ac_cv_type_long_long+set}" = set; then
22489 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 cat >conftest.$ac_ext <<_ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22498 typedef long long ac__type_new_;
22502 if ((ac__type_new_ *) 0)
22504 if (sizeof (ac__type_new_))
22510 rm -f conftest.$ac_objext
22511 if { (ac_try="$ac_compile"
22512 case "(($ac_try" in
22513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22517 (eval "$ac_compile") 2>conftest.er1
22519 grep -v '^
*+' conftest.er1 >conftest.err
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && {
22524 test -z "$ac_c_werror_flag" ||
22525 test ! -s conftest.err
22526 } && test -s conftest.$ac_objext; then
22527 ac_cv_type_long_long=yes
22529 echo "$as_me: failed program was:" >&5
22530 sed 's
/^
/| /' conftest.$ac_ext >&5
22532 ac_cv_type_long_long=no
22535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22537 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22538 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22540 # The cast to long int works around a bug in the HP C Compiler
22541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22543 # This bug is HP SR number 8606223364.
22544 { echo "$as_me:$LINENO: checking size of long long" >&5
22545 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22546 if test "${ac_cv_sizeof_long_long+set}" = set; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 if test "$cross_compiling" = yes; then
22550 # Depending upon the size, compute the lo and hi bounds.
22551 cat >conftest.
$ac_ext <<_ACEOF
22554 cat confdefs.h
>>conftest.
$ac_ext
22555 cat >>conftest.
$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 $ac_includes_default
22558 typedef long long ac__type_sizeof_;
22562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22569 rm -f conftest.
$ac_objext
22570 if { (ac_try
="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22573 *) ac_try_echo=$ac_try;;
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22578 grep -v '^ *+' conftest.er1 >conftest.err
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } && {
22583 test -z "$ac_c_werror_flag" ||
22584 test ! -s conftest.err
22585 } && test -s conftest.$ac_objext; then
22588 cat >conftest.$ac_ext <<_ACEOF
22591 cat confdefs.h >>conftest.$ac_ext
22592 cat >>conftest.$ac_ext <<_ACEOF
22593 /* end confdefs.h. */
22594 $ac_includes_default
22595 typedef long long ac__type_sizeof_;
22599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22606 rm -f conftest.$ac_objext
22607 if { (ac_try="$ac_compile"
22608 case "(($ac_try" in
22609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22610 *) ac_try_echo
=$ac_try;;
22612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22613 (eval "$ac_compile") 2>conftest.er1
22615 grep -v '^ *+' conftest.er1
>conftest.err
22617 cat conftest.err
>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); } && {
22620 test -z "$ac_c_werror_flag" ||
22621 test ! -s conftest.err
22622 } && test -s conftest.
$ac_objext; then
22623 ac_hi
=$ac_mid; break
22625 echo "$as_me: failed program was:" >&5
22626 sed 's/^/| /' conftest.
$ac_ext >&5
22628 ac_lo
=`expr $ac_mid + 1`
22629 if test $ac_lo -le $ac_mid; then
22633 ac_mid
=`expr 2 '*' $ac_mid + 1`
22636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.
$ac_ext >&5
22642 cat >conftest.
$ac_ext <<_ACEOF
22645 cat confdefs.h
>>conftest.
$ac_ext
22646 cat >>conftest.
$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 $ac_includes_default
22649 typedef long long ac__type_sizeof_;
22653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22660 rm -f conftest.
$ac_objext
22661 if { (ac_try
="$ac_compile"
22662 case "(($ac_try" in
22663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_compile") 2>conftest.er1
22669 grep -v '^ *+' conftest.er1 >conftest.err
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } && {
22674 test -z "$ac_c_werror_flag" ||
22675 test ! -s conftest.err
22676 } && test -s conftest.$ac_objext; then
22679 cat >conftest.$ac_ext <<_ACEOF
22682 cat confdefs.h >>conftest.$ac_ext
22683 cat >>conftest.$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685 $ac_includes_default
22686 typedef long long ac__type_sizeof_;
22690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22701 *) ac_try_echo
=$ac_try;;
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22706 grep -v '^ *+' conftest.er1
>conftest.err
22708 cat conftest.err
>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.
$ac_objext; then
22714 ac_lo
=$ac_mid; break
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.
$ac_ext >&5
22719 ac_hi
=`expr '(' $ac_mid ')' - 1`
22720 if test $ac_mid -le $ac_hi; then
22724 ac_mid
=`expr 2 '*' $ac_mid`
22727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.
$ac_ext >&5
22736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22740 # Binary search between lo and hi bounds.
22741 while test "x$ac_lo" != "x$ac_hi"; do
22742 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22743 cat >conftest.
$ac_ext <<_ACEOF
22746 cat confdefs.h
>>conftest.
$ac_ext
22747 cat >>conftest.
$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 $ac_includes_default
22750 typedef long long ac__type_sizeof_;
22754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22761 rm -f conftest.
$ac_objext
22762 if { (ac_try
="$ac_compile"
22763 case "(($ac_try" in
22764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22765 *) ac_try_echo=$ac_try;;
22767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22768 (eval "$ac_compile") 2>conftest.er1
22770 grep -v '^ *+' conftest.er1 >conftest.err
22772 cat conftest.err >&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); } && {
22775 test -z "$ac_c_werror_flag" ||
22776 test ! -s conftest.err
22777 } && test -s conftest.$ac_objext; then
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.$ac_ext >&5
22783 ac_lo=`expr '(' $ac_mid ')' + 1`
22786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22789 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22790 '') if test "$ac_cv_type_long_long" = yes; then
22791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22792 See \`config.log
' for more details." >&5
22793 echo "$as_me: error: cannot compute sizeof (long long)
22794 See \`config.log' for more details.
" >&2;}
22795 { (exit 77); exit 77; }; }
22797 ac_cv_sizeof_long_long=0
22801 cat >conftest.$ac_ext <<_ACEOF
22804 cat confdefs.h >>conftest.$ac_ext
22805 cat >>conftest.$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22807 $ac_includes_default
22808 typedef long long ac__type_sizeof_;
22809 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22810 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22812 #include <stdlib.h>
22817 FILE *f = fopen ("conftest.val
", "w
");
22820 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22822 long int i = longval ();
22823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22825 fprintf (f, "%ld
\n", i);
22829 unsigned long int i = ulongval ();
22830 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22832 fprintf (f, "%lu
\n", i);
22834 return ferror (f) || fclose (f) != 0;
22840 rm -f conftest$ac_exeext
22841 if { (ac_try="$ac_link"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_link") 2>&5
22849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22851 { (case "(($ac_try" in
22852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_try") 2>&5
22858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22859 (exit $ac_status); }; }; then
22860 ac_cv_sizeof_long_long=`cat conftest.val`
22862 echo "$as_me: program exited with status
$ac_status" >&5
22863 echo "$as_me: failed program was
:" >&5
22864 sed 's/^/| /' conftest.$ac_ext >&5
22866 ( exit $ac_status )
22867 if test "$ac_cv_type_long_long" = yes; then
22868 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22869 See \
`config.log' for more details." >&5
22870 echo "$as_me: error: cannot compute sizeof (long long)
22871 See \`config.log
' for more details." >&2;}
22872 { (exit 77); exit 77; }; }
22874 ac_cv_sizeof_long_long=0
22877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22881 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22882 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22886 cat >>confdefs.h <<_ACEOF
22887 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22893 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22894 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22895 if test "${ac_cv_type_wchar_t+set}" = set; then
22896 echo $ECHO_N "(cached) $ECHO_C" >&6
22898 cat >conftest.$ac_ext <<_ACEOF
22901 cat confdefs.h >>conftest.$ac_ext
22902 cat >>conftest.$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22905 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22906 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22907 # error "fake wchar_t"
22909 #ifdef HAVE_WCHAR_H
22911 # include <stddef.h>
22913 # include <wchar.h>
22915 #ifdef HAVE_STDLIB_H
22916 # include <stdlib.h>
22922 typedef wchar_t ac__type_new_
;
22926 if ((ac__type_new_
*) 0)
22928 if (sizeof
(ac__type_new_
))
22934 rm -f conftest.
$ac_objext
22935 if { (ac_try
="$ac_compile"
22936 case "(($ac_try" in
22937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22943 grep -v '^ *+' conftest.er1 >conftest.err
22945 cat conftest.err >&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.$ac_objext; then
22951 ac_cv_type_wchar_t=yes
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22956 ac_cv_type_wchar_t=no
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22962 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22964 # The cast to long int works around a bug in the HP C Compiler
22965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22966 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22967 # This bug is HP SR number 8606223364.
22968 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22969 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22970 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22973 if test "$cross_compiling" = yes; then
22974 # Depending upon the size, compute the lo and hi bounds.
22975 cat >conftest.$ac_ext <<_ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22982 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22983 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22984 # error "fake wchar_t"
22986 #ifdef HAVE_WCHAR_H
22988 # include <stddef.h>
22990 # include <wchar.h>
22992 #ifdef HAVE_STDLIB_H
22993 # include <stdlib.h>
22999 typedef wchar_t ac__type_sizeof_
;
23003 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23010 rm -f conftest.
$ac_objext
23011 if { (ac_try
="$ac_compile"
23012 case "(($ac_try" in
23013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23019 grep -v '^ *+' conftest.er1 >conftest.err
23021 cat conftest.err >&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } && {
23024 test -z "$ac_c_werror_flag" ||
23025 test ! -s conftest.err
23026 } && test -s conftest.$ac_objext; then
23029 cat >conftest.$ac_ext <<_ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h. */
23036 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23037 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23038 # error "fake wchar_t"
23040 #ifdef HAVE_WCHAR_H
23042 # include <stddef.h>
23044 # include <wchar.h>
23046 #ifdef HAVE_STDLIB_H
23047 # include <stdlib.h>
23053 typedef wchar_t ac__type_sizeof_;
23057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23064 rm -f conftest.$ac_objext
23065 if { (ac_try="$ac_compile"
23066 case "(($ac_try" in
23067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23068 *) ac_try_echo
=$ac_try;;
23070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23071 (eval "$ac_compile") 2>conftest.er1
23073 grep -v '^ *+' conftest.er1
>conftest.err
23075 cat conftest.err
>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } && {
23078 test -z "$ac_c_werror_flag" ||
23079 test ! -s conftest.err
23080 } && test -s conftest.
$ac_objext; then
23081 ac_hi
=$ac_mid; break
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.
$ac_ext >&5
23086 ac_lo
=`expr $ac_mid + 1`
23087 if test $ac_lo -le $ac_mid; then
23091 ac_mid
=`expr 2 '*' $ac_mid + 1`
23094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.
$ac_ext >&5
23100 cat >conftest.
$ac_ext <<_ACEOF
23103 cat confdefs.h
>>conftest.
$ac_ext
23104 cat >>conftest.
$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23107 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23108 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23109 # error "fake wchar_t"
23111 #ifdef HAVE_WCHAR_H
23113 # include <stddef.h>
23115 # include <wchar.h>
23117 #ifdef HAVE_STDLIB_H
23118 # include <stdlib.h>
23124 typedef wchar_t ac__type_sizeof_;
23128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23135 rm -f conftest.
$ac_objext
23136 if { (ac_try
="$ac_compile"
23137 case "(($ac_try" in
23138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_compile") 2>conftest.er1
23144 grep -v '^ *+' conftest.er1 >conftest.err
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } && {
23149 test -z "$ac_c_werror_flag" ||
23150 test ! -s conftest.err
23151 } && test -s conftest.$ac_objext; then
23154 cat >conftest.$ac_ext <<_ACEOF
23157 cat confdefs.h >>conftest.$ac_ext
23158 cat >>conftest.$ac_ext <<_ACEOF
23159 /* end confdefs.h. */
23161 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23162 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23163 # error "fake wchar_t"
23165 #ifdef HAVE_WCHAR_H
23167 # include <stddef.h>
23169 # include <wchar.h>
23171 #ifdef HAVE_STDLIB_H
23172 # include <stdlib.h>
23178 typedef wchar_t ac__type_sizeof_;
23182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23189 rm -f conftest.$ac_objext
23190 if { (ac_try="$ac_compile"
23191 case "(($ac_try" in
23192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23193 *) ac_try_echo
=$ac_try;;
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_compile") 2>conftest.er1
23198 grep -v '^ *+' conftest.er1
>conftest.err
23200 cat conftest.err
>&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } && {
23203 test -z "$ac_c_werror_flag" ||
23204 test ! -s conftest.err
23205 } && test -s conftest.
$ac_objext; then
23206 ac_lo
=$ac_mid; break
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.
$ac_ext >&5
23211 ac_hi
=`expr '(' $ac_mid ')' - 1`
23212 if test $ac_mid -le $ac_hi; then
23216 ac_mid
=`expr 2 '*' $ac_mid`
23219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23222 echo "$as_me: failed program was:" >&5
23223 sed 's/^/| /' conftest.
$ac_ext >&5
23228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23232 # Binary search between lo and hi bounds.
23233 while test "x$ac_lo" != "x$ac_hi"; do
23234 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23235 cat >conftest.
$ac_ext <<_ACEOF
23238 cat confdefs.h
>>conftest.
$ac_ext
23239 cat >>conftest.
$ac_ext <<_ACEOF
23240 /* end confdefs.h. */
23242 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23243 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23244 # error "fake wchar_t"
23246 #ifdef HAVE_WCHAR_H
23248 # include <stddef.h>
23250 # include <wchar.h>
23252 #ifdef HAVE_STDLIB_H
23253 # include <stdlib.h>
23259 typedef wchar_t ac__type_sizeof_;
23263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23270 rm -f conftest.
$ac_objext
23271 if { (ac_try
="$ac_compile"
23272 case "(($ac_try" in
23273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23274 *) ac_try_echo=$ac_try;;
23276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23277 (eval "$ac_compile") 2>conftest.er1
23279 grep -v '^ *+' conftest.er1 >conftest.err
23281 cat conftest.err >&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } && {
23284 test -z "$ac_c_werror_flag" ||
23285 test ! -s conftest.err
23286 } && test -s conftest.$ac_objext; then
23289 echo "$as_me: failed program was:" >&5
23290 sed 's/^/| /' conftest.$ac_ext >&5
23292 ac_lo=`expr '(' $ac_mid ')' + 1`
23295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23299 '') if test "$ac_cv_type_wchar_t" = yes; then
23300 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23301 See \`config.log
' for more details." >&5
23302 echo "$as_me: error: cannot compute sizeof (wchar_t)
23303 See \`config.log' for more details.
" >&2;}
23304 { (exit 77); exit 77; }; }
23306 ac_cv_sizeof_wchar_t=0
23310 cat >conftest.$ac_ext <<_ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23317 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23318 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23319 # error "fake wchar_t
"
23321 #ifdef HAVE_WCHAR_H
23323 # include <stddef.h>
23325 # include <wchar.h>
23327 #ifdef HAVE_STDLIB_H
23328 # include <stdlib.h>
23334 typedef wchar_t ac__type_sizeof_;
23335 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23336 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23338 #include <stdlib.h>
23343 FILE *f = fopen ("conftest.val
", "w
");
23346 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23348 long int i = longval ();
23349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23351 fprintf (f, "%ld
\n", i);
23355 unsigned long int i = ulongval ();
23356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23358 fprintf (f, "%lu
\n", i);
23360 return ferror (f) || fclose (f) != 0;
23366 rm -f conftest$ac_exeext
23367 if { (ac_try="$ac_link"
23368 case "(($ac_try" in
23369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23370 *) ac_try_echo=$ac_try;;
23372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23373 (eval "$ac_link") 2>&5
23375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23377 { (case "(($ac_try" in
23378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23379 *) ac_try_echo=$ac_try;;
23381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23382 (eval "$ac_try") 2>&5
23384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23385 (exit $ac_status); }; }; then
23386 ac_cv_sizeof_wchar_t=`cat conftest.val`
23388 echo "$as_me: program exited with status
$ac_status" >&5
23389 echo "$as_me: failed program was
:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23392 ( exit $ac_status )
23393 if test "$ac_cv_type_wchar_t" = yes; then
23394 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23395 See \
`config.log' for more details." >&5
23396 echo "$as_me: error: cannot compute sizeof (wchar_t)
23397 See \`config.log
' for more details." >&2;}
23398 { (exit 77); exit 77; }; }
23400 ac_cv_sizeof_wchar_t=0
23403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23407 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23408 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23412 cat >>confdefs.h <<_ACEOF
23413 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23417 if test "$ac_cv_sizeof_wchar_t" != 0; then
23423 { echo "$as_me:$LINENO: checking for va_copy" >&5
23424 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23425 if test "${wx_cv_func_va_copy+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23430 ac_cpp='$CXXCPP $CPPFLAGS'
23431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23432 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23435 cat >conftest.$ac_ext <<_ACEOF
23437 #include <stdarg.h>
23438 void foo(char *f, ...)
23452 rm -f conftest.$ac_objext conftest$ac_exeext
23453 if { (ac_try="$ac_link"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_link") 2>conftest.er1
23461 grep -v '^
*+' conftest.er1 >conftest.err
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } && {
23466 test -z "$ac_cxx_werror_flag" ||
23467 test ! -s conftest.err
23468 } && test -s conftest$ac_exeext &&
23469 $as_test_x conftest$ac_exeext; then
23470 wx_cv_func_va_copy=yes
23472 echo "$as_me: failed program was:" >&5
23473 sed 's
/^
/| /' conftest.$ac_ext >&5
23475 wx_cv_func_va_copy=no
23479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23480 conftest$ac_exeext conftest.$ac_ext
23482 ac_cpp='$CPP $CPPFLAGS'
23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23491 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23493 if test $wx_cv_func_va_copy = "yes"; then
23494 cat >>confdefs.h <<\_ACEOF
23495 #define HAVE_VA_COPY 1
23499 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23500 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23501 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23505 if test "$cross_compiling" = yes; then
23506 wx_cv_type_va_list_lvalue=yes
23509 cat >conftest.$ac_ext <<_ACEOF
23511 #include <stdarg.h>
23512 int foo(char *f, ...)
23517 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23525 return foo("hi", 17);
23528 rm -f conftest$ac_exeext
23529 if { (ac_try="$ac_link"
23530 case "(($ac_try" in
23531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23532 *) ac_try_echo=$ac_try;;
23534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23535 (eval "$ac_link") 2>&5
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23539 { (case "(($ac_try" in
23540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23541 *) ac_try_echo=$ac_try;;
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_try") 2>&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); }; }; then
23548 wx_cv_type_va_list_lvalue=yes
23550 echo "$as_me: program exited with status $ac_status" >&5
23551 echo "$as_me: failed program was:" >&5
23552 sed 's
/^
/| /' conftest.$ac_ext >&5
23554 ( exit $ac_status )
23555 wx_cv_type_va_list_lvalue=no
23557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23564 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23565 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23567 if test $wx_cv_type_va_list_lvalue != "yes"; then
23568 cat >>confdefs.h <<\_ACEOF
23569 #define VA_LIST_IS_ARRAY 1
23575 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23577 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23578 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23579 if test "${wx_cv_have_variadic_macros+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23586 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23589 cat >conftest.$ac_ext <<_ACEOF
23592 cat confdefs.h >>conftest.$ac_ext
23593 cat >>conftest.$ac_ext <<_ACEOF
23594 /* end confdefs.h. */
23597 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23603 test("%s %d %p", "test", 1, 0);
23610 rm -f conftest.$ac_objext
23611 if { (ac_try="$ac_compile"
23612 case "(($ac_try" in
23613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23614 *) ac_try_echo=$ac_try;;
23616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23617 (eval "$ac_compile") 2>conftest.er1
23619 grep -v '^
*+' conftest.er1 >conftest.err
23621 cat conftest.err >&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } && {
23624 test -z "$ac_cxx_werror_flag" ||
23625 test ! -s conftest.err
23626 } && test -s conftest.$ac_objext; then
23627 wx_cv_have_variadic_macros=yes
23629 echo "$as_me: failed program was:" >&5
23630 sed 's
/^
/| /' conftest.$ac_ext >&5
23632 wx_cv_have_variadic_macros=no
23636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23638 ac_cpp='$CPP $CPPFLAGS'
23639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23640 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23646 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23647 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23649 if test $wx_cv_have_variadic_macros = "yes"; then
23650 cat >>confdefs.h <<\_ACEOF
23651 #define HAVE_VARIADIC_MACROS 1
23658 LARGEFILE_CPPFLAGS=
23659 # Check whether --enable-largefile was given.
23660 if test "${enable_largefile+set}" = set; then
23661 enableval=$enable_largefile;
23664 if test "$enable_largefile" != no; then
23667 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23668 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23669 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23670 echo $ECHO_N "(cached) $ECHO_C" >&6
23673 cat >conftest.$ac_ext <<_ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679 #define _FILE_OFFSET_BITS 64
23680 #include <sys/types.h>
23685 unsigned int field: sizeof(off_t) == 8;
23692 rm -f conftest.$ac_objext
23693 if { (ac_try="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_compile") 2>conftest.er1
23701 grep -v '^
*+' conftest.er1 >conftest.err
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } && {
23706 test -z "$ac_c_werror_flag" ||
23707 test ! -s conftest.err
23708 } && test -s conftest.$ac_objext; then
23709 ac_cv_sys_file_offset_bits=64
23711 echo "$as_me: failed program was:" >&5
23712 sed 's
/^
/| /' conftest.$ac_ext >&5
23714 ac_cv_sys_file_offset_bits=no
23717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23722 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23724 if test "$ac_cv_sys_file_offset_bits" != no; then
23726 cat >>confdefs.h <<_ACEOF
23727 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23732 if test "x$wx_largefile" != "xyes"; then
23734 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23735 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23736 if test "${ac_cv_sys_large_files+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23740 cat >conftest.$ac_ext <<_ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23746 #define _LARGE_FILES 1
23747 #include <sys/types.h>
23752 unsigned int field: sizeof(off_t) == 8;
23759 rm -f conftest.$ac_objext
23760 if { (ac_try="$ac_compile"
23761 case "(($ac_try" in
23762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23763 *) ac_try_echo=$ac_try;;
23765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23766 (eval "$ac_compile") 2>conftest.er1
23768 grep -v '^
*+' conftest.er1 >conftest.err
23770 cat conftest.err >&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } && {
23773 test -z "$ac_c_werror_flag" ||
23774 test ! -s conftest.err
23775 } && test -s conftest.$ac_objext; then
23776 ac_cv_sys_large_files=1
23778 echo "$as_me: failed program was:" >&5
23779 sed 's
/^
/| /' conftest.$ac_ext >&5
23781 ac_cv_sys_large_files=no
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23788 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23789 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23791 if test "$ac_cv_sys_large_files" != no; then
23793 cat >>confdefs.h <<_ACEOF
23794 #define _LARGE_FILES $ac_cv_sys_large_files
23801 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23802 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23803 if test "x$wx_largefile" = "xyes"; then
23804 cat >>confdefs.h <<\_ACEOF
23805 #define HAVE_LARGEFILE_SUPPORT 1
23809 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23810 echo "${ECHO_T}$wx_largefile" >&6; }
23813 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23814 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23815 elif test "$ac_cv_sys_large_files" = 1; then
23816 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23819 if test -n "$LARGEFILE_CPPFLAGS"; then
23820 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23822 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23823 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23824 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23825 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23826 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23832 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23835 cat >conftest.$ac_ext <<_ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23846 #ifndef __STDC_EXT__
23854 rm -f conftest.$ac_objext
23855 if { (ac_try="$ac_compile"
23856 case "(($ac_try" in
23857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23858 *) ac_try_echo=$ac_try;;
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861 (eval "$ac_compile") 2>conftest.er1
23863 grep -v '^
*+' conftest.er1 >conftest.err
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && {
23868 test -z "$ac_cxx_werror_flag" ||
23869 test ! -s conftest.err
23870 } && test -s conftest.$ac_objext; then
23871 wx_cv_STDC_EXT_required=no
23873 echo "$as_me: failed program was:" >&5
23874 sed 's
/^
/| /' conftest.$ac_ext >&5
23876 wx_cv_STDC_EXT_required=yes
23880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23882 ac_cpp='$CPP $CPPFLAGS'
23883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23884 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23890 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23891 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23892 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23893 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23901 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23904 old_CPPFLAGS="$CPPFLAGS"
23905 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23906 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23907 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23908 if test "${ac_cv_sys_largefile_source+set}" = set; then
23909 echo $ECHO_N "(cached) $ECHO_C" >&6
23912 cat >conftest.$ac_ext <<_ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 #include <sys/types.h> /* for off_t */
23923 int (*fp) (FILE *, off_t, int) = fseeko;
23924 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23929 rm -f conftest.$ac_objext conftest$ac_exeext
23930 if { (ac_try="$ac_link"
23931 case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_link") 2>conftest.er1
23938 grep -v '^
*+' conftest.er1 >conftest.err
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } && {
23943 test -z "$ac_cxx_werror_flag" ||
23944 test ! -s conftest.err
23945 } && test -s conftest$ac_exeext &&
23946 $as_test_x conftest$ac_exeext; then
23947 ac_cv_sys_largefile_source=no; break
23949 echo "$as_me: failed program was:" >&5
23950 sed 's
/^
/| /' conftest.$ac_ext >&5
23955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23956 conftest$ac_exeext conftest.$ac_ext
23957 cat >conftest.$ac_ext <<_ACEOF
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #define _LARGEFILE_SOURCE 1
23964 #include <sys/types.h> /* for off_t */
23969 int (*fp) (FILE *, off_t, int) = fseeko;
23970 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23975 rm -f conftest.$ac_objext conftest$ac_exeext
23976 if { (ac_try="$ac_link"
23977 case "(($ac_try" in
23978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23979 *) ac_try_echo=$ac_try;;
23981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23982 (eval "$ac_link") 2>conftest.er1
23984 grep -v '^
*+' conftest.er1 >conftest.err
23986 cat conftest.err >&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); } && {
23989 test -z "$ac_cxx_werror_flag" ||
23990 test ! -s conftest.err
23991 } && test -s conftest$ac_exeext &&
23992 $as_test_x conftest$ac_exeext; then
23993 ac_cv_sys_largefile_source=1; break
23995 echo "$as_me: failed program was:" >&5
23996 sed 's
/^
/| /' conftest.$ac_ext >&5
24001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24002 conftest$ac_exeext conftest.$ac_ext
24003 ac_cv_sys_largefile_source=unknown
24007 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24008 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24009 case $ac_cv_sys_largefile_source in #(
24012 cat >>confdefs.h <<_ACEOF
24013 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24019 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24020 # in glibc 2.1.3, but that breaks too many other things.
24021 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24022 if test $ac_cv_sys_largefile_source != unknown; then
24024 cat >>confdefs.h <<\_ACEOF
24025 #define HAVE_FSEEKO 1
24030 CPPFLAGS="$old_CPPFLAGS"
24032 ac_cpp='$CPP $CPPFLAGS'
24033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24034 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24037 if test "$ac_cv_sys_largefile_source" != no; then
24038 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24041 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24042 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24043 if test "${ac_cv_c_bigendian+set}" = set; then
24044 echo $ECHO_N "(cached) $ECHO_C" >&6
24046 ac_cv_c_bigendian=unknown
24047 # See if sys/param.h defines the BYTE_ORDER macro.
24048 cat >conftest.$ac_ext <<_ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24054 #include <sys/types.h>
24055 #include <sys/param.h>
24060 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24061 bogus endian macros
24067 rm -f conftest.$ac_objext
24068 if { (ac_try="$ac_compile"
24069 case "(($ac_try" in
24070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24071 *) ac_try_echo=$ac_try;;
24073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24074 (eval "$ac_compile") 2>conftest.er1
24076 grep -v '^
*+' conftest.er1 >conftest.err
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } && {
24081 test -z "$ac_c_werror_flag" ||
24082 test ! -s conftest.err
24083 } && test -s conftest.$ac_objext; then
24084 # It does; now see whether it defined to BIG_ENDIAN or not.
24085 cat >conftest.$ac_ext <<_ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 #include <sys/types.h>
24092 #include <sys/param.h>
24097 #if BYTE_ORDER != BIG_ENDIAN
24104 rm -f conftest.$ac_objext
24105 if { (ac_try="$ac_compile"
24106 case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_compile") 2>conftest.er1
24113 grep -v '^
*+' conftest.er1 >conftest.err
24115 cat conftest.err >&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } && {
24118 test -z "$ac_c_werror_flag" ||
24119 test ! -s conftest.err
24120 } && test -s conftest.$ac_objext; then
24121 ac_cv_c_bigendian=yes
24123 echo "$as_me: failed program was:" >&5
24124 sed 's
/^
/| /' conftest.$ac_ext >&5
24126 ac_cv_c_bigendian=no
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131 echo "$as_me: failed program was:" >&5
24132 sed 's
/^
/| /' conftest.$ac_ext >&5
24137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24138 if test $ac_cv_c_bigendian = unknown; then
24139 if test "$cross_compiling" = yes; then
24140 ac_cv_c_bigendian=unknown
24142 cat >conftest.$ac_ext <<_ACEOF
24145 cat confdefs.h >>conftest.$ac_ext
24146 cat >>conftest.$ac_ext <<_ACEOF
24147 /* end confdefs.h. */
24149 /* Are we little or big endian? From Harbison&Steele. */
24153 char c[sizeof (long)];
24156 exit (u.c[sizeof (long) - 1] == 1);
24159 rm -f conftest$ac_exeext
24160 if { (ac_try="$ac_link"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163 *) ac_try_echo=$ac_try;;
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_link") 2>&5
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24170 { (case "(($ac_try" in
24171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24172 *) ac_try_echo=$ac_try;;
24174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24175 (eval "$ac_try") 2>&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 ac_cv_c_bigendian=no
24181 echo "$as_me: program exited with status $ac_status" >&5
24182 echo "$as_me: failed program was:" >&5
24183 sed 's
/^
/| /' conftest.$ac_ext >&5
24185 ( exit $ac_status )
24186 ac_cv_c_bigendian=yes
24188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24194 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24195 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24196 if test $ac_cv_c_bigendian = unknown; then
24197 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24198 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24200 if test $ac_cv_c_bigendian = yes; then
24201 cat >>confdefs.h <<\_ACEOF
24202 #define WORDS_BIGENDIAN 1
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24213 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24218 for ac_header in iostream
24220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24224 echo $ECHO_N "(cached) $ECHO_C" >&6
24226 cat >conftest.$ac_ext <<_ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24234 #include <$ac_header>
24236 rm -f conftest.$ac_objext
24237 if { (ac_try="$ac_compile"
24238 case "(($ac_try" in
24239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24240 *) ac_try_echo=$ac_try;;
24242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24243 (eval "$ac_compile") 2>conftest.er1
24245 grep -v '^
*+' conftest.er1 >conftest.err
24247 cat conftest.err >&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } && {
24250 test -z "$ac_cxx_werror_flag" ||
24251 test ! -s conftest.err
24252 } && test -s conftest.$ac_objext; then
24253 eval "$as_ac_Header=yes"
24255 echo "$as_me: failed program was:" >&5
24256 sed 's
/^
/| /' conftest.$ac_ext >&5
24258 eval "$as_ac_Header=no"
24261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24263 ac_res=`eval echo '${'$as_ac_Header'}'`
24264 { echo "$as_me:$LINENO: result: $ac_res" >&5
24265 echo "${ECHO_T}$ac_res" >&6; }
24266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24267 cat >>confdefs.h <<_ACEOF
24268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24276 if test "$ac_cv_header_iostream" = "yes" ; then
24279 cat >>confdefs.h <<\_ACEOF
24280 #define wxUSE_IOSTREAMH 1
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24295 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24296 if test "${wx_cv_explicit+set}" = set; then
24297 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 ac_cpp='$CXXCPP $CPPFLAGS'
24303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24304 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24308 cat >conftest.$ac_ext <<_ACEOF
24311 cat confdefs.h >>conftest.$ac_ext
24312 cat >>conftest.$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24315 class Foo { public: explicit Foo(int) {} };
24327 rm -f conftest.$ac_objext
24328 if { (ac_try="$ac_compile"
24329 case "(($ac_try" in
24330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24331 *) ac_try_echo=$ac_try;;
24333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24334 (eval "$ac_compile") 2>conftest.er1
24336 grep -v '^
*+' conftest.er1 >conftest.err
24338 cat conftest.err >&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); } && {
24341 test -z "$ac_cxx_werror_flag" ||
24342 test ! -s conftest.err
24343 } && test -s conftest.$ac_objext; then
24345 cat >conftest.$ac_ext <<_ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24352 class Foo { public: explicit Foo(int) {} };
24353 static void TakeFoo(const Foo& foo) { }
24366 rm -f conftest.$ac_objext
24367 if { (ac_try="$ac_compile"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_compile") 2>conftest.er1
24375 grep -v '^
*+' conftest.er1 >conftest.err
24377 cat conftest.err >&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } && {
24380 test -z "$ac_cxx_werror_flag" ||
24381 test ! -s conftest.err
24382 } && test -s conftest.$ac_objext; then
24385 echo "$as_me: failed program was:" >&5
24386 sed 's
/^
/| /' conftest.$ac_ext >&5
24392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24395 echo "$as_me: failed program was:" >&5
24396 sed 's
/^
/| /' conftest.$ac_ext >&5
24402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 ac_cpp='$CPP $CPPFLAGS'
24406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24407 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24412 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24413 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24415 if test "$wx_cv_explicit" = "yes"; then
24416 cat >>confdefs.h <<\_ACEOF
24417 #define HAVE_EXPLICIT 1
24423 if test "x$SUNCXX" = xyes; then
24424 CXXFLAGS="-features=tmplife $CXXFLAGS"
24427 if test "x$SUNCC" = xyes; then
24428 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24431 if test "x$SGICC" = "xyes"; then
24432 CFLAGS="-woff 3970 $CFLAGS"
24434 if test "x$SGICXX" = "xyes"; then
24435 CXXFLAGS="-woff 3970 $CXXFLAGS"
24438 if test "x$HPCC" = "xyes"; then
24439 CFLAGS="+W 2011,2450 $CFLAGS"
24441 if test "x$HPCXX" = "xyes"; then
24442 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24445 if test "x$COMPAQCXX" = "xyes"; then
24446 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24450 ac_cpp='$CXXCPP $CPPFLAGS'
24451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24452 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24456 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24457 if test "$wxUSE_UNICODE" = "yes"; then
24458 std_string="std::wstring"
24459 char_type="wchar_t"
24461 std_string="std::string"
24465 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24466 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24467 if test "${wx_cv_class_stdstring+set}" = set; then
24468 echo $ECHO_N "(cached) $ECHO_C" >&6
24471 cat >conftest.$ac_ext <<_ACEOF
24474 cat confdefs.h >>conftest.$ac_ext
24475 cat >>conftest.$ac_ext <<_ACEOF
24476 /* end confdefs.h. */
24486 rm -f conftest.$ac_objext
24487 if { (ac_try="$ac_compile"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_compile") 2>conftest.er1
24495 grep -v '^
*+' conftest.er1 >conftest.err
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } && {
24500 test -z "$ac_cxx_werror_flag" ||
24501 test ! -s conftest.err
24502 } && test -s conftest.$ac_objext; then
24503 wx_cv_class_stdstring=yes
24505 echo "$as_me: failed program was:" >&5
24506 sed 's
/^
/| /' conftest.$ac_ext >&5
24508 wx_cv_class_stdstring=no
24512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24517 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24519 if test "$wx_cv_class_stdstring" = yes; then
24520 if test "$wxUSE_UNICODE" = "yes"; then
24521 cat >>confdefs.h <<\_ACEOF
24522 #define HAVE_STD_WSTRING 1
24527 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24528 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24529 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24533 cat >conftest.$ac_ext <<_ACEOF
24536 cat confdefs.h >>conftest.$ac_ext
24537 cat >>conftest.$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24540 #ifdef HAVE_WCHAR_H
24542 # include <stddef.h>
24544 # include <wchar.h>
24546 #ifdef HAVE_STDLIB_H
24547 # include <stdlib.h>
24555 std::basic_string<$char_type> foo;
24556 const $char_type* dummy = foo.c_str();
24561 rm -f conftest.$ac_objext
24562 if { (ac_try="$ac_compile"
24563 case "(($ac_try" in
24564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24565 *) ac_try_echo=$ac_try;;
24567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24568 (eval "$ac_compile") 2>conftest.er1
24570 grep -v '^
*+' conftest.er1 >conftest.err
24572 cat conftest.err >&5
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); } && {
24575 test -z "$ac_cxx_werror_flag" ||
24576 test ! -s conftest.err
24577 } && test -s conftest.$ac_objext; then
24578 wx_cv_class_stdbasicstring=yes
24580 echo "$as_me: failed program was:" >&5
24581 sed 's
/^
/| /' conftest.$ac_ext >&5
24583 wx_cv_class_stdbasicstring=no
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24592 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24594 if test "$wx_cv_class_stdbasicstring" != yes; then
24595 if test "$wxUSE_STL" = "yes"; then
24596 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24597 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24598 { (exit 1); exit 1; }; }
24599 elif test "$wxUSE_STD_STRING" = "yes"; then
24600 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24601 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24602 { (exit 1); exit 1; }; }
24604 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24605 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24606 wxUSE_STD_STRING=no
24612 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24613 { echo "$as_me:$LINENO: checking for std::istream" >&5
24614 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24615 if test "${ac_cv_type_std__istream+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 cat >conftest.$ac_ext <<_ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 #include <iostream>
24626 typedef std::istream ac__type_new_;
24630 if ((ac__type_new_ *) 0)
24632 if (sizeof (ac__type_new_))
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24647 grep -v '^
*+' conftest.er1 >conftest.err
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_cxx_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 ac_cv_type_std__istream=yes
24657 echo "$as_me: failed program was:" >&5
24658 sed 's
/^
/| /' conftest.$ac_ext >&5
24660 ac_cv_type_std__istream=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24666 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24667 if test $ac_cv_type_std__istream = yes; then
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_STD__ISTREAM 1
24675 wxUSE_STD_IOSTREAM=no
24677 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24678 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24679 if test "${ac_cv_type_std__ostream+set}" = set; then
24680 echo $ECHO_N "(cached) $ECHO_C" >&6
24682 cat >conftest.$ac_ext <<_ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24688 #include <iostream>
24690 typedef std::ostream ac__type_new_;
24694 if ((ac__type_new_ *) 0)
24696 if (sizeof (ac__type_new_))
24702 rm -f conftest.$ac_objext
24703 if { (ac_try="$ac_compile"
24704 case "(($ac_try" in
24705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24706 *) ac_try_echo=$ac_try;;
24708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24709 (eval "$ac_compile") 2>conftest.er1
24711 grep -v '^
*+' conftest.er1 >conftest.err
24713 cat conftest.err >&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } && {
24716 test -z "$ac_cxx_werror_flag" ||
24717 test ! -s conftest.err
24718 } && test -s conftest.$ac_objext; then
24719 ac_cv_type_std__ostream=yes
24721 echo "$as_me: failed program was:" >&5
24722 sed 's
/^
/| /' conftest.$ac_ext >&5
24724 ac_cv_type_std__ostream=no
24727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24729 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24730 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24731 if test $ac_cv_type_std__ostream = yes; then
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_STD__OSTREAM 1
24739 wxUSE_STD_IOSTREAM=no
24743 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24744 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24745 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24746 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24747 { (exit 1); exit 1; }; }
24749 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24750 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24755 if test "$wxUSE_STL" = "yes"; then
24756 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24757 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24758 if test "${wx_cv_lib_stl+set}" = set; then
24759 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 cat >conftest.$ac_ext <<_ACEOF
24764 cat confdefs.h >>conftest.$ac_ext
24765 cat >>conftest.$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24768 #include <functional>
24769 #include <algorithm>
24775 std::vector<int> moo;
24776 std::list<int> foo;
24777 std::vector<int>::iterator it =
24778 std::find_if(moo.begin(), moo.end(),
24779 std::bind2nd(std::less<int>(), 3));
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^
*+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24803 echo "$as_me: failed program was:" >&5
24804 sed 's
/^
/| /' conftest.$ac_ext >&5
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24814 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24816 if test "$wx_cv_lib_stl" != yes; then
24817 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24818 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24819 { (exit 1); exit 1; }; }
24822 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24823 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24824 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 cat >conftest.$ac_ext <<_ACEOF
24830 cat confdefs.h >>conftest.$ac_ext
24831 cat >>conftest.$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24837 std::string foo, bar;
24839 foo.compare(1, 1, bar);
24840 foo.compare(1, 1, bar, 1, 1);
24842 foo.compare(1, 1, "");
24843 foo.compare(1, 1, "", 2);
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24857 grep -v '^
*+' conftest.er1 >conftest.err
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_cxx_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 wx_cv_func_stdstring_compare=yes
24867 echo "$as_me: failed program was:" >&5
24868 sed 's
/^
/| /' conftest.$ac_ext >&5
24870 wx_cv_func_stdstring_compare=no
24874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24878 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24880 if test "$wx_cv_func_stdstring_compare" = yes; then
24881 cat >>confdefs.h <<\_ACEOF
24882 #define HAVE_STD_STRING_COMPARE 1
24887 if test "$wx_cv_class_gnuhashmapset" = yes; then
24888 cat >>confdefs.h <<\_ACEOF
24889 #define HAVE_EXT_HASH_MAP 1
24892 cat >>confdefs.h <<\_ACEOF
24893 #define HAVE_GNU_CXX_HASH_MAP 1
24898 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24899 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24900 if test "${ac_cv_header_unordered_map+set}" = set; then
24901 echo $ECHO_N "(cached) $ECHO_C" >&6
24903 cat >conftest.$ac_ext <<_ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24912 #include <unordered_map>
24914 rm -f conftest.$ac_objext
24915 if { (ac_try="$ac_compile"
24916 case "(($ac_try" in
24917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24918 *) ac_try_echo=$ac_try;;
24920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24921 (eval "$ac_compile") 2>conftest.er1
24923 grep -v '^
*+' conftest.er1 >conftest.err
24925 cat conftest.err >&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } && {
24928 test -z "$ac_cxx_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest.$ac_objext; then
24931 ac_cv_header_unordered_map=yes
24933 echo "$as_me: failed program was:" >&5
24934 sed 's
/^
/| /' conftest.$ac_ext >&5
24936 ac_cv_header_unordered_map=no
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24941 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24942 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24943 if test $ac_cv_header_unordered_map = yes; then
24944 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24945 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24946 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24949 cat >conftest.$ac_ext <<_ACEOF
24952 cat confdefs.h >>conftest.$ac_ext
24953 cat >>conftest.$ac_ext <<_ACEOF
24954 /* end confdefs.h. */
24955 #include <unordered_map>
24956 #include <unordered_set>
24960 std::unordered_map<double*, char*> test1;
24961 std::unordered_set<char*> test2;
24966 rm -f conftest.$ac_objext
24967 if { (ac_try="$ac_compile"
24968 case "(($ac_try" in
24969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24970 *) ac_try_echo=$ac_try;;
24972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24973 (eval "$ac_compile") 2>conftest.er1
24975 grep -v '^
*+' conftest.er1 >conftest.err
24977 cat conftest.err >&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); } && {
24980 test -z "$ac_cxx_werror_flag" ||
24981 test ! -s conftest.err
24982 } && test -s conftest.$ac_objext; then
24983 wx_cv_class_stdunorderedmapset=yes
24985 echo "$as_me: failed program was:" >&5
24986 sed 's
/^
/| /' conftest.$ac_ext >&5
24988 wx_cv_class_stdunorderedmapset=no
24991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24995 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24996 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25001 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25002 cat >>confdefs.h <<\_ACEOF
25003 #define HAVE_STD_UNORDERED_MAP 1
25006 cat >>confdefs.h <<\_ACEOF
25007 #define HAVE_STD_UNORDERED_SET 1
25011 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25012 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25013 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25016 cat >conftest.$ac_ext <<_ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25025 #include <tr1/unordered_map>
25027 rm -f conftest.$ac_objext
25028 if { (ac_try="$ac_compile"
25029 case "(($ac_try" in
25030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25031 *) ac_try_echo=$ac_try;;
25033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25034 (eval "$ac_compile") 2>conftest.er1
25036 grep -v '^
*+' conftest.er1 >conftest.err
25038 cat conftest.err >&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } && {
25041 test -z "$ac_cxx_werror_flag" ||
25042 test ! -s conftest.err
25043 } && test -s conftest.$ac_objext; then
25044 ac_cv_header_tr1_unordered_map=yes
25046 echo "$as_me: failed program was:" >&5
25047 sed 's
/^
/| /' conftest.$ac_ext >&5
25049 ac_cv_header_tr1_unordered_map=no
25052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25054 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25055 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25056 if test $ac_cv_header_tr1_unordered_map = yes; then
25057 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25058 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25059 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 cat >conftest.$ac_ext <<_ACEOF
25065 cat confdefs.h >>conftest.$ac_ext
25066 cat >>conftest.$ac_ext <<_ACEOF
25067 /* end confdefs.h. */
25068 #include <tr1/unordered_map>
25069 #include <tr1/unordered_set>
25073 std::tr1::unordered_map<double*, char*> test1;
25074 std::tr1::unordered_set<char*> test2;
25075 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25076 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25082 rm -f conftest.
$ac_objext
25083 if { (ac_try
="$ac_compile"
25084 case "(($ac_try" in
25085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_compile") 2>conftest.er1
25091 grep -v '^ *+' conftest.er1 >conftest.err
25093 cat conftest.err >&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } && {
25096 test -z "$ac_cxx_werror_flag" ||
25097 test ! -s conftest.err
25098 } && test -s conftest.$ac_objext; then
25099 wx_cv_class_tr1unorderedmapset=yes
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.$ac_ext >&5
25104 wx_cv_class_tr1unorderedmapset=no
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25111 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25112 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25117 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25118 cat >>confdefs.h <<\_ACEOF
25119 #define HAVE_TR1_UNORDERED_MAP 1
25122 cat >>confdefs.h <<\_ACEOF
25123 #define HAVE_TR1_UNORDERED_SET 1
25127 { echo "$as_me:$LINENO: checking for hash_map" >&5
25128 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25129 if test "${ac_cv_header_hash_map+set}" = set; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 cat >conftest.$ac_ext <<_ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25141 #include <hash_map>
25143 rm -f conftest.$ac_objext
25144 if { (ac_try="$ac_compile"
25145 case "(($ac_try" in
25146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25147 *) ac_try_echo
=$ac_try;;
25149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25150 (eval "$ac_compile") 2>conftest.er1
25152 grep -v '^ *+' conftest.er1
>conftest.err
25154 cat conftest.err
>&5
25155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156 (exit $ac_status); } && {
25157 test -z "$ac_cxx_werror_flag" ||
25158 test ! -s conftest.err
25159 } && test -s conftest.
$ac_objext; then
25160 ac_cv_header_hash_map
=yes
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.
$ac_ext >&5
25165 ac_cv_header_hash_map
=no
25168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25170 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25171 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25172 if test $ac_cv_header_hash_map = yes; then
25173 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25174 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25175 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25178 cat >conftest.
$ac_ext <<_ACEOF
25181 cat confdefs.h
>>conftest.
$ac_ext
25182 cat >>conftest.
$ac_ext <<_ACEOF
25183 /* end confdefs.h. */
25184 #include <hash_map>
25185 #include <hash_set>
25189 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25190 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25195 rm -f conftest.
$ac_objext
25196 if { (ac_try
="$ac_compile"
25197 case "(($ac_try" in
25198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25199 *) ac_try_echo=$ac_try;;
25201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202 (eval "$ac_compile") 2>conftest.er1
25204 grep -v '^ *+' conftest.er1 >conftest.err
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && {
25209 test -z "$ac_cxx_werror_flag" ||
25210 test ! -s conftest.err
25211 } && test -s conftest.$ac_objext; then
25212 wx_cv_class_stdhashmapset=yes
25214 echo "$as_me: failed program was:" >&5
25215 sed 's/^/| /' conftest.$ac_ext >&5
25217 wx_cv_class_stdhashmapset=no
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25225 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25230 if test "$wx_cv_class_stdhashmapset" = yes; then
25231 cat >>confdefs.h <<\_ACEOF
25232 #define HAVE_HASH_MAP 1
25235 cat >>confdefs.h <<\_ACEOF
25236 #define HAVE_STD_HASH_MAP 1
25241 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25242 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25243 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25244 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 cat >conftest.$ac_ext <<_ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25255 #include <ext/hash_map>
25257 rm -f conftest.$ac_objext
25258 if { (ac_try="$ac_compile"
25259 case "(($ac_try" in
25260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25261 *) ac_try_echo
=$ac_try;;
25263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25264 (eval "$ac_compile") 2>conftest.er1
25266 grep -v '^ *+' conftest.er1
>conftest.err
25268 cat conftest.err
>&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } && {
25271 test -z "$ac_cxx_werror_flag" ||
25272 test ! -s conftest.err
25273 } && test -s conftest.
$ac_objext; then
25274 ac_cv_header_ext_hash_map
=yes
25276 echo "$as_me: failed program was:" >&5
25277 sed 's/^/| /' conftest.
$ac_ext >&5
25279 ac_cv_header_ext_hash_map
=no
25282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25284 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25285 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25286 if test $ac_cv_header_ext_hash_map = yes; then
25287 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25288 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25289 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 cat >conftest.
$ac_ext <<_ACEOF
25295 cat confdefs.h
>>conftest.
$ac_ext
25296 cat >>conftest.
$ac_ext <<_ACEOF
25297 /* end confdefs.h. */
25298 #include <ext/hash_map>
25299 #include <ext/hash_set>
25303 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25304 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25309 rm -f conftest.
$ac_objext
25310 if { (ac_try
="$ac_compile"
25311 case "(($ac_try" in
25312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25313 *) ac_try_echo=$ac_try;;
25315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25316 (eval "$ac_compile") 2>conftest.er1
25318 grep -v '^ *+' conftest.er1 >conftest.err
25320 cat conftest.err >&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); } && {
25323 test -z "$ac_cxx_werror_flag" ||
25324 test ! -s conftest.err
25325 } && test -s conftest.$ac_objext; then
25326 wx_cv_class_gnuhashmapset=yes
25328 echo "$as_me: failed program was:" >&5
25329 sed 's/^/| /' conftest.$ac_ext >&5
25331 wx_cv_class_gnuhashmapset=no
25334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25339 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25350 if test -n "$GCC"; then
25351 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25352 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25353 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25354 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 cat >conftest.$ac_ext <<_ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25368 unsigned int value=0;
25369 /* wxAtomicInc doesn't use return value here */
25370 __sync_fetch_and_add(&value, 2);
25371 __sync_sub_and_fetch(&value, 1);
25372 /* but wxAtomicDec does, so mimic that: */
25373 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25379 rm -f conftest.$ac_objext conftest$ac_exeext
25380 if { (ac_try="$ac_link"
25381 case "(($ac_try" in
25382 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25383 *) ac_try_echo
=$ac_try;;
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_link") 2>conftest.er1
25388 grep -v '^ *+' conftest.er1
>conftest.err
25390 cat conftest.err
>&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_cxx_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest
$ac_exeext &&
25396 $as_test_x conftest
$ac_exeext; then
25397 wx_cv_cc_gcc_atomic_builtins
=yes
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.
$ac_ext >&5
25402 wx_cv_cc_gcc_atomic_builtins
=no
25405 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25406 conftest
$ac_exeext conftest.
$ac_ext
25410 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25411 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25412 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25413 cat >>confdefs.h
<<\_ACEOF
25414 #define HAVE_GCC_ATOMIC_BUILTINS 1
25422 ac_cpp
='$CPP $CPPFLAGS'
25423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25430 /usr/local/include \
25431 /usr/local/X11/include \
25432 /usr/local/include/X11 \
25433 /usr/local/X11R7/include \
25434 /usr/local/X11R6/include \
25435 /usr/local/include/X11R7 \
25436 /usr/local/include/X11R6 \
25438 /usr/Motif-2.1/include \
25439 /usr/Motif-1.2/include \
25440 /usr/include/Motif1.2 \
25443 /usr/openwin/include \
25447 /usr/X11R7/include \
25448 /usr/X11R6/include \
25449 /usr/X11R6.4/include \
25451 /usr/include/X11R7 \
25452 /usr/include/X11R6 \
25457 /usr/XFree86/include/X11 \
25460 /usr/local/X1R5/include \
25461 /usr/local/include/X11R5 \
25462 /usr/X11R5/include \
25463 /usr/include/X11R5 \
25465 /usr/local/X11R4/include \
25466 /usr/local/include/X11R4 \
25467 /usr/X11R4/include \
25468 /usr/include/X11R4 \
25470 /usr/openwin/share/include"
25472 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25473 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25477 if test "${wx_cv_std_libpath+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25482 for e
in a so sl dylib dll.a
; do
25484 if test -f $libc; then
25487 cat >conftest.
$ac_ext <<_ACEOF
25488 int main() { return 0; }
25490 rm -f conftest.
$ac_objext conftest
$ac_exeext
25491 if { (ac_try
="$ac_link"
25492 case "(($ac_try" in
25493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25494 *) ac_try_echo=$ac_try;;
25496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25497 (eval "$ac_link") 2>conftest.er1
25499 grep -v '^ *+' conftest.er1 >conftest.err
25501 cat conftest.err >&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } && {
25504 test -z "$ac_c_werror_flag" ||
25505 test ! -s conftest.err
25506 } && test -s conftest$ac_exeext &&
25507 $as_test_x conftest$ac_exeext; then
25508 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.$ac_ext >&5
25516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25517 conftest$ac_exeext conftest.$ac_ext
25519 if test "x$wx_cv_std_libpath" != "x"; then
25525 if test "x$wx_cv_std_libpath" = "x"; then
25526 wx_cv_std_libpath="lib"
25535 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25536 wx_cv_std_libpath="lib/64"
25538 wx_cv_std_libpath="lib"
25543 if test "$ac_cv_sizeof_void_p" = 8 -a \
25544 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25545 wx_cv_std_libpath="lib64"
25547 wx_cv_std_libpath="lib"
25552 wx_cv_std_libpath="lib";
25556 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25557 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25559 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25561 if test "$build" != "$host" -a "$GCC" = yes; then
25562 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25563 cross_root=`dirname $cross_root`
25564 cross_root=`dirname $cross_root`
25566 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25567 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25568 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25570 if test -z "$PKG_CONFIG_PATH"; then
25571 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25572 export PKG_CONFIG_PATH
25575 if test -z "$x_includes" -o "$x_includes" = NONE; then
25578 for ac_dir in $SEARCH_INCLUDE /usr/include;
25580 if test -f "$ac_dir/X11/Intrinsic.h"; then
25581 ac_find_includes=$ac_dir
25586 x_includes=$ac_find_includes
25588 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25591 for ac_dir in $SEARCH_LIB;
25593 for ac_extension in a so sl dylib dll.a; do
25594 if test -f "$ac_dir/libXt.$ac_extension"; then
25595 ac_find_libraries=$ac_dir
25601 x_libraries=$ac_find_libraries
25607 cat >confcache <<\_ACEOF
25608 # This file is a shell script that caches the results of configure
25609 # tests run on this system so they can be shared between configure
25610 # scripts and configure runs, see configure's option --config-cache.
25611 # It is not useful on other systems. If it contains results you don't
25612 # want to keep, you may remove or edit it.
25614 # config.status only pays attention to the cache file if you give it
25615 # the --recheck option to rerun configure.
25617 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25619 # following values.
25623 # The following way of writing the cache mishandles newlines in values,
25624 # but we know of no workaround that is simple, portable, and efficient.
25625 # So, we kill variables containing newlines.
25626 # Ultrix sh set writes to stderr and can't be redirected directly,
25627 # and sets the high bit in the cache file unless we assign to the vars.
25629 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25630 eval ac_val
=\$
$ac_var
25634 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25635 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25638 _
| IFS
| as_nl
) ;; #(
25639 *) $as_unset $ac_var ;;
25645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25646 *${as_nl}ac_space
=\
*)
25647 # `set' does not quote correctly, so add quotes (double-quote
25648 # substitution turns \\\\ into \\, and sed turns \\ into \).
25651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25654 # `set' quotes correctly as required by POSIX, so do not add quotes.
25655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25668 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25669 if test -w "$cache_file"; then
25670 test "x$cache_file" != "x/dev/null" &&
25671 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25672 echo "$as_me: updating cache $cache_file" >&6;}
25673 cat confcache
>$cache_file
25675 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25676 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25681 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25682 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25683 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25684 if test "${wx_cv_lib_glibc21+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25688 cat >conftest.
$ac_ext <<_ACEOF
25691 cat confdefs.h
>>conftest.
$ac_ext
25692 cat >>conftest.
$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694 #include <features.h>
25699 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25707 rm -f conftest.
$ac_objext
25708 if { (ac_try
="$ac_compile"
25709 case "(($ac_try" in
25710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25711 *) ac_try_echo=$ac_try;;
25713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25714 (eval "$ac_compile") 2>conftest.er1
25716 grep -v '^ *+' conftest.er1 >conftest.err
25718 cat conftest.err >&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } && {
25721 test -z "$ac_c_werror_flag" ||
25722 test ! -s conftest.err
25723 } && test -s conftest.$ac_objext; then
25725 wx_cv_lib_glibc21=yes
25728 echo "$as_me: failed program was:" >&5
25729 sed 's/^/| /' conftest.$ac_ext >&5
25732 wx_cv_lib_glibc21=no
25737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25740 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25741 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25742 if test "$wx_cv_lib_glibc21" = "yes"; then
25743 cat >>confdefs.h <<\_ACEOF
25744 #define wxHAVE_GLIBC2 1
25750 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25751 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25752 cat >>confdefs.h <<\_ACEOF
25753 #define _GNU_SOURCE 1
25764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25765 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25768 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 cat >conftest.$ac_ext <<_ACEOF
25773 cat confdefs.h >>conftest.$ac_ext
25774 cat >>conftest.$ac_ext <<_ACEOF
25775 /* end confdefs.h. */
25776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25778 #define $ac_func innocuous_$ac_func
25780 /* System header to define __stub macros and hopefully few prototypes,
25781 which can conflict with char $ac_func (); below.
25782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25783 <limits.h> exists even on freestanding compilers. */
25786 # include <limits.h>
25788 # include <assert.h>
25793 /* Override any GCC internal prototype to avoid an error.
25794 Use char because int might match the return type of a GCC
25795 builtin and then its argument prototype would still apply. */
25800 /* The GNU C library defines this for functions which it implements
25801 to always fail with ENOSYS. Some functions are actually named
25802 something starting with __ and the normal name is an alias. */
25803 #if defined __stub_$ac_func || defined __stub___$ac_func
25810 return $ac_func ();
25815 rm -f conftest.$ac_objext conftest$ac_exeext
25816 if { (ac_try="$ac_link"
25817 case "(($ac_try" in
25818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25819 *) ac_try_echo
=$ac_try;;
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_link") 2>conftest.er1
25824 grep -v '^ *+' conftest.er1
>conftest.err
25826 cat conftest.err
>&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } && {
25829 test -z "$ac_c_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest
$ac_exeext &&
25832 $as_test_x conftest
$ac_exeext; then
25833 eval "$as_ac_var=yes"
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.
$ac_ext >&5
25838 eval "$as_ac_var=no"
25841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25842 conftest
$ac_exeext conftest.
$ac_ext
25844 ac_res
=`eval echo '${'$as_ac_var'}'`
25845 { echo "$as_me:$LINENO: result: $ac_res" >&5
25846 echo "${ECHO_T}$ac_res" >&6; }
25847 if test `eval echo '${'$as_ac_var'}'` = yes; then
25848 cat >>confdefs.h
<<_ACEOF
25849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25856 for ac_func
in floor
25858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25861 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 cat >conftest.
$ac_ext <<_ACEOF
25867 cat confdefs.h
>>conftest.
$ac_ext
25868 cat >>conftest.
$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25872 #define $ac_func innocuous_$ac_func
25874 /* System header to define __stub macros and hopefully few prototypes,
25875 which can conflict with char $ac_func (); below.
25876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25877 <limits.h> exists even on freestanding compilers. */
25880 # include <limits.h>
25882 # include <assert.h>
25887 /* Override any GCC internal prototype to avoid an error.
25888 Use char because int might match the return type of a GCC
25889 builtin and then its argument prototype would still apply. */
25894 /* The GNU C library defines this for functions which it implements
25895 to always fail with ENOSYS. Some functions are actually named
25896 something starting with __ and the normal name is an alias. */
25897 #if defined __stub_$ac_func || defined __stub___$ac_func
25904 return $ac_func ();
25909 rm -f conftest.
$ac_objext conftest
$ac_exeext
25910 if { (ac_try
="$ac_link"
25911 case "(($ac_try" in
25912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25913 *) ac_try_echo=$ac_try;;
25915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25916 (eval "$ac_link") 2>conftest.er1
25918 grep -v '^ *+' conftest.er1 >conftest.err
25920 cat conftest.err >&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } && {
25923 test -z "$ac_c_werror_flag" ||
25924 test ! -s conftest.err
25925 } && test -s conftest$ac_exeext &&
25926 $as_test_x conftest$ac_exeext; then
25927 eval "$as_ac_var=yes"
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25932 eval "$as_ac_var=no"
25935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25936 conftest$ac_exeext conftest.$ac_ext
25938 ac_res=`eval echo '${'$as_ac_var'}'`
25939 { echo "$as_me:$LINENO: result: $ac_res" >&5
25940 echo "${ECHO_T}$ac_res" >&6; }
25941 if test `eval echo '${'$as_ac_var'}'` = yes; then
25942 cat >>confdefs.h <<_ACEOF
25943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25949 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25950 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25951 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25952 { echo "$as_me:$LINENO: result: yes" >&5
25953 echo "${ECHO_T}yes" >&6; }
25955 { echo "$as_me:$LINENO: result: no" >&5
25956 echo "${ECHO_T}no" >&6; }
25958 # use different functions to avoid configure caching
25964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25965 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25967 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25970 cat >conftest.$ac_ext <<_ACEOF
25973 cat confdefs.h >>conftest.$ac_ext
25974 cat >>conftest.$ac_ext <<_ACEOF
25975 /* end confdefs.h. */
25976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25978 #define $ac_func innocuous_$ac_func
25980 /* System header to define __stub macros and hopefully few prototypes,
25981 which can conflict with char $ac_func (); below.
25982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25983 <limits.h> exists even on freestanding compilers. */
25986 # include <limits.h>
25988 # include <assert.h>
25993 /* Override any GCC internal prototype to avoid an error.
25994 Use char because int might match the return type of a GCC
25995 builtin and then its argument prototype would still apply. */
26000 /* The GNU C library defines this for functions which it implements
26001 to always fail with ENOSYS. Some functions are actually named
26002 something starting with __ and the normal name is an alias. */
26003 #if defined __stub_$ac_func || defined __stub___$ac_func
26010 return $ac_func ();
26015 rm -f conftest.$ac_objext conftest$ac_exeext
26016 if { (ac_try="$ac_link"
26017 case "(($ac_try" in
26018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26019 *) ac_try_echo
=$ac_try;;
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_link") 2>conftest.er1
26024 grep -v '^ *+' conftest.er1
>conftest.err
26026 cat conftest.err
>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_c_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest
$ac_exeext &&
26032 $as_test_x conftest
$ac_exeext; then
26033 eval "$as_ac_var=yes"
26035 echo "$as_me: failed program was:" >&5
26036 sed 's/^/| /' conftest.
$ac_ext >&5
26038 eval "$as_ac_var=no"
26041 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26042 conftest
$ac_exeext conftest.
$ac_ext
26044 ac_res
=`eval echo '${'$as_ac_var'}'`
26045 { echo "$as_me:$LINENO: result: $ac_res" >&5
26046 echo "${ECHO_T}$ac_res" >&6; }
26047 if test `eval echo '${'$as_ac_var'}'` = yes; then
26048 cat >>confdefs.h
<<_ACEOF
26049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26056 for ac_func
in ceil
26058 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26061 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 cat >conftest.
$ac_ext <<_ACEOF
26067 cat confdefs.h
>>conftest.
$ac_ext
26068 cat >>conftest.
$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26072 #define $ac_func innocuous_$ac_func
26074 /* System header to define __stub macros and hopefully few prototypes,
26075 which can conflict with char $ac_func (); below.
26076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26077 <limits.h> exists even on freestanding compilers. */
26080 # include <limits.h>
26082 # include <assert.h>
26087 /* Override any GCC internal prototype to avoid an error.
26088 Use char because int might match the return type of a GCC
26089 builtin and then its argument prototype would still apply. */
26094 /* The GNU C library defines this for functions which it implements
26095 to always fail with ENOSYS. Some functions are actually named
26096 something starting with __ and the normal name is an alias. */
26097 #if defined __stub_$ac_func || defined __stub___$ac_func
26104 return $ac_func ();
26109 rm -f conftest.
$ac_objext conftest
$ac_exeext
26110 if { (ac_try
="$ac_link"
26111 case "(($ac_try" in
26112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26113 *) ac_try_echo=$ac_try;;
26115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26116 (eval "$ac_link") 2>conftest.er1
26118 grep -v '^ *+' conftest.er1 >conftest.err
26120 cat conftest.err >&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } && {
26123 test -z "$ac_c_werror_flag" ||
26124 test ! -s conftest.err
26125 } && test -s conftest$ac_exeext &&
26126 $as_test_x conftest$ac_exeext; then
26127 eval "$as_ac_var=yes"
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.$ac_ext >&5
26132 eval "$as_ac_var=no"
26135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26136 conftest$ac_exeext conftest.$ac_ext
26138 ac_res=`eval echo '${'$as_ac_var'}'`
26139 { echo "$as_me:$LINENO: result: $ac_res" >&5
26140 echo "${ECHO_T}$ac_res" >&6; }
26141 if test `eval echo '${'$as_ac_var'}'` = yes; then
26142 cat >>confdefs.h <<_ACEOF
26143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26149 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26150 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26151 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26152 { echo "$as_me:$LINENO: result: yes" >&5
26153 echo "${ECHO_T}yes" >&6; }
26155 { echo "$as_me:$LINENO: result: no" >&5
26156 echo "${ECHO_T}no" >&6; }
26157 # not sure we should warn the user, crash, etc.
26162 ac_cpp='$CXXCPP $CPPFLAGS'
26163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26167 if test "wxUSE_UNICODE" = "yes"; then
26169 for wx_func in wcstoull
26171 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26172 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26173 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26174 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 cat >conftest.$ac_ext <<_ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26186 $ac_includes_default
26202 rm -f conftest.$ac_objext conftest$ac_exeext
26203 if { (ac_try="$ac_link"
26204 case "(($ac_try" in
26205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26206 *) ac_try_echo
=$ac_try;;
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_link") 2>conftest.er1
26211 grep -v '^ *+' conftest.er1
>conftest.err
26213 cat conftest.err
>&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_cxx_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest
$ac_exeext &&
26219 $as_test_x conftest
$ac_exeext; then
26220 eval wx_cv_func_
$wx_func=yes
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.
$ac_ext >&5
26225 eval wx_cv_func_
$wx_func=no
26228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26229 conftest
$ac_exeext conftest.
$ac_ext
26232 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26233 { echo "$as_me:$LINENO: result: $ac_res" >&5
26234 echo "${ECHO_T}$ac_res" >&6; }
26236 if eval test \
$wx_cv_func_$wx_func = yes
26238 cat >>confdefs.h
<<_ACEOF
26239 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26251 for wx_func
in strtoull
26253 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26254 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26255 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26259 cat >conftest.
$ac_ext <<_ACEOF
26263 cat confdefs.h
>>conftest.
$ac_ext
26264 cat >>conftest.
$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26268 $ac_includes_default
26284 rm -f conftest.
$ac_objext conftest
$ac_exeext
26285 if { (ac_try
="$ac_link"
26286 case "(($ac_try" in
26287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26288 *) ac_try_echo=$ac_try;;
26290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26291 (eval "$ac_link") 2>conftest.er1
26293 grep -v '^ *+' conftest.er1 >conftest.err
26295 cat conftest.err >&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } && {
26298 test -z "$ac_cxx_werror_flag" ||
26299 test ! -s conftest.err
26300 } && test -s conftest$ac_exeext &&
26301 $as_test_x conftest$ac_exeext; then
26302 eval wx_cv_func_$wx_func=yes
26304 echo "$as_me: failed program was:" >&5
26305 sed 's/^/| /' conftest.$ac_ext >&5
26307 eval wx_cv_func_$wx_func=no
26310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26311 conftest$ac_exeext conftest.$ac_ext
26314 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26315 { echo "$as_me:$LINENO: result: $ac_res" >&5
26316 echo "${ECHO_T}$ac_res" >&6; }
26318 if eval test \$wx_cv_func_$wx_func = yes
26320 cat >>confdefs.h <<_ACEOF
26321 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26333 ac_cpp='$CPP $CPPFLAGS'
26334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26341 if test "$wxUSE_REGEX" != "no"; then
26342 cat >>confdefs.h <<\_ACEOF
26343 #define wxUSE_REGEX 1
26347 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26348 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26349 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26350 wxUSE_REGEX=builtin
26353 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26354 { echo "$as_me:$LINENO: checking for regex.h" >&5
26355 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26356 if test "${ac_cv_header_regex_h+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 cat >conftest.$ac_ext <<_ACEOF
26362 cat confdefs.h >>conftest.$ac_ext
26363 cat >>conftest.$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26369 rm -f conftest.$ac_objext
26370 if { (ac_try="$ac_compile"
26371 case "(($ac_try" in
26372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26373 *) ac_try_echo
=$ac_try;;
26375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26376 (eval "$ac_compile") 2>conftest.er1
26378 grep -v '^ *+' conftest.er1
>conftest.err
26380 cat conftest.err
>&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); } && {
26383 test -z "$ac_c_werror_flag" ||
26384 test ! -s conftest.err
26385 } && test -s conftest.
$ac_objext; then
26386 ac_cv_header_regex_h
=yes
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.
$ac_ext >&5
26391 ac_cv_header_regex_h
=no
26394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26396 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26397 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26398 if test $ac_cv_header_regex_h = yes; then
26401 for ac_func
in regcomp re_search
26403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26404 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26406 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26409 cat >conftest.
$ac_ext <<_ACEOF
26412 cat confdefs.h
>>conftest.
$ac_ext
26413 cat >>conftest.
$ac_ext <<_ACEOF
26414 /* end confdefs.h. */
26415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26417 #define $ac_func innocuous_$ac_func
26419 /* System header to define __stub macros and hopefully few prototypes,
26420 which can conflict with char $ac_func (); below.
26421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26422 <limits.h> exists even on freestanding compilers. */
26425 # include <limits.h>
26427 # include <assert.h>
26432 /* Override any GCC internal prototype to avoid an error.
26433 Use char because int might match the return type of a GCC
26434 builtin and then its argument prototype would still apply. */
26439 /* The GNU C library defines this for functions which it implements
26440 to always fail with ENOSYS. Some functions are actually named
26441 something starting with __ and the normal name is an alias. */
26442 #if defined __stub_$ac_func || defined __stub___$ac_func
26449 return $ac_func ();
26454 rm -f conftest.
$ac_objext conftest
$ac_exeext
26455 if { (ac_try
="$ac_link"
26456 case "(($ac_try" in
26457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26458 *) ac_try_echo=$ac_try;;
26460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26461 (eval "$ac_link") 2>conftest.er1
26463 grep -v '^ *+' conftest.er1 >conftest.err
26465 cat conftest.err >&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); } && {
26468 test -z "$ac_c_werror_flag" ||
26469 test ! -s conftest.err
26470 } && test -s conftest$ac_exeext &&
26471 $as_test_x conftest$ac_exeext; then
26472 eval "$as_ac_var=yes"
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26477 eval "$as_ac_var=no"
26480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26481 conftest$ac_exeext conftest.$ac_ext
26483 ac_res=`eval echo '${'$as_ac_var'}'`
26484 { echo "$as_me:$LINENO: result: $ac_res" >&5
26485 echo "${ECHO_T}$ac_res" >&6; }
26486 if test `eval echo '${'$as_ac_var'}'` = yes; then
26487 cat >>confdefs.h <<_ACEOF
26488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26498 if test "x$ac_cv_func_regcomp" != "xyes"; then
26499 if test "$wxUSE_REGEX" = "sys" ; then
26500 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26501 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26502 { (exit 1); exit 1; }; }
26504 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26505 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26506 wxUSE_REGEX=builtin
26510 cat >>confdefs.h <<\_ACEOF
26511 #define WX_NO_REGEX_ADVANCED 1
26520 if test "$wxUSE_ZLIB" != "no" ; then
26521 cat >>confdefs.h <<\_ACEOF
26522 #define wxUSE_ZLIB 1
26526 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26527 if test "$USE_DARWIN" = 1; then
26528 system_zlib_h_ok="yes"
26530 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26531 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26532 if test "${ac_cv_header_zlib_h+set}" = set; then
26533 echo $ECHO_N "(cached) $ECHO_C" >&6
26535 if test "$cross_compiling" = yes; then
26536 unset ac_cv_header_zlib_h
26539 cat >conftest.$ac_ext <<_ACEOF
26542 cat confdefs.h >>conftest.$ac_ext
26543 cat >>conftest.$ac_ext <<_ACEOF
26544 /* end confdefs.h. */
26551 FILE *f=fopen("conftestval", "w");
26554 ZLIB_VERSION[0] == '1' &&
26555 (ZLIB_VERSION[2] > '1' ||
26556 (ZLIB_VERSION[2] == '1' &&
26557 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26562 rm -f conftest$ac_exeext
26563 if { (ac_try="$ac_link"
26564 case "(($ac_try" in
26565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26566 *) ac_try_echo
=$ac_try;;
26568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26569 (eval "$ac_link") 2>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26573 { (case "(($ac_try" in
26574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26575 *) ac_try_echo=$ac_try;;
26577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26578 (eval "$ac_try") 2>&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); }; }; then
26582 ac_cv_header_zlib_h=`cat conftestval
`
26584 echo "$as_me: program exited with status $ac_status" >&5
26585 echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.$ac_ext >&5
26588 ( exit $ac_status )
26589 ac_cv_header_zlib_h=no
26591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26597 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26598 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26599 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26600 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26601 if test "${ac_cv_header_zlib_h+set}" = set; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 cat >conftest.$ac_ext <<_ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26614 rm -f conftest.$ac_objext
26615 if { (ac_try="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26618 *) ac_try_echo
=$ac_try;;
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26623 grep -v '^ *+' conftest.er1
>conftest.err
26625 cat conftest.err
>&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.
$ac_objext; then
26631 ac_cv_header_zlib_h
=yes
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.
$ac_ext >&5
26636 ac_cv_header_zlib_h
=no
26639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26641 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26642 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26646 system_zlib_h_ok
=$ac_cv_header_zlib_h
26649 if test "$system_zlib_h_ok" = "yes"; then
26650 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26651 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26652 if test "${ac_cv_lib_z_deflate+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 ac_check_lib_save_LIBS
=$LIBS
26657 cat >conftest.
$ac_ext <<_ACEOF
26660 cat confdefs.h
>>conftest.
$ac_ext
26661 cat >>conftest.
$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26664 /* Override any GCC internal prototype to avoid an error.
26665 Use char because int might match the return type of a GCC
26666 builtin and then its argument prototype would still apply. */
26679 rm -f conftest.
$ac_objext conftest
$ac_exeext
26680 if { (ac_try
="$ac_link"
26681 case "(($ac_try" in
26682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26683 *) ac_try_echo=$ac_try;;
26685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26686 (eval "$ac_link") 2>conftest.er1
26688 grep -v '^ *+' conftest.er1 >conftest.err
26690 cat conftest.err >&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } && {
26693 test -z "$ac_c_werror_flag" ||
26694 test ! -s conftest.err
26695 } && test -s conftest$ac_exeext &&
26696 $as_test_x conftest$ac_exeext; then
26697 ac_cv_lib_z_deflate=yes
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.$ac_ext >&5
26702 ac_cv_lib_z_deflate=no
26705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26706 conftest$ac_exeext conftest.$ac_ext
26707 LIBS=$ac_check_lib_save_LIBS
26709 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26710 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26711 if test $ac_cv_lib_z_deflate = yes; then
26717 if test "x$ZLIB_LINK" = "x" ; then
26718 if test "$wxUSE_ZLIB" = "sys" ; then
26719 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26720 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26721 { (exit 1); exit 1; }; }
26723 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26724 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26735 if test "$wxUSE_LIBPNG" != "no" ; then
26736 cat >>confdefs.h <<\_ACEOF
26737 #define wxUSE_LIBPNG 1
26741 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26742 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26743 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26747 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26748 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26749 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26750 wxUSE_LIBPNG=builtin
26753 if test "$wxUSE_MGL" != 1 ; then
26754 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26755 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26756 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26757 if test "${ac_cv_header_png_h+set}" = set; then
26758 echo $ECHO_N "(cached) $ECHO_C" >&6
26760 if test "$cross_compiling" = yes; then
26761 unset ac_cv_header_png_h
26764 cat >conftest.$ac_ext <<_ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26776 FILE *f=fopen("conftestval", "w");
26779 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26784 rm -f conftest$ac_exeext
26785 if { (ac_try="$ac_link"
26786 case "(($ac_try" in
26787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26788 *) ac_try_echo
=$ac_try;;
26790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26791 (eval "$ac_link") 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26795 { (case "(($ac_try" in
26796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26797 *) ac_try_echo=$ac_try;;
26799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26800 (eval "$ac_try") 2>&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); }; }; then
26804 ac_cv_header_png_h=`cat conftestval
`
26806 echo "$as_me: program exited with status $ac_status" >&5
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26810 ( exit $ac_status )
26811 ac_cv_header_png_h=no
26813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26819 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26820 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26821 { echo "$as_me:$LINENO: checking for png.h" >&5
26822 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26823 if test "${ac_cv_header_png_h+set}" = set; then
26824 echo $ECHO_N "(cached) $ECHO_C" >&6
26826 cat >conftest.$ac_ext <<_ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26836 rm -f conftest.$ac_objext
26837 if { (ac_try="$ac_compile"
26838 case "(($ac_try" in
26839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26840 *) ac_try_echo
=$ac_try;;
26842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26843 (eval "$ac_compile") 2>conftest.er1
26845 grep -v '^ *+' conftest.er1
>conftest.err
26847 cat conftest.err
>&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); } && {
26850 test -z "$ac_c_werror_flag" ||
26851 test ! -s conftest.err
26852 } && test -s conftest.
$ac_objext; then
26853 ac_cv_header_png_h
=yes
26855 echo "$as_me: failed program was:" >&5
26856 sed 's/^/| /' conftest.
$ac_ext >&5
26858 ac_cv_header_png_h
=no
26861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26863 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26864 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26868 if test "$ac_cv_header_png_h" = "yes"; then
26869 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26870 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26871 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 ac_check_lib_save_LIBS
=$LIBS
26875 LIBS
="-lpng -lz -lm $LIBS"
26876 cat >conftest.
$ac_ext <<_ACEOF
26879 cat confdefs.h
>>conftest.
$ac_ext
26880 cat >>conftest.
$ac_ext <<_ACEOF
26881 /* end confdefs.h. */
26883 /* Override any GCC internal prototype to avoid an error.
26884 Use char because int might match the return type of a GCC
26885 builtin and then its argument prototype would still apply. */
26889 char png_check_sig ();
26893 return png_check_sig ();
26898 rm -f conftest.
$ac_objext conftest
$ac_exeext
26899 if { (ac_try
="$ac_link"
26900 case "(($ac_try" in
26901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26902 *) ac_try_echo=$ac_try;;
26904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26905 (eval "$ac_link") 2>conftest.er1
26907 grep -v '^ *+' conftest.er1 >conftest.err
26909 cat conftest.err >&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } && {
26912 test -z "$ac_c_werror_flag" ||
26913 test ! -s conftest.err
26914 } && test -s conftest$ac_exeext &&
26915 $as_test_x conftest$ac_exeext; then
26916 ac_cv_lib_png_png_check_sig=yes
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26921 ac_cv_lib_png_png_check_sig=no
26924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26925 conftest$ac_exeext conftest.$ac_ext
26926 LIBS=$ac_check_lib_save_LIBS
26928 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26929 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26930 if test $ac_cv_lib_png_png_check_sig = yes; then
26931 PNG_LINK=" -lpng -lz"
26936 if test "x$PNG_LINK" = "x" ; then
26937 if test "$wxUSE_LIBPNG" = "sys" ; then
26938 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26939 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26940 { (exit 1); exit 1; }; }
26942 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26943 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26944 wxUSE_LIBPNG=builtin
26955 if test "$wxUSE_LIBJPEG" != "no" ; then
26956 cat >>confdefs.h <<\_ACEOF
26957 #define wxUSE_LIBJPEG 1
26961 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26962 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26963 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26967 if test "$wxUSE_MGL" != 1 ; then
26968 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26969 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26970 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26971 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 cat >conftest.$ac_ext <<_ACEOF
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26981 #undef HAVE_STDLIB_H
26983 #include <jpeglib.h>
26994 rm -f conftest.$ac_objext
26995 if { (ac_try="$ac_compile"
26996 case "(($ac_try" in
26997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26998 *) ac_try_echo
=$ac_try;;
27000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 (eval "$ac_compile") 2>conftest.er1
27003 grep -v '^ *+' conftest.er1
>conftest.err
27005 cat conftest.err
>&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } && {
27008 test -z "$ac_c_werror_flag" ||
27009 test ! -s conftest.err
27010 } && test -s conftest.
$ac_objext; then
27011 ac_cv_header_jpeglib_h
=yes
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.
$ac_ext >&5
27016 ac_cv_header_jpeglib_h
=no
27020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27024 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27025 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27027 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27028 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27029 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27030 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27033 ac_check_lib_save_LIBS
=$LIBS
27034 LIBS
="-ljpeg $LIBS"
27035 cat >conftest.
$ac_ext <<_ACEOF
27038 cat confdefs.h
>>conftest.
$ac_ext
27039 cat >>conftest.
$ac_ext <<_ACEOF
27040 /* end confdefs.h. */
27042 /* Override any GCC internal prototype to avoid an error.
27043 Use char because int might match the return type of a GCC
27044 builtin and then its argument prototype would still apply. */
27048 char jpeg_read_header ();
27052 return jpeg_read_header ();
27057 rm -f conftest.
$ac_objext conftest
$ac_exeext
27058 if { (ac_try
="$ac_link"
27059 case "(($ac_try" in
27060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27061 *) ac_try_echo=$ac_try;;
27063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27064 (eval "$ac_link") 2>conftest.er1
27066 grep -v '^ *+' conftest.er1 >conftest.err
27068 cat conftest.err >&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } && {
27071 test -z "$ac_c_werror_flag" ||
27072 test ! -s conftest.err
27073 } && test -s conftest$ac_exeext &&
27074 $as_test_x conftest$ac_exeext; then
27075 ac_cv_lib_jpeg_jpeg_read_header=yes
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.$ac_ext >&5
27080 ac_cv_lib_jpeg_jpeg_read_header=no
27083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27084 conftest$ac_exeext conftest.$ac_ext
27085 LIBS=$ac_check_lib_save_LIBS
27087 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27088 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27089 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27090 JPEG_LINK=" -ljpeg"
27095 if test "x$JPEG_LINK" = "x" ; then
27096 if test "$wxUSE_LIBJPEG" = "sys" ; then
27097 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27098 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27099 { (exit 1); exit 1; }; }
27101 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27102 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27103 wxUSE_LIBJPEG=builtin
27108 if test "$wxUSE_MSW" = 1; then
27109 { echo "$as_me:$LINENO: checking for boolean" >&5
27110 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27111 if test "${ac_cv_type_boolean+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 cat >conftest.$ac_ext <<_ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120 #include <windows.h>
27122 typedef boolean ac__type_new_;
27126 if ((ac__type_new_ *) 0)
27128 if (sizeof (ac__type_new_))
27134 rm -f conftest.$ac_objext
27135 if { (ac_try="$ac_compile"
27136 case "(($ac_try" in
27137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27138 *) ac_try_echo
=$ac_try;;
27140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27141 (eval "$ac_compile") 2>conftest.er1
27143 grep -v '^ *+' conftest.er1
>conftest.err
27145 cat conftest.err
>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } && {
27148 test -z "$ac_c_werror_flag" ||
27149 test ! -s conftest.err
27150 } && test -s conftest.
$ac_objext; then
27151 ac_cv_type_boolean
=yes
27153 echo "$as_me: failed program was:" >&5
27154 sed 's/^/| /' conftest.
$ac_ext >&5
27156 ac_cv_type_boolean
=no
27159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27161 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27162 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27163 if test $ac_cv_type_boolean = yes; then
27165 cat >>confdefs.h
<<_ACEOF
27166 #define HAVE_BOOLEAN 1
27170 { echo "$as_me:$LINENO: checking for boolean" >&5
27171 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27172 if test "${ac_cv_type_boolean+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27175 cat >conftest.
$ac_ext <<_ACEOF
27178 cat confdefs.h
>>conftest.
$ac_ext
27179 cat >>conftest.
$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27182 #undef HAVE_BOOLEAN
27184 #include <jpeglib.h>
27187 typedef boolean ac__type_new_;
27191 if ((ac__type_new_ *) 0)
27193 if (sizeof (ac__type_new_))
27199 rm -f conftest.
$ac_objext
27200 if { (ac_try
="$ac_compile"
27201 case "(($ac_try" in
27202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27203 *) ac_try_echo=$ac_try;;
27205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206 (eval "$ac_compile") 2>conftest.er1
27208 grep -v '^ *+' conftest.er1 >conftest.err
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } && {
27213 test -z "$ac_c_werror_flag" ||
27214 test ! -s conftest.err
27215 } && test -s conftest.$ac_objext; then
27216 ac_cv_type_boolean=yes
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.$ac_ext >&5
27221 ac_cv_type_boolean=no
27224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27226 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27227 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27229 # The cast to long int works around a bug in the HP C Compiler
27230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27231 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27232 # This bug is HP SR number 8606223364.
27233 { echo "$as_me:$LINENO: checking size of boolean" >&5
27234 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27235 if test "${ac_cv_sizeof_boolean+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27238 if test "$cross_compiling" = yes; then
27239 # Depending upon the size, compute the lo and hi bounds.
27240 cat >conftest.$ac_ext <<_ACEOF
27243 cat confdefs.h >>conftest.$ac_ext
27244 cat >>conftest.$ac_ext <<_ACEOF
27245 /* end confdefs.h. */
27247 #undef HAVE_BOOLEAN
27249 #include <jpeglib.h>
27252 typedef boolean ac__type_sizeof_;
27256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27263 rm -f conftest.$ac_objext
27264 if { (ac_try="$ac_compile"
27265 case "(($ac_try" in
27266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27267 *) ac_try_echo=$ac_try;;
27269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270 (eval "$ac_compile") 2>conftest.er1
27272 grep -v '^
*+' conftest.er1 >conftest.err
27274 cat conftest.err >&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } && {
27277 test -z "$ac_c_werror_flag" ||
27278 test ! -s conftest.err
27279 } && test -s conftest.$ac_objext; then
27282 cat >conftest.$ac_ext <<_ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27289 #undef HAVE_BOOLEAN
27291 #include <jpeglib.h>
27294 typedef boolean ac__type_sizeof_;
27298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27305 rm -f conftest.$ac_objext
27306 if { (ac_try="$ac_compile"
27307 case "(($ac_try" in
27308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27309 *) ac_try_echo=$ac_try;;
27311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27312 (eval "$ac_compile") 2>conftest.er1
27314 grep -v '^
*+' conftest.er1 >conftest.err
27316 cat conftest.err >&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } && {
27319 test -z "$ac_c_werror_flag" ||
27320 test ! -s conftest.err
27321 } && test -s conftest.$ac_objext; then
27322 ac_hi=$ac_mid; break
27324 echo "$as_me: failed program was:" >&5
27325 sed 's
/^
/| /' conftest.$ac_ext >&5
27327 ac_lo=`expr $ac_mid + 1`
27328 if test $ac_lo -le $ac_mid; then
27332 ac_mid=`expr 2 '*' $ac_mid + 1`
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338 echo "$as_me: failed program was:" >&5
27339 sed 's
/^
/| /' conftest.$ac_ext >&5
27341 cat >conftest.$ac_ext <<_ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27348 #undef HAVE_BOOLEAN
27350 #include <jpeglib.h>
27353 typedef boolean ac__type_sizeof_;
27357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27373 grep -v '^
*+' conftest.er1 >conftest.err
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_c_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27383 cat >conftest.$ac_ext <<_ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27390 #undef HAVE_BOOLEAN
27392 #include <jpeglib.h>
27395 typedef boolean ac__type_sizeof_;
27399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27406 rm -f conftest.$ac_objext
27407 if { (ac_try="$ac_compile"
27408 case "(($ac_try" in
27409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27410 *) ac_try_echo=$ac_try;;
27412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27413 (eval "$ac_compile") 2>conftest.er1
27415 grep -v '^
*+' conftest.er1 >conftest.err
27417 cat conftest.err >&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } && {
27420 test -z "$ac_c_werror_flag" ||
27421 test ! -s conftest.err
27422 } && test -s conftest.$ac_objext; then
27423 ac_lo=$ac_mid; break
27425 echo "$as_me: failed program was:" >&5
27426 sed 's
/^
/| /' conftest.$ac_ext >&5
27428 ac_hi=`expr '(' $ac_mid ')' - 1`
27429 if test $ac_mid -le $ac_hi; then
27433 ac_mid=`expr 2 '*' $ac_mid`
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27439 echo "$as_me: failed program was:" >&5
27440 sed 's
/^
/| /' conftest.$ac_ext >&5
27445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27449 # Binary search between lo and hi bounds.
27450 while test "x$ac_lo" != "x$ac_hi"; do
27451 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27452 cat >conftest.$ac_ext <<_ACEOF
27455 cat confdefs.h >>conftest.$ac_ext
27456 cat >>conftest.$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27459 #undef HAVE_BOOLEAN
27461 #include <jpeglib.h>
27464 typedef boolean ac__type_sizeof_;
27468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27475 rm -f conftest.$ac_objext
27476 if { (ac_try="$ac_compile"
27477 case "(($ac_try" in
27478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27479 *) ac_try_echo=$ac_try;;
27481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27482 (eval "$ac_compile") 2>conftest.er1
27484 grep -v '^
*+' conftest.er1 >conftest.err
27486 cat conftest.err >&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); } && {
27489 test -z "$ac_c_werror_flag" ||
27490 test ! -s conftest.err
27491 } && test -s conftest.$ac_objext; then
27494 echo "$as_me: failed program was:" >&5
27495 sed 's
/^
/| /' conftest.$ac_ext >&5
27497 ac_lo=`expr '(' $ac_mid ')' + 1`
27500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27503 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27504 '') if test "$ac_cv_type_boolean" = yes; then
27505 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27506 See \`config.log' for more details.
" >&5
27507 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27508 See \
`config.log' for more details." >&2;}
27509 { (exit 77); exit 77; }; }
27511 ac_cv_sizeof_boolean=0
27515 cat >conftest.$ac_ext <<_ACEOF
27518 cat confdefs.h >>conftest.$ac_ext
27519 cat >>conftest.$ac_ext <<_ACEOF
27520 /* end confdefs.h. */
27522 #undef HAVE_BOOLEAN
27524 #include <jpeglib.h>
27527 typedef boolean ac__type_sizeof_;
27528 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27529 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27531 #include <stdlib.h>
27536 FILE *f = fopen ("conftest.val", "w");
27539 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27541 long int i = longval ();
27542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27544 fprintf (f, "%ld\n", i);
27548 unsigned long int i = ulongval ();
27549 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27551 fprintf (f, "%lu\n", i);
27553 return ferror (f) || fclose (f) != 0;
27559 rm -f conftest$ac_exeext
27560 if { (ac_try="$ac_link"
27561 case "(($ac_try" in
27562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27563 *) ac_try_echo
=$ac_try;;
27565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27566 (eval "$ac_link") 2>&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27570 { (case "(($ac_try" in
27571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27572 *) ac_try_echo=$ac_try;;
27574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27575 (eval "$ac_try") 2>&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); }; }; then
27579 ac_cv_sizeof_boolean=`cat conftest.val
`
27581 echo "$as_me: program exited with status $ac_status" >&5
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.$ac_ext >&5
27585 ( exit $ac_status )
27586 if test "$ac_cv_type_boolean" = yes; then
27587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27588 See \`config.log
' for more details." >&5
27589 echo "$as_me: error: cannot compute sizeof (boolean)
27590 See \`config.log' for more details.
" >&2;}
27591 { (exit 77); exit 77; }; }
27593 ac_cv_sizeof_boolean=0
27596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27600 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27601 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27605 cat >>confdefs.h <<_ACEOF
27606 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27610 cat >>confdefs.h <<_ACEOF
27611 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27625 TIFF_PREREQ_LINKS=-lm
27626 if test "$wxUSE_LIBTIFF" != "no
" ; then
27627 cat >>confdefs.h <<\_ACEOF
27628 #define wxUSE_LIBTIFF 1
27632 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27633 if test "$wxUSE_LIBJPEG" = "sys
"; then
27634 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27636 if test "$wxUSE_ZLIB" = "sys
"; then
27637 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27639 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27640 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27641 if test "${ac_cv_header_tiffio_h+set}" = set; then
27642 echo $ECHO_N "(cached
) $ECHO_C" >&6
27644 cat >conftest.$ac_ext <<_ACEOF
27647 cat confdefs.h >>conftest.$ac_ext
27648 cat >>conftest.$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27653 #include <tiffio.h>
27655 rm -f conftest.$ac_objext
27656 if { (ac_try="$ac_compile"
27657 case "(($ac_try" in
27658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27659 *) ac_try_echo=$ac_try;;
27661 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27662 (eval "$ac_compile") 2>conftest.er1
27664 grep -v '^ *+' conftest.er1 >conftest.err
27666 cat conftest.err >&5
27667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27668 (exit $ac_status); } && {
27669 test -z "$ac_c_werror_flag" ||
27670 test ! -s conftest.err
27671 } && test -s conftest.$ac_objext; then
27672 ac_cv_header_tiffio_h=yes
27674 echo "$as_me: failed program was
:" >&5
27675 sed 's/^/| /' conftest.$ac_ext >&5
27677 ac_cv_header_tiffio_h=no
27680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27682 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27683 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27684 if test $ac_cv_header_tiffio_h = yes; then
27686 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27687 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27688 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27689 echo $ECHO_N "(cached
) $ECHO_C" >&6
27691 ac_check_lib_save_LIBS=$LIBS
27692 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27693 cat >conftest.$ac_ext <<_ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27700 /* Override any GCC internal prototype to avoid an error.
27701 Use char because int might match the return type of a GCC
27702 builtin and then its argument prototype would still apply. */
27710 return TIFFError ();
27715 rm -f conftest.$ac_objext conftest$ac_exeext
27716 if { (ac_try="$ac_link"
27717 case "(($ac_try" in
27718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27719 *) ac_try_echo=$ac_try;;
27721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27722 (eval "$ac_link") 2>conftest.er1
27724 grep -v '^ *+' conftest.er1 >conftest.err
27726 cat conftest.err >&5
27727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27728 (exit $ac_status); } && {
27729 test -z "$ac_c_werror_flag" ||
27730 test ! -s conftest.err
27731 } && test -s conftest$ac_exeext &&
27732 $as_test_x conftest$ac_exeext; then
27733 ac_cv_lib_tiff_TIFFError=yes
27735 echo "$as_me: failed program was
:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27738 ac_cv_lib_tiff_TIFFError=no
27741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27742 conftest$ac_exeext conftest.$ac_ext
27743 LIBS=$ac_check_lib_save_LIBS
27745 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27746 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27747 if test $ac_cv_lib_tiff_TIFFError = yes; then
27748 TIFF_LINK=" -ltiff"
27756 if test "x
$TIFF_LINK" = "x
" ; then
27757 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27758 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27759 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27760 { (exit 1); exit 1; }; }
27762 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27763 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27764 wxUSE_LIBTIFF=builtin
27770 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27771 if test "$wxUSE_LIBJPEG" = "no
"; then
27772 ac_configure_args="$ac_configure_args --disable-jpeg"
27774 subdirs="$subdirs src
/tiff
"
27780 if test "$wxUSE_WCHAR_T" != "yes"; then
27781 if test "$wxUSE_EXPAT" != "no
"; then
27782 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27783 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27786 if test "$wxUSE_XML" != "no
"; then
27787 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27788 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27793 if test "$wxUSE_EXPAT" != "no
"; then
27795 cat >>confdefs.h <<\_ACEOF
27796 #define wxUSE_EXPAT 1
27799 cat >>confdefs.h <<\_ACEOF
27800 #define wxUSE_XML 1
27804 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27805 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27806 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27807 if test "${ac_cv_header_expat_h+set}" = set; then
27808 echo $ECHO_N "(cached
) $ECHO_C" >&6
27810 cat >conftest.$ac_ext <<_ACEOF
27813 cat confdefs.h >>conftest.$ac_ext
27814 cat >>conftest.$ac_ext <<_ACEOF
27815 /* end confdefs.h. */
27820 rm -f conftest.$ac_objext
27821 if { (ac_try="$ac_compile"
27822 case "(($ac_try" in
27823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27824 *) ac_try_echo=$ac_try;;
27826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27827 (eval "$ac_compile") 2>conftest.er1
27829 grep -v '^ *+' conftest.er1 >conftest.err
27831 cat conftest.err >&5
27832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27833 (exit $ac_status); } && {
27834 test -z "$ac_c_werror_flag" ||
27835 test ! -s conftest.err
27836 } && test -s conftest.$ac_objext; then
27837 ac_cv_header_expat_h=yes
27839 echo "$as_me: failed program was
:" >&5
27840 sed 's/^/| /' conftest.$ac_ext >&5
27842 ac_cv_header_expat_h=no
27845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27847 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27848 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27849 if test $ac_cv_header_expat_h = yes; then
27854 if test "x
$found_expat_h" = "x1
"; then
27855 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27856 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27857 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27858 echo $ECHO_N "(cached
) $ECHO_C" >&6
27862 ac_cpp='$CXXCPP $CPPFLAGS'
27863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27867 cat >conftest.$ac_ext <<_ACEOF
27870 cat confdefs.h >>conftest.$ac_ext
27871 cat >>conftest.$ac_ext <<_ACEOF
27872 /* end confdefs.h. */
27882 rm -f conftest.$ac_objext
27883 if { (ac_try="$ac_compile"
27884 case "(($ac_try" in
27885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27886 *) ac_try_echo=$ac_try;;
27888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27889 (eval "$ac_compile") 2>conftest.er1
27891 grep -v '^ *+' conftest.er1 >conftest.err
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27895 (exit $ac_status); } && {
27896 test -z "$ac_cxx_werror_flag" ||
27897 test ! -s conftest.err
27898 } && test -s conftest.$ac_objext; then
27899 wx_cv_expat_is_not_broken=yes
27901 echo "$as_me: failed program was
:" >&5
27902 sed 's/^/| /' conftest.$ac_ext >&5
27904 wx_cv_expat_is_not_broken=no
27908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27918 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27919 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27920 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27921 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27922 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27923 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27924 echo $ECHO_N "(cached
) $ECHO_C" >&6
27926 ac_check_lib_save_LIBS=$LIBS
27927 LIBS="-lexpat $LIBS"
27928 cat >conftest.$ac_ext <<_ACEOF
27931 cat confdefs.h >>conftest.$ac_ext
27932 cat >>conftest.$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27935 /* Override any GCC internal prototype to avoid an error.
27936 Use char because int might match the return type of a GCC
27937 builtin and then its argument prototype would still apply. */
27941 char XML_ParserCreate ();
27945 return XML_ParserCreate ();
27950 rm -f conftest.$ac_objext conftest$ac_exeext
27951 if { (ac_try="$ac_link"
27952 case "(($ac_try" in
27953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27954 *) ac_try_echo=$ac_try;;
27956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27957 (eval "$ac_link") 2>conftest.er1
27959 grep -v '^ *+' conftest.er1 >conftest.err
27961 cat conftest.err >&5
27962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27963 (exit $ac_status); } && {
27964 test -z "$ac_c_werror_flag" ||
27965 test ! -s conftest.err
27966 } && test -s conftest$ac_exeext &&
27967 $as_test_x conftest$ac_exeext; then
27968 ac_cv_lib_expat_XML_ParserCreate=yes
27970 echo "$as_me: failed program was
:" >&5
27971 sed 's/^/| /' conftest.$ac_ext >&5
27973 ac_cv_lib_expat_XML_ParserCreate=no
27976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27977 conftest$ac_exeext conftest.$ac_ext
27978 LIBS=$ac_check_lib_save_LIBS
27980 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27981 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27982 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27983 EXPAT_LINK=" -lexpat"
27988 if test "x
$EXPAT_LINK" = "x
" ; then
27989 if test "$wxUSE_EXPAT" = "sys
" ; then
27990 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27991 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27992 { (exit 1); exit 1; }; }
27994 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27995 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27996 wxUSE_EXPAT=builtin
28002 if test "$wxUSE_EXPAT" = "builtin" ; then
28003 subdirs="$subdirs src
/expat
"
28010 if test "$wxUSE_LIBMSPACK" != "no
"; then
28011 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28012 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28013 if test "${ac_cv_header_mspack_h+set}" = set; then
28014 echo $ECHO_N "(cached
) $ECHO_C" >&6
28016 cat >conftest.$ac_ext <<_ACEOF
28019 cat confdefs.h >>conftest.$ac_ext
28020 cat >>conftest.$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28024 #include <mspack.h>
28026 rm -f conftest.$ac_objext
28027 if { (ac_try="$ac_compile"
28028 case "(($ac_try" in
28029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_compile") 2>conftest.er1
28035 grep -v '^ *+' conftest.er1 >conftest.err
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28039 (exit $ac_status); } && {
28040 test -z "$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28042 } && test -s conftest.$ac_objext; then
28043 ac_cv_header_mspack_h=yes
28045 echo "$as_me: failed program was
:" >&5
28046 sed 's/^/| /' conftest.$ac_ext >&5
28048 ac_cv_header_mspack_h=no
28051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28053 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28054 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28055 if test $ac_cv_header_mspack_h = yes; then
28060 if test "x
$found_mspack_h" = "x1
"; then
28061 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28062 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28063 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28064 echo $ECHO_N "(cached
) $ECHO_C" >&6
28066 ac_check_lib_save_LIBS=$LIBS
28067 LIBS="-lmspack $LIBS"
28068 cat >conftest.$ac_ext <<_ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28075 /* Override any GCC internal prototype to avoid an error.
28076 Use char because int might match the return type of a GCC
28077 builtin and then its argument prototype would still apply. */
28081 char mspack_create_chm_decompressor ();
28085 return mspack_create_chm_decompressor ();
28090 rm -f conftest.$ac_objext conftest$ac_exeext
28091 if { (ac_try="$ac_link"
28092 case "(($ac_try" in
28093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28094 *) ac_try_echo=$ac_try;;
28096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28097 (eval "$ac_link") 2>conftest.er1
28099 grep -v '^ *+' conftest.er1 >conftest.err
28101 cat conftest.err >&5
28102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28103 (exit $ac_status); } && {
28104 test -z "$ac_c_werror_flag" ||
28105 test ! -s conftest.err
28106 } && test -s conftest$ac_exeext &&
28107 $as_test_x conftest$ac_exeext; then
28108 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28110 echo "$as_me: failed program was
:" >&5
28111 sed 's/^/| /' conftest.$ac_ext >&5
28113 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28117 conftest$ac_exeext conftest.$ac_ext
28118 LIBS=$ac_check_lib_save_LIBS
28120 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28121 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28122 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28123 MSPACK_LINK=" -lmspack"
28127 if test "x
$MSPACK_LINK" = "x
" ; then
28132 if test "$wxUSE_LIBMSPACK" != "no
"; then
28133 cat >>confdefs.h <<\_ACEOF
28134 #define wxUSE_LIBMSPACK 1
28148 if test "$USE_WIN32" = 1 ; then
28150 for ac_header in w32api.h
28152 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28153 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28154 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28155 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28156 echo $ECHO_N "(cached
) $ECHO_C" >&6
28158 cat >conftest.$ac_ext <<_ACEOF
28161 cat confdefs.h >>conftest.$ac_ext
28162 cat >>conftest.$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28166 #include <$ac_header>
28168 rm -f conftest.$ac_objext
28169 if { (ac_try="$ac_compile"
28170 case "(($ac_try" in
28171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28172 *) ac_try_echo=$ac_try;;
28174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28175 (eval "$ac_compile") 2>conftest.er1
28177 grep -v '^ *+' conftest.er1 >conftest.err
28179 cat conftest.err >&5
28180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28181 (exit $ac_status); } && {
28182 test -z "$ac_c_werror_flag" ||
28183 test ! -s conftest.err
28184 } && test -s conftest.$ac_objext; then
28185 eval "$as_ac_Header=yes"
28187 echo "$as_me: failed program was
:" >&5
28188 sed 's/^/| /' conftest.$ac_ext >&5
28190 eval "$as_ac_Header=no
"
28193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28195 ac_res=`eval echo '${'$as_ac_Header'}'`
28196 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28197 echo "${ECHO_T}$ac_res" >&6; }
28198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28199 cat >>confdefs.h <<_ACEOF
28200 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28207 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28208 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28209 if test "${ac_cv_header_windows_h+set}" = set; then
28210 echo $ECHO_N "(cached
) $ECHO_C" >&6
28212 cat >conftest.$ac_ext <<_ACEOF
28215 cat confdefs.h >>conftest.$ac_ext
28216 cat >>conftest.$ac_ext <<_ACEOF
28217 /* end confdefs.h. */
28220 #include <windows.h>
28222 rm -f conftest.$ac_objext
28223 if { (ac_try="$ac_compile"
28224 case "(($ac_try" in
28225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_compile") 2>conftest.er1
28231 grep -v '^ *+' conftest.er1 >conftest.err
28233 cat conftest.err >&5
28234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28235 (exit $ac_status); } && {
28236 test -z "$ac_c_werror_flag" ||
28237 test ! -s conftest.err
28238 } && test -s conftest.$ac_objext; then
28239 ac_cv_header_windows_h=yes
28241 echo "$as_me: failed program was
:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28244 ac_cv_header_windows_h=no
28247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28249 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28250 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28251 if test $ac_cv_header_windows_h = yes; then
28255 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28256 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28257 { (exit 1); exit 1; }; }
28264 x86_64-*-mingw32* )
28265 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28268 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28271 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28272 LIBS="$LIBS -loleacc"
28277 LIBS="$LIBS -lkernel32 -luser32"
28280 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28281 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28283 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28285 WIN32INSTALL=win32install
28287 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28288 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28289 if test "${ac_cv_header_pbt_h+set}" = set; then
28290 echo $ECHO_N "(cached
) $ECHO_C" >&6
28292 cat >conftest.$ac_ext <<_ACEOF
28295 cat confdefs.h >>conftest.$ac_ext
28296 cat >>conftest.$ac_ext <<_ACEOF
28297 /* end confdefs.h. */
28302 rm -f conftest.$ac_objext
28303 if { (ac_try="$ac_compile"
28304 case "(($ac_try" in
28305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28306 *) ac_try_echo=$ac_try;;
28308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28309 (eval "$ac_compile") 2>conftest.er1
28311 grep -v '^ *+' conftest.er1 >conftest.err
28313 cat conftest.err >&5
28314 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28315 (exit $ac_status); } && {
28316 test -z "$ac_c_werror_flag" ||
28317 test ! -s conftest.err
28318 } && test -s conftest.$ac_objext; then
28319 ac_cv_header_pbt_h=yes
28321 echo "$as_me: failed program was
:" >&5
28322 sed 's/^/| /' conftest.$ac_ext >&5
28324 ac_cv_header_pbt_h=no
28327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28329 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28330 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28331 if test $ac_cv_header_pbt_h = yes; then
28334 cat >>confdefs.h <<\_ACEOF
28335 #define NEED_PBT_H 1
28343 if test "$wxUSE_GUI" = "yes"; then
28353 if test "$wxUSE_COCOA" = 1 ; then
28354 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28355 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28356 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28357 wxUSE_PRINTING_ARCHITECTURE=no
28359 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28360 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28361 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28362 wxUSE_DRAG_AND_DROP=no
28364 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28365 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28366 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28371 if test "$wxUSE_MSW" = 1 ; then
28377 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28381 if test "$wxUSE_GTK" = 1; then
28382 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28383 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28385 gtk_version_cached=1
28386 if test "${wx_cv_lib_gtk+set}" = set; then
28387 echo $ECHO_N "(cached
) $ECHO_C" >&6
28390 gtk_version_cached=0
28391 { echo "$as_me:$LINENO: result
: " >&5
28392 echo "${ECHO_T}" >&6; }
28395 if test "$wxUSE_THREADS" = "yes"; then
28396 GTK_MODULES=gthread
28400 if test "x
$wxGTK_VERSION" != "x1
"
28404 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28409 # Check whether --enable-gtktest was given.
28410 if test "${enable_gtktest+set}" = set; then
28411 enableval=$enable_gtktest;
28417 pkg_config_args=gtk+-2.0
28418 for module in . $GTK_MODULES
28422 pkg_config_args="$pkg_config_args gthread
-2.0
"
28429 # Extract the first word of "pkg
-config", so it can be a program name with args.
28430 set dummy pkg-config; ac_word=$2
28431 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28432 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28433 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28434 echo $ECHO_N "(cached
) $ECHO_C" >&6
28436 case $PKG_CONFIG in
28438 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28442 for as_dir in $PATH
28445 test -z "$as_dir" && as_dir=.
28446 for ac_exec_ext in '' $ac_executable_extensions; do
28447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28448 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28449 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28456 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28460 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28461 if test -n "$PKG_CONFIG"; then
28462 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28463 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28465 { echo "$as_me:$LINENO: result
: no
" >&5
28466 echo "${ECHO_T}no
" >&6; }
28471 if test x$PKG_CONFIG != xno ; then
28472 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28475 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28483 min_gtk_version=2.4.0
28484 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28485 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28487 if test x$PKG_CONFIG != xno ; then
28488 ## don't try to run the test against uninstalled libtool libs
28489 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28490 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28494 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28501 if test x"$no_gtk" = x ; then
28502 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28503 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28504 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28506 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28508 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28510 if test "x
$enable_gtktest" = "xyes
" ; then
28511 ac_save_CFLAGS="$CFLAGS"
28512 ac_save_LIBS="$LIBS"
28513 CFLAGS="$CFLAGS $GTK_CFLAGS"
28514 LIBS="$GTK_LIBS $LIBS"
28516 if test "$cross_compiling" = yes; then
28517 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28519 cat >conftest.$ac_ext <<_ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28526 #include <gtk/gtk.h>
28528 #include <stdlib.h>
28533 int major, minor, micro;
28536 system ("touch conf.gtktest
");
28538 /* HP/UX 9 (%@#!) writes to sscanf strings */
28539 tmp_version = g_strdup("$min_gtk_version");
28540 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28541 printf("%s
, bad version string
\n", "$min_gtk_version");
28545 if ((gtk_major_version != $gtk_config_major_version) ||
28546 (gtk_minor_version != $gtk_config_minor_version) ||
28547 (gtk_micro_version != $gtk_config_micro_version))
28549 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28550 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28551 gtk_major_version, gtk_minor_version, gtk_micro_version);
28552 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28553 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28554 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28555 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28556 printf("*** required on your system.
\n");
28557 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28558 printf("*** to point to the correct configuration files
\n");
28560 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28561 (gtk_minor_version != GTK_MINOR_VERSION) ||
28562 (gtk_micro_version != GTK_MICRO_VERSION))
28564 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28565 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28566 printf("*** library
(version
%d.
%d.
%d
)\n",
28567 gtk_major_version, gtk_minor_version, gtk_micro_version);
28571 if ((gtk_major_version > major) ||
28572 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28573 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28579 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28580 gtk_major_version, gtk_minor_version, gtk_micro_version);
28581 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28582 major, minor, micro);
28583 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28585 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28586 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28587 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28588 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28589 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28590 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28591 printf("*** so that the correct libraries are found
at run
-time))\n");
28598 rm -f conftest$ac_exeext
28599 if { (ac_try="$ac_link"
28600 case "(($ac_try" in
28601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28602 *) ac_try_echo=$ac_try;;
28604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28605 (eval "$ac_link") 2>&5
28607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28608 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28609 { (case "(($ac_try" in
28610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28611 *) ac_try_echo=$ac_try;;
28613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28614 (eval "$ac_try") 2>&5
28616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28617 (exit $ac_status); }; }; then
28620 echo "$as_me: program exited with status
$ac_status" >&5
28621 echo "$as_me: failed program was
:" >&5
28622 sed 's/^/| /' conftest.$ac_ext >&5
28624 ( exit $ac_status )
28627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28631 CFLAGS="$ac_save_CFLAGS"
28632 LIBS="$ac_save_LIBS"
28635 if test "x
$no_gtk" = x ; then
28636 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28637 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28640 { echo "$as_me:$LINENO: result
: no
" >&5
28641 echo "${ECHO_T}no
" >&6; }
28642 if test "$PKG_CONFIG" = "no
" ; then
28643 echo "*** A new enough version of pkg
-config was not found.
"
28644 echo "*** See http
://pkgconfig.sourceforge.net
"
28646 if test -f conf.gtktest ; then
28649 echo "*** Could not run GTK
+ test program
, checking why...
"
28650 ac_save_CFLAGS="$CFLAGS"
28651 ac_save_LIBS="$LIBS"
28652 CFLAGS="$CFLAGS $GTK_CFLAGS"
28653 LIBS="$LIBS $GTK_LIBS"
28654 cat >conftest.$ac_ext <<_ACEOF
28657 cat confdefs.h >>conftest.$ac_ext
28658 cat >>conftest.$ac_ext <<_ACEOF
28659 /* end confdefs.h. */
28661 #include <gtk/gtk.h>
28667 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28672 rm -f conftest.$ac_objext conftest$ac_exeext
28673 if { (ac_try="$ac_link"
28674 case "(($ac_try" in
28675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28676 *) ac_try_echo=$ac_try;;
28678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28679 (eval "$ac_link") 2>conftest.er1
28681 grep -v '^ *+' conftest.er1 >conftest.err
28683 cat conftest.err >&5
28684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28685 (exit $ac_status); } && {
28686 test -z "$ac_c_werror_flag" ||
28687 test ! -s conftest.err
28688 } && test -s conftest$ac_exeext &&
28689 $as_test_x conftest$ac_exeext; then
28690 echo "*** The
test program compiled
, but did not run. This usually means
"
28691 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28692 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28693 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28694 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28695 echo "*** is required on your system"
28697 echo "*** If you have an old version installed, it is best to remove it, although"
28698 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28700 echo "$as_me: failed program was:" >&5
28701 sed 's
/^
/| /' conftest.$ac_ext >&5
28703 echo "*** The test program failed to compile or link. See the file config.log for the"
28704 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28708 conftest$ac_exeext conftest.$ac_ext
28709 CFLAGS="$ac_save_CFLAGS"
28710 LIBS="$ac_save_LIBS"
28724 if test "$wxUSE_SHARED" != "yes"; then
28725 GTK_LIBS="$GTK_LIBS -lX11"
28730 if test -z "$wx_cv_lib_gtk"; then
28731 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28733 # Check whether --with-gtk-prefix was given.
28734 if test "${with_gtk_prefix+set}" = set; then
28735 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28737 gtk_config_prefix=""
28741 # Check whether --with-gtk-exec-prefix was given.
28742 if test "${with_gtk_exec_prefix+set}" = set; then
28743 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28745 gtk_config_exec_prefix=""
28748 # Check whether --enable-gtktest was given.
28749 if test "${enable_gtktest+set}" = set; then
28750 enableval=$enable_gtktest;
28756 for module in . $GTK_MODULES
28760 gtk_config_args="$gtk_config_args gthread"
28765 if test x$gtk_config_exec_prefix != x ; then
28766 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28767 if test x${GTK_CONFIG+set} != xset ; then
28768 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28771 if test x$gtk_config_prefix != x ; then
28772 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28773 if test x${GTK_CONFIG+set} != xset ; then
28774 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28778 # Extract the first word of "gtk-config", so it can be a program name with args.
28779 set dummy gtk-config; ac_word=$2
28780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28782 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28785 case $GTK_CONFIG in
28787 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28791 for as_dir in $PATH
28794 test -z "$as_dir" && as_dir=.
28795 for ac_exec_ext in '' $ac_executable_extensions; do
28796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28797 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28805 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28809 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28810 if test -n "$GTK_CONFIG"; then
28811 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28812 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28814 { echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6; }
28819 min_gtk_version=1.2.7
28820 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28821 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28823 if test "$GTK_CONFIG" = "no" ; then
28826 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28827 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28828 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28829 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28830 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28831 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28832 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28833 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28834 if test "x$enable_gtktest" = "xyes" ; then
28835 ac_save_CFLAGS="$CFLAGS"
28836 ac_save_LIBS="$LIBS"
28837 CFLAGS="$CFLAGS $GTK_CFLAGS"
28838 LIBS="$GTK_LIBS $LIBS"
28840 if test "$cross_compiling" = yes; then
28841 echo $ac_n "cross compiling; assumed OK... $ac_c"
28843 cat >conftest.$ac_ext <<_ACEOF
28846 cat confdefs.h >>conftest.$ac_ext
28847 cat >>conftest.$ac_ext <<_ACEOF
28848 /* end confdefs.h. */
28850 #include <gtk/gtk.h>
28852 #include <stdlib.h>
28857 int major, minor, micro;
28860 system ("touch conf.gtktest");
28862 /* HP/UX 9 (%@#!) writes to sscanf strings */
28863 tmp_version = g_strdup("$min_gtk_version");
28864 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28865 printf("%s, bad version string\n", "$min_gtk_version");
28869 if ((gtk_major_version != $gtk_config_major_version) ||
28870 (gtk_minor_version != $gtk_config_minor_version) ||
28871 (gtk_micro_version != $gtk_config_micro_version))
28873 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28874 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28875 gtk_major_version, gtk_minor_version, gtk_micro_version);
28876 printf ("*** was found! If gtk-config was correct, then it is best\n");
28877 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28878 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28879 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28880 printf("*** required on your system.\n");
28881 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28882 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28883 printf("*** before re-running configure\n");
28885 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28886 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28887 (gtk_minor_version != GTK_MINOR_VERSION) ||
28888 (gtk_micro_version != GTK_MICRO_VERSION))
28890 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28891 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28892 printf("*** library (version %d.%d.%d)\n",
28893 gtk_major_version, gtk_minor_version, gtk_micro_version);
28895 #endif /* defined (GTK_MAJOR_VERSION) ... */
28898 if ((gtk_major_version > major) ||
28899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28907 gtk_major_version, gtk_minor_version, gtk_micro_version);
28908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28909 major, minor, micro);
28910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28912 printf("*** If you have already installed a sufficiently new version, this error\n");
28913 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28915 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28916 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28918 printf("*** so that the correct libraries are found at run-time))\n");
28925 rm -f conftest$ac_exeext
28926 if { (ac_try="$ac_link"
28927 case "(($ac_try" in
28928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28929 *) ac_try_echo=$ac_try;;
28931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28932 (eval "$ac_link") 2>&5
28934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28935 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28936 { (case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_try") 2>&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; }; then
28947 echo "$as_me: program exited with status $ac_status" >&5
28948 echo "$as_me: failed program was:" >&5
28949 sed 's
/^
/| /' conftest.$ac_ext >&5
28951 ( exit $ac_status )
28954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28958 CFLAGS="$ac_save_CFLAGS"
28959 LIBS="$ac_save_LIBS"
28962 if test "x$no_gtk" = x ; then
28963 { echo "$as_me:$LINENO: result: yes" >&5
28964 echo "${ECHO_T}yes" >&6; }
28965 wx_cv_lib_gtk=1.2.7
28967 { echo "$as_me:$LINENO: result: no" >&5
28968 echo "${ECHO_T}no" >&6; }
28969 if test "$GTK_CONFIG" = "no" ; then
28970 echo "*** The gtk-config script installed by GTK could not be found"
28971 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28972 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28973 echo "*** full path to gtk-config."
28975 if test -f conf.gtktest ; then
28978 echo "*** Could not run GTK test program, checking why..."
28979 CFLAGS="$CFLAGS $GTK_CFLAGS"
28980 LIBS="$LIBS $GTK_LIBS"
28981 cat >conftest.$ac_ext <<_ACEOF
28984 cat confdefs.h >>conftest.$ac_ext
28985 cat >>conftest.$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28988 #include <gtk/gtk.h>
28994 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28999 rm -f conftest.$ac_objext conftest$ac_exeext
29000 if { (ac_try="$ac_link"
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_link") 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_exeext &&
29016 $as_test_x conftest$ac_exeext; then
29017 echo "*** The test program compiled, but did not run. This usually means"
29018 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29019 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29020 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29021 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29022 echo "*** is required on your system
"
29024 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29025 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29027 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29028 echo "*** came with the system with the
command"
29030 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29032 echo "$as_me: failed program was
:" >&5
29033 sed 's/^/| /' conftest.$ac_ext >&5
29035 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29036 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29037 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29038 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29042 conftest$ac_exeext conftest.$ac_ext
29043 CFLAGS="$ac_save_CFLAGS"
29044 LIBS="$ac_save_LIBS"
29056 if test -z "$wx_cv_lib_gtk"; then
29058 # Check whether --with-gtk-prefix was given.
29059 if test "${with_gtk_prefix+set}" = set; then
29060 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29062 gtk_config_prefix=""
29066 # Check whether --with-gtk-exec-prefix was given.
29067 if test "${with_gtk_exec_prefix+set}" = set; then
29068 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29070 gtk_config_exec_prefix=""
29073 # Check whether --enable-gtktest was given.
29074 if test "${enable_gtktest+set}" = set; then
29075 enableval=$enable_gtktest;
29081 for module in . $GTK_MODULES
29085 gtk_config_args="$gtk_config_args gthread
"
29090 if test x$gtk_config_exec_prefix != x ; then
29091 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29092 if test x${GTK_CONFIG+set} != xset ; then
29093 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29096 if test x$gtk_config_prefix != x ; then
29097 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29098 if test x${GTK_CONFIG+set} != xset ; then
29099 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29103 # Extract the first word of "gtk
-config", so it can be a program name with args.
29104 set dummy gtk-config; ac_word=$2
29105 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29106 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29107 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29108 echo $ECHO_N "(cached
) $ECHO_C" >&6
29110 case $GTK_CONFIG in
29112 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29116 for as_dir in $PATH
29119 test -z "$as_dir" && as_dir=.
29120 for ac_exec_ext in '' $ac_executable_extensions; do
29121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29122 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29123 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29130 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29134 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29135 if test -n "$GTK_CONFIG"; then
29136 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29137 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29139 { echo "$as_me:$LINENO: result
: no
" >&5
29140 echo "${ECHO_T}no
" >&6; }
29144 min_gtk_version=1.2.3
29145 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29146 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29148 if test "$GTK_CONFIG" = "no
" ; then
29151 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29152 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29153 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29154 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29155 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29156 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29157 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29158 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29159 if test "x
$enable_gtktest" = "xyes
" ; then
29160 ac_save_CFLAGS="$CFLAGS"
29161 ac_save_LIBS="$LIBS"
29162 CFLAGS="$CFLAGS $GTK_CFLAGS"
29163 LIBS="$GTK_LIBS $LIBS"
29165 if test "$cross_compiling" = yes; then
29166 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29168 cat >conftest.$ac_ext <<_ACEOF
29171 cat confdefs.h >>conftest.$ac_ext
29172 cat >>conftest.$ac_ext <<_ACEOF
29173 /* end confdefs.h. */
29175 #include <gtk/gtk.h>
29177 #include <stdlib.h>
29182 int major, minor, micro;
29185 system ("touch conf.gtktest
");
29187 /* HP/UX 9 (%@#!) writes to sscanf strings */
29188 tmp_version = g_strdup("$min_gtk_version");
29189 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29190 printf("%s
, bad version string
\n", "$min_gtk_version");
29194 if ((gtk_major_version != $gtk_config_major_version) ||
29195 (gtk_minor_version != $gtk_config_minor_version) ||
29196 (gtk_micro_version != $gtk_config_micro_version))
29198 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29199 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29200 gtk_major_version, gtk_minor_version, gtk_micro_version);
29201 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29202 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29203 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29204 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29205 printf("*** required on your system.
\n");
29206 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29207 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29208 printf("*** before re
-running configure
\n");
29210 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29211 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29212 (gtk_minor_version != GTK_MINOR_VERSION) ||
29213 (gtk_micro_version != GTK_MICRO_VERSION))
29215 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29216 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29217 printf("*** library
(version
%d.
%d.
%d
)\n",
29218 gtk_major_version, gtk_minor_version, gtk_micro_version);
29220 #endif /* defined (GTK_MAJOR_VERSION) ... */
29223 if ((gtk_major_version > major) ||
29224 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29225 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29231 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29232 gtk_major_version, gtk_minor_version, gtk_micro_version);
29233 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29234 major, minor, micro);
29235 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29237 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29238 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29239 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29240 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29241 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29242 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29243 printf("*** so that the correct libraries are found
at run
-time))\n");
29250 rm -f conftest$ac_exeext
29251 if { (ac_try="$ac_link"
29252 case "(($ac_try" in
29253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29254 *) ac_try_echo=$ac_try;;
29256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29257 (eval "$ac_link") 2>&5
29259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29261 { (case "(($ac_try" in
29262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29263 *) ac_try_echo=$ac_try;;
29265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29266 (eval "$ac_try") 2>&5
29268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29269 (exit $ac_status); }; }; then
29272 echo "$as_me: program exited with status
$ac_status" >&5
29273 echo "$as_me: failed program was
:" >&5
29274 sed 's/^/| /' conftest.$ac_ext >&5
29276 ( exit $ac_status )
29279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29283 CFLAGS="$ac_save_CFLAGS"
29284 LIBS="$ac_save_LIBS"
29287 if test "x
$no_gtk" = x ; then
29288 { echo "$as_me:$LINENO: result
: yes" >&5
29289 echo "${ECHO_T}yes" >&6; }
29290 wx_cv_lib_gtk=1.2.3
29292 { echo "$as_me:$LINENO: result
: no
" >&5
29293 echo "${ECHO_T}no
" >&6; }
29294 if test "$GTK_CONFIG" = "no
" ; then
29295 echo "*** The gtk
-config script installed by GTK could not be found
"
29296 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29297 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29298 echo "*** full path to gtk
-config.
"
29300 if test -f conf.gtktest ; then
29303 echo "*** Could not run GTK
test program
, checking why...
"
29304 CFLAGS="$CFLAGS $GTK_CFLAGS"
29305 LIBS="$LIBS $GTK_LIBS"
29306 cat >conftest.$ac_ext <<_ACEOF
29309 cat confdefs.h >>conftest.$ac_ext
29310 cat >>conftest.$ac_ext <<_ACEOF
29311 /* end confdefs.h. */
29313 #include <gtk/gtk.h>
29319 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29324 rm -f conftest.$ac_objext conftest$ac_exeext
29325 if { (ac_try="$ac_link"
29326 case "(($ac_try" in
29327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29328 *) ac_try_echo=$ac_try;;
29330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29331 (eval "$ac_link") 2>conftest.er1
29333 grep -v '^ *+' conftest.er1 >conftest.err
29335 cat conftest.err >&5
29336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29337 (exit $ac_status); } && {
29338 test -z "$ac_c_werror_flag" ||
29339 test ! -s conftest.err
29340 } && test -s conftest$ac_exeext &&
29341 $as_test_x conftest$ac_exeext; then
29342 echo "*** The
test program compiled
, but did not run. This usually means
"
29343 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29344 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29345 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29346 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29347 echo "*** is required on your system"
29349 echo "*** If you have an old version installed, it is best to remove it, although"
29350 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29352 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29353 echo "*** came with the system with the command"
29355 echo "*** rpm --erase --nodeps gtk gtk-devel"
29357 echo "$as_me: failed program was:" >&5
29358 sed 's
/^
/| /' conftest.$ac_ext >&5
29360 echo "*** The test program failed to compile or link. See the file config.log for the"
29361 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29362 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29363 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29367 conftest$ac_exeext conftest.$ac_ext
29368 CFLAGS="$ac_save_CFLAGS"
29369 LIBS="$ac_save_LIBS"
29384 if test -z "$wx_cv_lib_gtk"; then
29387 wx_cv_cflags_gtk=$GTK_CFLAGS
29388 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29395 if test "$gtk_version_cached" = 1; then
29396 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29397 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29400 case "$wx_cv_lib_gtk" in
29409 *) { { echo "$as_me:$LINENO: error:
29410 The development files for GTK+ were not found. For GTK+ 2, please
29411 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29412 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29413 and that the version is 1.2.3 or above. Also check that the
29414 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29415 --libs' are in the LD_LIBRARY_PATH or equivalent.
29417 echo "$as_me: error:
29418 The development files for GTK+ were not found. For GTK+ 2, please
29419 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29420 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29421 and that the version is 1.2.3 or above. Also check that the
29422 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29423 --libs' are in the LD_LIBRARY_PATH or equivalent.
29425 { (exit 1); exit 1; }; }
29429 if test "$WXGTK2" = 1; then
29430 save_CFLAGS="$CFLAGS"
29432 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29433 LIBS="$LIBS $wx_cv_libs_gtk"
29435 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29436 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29437 cat >conftest.$ac_ext <<_ACEOF
29440 cat confdefs.h >>conftest.$ac_ext
29441 cat >>conftest.$ac_ext <<_ACEOF
29442 /* end confdefs.h. */
29444 #include <gtk/gtk.h>
29450 #if !GTK_CHECK_VERSION(2,10,0)
29458 rm -f conftest.$ac_objext
29459 if { (ac_try="$ac_compile"
29460 case "(($ac_try" in
29461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_compile") 2>conftest.er1
29467 grep -v '^
*+' conftest.er1 >conftest.err
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } && {
29472 test -z "$ac_c_werror_flag" ||
29473 test ! -s conftest.err
29474 } && test -s conftest.$ac_objext; then
29476 cat >>confdefs.h <<\_ACEOF
29477 #define __WXGTK210__ 1
29480 cat >>confdefs.h <<\_ACEOF
29481 #define __WXGTK26__ 1
29484 { echo "$as_me:$LINENO: result: yes" >&5
29485 echo "${ECHO_T}yes" >&6; }
29489 echo "$as_me: failed program was:" >&5
29490 sed 's
/^
/| /' conftest.$ac_ext >&5
29493 { echo "$as_me:$LINENO: result: no" >&5
29494 echo "${ECHO_T}no" >&6; }
29499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29501 if test "$ac_wxgtk210" = 0; then
29502 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29503 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29504 cat >conftest.$ac_ext <<_ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29511 #include <gtk/gtk.h>
29517 #if !GTK_CHECK_VERSION(2,6,0)
29525 rm -f conftest.$ac_objext
29526 if { (ac_try="$ac_compile"
29527 case "(($ac_try" in
29528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_compile") 2>conftest.er1
29534 grep -v '^
*+' conftest.er1 >conftest.err
29536 cat conftest.err >&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } && {
29539 test -z "$ac_c_werror_flag" ||
29540 test ! -s conftest.err
29541 } && test -s conftest.$ac_objext; then
29543 cat >>confdefs.h <<\_ACEOF
29544 #define __WXGTK26__ 1
29547 { echo "$as_me:$LINENO: result: yes" >&5
29548 echo "${ECHO_T}yes" >&6; }
29552 echo "$as_me: failed program was:" >&5
29553 sed 's
/^
/| /' conftest.$ac_ext >&5
29556 { echo "$as_me:$LINENO: result: no" >&5
29557 echo "${ECHO_T}no" >&6; }
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29565 CFLAGS="$save_CFLAGS"
29568 if test "$wxUSE_UNICODE" = "yes"; then
29569 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29570 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29574 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29575 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29576 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29579 ac_check_lib_save_LIBS=$LIBS
29581 cat >conftest.$ac_ext <<_ACEOF
29584 cat confdefs.h >>conftest.$ac_ext
29585 cat >>conftest.$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29588 /* Override any GCC internal prototype to avoid an error.
29589 Use char because int might match the return type of a GCC
29590 builtin and then its argument prototype would still apply. */
29594 char gdk_im_open ();
29598 return gdk_im_open ();
29603 rm -f conftest.$ac_objext conftest$ac_exeext
29604 if { (ac_try="$ac_link"
29605 case "(($ac_try" in
29606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29607 *) ac_try_echo=$ac_try;;
29609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29610 (eval "$ac_link") 2>conftest.er1
29612 grep -v '^
*+' conftest.er1 >conftest.err
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } && {
29617 test -z "$ac_c_werror_flag" ||
29618 test ! -s conftest.err
29619 } && test -s conftest$ac_exeext &&
29620 $as_test_x conftest$ac_exeext; then
29621 ac_cv_lib_gdk_gdk_im_open=yes
29623 echo "$as_me: failed program was:" >&5
29624 sed 's
/^
/| /' conftest.$ac_ext >&5
29626 ac_cv_lib_gdk_gdk_im_open=no
29629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29630 conftest$ac_exeext conftest.$ac_ext
29631 LIBS=$ac_check_lib_save_LIBS
29633 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29634 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29635 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29636 cat >>confdefs.h <<\_ACEOF
29643 if test "$USE_DARWIN" != 1; then
29645 for ac_func in poll
29647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29651 echo $ECHO_N "(cached) $ECHO_C" >&6
29653 cat >conftest.$ac_ext <<_ACEOF
29656 cat confdefs.h >>conftest.$ac_ext
29657 cat >>conftest.$ac_ext <<_ACEOF
29658 /* end confdefs.h. */
29659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29661 #define $ac_func innocuous_$ac_func
29663 /* System header to define __stub macros and hopefully few prototypes,
29664 which can conflict with char $ac_func (); below.
29665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29666 <limits.h> exists even on freestanding compilers. */
29669 # include <limits.h>
29671 # include <assert.h>
29676 /* Override any GCC internal prototype to avoid an error.
29677 Use char because int might match the return type of a GCC
29678 builtin and then its argument prototype would still apply. */
29683 /* The GNU C library defines this for functions which it implements
29684 to always fail with ENOSYS. Some functions are actually named
29685 something starting with __ and the normal name is an alias. */
29686 #if defined __stub_$ac_func || defined __stub___$ac_func
29693 return $ac_func ();
29698 rm -f conftest.$ac_objext conftest$ac_exeext
29699 if { (ac_try="$ac_link"
29700 case "(($ac_try" in
29701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29702 *) ac_try_echo=$ac_try;;
29704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29705 (eval "$ac_link") 2>conftest.er1
29707 grep -v '^
*+' conftest.er1 >conftest.err
29709 cat conftest.err >&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } && {
29712 test -z "$ac_c_werror_flag" ||
29713 test ! -s conftest.err
29714 } && test -s conftest$ac_exeext &&
29715 $as_test_x conftest$ac_exeext; then
29716 eval "$as_ac_var=yes"
29718 echo "$as_me: failed program was:" >&5
29719 sed 's
/^
/| /' conftest.$ac_ext >&5
29721 eval "$as_ac_var=no"
29724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29725 conftest$ac_exeext conftest.$ac_ext
29727 ac_res=`eval echo '${'$as_ac_var'}'`
29728 { echo "$as_me:$LINENO: result: $ac_res" >&5
29729 echo "${ECHO_T}$ac_res" >&6; }
29730 if test `eval echo '${'$as_ac_var'}'` = yes; then
29731 cat >>confdefs.h <<_ACEOF
29732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29741 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29742 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29744 AFMINSTALL=afminstall
29748 if test "$wxUSE_GPE" = "yes"; then
29749 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29750 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29753 for ac_dir in $SEARCH_LIB;
29755 for ac_extension in a so sl dylib dll.a; do
29756 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29757 ac_find_libraries=$ac_dir
29763 if test "$ac_find_libraries" != "" ; then
29765 if test "$ac_find_libraries" = "default location"; then
29768 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29770 if test $result = 0; then
29773 ac_path_to_link=" -L$ac_find_libraries"
29777 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29779 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29780 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29782 { echo "$as_me:$LINENO: result: not found" >&5
29783 echo "${ECHO_T}not found" >&6; }
29789 if test "$wxUSE_MGL" = 1; then
29790 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29791 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29792 if test "x$MGL_ROOT" = x ; then
29793 { echo "$as_me:$LINENO: result: not found" >&5
29794 echo "${ECHO_T}not found" >&6; }
29795 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29796 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29797 { (exit 1); exit 1; }; }
29799 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29800 echo "${ECHO_T}$MGL_ROOT" >&6; }
29803 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29804 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29807 if test "x$wxUSE_SHARED" = xyes ; then
29808 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29810 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29814 mgl_os_candidates="dos32/dj2"
29817 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29818 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29819 { (exit 1); exit 1; }; }
29825 for mgl_os_i in $mgl_os_candidates ; do
29826 if test "x$mgl_os" = x ; then
29827 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29828 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29829 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29834 if test "x$mgl_lib_type" = x ; then
29835 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29836 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29837 mgl_lib_type=release
29844 if test "x$mgl_os" = x ; then
29845 { echo "$as_me:$LINENO: result: not found" >&5
29846 echo "${ECHO_T}not found" >&6; }
29847 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29848 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29849 { (exit 1); exit 1; }; }
29851 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29852 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29854 wxUSE_UNIVERSAL="yes"
29856 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29857 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29859 AFMINSTALL=afminstall
29864 if test "$wxUSE_DFB" = 1; then
29867 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29868 if test -n "$ac_tool_prefix"; then
29869 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29870 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29873 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29876 case $PKG_CONFIG in
29878 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29882 for as_dir in $PATH
29885 test -z "$as_dir" && as_dir=.
29886 for ac_exec_ext in '' $ac_executable_extensions; do
29887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29888 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29899 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29900 if test -n "$PKG_CONFIG"; then
29901 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29902 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29904 { echo "$as_me:$LINENO: result: no" >&5
29905 echo "${ECHO_T}no" >&6; }
29910 if test -z "$ac_cv_path_PKG_CONFIG"; then
29911 ac_pt_PKG_CONFIG=$PKG_CONFIG
29912 # Extract the first word of "pkg-config", so it can be a program name with args.
29913 set dummy pkg-config; ac_word=$2
29914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29916 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29917 echo $ECHO_N "(cached) $ECHO_C" >&6
29919 case $ac_pt_PKG_CONFIG in
29921 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29925 for as_dir in $PATH
29928 test -z "$as_dir" && as_dir=.
29929 for ac_exec_ext in '' $ac_executable_extensions; do
29930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29931 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29942 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29943 if test -n "$ac_pt_PKG_CONFIG"; then
29944 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29945 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29947 { echo "$as_me:$LINENO: result: no" >&5
29948 echo "${ECHO_T}no" >&6; }
29951 if test "x$ac_pt_PKG_CONFIG" = x; then
29954 case $cross_compiling:$ac_tool_warned in
29956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29957 whose name does not start with the host triplet. If you think this
29958 configuration is useful to you, please write to autoconf@gnu.org." >&5
29959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29960 whose name does not start with the host triplet. If you think this
29961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29962 ac_tool_warned=yes ;;
29964 PKG_CONFIG=$ac_pt_PKG_CONFIG
29967 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29971 if test -n "$PKG_CONFIG"; then
29972 _pkg_min_version=0.9.0
29973 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29974 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29975 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29976 { echo "$as_me:$LINENO: result: yes" >&5
29977 echo "${ECHO_T}yes" >&6; }
29979 { echo "$as_me:$LINENO: result: no" >&5
29980 echo "${ECHO_T}no" >&6; }
29988 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29989 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29991 if test -n "$PKG_CONFIG"; then
29992 if test -n "$DIRECTFB_CFLAGS"; then
29993 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29995 if test -n "$PKG_CONFIG" && \
29996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29997 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; then
30001 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30009 if test -n "$PKG_CONFIG"; then
30010 if test -n "$DIRECTFB_LIBS"; then
30011 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30013 if test -n "$PKG_CONFIG" && \
30014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30015 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; then
30019 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30030 if test $pkg_failed = yes; then
30032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30033 _pkg_short_errors_supported=yes
30035 _pkg_short_errors_supported=no
30037 if test $_pkg_short_errors_supported = yes; then
30038 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30040 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30042 # Put the nasty error message in config.log where it belongs
30043 echo "$DIRECTFB_PKG_ERRORS" >&5
30046 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30047 echo "$as_me: error: DirectFB not found." >&2;}
30048 { (exit 1); exit 1; }; }
30051 elif test $pkg_failed = untried; then
30053 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30054 echo "$as_me: error: DirectFB not found." >&2;}
30055 { (exit 1); exit 1; }; }
30059 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30060 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30061 { echo "$as_me:$LINENO: result: yes" >&5
30062 echo "${ECHO_T}yes" >&6; }
30064 wxUSE_UNIVERSAL="yes"
30065 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30066 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30073 if test "$wxUSE_MICROWIN" = 1; then
30074 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30075 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30076 if test "x$MICROWINDOWS" = x ; then
30077 { echo "$as_me:$LINENO: result: not found" >&5
30078 echo "${ECHO_T}not found" >&6; }
30079 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30080 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30081 { (exit 1); exit 1; }; }
30083 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30084 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30087 if test -f $MICROWINDOWS/lib/libmwin.a; then
30088 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30089 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30091 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30092 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30093 { (exit 1); exit 1; }; }
30096 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30097 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30099 wxUSE_UNIVERSAL="yes"
30101 AFMINSTALL=afminstall
30103 GUIDIST=MICROWIN_DIST
30105 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30108 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30109 { echo "$as_me:$LINENO: checking for X" >&5
30110 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30113 # Check whether --with-x was given.
30114 if test "${with_x+set}" = set; then
30118 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30119 if test "x$with_x" = xno; then
30120 # The user explicitly disabled X.
30123 case $x_includes,$x_libraries in #(
30124 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30125 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30126 { (exit 1); exit 1; }; };; #(
30127 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30128 echo $ECHO_N "(cached) $ECHO_C" >&6
30130 # One or both of the vars are not set, and there is no cached value.
30131 ac_x_includes=no ac_x_libraries=no
30132 rm -f -r conftest.dir
30133 if mkdir conftest.dir; then
30135 cat >Imakefile <<'_ACEOF'
30137 @echo incroot='${INCROOT}'
30139 @echo usrlibdir='${USRLIBDIR}'
30141 @echo libdir='${LIBDIR}'
30143 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30144 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30145 for ac_var in incroot usrlibdir libdir; do
30146 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30148 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30149 for ac_extension in a so sl; do
30150 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30151 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30152 ac_im_usrlibdir=$ac_im_libdir; break
30155 # Screen out bogus values from the imake configuration. They are
30156 # bogus both because they are the default anyway, and because
30157 # using them would break gcc on systems where it needs fixed includes.
30158 case $ac_im_incroot in
30159 /usr/include) ac_x_includes= ;;
30160 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30162 case $ac_im_usrlibdir in
30163 /usr/lib | /lib) ;;
30164 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30168 rm -f -r conftest.dir
30171 # Standard set of common directories for X headers.
30172 # Check X11 before X11Rn because it is often a symlink to the current release.
30184 /usr
/local
/X
11/include
30185 /usr
/local
/X
11R
6/include
30186 /usr
/local
/X
11R
5/include
30187 /usr
/local
/X
11R
4/include
30189 /usr
/local
/include
/X11
30190 /usr
/local
/include
/X11R6
30191 /usr
/local
/include
/X11R5
30192 /usr
/local
/include
/X11R4
30196 /usr
/XFree
86/include
/X11
30200 /usr
/unsupported
/include
30201 /usr
/athena
/include
30202 /usr
/local
/x
11r
5/include
30203 /usr
/lpp
/Xamples
/include
30205 /usr
/openwin
/include
30206 /usr
/openwin
/share
/include
'
30208 if test "$ac_x_includes" = no; then
30209 # Guess where to find include files, by looking for Xlib.h.
30210 # First, try using that file with no special directory specified.
30211 cat >conftest.$ac_ext <<_ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217 #include <X11/Xlib.h>
30219 if { (ac_try="$ac_cpp conftest.$ac_ext"
30220 case "(($ac_try" in
30221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30222 *) ac_try_echo=$ac_try;;
30224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30227 grep -v '^
*+' conftest.er1 >conftest.err
30229 cat conftest.err >&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } >/dev/null && {
30232 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30233 test ! -s conftest.err
30235 # We can compile using X headers with no special include directory.
30238 echo "$as_me: failed program was:" >&5
30239 sed 's
/^
/| /' conftest.$ac_ext >&5
30241 for ac_dir in $ac_x_header_dirs; do
30242 if test -r "$ac_dir/X11/Xlib.h"; then
30243 ac_x_includes=$ac_dir
30249 rm -f conftest.err conftest.$ac_ext
30250 fi # $ac_x_includes = no
30252 if test "$ac_x_libraries" = no; then
30253 # Check for the libraries.
30254 # See if we find them without any special options.
30255 # Don't add to
$LIBS permanently.
30258 cat >conftest.
$ac_ext <<_ACEOF
30261 cat confdefs.h
>>conftest.
$ac_ext
30262 cat >>conftest.
$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 #include <X11/Xlib.h>
30273 rm -f conftest.
$ac_objext conftest
$ac_exeext
30274 if { (ac_try
="$ac_link"
30275 case "(($ac_try" in
30276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30277 *) ac_try_echo=$ac_try;;
30279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30280 (eval "$ac_link") 2>conftest.er1
30282 grep -v '^ *+' conftest.er1 >conftest.err
30284 cat conftest.err >&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); } && {
30287 test -z "$ac_c_werror_flag" ||
30288 test ! -s conftest.err
30289 } && test -s conftest$ac_exeext &&
30290 $as_test_x conftest$ac_exeext; then
30292 # We can link X programs with no special library path.
30295 echo "$as_me: failed program was:" >&5
30296 sed 's/^/| /' conftest.$ac_ext >&5
30299 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30301 # Don't even attempt the hair of trying to link an X program!
30302 for ac_extension in a so sl; do
30303 if test -r "$ac_dir/libX11.$ac_extension"; then
30304 ac_x_libraries=$ac_dir
30311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30312 conftest$ac_exeext conftest.$ac_ext
30313 fi # $ac_x_libraries = no
30315 case $ac_x_includes,$ac_x_libraries in #(
30316 no,* | *,no | *\'*)
30317 # Didn't find X, or a directory has "'" in its name.
30318 ac_cv_have_x="have_x=no";; #(
30320 # Record where we found X for the cache.
30321 ac_cv_have_x="have_x=yes\
30322 ac_x_includes='$ac_x_includes'\
30323 ac_x_libraries='$ac_x_libraries'"
30329 eval "$ac_cv_have_x"
30332 if test "$have_x" != yes; then
30333 { echo "$as_me:$LINENO: result: $have_x" >&5
30334 echo "${ECHO_T}$have_x" >&6; }
30337 # If each of the values was on the command line, it overrides each guess.
30338 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30339 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30340 # Update the cache value to reflect the command line values.
30341 ac_cv_have_x="have_x=yes\
30342 ac_x_includes='$x_includes'\
30343 ac_x_libraries='$x_libraries'"
30344 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30345 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30348 if test "$no_x" = yes; then
30349 # Not all programs may use this symbol, but it does not hurt to define it.
30351 cat >>confdefs.h <<\_ACEOF
30352 #define X_DISPLAY_MISSING 1
30355 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30357 if test -n "$x_includes"; then
30358 X_CFLAGS="$X_CFLAGS -I$x_includes"
30361 # It would also be nice to do this for all -L options, not just this one.
30362 if test -n "$x_libraries"; then
30363 X_LIBS="$X_LIBS -L$x_libraries"
30364 # For Solaris; some versions of Sun CC require a space after -R and
30365 # others require no space. Words are not sufficient . . . .
30366 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30367 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30368 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30369 ac_xsave_c_werror_flag=$ac_c_werror_flag
30370 ac_c_werror_flag=yes
30371 cat >conftest.$ac_ext <<_ACEOF
30374 cat confdefs.h >>conftest.$ac_ext
30375 cat >>conftest.$ac_ext <<_ACEOF
30376 /* end confdefs.h. */
30386 rm -f conftest.$ac_objext conftest$ac_exeext
30387 if { (ac_try="$ac_link"
30388 case "(($ac_try" in
30389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30390 *) ac_try_echo
=$ac_try;;
30392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30393 (eval "$ac_link") 2>conftest.er1
30395 grep -v '^ *+' conftest.er1
>conftest.err
30397 cat conftest.err
>&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } && {
30400 test -z "$ac_c_werror_flag" ||
30401 test ! -s conftest.err
30402 } && test -s conftest
$ac_exeext &&
30403 $as_test_x conftest
$ac_exeext; then
30404 { echo "$as_me:$LINENO: result: no" >&5
30405 echo "${ECHO_T}no" >&6; }
30406 X_LIBS
="$X_LIBS -R$x_libraries"
30408 echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.
$ac_ext >&5
30411 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30412 cat >conftest.
$ac_ext <<_ACEOF
30415 cat confdefs.h
>>conftest.
$ac_ext
30416 cat >>conftest.
$ac_ext <<_ACEOF
30417 /* end confdefs.h. */
30427 rm -f conftest.
$ac_objext conftest
$ac_exeext
30428 if { (ac_try
="$ac_link"
30429 case "(($ac_try" in
30430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30431 *) ac_try_echo=$ac_try;;
30433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30434 (eval "$ac_link") 2>conftest.er1
30436 grep -v '^ *+' conftest.er1 >conftest.err
30438 cat conftest.err >&5
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); } && {
30441 test -z "$ac_c_werror_flag" ||
30442 test ! -s conftest.err
30443 } && test -s conftest$ac_exeext &&
30444 $as_test_x conftest$ac_exeext; then
30445 { echo "$as_me:$LINENO: result: yes" >&5
30446 echo "${ECHO_T}yes" >&6; }
30447 X_LIBS="$X_LIBS -R $x_libraries"
30449 echo "$as_me: failed program was:" >&5
30450 sed 's/^/| /' conftest.$ac_ext >&5
30452 { echo "$as_me:$LINENO: result: neither works" >&5
30453 echo "${ECHO_T}neither works" >&6; }
30456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30457 conftest$ac_exeext conftest.$ac_ext
30460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30461 conftest$ac_exeext conftest.$ac_ext
30462 ac_c_werror_flag=$ac_xsave_c_werror_flag
30463 LIBS=$ac_xsave_LIBS
30466 # Check for system-dependent libraries X programs must link with.
30467 # Do this before checking for the system-independent R6 libraries
30468 # (-lICE), since we may need -lsocket or whatever for X linking.
30470 if test "$ISC" = yes; then
30471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30473 # Martyn Johnson says this is needed for Ultrix, if the X
30474 # libraries were built with DECnet support. And Karl Berry says
30475 # the Alpha needs dnet_stub (dnet does not exist).
30476 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30477 cat >conftest.$ac_ext <<_ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30484 /* Override any GCC internal prototype to avoid an error.
30485 Use char because int might match the return type of a GCC
30486 builtin and then its argument prototype would still apply. */
30490 char XOpenDisplay ();
30494 return XOpenDisplay ();
30499 rm -f conftest.$ac_objext conftest$ac_exeext
30500 if { (ac_try="$ac_link"
30501 case "(($ac_try" in
30502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30503 *) ac_try_echo
=$ac_try;;
30505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30506 (eval "$ac_link") 2>conftest.er1
30508 grep -v '^ *+' conftest.er1
>conftest.err
30510 cat conftest.err
>&5
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); } && {
30513 test -z "$ac_c_werror_flag" ||
30514 test ! -s conftest.err
30515 } && test -s conftest
$ac_exeext &&
30516 $as_test_x conftest
$ac_exeext; then
30519 echo "$as_me: failed program was:" >&5
30520 sed 's/^/| /' conftest.
$ac_ext >&5
30522 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30523 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30524 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30527 ac_check_lib_save_LIBS
=$LIBS
30528 LIBS
="-ldnet $LIBS"
30529 cat >conftest.
$ac_ext <<_ACEOF
30532 cat confdefs.h
>>conftest.
$ac_ext
30533 cat >>conftest.
$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30536 /* Override any GCC internal prototype to avoid an error.
30537 Use char because int might match the return type of a GCC
30538 builtin and then its argument prototype would still apply. */
30546 return dnet_ntoa ();
30551 rm -f conftest.
$ac_objext conftest
$ac_exeext
30552 if { (ac_try
="$ac_link"
30553 case "(($ac_try" in
30554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30555 *) ac_try_echo=$ac_try;;
30557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30558 (eval "$ac_link") 2>conftest.er1
30560 grep -v '^ *+' conftest.er1 >conftest.err
30562 cat conftest.err >&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } && {
30565 test -z "$ac_c_werror_flag" ||
30566 test ! -s conftest.err
30567 } && test -s conftest$ac_exeext &&
30568 $as_test_x conftest$ac_exeext; then
30569 ac_cv_lib_dnet_dnet_ntoa=yes
30571 echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30574 ac_cv_lib_dnet_dnet_ntoa=no
30577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30578 conftest$ac_exeext conftest.$ac_ext
30579 LIBS=$ac_check_lib_save_LIBS
30581 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30582 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30583 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30584 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30587 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30588 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30589 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30590 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30593 ac_check_lib_save_LIBS=$LIBS
30594 LIBS="-ldnet_stub $LIBS"
30595 cat >conftest.$ac_ext <<_ACEOF
30598 cat confdefs.h >>conftest.$ac_ext
30599 cat >>conftest.$ac_ext <<_ACEOF
30600 /* end confdefs.h. */
30602 /* Override any GCC internal prototype to avoid an error.
30603 Use char because int might match the return type of a GCC
30604 builtin and then its argument prototype would still apply. */
30612 return dnet_ntoa ();
30617 rm -f conftest.$ac_objext conftest$ac_exeext
30618 if { (ac_try="$ac_link"
30619 case "(($ac_try" in
30620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30621 *) ac_try_echo
=$ac_try;;
30623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30624 (eval "$ac_link") 2>conftest.er1
30626 grep -v '^ *+' conftest.er1
>conftest.err
30628 cat conftest.err
>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); } && {
30631 test -z "$ac_c_werror_flag" ||
30632 test ! -s conftest.err
30633 } && test -s conftest
$ac_exeext &&
30634 $as_test_x conftest
$ac_exeext; then
30635 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30637 echo "$as_me: failed program was:" >&5
30638 sed 's/^/| /' conftest.
$ac_ext >&5
30640 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30644 conftest
$ac_exeext conftest.
$ac_ext
30645 LIBS
=$ac_check_lib_save_LIBS
30647 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30648 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30649 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30657 conftest
$ac_exeext conftest.
$ac_ext
30658 LIBS
="$ac_xsave_LIBS"
30660 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30661 # to get the SysV transport functions.
30662 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30664 # The nsl library prevents programs from opening the X display
30665 # on Irix 5.2, according to T.E. Dickey.
30666 # The functions gethostbyname, getservbyname, and inet_addr are
30667 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30668 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30669 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30670 if test "${ac_cv_func_gethostbyname+set}" = set; then
30671 echo $ECHO_N "(cached) $ECHO_C" >&6
30673 cat >conftest.
$ac_ext <<_ACEOF
30676 cat confdefs.h
>>conftest.
$ac_ext
30677 cat >>conftest.
$ac_ext <<_ACEOF
30678 /* end confdefs.h. */
30679 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30681 #define gethostbyname innocuous_gethostbyname
30683 /* System header to define __stub macros and hopefully few prototypes,
30684 which can conflict with char gethostbyname (); below.
30685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30686 <limits.h> exists even on freestanding compilers. */
30689 # include <limits.h>
30691 # include <assert.h>
30694 #undef gethostbyname
30696 /* Override any GCC internal prototype to avoid an error.
30697 Use char because int might match the return type of a GCC
30698 builtin and then its argument prototype would still apply. */
30702 char gethostbyname ();
30703 /* The GNU C library defines this for functions which it implements
30704 to always fail with ENOSYS. Some functions are actually named
30705 something starting with __ and the normal name is an alias. */
30706 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30713 return gethostbyname ();
30718 rm -f conftest.
$ac_objext conftest
$ac_exeext
30719 if { (ac_try
="$ac_link"
30720 case "(($ac_try" in
30721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30722 *) ac_try_echo=$ac_try;;
30724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30725 (eval "$ac_link") 2>conftest.er1
30727 grep -v '^ *+' conftest.er1 >conftest.err
30729 cat conftest.err >&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } && {
30732 test -z "$ac_c_werror_flag" ||
30733 test ! -s conftest.err
30734 } && test -s conftest$ac_exeext &&
30735 $as_test_x conftest$ac_exeext; then
30736 ac_cv_func_gethostbyname=yes
30738 echo "$as_me: failed program was:" >&5
30739 sed 's/^/| /' conftest.$ac_ext >&5
30741 ac_cv_func_gethostbyname=no
30744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30745 conftest$ac_exeext conftest.$ac_ext
30747 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30748 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30750 if test $ac_cv_func_gethostbyname = no; then
30751 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30752 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30753 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30754 echo $ECHO_N "(cached) $ECHO_C" >&6
30756 ac_check_lib_save_LIBS=$LIBS
30758 cat >conftest.$ac_ext <<_ACEOF
30761 cat confdefs.h >>conftest.$ac_ext
30762 cat >>conftest.$ac_ext <<_ACEOF
30763 /* end confdefs.h. */
30765 /* Override any GCC internal prototype to avoid an error.
30766 Use char because int might match the return type of a GCC
30767 builtin and then its argument prototype would still apply. */
30771 char gethostbyname ();
30775 return gethostbyname ();
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (ac_try="$ac_link"
30782 case "(($ac_try" in
30783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30784 *) ac_try_echo
=$ac_try;;
30786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30787 (eval "$ac_link") 2>conftest.er1
30789 grep -v '^ *+' conftest.er1
>conftest.err
30791 cat conftest.err
>&5
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); } && {
30794 test -z "$ac_c_werror_flag" ||
30795 test ! -s conftest.err
30796 } && test -s conftest
$ac_exeext &&
30797 $as_test_x conftest
$ac_exeext; then
30798 ac_cv_lib_nsl_gethostbyname
=yes
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.
$ac_ext >&5
30803 ac_cv_lib_nsl_gethostbyname
=no
30806 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30807 conftest
$ac_exeext conftest.
$ac_ext
30808 LIBS
=$ac_check_lib_save_LIBS
30810 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30811 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30812 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30813 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30816 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30817 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30818 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30819 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30822 ac_check_lib_save_LIBS
=$LIBS
30824 cat >conftest.
$ac_ext <<_ACEOF
30827 cat confdefs.h
>>conftest.
$ac_ext
30828 cat >>conftest.
$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30831 /* Override any GCC internal prototype to avoid an error.
30832 Use char because int might match the return type of a GCC
30833 builtin and then its argument prototype would still apply. */
30837 char gethostbyname ();
30841 return gethostbyname ();
30846 rm -f conftest.
$ac_objext conftest
$ac_exeext
30847 if { (ac_try
="$ac_link"
30848 case "(($ac_try" in
30849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30850 *) ac_try_echo=$ac_try;;
30852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30853 (eval "$ac_link") 2>conftest.er1
30855 grep -v '^ *+' conftest.er1 >conftest.err
30857 cat conftest.err >&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); } && {
30860 test -z "$ac_c_werror_flag" ||
30861 test ! -s conftest.err
30862 } && test -s conftest$ac_exeext &&
30863 $as_test_x conftest$ac_exeext; then
30864 ac_cv_lib_bsd_gethostbyname=yes
30866 echo "$as_me: failed program was:" >&5
30867 sed 's/^/| /' conftest.$ac_ext >&5
30869 ac_cv_lib_bsd_gethostbyname=no
30872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30873 conftest$ac_exeext conftest.$ac_ext
30874 LIBS=$ac_check_lib_save_LIBS
30876 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30877 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30878 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30885 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30886 # socket/setsockopt and other routines are undefined under SCO ODT
30887 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30888 # on later versions), says Simon Leinen: it contains gethostby*
30889 # variants that don't use the name server (or something). -lsocket
30890 # must be given before -lnsl if both are needed. We assume that
30891 # if connect needs -lnsl, so does gethostbyname.
30892 { echo "$as_me:$LINENO: checking for connect" >&5
30893 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30894 if test "${ac_cv_func_connect+set}" = set; then
30895 echo $ECHO_N "(cached) $ECHO_C" >&6
30897 cat >conftest.$ac_ext <<_ACEOF
30900 cat confdefs.h >>conftest.$ac_ext
30901 cat >>conftest.$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30903 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30905 #define connect innocuous_connect
30907 /* System header to define __stub macros and hopefully few prototypes,
30908 which can conflict with char connect (); below.
30909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30910 <limits.h> exists even on freestanding compilers. */
30913 # include <limits.h>
30915 # include <assert.h>
30920 /* Override any GCC internal prototype to avoid an error.
30921 Use char because int might match the return type of a GCC
30922 builtin and then its argument prototype would still apply. */
30927 /* The GNU C library defines this for functions which it implements
30928 to always fail with ENOSYS. Some functions are actually named
30929 something starting with __ and the normal name is an alias. */
30930 #if defined __stub_connect || defined __stub___connect
30942 rm -f conftest.$ac_objext conftest$ac_exeext
30943 if { (ac_try="$ac_link"
30944 case "(($ac_try" in
30945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30946 *) ac_try_echo
=$ac_try;;
30948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30949 (eval "$ac_link") 2>conftest.er1
30951 grep -v '^ *+' conftest.er1
>conftest.err
30953 cat conftest.err
>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } && {
30956 test -z "$ac_c_werror_flag" ||
30957 test ! -s conftest.err
30958 } && test -s conftest
$ac_exeext &&
30959 $as_test_x conftest
$ac_exeext; then
30960 ac_cv_func_connect
=yes
30962 echo "$as_me: failed program was:" >&5
30963 sed 's/^/| /' conftest.
$ac_ext >&5
30965 ac_cv_func_connect
=no
30968 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30969 conftest
$ac_exeext conftest.
$ac_ext
30971 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30972 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30974 if test $ac_cv_func_connect = no
; then
30975 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30976 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30977 if test "${ac_cv_lib_socket_connect+set}" = set; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 ac_check_lib_save_LIBS
=$LIBS
30981 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30982 cat >conftest.
$ac_ext <<_ACEOF
30985 cat confdefs.h
>>conftest.
$ac_ext
30986 cat >>conftest.
$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30989 /* Override any GCC internal prototype to avoid an error.
30990 Use char because int might match the return type of a GCC
30991 builtin and then its argument prototype would still apply. */
31004 rm -f conftest.
$ac_objext conftest
$ac_exeext
31005 if { (ac_try
="$ac_link"
31006 case "(($ac_try" in
31007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31008 *) ac_try_echo=$ac_try;;
31010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31011 (eval "$ac_link") 2>conftest.er1
31013 grep -v '^ *+' conftest.er1 >conftest.err
31015 cat conftest.err >&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); } && {
31018 test -z "$ac_c_werror_flag" ||
31019 test ! -s conftest.err
31020 } && test -s conftest$ac_exeext &&
31021 $as_test_x conftest$ac_exeext; then
31022 ac_cv_lib_socket_connect=yes
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31027 ac_cv_lib_socket_connect=no
31030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31031 conftest$ac_exeext conftest.$ac_ext
31032 LIBS=$ac_check_lib_save_LIBS
31034 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31035 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31036 if test $ac_cv_lib_socket_connect = yes; then
31037 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31042 # Guillermo Gomez says -lposix is necessary on A/UX.
31043 { echo "$as_me:$LINENO: checking for remove" >&5
31044 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31045 if test "${ac_cv_func_remove+set}" = set; then
31046 echo $ECHO_N "(cached) $ECHO_C" >&6
31048 cat >conftest.$ac_ext <<_ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31054 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31056 #define remove innocuous_remove
31058 /* System header to define __stub macros and hopefully few prototypes,
31059 which can conflict with char remove (); below.
31060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31061 <limits.h> exists even on freestanding compilers. */
31064 # include <limits.h>
31066 # include <assert.h>
31071 /* Override any GCC internal prototype to avoid an error.
31072 Use char because int might match the return type of a GCC
31073 builtin and then its argument prototype would still apply. */
31078 /* The GNU C library defines this for functions which it implements
31079 to always fail with ENOSYS. Some functions are actually named
31080 something starting with __ and the normal name is an alias. */
31081 #if defined __stub_remove || defined __stub___remove
31093 rm -f conftest.$ac_objext conftest$ac_exeext
31094 if { (ac_try="$ac_link"
31095 case "(($ac_try" in
31096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31097 *) ac_try_echo
=$ac_try;;
31099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31100 (eval "$ac_link") 2>conftest.er1
31102 grep -v '^ *+' conftest.er1
>conftest.err
31104 cat conftest.err
>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } && {
31107 test -z "$ac_c_werror_flag" ||
31108 test ! -s conftest.err
31109 } && test -s conftest
$ac_exeext &&
31110 $as_test_x conftest
$ac_exeext; then
31111 ac_cv_func_remove
=yes
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.
$ac_ext >&5
31116 ac_cv_func_remove
=no
31119 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31120 conftest
$ac_exeext conftest.
$ac_ext
31122 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31123 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31125 if test $ac_cv_func_remove = no
; then
31126 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31127 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31128 if test "${ac_cv_lib_posix_remove+set}" = set; then
31129 echo $ECHO_N "(cached) $ECHO_C" >&6
31131 ac_check_lib_save_LIBS
=$LIBS
31132 LIBS
="-lposix $LIBS"
31133 cat >conftest.
$ac_ext <<_ACEOF
31136 cat confdefs.h
>>conftest.
$ac_ext
31137 cat >>conftest.
$ac_ext <<_ACEOF
31138 /* end confdefs.h. */
31140 /* Override any GCC internal prototype to avoid an error.
31141 Use char because int might match the return type of a GCC
31142 builtin and then its argument prototype would still apply. */
31155 rm -f conftest.
$ac_objext conftest
$ac_exeext
31156 if { (ac_try
="$ac_link"
31157 case "(($ac_try" in
31158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_link") 2>conftest.er1
31164 grep -v '^ *+' conftest.er1 >conftest.err
31166 cat conftest.err >&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } && {
31169 test -z "$ac_c_werror_flag" ||
31170 test ! -s conftest.err
31171 } && test -s conftest$ac_exeext &&
31172 $as_test_x conftest$ac_exeext; then
31173 ac_cv_lib_posix_remove=yes
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.$ac_ext >&5
31178 ac_cv_lib_posix_remove=no
31181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31182 conftest$ac_exeext conftest.$ac_ext
31183 LIBS=$ac_check_lib_save_LIBS
31185 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31186 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31187 if test $ac_cv_lib_posix_remove = yes; then
31188 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31193 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31194 { echo "$as_me:$LINENO: checking for shmat" >&5
31195 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31196 if test "${ac_cv_func_shmat+set}" = set; then
31197 echo $ECHO_N "(cached) $ECHO_C" >&6
31199 cat >conftest.$ac_ext <<_ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h. */
31205 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31207 #define shmat innocuous_shmat
31209 /* System header to define __stub macros and hopefully few prototypes,
31210 which can conflict with char shmat (); below.
31211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31212 <limits.h> exists even on freestanding compilers. */
31215 # include <limits.h>
31217 # include <assert.h>
31222 /* Override any GCC internal prototype to avoid an error.
31223 Use char because int might match the return type of a GCC
31224 builtin and then its argument prototype would still apply. */
31229 /* The GNU C library defines this for functions which it implements
31230 to always fail with ENOSYS. Some functions are actually named
31231 something starting with __ and the normal name is an alias. */
31232 #if defined __stub_shmat || defined __stub___shmat
31244 rm -f conftest.$ac_objext conftest$ac_exeext
31245 if { (ac_try="$ac_link"
31246 case "(($ac_try" in
31247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31248 *) ac_try_echo
=$ac_try;;
31250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31251 (eval "$ac_link") 2>conftest.er1
31253 grep -v '^ *+' conftest.er1
>conftest.err
31255 cat conftest.err
>&5
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); } && {
31258 test -z "$ac_c_werror_flag" ||
31259 test ! -s conftest.err
31260 } && test -s conftest
$ac_exeext &&
31261 $as_test_x conftest
$ac_exeext; then
31262 ac_cv_func_shmat
=yes
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.
$ac_ext >&5
31267 ac_cv_func_shmat
=no
31270 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31271 conftest
$ac_exeext conftest.
$ac_ext
31273 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31274 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31276 if test $ac_cv_func_shmat = no
; then
31277 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31278 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31279 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31282 ac_check_lib_save_LIBS
=$LIBS
31284 cat >conftest.
$ac_ext <<_ACEOF
31287 cat confdefs.h
>>conftest.
$ac_ext
31288 cat >>conftest.
$ac_ext <<_ACEOF
31289 /* end confdefs.h. */
31291 /* Override any GCC internal prototype to avoid an error.
31292 Use char because int might match the return type of a GCC
31293 builtin and then its argument prototype would still apply. */
31306 rm -f conftest.
$ac_objext conftest
$ac_exeext
31307 if { (ac_try
="$ac_link"
31308 case "(($ac_try" in
31309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31310 *) ac_try_echo=$ac_try;;
31312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31313 (eval "$ac_link") 2>conftest.er1
31315 grep -v '^ *+' conftest.er1 >conftest.err
31317 cat conftest.err >&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } && {
31320 test -z "$ac_c_werror_flag" ||
31321 test ! -s conftest.err
31322 } && test -s conftest$ac_exeext &&
31323 $as_test_x conftest$ac_exeext; then
31324 ac_cv_lib_ipc_shmat=yes
31326 echo "$as_me: failed program was:" >&5
31327 sed 's/^/| /' conftest.$ac_ext >&5
31329 ac_cv_lib_ipc_shmat=no
31332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31333 conftest$ac_exeext conftest.$ac_ext
31334 LIBS=$ac_check_lib_save_LIBS
31336 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31337 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31338 if test $ac_cv_lib_ipc_shmat = yes; then
31339 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31345 # Check for libraries that X11R6 Xt/Xaw programs need.
31346 ac_save_LDFLAGS=$LDFLAGS
31347 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31348 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31349 # check for ICE first), but we must link in the order -lSM -lICE or
31350 # we get undefined symbols. So assume we have SM if we have ICE.
31351 # These have to be linked with before -lX11, unlike the other
31352 # libraries we check for below, so use a different variable.
31353 # John Interrante, Karl Berry
31354 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31355 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31356 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31357 echo $ECHO_N "(cached) $ECHO_C" >&6
31359 ac_check_lib_save_LIBS=$LIBS
31360 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31361 cat >conftest.$ac_ext <<_ACEOF
31364 cat confdefs.h >>conftest.$ac_ext
31365 cat >>conftest.$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31368 /* Override any GCC internal prototype to avoid an error.
31369 Use char because int might match the return type of a GCC
31370 builtin and then its argument prototype would still apply. */
31374 char IceConnectionNumber ();
31378 return IceConnectionNumber ();
31383 rm -f conftest.$ac_objext conftest$ac_exeext
31384 if { (ac_try="$ac_link"
31385 case "(($ac_try" in
31386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31387 *) ac_try_echo
=$ac_try;;
31389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31390 (eval "$ac_link") 2>conftest.er1
31392 grep -v '^ *+' conftest.er1
>conftest.err
31394 cat conftest.err
>&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } && {
31397 test -z "$ac_c_werror_flag" ||
31398 test ! -s conftest.err
31399 } && test -s conftest
$ac_exeext &&
31400 $as_test_x conftest
$ac_exeext; then
31401 ac_cv_lib_ICE_IceConnectionNumber
=yes
31403 echo "$as_me: failed program was:" >&5
31404 sed 's/^/| /' conftest.
$ac_ext >&5
31406 ac_cv_lib_ICE_IceConnectionNumber
=no
31409 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31410 conftest
$ac_exeext conftest.
$ac_ext
31411 LIBS
=$ac_check_lib_save_LIBS
31413 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31414 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31415 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31416 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31419 LDFLAGS
=$ac_save_LDFLAGS
31424 if test "$no_x" = "yes"; then
31425 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31426 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31427 { (exit 1); exit 1; }; }
31430 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31431 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31432 AFMINSTALL
=afminstall
31433 COMPILED_X_PROGRAM
=0
31437 if test "$wxUSE_X11" = 1; then
31438 if test "$wxUSE_NANOX" = "yes"; then
31439 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31440 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31441 if test "x$MICROWIN" = x
; then
31442 { echo "$as_me:$LINENO: result: not found" >&5
31443 echo "${ECHO_T}not found" >&6; }
31444 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31445 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31446 { (exit 1); exit 1; }; }
31448 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31449 echo "${ECHO_T}$MICROWIN" >&6; }
31450 cat >>confdefs.h
<<\_ACEOF
31451 #define wxUSE_NANOX 1
31457 if test "$wxUSE_UNICODE" = "yes"; then
31460 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31461 if test -n "$ac_tool_prefix"; then
31462 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31463 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31466 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31467 echo $ECHO_N "(cached) $ECHO_C" >&6
31469 case $PKG_CONFIG in
31471 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31475 for as_dir
in $PATH
31478 test -z "$as_dir" && as_dir
=.
31479 for ac_exec_ext
in '' $ac_executable_extensions; do
31480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31481 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31492 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31493 if test -n "$PKG_CONFIG"; then
31494 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31495 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31497 { echo "$as_me:$LINENO: result: no" >&5
31498 echo "${ECHO_T}no" >&6; }
31503 if test -z "$ac_cv_path_PKG_CONFIG"; then
31504 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31505 # Extract the first word of "pkg-config", so it can be a program name with args.
31506 set dummy pkg
-config; ac_word
=$2
31507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31509 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31512 case $ac_pt_PKG_CONFIG in
31514 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31518 for as_dir
in $PATH
31521 test -z "$as_dir" && as_dir
=.
31522 for ac_exec_ext
in '' $ac_executable_extensions; do
31523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31524 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31535 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31536 if test -n "$ac_pt_PKG_CONFIG"; then
31537 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31538 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31540 { echo "$as_me:$LINENO: result: no" >&5
31541 echo "${ECHO_T}no" >&6; }
31544 if test "x$ac_pt_PKG_CONFIG" = x
; then
31547 case $cross_compiling:$ac_tool_warned in
31549 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31550 whose name does not start with the host triplet. If you think this
31551 configuration is useful to you, please write to autoconf@gnu.org." >&5
31552 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31553 whose name does not start with the host triplet. If you think this
31554 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31555 ac_tool_warned
=yes ;;
31557 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31560 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31564 if test -n "$PKG_CONFIG"; then
31565 _pkg_min_version
=0.9.0
31566 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31567 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31568 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31569 { echo "$as_me:$LINENO: result: yes" >&5
31570 echo "${ECHO_T}yes" >&6; }
31572 { echo "$as_me:$LINENO: result: no" >&5
31573 echo "${ECHO_T}no" >&6; }
31581 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31582 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31584 if test -n "$PKG_CONFIG"; then
31585 if test -n "$PANGOX_CFLAGS"; then
31586 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31588 if test -n "$PKG_CONFIG" && \
31589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31590 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); }; then
31594 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31602 if test -n "$PKG_CONFIG"; then
31603 if test -n "$PANGOX_LIBS"; then
31604 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31606 if test -n "$PKG_CONFIG" && \
31607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31608 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; then
31612 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31623 if test $pkg_failed = yes; then
31625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31626 _pkg_short_errors_supported
=yes
31628 _pkg_short_errors_supported
=no
31630 if test $_pkg_short_errors_supported = yes; then
31631 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31633 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31635 # Put the nasty error message in config.log where it belongs
31636 echo "$PANGOX_PKG_ERRORS" >&5
31639 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31640 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31641 { (exit 1); exit 1; }; }
31644 elif test $pkg_failed = untried
; then
31646 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31647 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31648 { (exit 1); exit 1; }; }
31652 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31653 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31654 { echo "$as_me:$LINENO: result: yes" >&5
31655 echo "${ECHO_T}yes" >&6; }
31657 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31658 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31659 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31664 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31665 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31667 if test -n "$PKG_CONFIG"; then
31668 if test -n "$PANGOFT2_CFLAGS"; then
31669 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31671 if test -n "$PKG_CONFIG" && \
31672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31673 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); }; then
31677 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31685 if test -n "$PKG_CONFIG"; then
31686 if test -n "$PANGOFT2_LIBS"; then
31687 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31689 if test -n "$PKG_CONFIG" && \
31690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31691 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; then
31695 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31706 if test $pkg_failed = yes; then
31708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31709 _pkg_short_errors_supported
=yes
31711 _pkg_short_errors_supported
=no
31713 if test $_pkg_short_errors_supported = yes; then
31714 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31716 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31718 # Put the nasty error message in config.log where it belongs
31719 echo "$PANGOFT2_PKG_ERRORS" >&5
31722 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31723 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31724 wxUSE_PRINTING_ARCHITECTURE
="no"
31727 elif test $pkg_failed = untried
; then
31729 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31730 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31731 wxUSE_PRINTING_ARCHITECTURE
="no"
31735 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31736 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31737 { echo "$as_me:$LINENO: result: yes" >&5
31738 echo "${ECHO_T}yes" >&6; }
31740 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31741 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31742 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31747 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31748 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31750 if test -n "$PKG_CONFIG"; then
31751 if test -n "$PANGOXFT_CFLAGS"; then
31752 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31754 if test -n "$PKG_CONFIG" && \
31755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31756 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; then
31760 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31768 if test -n "$PKG_CONFIG"; then
31769 if test -n "$PANGOXFT_LIBS"; then
31770 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31772 if test -n "$PKG_CONFIG" && \
31773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31774 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; then
31778 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31789 if test $pkg_failed = yes; then
31791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31792 _pkg_short_errors_supported
=yes
31794 _pkg_short_errors_supported
=no
31796 if test $_pkg_short_errors_supported = yes; then
31797 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31799 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31801 # Put the nasty error message in config.log where it belongs
31802 echo "$PANGOXFT_PKG_ERRORS" >&5
31805 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31806 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31809 elif test $pkg_failed = untried
; then
31811 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31812 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31816 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31817 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31818 { echo "$as_me:$LINENO: result: yes" >&5
31819 echo "${ECHO_T}yes" >&6; }
31821 cat >>confdefs.h
<<\_ACEOF
31822 #define HAVE_PANGO_XFT 1
31825 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31826 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31827 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31831 LIBS
="$LIBS $PANGOX_LIBS"
31833 for ac_func
in pango_font_family_is_monospace
31835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31838 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31839 echo $ECHO_N "(cached) $ECHO_C" >&6
31841 cat >conftest.
$ac_ext <<_ACEOF
31844 cat confdefs.h
>>conftest.
$ac_ext
31845 cat >>conftest.
$ac_ext <<_ACEOF
31846 /* end confdefs.h. */
31847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31849 #define $ac_func innocuous_$ac_func
31851 /* System header to define __stub macros and hopefully few prototypes,
31852 which can conflict with char $ac_func (); below.
31853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31854 <limits.h> exists even on freestanding compilers. */
31857 # include <limits.h>
31859 # include <assert.h>
31864 /* Override any GCC internal prototype to avoid an error.
31865 Use char because int might match the return type of a GCC
31866 builtin and then its argument prototype would still apply. */
31871 /* The GNU C library defines this for functions which it implements
31872 to always fail with ENOSYS. Some functions are actually named
31873 something starting with __ and the normal name is an alias. */
31874 #if defined __stub_$ac_func || defined __stub___$ac_func
31881 return $ac_func ();
31886 rm -f conftest.
$ac_objext conftest
$ac_exeext
31887 if { (ac_try
="$ac_link"
31888 case "(($ac_try" in
31889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31890 *) ac_try_echo=$ac_try;;
31892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893 (eval "$ac_link") 2>conftest.er1
31895 grep -v '^ *+' conftest.er1 >conftest.err
31897 cat conftest.err >&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } && {
31900 test -z "$ac_c_werror_flag" ||
31901 test ! -s conftest.err
31902 } && test -s conftest$ac_exeext &&
31903 $as_test_x conftest$ac_exeext; then
31904 eval "$as_ac_var=yes"
31906 echo "$as_me: failed program was:" >&5
31907 sed 's/^/| /' conftest.$ac_ext >&5
31909 eval "$as_ac_var=no"
31912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31913 conftest$ac_exeext conftest.$ac_ext
31915 ac_res=`eval echo '${'$as_ac_var'}'`
31916 { echo "$as_me:$LINENO: result: $ac_res" >&5
31917 echo "${ECHO_T}$ac_res" >&6; }
31918 if test `eval echo '${'$as_ac_var'}'` = yes; then
31919 cat >>confdefs.h <<_ACEOF
31920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31929 wxUSE_UNIVERSAL="yes"
31931 if test "$wxUSE_NANOX" = "yes"; then
31932 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31933 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"
31934 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31936 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31943 if test "$wxUSE_MOTIF" = 1; then
31944 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31945 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31948 for ac_dir in $SEARCH_INCLUDE /usr/include;
31950 if test -f "$ac_dir/Xm/Xm.h"; then
31951 ac_find_includes=$ac_dir
31956 if test "$ac_find_includes" != "" ; then
31957 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31958 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31960 if test "x$ac_find_includes" = "x/usr/include"; then
31961 ac_path_to_include=""
31963 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31965 if test $result = 0; then
31966 ac_path_to_include=""
31968 ac_path_to_include=" -I$ac_find_includes"
31972 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31974 save_CFLAGS=$CFLAGS
31975 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31977 cat >conftest.$ac_ext <<_ACEOF
31980 cat confdefs.h >>conftest.$ac_ext
31981 cat >>conftest.$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31991 version = xmUseVersion;
31997 rm -f conftest.$ac_objext
31998 if { (ac_try="$ac_compile"
31999 case "(($ac_try" in
32000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32001 *) ac_try_echo
=$ac_try;;
32003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32004 (eval "$ac_compile") 2>conftest.er1
32006 grep -v '^ *+' conftest.er1
>conftest.err
32008 cat conftest.err
>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); } && {
32011 test -z "$ac_c_werror_flag" ||
32012 test ! -s conftest.err
32013 } && test -s conftest.
$ac_objext; then
32015 { echo "$as_me:$LINENO: result: found in default search path" >&5
32016 echo "${ECHO_T}found in default search path" >&6; }
32017 COMPILED_X_PROGRAM
=1
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.
$ac_ext >&5
32024 { echo "$as_me:$LINENO: result: no" >&5
32025 echo "${ECHO_T}no" >&6; }
32026 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32027 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32028 { (exit 1); exit 1; }; }
32033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32035 CFLAGS
=$save_CFLAGS
32039 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32040 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32043 for ac_dir
in $SEARCH_LIB;
32045 for ac_extension
in a so sl dylib dll.a
; do
32046 if test -f "$ac_dir/libXm.$ac_extension"; then
32047 ac_find_libraries
=$ac_dir
32054 if test "x$ac_find_libraries" != "x" ; then
32055 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32056 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32059 if test "$ac_find_libraries" = "default location"; then
32062 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32064 if test $result = 0; then
32067 ac_path_to_link
=" -L$ac_find_libraries"
32071 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32073 save_CFLAGS
=$CFLAGS
32074 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32076 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32078 cat >conftest.
$ac_ext <<_ACEOF
32081 cat confdefs.h
>>conftest.
$ac_ext
32082 cat >>conftest.
$ac_ext <<_ACEOF
32083 /* end confdefs.h. */
32092 version = xmUseVersion;
32098 rm -f conftest.
$ac_objext conftest
$ac_exeext
32099 if { (ac_try
="$ac_link"
32100 case "(($ac_try" in
32101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32102 *) ac_try_echo=$ac_try;;
32104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32105 (eval "$ac_link") 2>conftest.er1
32107 grep -v '^ *+' conftest.er1 >conftest.err
32109 cat conftest.err >&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); } && {
32112 test -z "$ac_c_werror_flag" ||
32113 test ! -s conftest.err
32114 } && test -s conftest$ac_exeext &&
32115 $as_test_x conftest$ac_exeext; then
32117 { echo "$as_me:$LINENO: result: found in default search path" >&5
32118 echo "${ECHO_T}found in default search path" >&6; }
32119 COMPILED_X_PROGRAM=1
32122 echo "$as_me: failed program was:" >&5
32123 sed 's/^/| /' conftest.$ac_ext >&5
32126 { echo "$as_me:$LINENO: result: no" >&5
32127 echo "${ECHO_T}no" >&6; }
32128 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32129 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32130 { (exit 1); exit 1; }; }
32135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32136 conftest$ac_exeext conftest.$ac_ext
32138 CFLAGS=$save_CFLAGS
32142 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32143 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32147 for libp in "" " -lXp"; do
32148 if test "$libs_found" = 0; then
32149 for libsm_ice in "" " -lSM -lICE"; do
32150 if test "$libs_found" = 0; then
32152 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32153 save_CFLAGS=$CFLAGS
32154 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32156 cat >conftest.$ac_ext <<_ACEOF
32159 cat confdefs.h >>conftest.$ac_ext
32160 cat >>conftest.$ac_ext <<_ACEOF
32161 /* end confdefs.h. */
32164 #include <Xm/List.h>
32170 XmString string = NULL;
32173 XmListAddItem(w, string, position);
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
32199 libsm_ice_link
="$libsm_ice"
32200 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32201 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32205 echo "$as_me: failed program was:" >&5
32206 sed 's/^/| /' conftest.
$ac_ext >&5
32212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32213 conftest
$ac_exeext conftest.
$ac_ext
32216 CFLAGS
=$save_CFLAGS
32222 if test "$libs_found" = 0; then
32223 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32224 echo "${ECHO_T}can't find the right libraries" >&6; }
32225 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32226 echo "$as_me: error: can't link a simple motif program" >&2;}
32227 { (exit 1); exit 1; }; }
32230 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32231 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32232 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32233 echo $ECHO_N "(cached) $ECHO_C" >&6
32235 ac_check_lib_save_LIBS
=$LIBS
32237 cat >conftest.
$ac_ext <<_ACEOF
32240 cat confdefs.h
>>conftest.
$ac_ext
32241 cat >>conftest.
$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32244 /* Override any GCC internal prototype to avoid an error.
32245 Use char because int might match the return type of a GCC
32246 builtin and then its argument prototype would still apply. */
32250 char SgCreateList ();
32254 return SgCreateList ();
32259 rm -f conftest.
$ac_objext conftest
$ac_exeext
32260 if { (ac_try
="$ac_link"
32261 case "(($ac_try" in
32262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32263 *) ac_try_echo=$ac_try;;
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_link") 2>conftest.er1
32268 grep -v '^ *+' conftest.er1 >conftest.err
32270 cat conftest.err >&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } && {
32273 test -z "$ac_c_werror_flag" ||
32274 test ! -s conftest.err
32275 } && test -s conftest$ac_exeext &&
32276 $as_test_x conftest$ac_exeext; then
32277 ac_cv_lib_Sgm_SgCreateList=yes
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.$ac_ext >&5
32282 ac_cv_lib_Sgm_SgCreateList=no
32285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32286 conftest$ac_exeext conftest.$ac_ext
32287 LIBS=$ac_check_lib_save_LIBS
32289 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32290 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32291 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32292 libsgm_link=" -lSgm"
32296 save_CFLAGS=$CFLAGS
32297 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32299 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32300 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32301 if test "${wx_cv_lib_motif2+set}" = set; then
32302 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 cat >conftest.$ac_ext <<_ACEOF
32307 cat confdefs.h >>conftest.$ac_ext
32308 cat >>conftest.$ac_ext <<_ACEOF
32309 /* end confdefs.h. */
32317 #if XmVersion < 2000
32325 rm -f conftest.$ac_objext
32326 if { (ac_try="$ac_compile"
32327 case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32329 *) ac_try_echo
=$ac_try;;
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_compile") 2>conftest.er1
32334 grep -v '^ *+' conftest.er1
>conftest.err
32336 cat conftest.err
>&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); } && {
32339 test -z "$ac_c_werror_flag" ||
32340 test ! -s conftest.err
32341 } && test -s conftest.
$ac_objext; then
32342 wx_cv_lib_motif2
="yes"
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.
$ac_ext >&5
32347 wx_cv_lib_motif2
="no"
32350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32352 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32353 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32354 if test "$wx_cv_lib_motif2" = "yes"; then
32355 cat >>confdefs.h
<<\_ACEOF
32356 #define __WXMOTIF20__ 1
32360 cat >>confdefs.h
<<\_ACEOF
32361 #define __WXMOTIF20__ 0
32366 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32367 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32368 if test "${wx_cv_lib_lesstif+set}" = set; then
32369 echo $ECHO_N "(cached) $ECHO_C" >&6
32371 cat >conftest.
$ac_ext <<_ACEOF
32374 cat confdefs.h
>>conftest.
$ac_ext
32375 cat >>conftest.
$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32384 #if !defined(LesstifVersion) || LesstifVersion <= 0
32392 rm -f conftest.
$ac_objext
32393 if { (ac_try
="$ac_compile"
32394 case "(($ac_try" in
32395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32396 *) ac_try_echo=$ac_try;;
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_compile") 2>conftest.er1
32401 grep -v '^ *+' conftest.er1 >conftest.err
32403 cat conftest.err >&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } && {
32406 test -z "$ac_c_werror_flag" ||
32407 test ! -s conftest.err
32408 } && test -s conftest.$ac_objext; then
32409 wx_cv_lib_lesstif="yes"
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.$ac_ext >&5
32414 wx_cv_lib_lesstif="no"
32417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32420 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32421 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32422 if test "$wx_cv_lib_lesstif" = "yes"; then
32423 cat >>confdefs.h <<\_ACEOF
32424 #define __WXLESSTIF__ 1
32428 cat >>confdefs.h <<\_ACEOF
32429 #define __WXLESSTIF__ 0
32434 CFLAGS=$save_CFLAGS
32436 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32441 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32442 if test "$wxUSE_LIBXPM" = "sys"; then
32443 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32444 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32447 for ac_dir in $SEARCH_LIB;
32449 for ac_extension in a so sl dylib dll.a; do
32450 if test -f "$ac_dir/libXpm.$ac_extension"; then
32451 ac_find_libraries=$ac_dir
32457 if test "$ac_find_libraries" != "" ; then
32459 if test "$ac_find_libraries" = "default location"; then
32462 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32464 if test $result = 0; then
32467 ac_path_to_link=" -L$ac_find_libraries"
32471 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32472 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32473 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32475 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32476 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32477 if test "${wx_cv_x11_xpm_h+set}" = set; then
32478 echo $ECHO_N "(cached) $ECHO_C" >&6
32481 save_CFLAGS=$CFLAGS
32482 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32484 cat >conftest.$ac_ext <<_ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32491 #include <X11/xpm.h>
32498 version = XpmLibraryVersion();
32504 rm -f conftest.$ac_objext
32505 if { (ac_try="$ac_compile"
32506 case "(($ac_try" in
32507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32508 *) ac_try_echo
=$ac_try;;
32510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32511 (eval "$ac_compile") 2>conftest.er1
32513 grep -v '^ *+' conftest.er1
>conftest.err
32515 cat conftest.err
>&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); } && {
32518 test -z "$ac_c_werror_flag" ||
32519 test ! -s conftest.err
32520 } && test -s conftest.
$ac_objext; then
32521 wx_cv_x11_xpm_h
=yes
32523 echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.
$ac_ext >&5
32530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32532 CFLAGS
=$save_CFLAGS
32536 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32537 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32539 if test $wx_cv_x11_xpm_h = "yes"; then
32540 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32541 cat >>confdefs.h
<<\_ACEOF
32542 #define wxHAVE_LIB_XPM 1
32546 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32547 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32553 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32554 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32555 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32556 echo $ECHO_N "(cached) $ECHO_C" >&6
32558 ac_check_lib_save_LIBS
=$LIBS
32559 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32560 cat >conftest.
$ac_ext <<_ACEOF
32563 cat confdefs.h
>>conftest.
$ac_ext
32564 cat >>conftest.
$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32567 /* Override any GCC internal prototype to avoid an error.
32568 Use char because int might match the return type of a GCC
32569 builtin and then its argument prototype would still apply. */
32573 char XShapeQueryExtension ();
32577 return XShapeQueryExtension ();
32582 rm -f conftest.
$ac_objext conftest
$ac_exeext
32583 if { (ac_try
="$ac_link"
32584 case "(($ac_try" in
32585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32586 *) ac_try_echo=$ac_try;;
32588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32589 (eval "$ac_link") 2>conftest.er1
32591 grep -v '^ *+' conftest.er1 >conftest.err
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } && {
32596 test -z "$ac_c_werror_flag" ||
32597 test ! -s conftest.err
32598 } && test -s conftest$ac_exeext &&
32599 $as_test_x conftest$ac_exeext; then
32600 ac_cv_lib_Xext_XShapeQueryExtension=yes
32602 echo "$as_me: failed program was:" >&5
32603 sed 's/^/| /' conftest.$ac_ext >&5
32605 ac_cv_lib_Xext_XShapeQueryExtension=no
32608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32609 conftest$ac_exeext conftest.$ac_ext
32610 LIBS=$ac_check_lib_save_LIBS
32612 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32613 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32614 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32616 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32622 if test "$wxHAVE_XEXT_LIB" = 1; then
32623 save_CFLAGS="$CFLAGS"
32624 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32626 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32627 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32628 cat >conftest.$ac_ext <<_ACEOF
32631 cat confdefs.h >>conftest.$ac_ext
32632 cat >>conftest.$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32635 #include <X11/Xlib.h>
32636 #include <X11/extensions/shape.h>
32642 int dummy1, dummy2;
32643 XShapeQueryExtension((Display*)NULL,
32644 (int*)NULL, (int*)NULL);
32650 rm -f conftest.$ac_objext
32651 if { (ac_try="$ac_compile"
32652 case "(($ac_try" in
32653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32654 *) ac_try_echo
=$ac_try;;
32656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32657 (eval "$ac_compile") 2>conftest.er1
32659 grep -v '^ *+' conftest.er1
>conftest.err
32661 cat conftest.err
>&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); } && {
32664 test -z "$ac_c_werror_flag" ||
32665 test ! -s conftest.err
32666 } && test -s conftest.
$ac_objext; then
32668 cat >>confdefs.h
<<\_ACEOF
32669 #define HAVE_XSHAPE 1
32672 { echo "$as_me:$LINENO: result: found" >&5
32673 echo "${ECHO_T}found" >&6; }
32676 echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.
$ac_ext >&5
32680 { echo "$as_me:$LINENO: result: not found" >&5
32681 echo "${ECHO_T}not found" >&6; }
32685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32686 CFLAGS
="$save_CFLAGS"
32691 if test "$wxUSE_OSX_CARBON" = 1; then
32692 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32693 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32694 if test "$GCC" = yes; then
32695 { echo "$as_me:$LINENO: result: gcc" >&5
32696 echo "${ECHO_T}gcc" >&6; }
32697 CPPFLAGS_PASCAL
="-fpascal-strings"
32698 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32699 { echo "$as_me:$LINENO: result: xlc" >&5
32700 echo "${ECHO_T}xlc" >&6; }
32701 CPPFLAGS_PASCAL
="-qmacpstr"
32703 { echo "$as_me:$LINENO: result: none" >&5
32704 echo "${ECHO_T}none" >&6; }
32707 if test "x$wxUSE_UNIX" = "xyes"; then
32708 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32710 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32714 GUIDIST
=OSX_CARBON_DIST
32715 WXBASEPORT
="_carbon"
32718 if test "$wxUSE_OSX_COCOA" = 1; then
32720 GUIDIST
=OSX_COCOA_DIST
32723 if test "$wxUSE_COCOA" = 1; then
32728 if test "$wxUSE_PM" = 1; then
32731 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32732 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32733 if test "${wx_cv_spbcdata+set}" = set; then
32734 echo $ECHO_N "(cached) $ECHO_C" >&6
32737 cat >conftest.
$ac_ext <<_ACEOF
32740 cat confdefs.h
>>conftest.
$ac_ext
32741 cat >>conftest.
$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32757 rm -f conftest.
$ac_objext
32758 if { (ac_try
="$ac_compile"
32759 case "(($ac_try" in
32760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32761 *) ac_try_echo=$ac_try;;
32763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32764 (eval "$ac_compile") 2>conftest.er1
32766 grep -v '^ *+' conftest.er1 >conftest.err
32768 cat conftest.err >&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); } && {
32771 test -z "$ac_c_werror_flag" ||
32772 test ! -s conftest.err
32773 } && test -s conftest.$ac_objext; then
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32787 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32788 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32790 if test $wx_cv_spbcdata = "yes"; then
32791 cat >>confdefs.h <<\_ACEOF
32792 #define HAVE_SPBCDATA 1
32798 if test "$TOOLKIT" = "PM" ; then
32801 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32804 if test "$wxUSE_UNIVERSAL" = "yes"; then
32805 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32809 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32810 DISTDIR="wx\$(TOOLKIT)"
32816 if test "$USE_WIN32" = 1 ; then
32820 GUIDIST="BASE_DIST"
32826 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32827 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32828 wxUSE_UNICODE_UTF8=yes
32829 elif test "$USE_OS2" = 1 ; then
32830 wxUSE_UNICODE_UTF8=yes
32832 wxUSE_UNICODE_UTF8=no
32837 if test "$wxUSE_GUI" = "yes"; then
32838 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32840 for ac_header in X11/Xlib.h
32842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 cat >conftest.$ac_ext <<_ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32856 #include <$ac_header>
32858 rm -f conftest.$ac_objext
32859 if { (ac_try="$ac_compile"
32860 case "(($ac_try" in
32861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32862 *) ac_try_echo
=$ac_try;;
32864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32865 (eval "$ac_compile") 2>conftest.er1
32867 grep -v '^ *+' conftest.er1
>conftest.err
32869 cat conftest.err
>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } && {
32872 test -z "$ac_c_werror_flag" ||
32873 test ! -s conftest.err
32874 } && test -s conftest.
$ac_objext; then
32875 eval "$as_ac_Header=yes"
32877 echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.
$ac_ext >&5
32880 eval "$as_ac_Header=no"
32883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32885 ac_res
=`eval echo '${'$as_ac_Header'}'`
32886 { echo "$as_me:$LINENO: result: $ac_res" >&5
32887 echo "${ECHO_T}$ac_res" >&6; }
32888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32889 cat >>confdefs.h
<<_ACEOF
32890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32898 for ac_header
in X
11/XKBlib.h
32900 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32903 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32906 cat >conftest.
$ac_ext <<_ACEOF
32909 cat confdefs.h
>>conftest.
$ac_ext
32910 cat >>conftest.
$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32913 #if HAVE_X11_XLIB_H
32914 #include <X11/Xlib.h>
32918 #include <$ac_header>
32920 rm -f conftest.
$ac_objext
32921 if { (ac_try
="$ac_compile"
32922 case "(($ac_try" in
32923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32924 *) ac_try_echo=$ac_try;;
32926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32927 (eval "$ac_compile") 2>conftest.er1
32929 grep -v '^ *+' conftest.er1 >conftest.err
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } && {
32934 test -z "$ac_c_werror_flag" ||
32935 test ! -s conftest.err
32936 } && test -s conftest.$ac_objext; then
32937 eval "$as_ac_Header=yes"
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32942 eval "$as_ac_Header=no"
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32947 ac_res=`eval echo '${'$as_ac_Header'}'`
32948 { echo "$as_me:$LINENO: result: $ac_res" >&5
32949 echo "${ECHO_T}$ac_res" >&6; }
32950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32951 cat >>confdefs.h <<_ACEOF
32952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32964 if test "$wxUSE_DISPLAY" = "yes"; then
32965 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32966 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32967 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32970 for ac_dir in $SEARCH_LIB;
32972 for ac_extension in a so sl dylib dll.a; do
32973 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32974 ac_find_libraries=$ac_dir
32980 if test "$ac_find_libraries" != "" ; then
32982 if test "$ac_find_libraries" = "default location"; then
32985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32987 if test $result = 0; then
32990 ac_path_to_link=" -L$ac_find_libraries"
32994 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32995 LDFLAGS="$LDFLAGS $ac_path_to_link"
32997 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32998 { echo "$as_me:$LINENO: result: yes" >&5
32999 echo "${ECHO_T}yes" >&6; }
33001 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33002 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33005 for ac_dir in $SEARCH_LIB;
33007 for ac_extension in a so sl dylib dll.a; do
33008 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33009 ac_find_libraries=$ac_dir
33015 if test "$ac_find_libraries" != "" ; then
33016 { echo "$as_me:$LINENO: result: yes" >&5
33017 echo "${ECHO_T}yes" >&6; }
33019 for ac_header in X11/extensions/xf86vmode.h
33021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 cat >conftest.$ac_ext <<_ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33034 #if HAVE_X11_XLIB_H
33035 #include <X11/Xlib.h>
33039 #include <$ac_header>
33041 rm -f conftest.$ac_objext
33042 if { (ac_try="$ac_compile"
33043 case "(($ac_try" in
33044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33045 *) ac_try_echo
=$ac_try;;
33047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33048 (eval "$ac_compile") 2>conftest.er1
33050 grep -v '^ *+' conftest.er1
>conftest.err
33052 cat conftest.err
>&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); } && {
33055 test -z "$ac_c_werror_flag" ||
33056 test ! -s conftest.err
33057 } && test -s conftest.
$ac_objext; then
33058 eval "$as_ac_Header=yes"
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.
$ac_ext >&5
33063 eval "$as_ac_Header=no"
33066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33068 ac_res
=`eval echo '${'$as_ac_Header'}'`
33069 { echo "$as_me:$LINENO: result: $ac_res" >&5
33070 echo "${ECHO_T}$ac_res" >&6; }
33071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33072 cat >>confdefs.h
<<_ACEOF
33073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33076 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33083 { echo "$as_me:$LINENO: result: no" >&5
33084 echo "${ECHO_T}no" >&6; }
33088 { echo "$as_me:$LINENO: result: no" >&5
33089 echo "${ECHO_T}no" >&6; }
33090 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33091 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33094 elif test "$wxUSE_MSW" = 1; then
33095 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33096 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33097 if test "${ac_cv_header_ddraw_h+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 cat >conftest.
$ac_ext <<_ACEOF
33103 cat confdefs.h
>>conftest.
$ac_ext
33104 cat >>conftest.
$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33106 #include <windows.h>
33110 rm -f conftest.
$ac_objext
33111 if { (ac_try
="$ac_compile"
33112 case "(($ac_try" in
33113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33114 *) ac_try_echo=$ac_try;;
33116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33117 (eval "$ac_compile") 2>conftest.er1
33119 grep -v '^ *+' conftest.er1 >conftest.err
33121 cat conftest.err >&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } && {
33124 test -z "$ac_c_werror_flag" ||
33125 test ! -s conftest.err
33126 } && test -s conftest.$ac_objext; then
33127 ac_cv_header_ddraw_h=yes
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33132 ac_cv_header_ddraw_h=no
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33137 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33138 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33144 if test "$wxUSE_DETECT_SM" = "yes"; then
33145 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33146 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33147 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33150 for ac_dir in $SEARCH_LIB;
33152 for ac_extension in a so sl dylib dll.a; do
33153 if test -f "$ac_dir/libSM.$ac_extension"; then
33154 ac_find_libraries=$ac_dir
33160 if test "$ac_find_libraries" != "" ; then
33162 if test "$ac_find_libraries" = "default location"; then
33165 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33167 if test $result = 0; then
33170 ac_path_to_link=" -L$ac_find_libraries"
33174 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33175 LDFLAGS="$LDFLAGS $ac_path_to_link"
33177 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33178 { echo "$as_me:$LINENO: result: yes" >&5
33179 echo "${ECHO_T}yes" >&6; }
33181 { echo "$as_me:$LINENO: result: no" >&5
33182 echo "${ECHO_T}no" >&6; }
33183 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33184 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33185 wxUSE_DETECT_SM="no"
33188 wxUSE_DETECT_SM="no"
33195 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33198 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33199 OPENGL_LIBS="-framework OpenGL -framework AGL"
33200 elif test "$wxUSE_MSW" = 1; then
33201 OPENGL_LIBS="-lopengl32 -lglu32"
33202 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33204 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33205 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33208 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33210 if test -f "$ac_dir/GL/gl.h"; then
33211 ac_find_includes=$ac_dir
33216 if test "$ac_find_includes" != "" ; then
33217 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33218 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33220 if test "x$ac_find_includes" = "x/usr/include"; then
33221 ac_path_to_include=""
33223 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33225 if test $result = 0; then
33226 ac_path_to_include=""
33228 ac_path_to_include=" -I$ac_find_includes"
33232 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33234 { echo "$as_me:$LINENO: result: not found" >&5
33235 echo "${ECHO_T}not found" >&6; }
33238 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33239 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33240 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 cat >conftest.$ac_ext <<_ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33253 rm -f conftest.$ac_objext
33254 if { (ac_try="$ac_compile"
33255 case "(($ac_try" in
33256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33257 *) ac_try_echo
=$ac_try;;
33259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33260 (eval "$ac_compile") 2>conftest.er1
33262 grep -v '^ *+' conftest.er1
>conftest.err
33264 cat conftest.err
>&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); } && {
33267 test -z "$ac_c_werror_flag" ||
33268 test ! -s conftest.err
33269 } && test -s conftest.
$ac_objext; then
33270 ac_cv_header_GL_gl_h
=yes
33272 echo "$as_me: failed program was:" >&5
33273 sed 's/^/| /' conftest.
$ac_ext >&5
33275 ac_cv_header_GL_gl_h
=no
33278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33280 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33281 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33282 if test $ac_cv_header_GL_gl_h = yes; then
33284 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33285 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33286 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33287 echo $ECHO_N "(cached) $ECHO_C" >&6
33289 cat >conftest.
$ac_ext <<_ACEOF
33292 cat confdefs.h
>>conftest.
$ac_ext
33293 cat >>conftest.
$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33297 #include <GL/glu.h>
33299 rm -f conftest.
$ac_objext
33300 if { (ac_try
="$ac_compile"
33301 case "(($ac_try" in
33302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33303 *) ac_try_echo=$ac_try;;
33305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33306 (eval "$ac_compile") 2>conftest.er1
33308 grep -v '^ *+' conftest.er1 >conftest.err
33310 cat conftest.err >&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } && {
33313 test -z "$ac_c_werror_flag" ||
33314 test ! -s conftest.err
33315 } && test -s conftest.$ac_objext; then
33316 ac_cv_header_GL_glu_h=yes
33318 echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33321 ac_cv_header_GL_glu_h=no
33324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33326 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33327 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33328 if test $ac_cv_header_GL_glu_h = yes; then
33332 { echo "$as_me:$LINENO: checking for -lGL" >&5
33333 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33336 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33338 for ac_extension in a so sl dylib dll.a; do
33339 if test -f "$ac_dir/libGL.$ac_extension"; then
33340 ac_find_libraries=$ac_dir
33346 if test "$ac_find_libraries" != "" ; then
33347 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33348 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33351 if test "$ac_find_libraries" = "default location"; then
33354 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33356 if test $result = 0; then
33359 ac_path_to_link=" -L$ac_find_libraries"
33363 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33364 LDFLAGS_GL="$ac_path_to_link"
33367 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33368 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33371 for ac_dir in $SEARCH_LIB;
33373 for ac_extension in a so sl dylib dll.a; do
33374 if test -f "$ac_dir/libGLU.$ac_extension"; then
33375 ac_find_libraries=$ac_dir
33381 if test "$ac_find_libraries" != "" ; then
33383 if test "$ac_find_libraries" = "default location"; then
33386 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33388 if test $result = 0; then
33391 ac_path_to_link=" -L$ac_find_libraries"
33395 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33396 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33397 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33401 OPENGL_LIBS="-lGL -lGLU"
33402 { echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6; }
33405 { echo "$as_me:$LINENO: result: no" >&5
33406 echo "${ECHO_T}no" >&6; }
33409 { echo "$as_me:$LINENO: result: no" >&5
33410 echo "${ECHO_T}no" >&6; }
33413 if test "$found_gl" != 1; then
33414 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33415 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33418 for ac_dir in $SEARCH_LIB;
33420 for ac_extension in a so sl dylib dll.a; do
33421 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33422 ac_find_libraries=$ac_dir
33428 if test "$ac_find_libraries" != "" ; then
33430 if test "$ac_find_libraries" = "default location"; then
33433 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33435 if test $result = 0; then
33438 ac_path_to_link=" -L$ac_find_libraries"
33442 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33443 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33444 { echo "$as_me:$LINENO: result: yes" >&5
33445 echo "${ECHO_T}yes" >&6; }
33447 { echo "$as_me:$LINENO: result: no" >&5
33448 echo "${ECHO_T}no" >&6; }
33460 if test "x$OPENGL_LIBS" = "x"; then
33461 if test "$wxUSE_OPENGL" = "yes"; then
33462 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33463 echo "$as_me: error: OpenGL libraries not available" >&2;}
33464 { (exit 1); exit 1; }; }
33466 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33467 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33473 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33474 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33478 if test "$wxUSE_OPENGL" = "auto"; then
33482 if test "$wxUSE_OPENGL" = "yes"; then
33484 cat >>confdefs.h <<\_ACEOF
33485 #define wxUSE_OPENGL 1
33488 cat >>confdefs.h <<\_ACEOF
33489 #define wxUSE_GLCANVAS 1
33492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33497 if test -n "$TOOLKIT" ; then
33498 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33503 if test "$wxUSE_SHARED" = "yes"; then
33507 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33508 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33513 if test "$wxUSE_SHARED" = "yes"; then
33517 *-*-cygwin* | *-*-mingw* )
33518 wx_cv_version_script=no
33522 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33523 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33524 if test "${wx_cv_version_script+set}" = set; then
33525 echo $ECHO_N "(cached) $ECHO_C" >&6
33528 echo "VER_1 { *; };" >conftest.sym
33529 echo "int main() { return 0; }" >conftest.cpp
33532 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33533 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33535 (eval $ac_try) 2>&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); }; } ; then
33539 if test -s conftest.stderr ; then
33540 wx_cv_version_script=no
33542 wx_cv_version_script=yes
33545 wx_cv_version_script=no
33548 if test $wx_cv_version_script = yes
33550 echo "struct B { virtual ~B() { } }; \
33551 struct D : public B { }; \
33552 void F() { D d; }" > conftest.cpp
33555 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33556 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; } &&
33563 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33564 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; }
33572 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33573 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; }
33580 wx_cv_version_script=yes
33582 wx_cv_version_script=no
33587 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33588 rm -f conftest1.output conftest2.output conftest3.output
33591 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33592 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33594 if test $wx_cv_version_script = yes ; then
33595 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33601 if test "$wxUSE_VISIBILITY" != "no"; then
33604 if test -n "$GCC"; then
33605 CFLAGS_VISIBILITY="-fvisibility=hidden"
33606 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33607 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33608 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33609 if test "${wx_cv_cc_visibility+set}" = set; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33613 wx_save_CXXFLAGS="$CXXFLAGS"
33614 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33616 ac_cpp='$CXXCPP $CPPFLAGS'
33617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33621 cat >conftest.$ac_ext <<_ACEOF
33624 cat confdefs.h >>conftest.$ac_ext
33625 cat >>conftest.$ac_ext <<_ACEOF
33626 /* end confdefs.h. */
33628 /* we need gcc >= 4.0, older versions with visibility support
33629 didn't have class visibility: */
33630 #if defined(__GNUC__) && __GNUC__ < 4
33631 error this gcc is too old;
33634 /* visibility only makes sense for ELF shared libs: */
33635 #if !defined(__ELF__) && !defined(__APPLE__)
33636 error this platform has no visibility;
33639 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33640 extern __attribute__((__visibility__("default"))) int exportedvar;
33641 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33642 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33643 class __attribute__((__visibility__("default"))) Foo {
33655 rm -f conftest.$ac_objext
33656 if { (ac_try="$ac_compile"
33657 case "(($ac_try" in
33658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33659 *) ac_try_echo
=$ac_try;;
33661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33662 (eval "$ac_compile") 2>conftest.er1
33664 grep -v '^ *+' conftest.er1
>conftest.err
33666 cat conftest.err
>&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } && {
33669 test -z "$ac_cxx_werror_flag" ||
33670 test ! -s conftest.err
33671 } && test -s conftest.
$ac_objext; then
33672 wx_cv_cc_visibility
=yes
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.
$ac_ext >&5
33677 wx_cv_cc_visibility
=no
33680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33682 ac_cpp
='$CPP $CPPFLAGS'
33683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33687 CXXFLAGS
="$wx_save_CXXFLAGS"
33690 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33691 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33692 if test $wx_cv_cc_visibility = yes; then
33693 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33694 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33695 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 wx_save_CXXFLAGS
="$CXXFLAGS"
33700 wx_save_LDFLAGS
="$LDFLAGS"
33701 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33702 LDFLAGS
="$LDFLAGS -shared -fPIC"
33704 ac_cpp
='$CXXCPP $CPPFLAGS'
33705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33709 cat >conftest.
$ac_ext <<_ACEOF
33712 cat confdefs.h
>>conftest.
$ac_ext
33713 cat >>conftest.
$ac_ext <<_ACEOF
33714 /* end confdefs.h. */
33722 std::string s("hello");
33729 rm -f conftest.
$ac_objext conftest
$ac_exeext
33730 if { (ac_try
="$ac_link"
33731 case "(($ac_try" in
33732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33733 *) ac_try_echo=$ac_try;;
33735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33736 (eval "$ac_link") 2>conftest.er1
33738 grep -v '^ *+' conftest.er1 >conftest.err
33740 cat conftest.err >&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } && {
33743 test -z "$ac_cxx_werror_flag" ||
33744 test ! -s conftest.err
33745 } && test -s conftest$ac_exeext &&
33746 $as_test_x conftest$ac_exeext; then
33747 wx_cv_cc_broken_libstdcxx_visibility=no
33749 echo "$as_me: failed program was:" >&5
33750 sed 's/^/| /' conftest.$ac_ext >&5
33752 wx_cv_cc_broken_libstdcxx_visibility=yes
33755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33756 conftest$ac_exeext conftest.$ac_ext
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33763 CXXFLAGS="$wx_save_CXXFLAGS"
33764 LDFLAGS="$wx_save_LDFLAGS"
33767 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33768 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33770 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33771 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33772 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33773 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33774 echo $ECHO_N "(cached) $ECHO_C" >&6
33778 ac_cpp='$CXXCPP $CPPFLAGS'
33779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33783 cat >conftest.$ac_ext <<_ACEOF
33786 cat confdefs.h >>conftest.$ac_ext
33787 cat >>conftest.$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33790 #pragma GCC visibility push(default)
33792 #pragma GCC visibility pop
33798 std::string s("hello");
33805 rm -f conftest.$ac_objext conftest$ac_exeext
33806 if { (ac_try="$ac_link"
33807 case "(($ac_try" in
33808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33809 *) ac_try_echo
=$ac_try;;
33811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33812 (eval "$ac_link") 2>conftest.er1
33814 grep -v '^ *+' conftest.er1
>conftest.err
33816 cat conftest.err
>&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); } && {
33819 test -z "$ac_cxx_werror_flag" ||
33820 test ! -s conftest.err
33821 } && test -s conftest
$ac_exeext &&
33822 $as_test_x conftest
$ac_exeext; then
33823 wx_cv_cc_visibility_workaround
=no
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.
$ac_ext >&5
33828 wx_cv_cc_visibility_workaround
=yes
33831 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33832 conftest
$ac_exeext conftest.
$ac_ext
33834 ac_cpp
='$CPP $CPPFLAGS'
33835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33842 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33843 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33845 if test $wx_cv_cc_visibility_workaround = no
; then
33846 wx_cv_cc_visibility
=no
33851 if test $wx_cv_cc_visibility = yes; then
33852 cat >>confdefs.h
<<\_ACEOF
33853 #define HAVE_VISIBILITY 1
33856 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33857 cat >>confdefs.h
<<\_ACEOF
33858 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33863 CFLAGS_VISIBILITY
=""
33864 CXXFLAGS_VISIBILITY
=""
33872 if test "x$SUNCXX" = xyes
; then
33873 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33874 WXCONFIG_RPATH
="-R\$libdir"
33877 *-*-linux* | *-*-gnu* )
33878 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33879 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33884 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33886 saveLdflags
="$LDFLAGS"
33887 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33888 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33889 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33890 cat >conftest.
$ac_ext <<_ACEOF
33893 cat confdefs.h
>>conftest.
$ac_ext
33894 cat >>conftest.
$ac_ext <<_ACEOF
33895 /* end confdefs.h. */
33905 rm -f conftest.
$ac_objext conftest
$ac_exeext
33906 if { (ac_try
="$ac_link"
33907 case "(($ac_try" in
33908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33909 *) ac_try_echo=$ac_try;;
33911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33912 (eval "$ac_link") 2>conftest.er1
33914 grep -v '^ *+' conftest.er1 >conftest.err
33916 cat conftest.err >&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); } && {
33919 test -z "$ac_c_werror_flag" ||
33920 test ! -s conftest.err
33921 } && test -s conftest$ac_exeext &&
33922 $as_test_x conftest$ac_exeext; then
33924 { echo "$as_me:$LINENO: result: yes" >&5
33925 echo "${ECHO_T}yes" >&6; }
33926 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33927 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33936 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33937 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33938 LDFLAGS="$saveLdflags -Wl,-R,/"
33939 cat >conftest.$ac_ext <<_ACEOF
33942 cat confdefs.h >>conftest.$ac_ext
33943 cat >>conftest.$ac_ext <<_ACEOF
33944 /* end confdefs.h. */
33954 rm -f conftest.$ac_objext conftest$ac_exeext
33955 if { (ac_try="$ac_link"
33956 case "(($ac_try" in
33957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33958 *) ac_try_echo
=$ac_try;;
33960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33961 (eval "$ac_link") 2>conftest.er1
33963 grep -v '^ *+' conftest.er1
>conftest.err
33965 cat conftest.err
>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); } && {
33968 test -z "$ac_c_werror_flag" ||
33969 test ! -s conftest.err
33970 } && test -s conftest
$ac_exeext &&
33971 $as_test_x conftest
$ac_exeext; then
33973 { echo "$as_me:$LINENO: result: yes" >&5
33974 echo "${ECHO_T}yes" >&6; }
33975 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33976 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.
$ac_ext >&5
33983 { echo "$as_me:$LINENO: result: no" >&5
33984 echo "${ECHO_T}no" >&6; }
33988 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33989 conftest
$ac_exeext conftest.
$ac_ext
33993 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33994 conftest
$ac_exeext conftest.
$ac_ext
33995 LDFLAGS
="$saveLdflags"
33999 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34000 if test "$install_name_tool" -a -x "$install_name_tool"; then
34001 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34002 cat <<EOF >change-install-names
34004 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34005 for i in \${libnames} ; do
34006 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34007 for dep in \${libnames} ; do
34008 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34012 chmod +x change
-install-names
34013 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34016 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34019 *-*-cygwin* | *-*-mingw32* )
34023 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34024 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34030 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34032 if test $wxUSE_RPATH = "no"; then
34033 SAMPLES_RPATH_FLAG
=''
34034 DYLIB_PATH_POSTLINK
=''
34042 config_linkage_component
="-static"
34049 lib_unicode_suffix
=
34051 if test "$wxUSE_UNICODE" = "yes"; then
34052 lib_unicode_suffix
=u
34053 WX_CHARTYPE
="unicode"
34057 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34058 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34061 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34065 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34067 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34069 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34072 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34073 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34075 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34077 if test "${TOOLKIT_DIR}" = "os2"; then
34078 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34080 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34085 if test "$wxUSE_COCOA" = 1; then
34088 ac_cpp
='$CPP $CPPFLAGS'
34089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34095 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34096 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34097 cat >conftest.
$ac_ext <<_ACEOF
34100 cat confdefs.h
>>conftest.
$ac_ext
34101 cat >>conftest.
$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103 #include <AppKit/NSEvent.h>
34104 #include <CoreFoundation/CoreFoundation.h>
34114 rm -f conftest.
$ac_objext
34115 if { (ac_try
="$ac_compile"
34116 case "(($ac_try" in
34117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34118 *) ac_try_echo=$ac_try;;
34120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34121 (eval "$ac_compile") 2>conftest.er1
34123 grep -v '^ *+' conftest.er1 >conftest.err
34125 cat conftest.err >&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); } && {
34128 test -z "$ac_c_werror_flag" ||
34129 test ! -s conftest.err
34130 } && test -s conftest.$ac_objext; then
34131 { echo "$as_me:$LINENO: result: no" >&5
34132 echo "${ECHO_T}no" >&6; }
34134 echo "$as_me: failed program was:" >&5
34135 sed 's/^/| /' conftest.$ac_ext >&5
34137 { echo "$as_me:$LINENO: result: yes" >&5
34138 echo "${ECHO_T}yes" >&6; }
34139 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34140 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34141 cat >conftest.$ac_ext <<_ACEOF
34144 cat confdefs.h >>conftest.$ac_ext
34145 cat >>conftest.$ac_ext <<_ACEOF
34146 /* end confdefs.h. */
34147 #define __Point__ 1
34148 #include <AppKit/NSEvent.h>
34149 #include <CoreFoundation/CoreFoundation.h>
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34163 *) ac_try_echo
=$ac_try;;
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34168 grep -v '^ *+' conftest.er1
>conftest.err
34170 cat conftest.err
>&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_c_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.
$ac_objext; then
34176 { echo "$as_me:$LINENO: result: yes" >&5
34177 echo "${ECHO_T}yes" >&6; }
34178 cat >>confdefs.h
<<\_ACEOF
34179 #define __Point__ 1
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.
$ac_ext >&5
34187 { { echo "$as_me:$LINENO: error: no
34188 See \`config.log' for more details." >&5
34189 echo "$as_me: error: no
34190 See \`config.log' for more details." >&2;}
34191 { (exit 1); exit 1; }; }
34195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34201 ac_cpp
='$CPP $CPPFLAGS'
34202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34209 { echo "$as_me:$LINENO: checking for mode_t" >&5
34210 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34211 if test "${ac_cv_type_mode_t+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 cat >conftest.
$ac_ext <<_ACEOF
34217 cat confdefs.h
>>conftest.
$ac_ext
34218 cat >>conftest.
$ac_ext <<_ACEOF
34219 /* end confdefs.h. */
34220 $ac_includes_default
34221 typedef mode_t ac__type_new_;
34225 if ((ac__type_new_ *) 0)
34227 if (sizeof (ac__type_new_))
34233 rm -f conftest.
$ac_objext
34234 if { (ac_try
="$ac_compile"
34235 case "(($ac_try" in
34236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34237 *) ac_try_echo=$ac_try;;
34239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34240 (eval "$ac_compile") 2>conftest.er1
34242 grep -v '^ *+' conftest.er1 >conftest.err
34244 cat conftest.err >&5
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); } && {
34247 test -z "$ac_c_werror_flag" ||
34248 test ! -s conftest.err
34249 } && test -s conftest.$ac_objext; then
34250 ac_cv_type_mode_t=yes
34252 echo "$as_me: failed program was:" >&5
34253 sed 's/^/| /' conftest.$ac_ext >&5
34255 ac_cv_type_mode_t=no
34258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34260 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34261 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34262 if test $ac_cv_type_mode_t = yes; then
34266 cat >>confdefs.h <<_ACEOF
34272 { echo "$as_me:$LINENO: checking for off_t" >&5
34273 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34274 if test "${ac_cv_type_off_t+set}" = set; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34277 cat >conftest.$ac_ext <<_ACEOF
34280 cat confdefs.h >>conftest.$ac_ext
34281 cat >>conftest.$ac_ext <<_ACEOF
34282 /* end confdefs.h. */
34283 $ac_includes_default
34284 typedef off_t ac__type_new_;
34288 if ((ac__type_new_ *) 0)
34290 if (sizeof (ac__type_new_))
34296 rm -f conftest.$ac_objext
34297 if { (ac_try="$ac_compile"
34298 case "(($ac_try" in
34299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34300 *) ac_try_echo
=$ac_try;;
34302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34303 (eval "$ac_compile") 2>conftest.er1
34305 grep -v '^ *+' conftest.er1
>conftest.err
34307 cat conftest.err
>&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); } && {
34310 test -z "$ac_c_werror_flag" ||
34311 test ! -s conftest.err
34312 } && test -s conftest.
$ac_objext; then
34313 ac_cv_type_off_t
=yes
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.
$ac_ext >&5
34318 ac_cv_type_off_t
=no
34321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34323 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34324 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34325 if test $ac_cv_type_off_t = yes; then
34329 cat >>confdefs.h
<<_ACEOF
34330 #define off_t long int
34335 { echo "$as_me:$LINENO: checking for pid_t" >&5
34336 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34337 if test "${ac_cv_type_pid_t+set}" = set; then
34338 echo $ECHO_N "(cached) $ECHO_C" >&6
34340 cat >conftest.
$ac_ext <<_ACEOF
34343 cat confdefs.h
>>conftest.
$ac_ext
34344 cat >>conftest.
$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34346 $ac_includes_default
34347 typedef pid_t ac__type_new_;
34351 if ((ac__type_new_ *) 0)
34353 if (sizeof (ac__type_new_))
34359 rm -f conftest.
$ac_objext
34360 if { (ac_try
="$ac_compile"
34361 case "(($ac_try" in
34362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34363 *) ac_try_echo=$ac_try;;
34365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34366 (eval "$ac_compile") 2>conftest.er1
34368 grep -v '^ *+' conftest.er1 >conftest.err
34370 cat conftest.err >&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } && {
34373 test -z "$ac_c_werror_flag" ||
34374 test ! -s conftest.err
34375 } && test -s conftest.$ac_objext; then
34376 ac_cv_type_pid_t=yes
34378 echo "$as_me: failed program was:" >&5
34379 sed 's/^/| /' conftest.$ac_ext >&5
34381 ac_cv_type_pid_t=no
34384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34386 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34387 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34388 if test $ac_cv_type_pid_t = yes; then
34392 cat >>confdefs.h <<_ACEOF
34398 { echo "$as_me:$LINENO: checking for size_t" >&5
34399 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34400 if test "${ac_cv_type_size_t+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 cat >conftest.$ac_ext <<_ACEOF
34406 cat confdefs.h >>conftest.$ac_ext
34407 cat >>conftest.$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 $ac_includes_default
34410 typedef size_t ac__type_new_;
34414 if ((ac__type_new_ *) 0)
34416 if (sizeof (ac__type_new_))
34422 rm -f conftest.$ac_objext
34423 if { (ac_try="$ac_compile"
34424 case "(($ac_try" in
34425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34426 *) ac_try_echo
=$ac_try;;
34428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34429 (eval "$ac_compile") 2>conftest.er1
34431 grep -v '^ *+' conftest.er1
>conftest.err
34433 cat conftest.err
>&5
34434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435 (exit $ac_status); } && {
34436 test -z "$ac_c_werror_flag" ||
34437 test ! -s conftest.err
34438 } && test -s conftest.
$ac_objext; then
34439 ac_cv_type_size_t
=yes
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.
$ac_ext >&5
34444 ac_cv_type_size_t
=no
34447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34449 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34450 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34451 if test $ac_cv_type_size_t = yes; then
34455 cat >>confdefs.h
<<_ACEOF
34456 #define size_t unsigned int
34462 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34463 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34464 if test "${ac_cv_type_ssize_t+set}" = set; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 cat >conftest.
$ac_ext <<_ACEOF
34470 cat confdefs.h
>>conftest.
$ac_ext
34471 cat >>conftest.
$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34473 $ac_includes_default
34474 typedef ssize_t ac__type_new_;
34478 if ((ac__type_new_ *) 0)
34480 if (sizeof (ac__type_new_))
34486 rm -f conftest.
$ac_objext
34487 if { (ac_try
="$ac_compile"
34488 case "(($ac_try" in
34489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34490 *) ac_try_echo=$ac_try;;
34492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34493 (eval "$ac_compile") 2>conftest.er1
34495 grep -v '^ *+' conftest.er1 >conftest.err
34497 cat conftest.err >&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); } && {
34500 test -z "$ac_c_werror_flag" ||
34501 test ! -s conftest.err
34502 } && test -s conftest.$ac_objext; then
34503 ac_cv_type_ssize_t=yes
34505 echo "$as_me: failed program was:" >&5
34506 sed 's/^/| /' conftest.$ac_ext >&5
34508 ac_cv_type_ssize_t=no
34511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34513 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34514 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34515 if test $ac_cv_type_ssize_t = yes; then
34517 cat >>confdefs.h <<_ACEOF
34518 #define HAVE_SSIZE_T 1
34526 ac_cpp='$CXXCPP $CPPFLAGS'
34527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34530 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34531 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34532 if test "${wx_cv_size_t_is_uint+set}" = set; then
34533 echo $ECHO_N "(cached) $ECHO_C" >&6
34536 cat >conftest.$ac_ext <<_ACEOF
34539 cat confdefs.h >>conftest.$ac_ext
34540 cat >>conftest.$ac_ext <<_ACEOF
34541 /* end confdefs.h. */
34542 #include <stddef.h>
34549 struct Foo { void foo(size_t); void foo(unsigned int); };
34557 rm -f conftest.$ac_objext
34558 if { (ac_try="$ac_compile"
34559 case "(($ac_try" in
34560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34561 *) ac_try_echo
=$ac_try;;
34563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34564 (eval "$ac_compile") 2>conftest.er1
34566 grep -v '^ *+' conftest.er1
>conftest.err
34568 cat conftest.err
>&5
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); } && {
34571 test -z "$ac_cxx_werror_flag" ||
34572 test ! -s conftest.err
34573 } && test -s conftest.
$ac_objext; then
34574 wx_cv_size_t_is_uint
=no
34576 echo "$as_me: failed program was:" >&5
34577 sed 's/^/| /' conftest.
$ac_ext >&5
34579 wx_cv_size_t_is_uint
=yes
34583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34587 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34588 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34590 if test "$wx_cv_size_t_is_uint" = "yes"; then
34591 cat >>confdefs.h
<<\_ACEOF
34592 #define wxSIZE_T_IS_UINT 1
34596 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34597 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34598 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34599 echo $ECHO_N "(cached) $ECHO_C" >&6
34601 cat >conftest.
$ac_ext <<_ACEOF
34604 cat confdefs.h
>>conftest.
$ac_ext
34605 cat >>conftest.
$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34607 #include <stddef.h>
34614 struct Foo { void foo(size_t); void foo(unsigned long); };
34622 rm -f conftest.
$ac_objext
34623 if { (ac_try
="$ac_compile"
34624 case "(($ac_try" in
34625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34626 *) ac_try_echo=$ac_try;;
34628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34629 (eval "$ac_compile") 2>conftest.er1
34631 grep -v '^ *+' conftest.er1 >conftest.err
34633 cat conftest.err >&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } && {
34636 test -z "$ac_cxx_werror_flag" ||
34637 test ! -s conftest.err
34638 } && test -s conftest.$ac_objext; then
34639 wx_cv_size_t_is_ulong=no
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34644 wx_cv_size_t_is_ulong=yes
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34651 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34652 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34654 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34655 cat >>confdefs.h <<\_ACEOF
34656 #define wxSIZE_T_IS_ULONG 1
34662 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34663 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34664 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34665 echo $ECHO_N "(cached) $ECHO_C" >&6
34667 cat >conftest.$ac_ext <<_ACEOF
34670 cat confdefs.h >>conftest.$ac_ext
34671 cat >>conftest.$ac_ext <<_ACEOF
34672 /* end confdefs.h. */
34680 struct Foo { void foo(wchar_t);
34681 void foo(unsigned short);
34682 void foo(unsigned int);
34683 void foo(unsigned long); };
34691 rm -f conftest.$ac_objext
34692 if { (ac_try="$ac_compile"
34693 case "(($ac_try" in
34694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34695 *) ac_try_echo
=$ac_try;;
34697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34698 (eval "$ac_compile") 2>conftest.er1
34700 grep -v '^ *+' conftest.er1
>conftest.err
34702 cat conftest.err
>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } && {
34705 test -z "$ac_cxx_werror_flag" ||
34706 test ! -s conftest.err
34707 } && test -s conftest.
$ac_objext; then
34708 wx_cv_wchar_t_is_separate_type
=yes
34710 echo "$as_me: failed program was:" >&5
34711 sed 's/^/| /' conftest.
$ac_ext >&5
34713 wx_cv_wchar_t_is_separate_type
=no
34717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34720 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34721 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34723 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34724 cat >>confdefs.h
<<\_ACEOF
34725 #define wxWCHAR_T_IS_REAL_TYPE 1
34729 cat >>confdefs.h
<<\_ACEOF
34730 #define wxWCHAR_T_IS_REAL_TYPE 0
34736 ac_cpp
='$CPP $CPPFLAGS'
34737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34742 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34743 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34744 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34745 echo $ECHO_N "(cached) $ECHO_C" >&6
34748 cat >conftest.
$ac_ext <<_ACEOF
34751 cat confdefs.h
>>conftest.
$ac_ext
34752 cat >>conftest.
$ac_ext <<_ACEOF
34753 /* end confdefs.h. */
34767 rm -f conftest.
$ac_objext
34768 if { (ac_try
="$ac_compile"
34769 case "(($ac_try" in
34770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34771 *) ac_try_echo=$ac_try;;
34773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34774 (eval "$ac_compile") 2>conftest.er1
34776 grep -v '^ *+' conftest.er1 >conftest.err
34778 cat conftest.err >&5
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); } && {
34781 test -z "$ac_c_werror_flag" ||
34782 test ! -s conftest.err
34783 } && test -s conftest.$ac_objext; then
34785 wx_cv_struct_pw_gecos=yes
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.$ac_ext >&5
34792 wx_cv_struct_pw_gecos=no
34797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34801 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34802 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34804 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34805 cat >>confdefs.h <<\_ACEOF
34806 #define HAVE_PW_GECOS 1
34812 if test "$wxUSE_WCHAR_T" = "yes"; then
34813 cat >>confdefs.h <<\_ACEOF
34814 #define wxUSE_WCHAR_T 1
34821 for ac_func in wcslen
34823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34829 cat >conftest.$ac_ext <<_ACEOF
34832 cat confdefs.h >>conftest.$ac_ext
34833 cat >>conftest.$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34837 #define $ac_func innocuous_$ac_func
34839 /* System header to define __stub macros and hopefully few prototypes,
34840 which can conflict with char $ac_func (); below.
34841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34842 <limits.h> exists even on freestanding compilers. */
34845 # include <limits.h>
34847 # include <assert.h>
34852 /* Override any GCC internal prototype to avoid an error.
34853 Use char because int might match the return type of a GCC
34854 builtin and then its argument prototype would still apply. */
34859 /* The GNU C library defines this for functions which it implements
34860 to always fail with ENOSYS. Some functions are actually named
34861 something starting with __ and the normal name is an alias. */
34862 #if defined __stub_$ac_func || defined __stub___$ac_func
34869 return $ac_func ();
34874 rm -f conftest.$ac_objext conftest$ac_exeext
34875 if { (ac_try="$ac_link"
34876 case "(($ac_try" in
34877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34878 *) ac_try_echo
=$ac_try;;
34880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34881 (eval "$ac_link") 2>conftest.er1
34883 grep -v '^ *+' conftest.er1
>conftest.err
34885 cat conftest.err
>&5
34886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34887 (exit $ac_status); } && {
34888 test -z "$ac_c_werror_flag" ||
34889 test ! -s conftest.err
34890 } && test -s conftest
$ac_exeext &&
34891 $as_test_x conftest
$ac_exeext; then
34892 eval "$as_ac_var=yes"
34894 echo "$as_me: failed program was:" >&5
34895 sed 's/^/| /' conftest.
$ac_ext >&5
34897 eval "$as_ac_var=no"
34900 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34901 conftest
$ac_exeext conftest.
$ac_ext
34903 ac_res
=`eval echo '${'$as_ac_var'}'`
34904 { echo "$as_me:$LINENO: result: $ac_res" >&5
34905 echo "${ECHO_T}$ac_res" >&6; }
34906 if test `eval echo '${'$as_ac_var'}'` = yes; then
34907 cat >>confdefs.h
<<_ACEOF
34908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34915 if test "$WCSLEN_FOUND" = 0; then
34916 if test "$TOOLKIT" = "MSW"; then
34917 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34918 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34919 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34920 echo $ECHO_N "(cached) $ECHO_C" >&6
34922 ac_check_lib_save_LIBS
=$LIBS
34923 LIBS
="-lmsvcrt $LIBS"
34924 cat >conftest.
$ac_ext <<_ACEOF
34927 cat confdefs.h
>>conftest.
$ac_ext
34928 cat >>conftest.
$ac_ext <<_ACEOF
34929 /* end confdefs.h. */
34931 /* Override any GCC internal prototype to avoid an error.
34932 Use char because int might match the return type of a GCC
34933 builtin and then its argument prototype would still apply. */
34946 rm -f conftest.
$ac_objext conftest
$ac_exeext
34947 if { (ac_try
="$ac_link"
34948 case "(($ac_try" in
34949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34950 *) ac_try_echo=$ac_try;;
34952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34953 (eval "$ac_link") 2>conftest.er1
34955 grep -v '^ *+' conftest.er1 >conftest.err
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } && {
34960 test -z "$ac_c_werror_flag" ||
34961 test ! -s conftest.err
34962 } && test -s conftest$ac_exeext &&
34963 $as_test_x conftest$ac_exeext; then
34964 ac_cv_lib_msvcrt_wcslen=yes
34966 echo "$as_me: failed program was:" >&5
34967 sed 's/^/| /' conftest.$ac_ext >&5
34969 ac_cv_lib_msvcrt_wcslen=no
34972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34973 conftest$ac_exeext conftest.$ac_ext
34974 LIBS=$ac_check_lib_save_LIBS
34976 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34977 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34978 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34983 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34984 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34985 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34986 echo $ECHO_N "(cached) $ECHO_C" >&6
34988 ac_check_lib_save_LIBS=$LIBS
34990 cat >conftest.$ac_ext <<_ACEOF
34993 cat confdefs.h >>conftest.$ac_ext
34994 cat >>conftest.$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
34997 /* Override any GCC internal prototype to avoid an error.
34998 Use char because int might match the return type of a GCC
34999 builtin and then its argument prototype would still apply. */
35012 rm -f conftest.$ac_objext conftest$ac_exeext
35013 if { (ac_try="$ac_link"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35016 *) ac_try_echo
=$ac_try;;
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_link") 2>conftest.er1
35021 grep -v '^ *+' conftest.er1
>conftest.err
35023 cat conftest.err
>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest
$ac_exeext &&
35029 $as_test_x conftest
$ac_exeext; then
35030 ac_cv_lib_w_wcslen
=yes
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.
$ac_ext >&5
35035 ac_cv_lib_w_wcslen
=no
35038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35039 conftest
$ac_exeext conftest.
$ac_ext
35040 LIBS
=$ac_check_lib_save_LIBS
35042 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35043 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35044 if test $ac_cv_lib_w_wcslen = yes; then
35054 if test "$WCSLEN_FOUND" = 1; then
35055 cat >>confdefs.h
<<\_ACEOF
35056 #define HAVE_WCSLEN 1
35066 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35071 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 cat >conftest.
$ac_ext <<_ACEOF
35077 cat confdefs.h
>>conftest.
$ac_ext
35078 cat >>conftest.
$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35082 #define $ac_func innocuous_$ac_func
35084 /* System header to define __stub macros and hopefully few prototypes,
35085 which can conflict with char $ac_func (); below.
35086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35087 <limits.h> exists even on freestanding compilers. */
35090 # include <limits.h>
35092 # include <assert.h>
35097 /* Override any GCC internal prototype to avoid an error.
35098 Use char because int might match the return type of a GCC
35099 builtin and then its argument prototype would still apply. */
35104 /* The GNU C library defines this for functions which it implements
35105 to always fail with ENOSYS. Some functions are actually named
35106 something starting with __ and the normal name is an alias. */
35107 #if defined __stub_$ac_func || defined __stub___$ac_func
35114 return $ac_func ();
35119 rm -f conftest.
$ac_objext conftest
$ac_exeext
35120 if { (ac_try
="$ac_link"
35121 case "(($ac_try" in
35122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35123 *) ac_try_echo=$ac_try;;
35125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35126 (eval "$ac_link") 2>conftest.er1
35128 grep -v '^ *+' conftest.er1 >conftest.err
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } && {
35133 test -z "$ac_c_werror_flag" ||
35134 test ! -s conftest.err
35135 } && test -s conftest$ac_exeext &&
35136 $as_test_x conftest$ac_exeext; then
35137 eval "$as_ac_var=yes"
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35142 eval "$as_ac_var=no"
35145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35146 conftest$ac_exeext conftest.$ac_ext
35148 ac_res=`eval echo '${'$as_ac_var'}'`
35149 { echo "$as_me:$LINENO: result: $ac_res" >&5
35150 echo "${ECHO_T}$ac_res" >&6; }
35151 if test `eval echo '${'$as_ac_var'}'` = yes; then
35152 cat >>confdefs.h <<_ACEOF
35153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35160 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35161 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35164 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35165 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35166 if test "${ac_cv_type_mbstate_t+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35169 cat >conftest.$ac_ext <<_ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35177 typedef mbstate_t ac__type_new_;
35181 if ((ac__type_new_ *) 0)
35183 if (sizeof (ac__type_new_))
35189 rm -f conftest.$ac_objext
35190 if { (ac_try="$ac_compile"
35191 case "(($ac_try" in
35192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35193 *) ac_try_echo
=$ac_try;;
35195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35196 (eval "$ac_compile") 2>conftest.er1
35198 grep -v '^ *+' conftest.er1
>conftest.err
35200 cat conftest.err
>&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); } && {
35203 test -z "$ac_c_werror_flag" ||
35204 test ! -s conftest.err
35205 } && test -s conftest.
$ac_objext; then
35206 ac_cv_type_mbstate_t
=yes
35208 echo "$as_me: failed program was:" >&5
35209 sed 's/^/| /' conftest.
$ac_ext >&5
35211 ac_cv_type_mbstate_t
=no
35214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35216 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35217 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35218 if test $ac_cv_type_mbstate_t = yes; then
35220 cat >>confdefs.h
<<_ACEOF
35221 #define HAVE_MBSTATE_T 1
35225 for ac_func
in wcsrtombs
35227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35230 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35233 cat >conftest.
$ac_ext <<_ACEOF
35236 cat confdefs.h
>>conftest.
$ac_ext
35237 cat >>conftest.
$ac_ext <<_ACEOF
35238 /* end confdefs.h. */
35239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35241 #define $ac_func innocuous_$ac_func
35243 /* System header to define __stub macros and hopefully few prototypes,
35244 which can conflict with char $ac_func (); below.
35245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35246 <limits.h> exists even on freestanding compilers. */
35249 # include <limits.h>
35251 # include <assert.h>
35256 /* Override any GCC internal prototype to avoid an error.
35257 Use char because int might match the return type of a GCC
35258 builtin and then its argument prototype would still apply. */
35263 /* The GNU C library defines this for functions which it implements
35264 to always fail with ENOSYS. Some functions are actually named
35265 something starting with __ and the normal name is an alias. */
35266 #if defined __stub_$ac_func || defined __stub___$ac_func
35273 return $ac_func ();
35278 rm -f conftest.
$ac_objext conftest
$ac_exeext
35279 if { (ac_try
="$ac_link"
35280 case "(($ac_try" in
35281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35282 *) ac_try_echo=$ac_try;;
35284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35285 (eval "$ac_link") 2>conftest.er1
35287 grep -v '^ *+' conftest.er1 >conftest.err
35289 cat conftest.err >&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); } && {
35292 test -z "$ac_c_werror_flag" ||
35293 test ! -s conftest.err
35294 } && test -s conftest$ac_exeext &&
35295 $as_test_x conftest$ac_exeext; then
35296 eval "$as_ac_var=yes"
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35301 eval "$as_ac_var=no"
35304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35305 conftest$ac_exeext conftest.$ac_ext
35307 ac_res=`eval echo '${'$as_ac_var'}'`
35308 { echo "$as_me:$LINENO: result: $ac_res" >&5
35309 echo "${ECHO_T}$ac_res" >&6; }
35310 if test `eval echo '${'$as_ac_var'}'` = yes; then
35311 cat >>confdefs.h <<_ACEOF
35312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35321 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35322 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35328 for ac_func in snprintf vsnprintf vsscanf
35330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35331 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35333 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 cat >conftest.$ac_ext <<_ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35344 #define $ac_func innocuous_$ac_func
35346 /* System header to define __stub macros and hopefully few prototypes,
35347 which can conflict with char $ac_func (); below.
35348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35349 <limits.h> exists even on freestanding compilers. */
35352 # include <limits.h>
35354 # include <assert.h>
35359 /* Override any GCC internal prototype to avoid an error.
35360 Use char because int might match the return type of a GCC
35361 builtin and then its argument prototype would still apply. */
35366 /* The GNU C library defines this for functions which it implements
35367 to always fail with ENOSYS. Some functions are actually named
35368 something starting with __ and the normal name is an alias. */
35369 #if defined __stub_$ac_func || defined __stub___$ac_func
35376 return $ac_func ();
35381 rm -f conftest.$ac_objext conftest$ac_exeext
35382 if { (ac_try="$ac_link"
35383 case "(($ac_try" in
35384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35385 *) ac_try_echo
=$ac_try;;
35387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35388 (eval "$ac_link") 2>conftest.er1
35390 grep -v '^ *+' conftest.er1
>conftest.err
35392 cat conftest.err
>&5
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); } && {
35395 test -z "$ac_c_werror_flag" ||
35396 test ! -s conftest.err
35397 } && test -s conftest
$ac_exeext &&
35398 $as_test_x conftest
$ac_exeext; then
35399 eval "$as_ac_var=yes"
35401 echo "$as_me: failed program was:" >&5
35402 sed 's/^/| /' conftest.
$ac_ext >&5
35404 eval "$as_ac_var=no"
35407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35408 conftest
$ac_exeext conftest.
$ac_ext
35410 ac_res
=`eval echo '${'$as_ac_var'}'`
35411 { echo "$as_me:$LINENO: result: $ac_res" >&5
35412 echo "${ECHO_T}$ac_res" >&6; }
35413 if test `eval echo '${'$as_ac_var'}'` = yes; then
35414 cat >>confdefs.h
<<_ACEOF
35415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35423 ac_cpp
='$CXXCPP $CPPFLAGS'
35424 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35428 if test "$ac_cv_func_vsnprintf" = "yes"; then
35429 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35430 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35431 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35432 echo $ECHO_N "(cached) $ECHO_C" >&6
35435 cat >conftest.
$ac_ext <<_ACEOF
35438 cat confdefs.h
>>conftest.
$ac_ext
35439 cat >>conftest.
$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35443 #include <stdarg.h>
35445 #if __MSL__ >= 0x6000
35447 using namespace std;
35457 vsnprintf(buf, 10u, "%s", ap);
35463 rm -f conftest.
$ac_objext
35464 if { (ac_try
="$ac_compile"
35465 case "(($ac_try" in
35466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35467 *) ac_try_echo=$ac_try;;
35469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35470 (eval "$ac_compile") 2>conftest.er1
35472 grep -v '^ *+' conftest.er1 >conftest.err
35474 cat conftest.err >&5
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); } && {
35477 test -z "$ac_cxx_werror_flag" ||
35478 test ! -s conftest.err
35479 } && test -s conftest.$ac_objext; then
35480 wx_cv_func_vsnprintf_decl=yes
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35485 wx_cv_func_vsnprintf_decl=no
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35493 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35494 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35496 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35497 cat >>confdefs.h <<\_ACEOF
35498 #define HAVE_VSNPRINTF_DECL 1
35502 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35503 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35504 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35505 echo $ECHO_N "(cached) $ECHO_C" >&6
35508 cat >conftest.$ac_ext <<_ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35516 #include <stdarg.h>
35518 #if __MSL__ >= 0x6000
35520 using namespace std;
35530 const char *fmt = "%s";
35531 vsnprintf(buf, 10u, fmt, ap);
35537 rm -f conftest.$ac_objext
35538 if { (ac_try="$ac_compile"
35539 case "(($ac_try" in
35540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35541 *) ac_try_echo
=$ac_try;;
35543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35544 (eval "$ac_compile") 2>conftest.er1
35546 grep -v '^ *+' conftest.er1
>conftest.err
35548 cat conftest.err
>&5
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); } && {
35551 test -z "$ac_cxx_werror_flag" ||
35552 test ! -s conftest.err
35553 } && test -s conftest.
$ac_objext; then
35554 wx_cv_func_broken_vsnprintf_decl
=no
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.
$ac_ext >&5
35559 wx_cv_func_broken_vsnprintf_decl
=yes
35563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35567 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35568 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35570 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35571 cat >>confdefs.h
<<\_ACEOF
35572 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35579 if test "$ac_cv_func_snprintf" = "yes"; then
35580 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35581 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35582 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35586 cat >conftest.
$ac_ext <<_ACEOF
35589 cat confdefs.h
>>conftest.
$ac_ext
35590 cat >>conftest.
$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35594 #include <stdarg.h>
35596 #if __MSL__ >= 0x6000
35598 using namespace std;
35607 snprintf(buf, 10u, "%s", "wx");
35613 rm -f conftest.
$ac_objext
35614 if { (ac_try
="$ac_compile"
35615 case "(($ac_try" in
35616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_compile") 2>conftest.er1
35622 grep -v '^ *+' conftest.er1 >conftest.err
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_cxx_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest.$ac_objext; then
35630 wx_cv_func_snprintf_decl=yes
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35635 wx_cv_func_snprintf_decl=no
35639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35643 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35644 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35646 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35647 cat >>confdefs.h <<\_ACEOF
35648 #define HAVE_SNPRINTF_DECL 1
35653 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35655 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35656 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35657 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35658 echo $ECHO_N "(cached) $ECHO_C" >&6
35661 if test "$cross_compiling" = yes; then
35663 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35664 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35665 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35666 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35667 wx_cv_func_snprintf_pos_params=no
35671 cat >conftest.$ac_ext <<_ACEOF
35674 cat confdefs.h >>conftest.$ac_ext
35675 cat >>conftest.$ac_ext <<_ACEOF
35676 /* end confdefs.h. */
35683 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35684 if (strcmp ("2 3 1", buffer) == 0)
35690 rm -f conftest$ac_exeext
35691 if { (ac_try="$ac_link"
35692 case "(($ac_try" in
35693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35694 *) ac_try_echo
=$ac_try;;
35696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35697 (eval "$ac_link") 2>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35701 { (case "(($ac_try" in
35702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35703 *) ac_try_echo=$ac_try;;
35705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35706 (eval "$ac_try") 2>&5
35708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709 (exit $ac_status); }; }; then
35710 wx_cv_func_snprintf_pos_params=no
35712 echo "$as_me: program exited with status $ac_status" >&5
35713 echo "$as_me: failed program was:" >&5
35714 sed 's/^/| /' conftest.$ac_ext >&5
35716 ( exit $ac_status )
35717 wx_cv_func_snprintf_pos_params=yes
35719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35726 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35727 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35729 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35730 cat >>confdefs.h <<\_ACEOF
35731 #define HAVE_UNIX98_PRINTF 1
35738 if test "$ac_cv_func_vsscanf" = "yes"; then
35739 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35740 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35741 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35742 echo $ECHO_N "(cached) $ECHO_C" >&6
35745 cat >conftest.$ac_ext <<_ACEOF
35748 cat confdefs.h >>conftest.$ac_ext
35749 cat >>conftest.$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35753 #include <stdarg.h>
35755 #if __MSL__ >= 0x6000
35757 using namespace std;
35767 vsscanf(buf, "%s", args);
35773 rm -f conftest.$ac_objext
35774 if { (ac_try="$ac_compile"
35775 case "(($ac_try" in
35776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35777 *) ac_try_echo
=$ac_try;;
35779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35780 (eval "$ac_compile") 2>conftest.er1
35782 grep -v '^ *+' conftest.er1
>conftest.err
35784 cat conftest.err
>&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } && {
35787 test -z "$ac_cxx_werror_flag" ||
35788 test ! -s conftest.err
35789 } && test -s conftest.
$ac_objext; then
35790 wx_cv_func_vsscanf_decl
=yes
35792 echo "$as_me: failed program was:" >&5
35793 sed 's/^/| /' conftest.
$ac_ext >&5
35795 wx_cv_func_vsscanf_decl
=no
35799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35803 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35804 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35806 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35807 cat >>confdefs.h
<<\_ACEOF
35808 #define HAVE_VSSCANF_DECL 1
35814 ac_cpp
='$CPP $CPPFLAGS'
35815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35820 if test "$wxUSE_UNICODE" = yes; then
35822 wchar_headers
="#include <stdio.h>
35823 #include <wchar.h>"
35827 for ac_header
in widec.h
35829 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35832 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35833 echo $ECHO_N "(cached) $ECHO_C" >&6
35835 cat >conftest.
$ac_ext <<_ACEOF
35838 cat confdefs.h
>>conftest.
$ac_ext
35839 cat >>conftest.
$ac_ext <<_ACEOF
35840 /* end confdefs.h. */
35841 $ac_includes_default
35843 #include <$ac_header>
35845 rm -f conftest.
$ac_objext
35846 if { (ac_try
="$ac_compile"
35847 case "(($ac_try" in
35848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35849 *) ac_try_echo=$ac_try;;
35851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35852 (eval "$ac_compile") 2>conftest.er1
35854 grep -v '^ *+' conftest.er1 >conftest.err
35856 cat conftest.err >&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); } && {
35859 test -z "$ac_c_werror_flag" ||
35860 test ! -s conftest.err
35861 } && test -s conftest.$ac_objext; then
35862 eval "$as_ac_Header=yes"
35864 echo "$as_me: failed program was:" >&5
35865 sed 's/^/| /' conftest.$ac_ext >&5
35867 eval "$as_ac_Header=no"
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35872 ac_res=`eval echo '${'$as_ac_Header'}'`
35873 { echo "$as_me:$LINENO: result: $ac_res" >&5
35874 echo "${ECHO_T}$ac_res" >&6; }
35875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35876 cat >>confdefs.h <<_ACEOF
35877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35884 if test "$ac_cv_header_widec_h" = "yes"; then
35885 wchar_headers="$wchar_headers
35886 #include <widec.h>"
35891 for wx_func in putws fputws wprintf vswprintf vswscanf
35893 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35894 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35895 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35896 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 cat >conftest.$ac_ext <<_ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35908 $ac_includes_default
35924 rm -f conftest.$ac_objext conftest$ac_exeext
35925 if { (ac_try="$ac_link"
35926 case "(($ac_try" in
35927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35928 *) ac_try_echo
=$ac_try;;
35930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35931 (eval "$ac_link") 2>conftest.er1
35933 grep -v '^ *+' conftest.er1
>conftest.err
35935 cat conftest.err
>&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); } && {
35938 test -z "$ac_c_werror_flag" ||
35939 test ! -s conftest.err
35940 } && test -s conftest
$ac_exeext &&
35941 $as_test_x conftest
$ac_exeext; then
35942 eval wx_cv_func_
$wx_func=yes
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.
$ac_ext >&5
35947 eval wx_cv_func_
$wx_func=no
35950 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35951 conftest
$ac_exeext conftest.
$ac_ext
35954 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35955 { echo "$as_me:$LINENO: result: $ac_res" >&5
35956 echo "${ECHO_T}$ac_res" >&6; }
35958 if eval test \
$wx_cv_func_$wx_func = yes
35960 cat >>confdefs.h
<<_ACEOF
35961 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35972 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35973 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35974 cat >conftest.
$ac_ext <<_ACEOF
35977 cat confdefs.h
>>conftest.
$ac_ext
35978 cat >>conftest.
$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35989 rm -f conftest.
$ac_objext
35990 if { (ac_try
="$ac_compile"
35991 case "(($ac_try" in
35992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35993 *) ac_try_echo=$ac_try;;
35995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35996 (eval "$ac_compile") 2>conftest.er1
35998 grep -v '^ *+' conftest.er1 >conftest.err
36000 cat conftest.err >&5
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); } && {
36003 test -z "$ac_c_werror_flag" ||
36004 test ! -s conftest.err
36005 } && test -s conftest.$ac_objext; then
36006 { echo "$as_me:$LINENO: result: yes" >&5
36007 echo "${ECHO_T}yes" >&6; }
36008 cat >>confdefs.h <<\_ACEOF
36009 #define HAVE__VSNWPRINTF 1
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36016 { echo "$as_me:$LINENO: result: no" >&5
36017 echo "${ECHO_T}no" >&6; }
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36023 if test "$wxUSE_FILE" = "yes"; then
36025 for wx_func in fsync
36027 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36028 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36029 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36033 cat >conftest.$ac_ext <<_ACEOF
36037 cat confdefs.h >>conftest.$ac_ext
36038 cat >>conftest.$ac_ext <<_ACEOF
36039 /* end confdefs.h. */
36042 $ac_includes_default
36058 rm -f conftest.$ac_objext conftest$ac_exeext
36059 if { (ac_try="$ac_link"
36060 case "(($ac_try" in
36061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36062 *) ac_try_echo
=$ac_try;;
36064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36065 (eval "$ac_link") 2>conftest.er1
36067 grep -v '^ *+' conftest.er1
>conftest.err
36069 cat conftest.err
>&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); } && {
36072 test -z "$ac_c_werror_flag" ||
36073 test ! -s conftest.err
36074 } && test -s conftest
$ac_exeext &&
36075 $as_test_x conftest
$ac_exeext; then
36076 eval wx_cv_func_
$wx_func=yes
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.
$ac_ext >&5
36081 eval wx_cv_func_
$wx_func=no
36084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36085 conftest
$ac_exeext conftest.
$ac_ext
36088 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36089 { echo "$as_me:$LINENO: result: $ac_res" >&5
36090 echo "${ECHO_T}$ac_res" >&6; }
36092 if eval test \
$wx_cv_func_$wx_func = yes
36094 cat >>confdefs.h
<<_ACEOF
36095 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36108 ac_cpp
='$CXXCPP $CPPFLAGS'
36109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36114 for wx_func
in round
36116 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36117 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36118 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36119 echo $ECHO_N "(cached) $ECHO_C" >&6
36122 cat >conftest.
$ac_ext <<_ACEOF
36126 cat confdefs.h
>>conftest.
$ac_ext
36127 cat >>conftest.
$ac_ext <<_ACEOF
36128 /* end confdefs.h. */
36131 $ac_includes_default
36147 rm -f conftest.
$ac_objext conftest
$ac_exeext
36148 if { (ac_try
="$ac_link"
36149 case "(($ac_try" in
36150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36151 *) ac_try_echo=$ac_try;;
36153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36154 (eval "$ac_link") 2>conftest.er1
36156 grep -v '^ *+' conftest.er1 >conftest.err
36158 cat conftest.err >&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } && {
36161 test -z "$ac_cxx_werror_flag" ||
36162 test ! -s conftest.err
36163 } && test -s conftest$ac_exeext &&
36164 $as_test_x conftest$ac_exeext; then
36165 eval wx_cv_func_$wx_func=yes
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.$ac_ext >&5
36170 eval wx_cv_func_$wx_func=no
36173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36174 conftest$ac_exeext conftest.$ac_ext
36177 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36178 { echo "$as_me:$LINENO: result: $ac_res" >&5
36179 echo "${ECHO_T}$ac_res" >&6; }
36181 if eval test \$wx_cv_func_$wx_func = yes
36183 cat >>confdefs.h <<_ACEOF
36184 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36195 ac_cpp='$CPP $CPPFLAGS'
36196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36201 if test "$TOOLKIT" != "MSW"; then
36203 if test "$wxUSE_LIBICONV" != "no" ; then
36207 # Check whether --with-libiconv-prefix was given.
36208 if test "${with_libiconv_prefix+set}" = set; then
36209 withval=$with_libiconv_prefix;
36210 for dir in `echo "$withval" | tr : ' '`; do
36211 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36212 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36218 { echo "$as_me:$LINENO: checking for iconv" >&5
36219 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36220 if test "${am_cv_func_iconv+set}" = set; then
36221 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 am_cv_func_iconv="no, consider installing GNU libiconv"
36226 cat >conftest.$ac_ext <<_ACEOF
36229 cat confdefs.h >>conftest.$ac_ext
36230 cat >>conftest.$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 #include <stdlib.h>
36237 iconv_t cd = iconv_open("","");
36238 iconv(cd,NULL,NULL,NULL,NULL);
36244 rm -f conftest.$ac_objext conftest$ac_exeext
36245 if { (ac_try="$ac_link"
36246 case "(($ac_try" in
36247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36248 *) ac_try_echo
=$ac_try;;
36250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36251 (eval "$ac_link") 2>conftest.er1
36253 grep -v '^ *+' conftest.er1
>conftest.err
36255 cat conftest.err
>&5
36256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36257 (exit $ac_status); } && {
36258 test -z "$ac_c_werror_flag" ||
36259 test ! -s conftest.err
36260 } && test -s conftest
$ac_exeext &&
36261 $as_test_x conftest
$ac_exeext; then
36262 am_cv_func_iconv
=yes
36264 echo "$as_me: failed program was:" >&5
36265 sed 's/^/| /' conftest.
$ac_ext >&5
36270 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36271 conftest
$ac_exeext conftest.
$ac_ext
36272 if test "$am_cv_func_iconv" != yes; then
36273 am_save_LIBS
="$LIBS"
36274 LIBS
="$LIBS -liconv"
36275 cat >conftest.
$ac_ext <<_ACEOF
36278 cat confdefs.h
>>conftest.
$ac_ext
36279 cat >>conftest.
$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36281 #include <stdlib.h>
36286 iconv_t cd = iconv_open("","");
36287 iconv(cd,NULL,NULL,NULL,NULL);
36293 rm -f conftest.
$ac_objext conftest
$ac_exeext
36294 if { (ac_try
="$ac_link"
36295 case "(($ac_try" in
36296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36297 *) ac_try_echo=$ac_try;;
36299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36300 (eval "$ac_link") 2>conftest.er1
36302 grep -v '^ *+' conftest.er1 >conftest.err
36304 cat conftest.err >&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } && {
36307 test -z "$ac_c_werror_flag" ||
36308 test ! -s conftest.err
36309 } && test -s conftest$ac_exeext &&
36310 $as_test_x conftest$ac_exeext; then
36311 am_cv_lib_iconv=yes
36312 am_cv_func_iconv=yes
36314 echo "$as_me: failed program was:" >&5
36315 sed 's/^/| /' conftest.$ac_ext >&5
36320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36321 conftest$ac_exeext conftest.$ac_ext
36322 LIBS="$am_save_LIBS"
36326 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36327 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36328 if test "$am_cv_func_iconv" = yes; then
36330 cat >>confdefs.h <<\_ACEOF
36331 #define HAVE_ICONV 1
36334 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36335 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36336 if test "${wx_cv_func_iconv_const+set}" = set; then
36337 echo $ECHO_N "(cached) $ECHO_C" >&6
36339 cat >conftest.$ac_ext <<_ACEOF
36342 cat confdefs.h >>conftest.$ac_ext
36343 cat >>conftest.$ac_ext <<_ACEOF
36344 /* end confdefs.h. */
36346 #include <stdlib.h>
36352 #if defined(__STDC__) || defined(__cplusplus)
36353 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36366 rm -f conftest.$ac_objext
36367 if { (ac_try="$ac_compile"
36368 case "(($ac_try" in
36369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36370 *) ac_try_echo
=$ac_try;;
36372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36373 (eval "$ac_compile") 2>conftest.er1
36375 grep -v '^ *+' conftest.er1
>conftest.err
36377 cat conftest.err
>&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); } && {
36380 test -z "$ac_c_werror_flag" ||
36381 test ! -s conftest.err
36382 } && test -s conftest.
$ac_objext; then
36383 wx_cv_func_iconv_const
="no"
36385 echo "$as_me: failed program was:" >&5
36386 sed 's/^/| /' conftest.
$ac_ext >&5
36388 wx_cv_func_iconv_const
="yes"
36392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36395 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36396 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36399 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36400 iconv_const
="const"
36404 cat >>confdefs.h
<<_ACEOF
36405 #define ICONV_CONST $iconv_const
36410 if test "$am_cv_lib_iconv" = yes; then
36415 LIBS
="$LIBICONV $LIBS"
36418 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36420 for ac_func
in sigaction
36422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36425 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 cat >conftest.
$ac_ext <<_ACEOF
36431 cat confdefs.h
>>conftest.
$ac_ext
36432 cat >>conftest.
$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36436 #define $ac_func innocuous_$ac_func
36438 /* System header to define __stub macros and hopefully few prototypes,
36439 which can conflict with char $ac_func (); below.
36440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36441 <limits.h> exists even on freestanding compilers. */
36444 # include <limits.h>
36446 # include <assert.h>
36451 /* Override any GCC internal prototype to avoid an error.
36452 Use char because int might match the return type of a GCC
36453 builtin and then its argument prototype would still apply. */
36458 /* The GNU C library defines this for functions which it implements
36459 to always fail with ENOSYS. Some functions are actually named
36460 something starting with __ and the normal name is an alias. */
36461 #if defined __stub_$ac_func || defined __stub___$ac_func
36468 return $ac_func ();
36473 rm -f conftest.
$ac_objext conftest
$ac_exeext
36474 if { (ac_try
="$ac_link"
36475 case "(($ac_try" in
36476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36477 *) ac_try_echo=$ac_try;;
36479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36480 (eval "$ac_link") 2>conftest.er1
36482 grep -v '^ *+' conftest.er1 >conftest.err
36484 cat conftest.err >&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); } && {
36487 test -z "$ac_c_werror_flag" ||
36488 test ! -s conftest.err
36489 } && test -s conftest$ac_exeext &&
36490 $as_test_x conftest$ac_exeext; then
36491 eval "$as_ac_var=yes"
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.$ac_ext >&5
36496 eval "$as_ac_var=no"
36499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36500 conftest$ac_exeext conftest.$ac_ext
36502 ac_res=`eval echo '${'$as_ac_var'}'`
36503 { echo "$as_me:$LINENO: result: $ac_res" >&5
36504 echo "${ECHO_T}$ac_res" >&6; }
36505 if test `eval echo '${'$as_ac_var'}'` = yes; then
36506 cat >>confdefs.h <<_ACEOF
36507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36514 if test "$ac_cv_func_sigaction" = "no"; then
36515 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36516 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36517 wxUSE_ON_FATAL_EXCEPTION=no
36520 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36521 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36522 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36523 if test "${wx_cv_type_sa_handler+set}" = set; then
36524 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 ac_cpp='$CXXCPP $CPPFLAGS'
36529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36533 cat >conftest.$ac_ext <<_ACEOF
36536 cat confdefs.h >>conftest.$ac_ext
36537 cat >>conftest.$ac_ext <<_ACEOF
36538 /* end confdefs.h. */
36539 #include <signal.h>
36544 extern void testSigHandler(int);
36546 struct sigaction sa;
36547 sa.sa_handler = testSigHandler;
36553 rm -f conftest.$ac_objext
36554 if { (ac_try="$ac_compile"
36555 case "(($ac_try" in
36556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36557 *) ac_try_echo
=$ac_try;;
36559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36560 (eval "$ac_compile") 2>conftest.er1
36562 grep -v '^ *+' conftest.er1
>conftest.err
36564 cat conftest.err
>&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); } && {
36567 test -z "$ac_cxx_werror_flag" ||
36568 test ! -s conftest.err
36569 } && test -s conftest.
$ac_objext; then
36571 wx_cv_type_sa_handler
=int
36574 echo "$as_me: failed program was:" >&5
36575 sed 's/^/| /' conftest.
$ac_ext >&5
36578 wx_cv_type_sa_handler
=void
36582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36584 ac_cpp
='$CPP $CPPFLAGS'
36585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36591 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36592 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36594 cat >>confdefs.h
<<_ACEOF
36595 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36601 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36602 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36603 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36604 if test "${wx_cv_func_backtrace+set}" = set; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36609 ac_cpp
='$CXXCPP $CPPFLAGS'
36610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36614 cat >conftest.
$ac_ext <<_ACEOF
36617 cat confdefs.h
>>conftest.
$ac_ext
36618 cat >>conftest.
$ac_ext <<_ACEOF
36619 /* end confdefs.h. */
36620 #include <execinfo.h>
36628 backtrace(trace, 1);
36629 messages = backtrace_symbols(trace, 1);
36635 rm -f conftest.
$ac_objext
36636 if { (ac_try
="$ac_compile"
36637 case "(($ac_try" in
36638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_compile") 2>conftest.er1
36644 grep -v '^ *+' conftest.er1 >conftest.err
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_cxx_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest.$ac_objext; then
36652 wx_cv_func_backtrace=yes
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36657 wx_cv_func_backtrace=no
36661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36663 ac_cpp='$CPP $CPPFLAGS'
36664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36671 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36672 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36675 if test "$wx_cv_func_backtrace" = "no"; then
36676 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36677 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36678 wxUSE_STACKWALKER=no
36680 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36681 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36682 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36683 echo $ECHO_N "(cached) $ECHO_C" >&6
36687 ac_cpp='$CXXCPP $CPPFLAGS'
36688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36692 cat >conftest.$ac_ext <<_ACEOF
36695 cat confdefs.h >>conftest.$ac_ext
36696 cat >>conftest.$ac_ext <<_ACEOF
36697 /* end confdefs.h. */
36698 #include <cxxabi.h>
36704 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36710 rm -f conftest.$ac_objext conftest$ac_exeext
36711 if { (ac_try="$ac_link"
36712 case "(($ac_try" in
36713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36714 *) ac_try_echo
=$ac_try;;
36716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36717 (eval "$ac_link") 2>conftest.er1
36719 grep -v '^ *+' conftest.er1
>conftest.err
36721 cat conftest.err
>&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); } && {
36724 test -z "$ac_cxx_werror_flag" ||
36725 test ! -s conftest.err
36726 } && test -s conftest
$ac_exeext &&
36727 $as_test_x conftest
$ac_exeext; then
36728 wx_cv_func_cxa_demangle
=yes
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.
$ac_ext >&5
36733 wx_cv_func_cxa_demangle
=no
36737 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36738 conftest
$ac_exeext conftest.
$ac_ext
36740 ac_cpp
='$CPP $CPPFLAGS'
36741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36748 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36749 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36751 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36752 cat >>confdefs.h
<<\_ACEOF
36753 #define HAVE_CXA_DEMANGLE 1
36760 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36761 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36762 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36763 wxUSE_STACKWALKER
=no
36769 for ac_func
in mkstemp mktemp
36771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36774 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36775 echo $ECHO_N "(cached) $ECHO_C" >&6
36777 cat >conftest.
$ac_ext <<_ACEOF
36780 cat confdefs.h
>>conftest.
$ac_ext
36781 cat >>conftest.
$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36785 #define $ac_func innocuous_$ac_func
36787 /* System header to define __stub macros and hopefully few prototypes,
36788 which can conflict with char $ac_func (); below.
36789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36790 <limits.h> exists even on freestanding compilers. */
36793 # include <limits.h>
36795 # include <assert.h>
36800 /* Override any GCC internal prototype to avoid an error.
36801 Use char because int might match the return type of a GCC
36802 builtin and then its argument prototype would still apply. */
36807 /* The GNU C library defines this for functions which it implements
36808 to always fail with ENOSYS. Some functions are actually named
36809 something starting with __ and the normal name is an alias. */
36810 #if defined __stub_$ac_func || defined __stub___$ac_func
36817 return $ac_func ();
36822 rm -f conftest.
$ac_objext conftest
$ac_exeext
36823 if { (ac_try
="$ac_link"
36824 case "(($ac_try" in
36825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36826 *) ac_try_echo=$ac_try;;
36828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36829 (eval "$ac_link") 2>conftest.er1
36831 grep -v '^ *+' conftest.er1 >conftest.err
36833 cat conftest.err >&5
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); } && {
36836 test -z "$ac_c_werror_flag" ||
36837 test ! -s conftest.err
36838 } && test -s conftest$ac_exeext &&
36839 $as_test_x conftest$ac_exeext; then
36840 eval "$as_ac_var=yes"
36842 echo "$as_me: failed program was:" >&5
36843 sed 's/^/| /' conftest.$ac_ext >&5
36845 eval "$as_ac_var=no"
36848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36849 conftest$ac_exeext conftest.$ac_ext
36851 ac_res=`eval echo '${'$as_ac_var'}'`
36852 { echo "$as_me:$LINENO: result: $ac_res" >&5
36853 echo "${ECHO_T}$ac_res" >&6; }
36854 if test `eval echo '${'$as_ac_var'}'` = yes; then
36855 cat >>confdefs.h <<_ACEOF
36856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36863 { echo "$as_me:$LINENO: checking for statfs" >&5
36864 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36865 if test "${wx_cv_func_statfs+set}" = set; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36868 cat >conftest.$ac_ext <<_ACEOF
36871 cat confdefs.h >>conftest.$ac_ext
36872 cat >>conftest.$ac_ext <<_ACEOF
36873 /* end confdefs.h. */
36875 #if defined(__BSD__)
36876 #include <sys/param.h>
36877 #include <sys/mount.h>
36879 #include <sys/vfs.h>
36897 rm -f conftest.$ac_objext
36898 if { (ac_try="$ac_compile"
36899 case "(($ac_try" in
36900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36901 *) ac_try_echo
=$ac_try;;
36903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36904 (eval "$ac_compile") 2>conftest.er1
36906 grep -v '^ *+' conftest.er1
>conftest.err
36908 cat conftest.err
>&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); } && {
36911 test -z "$ac_c_werror_flag" ||
36912 test ! -s conftest.err
36913 } && test -s conftest.
$ac_objext; then
36914 wx_cv_func_statfs
=yes
36916 echo "$as_me: failed program was:" >&5
36917 sed 's/^/| /' conftest.
$ac_ext >&5
36919 wx_cv_func_statfs
=no
36923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36926 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36927 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36929 if test "$wx_cv_func_statfs" = "yes"; then
36930 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36931 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36932 if test "${wx_cv_func_statfs_decl+set}" = set; then
36933 echo $ECHO_N "(cached) $ECHO_C" >&6
36936 ac_cpp
='$CXXCPP $CPPFLAGS'
36937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36941 cat >conftest.
$ac_ext <<_ACEOF
36944 cat confdefs.h
>>conftest.
$ac_ext
36945 cat >>conftest.
$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36948 #if defined(__BSD__)
36949 #include <sys/param.h>
36950 #include <sys/mount.h>
36952 #include <sys/vfs.h>
36966 rm -f conftest.
$ac_objext
36967 if { (ac_try
="$ac_compile"
36968 case "(($ac_try" in
36969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36970 *) ac_try_echo=$ac_try;;
36972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36973 (eval "$ac_compile") 2>conftest.er1
36975 grep -v '^ *+' conftest.er1 >conftest.err
36977 cat conftest.err >&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } && {
36980 test -z "$ac_cxx_werror_flag" ||
36981 test ! -s conftest.err
36982 } && test -s conftest.$ac_objext; then
36983 wx_cv_func_statfs_decl=yes
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36988 wx_cv_func_statfs_decl=no
36992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36994 ac_cpp='$CPP $CPPFLAGS'
36995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37001 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37002 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37004 if test "$wx_cv_func_statfs_decl" = "yes"; then
37005 cat >>confdefs.h <<\_ACEOF
37006 #define HAVE_STATFS_DECL 1
37011 wx_cv_type_statvfs_t="struct statfs"
37012 cat >>confdefs.h <<\_ACEOF
37013 #define HAVE_STATFS 1
37017 { echo "$as_me:$LINENO: checking for statvfs" >&5
37018 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37019 if test "${wx_cv_func_statvfs+set}" = set; then
37020 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 cat >conftest.$ac_ext <<_ACEOF
37025 cat confdefs.h >>conftest.$ac_ext
37026 cat >>conftest.$ac_ext <<_ACEOF
37027 /* end confdefs.h. */
37029 #include <stddef.h>
37030 #include <sys/statvfs.h>
37036 statvfs("/", NULL);
37042 rm -f conftest.$ac_objext
37043 if { (ac_try="$ac_compile"
37044 case "(($ac_try" in
37045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37046 *) ac_try_echo
=$ac_try;;
37048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37049 (eval "$ac_compile") 2>conftest.er1
37051 grep -v '^ *+' conftest.er1
>conftest.err
37053 cat conftest.err
>&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); } && {
37056 test -z "$ac_c_werror_flag" ||
37057 test ! -s conftest.err
37058 } && test -s conftest.
$ac_objext; then
37059 wx_cv_func_statvfs
=yes
37061 echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.
$ac_ext >&5
37064 wx_cv_func_statvfs
=no
37068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37071 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37072 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37074 if test "$wx_cv_func_statvfs" = "yes"; then
37075 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37076 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37077 if test "${wx_cv_type_statvfs_t+set}" = set; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37081 ac_cpp
='$CXXCPP $CPPFLAGS'
37082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37086 cat >conftest.
$ac_ext <<_ACEOF
37089 cat confdefs.h
>>conftest.
$ac_ext
37090 cat >>conftest.
$ac_ext <<_ACEOF
37091 /* end confdefs.h. */
37093 #include <sys/statvfs.h>
37110 rm -f conftest.
$ac_objext
37111 if { (ac_try
="$ac_compile"
37112 case "(($ac_try" in
37113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37114 *) ac_try_echo=$ac_try;;
37116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37117 (eval "$ac_compile") 2>conftest.er1
37119 grep -v '^ *+' conftest.er1 >conftest.err
37121 cat conftest.err >&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); } && {
37124 test -z "$ac_cxx_werror_flag" ||
37125 test ! -s conftest.err
37126 } && test -s conftest.$ac_objext; then
37127 wx_cv_type_statvfs_t=statvfs_t
37129 echo "$as_me: failed program was:" >&5
37130 sed 's/^/| /' conftest.$ac_ext >&5
37133 cat >conftest.$ac_ext <<_ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37140 #include <sys/statvfs.h>
37157 rm -f conftest.$ac_objext
37158 if { (ac_try="$ac_compile"
37159 case "(($ac_try" in
37160 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37161 *) ac_try_echo
=$ac_try;;
37163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37164 (eval "$ac_compile") 2>conftest.er1
37166 grep -v '^ *+' conftest.er1
>conftest.err
37168 cat conftest.err
>&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); } && {
37171 test -z "$ac_cxx_werror_flag" ||
37172 test ! -s conftest.err
37173 } && test -s conftest.
$ac_objext; then
37174 wx_cv_type_statvfs_t
="struct statvfs"
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.
$ac_ext >&5
37179 wx_cv_type_statvfs_t
="unknown"
37183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37190 ac_cpp
='$CPP $CPPFLAGS'
37191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37197 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37198 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37200 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37201 cat >>confdefs.h
<<\_ACEOF
37202 #define HAVE_STATVFS 1
37207 wx_cv_type_statvfs_t
="unknown"
37211 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37212 cat >>confdefs.h
<<_ACEOF
37213 #define WX_STATFS_T $wx_cv_type_statvfs_t
37217 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37218 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37221 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37224 for ac_func
in fcntl flock
37226 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37229 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37230 echo $ECHO_N "(cached) $ECHO_C" >&6
37232 cat >conftest.
$ac_ext <<_ACEOF
37235 cat confdefs.h
>>conftest.
$ac_ext
37236 cat >>conftest.
$ac_ext <<_ACEOF
37237 /* end confdefs.h. */
37238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37240 #define $ac_func innocuous_$ac_func
37242 /* System header to define __stub macros and hopefully few prototypes,
37243 which can conflict with char $ac_func (); below.
37244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37245 <limits.h> exists even on freestanding compilers. */
37248 # include <limits.h>
37250 # include <assert.h>
37255 /* Override any GCC internal prototype to avoid an error.
37256 Use char because int might match the return type of a GCC
37257 builtin and then its argument prototype would still apply. */
37262 /* The GNU C library defines this for functions which it implements
37263 to always fail with ENOSYS. Some functions are actually named
37264 something starting with __ and the normal name is an alias. */
37265 #if defined __stub_$ac_func || defined __stub___$ac_func
37272 return $ac_func ();
37277 rm -f conftest.
$ac_objext conftest
$ac_exeext
37278 if { (ac_try
="$ac_link"
37279 case "(($ac_try" in
37280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37281 *) ac_try_echo=$ac_try;;
37283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37284 (eval "$ac_link") 2>conftest.er1
37286 grep -v '^ *+' conftest.er1 >conftest.err
37288 cat conftest.err >&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); } && {
37291 test -z "$ac_c_werror_flag" ||
37292 test ! -s conftest.err
37293 } && test -s conftest$ac_exeext &&
37294 $as_test_x conftest$ac_exeext; then
37295 eval "$as_ac_var=yes"
37297 echo "$as_me: failed program was:" >&5
37298 sed 's/^/| /' conftest.$ac_ext >&5
37300 eval "$as_ac_var=no"
37303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37304 conftest$ac_exeext conftest.$ac_ext
37306 ac_res=`eval echo '${'$as_ac_var'}'`
37307 { echo "$as_me:$LINENO: result: $ac_res" >&5
37308 echo "${ECHO_T}$ac_res" >&6; }
37309 if test `eval echo '${'$as_ac_var'}'` = yes; then
37310 cat >>confdefs.h <<_ACEOF
37311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37318 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37319 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37320 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37321 wxUSE_SNGLINST_CHECKER=no
37327 for ac_func in setenv putenv
37329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37330 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37332 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37335 cat >conftest.$ac_ext <<_ACEOF
37338 cat confdefs.h >>conftest.$ac_ext
37339 cat >>conftest.$ac_ext <<_ACEOF
37340 /* end confdefs.h. */
37341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37343 #define $ac_func innocuous_$ac_func
37345 /* System header to define __stub macros and hopefully few prototypes,
37346 which can conflict with char $ac_func (); below.
37347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37348 <limits.h> exists even on freestanding compilers. */
37351 # include <limits.h>
37353 # include <assert.h>
37358 /* Override any GCC internal prototype to avoid an error.
37359 Use char because int might match the return type of a GCC
37360 builtin and then its argument prototype would still apply. */
37365 /* The GNU C library defines this for functions which it implements
37366 to always fail with ENOSYS. Some functions are actually named
37367 something starting with __ and the normal name is an alias. */
37368 #if defined __stub_$ac_func || defined __stub___$ac_func
37375 return $ac_func ();
37380 rm -f conftest.$ac_objext conftest$ac_exeext
37381 if { (ac_try="$ac_link"
37382 case "(($ac_try" in
37383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37384 *) ac_try_echo
=$ac_try;;
37386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37387 (eval "$ac_link") 2>conftest.er1
37389 grep -v '^ *+' conftest.er1
>conftest.err
37391 cat conftest.err
>&5
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); } && {
37394 test -z "$ac_c_werror_flag" ||
37395 test ! -s conftest.err
37396 } && test -s conftest
$ac_exeext &&
37397 $as_test_x conftest
$ac_exeext; then
37398 eval "$as_ac_var=yes"
37400 echo "$as_me: failed program was:" >&5
37401 sed 's/^/| /' conftest.
$ac_ext >&5
37403 eval "$as_ac_var=no"
37406 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37407 conftest
$ac_exeext conftest.
$ac_ext
37409 ac_res
=`eval echo '${'$as_ac_var'}'`
37410 { echo "$as_me:$LINENO: result: $ac_res" >&5
37411 echo "${ECHO_T}$ac_res" >&6; }
37412 if test `eval echo '${'$as_ac_var'}'` = yes; then
37413 cat >>confdefs.h
<<_ACEOF
37414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37420 if test "$ac_cv_func_setenv" = "yes"; then
37422 for ac_func
in unsetenv
37424 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37425 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37427 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37428 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 cat >conftest.
$ac_ext <<_ACEOF
37433 cat confdefs.h
>>conftest.
$ac_ext
37434 cat >>conftest.
$ac_ext <<_ACEOF
37435 /* end confdefs.h. */
37436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37438 #define $ac_func innocuous_$ac_func
37440 /* System header to define __stub macros and hopefully few prototypes,
37441 which can conflict with char $ac_func (); below.
37442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37443 <limits.h> exists even on freestanding compilers. */
37446 # include <limits.h>
37448 # include <assert.h>
37453 /* Override any GCC internal prototype to avoid an error.
37454 Use char because int might match the return type of a GCC
37455 builtin and then its argument prototype would still apply. */
37460 /* The GNU C library defines this for functions which it implements
37461 to always fail with ENOSYS. Some functions are actually named
37462 something starting with __ and the normal name is an alias. */
37463 #if defined __stub_$ac_func || defined __stub___$ac_func
37470 return $ac_func ();
37475 rm -f conftest.
$ac_objext conftest
$ac_exeext
37476 if { (ac_try
="$ac_link"
37477 case "(($ac_try" in
37478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37479 *) ac_try_echo=$ac_try;;
37481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37482 (eval "$ac_link") 2>conftest.er1
37484 grep -v '^ *+' conftest.er1 >conftest.err
37486 cat conftest.err >&5
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); } && {
37489 test -z "$ac_c_werror_flag" ||
37490 test ! -s conftest.err
37491 } && test -s conftest$ac_exeext &&
37492 $as_test_x conftest$ac_exeext; then
37493 eval "$as_ac_var=yes"
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37498 eval "$as_ac_var=no"
37501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37502 conftest$ac_exeext conftest.$ac_ext
37504 ac_res=`eval echo '${'$as_ac_var'}'`
37505 { echo "$as_me:$LINENO: result: $ac_res" >&5
37506 echo "${ECHO_T}$ac_res" >&6; }
37507 if test `eval echo '${'$as_ac_var'}'` = yes; then
37508 cat >>confdefs.h <<_ACEOF
37509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37517 HAVE_SOME_SLEEP_FUNC=0
37518 if test "$USE_BEOS" = 1; then
37519 cat >>confdefs.h <<\_ACEOF
37520 #define HAVE_SLEEP 1
37523 HAVE_SOME_SLEEP_FUNC=1
37526 if test "$USE_DARWIN" = 1; then
37527 cat >>confdefs.h <<\_ACEOF
37528 #define HAVE_USLEEP 1
37531 HAVE_SOME_SLEEP_FUNC=1
37534 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37537 for ac_func in nanosleep
37539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37543 echo $ECHO_N "(cached) $ECHO_C" >&6
37545 cat >conftest.$ac_ext <<_ACEOF
37548 cat confdefs.h >>conftest.$ac_ext
37549 cat >>conftest.$ac_ext <<_ACEOF
37550 /* end confdefs.h. */
37551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37553 #define $ac_func innocuous_$ac_func
37555 /* System header to define __stub macros and hopefully few prototypes,
37556 which can conflict with char $ac_func (); below.
37557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37558 <limits.h> exists even on freestanding compilers. */
37561 # include <limits.h>
37563 # include <assert.h>
37568 /* Override any GCC internal prototype to avoid an error.
37569 Use char because int might match the return type of a GCC
37570 builtin and then its argument prototype would still apply. */
37575 /* The GNU C library defines this for functions which it implements
37576 to always fail with ENOSYS. Some functions are actually named
37577 something starting with __ and the normal name is an alias. */
37578 #if defined __stub_$ac_func || defined __stub___$ac_func
37585 return $ac_func ();
37590 rm -f conftest.$ac_objext conftest$ac_exeext
37591 if { (ac_try="$ac_link"
37592 case "(($ac_try" in
37593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37594 *) ac_try_echo
=$ac_try;;
37596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37597 (eval "$ac_link") 2>conftest.er1
37599 grep -v '^ *+' conftest.er1
>conftest.err
37601 cat conftest.err
>&5
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); } && {
37604 test -z "$ac_c_werror_flag" ||
37605 test ! -s conftest.err
37606 } && test -s conftest
$ac_exeext &&
37607 $as_test_x conftest
$ac_exeext; then
37608 eval "$as_ac_var=yes"
37610 echo "$as_me: failed program was:" >&5
37611 sed 's/^/| /' conftest.
$ac_ext >&5
37613 eval "$as_ac_var=no"
37616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37617 conftest
$ac_exeext conftest.
$ac_ext
37619 ac_res
=`eval echo '${'$as_ac_var'}'`
37620 { echo "$as_me:$LINENO: result: $ac_res" >&5
37621 echo "${ECHO_T}$ac_res" >&6; }
37622 if test `eval echo '${'$as_ac_var'}'` = yes; then
37623 cat >>confdefs.h
<<_ACEOF
37624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37626 cat >>confdefs.h
<<\_ACEOF
37627 #define HAVE_NANOSLEEP 1
37632 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37633 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37634 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37635 echo $ECHO_N "(cached) $ECHO_C" >&6
37637 ac_check_lib_save_LIBS
=$LIBS
37638 LIBS
="-lposix4 $LIBS"
37639 cat >conftest.
$ac_ext <<_ACEOF
37642 cat confdefs.h
>>conftest.
$ac_ext
37643 cat >>conftest.
$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37646 /* Override any GCC internal prototype to avoid an error.
37647 Use char because int might match the return type of a GCC
37648 builtin and then its argument prototype would still apply. */
37656 return nanosleep ();
37661 rm -f conftest.
$ac_objext conftest
$ac_exeext
37662 if { (ac_try
="$ac_link"
37663 case "(($ac_try" in
37664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37665 *) ac_try_echo=$ac_try;;
37667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37668 (eval "$ac_link") 2>conftest.er1
37670 grep -v '^ *+' conftest.er1 >conftest.err
37672 cat conftest.err >&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); } && {
37675 test -z "$ac_c_werror_flag" ||
37676 test ! -s conftest.err
37677 } && test -s conftest$ac_exeext &&
37678 $as_test_x conftest$ac_exeext; then
37679 ac_cv_lib_posix4_nanosleep=yes
37681 echo "$as_me: failed program was:" >&5
37682 sed 's/^/| /' conftest.$ac_ext >&5
37684 ac_cv_lib_posix4_nanosleep=no
37687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37688 conftest$ac_exeext conftest.$ac_ext
37689 LIBS=$ac_check_lib_save_LIBS
37691 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37692 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37693 if test $ac_cv_lib_posix4_nanosleep = yes; then
37695 cat >>confdefs.h <<\_ACEOF
37696 #define HAVE_NANOSLEEP 1
37699 POSIX4_LINK=" -lposix4"
37704 for wx_func in usleep
37706 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37707 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37708 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37712 cat >conftest.$ac_ext <<_ACEOF
37716 cat confdefs.h >>conftest.$ac_ext
37717 cat >>conftest.$ac_ext <<_ACEOF
37718 /* end confdefs.h. */
37721 $ac_includes_default
37737 rm -f conftest.$ac_objext conftest$ac_exeext
37738 if { (ac_try="$ac_link"
37739 case "(($ac_try" in
37740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37741 *) ac_try_echo
=$ac_try;;
37743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37744 (eval "$ac_link") 2>conftest.er1
37746 grep -v '^ *+' conftest.er1
>conftest.err
37748 cat conftest.err
>&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); } && {
37751 test -z "$ac_c_werror_flag" ||
37752 test ! -s conftest.err
37753 } && test -s conftest
$ac_exeext &&
37754 $as_test_x conftest
$ac_exeext; then
37755 eval wx_cv_func_
$wx_func=yes
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.
$ac_ext >&5
37760 eval wx_cv_func_
$wx_func=no
37763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37764 conftest
$ac_exeext conftest.
$ac_ext
37767 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37768 { echo "$as_me:$LINENO: result: $ac_res" >&5
37769 echo "${ECHO_T}$ac_res" >&6; }
37771 if eval test \
$wx_cv_func_$wx_func = yes
37773 cat >>confdefs.h
<<_ACEOF
37774 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37780 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37781 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37798 for wx_func
in uname
37800 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37801 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37802 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37806 cat >conftest.
$ac_ext <<_ACEOF
37810 cat confdefs.h
>>conftest.
$ac_ext
37811 cat >>conftest.
$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37814 #include <sys/utsname.h>
37815 $ac_includes_default
37831 rm -f conftest.
$ac_objext conftest
$ac_exeext
37832 if { (ac_try
="$ac_link"
37833 case "(($ac_try" in
37834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37835 *) ac_try_echo=$ac_try;;
37837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37838 (eval "$ac_link") 2>conftest.er1
37840 grep -v '^ *+' conftest.er1 >conftest.err
37842 cat conftest.err >&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } && {
37845 test -z "$ac_c_werror_flag" ||
37846 test ! -s conftest.err
37847 } && test -s conftest$ac_exeext &&
37848 $as_test_x conftest$ac_exeext; then
37849 eval wx_cv_func_$wx_func=yes
37851 echo "$as_me: failed program was:" >&5
37852 sed 's/^/| /' conftest.$ac_ext >&5
37854 eval wx_cv_func_$wx_func=no
37857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37858 conftest$ac_exeext conftest.$ac_ext
37861 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37862 { echo "$as_me:$LINENO: result: $ac_res" >&5
37863 echo "${ECHO_T}$ac_res" >&6; }
37865 if eval test \$wx_cv_func_$wx_func = yes
37867 cat >>confdefs.h <<_ACEOF
37868 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37878 if test "$wx_cv_func_uname" != yes; then
37880 for wx_func in gethostname
37882 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37883 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37884 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37888 cat >conftest.$ac_ext <<_ACEOF
37892 cat confdefs.h >>conftest.$ac_ext
37893 cat >>conftest.$ac_ext <<_ACEOF
37894 /* end confdefs.h. */
37897 $ac_includes_default
37913 rm -f conftest.$ac_objext conftest$ac_exeext
37914 if { (ac_try="$ac_link"
37915 case "(($ac_try" in
37916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37917 *) ac_try_echo
=$ac_try;;
37919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37920 (eval "$ac_link") 2>conftest.er1
37922 grep -v '^ *+' conftest.er1
>conftest.err
37924 cat conftest.err
>&5
37925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37926 (exit $ac_status); } && {
37927 test -z "$ac_c_werror_flag" ||
37928 test ! -s conftest.err
37929 } && test -s conftest
$ac_exeext &&
37930 $as_test_x conftest
$ac_exeext; then
37931 eval wx_cv_func_
$wx_func=yes
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.
$ac_ext >&5
37936 eval wx_cv_func_
$wx_func=no
37939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37940 conftest
$ac_exeext conftest.
$ac_ext
37943 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37944 { echo "$as_me:$LINENO: result: $ac_res" >&5
37945 echo "${ECHO_T}$ac_res" >&6; }
37947 if eval test \
$wx_cv_func_$wx_func = yes
37949 cat >>confdefs.h
<<_ACEOF
37950 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37963 for wx_func
in strtok_r
37965 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37966 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37967 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37968 echo $ECHO_N "(cached) $ECHO_C" >&6
37971 cat >conftest.
$ac_ext <<_ACEOF
37975 cat confdefs.h
>>conftest.
$ac_ext
37976 cat >>conftest.
$ac_ext <<_ACEOF
37977 /* end confdefs.h. */
37980 $ac_includes_default
37996 rm -f conftest.
$ac_objext conftest
$ac_exeext
37997 if { (ac_try
="$ac_link"
37998 case "(($ac_try" in
37999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38000 *) ac_try_echo=$ac_try;;
38002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38003 (eval "$ac_link") 2>conftest.er1
38005 grep -v '^ *+' conftest.er1 >conftest.err
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } && {
38010 test -z "$ac_c_werror_flag" ||
38011 test ! -s conftest.err
38012 } && test -s conftest$ac_exeext &&
38013 $as_test_x conftest$ac_exeext; then
38014 eval wx_cv_func_$wx_func=yes
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.$ac_ext >&5
38019 eval wx_cv_func_$wx_func=no
38022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38023 conftest$ac_exeext conftest.$ac_ext
38026 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38027 { echo "$as_me:$LINENO: result: $ac_res" >&5
38028 echo "${ECHO_T}$ac_res" >&6; }
38030 if eval test \$wx_cv_func_$wx_func = yes
38032 cat >>confdefs.h <<_ACEOF
38033 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38046 for ac_func in inet_addr
38048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38049 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38052 echo $ECHO_N "(cached) $ECHO_C" >&6
38054 cat >conftest.$ac_ext <<_ACEOF
38057 cat confdefs.h >>conftest.$ac_ext
38058 cat >>conftest.$ac_ext <<_ACEOF
38059 /* end confdefs.h. */
38060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38062 #define $ac_func innocuous_$ac_func
38064 /* System header to define __stub macros and hopefully few prototypes,
38065 which can conflict with char $ac_func (); below.
38066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38067 <limits.h> exists even on freestanding compilers. */
38070 # include <limits.h>
38072 # include <assert.h>
38077 /* Override any GCC internal prototype to avoid an error.
38078 Use char because int might match the return type of a GCC
38079 builtin and then its argument prototype would still apply. */
38084 /* The GNU C library defines this for functions which it implements
38085 to always fail with ENOSYS. Some functions are actually named
38086 something starting with __ and the normal name is an alias. */
38087 #if defined __stub_$ac_func || defined __stub___$ac_func
38094 return $ac_func ();
38099 rm -f conftest.$ac_objext conftest$ac_exeext
38100 if { (ac_try="$ac_link"
38101 case "(($ac_try" in
38102 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38103 *) ac_try_echo
=$ac_try;;
38105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38106 (eval "$ac_link") 2>conftest.er1
38108 grep -v '^ *+' conftest.er1
>conftest.err
38110 cat conftest.err
>&5
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); } && {
38113 test -z "$ac_c_werror_flag" ||
38114 test ! -s conftest.err
38115 } && test -s conftest
$ac_exeext &&
38116 $as_test_x conftest
$ac_exeext; then
38117 eval "$as_ac_var=yes"
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.
$ac_ext >&5
38122 eval "$as_ac_var=no"
38125 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38126 conftest
$ac_exeext conftest.
$ac_ext
38128 ac_res
=`eval echo '${'$as_ac_var'}'`
38129 { echo "$as_me:$LINENO: result: $ac_res" >&5
38130 echo "${ECHO_T}$ac_res" >&6; }
38131 if test `eval echo '${'$as_ac_var'}'` = yes; then
38132 cat >>confdefs.h
<<_ACEOF
38133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38135 cat >>confdefs.h
<<\_ACEOF
38136 #define HAVE_INET_ADDR 1
38141 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38142 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38143 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38144 echo $ECHO_N "(cached) $ECHO_C" >&6
38146 ac_check_lib_save_LIBS
=$LIBS
38148 cat >conftest.
$ac_ext <<_ACEOF
38151 cat confdefs.h
>>conftest.
$ac_ext
38152 cat >>conftest.
$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38155 /* Override any GCC internal prototype to avoid an error.
38156 Use char because int might match the return type of a GCC
38157 builtin and then its argument prototype would still apply. */
38165 return inet_addr ();
38170 rm -f conftest.
$ac_objext conftest
$ac_exeext
38171 if { (ac_try
="$ac_link"
38172 case "(($ac_try" in
38173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38174 *) ac_try_echo=$ac_try;;
38176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38177 (eval "$ac_link") 2>conftest.er1
38179 grep -v '^ *+' conftest.er1 >conftest.err
38181 cat conftest.err >&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); } && {
38184 test -z "$ac_c_werror_flag" ||
38185 test ! -s conftest.err
38186 } && test -s conftest$ac_exeext &&
38187 $as_test_x conftest$ac_exeext; then
38188 ac_cv_lib_nsl_inet_addr=yes
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.$ac_ext >&5
38193 ac_cv_lib_nsl_inet_addr=no
38196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38197 conftest$ac_exeext conftest.$ac_ext
38198 LIBS=$ac_check_lib_save_LIBS
38200 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38201 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38202 if test $ac_cv_lib_nsl_inet_addr = yes; then
38206 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38207 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38208 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38211 ac_check_lib_save_LIBS=$LIBS
38212 LIBS="-lresolv $LIBS"
38213 cat >conftest.$ac_ext <<_ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38220 /* Override any GCC internal prototype to avoid an error.
38221 Use char because int might match the return type of a GCC
38222 builtin and then its argument prototype would still apply. */
38230 return inet_addr ();
38235 rm -f conftest.$ac_objext conftest$ac_exeext
38236 if { (ac_try="$ac_link"
38237 case "(($ac_try" in
38238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38239 *) ac_try_echo
=$ac_try;;
38241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38242 (eval "$ac_link") 2>conftest.er1
38244 grep -v '^ *+' conftest.er1
>conftest.err
38246 cat conftest.err
>&5
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); } && {
38249 test -z "$ac_c_werror_flag" ||
38250 test ! -s conftest.err
38251 } && test -s conftest
$ac_exeext &&
38252 $as_test_x conftest
$ac_exeext; then
38253 ac_cv_lib_resolv_inet_addr
=yes
38255 echo "$as_me: failed program was:" >&5
38256 sed 's/^/| /' conftest.
$ac_ext >&5
38258 ac_cv_lib_resolv_inet_addr
=no
38261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38262 conftest
$ac_exeext conftest.
$ac_ext
38263 LIBS
=$ac_check_lib_save_LIBS
38265 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38266 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38267 if test $ac_cv_lib_resolv_inet_addr = yes; then
38271 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38272 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38273 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38276 ac_check_lib_save_LIBS
=$LIBS
38277 LIBS
="-lsocket $LIBS"
38278 cat >conftest.
$ac_ext <<_ACEOF
38281 cat confdefs.h
>>conftest.
$ac_ext
38282 cat >>conftest.
$ac_ext <<_ACEOF
38283 /* end confdefs.h. */
38285 /* Override any GCC internal prototype to avoid an error.
38286 Use char because int might match the return type of a GCC
38287 builtin and then its argument prototype would still apply. */
38295 return inet_addr ();
38300 rm -f conftest.
$ac_objext conftest
$ac_exeext
38301 if { (ac_try
="$ac_link"
38302 case "(($ac_try" in
38303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38304 *) ac_try_echo=$ac_try;;
38306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38307 (eval "$ac_link") 2>conftest.er1
38309 grep -v '^ *+' conftest.er1 >conftest.err
38311 cat conftest.err >&5
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); } && {
38314 test -z "$ac_c_werror_flag" ||
38315 test ! -s conftest.err
38316 } && test -s conftest$ac_exeext &&
38317 $as_test_x conftest$ac_exeext; then
38318 ac_cv_lib_socket_inet_addr=yes
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38323 ac_cv_lib_socket_inet_addr=no
38326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38327 conftest$ac_exeext conftest.$ac_ext
38328 LIBS=$ac_check_lib_save_LIBS
38330 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38331 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38332 if test $ac_cv_lib_socket_inet_addr = yes; then
38352 for ac_func in inet_aton
38354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38355 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38358 echo $ECHO_N "(cached) $ECHO_C" >&6
38360 cat >conftest.$ac_ext <<_ACEOF
38363 cat confdefs.h >>conftest.$ac_ext
38364 cat >>conftest.$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38368 #define $ac_func innocuous_$ac_func
38370 /* System header to define __stub macros and hopefully few prototypes,
38371 which can conflict with char $ac_func (); below.
38372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38373 <limits.h> exists even on freestanding compilers. */
38376 # include <limits.h>
38378 # include <assert.h>
38383 /* Override any GCC internal prototype to avoid an error.
38384 Use char because int might match the return type of a GCC
38385 builtin and then its argument prototype would still apply. */
38390 /* The GNU C library defines this for functions which it implements
38391 to always fail with ENOSYS. Some functions are actually named
38392 something starting with __ and the normal name is an alias. */
38393 #if defined __stub_$ac_func || defined __stub___$ac_func
38400 return $ac_func ();
38405 rm -f conftest.$ac_objext conftest$ac_exeext
38406 if { (ac_try="$ac_link"
38407 case "(($ac_try" in
38408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38409 *) ac_try_echo
=$ac_try;;
38411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38412 (eval "$ac_link") 2>conftest.er1
38414 grep -v '^ *+' conftest.er1
>conftest.err
38416 cat conftest.err
>&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); } && {
38419 test -z "$ac_c_werror_flag" ||
38420 test ! -s conftest.err
38421 } && test -s conftest
$ac_exeext &&
38422 $as_test_x conftest
$ac_exeext; then
38423 eval "$as_ac_var=yes"
38425 echo "$as_me: failed program was:" >&5
38426 sed 's/^/| /' conftest.
$ac_ext >&5
38428 eval "$as_ac_var=no"
38431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38432 conftest
$ac_exeext conftest.
$ac_ext
38434 ac_res
=`eval echo '${'$as_ac_var'}'`
38435 { echo "$as_me:$LINENO: result: $ac_res" >&5
38436 echo "${ECHO_T}$ac_res" >&6; }
38437 if test `eval echo '${'$as_ac_var'}'` = yes; then
38438 cat >>confdefs.h
<<_ACEOF
38439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38441 cat >>confdefs.h
<<\_ACEOF
38442 #define HAVE_INET_ATON 1
38447 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38448 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38449 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38450 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38453 ac_check_lib_save_LIBS
=$LIBS
38454 LIBS
="-l$INET_LINK $LIBS"
38455 cat >conftest.
$ac_ext <<_ACEOF
38458 cat confdefs.h
>>conftest.
$ac_ext
38459 cat >>conftest.
$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38462 /* Override any GCC internal prototype to avoid an error.
38463 Use char because int might match the return type of a GCC
38464 builtin and then its argument prototype would still apply. */
38472 return inet_aton ();
38477 rm -f conftest.
$ac_objext conftest
$ac_exeext
38478 if { (ac_try
="$ac_link"
38479 case "(($ac_try" in
38480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38481 *) ac_try_echo=$ac_try;;
38483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38484 (eval "$ac_link") 2>conftest.er1
38486 grep -v '^ *+' conftest.er1 >conftest.err
38488 cat conftest.err >&5
38489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38490 (exit $ac_status); } && {
38491 test -z "$ac_c_werror_flag" ||
38492 test ! -s conftest.err
38493 } && test -s conftest$ac_exeext &&
38494 $as_test_x conftest$ac_exeext; then
38495 eval "$as_ac_Lib=yes"
38497 echo "$as_me: failed program was:" >&5
38498 sed 's/^/| /' conftest.$ac_ext >&5
38500 eval "$as_ac_Lib=no"
38503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38504 conftest$ac_exeext conftest.$ac_ext
38505 LIBS=$ac_check_lib_save_LIBS
38507 ac_res=`eval echo '${'$as_ac_Lib'}'`
38508 { echo "$as_me:$LINENO: result: $ac_res" >&5
38509 echo "${ECHO_T}$ac_res" >&6; }
38510 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38511 cat >>confdefs.h <<\_ACEOF
38512 #define HAVE_INET_ATON 1
38522 if test "x$INET_LINK" != "x"; then
38523 cat >>confdefs.h <<\_ACEOF
38524 #define HAVE_INET_ADDR 1
38527 INET_LINK=" -l$INET_LINK"
38531 for wx_func in fdopen
38533 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38534 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38535 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38539 cat >conftest.$ac_ext <<_ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38548 $ac_includes_default
38564 rm -f conftest.$ac_objext conftest$ac_exeext
38565 if { (ac_try="$ac_link"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38568 *) ac_try_echo
=$ac_try;;
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_link") 2>conftest.er1
38573 grep -v '^ *+' conftest.er1
>conftest.err
38575 cat conftest.err
>&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } && {
38578 test -z "$ac_c_werror_flag" ||
38579 test ! -s conftest.err
38580 } && test -s conftest
$ac_exeext &&
38581 $as_test_x conftest
$ac_exeext; then
38582 eval wx_cv_func_
$wx_func=yes
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.
$ac_ext >&5
38587 eval wx_cv_func_
$wx_func=no
38590 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38591 conftest
$ac_exeext conftest.
$ac_ext
38594 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38595 { echo "$as_me:$LINENO: result: $ac_res" >&5
38596 echo "${ECHO_T}$ac_res" >&6; }
38598 if eval test \
$wx_cv_func_$wx_func = yes
38600 cat >>confdefs.h
<<_ACEOF
38601 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38612 if test "$wxUSE_TARSTREAM" = "yes"; then
38614 for wx_func
in sysconf
38616 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38617 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38618 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38619 echo $ECHO_N "(cached) $ECHO_C" >&6
38622 cat >conftest.
$ac_ext <<_ACEOF
38626 cat confdefs.h
>>conftest.
$ac_ext
38627 cat >>conftest.
$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38631 $ac_includes_default
38647 rm -f conftest.
$ac_objext conftest
$ac_exeext
38648 if { (ac_try
="$ac_link"
38649 case "(($ac_try" in
38650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38651 *) ac_try_echo=$ac_try;;
38653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38654 (eval "$ac_link") 2>conftest.er1
38656 grep -v '^ *+' conftest.er1 >conftest.err
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } && {
38661 test -z "$ac_c_werror_flag" ||
38662 test ! -s conftest.err
38663 } && test -s conftest$ac_exeext &&
38664 $as_test_x conftest$ac_exeext; then
38665 eval wx_cv_func_$wx_func=yes
38667 echo "$as_me: failed program was:" >&5
38668 sed 's/^/| /' conftest.$ac_ext >&5
38670 eval wx_cv_func_$wx_func=no
38673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38674 conftest$ac_exeext conftest.$ac_ext
38677 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38678 { echo "$as_me:$LINENO: result: $ac_res" >&5
38679 echo "${ECHO_T}$ac_res" >&6; }
38681 if eval test \$wx_cv_func_$wx_func = yes
38683 cat >>confdefs.h <<_ACEOF
38684 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38696 for wx_func in getpwuid_r
38698 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38699 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38700 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38701 echo $ECHO_N "(cached) $ECHO_C" >&6
38704 cat >conftest.$ac_ext <<_ACEOF
38708 cat confdefs.h >>conftest.$ac_ext
38709 cat >>conftest.$ac_ext <<_ACEOF
38710 /* end confdefs.h. */
38716 $ac_includes_default
38726 struct passwd pw, *ppw;
38728 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (ac_try="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38740 *) ac_try_echo
=$ac_try;;
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38745 grep -v '^ *+' conftest.er1
>conftest.err
38747 cat conftest.err
>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } && {
38750 test -z "$ac_c_werror_flag" ||
38751 test ! -s conftest.err
38752 } && test -s conftest
$ac_exeext &&
38753 $as_test_x conftest
$ac_exeext; then
38754 eval wx_cv_func_
$wx_func=yes
38756 echo "$as_me: failed program was:" >&5
38757 sed 's/^/| /' conftest.
$ac_ext >&5
38759 eval wx_cv_func_
$wx_func=no
38762 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38763 conftest
$ac_exeext conftest.
$ac_ext
38766 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38767 { echo "$as_me:$LINENO: result: $ac_res" >&5
38768 echo "${ECHO_T}$ac_res" >&6; }
38770 if eval test \
$wx_cv_func_$wx_func = yes
38772 cat >>confdefs.h
<<_ACEOF
38773 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38785 for wx_func
in getgrgid_r
38787 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38789 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38790 echo $ECHO_N "(cached) $ECHO_C" >&6
38793 cat >conftest.
$ac_ext <<_ACEOF
38797 cat confdefs.h
>>conftest.
$ac_ext
38798 cat >>conftest.
$ac_ext <<_ACEOF
38799 /* end confdefs.h. */
38805 $ac_includes_default
38815 struct group grp, *pgrp;
38817 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38825 rm -f conftest.
$ac_objext conftest
$ac_exeext
38826 if { (ac_try
="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38834 grep -v '^ *+' conftest.er1 >conftest.err
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } && {
38839 test -z "$ac_c_werror_flag" ||
38840 test ! -s conftest.err
38841 } && test -s conftest$ac_exeext &&
38842 $as_test_x conftest$ac_exeext; then
38843 eval wx_cv_func_$wx_func=yes
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38848 eval wx_cv_func_$wx_func=no
38851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38852 conftest$ac_exeext conftest.$ac_ext
38855 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38856 { echo "$as_me:$LINENO: result: $ac_res" >&5
38857 echo "${ECHO_T}$ac_res" >&6; }
38859 if eval test \$wx_cv_func_$wx_func = yes
38861 cat >>confdefs.h <<_ACEOF
38862 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38878 cat >confcache <<\_ACEOF
38879 # This file is a shell script that caches the results of configure
38880 # tests run on this system so they can be shared between configure
38881 # scripts and configure runs, see configure's option --config-cache.
38882 # It is not useful on other systems. If it contains results you don't
38883 # want to keep, you may remove or edit it.
38885 # config.status only pays attention to the cache file if you give it
38886 # the --recheck option to rerun configure.
38888 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38890 # following values.
38894 # The following way of writing the cache mishandles newlines in values,
38895 # but we know of no workaround that is simple, portable, and efficient.
38896 # So, we kill variables containing newlines.
38897 # Ultrix sh set writes to stderr and can't be redirected directly,
38898 # and sets the high bit in the cache file unless we assign to the vars.
38900 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38901 eval ac_val
=\$
$ac_var
38905 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38906 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38909 _
| IFS
| as_nl
) ;; #(
38910 *) $as_unset $ac_var ;;
38916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38917 *${as_nl}ac_space
=\
*)
38918 # `set' does not quote correctly, so add quotes (double-quote
38919 # substitution turns \\\\ into \\, and sed turns \\ into \).
38922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38925 # `set' quotes correctly as required by POSIX, so do not add quotes.
38926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38939 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38940 if test -w "$cache_file"; then
38941 test "x$cache_file" != "x/dev/null" &&
38942 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38943 echo "$as_me: updating cache $cache_file" >&6;}
38944 cat confcache
>$cache_file
38946 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38947 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38953 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38959 if test "$wxUSE_THREADS" = "yes" ; then
38960 if test "$USE_BEOS" = 1; then
38961 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38962 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38967 if test "$wxUSE_THREADS" = "yes" ; then
38970 THREAD_OPTS
="-pthread"
38971 if test "x$SUNCXX" = xyes
; then
38972 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38976 *-*-solaris2* | *-*-sunos4* )
38977 if test "x$GCC" = "xyes"; then
38978 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38982 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38984 *-*-darwin* | *-*-cygwin* )
38988 THREAD_OPTS
="pthreads"
38991 if test "x$GCC" = "xyes"; then
38992 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39000 if test "x$GCC" = "xyes"; then
39006 if test "x$GCC" != "xyes"; then
39007 THREAD_OPTS
="-Ethread"
39012 THREAD_OPTS
="$THREAD_OPTS pthread none"
39015 for flag
in $THREAD_OPTS; do
39018 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39019 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39023 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39024 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39025 THREADS_CFLAGS
="$flag"
39029 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39030 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39031 THREADS_LINK
="-l$flag"
39036 save_CFLAGS
="$CFLAGS"
39037 LIBS
="$THREADS_LINK $LIBS"
39038 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39040 cat >conftest.
$ac_ext <<_ACEOF
39043 cat confdefs.h
>>conftest.
$ac_ext
39044 cat >>conftest.
$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 #include <pthread.h>
39050 pthread_create(0,0,0,0);
39055 rm -f conftest.
$ac_objext conftest
$ac_exeext
39056 if { (ac_try
="$ac_link"
39057 case "(($ac_try" in
39058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39059 *) ac_try_echo=$ac_try;;
39061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39062 (eval "$ac_link") 2>conftest.er1
39064 grep -v '^ *+' conftest.er1 >conftest.err
39066 cat conftest.err >&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } && {
39069 test -z "$ac_c_werror_flag" ||
39070 test ! -s conftest.err
39071 } && test -s conftest$ac_exeext &&
39072 $as_test_x conftest$ac_exeext; then
39075 echo "$as_me: failed program was:" >&5
39076 sed 's/^/| /' conftest.$ac_ext >&5
39081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39082 conftest$ac_exeext conftest.$ac_ext
39085 CFLAGS="$save_CFLAGS"
39087 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39088 echo "${ECHO_T}$THREADS_OK" >&6; }
39089 if test "x$THREADS_OK" = "xyes"; then
39097 if test "x$THREADS_OK" != "xyes"; then
39099 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39100 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39102 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39103 LIBS="$THREADS_LINK $LIBS"
39105 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39106 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39110 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39111 flag="-D_THREAD_SAFE"
39114 flag="-D_THREAD_SAFE"
39117 flag="-D_REENTRANT"
39118 if test "x$GCC" != "xyes"; then
39119 flag="$flag -D_RWSTD_MULTI_THREAD"
39122 *solaris* | alpha*-osf*)
39123 flag="-D_REENTRANT"
39126 { echo "$as_me:$LINENO: result: ${flag}" >&5
39127 echo "${ECHO_T}${flag}" >&6; }
39128 if test "x$flag" != xno; then
39129 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39132 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39136 if test "$wxUSE_THREADS" = "yes" ; then
39138 for ac_func in thr_setconcurrency
39140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39144 echo $ECHO_N "(cached) $ECHO_C" >&6
39146 cat >conftest.$ac_ext <<_ACEOF
39149 cat confdefs.h >>conftest.$ac_ext
39150 cat >>conftest.$ac_ext <<_ACEOF
39151 /* end confdefs.h. */
39152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39154 #define $ac_func innocuous_$ac_func
39156 /* System header to define __stub macros and hopefully few prototypes,
39157 which can conflict with char $ac_func (); below.
39158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39159 <limits.h> exists even on freestanding compilers. */
39162 # include <limits.h>
39164 # include <assert.h>
39169 /* Override any GCC internal prototype to avoid an error.
39170 Use char because int might match the return type of a GCC
39171 builtin and then its argument prototype would still apply. */
39176 /* The GNU C library defines this for functions which it implements
39177 to always fail with ENOSYS. Some functions are actually named
39178 something starting with __ and the normal name is an alias. */
39179 #if defined __stub_$ac_func || defined __stub___$ac_func
39186 return $ac_func ();
39191 rm -f conftest.$ac_objext conftest$ac_exeext
39192 if { (ac_try="$ac_link"
39193 case "(($ac_try" in
39194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39195 *) ac_try_echo
=$ac_try;;
39197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39198 (eval "$ac_link") 2>conftest.er1
39200 grep -v '^ *+' conftest.er1
>conftest.err
39202 cat conftest.err
>&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } && {
39205 test -z "$ac_c_werror_flag" ||
39206 test ! -s conftest.err
39207 } && test -s conftest
$ac_exeext &&
39208 $as_test_x conftest
$ac_exeext; then
39209 eval "$as_ac_var=yes"
39211 echo "$as_me: failed program was:" >&5
39212 sed 's/^/| /' conftest.
$ac_ext >&5
39214 eval "$as_ac_var=no"
39217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39218 conftest
$ac_exeext conftest.
$ac_ext
39220 ac_res
=`eval echo '${'$as_ac_var'}'`
39221 { echo "$as_me:$LINENO: result: $ac_res" >&5
39222 echo "${ECHO_T}$ac_res" >&6; }
39223 if test `eval echo '${'$as_ac_var'}'` = yes; then
39224 cat >>confdefs.h
<<_ACEOF
39225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39232 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39233 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39234 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39235 echo $ECHO_N "(cached) $ECHO_C" >&6
39239 ac_cpp
='$CXXCPP $CPPFLAGS'
39240 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39244 cat >conftest.
$ac_ext <<_ACEOF
39247 cat confdefs.h
>>conftest.
$ac_ext
39248 cat >>conftest.
$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39250 #include <pthread.h>
39251 void ThreadCleanupFunc(void *p);
39258 pthread_cleanup_push(ThreadCleanupFunc, p);
39259 pthread_cleanup_pop(0);
39265 rm -f conftest.
$ac_objext
39266 if { (ac_try
="$ac_compile"
39267 case "(($ac_try" in
39268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39269 *) ac_try_echo=$ac_try;;
39271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39272 (eval "$ac_compile") 2>conftest.er1
39274 grep -v '^ *+' conftest.er1 >conftest.err
39276 cat conftest.err >&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); } && {
39279 test -z "$ac_cxx_werror_flag" ||
39280 test ! -s conftest.err
39281 } && test -s conftest.$ac_objext; then
39283 wx_cv_func_pthread_cleanup=yes
39286 echo "$as_me: failed program was:" >&5
39287 sed 's/^/| /' conftest.$ac_ext >&5
39290 wx_cv_func_pthread_cleanup=no
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39304 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39305 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39306 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39307 cat >>confdefs.h <<\_ACEOF
39308 #define wxHAVE_PTHREAD_CLEANUP 1
39314 for ac_header in sched.h
39316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39317 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39319 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 cat >conftest.$ac_ext <<_ACEOF
39325 cat confdefs.h >>conftest.$ac_ext
39326 cat >>conftest.$ac_ext <<_ACEOF
39327 /* end confdefs.h. */
39328 $ac_includes_default
39330 #include <$ac_header>
39332 rm -f conftest.$ac_objext
39333 if { (ac_try="$ac_compile"
39334 case "(($ac_try" in
39335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39336 *) ac_try_echo
=$ac_try;;
39338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39339 (eval "$ac_compile") 2>conftest.er1
39341 grep -v '^ *+' conftest.er1
>conftest.err
39343 cat conftest.err
>&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); } && {
39346 test -z "$ac_c_werror_flag" ||
39347 test ! -s conftest.err
39348 } && test -s conftest.
$ac_objext; then
39349 eval "$as_ac_Header=yes"
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.
$ac_ext >&5
39354 eval "$as_ac_Header=no"
39357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39359 ac_res
=`eval echo '${'$as_ac_Header'}'`
39360 { echo "$as_me:$LINENO: result: $ac_res" >&5
39361 echo "${ECHO_T}$ac_res" >&6; }
39362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39363 cat >>confdefs.h
<<_ACEOF
39364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39371 if test "$ac_cv_header_sched_h" = "yes"; then
39372 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39373 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39374 if test "${ac_cv_func_sched_yield+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 cat >conftest.
$ac_ext <<_ACEOF
39380 cat confdefs.h
>>conftest.
$ac_ext
39381 cat >>conftest.
$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define sched_yield innocuous_sched_yield
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char sched_yield (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39393 # include <limits.h>
39395 # include <assert.h>
39400 /* Override any GCC internal prototype to avoid an error.
39401 Use char because int might match the return type of a GCC
39402 builtin and then its argument prototype would still apply. */
39406 char sched_yield ();
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined __stub_sched_yield || defined __stub___sched_yield
39417 return sched_yield ();
39422 rm -f conftest.
$ac_objext conftest
$ac_exeext
39423 if { (ac_try
="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39431 grep -v '^ *+' conftest.er1 >conftest.err
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest$ac_exeext &&
39439 $as_test_x conftest$ac_exeext; then
39440 ac_cv_func_sched_yield=yes
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.$ac_ext >&5
39445 ac_cv_func_sched_yield=no
39448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39449 conftest$ac_exeext conftest.$ac_ext
39451 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39452 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39453 if test $ac_cv_func_sched_yield = yes; then
39454 cat >>confdefs.h <<\_ACEOF
39455 #define HAVE_SCHED_YIELD 1
39460 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39461 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39462 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 ac_check_lib_save_LIBS=$LIBS
39466 LIBS="-lposix4 $LIBS"
39467 cat >conftest.$ac_ext <<_ACEOF
39470 cat confdefs.h >>conftest.$ac_ext
39471 cat >>conftest.$ac_ext <<_ACEOF
39472 /* end confdefs.h. */
39474 /* Override any GCC internal prototype to avoid an error.
39475 Use char because int might match the return type of a GCC
39476 builtin and then its argument prototype would still apply. */
39480 char sched_yield ();
39484 return sched_yield ();
39489 rm -f conftest.$ac_objext conftest$ac_exeext
39490 if { (ac_try="$ac_link"
39491 case "(($ac_try" in
39492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39493 *) ac_try_echo
=$ac_try;;
39495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39496 (eval "$ac_link") 2>conftest.er1
39498 grep -v '^ *+' conftest.er1
>conftest.err
39500 cat conftest.err
>&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && {
39503 test -z "$ac_c_werror_flag" ||
39504 test ! -s conftest.err
39505 } && test -s conftest
$ac_exeext &&
39506 $as_test_x conftest
$ac_exeext; then
39507 ac_cv_lib_posix4_sched_yield
=yes
39509 echo "$as_me: failed program was:" >&5
39510 sed 's/^/| /' conftest.
$ac_ext >&5
39512 ac_cv_lib_posix4_sched_yield
=no
39515 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39516 conftest
$ac_exeext conftest.
$ac_ext
39517 LIBS
=$ac_check_lib_save_LIBS
39519 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39520 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39521 if test $ac_cv_lib_posix4_sched_yield = yes; then
39522 cat >>confdefs.h
<<\_ACEOF
39523 #define HAVE_SCHED_YIELD 1
39525 POSIX4_LINK
=" -lposix4"
39527 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39528 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39539 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39540 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39541 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39542 echo $ECHO_N "(cached) $ECHO_C" >&6
39544 cat >conftest.
$ac_ext <<_ACEOF
39547 cat confdefs.h
>>conftest.
$ac_ext
39548 cat >>conftest.
$ac_ext <<_ACEOF
39549 /* end confdefs.h. */
39550 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39552 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39554 /* System header to define __stub macros and hopefully few prototypes,
39555 which can conflict with char pthread_attr_getschedpolicy (); below.
39556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39557 <limits.h> exists even on freestanding compilers. */
39560 # include <limits.h>
39562 # include <assert.h>
39565 #undef pthread_attr_getschedpolicy
39567 /* Override any GCC internal prototype to avoid an error.
39568 Use char because int might match the return type of a GCC
39569 builtin and then its argument prototype would still apply. */
39573 char pthread_attr_getschedpolicy ();
39574 /* The GNU C library defines this for functions which it implements
39575 to always fail with ENOSYS. Some functions are actually named
39576 something starting with __ and the normal name is an alias. */
39577 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39584 return pthread_attr_getschedpolicy ();
39589 rm -f conftest.
$ac_objext conftest
$ac_exeext
39590 if { (ac_try
="$ac_link"
39591 case "(($ac_try" in
39592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39593 *) ac_try_echo=$ac_try;;
39595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39596 (eval "$ac_link") 2>conftest.er1
39598 grep -v '^ *+' conftest.er1 >conftest.err
39600 cat conftest.err >&5
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); } && {
39603 test -z "$ac_c_werror_flag" ||
39604 test ! -s conftest.err
39605 } && test -s conftest$ac_exeext &&
39606 $as_test_x conftest$ac_exeext; then
39607 ac_cv_func_pthread_attr_getschedpolicy=yes
39609 echo "$as_me: failed program was:" >&5
39610 sed 's/^/| /' conftest.$ac_ext >&5
39612 ac_cv_func_pthread_attr_getschedpolicy=no
39615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39616 conftest$ac_exeext conftest.$ac_ext
39618 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39619 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39620 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39621 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39622 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39623 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39626 cat >conftest.$ac_ext <<_ACEOF
39629 cat confdefs.h >>conftest.$ac_ext
39630 cat >>conftest.$ac_ext <<_ACEOF
39631 /* end confdefs.h. */
39632 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39634 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39636 /* System header to define __stub macros and hopefully few prototypes,
39637 which can conflict with char pthread_attr_setschedparam (); below.
39638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39639 <limits.h> exists even on freestanding compilers. */
39642 # include <limits.h>
39644 # include <assert.h>
39647 #undef pthread_attr_setschedparam
39649 /* Override any GCC internal prototype to avoid an error.
39650 Use char because int might match the return type of a GCC
39651 builtin and then its argument prototype would still apply. */
39655 char pthread_attr_setschedparam ();
39656 /* The GNU C library defines this for functions which it implements
39657 to always fail with ENOSYS. Some functions are actually named
39658 something starting with __ and the normal name is an alias. */
39659 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39666 return pthread_attr_setschedparam ();
39671 rm -f conftest.$ac_objext conftest$ac_exeext
39672 if { (ac_try="$ac_link"
39673 case "(($ac_try" in
39674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39675 *) ac_try_echo
=$ac_try;;
39677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39678 (eval "$ac_link") 2>conftest.er1
39680 grep -v '^ *+' conftest.er1
>conftest.err
39682 cat conftest.err
>&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); } && {
39685 test -z "$ac_c_werror_flag" ||
39686 test ! -s conftest.err
39687 } && test -s conftest
$ac_exeext &&
39688 $as_test_x conftest
$ac_exeext; then
39689 ac_cv_func_pthread_attr_setschedparam
=yes
39691 echo "$as_me: failed program was:" >&5
39692 sed 's/^/| /' conftest.
$ac_ext >&5
39694 ac_cv_func_pthread_attr_setschedparam
=no
39697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39698 conftest
$ac_exeext conftest.
$ac_ext
39700 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39701 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39702 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39703 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39704 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39705 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39708 cat >conftest.
$ac_ext <<_ACEOF
39711 cat confdefs.h
>>conftest.
$ac_ext
39712 cat >>conftest.
$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39716 #define sched_get_priority_max innocuous_sched_get_priority_max
39718 /* System header to define __stub macros and hopefully few prototypes,
39719 which can conflict with char sched_get_priority_max (); below.
39720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39721 <limits.h> exists even on freestanding compilers. */
39724 # include <limits.h>
39726 # include <assert.h>
39729 #undef sched_get_priority_max
39731 /* Override any GCC internal prototype to avoid an error.
39732 Use char because int might match the return type of a GCC
39733 builtin and then its argument prototype would still apply. */
39737 char sched_get_priority_max ();
39738 /* The GNU C library defines this for functions which it implements
39739 to always fail with ENOSYS. Some functions are actually named
39740 something starting with __ and the normal name is an alias. */
39741 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39748 return sched_get_priority_max ();
39753 rm -f conftest.
$ac_objext conftest
$ac_exeext
39754 if { (ac_try
="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39762 grep -v '^ *+' conftest.er1 >conftest.err
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 ac_cv_func_sched_get_priority_max=yes
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39776 ac_cv_func_sched_get_priority_max=no
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39782 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39783 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39784 if test $ac_cv_func_sched_get_priority_max = yes; then
39787 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39788 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39789 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39790 echo $ECHO_N "(cached) $ECHO_C" >&6
39792 ac_check_lib_save_LIBS=$LIBS
39793 LIBS="-lposix4 $LIBS"
39794 cat >conftest.$ac_ext <<_ACEOF
39797 cat confdefs.h >>conftest.$ac_ext
39798 cat >>conftest.$ac_ext <<_ACEOF
39799 /* end confdefs.h. */
39801 /* Override any GCC internal prototype to avoid an error.
39802 Use char because int might match the return type of a GCC
39803 builtin and then its argument prototype would still apply. */
39807 char sched_get_priority_max ();
39811 return sched_get_priority_max ();
39816 rm -f conftest.$ac_objext conftest$ac_exeext
39817 if { (ac_try="$ac_link"
39818 case "(($ac_try" in
39819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39820 *) ac_try_echo
=$ac_try;;
39822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39823 (eval "$ac_link") 2>conftest.er1
39825 grep -v '^ *+' conftest.er1
>conftest.err
39827 cat conftest.err
>&5
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); } && {
39830 test -z "$ac_c_werror_flag" ||
39831 test ! -s conftest.err
39832 } && test -s conftest
$ac_exeext &&
39833 $as_test_x conftest
$ac_exeext; then
39834 ac_cv_lib_posix4_sched_get_priority_max
=yes
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.
$ac_ext >&5
39839 ac_cv_lib_posix4_sched_get_priority_max
=no
39842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39843 conftest
$ac_exeext conftest.
$ac_ext
39844 LIBS
=$ac_check_lib_save_LIBS
39846 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39847 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39848 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39851 POSIX4_LINK
=" -lposix4"
39865 if test "$HAVE_PRIOR_FUNCS" = 1; then
39866 cat >>confdefs.h
<<\_ACEOF
39867 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39871 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39872 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39875 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39876 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39877 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39880 cat >conftest.
$ac_ext <<_ACEOF
39883 cat confdefs.h
>>conftest.
$ac_ext
39884 cat >>conftest.
$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39888 #define pthread_cancel innocuous_pthread_cancel
39890 /* System header to define __stub macros and hopefully few prototypes,
39891 which can conflict with char pthread_cancel (); below.
39892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39893 <limits.h> exists even on freestanding compilers. */
39896 # include <limits.h>
39898 # include <assert.h>
39901 #undef pthread_cancel
39903 /* Override any GCC internal prototype to avoid an error.
39904 Use char because int might match the return type of a GCC
39905 builtin and then its argument prototype would still apply. */
39909 char pthread_cancel ();
39910 /* The GNU C library defines this for functions which it implements
39911 to always fail with ENOSYS. Some functions are actually named
39912 something starting with __ and the normal name is an alias. */
39913 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39920 return pthread_cancel ();
39925 rm -f conftest.
$ac_objext conftest
$ac_exeext
39926 if { (ac_try
="$ac_link"
39927 case "(($ac_try" in
39928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39929 *) ac_try_echo=$ac_try;;
39931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39932 (eval "$ac_link") 2>conftest.er1
39934 grep -v '^ *+' conftest.er1 >conftest.err
39936 cat conftest.err >&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); } && {
39939 test -z "$ac_c_werror_flag" ||
39940 test ! -s conftest.err
39941 } && test -s conftest$ac_exeext &&
39942 $as_test_x conftest$ac_exeext; then
39943 ac_cv_func_pthread_cancel=yes
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.$ac_ext >&5
39948 ac_cv_func_pthread_cancel=no
39951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39952 conftest$ac_exeext conftest.$ac_ext
39954 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39955 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39956 if test $ac_cv_func_pthread_cancel = yes; then
39957 cat >>confdefs.h <<\_ACEOF
39958 #define HAVE_PTHREAD_CANCEL 1
39962 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39963 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39967 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39968 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39969 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39970 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 cat >conftest.$ac_ext <<_ACEOF
39975 cat confdefs.h >>conftest.$ac_ext
39976 cat >>conftest.$ac_ext <<_ACEOF
39977 /* end confdefs.h. */
39978 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39980 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39982 /* System header to define __stub macros and hopefully few prototypes,
39983 which can conflict with char pthread_mutex_timedlock (); below.
39984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39985 <limits.h> exists even on freestanding compilers. */
39988 # include <limits.h>
39990 # include <assert.h>
39993 #undef pthread_mutex_timedlock
39995 /* Override any GCC internal prototype to avoid an error.
39996 Use char because int might match the return type of a GCC
39997 builtin and then its argument prototype would still apply. */
40001 char pthread_mutex_timedlock ();
40002 /* The GNU C library defines this for functions which it implements
40003 to always fail with ENOSYS. Some functions are actually named
40004 something starting with __ and the normal name is an alias. */
40005 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40012 return pthread_mutex_timedlock ();
40017 rm -f conftest.$ac_objext conftest$ac_exeext
40018 if { (ac_try="$ac_link"
40019 case "(($ac_try" in
40020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40021 *) ac_try_echo
=$ac_try;;
40023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40024 (eval "$ac_link") 2>conftest.er1
40026 grep -v '^ *+' conftest.er1
>conftest.err
40028 cat conftest.err
>&5
40029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030 (exit $ac_status); } && {
40031 test -z "$ac_c_werror_flag" ||
40032 test ! -s conftest.err
40033 } && test -s conftest
$ac_exeext &&
40034 $as_test_x conftest
$ac_exeext; then
40035 ac_cv_func_pthread_mutex_timedlock
=yes
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.
$ac_ext >&5
40040 ac_cv_func_pthread_mutex_timedlock
=no
40043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40044 conftest
$ac_exeext conftest.
$ac_ext
40046 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40047 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40048 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40049 cat >>confdefs.h
<<\_ACEOF
40050 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40054 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40055 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40059 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40060 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40061 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40062 echo $ECHO_N "(cached) $ECHO_C" >&6
40064 cat >conftest.
$ac_ext <<_ACEOF
40067 cat confdefs.h
>>conftest.
$ac_ext
40068 cat >>conftest.
$ac_ext <<_ACEOF
40069 /* end confdefs.h. */
40070 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40072 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40074 /* System header to define __stub macros and hopefully few prototypes,
40075 which can conflict with char pthread_attr_setstacksize (); below.
40076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40077 <limits.h> exists even on freestanding compilers. */
40080 # include <limits.h>
40082 # include <assert.h>
40085 #undef pthread_attr_setstacksize
40087 /* Override any GCC internal prototype to avoid an error.
40088 Use char because int might match the return type of a GCC
40089 builtin and then its argument prototype would still apply. */
40093 char pthread_attr_setstacksize ();
40094 /* The GNU C library defines this for functions which it implements
40095 to always fail with ENOSYS. Some functions are actually named
40096 something starting with __ and the normal name is an alias. */
40097 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40104 return pthread_attr_setstacksize ();
40109 rm -f conftest.
$ac_objext conftest
$ac_exeext
40110 if { (ac_try
="$ac_link"
40111 case "(($ac_try" in
40112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40113 *) ac_try_echo=$ac_try;;
40115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40116 (eval "$ac_link") 2>conftest.er1
40118 grep -v '^ *+' conftest.er1 >conftest.err
40120 cat conftest.err >&5
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); } && {
40123 test -z "$ac_c_werror_flag" ||
40124 test ! -s conftest.err
40125 } && test -s conftest$ac_exeext &&
40126 $as_test_x conftest$ac_exeext; then
40127 ac_cv_func_pthread_attr_setstacksize=yes
40129 echo "$as_me: failed program was:" >&5
40130 sed 's/^/| /' conftest.$ac_ext >&5
40132 ac_cv_func_pthread_attr_setstacksize=no
40135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40136 conftest$ac_exeext conftest.$ac_ext
40138 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40139 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40140 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40141 cat >>confdefs.h <<\_ACEOF
40142 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40149 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40150 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40151 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40152 echo $ECHO_N "(cached) $ECHO_C" >&6
40155 cat >conftest.$ac_ext <<_ACEOF
40158 cat confdefs.h >>conftest.$ac_ext
40159 cat >>conftest.$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40161 #include <pthread.h>
40166 pthread_mutexattr_t attr;
40167 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40173 rm -f conftest.$ac_objext
40174 if { (ac_try="$ac_compile"
40175 case "(($ac_try" in
40176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40177 *) ac_try_echo
=$ac_try;;
40179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40180 (eval "$ac_compile") 2>conftest.er1
40182 grep -v '^ *+' conftest.er1
>conftest.err
40184 cat conftest.err
>&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } && {
40187 test -z "$ac_c_werror_flag" ||
40188 test ! -s conftest.err
40189 } && test -s conftest.
$ac_objext; then
40190 wx_cv_type_pthread_mutexattr_t
=yes
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.
$ac_ext >&5
40195 wx_cv_type_pthread_mutexattr_t
=no
40199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40202 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40203 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40205 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40206 cat >>confdefs.h
<<\_ACEOF
40207 #define HAVE_PTHREAD_MUTEXATTR_T 1
40211 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40212 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40213 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 cat >conftest.
$ac_ext <<_ACEOF
40220 cat confdefs.h
>>conftest.
$ac_ext
40221 cat >>conftest.
$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 #include <pthread.h>
40228 pthread_mutexattr_t attr;
40229 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40235 rm -f conftest.
$ac_objext
40236 if { (ac_try
="$ac_compile"
40237 case "(($ac_try" in
40238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40239 *) ac_try_echo=$ac_try;;
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_compile") 2>conftest.er1
40244 grep -v '^ *+' conftest.er1 >conftest.err
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest.$ac_objext; then
40252 wx_cv_func_pthread_mutexattr_settype_decl=yes
40254 echo "$as_me: failed program was:" >&5
40255 sed 's/^/| /' conftest.$ac_ext >&5
40257 wx_cv_func_pthread_mutexattr_settype_decl=no
40261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40264 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40265 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40266 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40267 cat >>confdefs.h <<\_ACEOF
40268 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40273 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40274 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40275 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40276 echo $ECHO_N "(cached) $ECHO_C" >&6
40279 cat >conftest.$ac_ext <<_ACEOF
40282 cat confdefs.h >>conftest.$ac_ext
40283 cat >>conftest.$ac_ext <<_ACEOF
40284 /* end confdefs.h. */
40285 #include <pthread.h>
40290 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40296 rm -f conftest.$ac_objext
40297 if { (ac_try="$ac_compile"
40298 case "(($ac_try" in
40299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40300 *) ac_try_echo
=$ac_try;;
40302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40303 (eval "$ac_compile") 2>conftest.er1
40305 grep -v '^ *+' conftest.er1
>conftest.err
40307 cat conftest.err
>&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } && {
40310 test -z "$ac_c_werror_flag" ||
40311 test ! -s conftest.err
40312 } && test -s conftest.
$ac_objext; then
40314 wx_cv_type_pthread_rec_mutex_init
=yes
40317 echo "$as_me: failed program was:" >&5
40318 sed 's/^/| /' conftest.
$ac_ext >&5
40321 wx_cv_type_pthread_rec_mutex_init
=no
40326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40329 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40330 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40331 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40332 cat >>confdefs.h
<<\_ACEOF
40333 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40337 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40338 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40342 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40343 if test "$USE_NETBSD" = 1; then
40344 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40345 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40346 wxUSE_COMPILER_TLS
=no
40348 wxUSE_COMPILER_TLS
=yes
40352 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40353 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40354 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40355 if test "${wx_cv_cc___thread+set}" = set; then
40356 echo $ECHO_N "(cached) $ECHO_C" >&6
40359 cat >conftest.
$ac_ext <<_ACEOF
40362 cat confdefs.h
>>conftest.
$ac_ext
40363 cat >>conftest.
$ac_ext <<_ACEOF
40364 /* end confdefs.h. */
40365 #include <pthread.h>
40370 static __thread int n = 0;
40371 static __thread int *p = 0;
40377 rm -f conftest.
$ac_objext
40378 if { (ac_try
="$ac_compile"
40379 case "(($ac_try" in
40380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40381 *) ac_try_echo=$ac_try;;
40383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40384 (eval "$ac_compile") 2>conftest.er1
40386 grep -v '^ *+' conftest.er1 >conftest.err
40388 cat conftest.err >&5
40389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390 (exit $ac_status); } && {
40391 test -z "$ac_c_werror_flag" ||
40392 test ! -s conftest.err
40393 } && test -s conftest.$ac_objext; then
40394 wx_cv_cc___thread=yes
40396 echo "$as_me: failed program was:" >&5
40397 sed 's/^/| /' conftest.$ac_ext >&5
40399 wx_cv_cc___thread=no
40403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40407 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40408 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40410 if test "$wx_cv_cc___thread" = "yes"; then
40416 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40417 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40419 if test "x$GCC" = "xyes" ; then
40421 if test -z "" ; then
40423 ax_gcc_option_test="int main()
40430 ax_gcc_option_test=""
40435 # Dump the test program to file
40436 cat <<EOF > conftest.c
40437 $ax_gcc_option_test
40440 # Dump back the file to the log, useful for debugging purposes
40441 { ac_try='cat conftest.c 1>&5'
40442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443 (eval $ac_try) 2>&5
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); }; }
40448 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450 (eval $ac_try) 2>&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; } ; then
40455 { echo "$as_me:$LINENO: result: yes" >&5
40456 echo "${ECHO_T}yes" >&6; }
40458 ax_gcc_version_option=yes
40463 { echo "$as_me:$LINENO: result: no" >&5
40464 echo "${ECHO_T}no" >&6; }
40466 ax_gcc_version_option=no
40474 { echo "$as_me:$LINENO: result: no gcc available" >&5
40475 echo "${ECHO_T}no gcc available" >&6; }
40480 if test "x$GXX" = "xyes"; then
40482 if test "x$ax_gxx_version_option" != "no"; then
40484 { echo "$as_me:$LINENO: checking gxx version" >&5
40485 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40486 if test "${ax_cv_gxx_version+set}" = set; then
40487 echo $ECHO_N "(cached) $ECHO_C" >&6
40490 ax_cv_gxx_version="`$CXX -dumpversion`"
40491 if test "x$ax_cv_gxx_version" = "x"; then
40493 ax_cv_gxx_version=""
40499 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40500 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40501 GXX_VERSION=$ax_cv_gxx_version
40510 if test -n "$ax_cv_gxx_version"; then
40511 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40512 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40513 case "$ax_cv_gxx_version" in
40515 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40516 echo "${ECHO_T}no, it's broken" >&6; }
40517 wx_cv_cc___thread=no
40520 { echo "$as_me:$LINENO: result: yes, it works" >&5
40521 echo "${ECHO_T}yes, it works" >&6; }
40527 if test "$wx_cv_cc___thread" = "yes"; then
40528 cat >>confdefs.h <<\_ACEOF
40529 #define HAVE___THREAD_KEYWORD 1
40537 if test "$wxUSE_THREADS" = "yes" ; then
40539 x86_64-*-mingw32* )
40542 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40543 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40544 if test "${wx_cv_cflags_mthread+set}" = set; then
40545 echo $ECHO_N "(cached) $ECHO_C" >&6
40548 CFLAGS_OLD="$CFLAGS"
40549 CFLAGS="-mthreads $CFLAGS"
40550 cat >conftest.$ac_ext <<_ACEOF
40553 cat confdefs.h >>conftest.$ac_ext
40554 cat >>conftest.$ac_ext <<_ACEOF
40555 /* end confdefs.h. */
40565 rm -f conftest.$ac_objext
40566 if { (ac_try="$ac_compile"
40567 case "(($ac_try" in
40568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40569 *) ac_try_echo
=$ac_try;;
40571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40572 (eval "$ac_compile") 2>conftest.er1
40574 grep -v '^ *+' conftest.er1
>conftest.err
40576 cat conftest.err
>&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); } && {
40579 test -z "$ac_c_werror_flag" ||
40580 test ! -s conftest.err
40581 } && test -s conftest.
$ac_objext; then
40582 wx_cv_cflags_mthread
=yes
40584 echo "$as_me: failed program was:" >&5
40585 sed 's/^/| /' conftest.
$ac_ext >&5
40587 wx_cv_cflags_mthread
=no
40591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40595 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40596 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40598 if test "$wx_cv_cflags_mthread" = "yes"; then
40599 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40600 LDFLAGS
="$LDFLAGS -mthreads"
40602 CFLAGS
="$CFLAGS_OLD"
40606 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40607 LDFLAGS
="$LDFLAGS -Zmt"
40613 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40614 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40615 if test "${ac_cv_func_localtime_r+set}" = set; then
40616 echo $ECHO_N "(cached) $ECHO_C" >&6
40618 cat >conftest.
$ac_ext <<_ACEOF
40621 cat confdefs.h
>>conftest.
$ac_ext
40622 cat >>conftest.
$ac_ext <<_ACEOF
40623 /* end confdefs.h. */
40624 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40626 #define localtime_r innocuous_localtime_r
40628 /* System header to define __stub macros and hopefully few prototypes,
40629 which can conflict with char localtime_r (); below.
40630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40631 <limits.h> exists even on freestanding compilers. */
40634 # include <limits.h>
40636 # include <assert.h>
40641 /* Override any GCC internal prototype to avoid an error.
40642 Use char because int might match the return type of a GCC
40643 builtin and then its argument prototype would still apply. */
40647 char localtime_r ();
40648 /* The GNU C library defines this for functions which it implements
40649 to always fail with ENOSYS. Some functions are actually named
40650 something starting with __ and the normal name is an alias. */
40651 #if defined __stub_localtime_r || defined __stub___localtime_r
40658 return localtime_r ();
40663 rm -f conftest.
$ac_objext conftest
$ac_exeext
40664 if { (ac_try
="$ac_link"
40665 case "(($ac_try" in
40666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40667 *) ac_try_echo=$ac_try;;
40669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40670 (eval "$ac_link") 2>conftest.er1
40672 grep -v '^ *+' conftest.er1 >conftest.err
40674 cat conftest.err >&5
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); } && {
40677 test -z "$ac_c_werror_flag" ||
40678 test ! -s conftest.err
40679 } && test -s conftest$ac_exeext &&
40680 $as_test_x conftest$ac_exeext; then
40681 ac_cv_func_localtime_r=yes
40683 echo "$as_me: failed program was:" >&5
40684 sed 's/^/| /' conftest.$ac_ext >&5
40686 ac_cv_func_localtime_r=no
40689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40690 conftest$ac_exeext conftest.$ac_ext
40692 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40693 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40694 if test $ac_cv_func_localtime_r = yes; then
40695 cat >>confdefs.h <<\_ACEOF
40696 #define HAVE_LOCALTIME_R 1
40701 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40702 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40703 if test "${ac_cv_func_gmtime_r+set}" = set; then
40704 echo $ECHO_N "(cached) $ECHO_C" >&6
40706 cat >conftest.$ac_ext <<_ACEOF
40709 cat confdefs.h >>conftest.$ac_ext
40710 cat >>conftest.$ac_ext <<_ACEOF
40711 /* end confdefs.h. */
40712 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40714 #define gmtime_r innocuous_gmtime_r
40716 /* System header to define __stub macros and hopefully few prototypes,
40717 which can conflict with char gmtime_r (); below.
40718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40719 <limits.h> exists even on freestanding compilers. */
40722 # include <limits.h>
40724 # include <assert.h>
40729 /* Override any GCC internal prototype to avoid an error.
40730 Use char because int might match the return type of a GCC
40731 builtin and then its argument prototype would still apply. */
40736 /* The GNU C library defines this for functions which it implements
40737 to always fail with ENOSYS. Some functions are actually named
40738 something starting with __ and the normal name is an alias. */
40739 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40746 return gmtime_r ();
40751 rm -f conftest.$ac_objext conftest$ac_exeext
40752 if { (ac_try="$ac_link"
40753 case "(($ac_try" in
40754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40755 *) ac_try_echo
=$ac_try;;
40757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40758 (eval "$ac_link") 2>conftest.er1
40760 grep -v '^ *+' conftest.er1
>conftest.err
40762 cat conftest.err
>&5
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); } && {
40765 test -z "$ac_c_werror_flag" ||
40766 test ! -s conftest.err
40767 } && test -s conftest
$ac_exeext &&
40768 $as_test_x conftest
$ac_exeext; then
40769 ac_cv_func_gmtime_r
=yes
40771 echo "$as_me: failed program was:" >&5
40772 sed 's/^/| /' conftest.
$ac_ext >&5
40774 ac_cv_func_gmtime_r
=no
40777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40778 conftest
$ac_exeext conftest.
$ac_ext
40780 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40781 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40782 if test $ac_cv_func_gmtime_r = yes; then
40783 cat >>confdefs.h
<<\_ACEOF
40784 #define HAVE_GMTIME_R 1
40793 ac_cpp
='$CPP $CPPFLAGS'
40794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40798 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40799 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40801 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40802 echo $ECHO_N "(cached) $ECHO_C" >&6
40806 ################################################################
40808 ac_cv_func_which_gethostbyname_r
=unknown
40811 # ONE ARGUMENT (sanity check)
40814 # This should fail, as there is no variant of gethostbyname_r() that takes
40815 # a single argument. If it actually compiles, then we can assume that
40816 # netdb.h is not declaring the function, and the compiler is thereby
40817 # assuming an implicit prototype. In which case, we're out of luck.
40819 cat >conftest.
$ac_ext <<_ACEOF
40822 cat confdefs.h
>>conftest.
$ac_ext
40823 cat >>conftest.
$ac_ext <<_ACEOF
40824 /* end confdefs.h. */
40830 char *name = "www.gnu.org";
40831 (void)gethostbyname_r(name) /* ; */
40837 rm -f conftest.
$ac_objext
40838 if { (ac_try
="$ac_compile"
40839 case "(($ac_try" in
40840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40841 *) ac_try_echo=$ac_try;;
40843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40844 (eval "$ac_compile") 2>conftest.er1
40846 grep -v '^ *+' conftest.er1 >conftest.err
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } && {
40851 test -z "$ac_c_werror_flag" ||
40852 test ! -s conftest.err
40853 } && test -s conftest.$ac_objext; then
40854 ac_cv_func_which_gethostbyname_r=no
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40869 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40871 cat >conftest.$ac_ext <<_ACEOF
40874 cat confdefs.h >>conftest.$ac_ext
40875 cat >>conftest.$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40882 char *name = "www.gnu.org";
40883 struct hostent ret, *retp;
40887 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40893 rm -f conftest.$ac_objext
40894 if { (ac_try="$ac_compile"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40897 *) ac_try_echo
=$ac_try;;
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_compile") 2>conftest.er1
40902 grep -v '^ *+' conftest.er1
>conftest.err
40904 cat conftest.err
>&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest.
$ac_objext; then
40910 ac_cv_func_which_gethostbyname_r
=six
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.
$ac_ext >&5
40918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40927 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40929 cat >conftest.
$ac_ext <<_ACEOF
40932 cat confdefs.h
>>conftest.
$ac_ext
40933 cat >>conftest.
$ac_ext <<_ACEOF
40934 /* end confdefs.h. */
40940 char *name = "www.gnu.org";
40941 struct hostent ret;
40945 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40951 rm -f conftest.
$ac_objext
40952 if { (ac_try
="$ac_compile"
40953 case "(($ac_try" in
40954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40955 *) ac_try_echo=$ac_try;;
40957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40958 (eval "$ac_compile") 2>conftest.er1
40960 grep -v '^ *+' conftest.er1 >conftest.err
40962 cat conftest.err >&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); } && {
40965 test -z "$ac_c_werror_flag" ||
40966 test ! -s conftest.err
40967 } && test -s conftest.$ac_objext; then
40968 ac_cv_func_which_gethostbyname_r=five
40970 echo "$as_me: failed program was:" >&5
40971 sed 's/^/| /' conftest.$ac_ext >&5
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40982 # (e.g. AIX, HP-UX, Tru64)
40985 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40987 cat >conftest.$ac_ext <<_ACEOF
40990 cat confdefs.h >>conftest.$ac_ext
40991 cat >>conftest.$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
40998 char *name = "www.gnu.org";
40999 struct hostent ret;
41000 struct hostent_data data;
41001 (void)gethostbyname_r(name, &ret, &data) /* ; */
41007 rm -f conftest.$ac_objext
41008 if { (ac_try="$ac_compile"
41009 case "(($ac_try" in
41010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41011 *) ac_try_echo
=$ac_try;;
41013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41014 (eval "$ac_compile") 2>conftest.er1
41016 grep -v '^ *+' conftest.er1
>conftest.err
41018 cat conftest.err
>&5
41019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41020 (exit $ac_status); } && {
41021 test -z "$ac_c_werror_flag" ||
41022 test ! -s conftest.err
41023 } && test -s conftest.
$ac_objext; then
41024 ac_cv_func_which_gethostbyname_r
=three
41026 echo "$as_me: failed program was:" >&5
41027 sed 's/^/| /' conftest.
$ac_ext >&5
41032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41036 ################################################################
41041 case "$ac_cv_func_which_gethostbyname_r" in
41043 { echo "$as_me:$LINENO: result: three" >&5
41044 echo "${ECHO_T}three" >&6; }
41045 cat >>confdefs.h
<<\_ACEOF
41046 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41052 { echo "$as_me:$LINENO: result: five" >&5
41053 echo "${ECHO_T}five" >&6; }
41054 cat >>confdefs.h
<<\_ACEOF
41055 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41061 { echo "$as_me:$LINENO: result: six" >&5
41062 echo "${ECHO_T}six" >&6; }
41063 cat >>confdefs.h
<<\_ACEOF
41064 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41070 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41071 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41075 { echo "$as_me:$LINENO: result: can't tell" >&5
41076 echo "${ECHO_T}can't tell" >&6; }
41080 { { echo "$as_me:$LINENO: error: internal error" >&5
41081 echo "$as_me: error: internal error" >&2;}
41082 { (exit 1); exit 1; }; }
41087 ac_cpp
='$CPP $CPPFLAGS'
41088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41094 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41095 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41096 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41097 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41098 if test "${ac_cv_func_gethostbyname+set}" = set; then
41099 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 cat >conftest.
$ac_ext <<_ACEOF
41104 cat confdefs.h
>>conftest.
$ac_ext
41105 cat >>conftest.
$ac_ext <<_ACEOF
41106 /* end confdefs.h. */
41107 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41109 #define gethostbyname innocuous_gethostbyname
41111 /* System header to define __stub macros and hopefully few prototypes,
41112 which can conflict with char gethostbyname (); below.
41113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41114 <limits.h> exists even on freestanding compilers. */
41117 # include <limits.h>
41119 # include <assert.h>
41122 #undef gethostbyname
41124 /* Override any GCC internal prototype to avoid an error.
41125 Use char because int might match the return type of a GCC
41126 builtin and then its argument prototype would still apply. */
41130 char gethostbyname ();
41131 /* The GNU C library defines this for functions which it implements
41132 to always fail with ENOSYS. Some functions are actually named
41133 something starting with __ and the normal name is an alias. */
41134 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41141 return gethostbyname ();
41146 rm -f conftest.
$ac_objext conftest
$ac_exeext
41147 if { (ac_try
="$ac_link"
41148 case "(($ac_try" in
41149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41150 *) ac_try_echo=$ac_try;;
41152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41153 (eval "$ac_link") 2>conftest.er1
41155 grep -v '^ *+' conftest.er1 >conftest.err
41157 cat conftest.err >&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); } && {
41160 test -z "$ac_c_werror_flag" ||
41161 test ! -s conftest.err
41162 } && test -s conftest$ac_exeext &&
41163 $as_test_x conftest$ac_exeext; then
41164 ac_cv_func_gethostbyname=yes
41166 echo "$as_me: failed program was:" >&5
41167 sed 's/^/| /' conftest.$ac_ext >&5
41169 ac_cv_func_gethostbyname=no
41172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41173 conftest$ac_exeext conftest.$ac_ext
41175 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41176 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41177 if test $ac_cv_func_gethostbyname = yes; then
41178 cat >>confdefs.h <<\_ACEOF
41179 #define HAVE_GETHOSTBYNAME 1
41186 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41187 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41188 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41189 echo $ECHO_N "(cached) $ECHO_C" >&6
41193 ac_cpp='$CXXCPP $CPPFLAGS'
41194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41199 cat >conftest.$ac_ext <<_ACEOF
41202 cat confdefs.h >>conftest.$ac_ext
41203 cat >>conftest.$ac_ext <<_ACEOF
41204 /* end confdefs.h. */
41212 struct servent *se, *res;
41215 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41221 rm -f conftest.$ac_objext
41222 if { (ac_try="$ac_compile"
41223 case "(($ac_try" in
41224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41225 *) ac_try_echo
=$ac_try;;
41227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41228 (eval "$ac_compile") 2>conftest.er1
41230 grep -v '^ *+' conftest.er1
>conftest.err
41232 cat conftest.err
>&5
41233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41234 (exit $ac_status); } && {
41235 test -z "$ac_cxx_werror_flag" ||
41236 test ! -s conftest.err
41237 } && test -s conftest.
$ac_objext; then
41238 ac_cv_func_which_getservbyname_r
=six
41240 echo "$as_me: failed program was:" >&5
41241 sed 's/^/| /' conftest.
$ac_ext >&5
41244 cat >conftest.
$ac_ext <<_ACEOF
41247 cat confdefs.h
>>conftest.
$ac_ext
41248 cat >>conftest.
$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41257 struct servent *se;
41260 (void) getservbyname_r(name, proto, se, buffer, buflen)
41266 rm -f conftest.
$ac_objext
41267 if { (ac_try
="$ac_compile"
41268 case "(($ac_try" in
41269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41270 *) ac_try_echo=$ac_try;;
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273 (eval "$ac_compile") 2>conftest.er1
41275 grep -v '^ *+' conftest.er1 >conftest.err
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } && {
41280 test -z "$ac_cxx_werror_flag" ||
41281 test ! -s conftest.err
41282 } && test -s conftest.$ac_objext; then
41283 ac_cv_func_which_getservbyname_r=five
41285 echo "$as_me: failed program was:" >&5
41286 sed 's/^/| /' conftest.$ac_ext >&5
41289 cat >conftest.$ac_ext <<_ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h. */
41302 struct servent *se;
41303 struct servent_data data;
41304 (void) getservbyname_r(name, proto, se, &data);
41310 rm -f conftest.$ac_objext
41311 if { (ac_try="$ac_compile"
41312 case "(($ac_try" in
41313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41314 *) ac_try_echo
=$ac_try;;
41316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41317 (eval "$ac_compile") 2>conftest.er1
41319 grep -v '^ *+' conftest.er1
>conftest.err
41321 cat conftest.err
>&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } && {
41324 test -z "$ac_cxx_werror_flag" ||
41325 test ! -s conftest.err
41326 } && test -s conftest.
$ac_objext; then
41327 ac_cv_func_which_getservbyname_r
=four
41329 echo "$as_me: failed program was:" >&5
41330 sed 's/^/| /' conftest.
$ac_ext >&5
41332 ac_cv_func_which_getservbyname_r
=no
41336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41348 ac_cpp
='$CPP $CPPFLAGS'
41349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41356 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41357 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41359 if test $ac_cv_func_which_getservbyname_r = six
; then
41360 cat >>confdefs.h
<<\_ACEOF
41361 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41364 elif test $ac_cv_func_which_getservbyname_r = five
; then
41365 cat >>confdefs.h
<<\_ACEOF
41366 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41369 elif test $ac_cv_func_which_getservbyname_r = four
; then
41370 cat >>confdefs.h
<<\_ACEOF
41371 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41377 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41378 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41380 for ac_func
in getservbyname
41382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41385 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41386 echo $ECHO_N "(cached) $ECHO_C" >&6
41388 cat >conftest.
$ac_ext <<_ACEOF
41391 cat confdefs.h
>>conftest.
$ac_ext
41392 cat >>conftest.
$ac_ext <<_ACEOF
41393 /* end confdefs.h. */
41394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41396 #define $ac_func innocuous_$ac_func
41398 /* System header to define __stub macros and hopefully few prototypes,
41399 which can conflict with char $ac_func (); below.
41400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41401 <limits.h> exists even on freestanding compilers. */
41404 # include <limits.h>
41406 # include <assert.h>
41411 /* Override any GCC internal prototype to avoid an error.
41412 Use char because int might match the return type of a GCC
41413 builtin and then its argument prototype would still apply. */
41418 /* The GNU C library defines this for functions which it implements
41419 to always fail with ENOSYS. Some functions are actually named
41420 something starting with __ and the normal name is an alias. */
41421 #if defined __stub_$ac_func || defined __stub___$ac_func
41428 return $ac_func ();
41433 rm -f conftest.
$ac_objext conftest
$ac_exeext
41434 if { (ac_try
="$ac_link"
41435 case "(($ac_try" in
41436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41437 *) ac_try_echo=$ac_try;;
41439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41440 (eval "$ac_link") 2>conftest.er1
41442 grep -v '^ *+' conftest.er1 >conftest.err
41444 cat conftest.err >&5
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); } && {
41447 test -z "$ac_c_werror_flag" ||
41448 test ! -s conftest.err
41449 } && test -s conftest$ac_exeext &&
41450 $as_test_x conftest$ac_exeext; then
41451 eval "$as_ac_var=yes"
41453 echo "$as_me: failed program was:" >&5
41454 sed 's/^/| /' conftest.$ac_ext >&5
41456 eval "$as_ac_var=no"
41459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41460 conftest$ac_exeext conftest.$ac_ext
41462 ac_res=`eval echo '${'$as_ac_var'}'`
41463 { echo "$as_me:$LINENO: result: $ac_res" >&5
41464 echo "${ECHO_T}$ac_res" >&6; }
41465 if test `eval echo '${'$as_ac_var'}'` = yes; then
41466 cat >>confdefs.h <<_ACEOF
41467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41469 cat >>confdefs.h <<\_ACEOF
41470 #define HAVE_GETSERVBYNAME 1
41478 if test "$wxUSE_THREADS" = "yes"; then
41479 cat >>confdefs.h <<\_ACEOF
41480 #define wxUSE_THREADS 1
41484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41486 if test "$wx_cv_func_strtok_r" = "yes"; then
41487 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41488 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41489 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41491 { echo "$as_me:$LINENO: result: yes" >&5
41492 echo "${ECHO_T}yes" >&6; }
41494 { echo "$as_me:$LINENO: result: no" >&5
41495 echo "${ECHO_T}no" >&6; }
41500 if test "$WXGTK2" = 1 ; then
41501 cat >>confdefs.h <<_ACEOF
41502 #define __WXGTK20__ $WXGTK2
41508 if test "$WXGTK12" = 1 ; then
41509 cat >>confdefs.h <<_ACEOF
41510 #define __WXGTK12__ $WXGTK12
41515 if test "$WXGTK127" = 1 ; then
41516 cat >>confdefs.h <<_ACEOF
41517 #define __WXGTK127__ $WXGTK127
41522 if test "$WXGPE" = 1 ; then
41523 cat >>confdefs.h <<_ACEOF
41524 #define __WXGPE__ $WXGPE
41530 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41531 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41532 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41533 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41537 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41538 wxUSE_DEBUG_INFO=yes
41539 if test "$GCC" = yes; then
41540 DEBUG_CFLAGS="-ggdb"
41544 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41545 if test "$wxUSE_GTK" = 1 ; then
41546 if test "x$wxGTK_VERSION" = "x1" ; then
41547 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41552 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41553 cat >>confdefs.h <<\_ACEOF
41554 #define wxUSE_MEMORY_TRACING 1
41557 cat >>confdefs.h <<\_ACEOF
41558 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41561 cat >>confdefs.h <<\_ACEOF
41562 #define wxUSE_DEBUG_NEW_ALWAYS 1
41565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41568 if test "$wxUSE_DMALLOC" = "yes" ; then
41569 DMALLOC_LIBS="-ldmallocthcxx"
41573 if test "$wxUSE_PROFILE" = "yes" ; then
41574 PROFILE_FLAGS=" -pg"
41577 if test "$GCC" = "yes" ; then
41578 if test "$wxUSE_NO_RTTI" = "yes" ; then
41579 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41581 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41582 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41584 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41585 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41590 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41593 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41599 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41600 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41601 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41603 if test "$wxUSE_OPTIMISE" = "no" ; then
41604 if test "$GCC" = yes ; then
41605 OPTIMISE_CFLAGS="-O0"
41608 if test "$GCC" = yes ; then
41610 *-pc-os2_emx | *-pc-os2-emx )
41611 OPTIMISE_CFLAGS="-O2"
41614 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41618 OPTIMISE_CFLAGS="-O"
41624 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41625 cat >>confdefs.h <<\_ACEOF
41626 #define WXWIN_COMPATIBILITY_2_6 1
41630 WXWIN_COMPATIBILITY_2_8="yes"
41633 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41634 cat >>confdefs.h <<\_ACEOF
41635 #define WXWIN_COMPATIBILITY_2_8 1
41641 if test "$wxUSE_GUI" = "yes"; then
41642 cat >>confdefs.h <<\_ACEOF
41643 #define wxUSE_GUI 1
41650 if test "$wxUSE_UNIX" = "yes"; then
41651 cat >>confdefs.h <<\_ACEOF
41652 #define wxUSE_UNIX 1
41658 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41662 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41663 if test "$USE_DOS" = 1; then
41667 for ac_func in dlopen
41669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41673 echo $ECHO_N "(cached) $ECHO_C" >&6
41675 cat >conftest.$ac_ext <<_ACEOF
41678 cat confdefs.h >>conftest.$ac_ext
41679 cat >>conftest.$ac_ext <<_ACEOF
41680 /* end confdefs.h. */
41681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41683 #define $ac_func innocuous_$ac_func
41685 /* System header to define __stub macros and hopefully few prototypes,
41686 which can conflict with char $ac_func (); below.
41687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41688 <limits.h> exists even on freestanding compilers. */
41691 # include <limits.h>
41693 # include <assert.h>
41698 /* Override any GCC internal prototype to avoid an error.
41699 Use char because int might match the return type of a GCC
41700 builtin and then its argument prototype would still apply. */
41705 /* The GNU C library defines this for functions which it implements
41706 to always fail with ENOSYS. Some functions are actually named
41707 something starting with __ and the normal name is an alias. */
41708 #if defined __stub_$ac_func || defined __stub___$ac_func
41715 return $ac_func ();
41720 rm -f conftest.$ac_objext conftest$ac_exeext
41721 if { (ac_try="$ac_link"
41722 case "(($ac_try" in
41723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41724 *) ac_try_echo
=$ac_try;;
41726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41727 (eval "$ac_link") 2>conftest.er1
41729 grep -v '^ *+' conftest.er1
>conftest.err
41731 cat conftest.err
>&5
41732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41733 (exit $ac_status); } && {
41734 test -z "$ac_c_werror_flag" ||
41735 test ! -s conftest.err
41736 } && test -s conftest
$ac_exeext &&
41737 $as_test_x conftest
$ac_exeext; then
41738 eval "$as_ac_var=yes"
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.
$ac_ext >&5
41743 eval "$as_ac_var=no"
41746 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41747 conftest
$ac_exeext conftest.
$ac_ext
41749 ac_res
=`eval echo '${'$as_ac_var'}'`
41750 { echo "$as_me:$LINENO: result: $ac_res" >&5
41751 echo "${ECHO_T}$ac_res" >&6; }
41752 if test `eval echo '${'$as_ac_var'}'` = yes; then
41753 cat >>confdefs.h
<<_ACEOF
41754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41757 cat >>confdefs.h
<<\_ACEOF
41758 #define HAVE_DLOPEN 1
41765 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41766 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41767 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 ac_check_lib_save_LIBS
=$LIBS
41772 cat >conftest.
$ac_ext <<_ACEOF
41775 cat confdefs.h
>>conftest.
$ac_ext
41776 cat >>conftest.
$ac_ext <<_ACEOF
41777 /* end confdefs.h. */
41779 /* Override any GCC internal prototype to avoid an error.
41780 Use char because int might match the return type of a GCC
41781 builtin and then its argument prototype would still apply. */
41794 rm -f conftest.
$ac_objext conftest
$ac_exeext
41795 if { (ac_try
="$ac_link"
41796 case "(($ac_try" in
41797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41798 *) ac_try_echo=$ac_try;;
41800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41801 (eval "$ac_link") 2>conftest.er1
41803 grep -v '^ *+' conftest.er1 >conftest.err
41805 cat conftest.err >&5
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); } && {
41808 test -z "$ac_c_werror_flag" ||
41809 test ! -s conftest.err
41810 } && test -s conftest$ac_exeext &&
41811 $as_test_x conftest$ac_exeext; then
41812 ac_cv_lib_dl_dlopen=yes
41814 echo "$as_me: failed program was:" >&5
41815 sed 's/^/| /' conftest.$ac_ext >&5
41817 ac_cv_lib_dl_dlopen=no
41820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41821 conftest$ac_exeext conftest.$ac_ext
41822 LIBS=$ac_check_lib_save_LIBS
41824 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41825 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41826 if test $ac_cv_lib_dl_dlopen = yes; then
41828 cat >>confdefs.h <<\_ACEOF
41829 #define HAVE_DLOPEN 1
41833 DL_LINK=" -ldl$DL_LINK"
41838 for ac_func in shl_load
41840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41844 echo $ECHO_N "(cached) $ECHO_C" >&6
41846 cat >conftest.$ac_ext <<_ACEOF
41849 cat confdefs.h >>conftest.$ac_ext
41850 cat >>conftest.$ac_ext <<_ACEOF
41851 /* end confdefs.h. */
41852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41854 #define $ac_func innocuous_$ac_func
41856 /* System header to define __stub macros and hopefully few prototypes,
41857 which can conflict with char $ac_func (); below.
41858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41859 <limits.h> exists even on freestanding compilers. */
41862 # include <limits.h>
41864 # include <assert.h>
41869 /* Override any GCC internal prototype to avoid an error.
41870 Use char because int might match the return type of a GCC
41871 builtin and then its argument prototype would still apply. */
41876 /* The GNU C library defines this for functions which it implements
41877 to always fail with ENOSYS. Some functions are actually named
41878 something starting with __ and the normal name is an alias. */
41879 #if defined __stub_$ac_func || defined __stub___$ac_func
41886 return $ac_func ();
41891 rm -f conftest.$ac_objext conftest$ac_exeext
41892 if { (ac_try="$ac_link"
41893 case "(($ac_try" in
41894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41895 *) ac_try_echo
=$ac_try;;
41897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41898 (eval "$ac_link") 2>conftest.er1
41900 grep -v '^ *+' conftest.er1
>conftest.err
41902 cat conftest.err
>&5
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); } && {
41905 test -z "$ac_c_werror_flag" ||
41906 test ! -s conftest.err
41907 } && test -s conftest
$ac_exeext &&
41908 $as_test_x conftest
$ac_exeext; then
41909 eval "$as_ac_var=yes"
41911 echo "$as_me: failed program was:" >&5
41912 sed 's/^/| /' conftest.
$ac_ext >&5
41914 eval "$as_ac_var=no"
41917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41918 conftest
$ac_exeext conftest.
$ac_ext
41920 ac_res
=`eval echo '${'$as_ac_var'}'`
41921 { echo "$as_me:$LINENO: result: $ac_res" >&5
41922 echo "${ECHO_T}$ac_res" >&6; }
41923 if test `eval echo '${'$as_ac_var'}'` = yes; then
41924 cat >>confdefs.h
<<_ACEOF
41925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41928 cat >>confdefs.h
<<\_ACEOF
41929 #define HAVE_SHL_LOAD 1
41936 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41937 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41938 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41939 echo $ECHO_N "(cached) $ECHO_C" >&6
41941 ac_check_lib_save_LIBS
=$LIBS
41942 LIBS
="-lshl_load $LIBS"
41943 cat >conftest.
$ac_ext <<_ACEOF
41946 cat confdefs.h
>>conftest.
$ac_ext
41947 cat >>conftest.
$ac_ext <<_ACEOF
41948 /* end confdefs.h. */
41950 /* Override any GCC internal prototype to avoid an error.
41951 Use char because int might match the return type of a GCC
41952 builtin and then its argument prototype would still apply. */
41965 rm -f conftest.
$ac_objext conftest
$ac_exeext
41966 if { (ac_try
="$ac_link"
41967 case "(($ac_try" in
41968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41969 *) ac_try_echo=$ac_try;;
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_link") 2>conftest.er1
41974 grep -v '^ *+' conftest.er1 >conftest.err
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest$ac_exeext &&
41982 $as_test_x conftest$ac_exeext; then
41983 ac_cv_lib_shl_load_dld=yes
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41988 ac_cv_lib_shl_load_dld=no
41991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41992 conftest$ac_exeext conftest.$ac_ext
41993 LIBS=$ac_check_lib_save_LIBS
41995 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41996 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41997 if test $ac_cv_lib_shl_load_dld = yes; then
42000 DL_LINK=" -ldld$DL_LINK"
42016 if test "$HAVE_DL_FUNCS" = 1; then
42018 for ac_func in dlerror
42020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42024 echo $ECHO_N "(cached) $ECHO_C" >&6
42026 cat >conftest.$ac_ext <<_ACEOF
42029 cat confdefs.h >>conftest.$ac_ext
42030 cat >>conftest.$ac_ext <<_ACEOF
42031 /* end confdefs.h. */
42032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42034 #define $ac_func innocuous_$ac_func
42036 /* System header to define __stub macros and hopefully few prototypes,
42037 which can conflict with char $ac_func (); below.
42038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42039 <limits.h> exists even on freestanding compilers. */
42042 # include <limits.h>
42044 # include <assert.h>
42049 /* Override any GCC internal prototype to avoid an error.
42050 Use char because int might match the return type of a GCC
42051 builtin and then its argument prototype would still apply. */
42056 /* The GNU C library defines this for functions which it implements
42057 to always fail with ENOSYS. Some functions are actually named
42058 something starting with __ and the normal name is an alias. */
42059 #if defined __stub_$ac_func || defined __stub___$ac_func
42066 return $ac_func ();
42071 rm -f conftest.$ac_objext conftest$ac_exeext
42072 if { (ac_try="$ac_link"
42073 case "(($ac_try" in
42074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42075 *) ac_try_echo
=$ac_try;;
42077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42078 (eval "$ac_link") 2>conftest.er1
42080 grep -v '^ *+' conftest.er1
>conftest.err
42082 cat conftest.err
>&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } && {
42085 test -z "$ac_c_werror_flag" ||
42086 test ! -s conftest.err
42087 } && test -s conftest
$ac_exeext &&
42088 $as_test_x conftest
$ac_exeext; then
42089 eval "$as_ac_var=yes"
42091 echo "$as_me: failed program was:" >&5
42092 sed 's/^/| /' conftest.
$ac_ext >&5
42094 eval "$as_ac_var=no"
42097 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42098 conftest
$ac_exeext conftest.
$ac_ext
42100 ac_res
=`eval echo '${'$as_ac_var'}'`
42101 { echo "$as_me:$LINENO: result: $ac_res" >&5
42102 echo "${ECHO_T}$ac_res" >&6; }
42103 if test `eval echo '${'$as_ac_var'}'` = yes; then
42104 cat >>confdefs.h
<<_ACEOF
42105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42107 cat >>confdefs.h
<<\_ACEOF
42108 #define HAVE_DLERROR 1
42113 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42114 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42115 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42116 echo $ECHO_N "(cached) $ECHO_C" >&6
42118 ac_check_lib_save_LIBS
=$LIBS
42120 cat >conftest.
$ac_ext <<_ACEOF
42123 cat confdefs.h
>>conftest.
$ac_ext
42124 cat >>conftest.
$ac_ext <<_ACEOF
42125 /* end confdefs.h. */
42127 /* Override any GCC internal prototype to avoid an error.
42128 Use char because int might match the return type of a GCC
42129 builtin and then its argument prototype would still apply. */
42142 rm -f conftest.
$ac_objext conftest
$ac_exeext
42143 if { (ac_try
="$ac_link"
42144 case "(($ac_try" in
42145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42146 *) ac_try_echo=$ac_try;;
42148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42149 (eval "$ac_link") 2>conftest.er1
42151 grep -v '^ *+' conftest.er1 >conftest.err
42153 cat conftest.err >&5
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); } && {
42156 test -z "$ac_c_werror_flag" ||
42157 test ! -s conftest.err
42158 } && test -s conftest$ac_exeext &&
42159 $as_test_x conftest$ac_exeext; then
42160 ac_cv_lib_dl_dlerror=yes
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42165 ac_cv_lib_dl_dlerror=no
42168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42169 conftest$ac_exeext conftest.$ac_ext
42170 LIBS=$ac_check_lib_save_LIBS
42172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42173 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42174 if test $ac_cv_lib_dl_dlerror = yes; then
42175 cat >>confdefs.h <<\_ACEOF
42176 #define HAVE_DLERROR 1
42189 if test "$USE_DARWIN" = 1; then
42193 if test "$HAVE_DL_FUNCS" = 0; then
42194 if test "$HAVE_SHL_FUNCS" = 0; then
42195 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42196 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42197 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42198 wxUSE_DYNAMIC_LOADER=no
42199 wxUSE_DYNLIB_CLASS=no
42201 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42202 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42209 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42210 cat >>confdefs.h <<\_ACEOF
42211 #define wxUSE_DYNAMIC_LOADER 1
42215 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_DYNLIB_CLASS 1
42224 if test "$wxUSE_PLUGINS" = "yes" ; then
42225 if test "$wxUSE_SHARED" = "no" ; then
42226 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42227 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42230 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42231 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42232 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42235 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42236 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42237 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42240 if test "$wxUSE_PLUGINS" = "yes" ; then
42241 cat >>confdefs.h <<\_ACEOF
42242 #define wxUSE_PLUGINS 1
42249 if test "$wxUSE_STL" = "yes"; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define wxUSE_STL 1
42256 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42257 cat >>confdefs.h <<\_ACEOF
42258 #define wxUSE_EXTENDED_RTTI 1
42263 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42264 cat >>confdefs.h <<\_ACEOF
42265 #define wxUSE_APPLE_IEEE 1
42270 if test "$wxUSE_TIMER" = "yes"; then
42271 cat >>confdefs.h <<\_ACEOF
42272 #define wxUSE_TIMER 1
42277 if test "$USE_UNIX" = 1 ; then
42278 if test "$wxUSE_MGL" != 1; then
42279 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42280 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42281 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42282 echo $ECHO_N "(cached) $ECHO_C" >&6
42285 cat >conftest.$ac_ext <<_ACEOF
42288 cat confdefs.h >>conftest.$ac_ext
42289 cat >>conftest.$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42292 #include <sys/ioctl.h>
42293 #include <sys/soundcard.h>
42299 ioctl(0, SNDCTL_DSP_SPEED, 0);
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 ac_cv_header_sys_soundcard
=yes
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.
$ac_ext >&5
42330 LIBS
="$saveLibs -lossaudio"
42331 cat >conftest.
$ac_ext <<_ACEOF
42334 cat confdefs.h
>>conftest.
$ac_ext
42335 cat >>conftest.
$ac_ext <<_ACEOF
42336 /* end confdefs.h. */
42338 #include <sys/ioctl.h>
42339 #include <sys/soundcard.h>
42345 ioctl(0, SNDCTL_DSP_SPEED, 0);
42351 rm -f conftest.
$ac_objext conftest
$ac_exeext
42352 if { (ac_try
="$ac_link"
42353 case "(($ac_try" in
42354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42355 *) ac_try_echo=$ac_try;;
42357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42358 (eval "$ac_link") 2>conftest.er1
42360 grep -v '^ *+' conftest.er1 >conftest.err
42362 cat conftest.err >&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } && {
42365 test -z "$ac_c_werror_flag" ||
42366 test ! -s conftest.err
42367 } && test -s conftest$ac_exeext &&
42368 $as_test_x conftest$ac_exeext; then
42369 ac_cv_header_sys_soundcard=yes
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42376 ac_cv_header_sys_soundcard=no
42381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42382 conftest$ac_exeext conftest.$ac_ext
42387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42388 conftest$ac_exeext conftest.$ac_ext
42391 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42392 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42395 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42396 cat >>confdefs.h <<\_ACEOF
42397 #define HAVE_SYS_SOUNDCARD_H 1
42404 if test "$wxUSE_SOUND" = "yes"; then
42405 if test "$USE_UNIX" = 1 ; then
42406 if test "$wxUSE_LIBSDL" != "no"; then
42408 # Check whether --with-sdl-prefix was given.
42409 if test "${with_sdl_prefix+set}" = set; then
42410 withval=$with_sdl_prefix; sdl_prefix="$withval"
42416 # Check whether --with-sdl-exec-prefix was given.
42417 if test "${with_sdl_exec_prefix+set}" = set; then
42418 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42423 # Check whether --enable-sdltest was given.
42424 if test "${enable_sdltest+set}" = set; then
42425 enableval=$enable_sdltest;
42431 if test x$sdl_exec_prefix != x ; then
42432 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42433 if test x${SDL_CONFIG+set} != xset ; then
42434 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42437 if test x$sdl_prefix != x ; then
42438 sdl_args="$sdl_args --prefix=$sdl_prefix"
42439 if test x${SDL_CONFIG+set} != xset ; then
42440 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42444 if test "x$prefix" != xNONE; then
42445 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42447 # Extract the first word of "sdl-config", so it can be a program name with args.
42448 set dummy sdl-config; ac_word=$2
42449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42451 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42454 case $SDL_CONFIG in
42456 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42460 for as_dir in $PATH
42463 test -z "$as_dir" && as_dir=.
42464 for ac_exec_ext in '' $ac_executable_extensions; do
42465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42466 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42474 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42478 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42479 if test -n "$SDL_CONFIG"; then
42480 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42481 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42483 { echo "$as_me:$LINENO: result: no" >&5
42484 echo "${ECHO_T}no" >&6; }
42488 min_sdl_version=1.2.0
42489 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42490 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42492 if test "$SDL_CONFIG" = "no" ; then
42495 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42496 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42498 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42500 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42502 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42504 if test "x$enable_sdltest" = "xyes" ; then
42505 ac_save_CFLAGS="$CFLAGS"
42506 ac_save_CXXFLAGS="$CXXFLAGS"
42507 ac_save_LIBS="$LIBS"
42508 CFLAGS="$CFLAGS $SDL_CFLAGS"
42509 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42510 LIBS="$LIBS $SDL_LIBS"
42512 if test "$cross_compiling" = yes; then
42513 echo $ac_n "cross compiling; assumed OK... $ac_c"
42515 cat >conftest.$ac_ext <<_ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42523 #include <stdlib.h>
42524 #include <string.h>
42528 my_strdup (char *str)
42534 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42535 strcpy (new_str, str);
42543 int main (int argc, char *argv[])
42545 int major, minor, micro;
42548 /* This hangs on some systems (?)
42549 system ("touch conf.sdltest");
42551 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42553 /* HP/UX 9 (%@#!) writes to sscanf strings */
42554 tmp_version = my_strdup("$min_sdl_version");
42555 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42556 printf("%s, bad version string\n", "$min_sdl_version");
42560 if (($sdl_major_version > major) ||
42561 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42562 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42568 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42569 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42570 printf("*** best to upgrade to the required version.\n");
42571 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42572 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42573 printf("*** config.cache before re-running configure\n");
42580 rm -f conftest$ac_exeext
42581 if { (ac_try="$ac_link"
42582 case "(($ac_try" in
42583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42584 *) ac_try_echo
=$ac_try;;
42586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42587 (eval "$ac_link") 2>&5
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42591 { (case "(($ac_try" in
42592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42593 *) ac_try_echo=$ac_try;;
42595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42596 (eval "$ac_try") 2>&5
42598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42599 (exit $ac_status); }; }; then
42602 echo "$as_me: program exited with status $ac_status" >&5
42603 echo "$as_me: failed program was:" >&5
42604 sed 's/^/| /' conftest.$ac_ext >&5
42606 ( exit $ac_status )
42609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42613 CFLAGS="$ac_save_CFLAGS"
42614 CXXFLAGS="$ac_save_CXXFLAGS"
42615 LIBS="$ac_save_LIBS"
42618 if test "x$no_sdl" = x ; then
42619 { echo "$as_me:$LINENO: result: yes" >&5
42620 echo "${ECHO_T}yes" >&6; }
42622 EXTRALIBS_SDL="$SDL_LIBS"
42623 CFLAGS="$SDL_CFLAGS $CFLAGS"
42624 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_LIBSDL 1
42631 { echo "$as_me:$LINENO: result: no" >&5
42632 echo "${ECHO_T}no" >&6; }
42633 if test "$SDL_CONFIG" = "no" ; then
42634 echo "*** The sdl-config script installed by SDL could not be found"
42635 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42636 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42637 echo "*** full path to sdl-config."
42639 if test -f conf.sdltest ; then
42642 echo "*** Could not run SDL test program, checking why..."
42643 CFLAGS="$CFLAGS $SDL_CFLAGS"
42644 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42645 LIBS="$LIBS $SDL_LIBS"
42646 cat >conftest.$ac_ext <<_ACEOF
42649 cat confdefs.h >>conftest.$ac_ext
42650 cat >>conftest.$ac_ext <<_ACEOF
42651 /* end confdefs.h. */
42656 int main(int argc, char *argv[])
42659 #define main K_and_R_C_main
42669 rm -f conftest.$ac_objext conftest$ac_exeext
42670 if { (ac_try="$ac_link"
42671 case "(($ac_try" in
42672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42673 *) ac_try_echo
=$ac_try;;
42675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42676 (eval "$ac_link") 2>conftest.er1
42678 grep -v '^ *+' conftest.er1
>conftest.err
42680 cat conftest.err
>&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } && {
42683 test -z "$ac_c_werror_flag" ||
42684 test ! -s conftest.err
42685 } && test -s conftest
$ac_exeext &&
42686 $as_test_x conftest
$ac_exeext; then
42687 echo "*** The test program compiled, but did not run. This usually means"
42688 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42689 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42690 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42691 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42692 echo "*** is required on your system"
42694 echo "*** If you have an old version installed, it is best to remove it, although"
42695 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42697 echo "$as_me: failed program was:" >&5
42698 sed 's/^/| /' conftest.
$ac_ext >&5
42700 echo "*** The test program failed to compile or link. See the file config.log for the"
42701 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42702 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42703 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42706 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42707 conftest
$ac_exeext conftest.
$ac_ext
42708 CFLAGS
="$ac_save_CFLAGS"
42709 CXXFLAGS
="$ac_save_CXXFLAGS"
42710 LIBS
="$ac_save_LIBS"
42721 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42726 if test "$wxUSE_MGL" = 1; then
42727 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42728 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42734 if test "$wxUSE_SOUND" = "yes"; then
42735 cat >>confdefs.h
<<\_ACEOF
42736 #define wxUSE_SOUND 1
42739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42742 if test "$WXGTK2" = 1; then
42745 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42746 if test -n "$ac_tool_prefix"; then
42747 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42748 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42751 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42752 echo $ECHO_N "(cached) $ECHO_C" >&6
42754 case $PKG_CONFIG in
42756 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42760 for as_dir
in $PATH
42763 test -z "$as_dir" && as_dir
=.
42764 for ac_exec_ext
in '' $ac_executable_extensions; do
42765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42766 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42777 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42778 if test -n "$PKG_CONFIG"; then
42779 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42780 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42782 { echo "$as_me:$LINENO: result: no" >&5
42783 echo "${ECHO_T}no" >&6; }
42788 if test -z "$ac_cv_path_PKG_CONFIG"; then
42789 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42790 # Extract the first word of "pkg-config", so it can be a program name with args.
42791 set dummy pkg
-config; ac_word
=$2
42792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42794 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42795 echo $ECHO_N "(cached) $ECHO_C" >&6
42797 case $ac_pt_PKG_CONFIG in
42799 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42803 for as_dir
in $PATH
42806 test -z "$as_dir" && as_dir
=.
42807 for ac_exec_ext
in '' $ac_executable_extensions; do
42808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42809 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42820 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42821 if test -n "$ac_pt_PKG_CONFIG"; then
42822 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42823 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42825 { echo "$as_me:$LINENO: result: no" >&5
42826 echo "${ECHO_T}no" >&6; }
42829 if test "x$ac_pt_PKG_CONFIG" = x
; then
42832 case $cross_compiling:$ac_tool_warned in
42834 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42835 whose name does not start with the host triplet. If you think this
42836 configuration is useful to you, please write to autoconf@gnu.org." >&5
42837 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42838 whose name does not start with the host triplet. If you think this
42839 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42840 ac_tool_warned
=yes ;;
42842 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42845 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42849 if test -n "$PKG_CONFIG"; then
42850 _pkg_min_version
=0.9.0
42851 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42852 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42853 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42854 { echo "$as_me:$LINENO: result: yes" >&5
42855 echo "${ECHO_T}yes" >&6; }
42857 { echo "$as_me:$LINENO: result: no" >&5
42858 echo "${ECHO_T}no" >&6; }
42864 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42866 if test "$wxUSE_GTKPRINT" = "yes" ; then
42870 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42871 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42873 if test -n "$PKG_CONFIG"; then
42874 if test -n "$GTKPRINT_CFLAGS"; then
42875 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42877 if test -n "$PKG_CONFIG" && \
42878 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42879 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); }; then
42883 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42891 if test -n "$PKG_CONFIG"; then
42892 if test -n "$GTKPRINT_LIBS"; then
42893 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42895 if test -n "$PKG_CONFIG" && \
42896 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42897 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42900 (exit $ac_status); }; then
42901 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42912 if test $pkg_failed = yes; then
42914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42915 _pkg_short_errors_supported
=yes
42917 _pkg_short_errors_supported
=no
42919 if test $_pkg_short_errors_supported = yes; then
42920 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42922 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42924 # Put the nasty error message in config.log where it belongs
42925 echo "$GTKPRINT_PKG_ERRORS" >&5
42928 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42929 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42930 wxUSE_GTKPRINT
="no"
42933 elif test $pkg_failed = untried
; then
42935 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42936 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42937 wxUSE_GTKPRINT
="no"
42941 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42942 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42943 { echo "$as_me:$LINENO: result: yes" >&5
42944 echo "${ECHO_T}yes" >&6; }
42946 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42947 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42948 cat >>confdefs.h
<<\_ACEOF
42949 #define wxUSE_GTKPRINT 1
42956 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42960 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42961 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42963 if test -n "$PKG_CONFIG"; then
42964 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42965 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42967 if test -n "$PKG_CONFIG" && \
42968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42969 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); }; then
42973 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42981 if test -n "$PKG_CONFIG"; then
42982 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42983 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42985 if test -n "$PKG_CONFIG" && \
42986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42987 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; then
42991 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43002 if test $pkg_failed = yes; then
43004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43005 _pkg_short_errors_supported
=yes
43007 _pkg_short_errors_supported
=no
43009 if test $_pkg_short_errors_supported = yes; then
43010 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43012 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43014 # Put the nasty error message in config.log where it belongs
43015 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43018 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43019 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43020 wxUSE_LIBGNOMEPRINT
="no"
43023 elif test $pkg_failed = untried
; then
43025 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43026 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43027 wxUSE_LIBGNOMEPRINT
="no"
43031 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43032 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43033 { echo "$as_me:$LINENO: result: yes" >&5
43034 echo "${ECHO_T}yes" >&6; }
43036 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43037 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43038 cat >>confdefs.h
<<\_ACEOF
43039 #define wxUSE_LIBGNOMEPRINT 1
43047 if test "$wxUSE_MIMETYPE" = "yes" ; then
43048 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43052 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43053 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43055 if test -n "$PKG_CONFIG"; then
43056 if test -n "$GNOMEVFS_CFLAGS"; then
43057 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43059 if test -n "$PKG_CONFIG" && \
43060 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43061 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); }; then
43065 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43073 if test -n "$PKG_CONFIG"; then
43074 if test -n "$GNOMEVFS_LIBS"; then
43075 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43077 if test -n "$PKG_CONFIG" && \
43078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43079 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); }; then
43083 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43094 if test $pkg_failed = yes; then
43096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43097 _pkg_short_errors_supported
=yes
43099 _pkg_short_errors_supported
=no
43101 if test $_pkg_short_errors_supported = yes; then
43102 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43104 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43106 # Put the nasty error message in config.log where it belongs
43107 echo "$GNOMEVFS_PKG_ERRORS" >&5
43110 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43111 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43112 wxUSE_LIBGNOMEVFS
="no"
43115 elif test $pkg_failed = untried
; then
43117 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43118 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43119 wxUSE_LIBGNOMEVFS
="no"
43123 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43124 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43125 { echo "$as_me:$LINENO: result: yes" >&5
43126 echo "${ECHO_T}yes" >&6; }
43128 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43129 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43130 cat >>confdefs.h
<<\_ACEOF
43131 #define wxUSE_LIBGNOMEVFS 1
43139 if test "$wxUSE_LIBHILDON" = "yes" ; then
43142 { echo "$as_me:$LINENO: checking for HILDON" >&5
43143 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43145 if test -n "$PKG_CONFIG"; then
43146 if test -n "$HILDON_CFLAGS"; then
43147 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43149 if test -n "$PKG_CONFIG" && \
43150 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43151 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; then
43155 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43163 if test -n "$PKG_CONFIG"; then
43164 if test -n "$HILDON_LIBS"; then
43165 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43167 if test -n "$PKG_CONFIG" && \
43168 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43169 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43172 (exit $ac_status); }; then
43173 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43184 if test $pkg_failed = yes; then
43186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43187 _pkg_short_errors_supported
=yes
43189 _pkg_short_errors_supported
=no
43191 if test $_pkg_short_errors_supported = yes; then
43192 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43194 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43196 # Put the nasty error message in config.log where it belongs
43197 echo "$HILDON_PKG_ERRORS" >&5
43200 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43201 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43202 wxUSE_LIBHILDON
="no"
43205 elif test $pkg_failed = untried
; then
43207 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43208 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43209 wxUSE_LIBHILDON
="no"
43213 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43214 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43215 { echo "$as_me:$LINENO: result: yes" >&5
43216 echo "${ECHO_T}yes" >&6; }
43218 EXTRALIBS_HILDON
="$HILDON_LIBS"
43219 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43220 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43221 cat >>confdefs.h
<<\_ACEOF
43222 #define wxUSE_LIBHILDON 1
43230 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43231 cat >>confdefs.h
<<\_ACEOF
43232 #define wxUSE_CMDLINE_PARSER 1
43237 if test "$wxUSE_STOPWATCH" = "yes"; then
43238 cat >>confdefs.h
<<\_ACEOF
43239 #define wxUSE_STOPWATCH 1
43244 if test "$wxUSE_DATETIME" = "yes"; then
43245 cat >>confdefs.h
<<\_ACEOF
43246 #define wxUSE_DATETIME 1
43251 if test "$wxUSE_FILE" = "yes"; then
43252 cat >>confdefs.h
<<\_ACEOF
43253 #define wxUSE_FILE 1
43258 if test "$wxUSE_FFILE" = "yes"; then
43259 cat >>confdefs.h
<<\_ACEOF
43260 #define wxUSE_FFILE 1
43265 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43266 if test "$wxUSE_STREAMS" != yes; then
43267 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43268 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43269 wxUSE_ARCHIVE_STREAMS
=no
43271 cat >>confdefs.h
<<\_ACEOF
43272 #define wxUSE_ARCHIVE_STREAMS 1
43278 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43279 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43280 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43281 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43282 elif test "$wxUSE_ZLIB" = "no"; then
43283 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43284 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43286 cat >>confdefs.h
<<\_ACEOF
43287 #define wxUSE_ZIPSTREAM 1
43293 if test "$wxUSE_TARSTREAM" = "yes"; then
43294 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43295 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43296 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43298 cat >>confdefs.h
<<\_ACEOF
43299 #define wxUSE_TARSTREAM 1
43305 if test "$wxUSE_FILESYSTEM" = "yes"; then
43306 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43307 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43308 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43309 wxUSE_FILESYSTEM
=no
43311 cat >>confdefs.h
<<\_ACEOF
43312 #define wxUSE_FILESYSTEM 1
43318 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43319 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43320 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43321 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43323 cat >>confdefs.h
<<\_ACEOF
43324 #define wxUSE_FS_ARCHIVE 1
43330 if test "$wxUSE_FS_ZIP" = "yes"; then
43331 if test "$wxUSE_FS_ARCHIVE" != yes; then
43332 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43333 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43335 cat >>confdefs.h
<<\_ACEOF
43336 #define wxUSE_FS_ZIP 1
43342 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43343 if test "$USE_UNIX" != 1; then
43344 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43345 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43346 wxUSE_ON_FATAL_EXCEPTION
=no
43348 cat >>confdefs.h
<<\_ACEOF
43349 #define wxUSE_ON_FATAL_EXCEPTION 1
43355 if test "$wxUSE_STACKWALKER" = "yes"; then
43356 cat >>confdefs.h
<<\_ACEOF
43357 #define wxUSE_STACKWALKER 1
43362 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43363 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43364 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43365 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43366 wxUSE_DEBUGREPORT
=no
43368 cat >>confdefs.h
<<\_ACEOF
43369 #define wxUSE_DEBUGREPORT 1
43372 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43378 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43379 cat >>confdefs.h
<<\_ACEOF
43380 #define wxUSE_SNGLINST_CHECKER 1
43385 if test "$wxUSE_BUSYINFO" = "yes"; then
43386 cat >>confdefs.h
<<\_ACEOF
43387 #define wxUSE_BUSYINFO 1
43392 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43393 cat >>confdefs.h
<<\_ACEOF
43394 #define wxUSE_STD_IOSTREAM 1
43399 if test "$wxUSE_STD_STRING" = "yes"; then
43400 cat >>confdefs.h
<<\_ACEOF
43401 #define wxUSE_STD_STRING 1
43406 if test "$wxUSE_STDPATHS" = "yes"; then
43407 cat >>confdefs.h
<<\_ACEOF
43408 #define wxUSE_STDPATHS 1
43413 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43414 cat >>confdefs.h
<<\_ACEOF
43415 #define wxUSE_TEXTBUFFER 1
43420 if test "$wxUSE_TEXTFILE" = "yes"; then
43421 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43422 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43423 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43425 cat >>confdefs.h
<<\_ACEOF
43426 #define wxUSE_TEXTFILE 1
43432 if test "$wxUSE_CONFIG" = "yes" ; then
43433 if test "$wxUSE_TEXTFILE" != "yes"; then
43434 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43435 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43437 cat >>confdefs.h
<<\_ACEOF
43438 #define wxUSE_CONFIG 1
43441 cat >>confdefs.h
<<\_ACEOF
43442 #define wxUSE_CONFIG_NATIVE 1
43445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43449 if test "$wxUSE_INTL" = "yes" ; then
43450 if test "$wxUSE_FILE" != "yes"; then
43451 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43452 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43454 cat >>confdefs.h
<<\_ACEOF
43455 #define wxUSE_INTL 1
43458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43459 GUIDIST
="$GUIDIST INTL_DIST"
43463 if test "$wxUSE_XLOCALE" = "yes" ; then
43464 cat >>confdefs.h
<<\_ACEOF
43465 #define wxUSE_XLOCALE 1
43468 { echo "$as_me:$LINENO: checking for locale_t" >&5
43469 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43470 if test "${ac_cv_type_locale_t+set}" = set; then
43471 echo $ECHO_N "(cached) $ECHO_C" >&6
43473 cat >conftest.
$ac_ext <<_ACEOF
43476 cat confdefs.h
>>conftest.
$ac_ext
43477 cat >>conftest.
$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43479 #include <xlocale.h>
43480 #include <locale.h>
43482 typedef locale_t ac__type_new_;
43486 if ((ac__type_new_ *) 0)
43488 if (sizeof (ac__type_new_))
43494 rm -f conftest.
$ac_objext
43495 if { (ac_try
="$ac_compile"
43496 case "(($ac_try" in
43497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43498 *) ac_try_echo=$ac_try;;
43500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43501 (eval "$ac_compile") 2>conftest.er1
43503 grep -v '^ *+' conftest.er1 >conftest.err
43505 cat conftest.err >&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } && {
43508 test -z "$ac_c_werror_flag" ||
43509 test ! -s conftest.err
43510 } && test -s conftest.$ac_objext; then
43511 ac_cv_type_locale_t=yes
43513 echo "$as_me: failed program was:" >&5
43514 sed 's/^/| /' conftest.$ac_ext >&5
43516 ac_cv_type_locale_t=no
43519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43521 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43522 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43523 if test $ac_cv_type_locale_t = yes; then
43525 cat >>confdefs.h <<_ACEOF
43526 #define HAVE_LOCALE_T 1
43534 if test "$wxUSE_LOG" = "yes"; then
43535 cat >>confdefs.h <<\_ACEOF
43536 #define wxUSE_LOG 1
43540 if test "$wxUSE_LOGGUI" = "yes"; then
43541 cat >>confdefs.h <<\_ACEOF
43542 #define wxUSE_LOGGUI 1
43547 if test "$wxUSE_LOGWINDOW" = "yes"; then
43548 cat >>confdefs.h <<\_ACEOF
43549 #define wxUSE_LOGWINDOW 1
43554 if test "$wxUSE_LOGDIALOG" = "yes"; then
43555 cat >>confdefs.h <<\_ACEOF
43556 #define wxUSE_LOG_DIALOG 1
43561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43564 if test "$wxUSE_LONGLONG" = "yes"; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_LONGLONG 1
43571 if test "$wxUSE_GEOMETRY" = "yes"; then
43572 cat >>confdefs.h <<\_ACEOF
43573 #define wxUSE_GEOMETRY 1
43578 if test "$wxUSE_BASE64" = "yes"; then
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_BASE64 1
43585 if test "$wxUSE_STREAMS" = "yes" ; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define wxUSE_STREAMS 1
43592 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_PRINTF_POS_PARAMS 1
43599 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_OBJC_UNIQUIFYING 1
43607 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43608 cat >>confdefs.h <<\_ACEOF
43609 #define wxUSE_CONSOLE_EVENTLOOP 1
43613 if test "$wxUSE_UNIX" = "yes"; then
43614 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43615 cat >>confdefs.h <<\_ACEOF
43616 #define wxUSE_SELECT_DISPATCHER 1
43621 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43623 for ac_header in sys/epoll.h
43625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43629 echo $ECHO_N "(cached) $ECHO_C" >&6
43631 cat >conftest.$ac_ext <<_ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h. */
43637 $ac_includes_default
43639 #include <$ac_header>
43641 rm -f conftest.$ac_objext
43642 if { (ac_try="$ac_compile"
43643 case "(($ac_try" in
43644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43645 *) ac_try_echo
=$ac_try;;
43647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43648 (eval "$ac_compile") 2>conftest.er1
43650 grep -v '^ *+' conftest.er1
>conftest.err
43652 cat conftest.err
>&5
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); } && {
43655 test -z "$ac_c_werror_flag" ||
43656 test ! -s conftest.err
43657 } && test -s conftest.
$ac_objext; then
43658 eval "$as_ac_Header=yes"
43660 echo "$as_me: failed program was:" >&5
43661 sed 's/^/| /' conftest.
$ac_ext >&5
43663 eval "$as_ac_Header=no"
43666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43668 ac_res
=`eval echo '${'$as_ac_Header'}'`
43669 { echo "$as_me:$LINENO: result: $ac_res" >&5
43670 echo "${ECHO_T}$ac_res" >&6; }
43671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43672 cat >>confdefs.h
<<_ACEOF
43673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43680 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43681 cat >>confdefs.h
<<\_ACEOF
43682 #define wxUSE_EPOLL_DISPATCHER 1
43686 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43687 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43696 for ac_func
in gettimeofday ftime
43698 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43701 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43702 echo $ECHO_N "(cached) $ECHO_C" >&6
43704 cat >conftest.
$ac_ext <<_ACEOF
43707 cat confdefs.h
>>conftest.
$ac_ext
43708 cat >>conftest.
$ac_ext <<_ACEOF
43709 /* end confdefs.h. */
43710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43712 #define $ac_func innocuous_$ac_func
43714 /* System header to define __stub macros and hopefully few prototypes,
43715 which can conflict with char $ac_func (); below.
43716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43717 <limits.h> exists even on freestanding compilers. */
43720 # include <limits.h>
43722 # include <assert.h>
43727 /* Override any GCC internal prototype to avoid an error.
43728 Use char because int might match the return type of a GCC
43729 builtin and then its argument prototype would still apply. */
43734 /* The GNU C library defines this for functions which it implements
43735 to always fail with ENOSYS. Some functions are actually named
43736 something starting with __ and the normal name is an alias. */
43737 #if defined __stub_$ac_func || defined __stub___$ac_func
43744 return $ac_func ();
43749 rm -f conftest.
$ac_objext conftest
$ac_exeext
43750 if { (ac_try
="$ac_link"
43751 case "(($ac_try" in
43752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43753 *) ac_try_echo=$ac_try;;
43755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43756 (eval "$ac_link") 2>conftest.er1
43758 grep -v '^ *+' conftest.er1 >conftest.err
43760 cat conftest.err >&5
43761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43762 (exit $ac_status); } && {
43763 test -z "$ac_c_werror_flag" ||
43764 test ! -s conftest.err
43765 } && test -s conftest$ac_exeext &&
43766 $as_test_x conftest$ac_exeext; then
43767 eval "$as_ac_var=yes"
43769 echo "$as_me: failed program was:" >&5
43770 sed 's/^/| /' conftest.$ac_ext >&5
43772 eval "$as_ac_var=no"
43775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43776 conftest$ac_exeext conftest.$ac_ext
43778 ac_res=`eval echo '${'$as_ac_var'}'`
43779 { echo "$as_me:$LINENO: result: $ac_res" >&5
43780 echo "${ECHO_T}$ac_res" >&6; }
43781 if test `eval echo '${'$as_ac_var'}'` = yes; then
43782 cat >>confdefs.h <<_ACEOF
43783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43790 if test "$ac_cv_func_gettimeofday" = "yes"; then
43791 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43792 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43793 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43794 echo $ECHO_N "(cached) $ECHO_C" >&6
43797 cat >conftest.$ac_ext <<_ACEOF
43800 cat confdefs.h >>conftest.$ac_ext
43801 cat >>conftest.$ac_ext <<_ACEOF
43802 /* end confdefs.h. */
43804 #include <sys/time.h>
43805 #include <unistd.h>
43812 gettimeofday(&tv, NULL);
43818 rm -f conftest.$ac_objext
43819 if { (ac_try="$ac_compile"
43820 case "(($ac_try" in
43821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43822 *) ac_try_echo
=$ac_try;;
43824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43825 (eval "$ac_compile") 2>conftest.er1
43827 grep -v '^ *+' conftest.er1
>conftest.err
43829 cat conftest.err
>&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); } && {
43832 test -z "$ac_c_werror_flag" ||
43833 test ! -s conftest.err
43834 } && test -s conftest.
$ac_objext; then
43835 wx_cv_func_gettimeofday_has_2_args
=yes
43837 echo "$as_me: failed program was:" >&5
43838 sed 's/^/| /' conftest.
$ac_ext >&5
43840 cat >conftest.
$ac_ext <<_ACEOF
43843 cat confdefs.h
>>conftest.
$ac_ext
43844 cat >>conftest.
$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43847 #include <sys/time.h>
43848 #include <unistd.h>
43861 rm -f conftest.
$ac_objext
43862 if { (ac_try
="$ac_compile"
43863 case "(($ac_try" in
43864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43865 *) ac_try_echo=$ac_try;;
43867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43868 (eval "$ac_compile") 2>conftest.er1
43870 grep -v '^ *+' conftest.er1 >conftest.err
43872 cat conftest.err >&5
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); } && {
43875 test -z "$ac_c_werror_flag" ||
43876 test ! -s conftest.err
43877 } && test -s conftest.$ac_objext; then
43878 wx_cv_func_gettimeofday_has_2_args=no
43880 echo "$as_me: failed program was:" >&5
43881 sed 's/^/| /' conftest.$ac_ext >&5
43884 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43885 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43886 wx_cv_func_gettimeofday_has_2_args=unknown
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43898 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43899 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43901 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43902 cat >>confdefs.h <<\_ACEOF
43903 #define WX_GETTIMEOFDAY_NO_TZ 1
43909 if test "$wxUSE_DATETIME" = "yes"; then
43910 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43911 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43912 if test "${wx_cv_var_timezone+set}" = set; then
43913 echo $ECHO_N "(cached) $ECHO_C" >&6
43917 ac_cpp='$CXXCPP $CPPFLAGS'
43918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43922 cat >conftest.$ac_ext <<_ACEOF
43925 cat confdefs.h >>conftest.$ac_ext
43926 cat >>conftest.$ac_ext <<_ACEOF
43927 /* end confdefs.h. */
43942 rm -f conftest.$ac_objext
43943 if { (ac_try="$ac_compile"
43944 case "(($ac_try" in
43945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43946 *) ac_try_echo
=$ac_try;;
43948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43949 (eval "$ac_compile") 2>conftest.er1
43951 grep -v '^ *+' conftest.er1
>conftest.err
43953 cat conftest.err
>&5
43954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43955 (exit $ac_status); } && {
43956 test -z "$ac_cxx_werror_flag" ||
43957 test ! -s conftest.err
43958 } && test -s conftest.
$ac_objext; then
43960 wx_cv_var_timezone
=timezone
43963 echo "$as_me: failed program was:" >&5
43964 sed 's/^/| /' conftest.
$ac_ext >&5
43967 cat >conftest.
$ac_ext <<_ACEOF
43970 cat confdefs.h
>>conftest.
$ac_ext
43971 cat >>conftest.
$ac_ext <<_ACEOF
43972 /* end confdefs.h. */
43987 rm -f conftest.
$ac_objext
43988 if { (ac_try
="$ac_compile"
43989 case "(($ac_try" in
43990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43991 *) ac_try_echo=$ac_try;;
43993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43994 (eval "$ac_compile") 2>conftest.er1
43996 grep -v '^ *+' conftest.er1 >conftest.err
43998 cat conftest.err >&5
43999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44000 (exit $ac_status); } && {
44001 test -z "$ac_cxx_werror_flag" ||
44002 test ! -s conftest.err
44003 } && test -s conftest.$ac_objext; then
44005 wx_cv_var_timezone=_timezone
44008 echo "$as_me: failed program was:" >&5
44009 sed 's/^/| /' conftest.$ac_ext >&5
44012 cat >conftest.$ac_ext <<_ACEOF
44015 cat confdefs.h >>conftest.$ac_ext
44016 cat >>conftest.$ac_ext <<_ACEOF
44017 /* end confdefs.h. */
44032 rm -f conftest.$ac_objext
44033 if { (ac_try="$ac_compile"
44034 case "(($ac_try" in
44035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44036 *) ac_try_echo
=$ac_try;;
44038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44039 (eval "$ac_compile") 2>conftest.er1
44041 grep -v '^ *+' conftest.er1
>conftest.err
44043 cat conftest.err
>&5
44044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44045 (exit $ac_status); } && {
44046 test -z "$ac_cxx_werror_flag" ||
44047 test ! -s conftest.err
44048 } && test -s conftest.
$ac_objext; then
44050 wx_cv_var_timezone
=__timezone
44053 echo "$as_me: failed program was:" >&5
44054 sed 's/^/| /' conftest.
$ac_ext >&5
44057 if test "$USE_DOS" = 0 ; then
44058 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44059 echo "$as_me: WARNING: no timezone variable" >&2;}
44065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44077 ac_cpp
='$CPP $CPPFLAGS'
44078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44085 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44086 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44088 if test "x$wx_cv_var_timezone" != x
; then
44089 cat >>confdefs.h
<<_ACEOF
44090 #define WX_TIMEZONE $wx_cv_var_timezone
44096 for ac_func
in localtime
44098 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44101 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44102 echo $ECHO_N "(cached) $ECHO_C" >&6
44104 cat >conftest.
$ac_ext <<_ACEOF
44107 cat confdefs.h
>>conftest.
$ac_ext
44108 cat >>conftest.
$ac_ext <<_ACEOF
44109 /* end confdefs.h. */
44110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44112 #define $ac_func innocuous_$ac_func
44114 /* System header to define __stub macros and hopefully few prototypes,
44115 which can conflict with char $ac_func (); below.
44116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44117 <limits.h> exists even on freestanding compilers. */
44120 # include <limits.h>
44122 # include <assert.h>
44127 /* Override any GCC internal prototype to avoid an error.
44128 Use char because int might match the return type of a GCC
44129 builtin and then its argument prototype would still apply. */
44134 /* The GNU C library defines this for functions which it implements
44135 to always fail with ENOSYS. Some functions are actually named
44136 something starting with __ and the normal name is an alias. */
44137 #if defined __stub_$ac_func || defined __stub___$ac_func
44144 return $ac_func ();
44149 rm -f conftest.
$ac_objext conftest
$ac_exeext
44150 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
44166 $as_test_x conftest$ac_exeext; then
44167 eval "$as_ac_var=yes"
44169 echo "$as_me: failed program was:" >&5
44170 sed 's/^/| /' conftest.$ac_ext >&5
44172 eval "$as_ac_var=no"
44175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44176 conftest$ac_exeext conftest.$ac_ext
44178 ac_res=`eval echo '${'$as_ac_var'}'`
44179 { echo "$as_me:$LINENO: result: $ac_res" >&5
44180 echo "${ECHO_T}$ac_res" >&6; }
44181 if test `eval echo '${'$as_ac_var'}'` = yes; then
44182 cat >>confdefs.h <<_ACEOF
44183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44190 if test "$ac_cv_func_localtime" = "yes"; then
44191 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44192 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44193 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44194 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 cat >conftest.$ac_ext <<_ACEOF
44200 cat confdefs.h >>conftest.$ac_ext
44201 cat >>conftest.$ac_ext <<_ACEOF
44202 /* end confdefs.h. */
44217 rm -f conftest.$ac_objext
44218 if { (ac_try="$ac_compile"
44219 case "(($ac_try" in
44220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44221 *) ac_try_echo
=$ac_try;;
44223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44224 (eval "$ac_compile") 2>conftest.er1
44226 grep -v '^ *+' conftest.er1
>conftest.err
44228 cat conftest.err
>&5
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); } && {
44231 test -z "$ac_c_werror_flag" ||
44232 test ! -s conftest.err
44233 } && test -s conftest.
$ac_objext; then
44235 wx_cv_struct_tm_has_gmtoff
=yes
44238 echo "$as_me: failed program was:" >&5
44239 sed 's/^/| /' conftest.
$ac_ext >&5
44241 wx_cv_struct_tm_has_gmtoff
=no
44245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44248 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44249 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44252 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44253 cat >>confdefs.h
<<\_ACEOF
44254 #define WX_GMTOFF_IN_TM 1
44259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44263 if test "$wxUSE_SOCKETS" = "yes"; then
44264 if test "$wxUSE_MGL" = 1; then
44265 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44266 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44271 if test "$wxUSE_SOCKETS" = "yes"; then
44272 if test "$TOOLKIT" != "MSW"; then
44273 { echo "$as_me:$LINENO: checking for socket" >&5
44274 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44275 if test "${ac_cv_func_socket+set}" = set; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44278 cat >conftest.
$ac_ext <<_ACEOF
44281 cat confdefs.h
>>conftest.
$ac_ext
44282 cat >>conftest.
$ac_ext <<_ACEOF
44283 /* end confdefs.h. */
44284 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44286 #define socket innocuous_socket
44288 /* System header to define __stub macros and hopefully few prototypes,
44289 which can conflict with char socket (); below.
44290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44291 <limits.h> exists even on freestanding compilers. */
44294 # include <limits.h>
44296 # include <assert.h>
44301 /* Override any GCC internal prototype to avoid an error.
44302 Use char because int might match the return type of a GCC
44303 builtin and then its argument prototype would still apply. */
44308 /* The GNU C library defines this for functions which it implements
44309 to always fail with ENOSYS. Some functions are actually named
44310 something starting with __ and the normal name is an alias. */
44311 #if defined __stub_socket || defined __stub___socket
44323 rm -f conftest.
$ac_objext conftest
$ac_exeext
44324 if { (ac_try
="$ac_link"
44325 case "(($ac_try" in
44326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44327 *) ac_try_echo=$ac_try;;
44329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44330 (eval "$ac_link") 2>conftest.er1
44332 grep -v '^ *+' conftest.er1 >conftest.err
44334 cat conftest.err >&5
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); } && {
44337 test -z "$ac_c_werror_flag" ||
44338 test ! -s conftest.err
44339 } && test -s conftest$ac_exeext &&
44340 $as_test_x conftest$ac_exeext; then
44341 ac_cv_func_socket=yes
44343 echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44346 ac_cv_func_socket=no
44349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44350 conftest$ac_exeext conftest.$ac_ext
44352 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44353 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44354 if test $ac_cv_func_socket = yes; then
44358 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44359 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44360 if test "${ac_cv_lib_socket_socket+set}" = set; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44363 ac_check_lib_save_LIBS=$LIBS
44364 LIBS="-lsocket $LIBS"
44365 cat >conftest.$ac_ext <<_ACEOF
44368 cat confdefs.h >>conftest.$ac_ext
44369 cat >>conftest.$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44372 /* Override any GCC internal prototype to avoid an error.
44373 Use char because int might match the return type of a GCC
44374 builtin and then its argument prototype would still apply. */
44387 rm -f conftest.$ac_objext conftest$ac_exeext
44388 if { (ac_try="$ac_link"
44389 case "(($ac_try" in
44390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44391 *) ac_try_echo
=$ac_try;;
44393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44394 (eval "$ac_link") 2>conftest.er1
44396 grep -v '^ *+' conftest.er1
>conftest.err
44398 cat conftest.err
>&5
44399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44400 (exit $ac_status); } && {
44401 test -z "$ac_c_werror_flag" ||
44402 test ! -s conftest.err
44403 } && test -s conftest
$ac_exeext &&
44404 $as_test_x conftest
$ac_exeext; then
44405 ac_cv_lib_socket_socket
=yes
44407 echo "$as_me: failed program was:" >&5
44408 sed 's/^/| /' conftest.
$ac_ext >&5
44410 ac_cv_lib_socket_socket
=no
44413 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44414 conftest
$ac_exeext conftest.
$ac_ext
44415 LIBS
=$ac_check_lib_save_LIBS
44417 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44418 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44419 if test $ac_cv_lib_socket_socket = yes; then
44420 if test "$INET_LINK" != " -lsocket"; then
44421 INET_LINK
="$INET_LINK -lsocket"
44425 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44426 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44439 if test "$wxUSE_SOCKETS" = "yes" ; then
44440 if test "$TOOLKIT" != "MSW"; then
44441 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44442 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44443 if test "${wx_cv_type_getsockname3+set}" = set; then
44444 echo $ECHO_N "(cached) $ECHO_C" >&6
44448 ac_cpp
='$CXXCPP $CPPFLAGS'
44449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44453 cat >conftest.
$ac_ext <<_ACEOF
44456 cat confdefs.h
>>conftest.
$ac_ext
44457 cat >>conftest.
$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44460 #include <sys/types.h>
44461 #include <sys/socket.h>
44468 getsockname(0, 0, &len);
44474 rm -f conftest.
$ac_objext
44475 if { (ac_try
="$ac_compile"
44476 case "(($ac_try" in
44477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44478 *) ac_try_echo=$ac_try;;
44480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44481 (eval "$ac_compile") 2>conftest.er1
44483 grep -v '^ *+' conftest.er1 >conftest.err
44485 cat conftest.err >&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); } && {
44488 test -z "$ac_cxx_werror_flag" ||
44489 test ! -s conftest.err
44490 } && test -s conftest.$ac_objext; then
44491 wx_cv_type_getsockname3=socklen_t
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44497 CFLAGS_OLD="$CFLAGS"
44498 if test "$GCC" = yes ; then
44499 CFLAGS="-Werror $CFLAGS"
44502 cat >conftest.$ac_ext <<_ACEOF
44505 cat confdefs.h >>conftest.$ac_ext
44506 cat >>conftest.$ac_ext <<_ACEOF
44507 /* end confdefs.h. */
44509 #include <sys/types.h>
44510 #include <sys/socket.h>
44517 getsockname(0, 0, &len);
44523 rm -f conftest.$ac_objext
44524 if { (ac_try="$ac_compile"
44525 case "(($ac_try" in
44526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44527 *) ac_try_echo
=$ac_try;;
44529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44530 (eval "$ac_compile") 2>conftest.er1
44532 grep -v '^ *+' conftest.er1
>conftest.err
44534 cat conftest.err
>&5
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); } && {
44537 test -z "$ac_cxx_werror_flag" ||
44538 test ! -s conftest.err
44539 } && test -s conftest.
$ac_objext; then
44540 wx_cv_type_getsockname3
=size_t
44542 echo "$as_me: failed program was:" >&5
44543 sed 's/^/| /' conftest.
$ac_ext >&5
44545 cat >conftest.
$ac_ext <<_ACEOF
44548 cat confdefs.h
>>conftest.
$ac_ext
44549 cat >>conftest.
$ac_ext <<_ACEOF
44550 /* end confdefs.h. */
44552 #include <sys/types.h>
44553 #include <sys/socket.h>
44560 getsockname(0, 0, &len);
44566 rm -f conftest.
$ac_objext
44567 if { (ac_try
="$ac_compile"
44568 case "(($ac_try" in
44569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44570 *) ac_try_echo=$ac_try;;
44572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44573 (eval "$ac_compile") 2>conftest.er1
44575 grep -v '^ *+' conftest.er1 >conftest.err
44577 cat conftest.err >&5
44578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44579 (exit $ac_status); } && {
44580 test -z "$ac_cxx_werror_flag" ||
44581 test ! -s conftest.err
44582 } && test -s conftest.$ac_objext; then
44583 wx_cv_type_getsockname3=int
44585 echo "$as_me: failed program was:" >&5
44586 sed 's/^/| /' conftest.$ac_ext >&5
44588 wx_cv_type_getsockname3=unknown
44592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 CFLAGS="$CFLAGS_OLD"
44603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44605 ac_cpp='$CPP $CPPFLAGS'
44606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44612 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44613 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44615 if test "$wx_cv_type_getsockname3" = "unknown"; then
44617 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44618 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44620 cat >>confdefs.h <<_ACEOF
44621 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44625 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44626 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44627 if test "${wx_cv_type_getsockopt5+set}" = set; then
44628 echo $ECHO_N "(cached) $ECHO_C" >&6
44632 ac_cpp='$CXXCPP $CPPFLAGS'
44633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44637 cat >conftest.$ac_ext <<_ACEOF
44640 cat confdefs.h >>conftest.$ac_ext
44641 cat >>conftest.$ac_ext <<_ACEOF
44642 /* end confdefs.h. */
44644 #include <sys/types.h>
44645 #include <sys/socket.h>
44652 getsockopt(0, 0, 0, 0, &len);
44658 rm -f conftest.$ac_objext
44659 if { (ac_try="$ac_compile"
44660 case "(($ac_try" in
44661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44662 *) ac_try_echo
=$ac_try;;
44664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44665 (eval "$ac_compile") 2>conftest.er1
44667 grep -v '^ *+' conftest.er1
>conftest.err
44669 cat conftest.err
>&5
44670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44671 (exit $ac_status); } && {
44672 test -z "$ac_cxx_werror_flag" ||
44673 test ! -s conftest.err
44674 } && test -s conftest.
$ac_objext; then
44675 wx_cv_type_getsockopt5
=socklen_t
44677 echo "$as_me: failed program was:" >&5
44678 sed 's/^/| /' conftest.
$ac_ext >&5
44681 cat >conftest.
$ac_ext <<_ACEOF
44684 cat confdefs.h
>>conftest.
$ac_ext
44685 cat >>conftest.
$ac_ext <<_ACEOF
44686 /* end confdefs.h. */
44688 #include <sys/types.h>
44689 #include <sys/socket.h>
44696 getsockopt(0, 0, 0, 0, &len);
44702 rm -f conftest.
$ac_objext
44703 if { (ac_try
="$ac_compile"
44704 case "(($ac_try" in
44705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44706 *) ac_try_echo=$ac_try;;
44708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44709 (eval "$ac_compile") 2>conftest.er1
44711 grep -v '^ *+' conftest.er1 >conftest.err
44713 cat conftest.err >&5
44714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44715 (exit $ac_status); } && {
44716 test -z "$ac_cxx_werror_flag" ||
44717 test ! -s conftest.err
44718 } && test -s conftest.$ac_objext; then
44719 wx_cv_type_getsockopt5=size_t
44721 echo "$as_me: failed program was:" >&5
44722 sed 's/^/| /' conftest.$ac_ext >&5
44724 cat >conftest.$ac_ext <<_ACEOF
44727 cat confdefs.h >>conftest.$ac_ext
44728 cat >>conftest.$ac_ext <<_ACEOF
44729 /* end confdefs.h. */
44731 #include <sys/types.h>
44732 #include <sys/socket.h>
44739 getsockopt(0, 0, 0, 0, &len);
44745 rm -f conftest.$ac_objext
44746 if { (ac_try="$ac_compile"
44747 case "(($ac_try" in
44748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44749 *) ac_try_echo
=$ac_try;;
44751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44752 (eval "$ac_compile") 2>conftest.er1
44754 grep -v '^ *+' conftest.er1
>conftest.err
44756 cat conftest.err
>&5
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); } && {
44759 test -z "$ac_cxx_werror_flag" ||
44760 test ! -s conftest.err
44761 } && test -s conftest.
$ac_objext; then
44762 wx_cv_type_getsockopt5
=int
44764 echo "$as_me: failed program was:" >&5
44765 sed 's/^/| /' conftest.
$ac_ext >&5
44767 wx_cv_type_getsockopt5
=unknown
44771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44782 ac_cpp
='$CPP $CPPFLAGS'
44783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44789 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44790 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44792 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44794 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44795 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44797 cat >>confdefs.h
<<_ACEOF
44798 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44805 if test "$wxUSE_SOCKETS" = "yes" ; then
44806 if test "$wxUSE_IPV6" = "yes"; then
44807 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44808 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44809 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44810 echo $ECHO_N "(cached) $ECHO_C" >&6
44813 cat >conftest.
$ac_ext <<_ACEOF
44816 cat confdefs.h
>>conftest.
$ac_ext
44817 cat >>conftest.
$ac_ext <<_ACEOF
44818 /* end confdefs.h. */
44820 #include <sys/types.h>
44821 #include <sys/socket.h>
44822 #include <netinet/in.h>
44828 struct sockaddr_in6 sa6;
44834 rm -f conftest.
$ac_objext
44835 if { (ac_try
="$ac_compile"
44836 case "(($ac_try" in
44837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44838 *) ac_try_echo=$ac_try;;
44840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44841 (eval "$ac_compile") 2>conftest.er1
44843 grep -v '^ *+' conftest.er1 >conftest.err
44845 cat conftest.err >&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); } && {
44848 test -z "$ac_c_werror_flag" ||
44849 test ! -s conftest.err
44850 } && test -s conftest.$ac_objext; then
44851 wx_cv_type_sockaddr_in6=yes
44853 echo "$as_me: failed program was:" >&5
44854 sed 's/^/| /' conftest.$ac_ext >&5
44856 wx_cv_type_sockaddr_in6=no
44860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44864 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44865 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44867 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_IPV6 1
44873 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44874 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_SOCKETS 1
44882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44885 if test "$wxUSE_PROTOCOL" = "yes"; then
44886 if test "$wxUSE_SOCKETS" != "yes"; then
44887 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44888 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44893 if test "$wxUSE_PROTOCOL" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_PROTOCOL 1
44899 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_PROTOCOL_HTTP 1
44905 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_PROTOCOL_FTP 1
44911 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_PROTOCOL_FILE 1
44918 if test "$wxUSE_FS_INET" = "yes"; then
44919 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44920 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44925 if test "$wxUSE_URL" = "yes"; then
44926 if test "$wxUSE_PROTOCOL" != "yes"; then
44927 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44928 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44931 if test "$wxUSE_URL" = "yes"; then
44932 cat >>confdefs.h <<\_ACEOF
44933 #define wxUSE_URL 1
44939 if test "$wxUSE_VARIANT" = "yes"; then
44940 cat >>confdefs.h <<\_ACEOF
44941 #define wxUSE_VARIANT 1
44946 if test "$wxUSE_FS_INET" = "yes"; then
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_FS_INET 1
44954 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44957 if test "$TOOLKIT" = "MSW"; then
44960 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44961 if test "$USE_DARWIN" = 1; then
44962 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44963 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44965 ac_cpp='$CXXCPP $CPPFLAGS'
44966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44970 cat >conftest.$ac_ext <<_ACEOF
44973 cat confdefs.h >>conftest.$ac_ext
44974 cat >>conftest.$ac_ext <<_ACEOF
44975 /* end confdefs.h. */
44976 #include <IOKit/hid/IOHIDLib.h>
44980 IOHIDQueueInterface *qi = NULL;
44981 IOHIDCallbackFunction cb = NULL;
44982 qi->setEventCallout(NULL, cb, NULL, NULL);
44987 rm -f conftest.$ac_objext
44988 if { (ac_try="$ac_compile"
44989 case "(($ac_try" in
44990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44991 *) ac_try_echo
=$ac_try;;
44993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44994 (eval "$ac_compile") 2>conftest.er1
44996 grep -v '^ *+' conftest.er1
>conftest.err
44998 cat conftest.err
>&5
44999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000 (exit $ac_status); } && {
45001 test -z "$ac_cxx_werror_flag" ||
45002 test ! -s conftest.err
45003 } && test -s conftest.
$ac_objext; then
45007 echo "$as_me: failed program was:" >&5
45008 sed 's/^/| /' conftest.
$ac_ext >&5
45013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45015 ac_cpp
='$CPP $CPPFLAGS'
45016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45020 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45021 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45025 if test "$wxUSE_MGL" != 1; then
45027 for ac_header
in linux
/joystick.h
45029 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45032 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45033 echo $ECHO_N "(cached) $ECHO_C" >&6
45035 cat >conftest.
$ac_ext <<_ACEOF
45038 cat confdefs.h
>>conftest.
$ac_ext
45039 cat >>conftest.
$ac_ext <<_ACEOF
45040 /* end confdefs.h. */
45041 $ac_includes_default
45043 #include <$ac_header>
45045 rm -f conftest.
$ac_objext
45046 if { (ac_try
="$ac_compile"
45047 case "(($ac_try" in
45048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45049 *) ac_try_echo=$ac_try;;
45051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45052 (eval "$ac_compile") 2>conftest.er1
45054 grep -v '^ *+' conftest.er1 >conftest.err
45056 cat conftest.err >&5
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); } && {
45059 test -z "$ac_c_werror_flag" ||
45060 test ! -s conftest.err
45061 } && test -s conftest.$ac_objext; then
45062 eval "$as_ac_Header=yes"
45064 echo "$as_me: failed program was:" >&5
45065 sed 's/^/| /' conftest.$ac_ext >&5
45067 eval "$as_ac_Header=no"
45070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45072 ac_res=`eval echo '${'$as_ac_Header'}'`
45073 { echo "$as_me:$LINENO: result: $ac_res" >&5
45074 echo "${ECHO_T}$ac_res" >&6; }
45075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45076 cat >>confdefs.h <<_ACEOF
45077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45087 if test "$wxUSE_JOYSTICK" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_JOYSTICK 1
45092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45094 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45095 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45101 if test "$wxUSE_FONTENUM" = "yes" ; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_FONTENUM 1
45108 if test "$wxUSE_FONTMAP" = "yes" ; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_FONTMAP 1
45115 if test "$wxUSE_UNICODE" = "yes" ; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_UNICODE 1
45121 if test "$USE_WIN32" != 1; then
45122 wxUSE_UNICODE_MSLU=no
45125 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45126 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45127 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45128 if test "${ac_cv_lib_unicows_main+set}" = set; then
45129 echo $ECHO_N "(cached) $ECHO_C" >&6
45131 ac_check_lib_save_LIBS=$LIBS
45132 LIBS="-lunicows $LIBS"
45133 cat >conftest.$ac_ext <<_ACEOF
45136 cat confdefs.h >>conftest.$ac_ext
45137 cat >>conftest.$ac_ext <<_ACEOF
45138 /* end confdefs.h. */
45149 rm -f conftest.$ac_objext conftest$ac_exeext
45150 if { (ac_try="$ac_link"
45151 case "(($ac_try" in
45152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45153 *) ac_try_echo
=$ac_try;;
45155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45156 (eval "$ac_link") 2>conftest.er1
45158 grep -v '^ *+' conftest.er1
>conftest.err
45160 cat conftest.err
>&5
45161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45162 (exit $ac_status); } && {
45163 test -z "$ac_c_werror_flag" ||
45164 test ! -s conftest.err
45165 } && test -s conftest
$ac_exeext &&
45166 $as_test_x conftest
$ac_exeext; then
45167 ac_cv_lib_unicows_main
=yes
45169 echo "$as_me: failed program was:" >&5
45170 sed 's/^/| /' conftest.
$ac_ext >&5
45172 ac_cv_lib_unicows_main
=no
45175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45176 conftest
$ac_exeext conftest.
$ac_ext
45177 LIBS
=$ac_check_lib_save_LIBS
45179 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45180 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45181 if test $ac_cv_lib_unicows_main = yes; then
45183 cat >>confdefs.h
<<\_ACEOF
45184 #define wxUSE_UNICODE_MSLU 1
45190 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45191 Applications will only run on Windows NT/2000/XP!" >&5
45192 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45193 Applications will only run on Windows NT/2000/XP!" >&2;}
45194 wxUSE_UNICODE_MSLU
=no
45201 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_UNICODE_UTF8 1
45207 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45208 cat >>confdefs.h
<<\_ACEOF
45209 #define wxUSE_UTF8_LOCALE_ONLY 1
45216 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45217 cat >>confdefs.h
<<\_ACEOF
45218 #define wxUSE_CONSTRAINTS 1
45221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45224 if test "$wxUSE_MDI" = "yes"; then
45225 cat >>confdefs.h
<<\_ACEOF
45226 #define wxUSE_MDI 1
45230 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45231 cat >>confdefs.h
<<\_ACEOF
45232 #define wxUSE_MDI_ARCHITECTURE 1
45235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45239 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45240 cat >>confdefs.h
<<\_ACEOF
45241 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45247 if test "$wxUSE_HELP" = "yes"; then
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_HELP 1
45252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45254 if test "$wxUSE_MSW" = 1; then
45255 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45256 cat >>confdefs.h
<<\_ACEOF
45257 #define wxUSE_MS_HTML_HELP 1
45263 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45264 if test "$wxUSE_HTML" = "yes"; then
45265 cat >>confdefs.h
<<\_ACEOF
45266 #define wxUSE_WXHTML_HELP 1
45270 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45271 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45272 wxUSE_WXHTML_HELP
=no
45277 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45278 cat >>confdefs.h
<<\_ACEOF
45279 #define wxUSE_PRINTING_ARCHITECTURE 1
45282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45285 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45286 cat >>confdefs.h
<<\_ACEOF
45287 #define wxUSE_POSTSCRIPT 1
45292 cat >>confdefs.h
<<\_ACEOF
45293 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45297 if test "$wxUSE_SVG" = "yes"; then
45298 cat >>confdefs.h
<<\_ACEOF
45299 #define wxUSE_SVG 1
45305 if test "$wxUSE_METAFILE" = "yes"; then
45306 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45307 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45308 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45314 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45315 -o "$wxUSE_CLIPBOARD" = "yes" \
45316 -o "$wxUSE_OLE" = "yes" \
45317 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45318 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45319 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45320 if test "${ac_cv_header_ole2_h+set}" = set; then
45321 echo $ECHO_N "(cached) $ECHO_C" >&6
45323 cat >conftest.
$ac_ext <<_ACEOF
45326 cat confdefs.h
>>conftest.
$ac_ext
45327 cat >>conftest.
$ac_ext <<_ACEOF
45328 /* end confdefs.h. */
45333 rm -f conftest.
$ac_objext
45334 if { (ac_try
="$ac_compile"
45335 case "(($ac_try" in
45336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45337 *) ac_try_echo=$ac_try;;
45339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45340 (eval "$ac_compile") 2>conftest.er1
45342 grep -v '^ *+' conftest.er1 >conftest.err
45344 cat conftest.err >&5
45345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346 (exit $ac_status); } && {
45347 test -z "$ac_c_werror_flag" ||
45348 test ! -s conftest.err
45349 } && test -s conftest.$ac_objext; then
45350 ac_cv_header_ole2_h=yes
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45355 ac_cv_header_ole2_h=no
45358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45360 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45361 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45365 if test "$ac_cv_header_ole2_h" = "yes" ; then
45366 if test "$GCC" = yes ; then
45367 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45368 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45369 cat >conftest.$ac_ext <<_ACEOF
45372 cat confdefs.h >>conftest.$ac_ext
45373 cat >>conftest.$ac_ext <<_ACEOF
45374 /* end confdefs.h. */
45375 #include <windows.h>
45385 rm -f conftest.$ac_objext
45386 if { (ac_try="$ac_compile"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45389 *) ac_try_echo
=$ac_try;;
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_compile") 2>conftest.er1
45394 grep -v '^ *+' conftest.er1
>conftest.err
45396 cat conftest.err
>&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest.
$ac_objext; then
45402 { echo "$as_me:$LINENO: result: no" >&5
45403 echo "${ECHO_T}no" >&6; }
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.
$ac_ext >&5
45408 { echo "$as_me:$LINENO: result: yes" >&5
45409 echo "${ECHO_T}yes" >&6; }
45410 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45414 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45415 if test "$wxUSE_OLE" = "yes" ; then
45416 cat >>confdefs.h
<<\_ACEOF
45417 #define wxUSE_OLE 1
45420 cat >>confdefs.h
<<\_ACEOF
45421 #define wxUSE_OLE_AUTOMATION 1
45424 cat >>confdefs.h
<<\_ACEOF
45425 #define wxUSE_ACTIVEX 1
45428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45432 if test "$wxUSE_DATAOBJ" = "yes" ; then
45433 cat >>confdefs.h
<<\_ACEOF
45434 #define wxUSE_DATAOBJ 1
45439 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45440 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45443 wxUSE_DRAG_AND_DROP
=no
45448 if test "$wxUSE_METAFILE" = "yes"; then
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_METAFILE 1
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_ENH_METAFILE 1
45461 if test "$wxUSE_IPC" = "yes"; then
45462 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45463 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45464 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45468 if test "$wxUSE_IPC" = "yes"; then
45469 cat >>confdefs.h
<<\_ACEOF
45470 #define wxUSE_IPC 1
45473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45477 if test "$wxUSE_DATAOBJ" = "yes"; then
45478 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45479 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45480 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45483 cat >>confdefs.h
<<\_ACEOF
45484 #define wxUSE_DATAOBJ 1
45489 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45490 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45492 wxUSE_DRAG_AND_DROP
=no
45495 if test "$wxUSE_CLIPBOARD" = "yes"; then
45496 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45497 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45498 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45502 if test "$wxUSE_CLIPBOARD" = "yes"; then
45503 cat >>confdefs.h
<<\_ACEOF
45504 #define wxUSE_CLIPBOARD 1
45510 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45511 if test "$wxUSE_GTK" = 1; then
45512 if test "$WXGTK12" != 1; then
45513 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45514 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45515 wxUSE_DRAG_AND_DROP
=no
45519 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45520 "$wxUSE_DFB" = 1; then
45521 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45522 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45523 wxUSE_DRAG_AND_DROP
=no
45526 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45527 cat >>confdefs.h
<<\_ACEOF
45528 #define wxUSE_DRAG_AND_DROP 1
45535 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45539 if test "$wxUSE_CLIPBOARD" = "yes"; then
45540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45543 if test "$wxUSE_SPLINES" = "yes" ; then
45544 cat >>confdefs.h
<<\_ACEOF
45545 #define wxUSE_SPLINES 1
45550 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45551 cat >>confdefs.h
<<\_ACEOF
45552 #define wxUSE_MOUSEWHEEL 1
45559 if test "$wxUSE_CONTROLS" = "yes"; then
45563 if test "$wxUSE_ACCEL" = "yes"; then
45564 cat >>confdefs.h
<<\_ACEOF
45565 #define wxUSE_ACCEL 1
45571 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45572 cat >>confdefs.h
<<\_ACEOF
45573 #define wxUSE_ANIMATIONCTRL 1
45577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45580 if test "$wxUSE_BUTTON" = "yes"; then
45581 cat >>confdefs.h
<<\_ACEOF
45582 #define wxUSE_BUTTON 1
45588 if test "$wxUSE_BMPBUTTON" = "yes"; then
45589 cat >>confdefs.h
<<\_ACEOF
45590 #define wxUSE_BMPBUTTON 1
45596 if test "$wxUSE_CALCTRL" = "yes"; then
45597 cat >>confdefs.h
<<\_ACEOF
45598 #define wxUSE_CALENDARCTRL 1
45602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45605 if test "$wxUSE_CARET" = "yes"; then
45606 cat >>confdefs.h
<<\_ACEOF
45607 #define wxUSE_CARET 1
45611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45614 if test "$wxUSE_COLLPANE" = "yes"; then
45615 cat >>confdefs.h
<<\_ACEOF
45616 #define wxUSE_COLLPANE 1
45620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45623 if test "$wxUSE_COMBOBOX" = "yes"; then
45624 cat >>confdefs.h
<<\_ACEOF
45625 #define wxUSE_COMBOBOX 1
45631 if test "$wxUSE_COMBOCTRL" = "yes"; then
45632 cat >>confdefs.h
<<\_ACEOF
45633 #define wxUSE_COMBOCTRL 1
45639 if test "$wxUSE_CHOICE" = "yes"; then
45640 cat >>confdefs.h
<<\_ACEOF
45641 #define wxUSE_CHOICE 1
45647 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45648 cat >>confdefs.h
<<\_ACEOF
45649 #define wxUSE_CHOICEBOOK 1
45655 if test "$wxUSE_CHECKBOX" = "yes"; then
45656 cat >>confdefs.h
<<\_ACEOF
45657 #define wxUSE_CHECKBOX 1
45663 if test "$wxUSE_CHECKLST" = "yes"; then
45664 cat >>confdefs.h
<<\_ACEOF
45665 #define wxUSE_CHECKLISTBOX 1
45671 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45672 cat >>confdefs.h
<<\_ACEOF
45673 #define wxUSE_COLOURPICKERCTRL 1
45679 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45680 cat >>confdefs.h
<<\_ACEOF
45681 #define wxUSE_DATEPICKCTRL 1
45687 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45688 cat >>confdefs.h
<<\_ACEOF
45689 #define wxUSE_DIRPICKERCTRL 1
45695 if test "$wxUSE_FILECTRL" = "yes"; then
45696 cat >>confdefs.h
<<\_ACEOF
45697 #define wxUSE_FILECTRL 1
45703 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_FILEPICKERCTRL 1
45711 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45712 cat >>confdefs.h
<<\_ACEOF
45713 #define wxUSE_FONTPICKERCTRL 1
45719 if test "$wxUSE_DISPLAY" = "yes"; then
45720 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45721 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45722 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_DISPLAY 1
45729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45733 if test "$wxUSE_DETECT_SM" = "yes"; then
45734 cat >>confdefs.h
<<\_ACEOF
45735 #define wxUSE_DETECT_SM 1
45740 if test "$wxUSE_GAUGE" = "yes"; then
45741 cat >>confdefs.h
<<\_ACEOF
45742 #define wxUSE_GAUGE 1
45748 if test "$wxUSE_GRID" = "yes"; then
45749 cat >>confdefs.h
<<\_ACEOF
45750 #define wxUSE_GRID 1
45754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45757 if test "$wxUSE_HEADERCTRL" = "yes"; then
45758 cat >>confdefs.h
<<\_ACEOF
45759 #define wxUSE_HEADERCTRL 1
45765 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45766 cat >>confdefs.h
<<\_ACEOF
45767 #define wxUSE_HYPERLINKCTRL 1
45773 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45774 cat >>confdefs.h
<<\_ACEOF
45775 #define wxUSE_BITMAPCOMBOBOX 1
45781 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45782 cat >>confdefs.h
<<\_ACEOF
45783 #define wxUSE_DATAVIEWCTRL 1
45787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45790 if test "$wxUSE_IMAGLIST" = "yes"; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_IMAGLIST 1
45797 if test "$wxUSE_LISTBOOK" = "yes"; then
45798 cat >>confdefs.h
<<\_ACEOF
45799 #define wxUSE_LISTBOOK 1
45805 if test "$wxUSE_LISTBOX" = "yes"; then
45806 cat >>confdefs.h
<<\_ACEOF
45807 #define wxUSE_LISTBOX 1
45813 if test "$wxUSE_LISTCTRL" = "yes"; then
45814 if test "$wxUSE_IMAGLIST" = "yes"; then
45815 cat >>confdefs.h
<<\_ACEOF
45816 #define wxUSE_LISTCTRL 1
45820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45822 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45823 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45827 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45828 cat >>confdefs.h
<<\_ACEOF
45829 #define wxUSE_EDITABLELISTBOX 1
45835 if test "$wxUSE_NOTEBOOK" = "yes"; then
45836 cat >>confdefs.h
<<\_ACEOF
45837 #define wxUSE_NOTEBOOK 1
45841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45844 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45845 cat >>confdefs.h
<<\_ACEOF
45846 #define wxUSE_NOTIFICATION_MESSAGE 1
45851 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45852 cat >>confdefs.h
<<\_ACEOF
45853 #define wxUSE_ODCOMBOBOX 1
45857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45860 if test "$wxUSE_RADIOBOX" = "yes"; then
45861 cat >>confdefs.h
<<\_ACEOF
45862 #define wxUSE_RADIOBOX 1
45868 if test "$wxUSE_RADIOBTN" = "yes"; then
45869 cat >>confdefs.h
<<\_ACEOF
45870 #define wxUSE_RADIOBTN 1
45876 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45877 cat >>confdefs.h
<<\_ACEOF
45878 #define wxUSE_REARRANGECTRL 1
45883 if test "$wxUSE_SASH" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_SASH 1
45888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45891 if test "$wxUSE_SCROLLBAR" = "yes"; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_SCROLLBAR 1
45897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45900 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45901 cat >>confdefs.h
<<\_ACEOF
45902 #define wxUSE_SEARCHCTRL 1
45908 if test "$wxUSE_SLIDER" = "yes"; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define wxUSE_SLIDER 1
45916 if test "$wxUSE_SPINBTN" = "yes"; then
45917 cat >>confdefs.h
<<\_ACEOF
45918 #define wxUSE_SPINBTN 1
45924 if test "$wxUSE_SPINCTRL" = "yes"; then
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_SPINCTRL 1
45932 if test "$wxUSE_SPLITTER" = "yes"; then
45933 cat >>confdefs.h
<<\_ACEOF
45934 #define wxUSE_SPLITTER 1
45937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45940 if test "$wxUSE_STATBMP" = "yes"; then
45941 cat >>confdefs.h
<<\_ACEOF
45942 #define wxUSE_STATBMP 1
45948 if test "$wxUSE_STATBOX" = "yes"; then
45949 cat >>confdefs.h
<<\_ACEOF
45950 #define wxUSE_STATBOX 1
45956 if test "$wxUSE_STATTEXT" = "yes"; then
45957 cat >>confdefs.h
<<\_ACEOF
45958 #define wxUSE_STATTEXT 1
45964 if test "$wxUSE_STATLINE" = "yes"; then
45965 cat >>confdefs.h
<<\_ACEOF
45966 #define wxUSE_STATLINE 1
45972 if test "$wxUSE_STATUSBAR" = "yes"; then
45973 cat >>confdefs.h
<<\_ACEOF
45974 #define wxUSE_NATIVE_STATUSBAR 1
45977 cat >>confdefs.h
<<\_ACEOF
45978 #define wxUSE_STATUSBAR 1
45983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45986 if test "$wxUSE_TEXTCTRL" = "yes"; then
45987 cat >>confdefs.h
<<\_ACEOF
45988 #define wxUSE_TEXTCTRL 1
45992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45994 cat >>confdefs.h
<<\_ACEOF
45995 #define wxUSE_RICHEDIT 1
45998 cat >>confdefs.h
<<\_ACEOF
45999 #define wxUSE_RICHEDIT2 1
46004 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46005 if test "$wxUSE_COCOA" = 1 ; then
46006 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46007 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46011 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46012 cat >>confdefs.h
<<\_ACEOF
46013 #define wxUSE_TOGGLEBTN 1
46020 if test "$wxUSE_TOOLBAR" = "yes"; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_TOOLBAR 1
46027 if test "$wxUSE_UNIVERSAL" = "yes"; then
46028 wxUSE_TOOLBAR_NATIVE
="no"
46030 wxUSE_TOOLBAR_NATIVE
="yes"
46031 cat >>confdefs.h
<<\_ACEOF
46032 #define wxUSE_TOOLBAR_NATIVE 1
46037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46040 if test "$wxUSE_TOOLTIPS" = "yes"; then
46041 if test "$wxUSE_MOTIF" = 1; then
46042 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46043 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46045 if test "$wxUSE_UNIVERSAL" = "yes"; then
46046 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46047 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_TOOLTIPS 1
46057 if test "$wxUSE_TREEBOOK" = "yes"; then
46058 cat >>confdefs.h
<<\_ACEOF
46059 #define wxUSE_TREEBOOK 1
46065 if test "$wxUSE_TOOLBOOK" = "yes"; then
46066 cat >>confdefs.h
<<\_ACEOF
46067 #define wxUSE_TOOLBOOK 1
46073 if test "$wxUSE_TREECTRL" = "yes"; then
46074 if test "$wxUSE_IMAGLIST" = "yes"; then
46075 cat >>confdefs.h
<<\_ACEOF
46076 #define wxUSE_TREECTRL 1
46080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46082 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46083 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46087 if test "$wxUSE_POPUPWIN" = "yes"; then
46088 if test "$wxUSE_COCOA" = 1 ; then
46089 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46090 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46092 if test "$wxUSE_PM" = 1; then
46093 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46094 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46096 cat >>confdefs.h
<<\_ACEOF
46097 #define wxUSE_POPUPWIN 1
46100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46107 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46108 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46109 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46110 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46112 cat >>confdefs.h
<<\_ACEOF
46113 #define wxUSE_DIALUP_MANAGER 1
46116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46120 if test "$wxUSE_TIPWINDOW" = "yes"; then
46121 if test "$wxUSE_PM" = 1; then
46122 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46123 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46125 cat >>confdefs.h
<<\_ACEOF
46126 #define wxUSE_TIPWINDOW 1
46132 if test "$USES_CONTROLS" = 1; then
46133 cat >>confdefs.h
<<\_ACEOF
46134 #define wxUSE_CONTROLS 1
46140 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46141 cat >>confdefs.h
<<\_ACEOF
46142 #define wxUSE_ACCESSIBILITY 1
46145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46148 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_DRAGIMAGE 1
46153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46156 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46157 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46158 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46159 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46161 cat >>confdefs.h
<<\_ACEOF
46162 #define wxUSE_EXCEPTIONS 1
46165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46170 if test "$wxUSE_HTML" = "yes"; then
46171 cat >>confdefs.h
<<\_ACEOF
46172 #define wxUSE_HTML 1
46176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46178 if test "$wxUSE_WEBKIT" = "yes"; then
46179 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46180 old_CPPFLAGS
="$CPPFLAGS"
46181 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46182 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46183 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46184 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46185 echo $ECHO_N "(cached) $ECHO_C" >&6
46187 cat >conftest.
$ac_ext <<_ACEOF
46190 cat confdefs.h
>>conftest.
$ac_ext
46191 cat >>conftest.
$ac_ext <<_ACEOF
46192 /* end confdefs.h. */
46194 #include <Carbon/Carbon.h>
46195 #include <WebKit/WebKit.h>
46198 #include <WebKit/HIWebView.h>
46200 rm -f conftest.
$ac_objext
46201 if { (ac_try
="$ac_compile"
46202 case "(($ac_try" in
46203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46204 *) ac_try_echo=$ac_try;;
46206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46207 (eval "$ac_compile") 2>conftest.er1
46209 grep -v '^ *+' conftest.er1 >conftest.err
46211 cat conftest.err >&5
46212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46213 (exit $ac_status); } && {
46214 test -z "$ac_c_werror_flag" ||
46215 test ! -s conftest.err
46216 } && test -s conftest.$ac_objext; then
46217 ac_cv_header_WebKit_HIWebView_h=yes
46219 echo "$as_me: failed program was:" >&5
46220 sed 's/^/| /' conftest.$ac_ext >&5
46222 ac_cv_header_WebKit_HIWebView_h=no
46225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46227 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46228 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46229 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_WEBKIT 1
46235 WEBKIT_LINK="-framework WebKit"
46239 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46240 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46246 CPPFLAGS="$old_CPPFLAGS"
46247 elif test "$wxUSE_COCOA" = 1; then
46248 cat >>confdefs.h <<\_ACEOF
46249 #define wxUSE_WEBKIT 1
46255 if test "$wxUSE_WEBKIT" = "yes"; then
46256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46261 if test "$wxUSE_XRC" = "yes"; then
46262 if test "$wxUSE_XML" != "yes"; then
46263 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46264 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_XRC 1
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46277 if test "$wxUSE_AUI" = "yes"; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_AUI 1
46283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46287 if test "$wxUSE_PROPGRID" = "yes"; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_PROPGRID 1
46293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46297 if test "$wxUSE_RIBBON" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_RIBBON 1
46303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46307 if test "$wxUSE_STC" = "yes"; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_STC 1
46313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46315 # Extract the first word of "python", so it can be a program name with args.
46316 set dummy python; ac_word=$2
46317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46319 if test "${ac_cv_path_PYTHON+set}" = set; then
46320 echo $ECHO_N "(cached) $ECHO_C" >&6
46324 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46328 for as_dir in $PATH
46331 test -z "$as_dir" && as_dir=.
46332 for ac_exec_ext in '' $ac_executable_extensions; do
46333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46334 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46345 PYTHON=$ac_cv_path_PYTHON
46346 if test -n "$PYTHON"; then
46347 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46348 echo "${ECHO_T}$PYTHON" >&6; }
46350 { echo "$as_me:$LINENO: result: no" >&5
46351 echo "${ECHO_T}no" >&6; }
46355 if test "x$PYTHON" = "x"; then
46361 if test "$wxUSE_MENUS" = "yes"; then
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_MENUS 1
46366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46369 if test "$wxUSE_METAFILE" = "yes"; then
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_METAFILE 1
46376 if test "$wxUSE_MIMETYPE" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_MIMETYPE 1
46383 if test "$wxUSE_MINIFRAME" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_MINIFRAME 1
46390 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_SYSTEM_OPTIONS 1
46397 if test "$wxUSE_TASKBARICON" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_TASKBARICON 1
46402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46406 if test "$wxUSE_VALIDATORS" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_VALIDATORS 1
46411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46414 if test "$wxUSE_PALETTE" = "yes" ; then
46415 if test "$wxUSE_DFB" = 1; then
46416 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46417 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_PALETTE 1
46427 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46428 LIBS=" -lunicows $LIBS"
46432 if test "$wxUSE_RICHTEXT" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_RICHTEXT 1
46438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46442 if test "$wxUSE_IMAGE" = "yes" ; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_IMAGE 1
46448 if test "$wxUSE_GIF" = "yes" ; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_GIF 1
46455 if test "$wxUSE_PCX" = "yes" ; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_PCX 1
46462 if test "$wxUSE_TGA" = "yes" ; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_TGA 1
46469 if test "$wxUSE_IFF" = "yes" ; then
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_IFF 1
46476 if test "$wxUSE_PNM" = "yes" ; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_PNM 1
46483 if test "$wxUSE_XPM" = "yes" ; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_XPM 1
46490 if test "$wxUSE_ICO_CUR" = "yes" ; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_ICO_CUR 1
46499 if test "$wxUSE_ABOUTDLG" = "yes"; then
46500 cat >>confdefs.h <<\_ACEOF
46501 #define wxUSE_ABOUTDLG 1
46506 if test "$wxUSE_CHOICEDLG" = "yes"; then
46507 cat >>confdefs.h <<\_ACEOF
46508 #define wxUSE_CHOICEDLG 1
46513 if test "$wxUSE_COLOURDLG" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_COLOURDLG 1
46520 if test "$wxUSE_FILEDLG" = "yes"; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_FILEDLG 1
46527 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_FINDREPLDLG 1
46534 if test "$wxUSE_FONTDLG" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_FONTDLG 1
46541 if test "$wxUSE_DIRDLG" = "yes"; then
46542 if test "$wxUSE_TREECTRL" != "yes"; then
46543 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46544 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46546 cat >>confdefs.h <<\_ACEOF
46547 #define wxUSE_DIRDLG 1
46553 if test "$wxUSE_MSGDLG" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_MSGDLG 1
46560 if test "$wxUSE_NUMBERDLG" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_NUMBERDLG 1
46567 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_PROGRESSDLG 1
46574 if test "$wxUSE_SPLASH" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_SPLASH 1
46579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46582 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_STARTUP_TIPS 1
46589 if test "$wxUSE_TEXTDLG" = "yes"; then
46590 cat >>confdefs.h <<\_ACEOF
46591 #define wxUSE_TEXTDLG 1
46596 if test "$wxUSE_WIZARDDLG" = "yes"; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_WIZARDDLG 1
46601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46605 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46606 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_OWNER_DRAWN 1
46615 if test "$wxUSE_MSW" = 1 ; then
46617 if test "$wxUSE_DC_CACHEING" = "yes"; then
46618 cat >>confdefs.h <<\_ACEOF
46619 #define wxUSE_DC_CACHEING 1
46624 if test "$wxUSE_DIB" = "yes"; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_WXDIB 1
46631 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46632 cat >>confdefs.h <<\_ACEOF
46633 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46638 if test "$wxUSE_UXTHEME" = "yes"; then
46639 cat >>confdefs.h <<\_ACEOF
46640 #define wxUSE_UXTHEME 1
46647 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_AUTOID_MANAGEMENT 1
46654 if test "$USE_WIN32" = 1 ; then
46655 if test "$wxUSE_INICONF" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_INICONF 1
46662 if test "$wxUSE_REGKEY" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_REGKEY 1
46671 if test "$wxUSE_MAC" = 1; then
46672 wxUSE_GRAPHICS_CONTEXT="yes"
46675 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46676 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46677 cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_GRAPHICS_CONTEXT 1
46681 elif test "$wxUSE_GTK" != 1; then
46682 cat >>confdefs.h <<\_ACEOF
46683 #define wxUSE_GRAPHICS_CONTEXT 1
46689 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46690 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46692 if test -n "$PKG_CONFIG"; then
46693 if test -n "$CAIRO_CFLAGS"; then
46694 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46696 if test -n "$PKG_CONFIG" && \
46697 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46698 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46701 (exit $ac_status); }; then
46702 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46710 if test -n "$PKG_CONFIG"; then
46711 if test -n "$CAIRO_LIBS"; then
46712 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46714 if test -n "$PKG_CONFIG" && \
46715 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46716 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46719 (exit $ac_status); }; then
46720 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46731 if test $pkg_failed = yes; then
46733 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46734 _pkg_short_errors_supported=yes
46736 _pkg_short_errors_supported=no
46738 if test $_pkg_short_errors_supported = yes; then
46739 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46741 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46743 # Put the nasty error message in config.log where it belongs
46744 echo "$CAIRO_PKG_ERRORS" >&5
46746 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46747 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46749 elif test $pkg_failed = untried; then
46750 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46751 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46754 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46755 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46756 { echo "$as_me:$LINENO: result: yes" >&5
46757 echo "${ECHO_T}yes" >&6; }
46758 cat >>confdefs.h <<\_ACEOF
46759 #define wxUSE_GRAPHICS_CONTEXT 1
46769 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46772 if test "$wxUSE_GTK" = 1; then
46773 wxUSE_GSTREAMER="no"
46775 GST_VERSION_MAJOR=0
46776 GST_VERSION_MINOR=10
46777 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46779 if test "$wxUSE_GSTREAMER8" = "no"; then
46782 { echo "$as_me:$LINENO: checking for GST" >&5
46783 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46785 if test -n "$PKG_CONFIG"; then
46786 if test -n "$GST_CFLAGS"; then
46787 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46789 if test -n "$PKG_CONFIG" && \
46790 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46791 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); }; then
46795 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46803 if test -n "$PKG_CONFIG"; then
46804 if test -n "$GST_LIBS"; then
46805 pkg_cv_GST_LIBS="$GST_LIBS"
46807 if test -n "$PKG_CONFIG" && \
46808 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46809 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); }; then
46813 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46824 if test $pkg_failed = yes; then
46826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46827 _pkg_short_errors_supported=yes
46829 _pkg_short_errors_supported=no
46831 if test $_pkg_short_errors_supported = yes; then
46832 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46834 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46836 # Put the nasty error message in config.log where it belongs
46837 echo "$GST_PKG_ERRORS" >&5
46840 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46841 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46842 GST_VERSION_MINOR=8
46845 elif test $pkg_failed = untried; then
46847 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46848 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46849 GST_VERSION_MINOR=8
46853 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46854 GST_LIBS=$pkg_cv_GST_LIBS
46855 { echo "$as_me:$LINENO: result: yes" >&5
46856 echo "${ECHO_T}yes" >&6; }
46858 wxUSE_GSTREAMER="yes"
46859 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46863 GST_VERSION_MINOR=8
46866 if test $GST_VERSION_MINOR = "8"; then
46867 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46870 { echo "$as_me:$LINENO: checking for GST" >&5
46871 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46873 if test -n "$PKG_CONFIG"; then
46874 if test -n "$GST_CFLAGS"; then
46875 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46877 if test -n "$PKG_CONFIG" && \
46878 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46879 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46882 (exit $ac_status); }; then
46883 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46891 if test -n "$PKG_CONFIG"; then
46892 if test -n "$GST_LIBS"; then
46893 pkg_cv_GST_LIBS="$GST_LIBS"
46895 if test -n "$PKG_CONFIG" && \
46896 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46897 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46900 (exit $ac_status); }; then
46901 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46912 if test $pkg_failed = yes; then
46914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46915 _pkg_short_errors_supported=yes
46917 _pkg_short_errors_supported=no
46919 if test $_pkg_short_errors_supported = yes; then
46920 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46922 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46924 # Put the nasty error message in config.log where it belongs
46925 echo "$GST_PKG_ERRORS" >&5
46928 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46929 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46931 elif test $pkg_failed = untried; then
46933 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46934 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46937 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46938 GST_LIBS=$pkg_cv_GST_LIBS
46939 { echo "$as_me:$LINENO: result: yes" >&5
46940 echo "${ECHO_T}yes" >&6; }
46941 wxUSE_GSTREAMER="yes"
46946 if test "$wxUSE_GSTREAMER" = "yes"; then
46947 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46948 EXTRALIBS_MEDIA="$GST_LIBS"
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_GSTREAMER 1
46959 if test $USE_MEDIA = 1; then
46960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_MEDIACTRL 1
46966 if test "$wxUSE_MEDIACTRL" = "yes"; then
46967 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46968 echo "$as_me: error: GStreamer not available" >&2;}
46969 { (exit 1); exit 1; }; }
46971 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46972 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46978 if test "$cross_compiling" != "no"; then
46981 OSINFO=`uname
-s -r -m`
46982 OSINFO="\"$OSINFO\""
46985 cat >>confdefs.h <<_ACEOF
46986 #define WXWIN_OS_DESCRIPTION $OSINFO
46991 if test "x$prefix" != "xNONE"; then
46994 wxPREFIX=$ac_default_prefix
46997 cat >>confdefs.h <<_ACEOF
46998 #define wxINSTALL_PREFIX "$wxPREFIX"
47004 STD_BASE_LIBS="base"
47006 BUILT_WX_LIBS="base"
47007 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47009 if test "$wxUSE_SOCKETS" = "yes" ; then
47010 STD_BASE_LIBS="net $STD_BASE_LIBS"
47011 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47013 if test "$wxUSE_XML" = "yes" ; then
47014 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47015 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47018 if test "$wxUSE_GUI" = "yes"; then
47019 STD_GUI_LIBS="adv core"
47020 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47022 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47023 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47024 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47026 if test "$wxUSE_HTML" = "yes" ; then
47027 STD_GUI_LIBS="html $STD_GUI_LIBS"
47028 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47030 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47031 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47033 if test "$wxUSE_OPENGL" = "yes" ; then
47034 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47036 if test "$wxUSE_AUI" = "yes" ; then
47037 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47039 if test "$wxUSE_PROPGRID" = "yes" ; then
47040 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47042 if test "$wxUSE_RIBBON" = "yes" ; then
47043 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47045 if test "$wxUSE_RICHTEXT" = "yes" ; then
47046 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47048 if test "$wxUSE_STC" = "yes" ; then
47049 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47051 if test "$wxUSE_XRC" = "yes" ; then
47052 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47053 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47064 if test "$wxUSE_MAC" = 1 ; then
47065 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47066 if test "$USE_DARWIN" = 1; then
47067 LDFLAGS="$LDFLAGS -framework QuickTime"
47070 if test "$USE_DARWIN" = 1; then
47071 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47074 if test "$wxUSE_COCOA" = 1 ; then
47075 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47076 if test "$wxUSE_MEDIACTRL" = "yes"; then
47077 LDFLAGS="$LDFLAGS -framework QuickTime"
47080 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47081 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47084 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47086 if test "$wxUSE_GUI" = "yes"; then
47089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47090 erase event exec font image minimal render \
47091 shaped svg taborder vscroll widgets wrapsizer"
47093 if test "$wxUSE_MONOLITHIC" != "yes"; then
47094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47096 if test "$TOOLKIT" = "MSW"; then
47097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47098 if test "$wxUSE_UNIVERSAL" != "yes"; then
47099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47102 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47106 SAMPLES_SUBDIRS="console"
47107 if test "$wxUSE_SOCKETS" = "yes" ; then
47108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47110 if test "$wxUSE_IPC" = "yes" ; then
47111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47116 if test "x$INTELCC" = "xyes" ; then
47117 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47118 elif test "$GCC" = yes ; then
47119 CWARNINGS="-Wall -Wundef"
47122 if test "x$INTELCXX" = "xyes" ; then
47123 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47124 elif test "$GXX" = yes ; then
47125 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47126 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47127 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47128 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47129 echo $ECHO_N "(cached) $ECHO_C" >&6
47131 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47134 ac_cpp='$CXXCPP $CPPFLAGS'
47135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47139 ac_save_CXXFLAGS="$CXXFLAGS"
47140 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47141 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47142 cat >conftest.$ac_ext <<_ACEOF
47145 cat confdefs.h >>conftest.$ac_ext
47146 cat >>conftest.$ac_ext <<_ACEOF
47147 /* end confdefs.h. */
47157 rm -f conftest.$ac_objext
47158 if { (ac_try="$ac_compile"
47159 case "(($ac_try" in
47160 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47161 *) ac_try_echo
=$ac_try;;
47163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47164 (eval "$ac_compile") 2>conftest.er1
47166 grep -v '^ *+' conftest.er1
>conftest.err
47168 cat conftest.err
>&5
47169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47170 (exit $ac_status); } && {
47171 test -z "$ac_cxx_werror_flag" ||
47172 test ! -s conftest.err
47173 } && test -s conftest.
$ac_objext; then
47174 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47176 echo "$as_me: failed program was:" >&5
47177 sed 's/^/| /' conftest.
$ac_ext >&5
47182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47184 CXXFLAGS
="$ac_save_CXXFLAGS"
47186 ac_cpp
='$CPP $CPPFLAGS'
47187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47193 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47194 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47195 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47199 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47200 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47201 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); }
47205 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47206 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47209 (exit $ac_status); }
47210 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47216 if test "$wxUSE_MAC" = 1 ; then
47217 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
47222 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47223 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47226 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47227 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47228 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47231 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47232 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47233 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47234 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47235 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47237 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47240 if test "x$MWCC" = "xyes"; then
47242 CC
="$CC -cwd source -I-"
47243 CXX
="$CXX -cwd source -I-"
47248 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47249 EXTRALIBS_XML
="$EXPAT_LINK"
47250 EXTRALIBS_HTML
="$MSPACK_LINK"
47251 EXTRALIBS_MEDIA
="$GST_LIBS"
47252 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47253 if test "$wxUSE_GUI" = "yes"; then
47254 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47256 if test "$wxUSE_OPENGL" = "yes"; then
47257 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47260 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47262 WXCONFIG_LIBS
="$LIBS"
47264 if test "$wxUSE_REGEX" = "builtin" ; then
47265 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47267 if test "$wxUSE_EXPAT" = "builtin" ; then
47268 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47270 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47271 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47273 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47274 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47276 if test "$wxUSE_LIBPNG" = "builtin" ; then
47277 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47279 if test "$wxUSE_ZLIB" = "builtin" ; then
47280 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47283 for i
in $wxconfig_3rdparty ; do
47284 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47288 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47291 case "$wxUNIV_THEMES" in
47293 cat >>confdefs.h
<<\_ACEOF
47294 #define wxUSE_ALL_THEMES 1
47300 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47301 cat >>confdefs.h
<<_ACEOF
47302 #define wxUSE_THEME_$t 1
47318 if test $wxUSE_MONOLITHIC = "yes" ; then
47324 if test $wxUSE_PLUGINS = "yes" ; then
47330 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47336 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47368 TOOLKIT_LOWERCASE
=xxx
47369 if test "$TOOLKIT" = "MAC"; then
47370 TOOLKIT_LOWERCASE
=osx_carbon
47372 if test "$TOOLKIT" = "OSX_CARBON"; then
47373 TOOLKIT_LOWERCASE
=osx_carbon
47375 if test "$TOOLKIT" = "OSX_COCOA"; then
47376 TOOLKIT_LOWERCASE
=osx_cocoa
47378 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47379 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47393 TOOLKIT_DESC
="GTK+"
47394 if test "$WXGTK2" = 1; then
47395 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47396 if test "$wxUSE_GTKPRINT" = "yes" ; then
47397 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47399 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47400 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47402 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47403 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47405 if test "$wxUSE_LIBHILDON" = "yes"; then
47406 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47409 if test "$TOOLKIT_EXTRA" != ""; then
47410 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47416 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47420 TOOLKIT_DESC
="base only"
47424 if test "$wxUSE_WINE" = "yes"; then
47425 BAKEFILE_FORCE_PLATFORM
=win32
47428 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47430 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47431 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47432 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47433 echo $ECHO_N "(cached) $ECHO_C" >&6
47436 echo '#include <stdio.h>
47437 const wchar_t test_var[] = L"awidetest";' > conftest.h
47439 echo '#include "conftest.h"
47442 printf("%ls", test_var);
47446 wx_cv_gcc_pch_bug
="pch not supported"
47448 if $CXX conftest.h
>/dev
/null
2>&1
47452 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47454 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47455 grep awidetest
>/dev
/null
47457 wx_cv_gcc_pch_bug
=no
47459 wx_cv_gcc_pch_bug
=yes
47464 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47467 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47468 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47470 if test "$wx_cv_gcc_pch_bug" = yes; then
47481 if test "x$BAKEFILE_HOST" = "x"; then
47482 if test "x${host}" = "x" ; then
47483 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47484 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47485 { (exit 1); exit 1; }; }
47488 BAKEFILE_HOST
="${host}"
47491 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47493 if test -n "$ac_tool_prefix"; then
47494 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47495 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47498 if test "${ac_cv_prog_RANLIB+set}" = set; then
47499 echo $ECHO_N "(cached) $ECHO_C" >&6
47501 if test -n "$RANLIB"; then
47502 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47505 for as_dir
in $PATH
47508 test -z "$as_dir" && as_dir
=.
47509 for ac_exec_ext
in '' $ac_executable_extensions; do
47510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47511 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47521 RANLIB
=$ac_cv_prog_RANLIB
47522 if test -n "$RANLIB"; then
47523 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47524 echo "${ECHO_T}$RANLIB" >&6; }
47526 { echo "$as_me:$LINENO: result: no" >&5
47527 echo "${ECHO_T}no" >&6; }
47532 if test -z "$ac_cv_prog_RANLIB"; then
47533 ac_ct_RANLIB
=$RANLIB
47534 # Extract the first word of "ranlib", so it can be a program name with args.
47535 set dummy ranlib
; ac_word
=$2
47536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47538 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47541 if test -n "$ac_ct_RANLIB"; then
47542 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47545 for as_dir
in $PATH
47548 test -z "$as_dir" && as_dir
=.
47549 for ac_exec_ext
in '' $ac_executable_extensions; do
47550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47551 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47561 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47562 if test -n "$ac_ct_RANLIB"; then
47563 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47564 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47566 { echo "$as_me:$LINENO: result: no" >&5
47567 echo "${ECHO_T}no" >&6; }
47570 if test "x$ac_ct_RANLIB" = x
; then
47573 case $cross_compiling:$ac_tool_warned in
47575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47576 whose name does not start with the host triplet. If you think this
47577 configuration is useful to you, please write to autoconf@gnu.org." >&5
47578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47579 whose name does not start with the host triplet. If you think this
47580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47581 ac_tool_warned
=yes ;;
47583 RANLIB
=$ac_ct_RANLIB
47586 RANLIB
="$ac_cv_prog_RANLIB"
47589 # Find a good install program. We prefer a C program (faster),
47590 # so one script is as good as another. But avoid the broken or
47591 # incompatible versions:
47592 # SysV /etc/install, /usr/sbin/install
47593 # SunOS /usr/etc/install
47594 # IRIX /sbin/install
47596 # AmigaOS /C/install, which installs bootblocks on floppy discs
47597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47600 # OS/2's system install, which has a completely different semantic
47601 # ./install, which can be erroneously created by make from ./install.sh.
47602 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47603 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47604 if test -z "$INSTALL"; then
47605 if test "${ac_cv_path_install+set}" = set; then
47606 echo $ECHO_N "(cached) $ECHO_C" >&6
47608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47609 for as_dir
in $PATH
47612 test -z "$as_dir" && as_dir
=.
47613 # Account for people who put trailing slashes in PATH elements.
47615 .
/ | .
// | /cC
/* | \
47616 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47617 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47620 # OSF1 and SCO ODT 3.0 have their own names for install.
47621 # Don't use installbsd from OSF since it installs stuff as root
47623 for ac_prog
in ginstall scoinst
install; do
47624 for ac_exec_ext
in '' $ac_executable_extensions; do
47625 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47626 if test $ac_prog = install &&
47627 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47628 # AIX install. It has an incompatible calling convention.
47630 elif test $ac_prog = install &&
47631 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47632 # program-specific install script used by HP pwplus--don't use.
47635 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47648 if test "${ac_cv_path_install+set}" = set; then
47649 INSTALL
=$ac_cv_path_install
47651 # As a last resort, use the slow shell script. Don't cache a
47652 # value for INSTALL within a source directory, because that will
47653 # break other packages using the cache if that directory is
47654 # removed, or if the value is a relative name.
47655 INSTALL
=$ac_install_sh
47658 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47659 echo "${ECHO_T}$INSTALL" >&6; }
47661 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47662 # It thinks the first close brace ends the variable substitution.
47663 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47665 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47667 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47669 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47670 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47672 if test "$LN_S" = "ln -s"; then
47673 { echo "$as_me:$LINENO: result: yes" >&5
47674 echo "${ECHO_T}yes" >&6; }
47676 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47677 echo "${ECHO_T}no, using $LN_S" >&6; }
47681 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47682 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47683 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47684 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47685 echo $ECHO_N "(cached) $ECHO_C" >&6
47687 cat >conftest.
make <<\_ACEOF
47690 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47694 *@@@
%%%=?
*=@@@
%%%*)
47695 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47697 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47699 rm -f conftest.
make
47701 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47702 { echo "$as_me:$LINENO: result: yes" >&5
47703 echo "${ECHO_T}yes" >&6; }
47706 { echo "$as_me:$LINENO: result: no" >&5
47707 echo "${ECHO_T}no" >&6; }
47708 SET_MAKE
="MAKE=${MAKE-make}"
47713 if test "x$SUNCXX" = "xyes"; then
47715 AROPTIONS
="-xar -o"
47717 elif test "x$SGICC" = "xyes"; then
47722 if test -n "$ac_tool_prefix"; then
47723 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47724 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47727 if test "${ac_cv_prog_AR+set}" = set; then
47728 echo $ECHO_N "(cached) $ECHO_C" >&6
47730 if test -n "$AR"; then
47731 ac_cv_prog_AR
="$AR" # Let the user override the test.
47733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47734 for as_dir
in $PATH
47737 test -z "$as_dir" && as_dir
=.
47738 for ac_exec_ext
in '' $ac_executable_extensions; do
47739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47740 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47751 if test -n "$AR"; then
47752 { echo "$as_me:$LINENO: result: $AR" >&5
47753 echo "${ECHO_T}$AR" >&6; }
47755 { echo "$as_me:$LINENO: result: no" >&5
47756 echo "${ECHO_T}no" >&6; }
47761 if test -z "$ac_cv_prog_AR"; then
47763 # Extract the first word of "ar", so it can be a program name with args.
47764 set dummy
ar; ac_word
=$2
47765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47768 echo $ECHO_N "(cached) $ECHO_C" >&6
47770 if test -n "$ac_ct_AR"; then
47771 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47774 for as_dir
in $PATH
47777 test -z "$as_dir" && as_dir
=.
47778 for ac_exec_ext
in '' $ac_executable_extensions; do
47779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47780 ac_cv_prog_ac_ct_AR
="ar"
47781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47790 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47791 if test -n "$ac_ct_AR"; then
47792 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47793 echo "${ECHO_T}$ac_ct_AR" >&6; }
47795 { echo "$as_me:$LINENO: result: no" >&5
47796 echo "${ECHO_T}no" >&6; }
47799 if test "x$ac_ct_AR" = x
; then
47802 case $cross_compiling:$ac_tool_warned in
47804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47805 whose name does not start with the host triplet. If you think this
47806 configuration is useful to you, please write to autoconf@gnu.org." >&5
47807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47808 whose name does not start with the host triplet. If you think this
47809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47810 ac_tool_warned
=yes ;;
47815 AR
="$ac_cv_prog_AR"
47822 if test -n "$ac_tool_prefix"; then
47823 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47824 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47827 if test "${ac_cv_prog_STRIP+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47830 if test -n "$STRIP"; then
47831 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47834 for as_dir
in $PATH
47837 test -z "$as_dir" && as_dir
=.
47838 for ac_exec_ext
in '' $ac_executable_extensions; do
47839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47840 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47850 STRIP
=$ac_cv_prog_STRIP
47851 if test -n "$STRIP"; then
47852 { echo "$as_me:$LINENO: result: $STRIP" >&5
47853 echo "${ECHO_T}$STRIP" >&6; }
47855 { echo "$as_me:$LINENO: result: no" >&5
47856 echo "${ECHO_T}no" >&6; }
47861 if test -z "$ac_cv_prog_STRIP"; then
47863 # Extract the first word of "strip", so it can be a program name with args.
47864 set dummy strip
; ac_word
=$2
47865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47867 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47868 echo $ECHO_N "(cached) $ECHO_C" >&6
47870 if test -n "$ac_ct_STRIP"; then
47871 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47874 for as_dir
in $PATH
47877 test -z "$as_dir" && as_dir
=.
47878 for ac_exec_ext
in '' $ac_executable_extensions; do
47879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47880 ac_cv_prog_ac_ct_STRIP
="strip"
47881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47890 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47891 if test -n "$ac_ct_STRIP"; then
47892 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47893 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47895 { echo "$as_me:$LINENO: result: no" >&5
47896 echo "${ECHO_T}no" >&6; }
47899 if test "x$ac_ct_STRIP" = x
; then
47902 case $cross_compiling:$ac_tool_warned in
47904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47905 whose name does not start with the host triplet. If you think this
47906 configuration is useful to you, please write to autoconf@gnu.org." >&5
47907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47908 whose name does not start with the host triplet. If you think this
47909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47910 ac_tool_warned
=yes ;;
47915 STRIP
="$ac_cv_prog_STRIP"
47918 if test -n "$ac_tool_prefix"; then
47919 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47920 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47923 if test "${ac_cv_prog_NM+set}" = set; then
47924 echo $ECHO_N "(cached) $ECHO_C" >&6
47926 if test -n "$NM"; then
47927 ac_cv_prog_NM
="$NM" # Let the user override the test.
47929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47930 for as_dir
in $PATH
47933 test -z "$as_dir" && as_dir
=.
47934 for ac_exec_ext
in '' $ac_executable_extensions; do
47935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47936 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47947 if test -n "$NM"; then
47948 { echo "$as_me:$LINENO: result: $NM" >&5
47949 echo "${ECHO_T}$NM" >&6; }
47951 { echo "$as_me:$LINENO: result: no" >&5
47952 echo "${ECHO_T}no" >&6; }
47957 if test -z "$ac_cv_prog_NM"; then
47959 # Extract the first word of "nm", so it can be a program name with args.
47960 set dummy nm
; ac_word
=$2
47961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47963 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47964 echo $ECHO_N "(cached) $ECHO_C" >&6
47966 if test -n "$ac_ct_NM"; then
47967 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47970 for as_dir
in $PATH
47973 test -z "$as_dir" && as_dir
=.
47974 for ac_exec_ext
in '' $ac_executable_extensions; do
47975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47976 ac_cv_prog_ac_ct_NM
="nm"
47977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47986 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47987 if test -n "$ac_ct_NM"; then
47988 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47989 echo "${ECHO_T}$ac_ct_NM" >&6; }
47991 { echo "$as_me:$LINENO: result: no" >&5
47992 echo "${ECHO_T}no" >&6; }
47995 if test "x$ac_ct_NM" = x
; then
47998 case $cross_compiling:$ac_tool_warned in
48000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48001 whose name does not start with the host triplet. If you think this
48002 configuration is useful to you, please write to autoconf@gnu.org." >&5
48003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48004 whose name does not start with the host triplet. If you think this
48005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48006 ac_tool_warned
=yes ;;
48011 NM
="$ac_cv_prog_NM"
48015 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48016 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48017 INSTALL_TEST_DIR
=acbftest$$
48018 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48019 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48020 rmdir $INSTALL_TEST_DIR
48021 INSTALL_DIR
='$(INSTALL) -d'
48022 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48023 echo "${ECHO_T}$INSTALL -d" >&6; }
48025 INSTALL_DIR
="mkdir -p"
48026 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48027 echo "${ECHO_T}mkdir -p" >&6; }
48032 case ${BAKEFILE_HOST} in
48033 *-*-cygwin* | *-*-mingw32* )
48034 LDFLAGS_GUI
="-mwindows"
48040 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48041 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48042 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48043 echo $ECHO_N "(cached) $ECHO_C" >&6
48046 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48047 egrep -s GNU
> /dev
/null
); then
48048 bakefile_cv_prog_makeisgnu
="yes"
48050 bakefile_cv_prog_makeisgnu
="no"
48054 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48055 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48057 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48074 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48075 case "${BAKEFILE_HOST}" in
48082 *-pc-os2_emx | *-pc-os2-emx )
48092 powerpc
-apple-macos* )
48101 case "$BAKEFILE_FORCE_PLATFORM" in
48136 # Check whether --enable-omf was given.
48137 if test "${enable_omf+set}" = set; then
48138 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48142 case "${BAKEFILE_HOST}" in
48144 if test "x$GCC" = "xyes"; then
48145 CFLAGS
="$CFLAGS -fno-common"
48146 CXXFLAGS
="$CXXFLAGS -fno-common"
48148 if test "x$XLCC" = "xyes"; then
48149 CFLAGS
="$CFLAGS -qnocommon"
48150 CXXFLAGS
="$CXXFLAGS -qnocommon"
48154 *-pc-os2_emx | *-pc-os2-emx )
48155 if test "x$bk_os2_use_omf" = "xyes" ; then
48158 LDFLAGS
="-Zomf $LDFLAGS"
48159 CFLAGS
="-Zomf $CFLAGS"
48160 CXXFLAGS
="-Zomf $CXXFLAGS"
48168 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48174 SO_SUFFIX_MODULE
="so"
48179 DLLPREFIX_MODULE
=""
48183 case "${BAKEFILE_HOST}" in
48188 SO_SUFFIX_MODULE
="sl"
48192 SO_SUFFIX_MODULE
="a"
48196 SO_SUFFIX_MODULE
="dll"
48197 DLLIMP_SUFFIX
="dll.a"
48204 SO_SUFFIX_MODULE
="dll"
48205 DLLIMP_SUFFIX
="dll.a"
48215 *-pc-os2_emx | *-pc-os2-emx )
48217 SO_SUFFIX_MODULE
="dll"
48218 DLLIMP_SUFFIX
=$OS2_LIBEXT
48222 LIBEXT
=".$OS2_LIBEXT"
48227 SO_SUFFIX_MODULE
="bundle"
48231 if test "x$DLLIMP_SUFFIX" = "x" ; then
48232 DLLIMP_SUFFIX
="$SO_SUFFIX"
48247 if test "x$GCC" = "xyes"; then
48251 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48252 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48255 case "${BAKEFILE_HOST}" in
48257 if test "x$GCC" != "xyes"; then
48258 LDFLAGS
="$LDFLAGS -L/usr/lib"
48260 SHARED_LD_CC
="${CC} -b -o"
48261 SHARED_LD_CXX
="${CXX} -b -o"
48267 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48269 elif test "x$SUNCXX" = "xyes"; then
48270 SHARED_LD_CC
="${CC} -G -o"
48271 SHARED_LD_CXX
="${CXX} -G -o"
48277 if test "x$SUNCXX" = xyes
; then
48278 SHARED_LD_CC
="${CC} -G -o"
48279 SHARED_LD_CXX
="${CXX} -G -o"
48287 cat <<EOF >shared-ld-sh
48289 #-----------------------------------------------------------------------------
48290 #-- Name: distrib/mac/shared-ld-sh
48291 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48292 #-- Author: Gilles Depeyrot
48293 #-- Copyright: (c) 2002 Gilles Depeyrot
48294 #-- Licence: any use permitted
48295 #-----------------------------------------------------------------------------
48300 linking_flag="-dynamiclib"
48301 ldargs="-r -keep_private_externs -nostdlib"
48303 if test "x${D}CXX" = "x"; then
48307 while test ${D}# -gt 0; do
48314 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48315 # collect these options and values
48316 args="${D}{args} ${D}1 ${D}2"
48321 # collect these options and values
48322 ldargs="${D}{ldargs} ${D}1 ${D}2"
48327 # collect these load args
48328 ldargs="${D}{ldargs} ${D}1"
48331 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48332 # collect these options
48333 args="${D}{args} ${D}1"
48336 -dynamiclib|-bundle)
48337 linking_flag="${D}1"
48341 echo "shared-ld: unhandled option '${D}1'"
48345 *.o | *.a | *.dylib)
48346 # collect object files
48347 objects="${D}{objects} ${D}1"
48351 echo "shared-ld: unhandled argument '${D}1'"
48362 # Link one module containing all the others
48364 if test ${D}{verbose} = 1; then
48365 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48367 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48371 # Link the shared library from the single module created, but only if the
48372 # previous command didn't fail:
48374 if test ${D}{status} = 0; then
48375 if test ${D}{verbose} = 1; then
48376 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48378 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48383 # Remove intermediate module
48385 rm -f master.${D}${D}.o
48390 chmod +x shared
-ld-sh
48392 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48393 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48396 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48397 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48398 if test "${bakefile_cv_gcc31+set}" = set; then
48399 echo $ECHO_N "(cached) $ECHO_C" >&6
48402 cat >conftest.
$ac_ext <<_ACEOF
48405 cat confdefs.h
>>conftest.
$ac_ext
48406 cat >>conftest.
$ac_ext <<_ACEOF
48407 /* end confdefs.h. */
48413 #if (__GNUC__ < 3) || \
48414 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48422 rm -f conftest.
$ac_objext
48423 if { (ac_try
="$ac_compile"
48424 case "(($ac_try" in
48425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48426 *) ac_try_echo=$ac_try;;
48428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48429 (eval "$ac_compile") 2>conftest.er1
48431 grep -v '^ *+' conftest.er1 >conftest.err
48433 cat conftest.err >&5
48434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435 (exit $ac_status); } && {
48436 test -z "$ac_c_werror_flag" ||
48437 test ! -s conftest.err
48438 } && test -s conftest.$ac_objext; then
48440 bakefile_cv_gcc31=yes
48443 echo "$as_me: failed program was:" >&5
48444 sed 's/^/| /' conftest.$ac_ext >&5
48447 bakefile_cv_gcc31=no
48452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48455 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48456 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48457 if test "$bakefile_cv_gcc31" = "no"; then
48458 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48459 SHARED_LD_CXX="$SHARED_LD_CC"
48461 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48462 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48465 if test "x$GCC" == "xyes"; then
48466 PIC_FLAG="-dynamic -fPIC"
48468 if test "x$XLCC" = "xyes"; then
48469 PIC_FLAG="-dynamic -DPIC"
48474 if test "x$GCC" = "xyes"; then
48477 case "${BAKEFILE_HOST}" in
48479 LD_EXPFULL="-Wl,-bexpfull"
48483 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48484 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48486 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48487 set dummy makeC++SharedLib; ac_word=$2
48488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48490 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48491 echo $ECHO_N "(cached) $ECHO_C" >&6
48493 if test -n "$AIX_CXX_LD"; then
48494 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48497 for as_dir in $PATH
48500 test -z "$as_dir" && as_dir=.
48501 for ac_exec_ext in '' $ac_executable_extensions; do
48502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48503 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48511 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48514 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48515 if test -n "$AIX_CXX_LD"; then
48516 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48517 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48519 { echo "$as_me:$LINENO: result: no" >&5
48520 echo "${ECHO_T}no" >&6; }
48524 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48525 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48530 SHARED_LD_CC="${LD} -nostart -o"
48531 SHARED_LD_CXX="${LD} -nostart -o"
48535 if test "x$GCC" != "xyes"; then
48540 *-*-cygwin* | *-*-mingw32* )
48542 SHARED_LD_CC="\$(CC) -shared -o"
48543 SHARED_LD_CXX="\$(CXX) -shared -o"
48547 *-pc-os2_emx | *-pc-os2-emx )
48548 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48549 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48553 cat <<EOF >dllar.sh
48556 # dllar - a tool to build both a .dll and an .a file
48557 # from a set of object (.o) files for EMX/OS2.
48559 # Written by Andrew Zabolotny, bit@freya.etu.ru
48560 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48562 # This script will accept a set of files on the command line.
48563 # All the public symbols from the .o files will be exported into
48564 # a .DEF file, then linker will be run (through gcc) against them to
48565 # build a shared library consisting of all given .o files. All libraries
48566 # (.a) will be first decompressed into component .o files then act as
48567 # described above. You can optionally give a description (-d "description")
48568 # which will be put into .DLL. To see the list of accepted options (as well
48569 # as command-line format) simply run this program without options. The .DLL
48570 # is built to be imported by name (there is no guarantee that new versions
48571 # of the library you build will have same ordinals for same symbols).
48573 # dllar is free software; you can redistribute it and/or modify
48574 # it under the terms of the GNU General Public License as published by
48575 # the Free Software Foundation; either version 2, or (at your option)
48576 # any later version.
48578 # dllar is distributed in the hope that it will be useful,
48579 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48580 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48581 # GNU General Public License for more details.
48583 # You should have received a copy of the GNU General Public License
48584 # along with dllar; see the file COPYING. If not, write to the Free
48585 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48588 # To successfuly run this program you will need:
48589 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48590 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48592 # (used to build the .dll)
48594 # (used to create .def file from .o files)
48596 # (used to create .a file from .def file)
48597 # - GNU text utilites (cat, sort, uniq)
48598 # used to process emxexp output
48599 # - GNU file utilities (mv, rm)
48601 # - lxlite (optional, see flag below)
48602 # (used for general .dll cleanup)
48609 # basnam, variant of basename, which does _not_ remove the path, _iff_
48610 # second argument (suffix to remove) is given
48614 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48617 echo ${D}1 | sed 's/'${D}2'${D}//'
48620 echo "error in basnam ${D}*"
48626 # Cleanup temporary files and output
48629 for i in ${D}inputFiles ; do
48632 rm -rf \`basnam
${D}i
!\
`
48639 # Kill result in case of failure as there is just to many stupid make/nmake
48640 # things out there which doesn't do this.
48641 if [ ${D}# -eq 0 ]; then
48642 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48646 # Print usage and exit script with rc=1.
48648 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48649 echo ' [-name-mangler-script script.sh]'
48650 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48651 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48652 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48653 echo ' [*.o] [*.a]'
48654 echo '*> "output_file" should have no extension.'
48655 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48656 echo ' The import library name is derived from this and is set to "name".a,'
48657 echo ' unless overridden by -import'
48658 echo '*> "importlib_name" should have no extension.'
48659 echo ' If it has the .o, or .a extension, it is automatically removed.'
48660 echo ' This name is used as the import library name and may be longer and'
48661 echo ' more descriptive than the DLL name which has to follow the old '
48662 echo ' 8.3 convention of FAT.'
48663 echo '*> "script.sh may be given to override the output_file name by a'
48664 echo ' different name. It is mainly useful if the regular make process'
48665 echo ' of some package does not take into account OS/2 restriction of'
48666 echo ' DLL name lengths. It takes the importlib name as input and is'
48667 echo ' supposed to procude a shorter name as output. The script should'
48668 echo ' expect to get importlib_name without extension and should produce'
48669 echo ' a (max.) 8 letter name without extension.'
48670 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48671 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48672 echo ' These flags will be put at the start of GCC command line.'
48673 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48674 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48675 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48676 echo ' If the last character of a symbol is "*", all symbols beginning'
48677 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48678 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48679 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48680 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48681 echo ' C runtime DLLs.'
48682 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48683 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48684 echo ' unchanged to GCC at the end of command line.'
48685 echo '*> If you create a DLL from a library and you do not specify -o,'
48686 echo ' the basename for DLL and import library will be set to library name,'
48687 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48688 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48689 echo ' library will be renamed into gcc_s.a.'
48692 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48693 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48698 # Execute a command.
48699 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48700 # @Uses Whatever CleanUp() uses.
48706 if [ ${D}rcCmd -ne 0 ]; then
48707 echo "command failed, exit code="${D}rcCmd
48722 CFLAGS="-s -Zcrtdll"
48724 EXPORT_BY_ORDINALS=0
48729 case ${D}curDirS in
48733 curDirS=${D}{curDirS}"/"
48736 # Parse commandline
48739 while [ ${D}1 ]; do
48742 EXPORT_BY_ORDINALS=1;
48752 -name-mangler-script)
48773 exclude_symbols=${D}{exclude_symbols}${D}1" "
48777 library_flags=${D}{library_flags}${D}1" "
48796 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48799 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48800 if [ ${D}omfLinking -eq 1 ]; then
48801 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48803 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48808 if [ ${D}libsToLink -ne 0 ]; then
48809 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48811 for file in ${D}1 ; do
48812 if [ -f ${D}file ]; then
48813 inputFiles="${D}{inputFiles} ${D}file"
48817 if [ ${D}found -eq 0 ]; then
48818 echo "ERROR: No file(s) found: "${D}1
48825 done # iterate cmdline words
48828 if [ -z "${D}inputFiles" ]; then
48829 echo "dllar: no input files"
48833 # Now extract all .o files from .a files
48835 for file in ${D}inputFiles ; do
48846 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48851 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48853 if [ ${D}? -ne 0 ]; then
48854 echo "Failed to create subdirectory ./${D}dirname"
48858 # Append '!' to indicate archive
48859 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48860 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48863 for subfile in ${D}dirname/*.o* ; do
48864 if [ -f ${D}subfile ]; then
48866 if [ -s ${D}subfile ]; then
48867 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48868 newInputFiles="${D}newInputFiles ${D}subfile"
48872 if [ ${D}found -eq 0 ]; then
48873 echo "WARNING: there are no files in archive \\'${D}file\\'"
48877 newInputFiles="${D}{newInputFiles} ${D}file"
48881 inputFiles="${D}newInputFiles"
48883 # Output filename(s).
48885 if [ -z ${D}outFile ]; then
48887 set outFile ${D}inputFiles; outFile=${D}2
48890 # If it is an archive, remove the '!' and the '_%' suffixes
48891 case ${D}outFile in
48893 outFile=\`basnam
${D}outFile _
%!\
`
48898 case ${D}outFile in
48900 outFile=\`basnam
${D}outFile .dll\
`
48903 outFile=\`basnam
${D}outFile .DLL\
`
48906 outFile=\`basnam
${D}outFile .o\
`
48909 outFile=\`basnam
${D}outFile .obj\
`
48912 outFile=\`basnam
${D}outFile .a\
`
48915 outFile=\`basnam
${D}outFile .lib\
`
48920 case ${D}outimpFile in
48922 outimpFile=\`basnam
${D}outimpFile .a\
`
48925 outimpFile=\`basnam
${D}outimpFile .lib\
`
48930 if [ -z ${D}outimpFile ]; then
48931 outimpFile=${D}outFile
48933 defFile="${D}{outFile}.def"
48934 arcFile="${D}{outimpFile}.a"
48935 arcFile2="${D}{outimpFile}.lib"
48937 #create ${D}dllFile as something matching 8.3 restrictions,
48938 if [ -z ${D}renameScript ] ; then
48939 dllFile="${D}outFile"
48941 dllFile=\`${D}renameScript
${D}outimpFile\
`
48944 if [ ${D}do_backup -ne 0 ] ; then
48945 if [ -f ${D}arcFile ] ; then
48946 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48948 if [ -f ${D}arcFile2 ] ; then
48949 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48953 # Extract public symbols from all the object files.
48954 tmpdefFile=${D}{defFile}_%
48955 rm -f ${D}tmpdefFile
48956 for file in ${D}inputFiles ; do
48961 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48966 # Create the def file.
48968 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48969 dllFile="${D}{dllFile}.dll"
48970 if [ ! -z ${D}description ]; then
48971 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48973 echo "EXPORTS" >> ${D}defFile
48975 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48976 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48978 # Checks if the export is ok or not.
48979 for word in ${D}exclude_symbols; do
48980 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48981 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48985 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48986 sed "=" < ${D}tmpdefFile | \\
48990 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48992 ' > ${D}{tmpdefFile}%
48993 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48995 rm -f ${D}{tmpdefFile}%
48997 cat ${D}tmpdefFile >> ${D}defFile
48998 rm -f ${D}tmpdefFile
49000 # Do linking, create implib, and apply lxlite.
49002 for file in ${D}inputFiles ; do
49007 gccCmdl="${D}gccCmdl ${D}file"
49011 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49012 touch "${D}{outFile}.dll"
49014 doCommand "emximp -o ${D}arcFile ${D}defFile"
49015 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49017 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49020 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49022 doCommand "emxomf -s -l ${D}arcFile"
49032 powerpc-apple-macos* | \
49033 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49043 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49044 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49045 { (exit 1); exit 1; }; }
49048 if test "x$PIC_FLAG" != "x" ; then
49049 PIC_FLAG="$PIC_FLAG -DPIC"
49052 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49053 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49055 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49056 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49075 case "${BAKEFILE_HOST}" in
49076 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49077 *-*-k*bsd*-gnu | *-*-mirbsd* )
49078 if test "x$SUNCXX" = "xyes"; then
49081 SONAME_FLAG="-Wl,-soname,"
49116 # Check whether --enable-dependency-tracking was given.
49117 if test "${enable_dependency_tracking+set}" = set; then
49118 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49122 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49123 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49126 if test "x$bk_use_trackdeps" = "xno" ; then
49128 { echo "$as_me:$LINENO: result: disabled" >&5
49129 echo "${ECHO_T}disabled" >&6; }
49133 if test "x$GCC" = "xyes"; then
49135 case "${BAKEFILE_HOST}" in
49137 DEPSFLAG="-no-cpp-precomp -MMD"
49143 { echo "$as_me:$LINENO: result: gcc" >&5
49144 echo "${ECHO_T}gcc" >&6; }
49145 elif test "x$MWCC" = "xyes"; then
49148 { echo "$as_me:$LINENO: result: mwcc" >&5
49149 echo "${ECHO_T}mwcc" >&6; }
49150 elif test "x$SUNCC" = "xyes"; then
49153 { echo "$as_me:$LINENO: result: Sun cc" >&5
49154 echo "${ECHO_T}Sun cc" >&6; }
49155 elif test "x$SGICC" = "xyes"; then
49158 { echo "$as_me:$LINENO: result: SGI cc" >&5
49159 echo "${ECHO_T}SGI cc" >&6; }
49160 elif test "x$HPCC" = "xyes"; then
49163 { echo "$as_me:$LINENO: result: HP cc" >&5
49164 echo "${ECHO_T}HP cc" >&6; }
49165 elif test "x$COMPAQCC" = "xyes"; then
49168 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49169 echo "${ECHO_T}Compaq cc" >&6; }
49172 { echo "$as_me:$LINENO: result: none" >&5
49173 echo "${ECHO_T}none" >&6; }
49176 if test $DEPS_TRACKING = 1 ; then
49182 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49183 # script. It is used to track C/C++ files dependencies in portable way.
49185 # Permission is given to use this file in any way.
49187 DEPSMODE=${DEPSMODE}
49188 DEPSFLAG="${DEPSFLAG}"
49191 if test ${D}DEPSMODE = gcc ; then
49192 ${D}* ${D}{DEPSFLAG}
49195 # determine location of created files:
49196 while test ${D}# -gt 0; do
49210 objfilebase=\`basename ${D}objfile\
`
49211 builddir=\`dirname ${D}objfile\
`
49212 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49213 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49214 depsdir=${D}builddir/${D}DEPSDIRBASE
49215 mkdir -p ${D}depsdir
49217 # if the compiler failed, we're done:
49218 if test ${D}{status} != 0 ; then
49223 # move created file to the location we want it in:
49224 if test -f ${D}depfile ; then
49225 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49228 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49229 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49230 if test ! -f ${D}depfile ; then
49231 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49232 depfile="${D}objfile.d"
49234 if test -f ${D}depfile ; then
49235 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49241 elif test ${D}DEPSMODE = mwcc ; then
49242 ${D}* || exit ${D}?
49243 # Run mwcc again with -MM and redirect into the dep file we want
49244 # NOTE: We can't use shift here because we need ${D}* to be valid
49246 for arg in ${D}* ; do
49247 if test "${D}prevarg" = "-o"; then
49261 objfilebase=\`basename ${D}objfile\
`
49262 builddir=\`dirname ${D}objfile\
`
49263 depsdir=${D}builddir/${D}DEPSDIRBASE
49264 mkdir -p ${D}depsdir
49266 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49269 elif test ${D}DEPSMODE = unixcc; then
49270 ${D}* || exit ${D}?
49271 # Run compiler again with deps flag and redirect into the dep file.
49272 # It doesn't work if the '-o FILE' option is used, but without it the
49273 # dependency file will contain the wrong name for the object. So it is
49274 # removed from the command line, and the dep file is fixed with sed.
49276 while test ${D}# -gt 0; do
49283 eval arg${D}#=\\${D}1
49284 cmd="${D}cmd \\${D}arg${D}#"
49290 objfilebase=\`basename ${D}objfile\
`
49291 builddir=\`dirname ${D}objfile\
`
49292 depsdir=${D}builddir/${D}DEPSDIRBASE
49293 mkdir -p ${D}depsdir
49295 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49305 BK_DEPS="`pwd`/bk-deps"
49313 case ${BAKEFILE_HOST} in
49314 *-*-cygwin* | *-*-mingw32* )
49315 if test -n "$ac_tool_prefix"; then
49316 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49317 set dummy ${ac_tool_prefix}windres; ac_word=$2
49318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49320 if test "${ac_cv_prog_WINDRES+set}" = set; then
49321 echo $ECHO_N "(cached) $ECHO_C" >&6
49323 if test -n "$WINDRES"; then
49324 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49327 for as_dir in $PATH
49330 test -z "$as_dir" && as_dir=.
49331 for ac_exec_ext in '' $ac_executable_extensions; do
49332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49333 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49343 WINDRES=$ac_cv_prog_WINDRES
49344 if test -n "$WINDRES"; then
49345 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49346 echo "${ECHO_T}$WINDRES" >&6; }
49348 { echo "$as_me:$LINENO: result: no" >&5
49349 echo "${ECHO_T}no" >&6; }
49354 if test -z "$ac_cv_prog_WINDRES"; then
49355 ac_ct_WINDRES=$WINDRES
49356 # Extract the first word of "windres", so it can be a program name with args.
49357 set dummy windres; ac_word=$2
49358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49360 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49361 echo $ECHO_N "(cached) $ECHO_C" >&6
49363 if test -n "$ac_ct_WINDRES"; then
49364 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49367 for as_dir in $PATH
49370 test -z "$as_dir" && as_dir=.
49371 for ac_exec_ext in '' $ac_executable_extensions; do
49372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49373 ac_cv_prog_ac_ct_WINDRES="windres"
49374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49383 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49384 if test -n "$ac_ct_WINDRES"; then
49385 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49386 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49388 { echo "$as_me:$LINENO: result: no" >&5
49389 echo "${ECHO_T}no" >&6; }
49392 if test "x$ac_ct_WINDRES" = x; then
49395 case $cross_compiling:$ac_tool_warned in
49397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49398 whose name does not start with the host triplet. If you think this
49399 configuration is useful to you, please write to autoconf@gnu.org." >&5
49400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49401 whose name does not start with the host triplet. If you think this
49402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49403 ac_tool_warned=yes ;;
49405 WINDRES=$ac_ct_WINDRES
49408 WINDRES="$ac_cv_prog_WINDRES"
49413 *-*-darwin* | powerpc-apple-macos* )
49414 # Extract the first word of "Rez", so it can be a program name with args.
49415 set dummy Rez; ac_word=$2
49416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49418 if test "${ac_cv_prog_REZ+set}" = set; then
49419 echo $ECHO_N "(cached) $ECHO_C" >&6
49421 if test -n "$REZ"; then
49422 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49425 for as_dir in $PATH
49428 test -z "$as_dir" && as_dir=.
49429 for ac_exec_ext in '' $ac_executable_extensions; do
49430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49431 ac_cv_prog_REZ="Rez"
49432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49439 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49442 REZ=$ac_cv_prog_REZ
49443 if test -n "$REZ"; then
49444 { echo "$as_me:$LINENO: result: $REZ" >&5
49445 echo "${ECHO_T}$REZ" >&6; }
49447 { echo "$as_me:$LINENO: result: no" >&5
49448 echo "${ECHO_T}no" >&6; }
49452 # Extract the first word of "SetFile", so it can be a program name with args.
49453 set dummy SetFile; ac_word=$2
49454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49456 if test "${ac_cv_prog_SETFILE+set}" = set; then
49457 echo $ECHO_N "(cached) $ECHO_C" >&6
49459 if test -n "$SETFILE"; then
49460 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49463 for as_dir in $PATH
49466 test -z "$as_dir" && as_dir=.
49467 for ac_exec_ext in '' $ac_executable_extensions; do
49468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49469 ac_cv_prog_SETFILE="SetFile"
49470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49477 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49480 SETFILE=$ac_cv_prog_SETFILE
49481 if test -n "$SETFILE"; then
49482 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49483 echo "${ECHO_T}$SETFILE" >&6; }
49485 { echo "$as_me:$LINENO: result: no" >&5
49486 echo "${ECHO_T}no" >&6; }
49501 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49504 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49508 # Check whether --enable-precomp-headers was given.
49509 if test "${enable_precomp_headers+set}" = set; then
49510 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49519 case ${BAKEFILE_HOST} in
49525 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49526 if test "x$GCC" = "xyes"; then
49527 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49528 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49529 cat >conftest.$ac_ext <<_ACEOF
49532 cat confdefs.h >>conftest.$ac_ext
49533 cat >>conftest.$ac_ext <<_ACEOF
49534 /* end confdefs.h. */
49540 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49541 There is no PCH support
49544 There is no PCH support
49546 #if (__GNUC__ == 3) && \
49547 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49548 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49549 ( defined(__INTEL_COMPILER) )
49550 There is no PCH support
49557 rm -f conftest.$ac_objext
49558 if { (ac_try="$ac_compile"
49559 case "(($ac_try" in
49560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49561 *) ac_try_echo
=$ac_try;;
49563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49564 (eval "$ac_compile") 2>conftest.er1
49566 grep -v '^ *+' conftest.er1
>conftest.err
49568 cat conftest.err
>&5
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); } && {
49571 test -z "$ac_c_werror_flag" ||
49572 test ! -s conftest.err
49573 } && test -s conftest.
$ac_objext; then
49575 { echo "$as_me:$LINENO: result: yes" >&5
49576 echo "${ECHO_T}yes" >&6; }
49580 echo "$as_me: failed program was:" >&5
49581 sed 's/^/| /' conftest.
$ac_ext >&5
49584 if test "$INTELCXX8" = "yes"; then
49585 { echo "$as_me:$LINENO: result: yes" >&5
49586 echo "${ECHO_T}yes" >&6; }
49588 if test "$INTELCXX10" = "yes"; then
49589 ICC_PCH_CREATE_SWITCH
="-pch-create"
49590 ICC_PCH_USE_SWITCH
="-pch-use"
49592 ICC_PCH_CREATE_SWITCH
="-create-pch"
49593 ICC_PCH_USE_SWITCH
="-use-pch"
49596 { echo "$as_me:$LINENO: result: no" >&5
49597 echo "${ECHO_T}no" >&6; }
49602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49603 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49607 cat <<EOF >bk-make-pch
49610 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49611 # script. It is used to generated precompiled headers.
49613 # Permission is given to use this file in any way.
49620 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49625 while test ${D}{#} -gt 0; do
49629 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49630 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49631 headerfile="${D}{incdir}/${D}{header}"
49634 -use-pch|-use_pch|-pch-use )
49639 if test ${D}add_to_cmdline = 1 ; then
49640 compiler="${D}{compiler} ${D}{1}"
49645 if test "x${D}{headerfile}" = "x" ; then
49646 echo "error: can't find header ${D}{header} in include paths" >&2
49648 if test -f ${D}{outfile} ; then
49649 rm -f ${D}{outfile}
49651 mkdir -p \`dirname ${D}{outfile}\`
49653 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49654 mkdir -p ${D}{builddir}/.deps
49655 if test "x${GCC_PCH}" = "x1" ; then
49656 # can do this because gcc is >= 3.4:
49657 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49658 elif test "x${ICC_PCH}" = "x1" ; then
49659 filename=pch_gen-${D}${D}
49660 file=${D}{filename}.c
49661 dfile=${D}{filename}.d
49662 cat > ${D}file <<EOT
49663 #include "${D}header"
49665 # using -MF icc complains about differing command lines in creation/use
49666 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49667 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49668 rm -f ${D}file ${D}dfile ${D}{filename}.o
49674 chmod +x bk
-make-pch
49675 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49686 COND_BUILD_DEBUG
="#"
49687 if test "x$BUILD" = "xdebug" ; then
49688 COND_BUILD_DEBUG
=""
49691 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49692 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49693 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49696 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49697 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49698 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49701 COND_BUILD_DEBUG_UNICODE_0
="#"
49702 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49703 COND_BUILD_DEBUG_UNICODE_0
=""
49706 COND_BUILD_DEBUG_UNICODE_1
="#"
49707 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49708 COND_BUILD_DEBUG_UNICODE_1
=""
49711 COND_BUILD_RELEASE
="#"
49712 if test "x$BUILD" = "xrelease" ; then
49713 COND_BUILD_RELEASE
=""
49716 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49717 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49718 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49721 COND_BUILD_RELEASE_UNICODE_0
="#"
49722 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49723 COND_BUILD_RELEASE_UNICODE_0
=""
49726 COND_BUILD_RELEASE_UNICODE_1
="#"
49727 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49728 COND_BUILD_RELEASE_UNICODE_1
=""
49731 COND_BUILD_debug
="#"
49732 if test "x$BUILD" = "xdebug" ; then
49733 COND_BUILD_debug
=""
49736 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49737 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49738 COND_BUILD_debug_DEBUG_FLAG_default
=""
49741 COND_BUILD_debug_DEBUG_INFO_default
="#"
49742 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49743 COND_BUILD_debug_DEBUG_INFO_default
=""
49746 COND_BUILD_debug_UNICODE_0
="#"
49747 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49748 COND_BUILD_debug_UNICODE_0
=""
49751 COND_BUILD_debug_UNICODE_1
="#"
49752 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49753 COND_BUILD_debug_UNICODE_1
=""
49756 COND_BUILD_release
="#"
49757 if test "x$BUILD" = "xrelease" ; then
49758 COND_BUILD_release
=""
49761 COND_BUILD_release_DEBUG_INFO_default
="#"
49762 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49763 COND_BUILD_release_DEBUG_INFO_default
=""
49766 COND_BUILD_release_UNICODE_0
="#"
49767 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49768 COND_BUILD_release_UNICODE_0
=""
49771 COND_BUILD_release_UNICODE_1
="#"
49772 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49773 COND_BUILD_release_UNICODE_1
=""
49776 COND_DEBUG_FLAG_0
="#"
49777 if test "x$DEBUG_FLAG" = "x0" ; then
49778 COND_DEBUG_FLAG_0
=""
49781 COND_DEBUG_FLAG_1
="#"
49782 if test "x$DEBUG_FLAG" = "x1" ; then
49783 COND_DEBUG_FLAG_1
=""
49786 COND_DEBUG_INFO_0
="#"
49787 if test "x$DEBUG_INFO" = "x0" ; then
49788 COND_DEBUG_INFO_0
=""
49791 COND_DEBUG_INFO_1
="#"
49792 if test "x$DEBUG_INFO" = "x1" ; then
49793 COND_DEBUG_INFO_1
=""
49796 COND_DEPS_TRACKING_0
="#"
49797 if test "x$DEPS_TRACKING" = "x0" ; then
49798 COND_DEPS_TRACKING_0
=""
49801 COND_DEPS_TRACKING_1
="#"
49802 if test "x$DEPS_TRACKING" = "x1" ; then
49803 COND_DEPS_TRACKING_1
=""
49807 if test "x$GCC_PCH" = "x1" ; then
49812 if test "x$ICC_PCH" = "x1" ; then
49816 COND_MONOLITHIC_0
="#"
49817 if test "x$MONOLITHIC" = "x0" ; then
49818 COND_MONOLITHIC_0
=""
49821 COND_MONOLITHIC_0_SHARED_0
="#"
49822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49823 COND_MONOLITHIC_0_SHARED_0
=""
49826 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49836 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49853 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49856 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
49858 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
49861 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49863 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49866 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49873 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49876 COND_MONOLITHIC_0_SHARED_1
="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49878 COND_MONOLITHIC_0_SHARED_1
=""
49881 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49883 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49906 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49911 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
49916 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49921 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49926 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49931 COND_MONOLITHIC_0_USE_AUI_1
="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49933 COND_MONOLITHIC_0_USE_AUI_1
=""
49936 COND_MONOLITHIC_0_USE_GUI_1
="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49938 COND_MONOLITHIC_0_USE_GUI_1
=""
49941 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49943 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49946 COND_MONOLITHIC_0_USE_HTML_1
="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49948 COND_MONOLITHIC_0_USE_HTML_1
=""
49951 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49953 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49956 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49958 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49961 COND_MONOLITHIC_0_USE_QA_1
="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49963 COND_MONOLITHIC_0_USE_QA_1
=""
49966 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
49968 COND_MONOLITHIC_0_USE_RIBBON_1
=""
49971 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49973 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49976 COND_MONOLITHIC_0_USE_STC_1
="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49978 COND_MONOLITHIC_0_USE_STC_1
=""
49981 COND_MONOLITHIC_0_USE_XRC_1
="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49983 COND_MONOLITHIC_0_USE_XRC_1
=""
49986 COND_MONOLITHIC_1
="#"
49987 if test "x$MONOLITHIC" = "x1" ; then
49988 COND_MONOLITHIC_1
=""
49991 COND_MONOLITHIC_1_SHARED_0
="#"
49992 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49993 COND_MONOLITHIC_1_SHARED_0
=""
49996 COND_MONOLITHIC_1_SHARED_1
="#"
49997 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49998 COND_MONOLITHIC_1_SHARED_1
=""
50001 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50002 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50003 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50006 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50007 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50008 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50011 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50012 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50013 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50016 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50017 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50018 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50021 COND_PLATFORM_MACOSX_1
="#"
50022 if test "x$PLATFORM_MACOSX" = "x1" ; then
50023 COND_PLATFORM_MACOSX_1
=""
50026 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50027 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50028 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50031 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50032 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50033 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50036 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50037 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50038 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50041 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50042 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50046 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50047 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50048 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50051 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50053 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50056 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50061 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50063 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50066 COND_PLATFORM_MACOS_1
="#"
50067 if test "x$PLATFORM_MACOS" = "x1" ; then
50068 COND_PLATFORM_MACOS_1
=""
50071 COND_PLATFORM_MAC_0
="#"
50072 if test "x$PLATFORM_MAC" = "x0" ; then
50073 COND_PLATFORM_MAC_0
=""
50076 COND_PLATFORM_MAC_1
="#"
50077 if test "x$PLATFORM_MAC" = "x1" ; then
50078 COND_PLATFORM_MAC_1
=""
50081 COND_PLATFORM_MSDOS_0
="#"
50082 if test "x$PLATFORM_MSDOS" = "x0" ; then
50083 COND_PLATFORM_MSDOS_0
=""
50086 COND_PLATFORM_MSDOS_1
="#"
50087 if test "x$PLATFORM_MSDOS" = "x1" ; then
50088 COND_PLATFORM_MSDOS_1
=""
50091 COND_PLATFORM_OS2_1
="#"
50092 if test "x$PLATFORM_OS2" = "x1" ; then
50093 COND_PLATFORM_OS2_1
=""
50096 COND_PLATFORM_UNIX_0
="#"
50097 if test "x$PLATFORM_UNIX" = "x0" ; then
50098 COND_PLATFORM_UNIX_0
=""
50101 COND_PLATFORM_UNIX_1
="#"
50102 if test "x$PLATFORM_UNIX" = "x1" ; then
50103 COND_PLATFORM_UNIX_1
=""
50106 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50107 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50108 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50111 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50112 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50113 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50116 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50117 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50118 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50121 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50122 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50123 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50126 COND_PLATFORM_WIN32_0
="#"
50127 if test "x$PLATFORM_WIN32" = "x0" ; then
50128 COND_PLATFORM_WIN32_0
=""
50131 COND_PLATFORM_WIN32_1
="#"
50132 if test "x$PLATFORM_WIN32" = "x1" ; then
50133 COND_PLATFORM_WIN32_1
=""
50137 if test "x$SHARED" = "x0" ; then
50141 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50142 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50143 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50146 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50147 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50148 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50151 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50152 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50153 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50156 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50157 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50158 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50161 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50162 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50163 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50166 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50167 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50168 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50171 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50172 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50173 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50176 COND_SHARED_0_USE_STC_1
="#"
50177 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50178 COND_SHARED_0_USE_STC_1
=""
50181 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50182 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50183 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50186 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50187 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50188 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50191 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50192 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50193 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50197 if test "x$SHARED" = "x1" ; then
50201 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50202 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50203 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50207 if test "x$TOOLKIT" = "x" ; then
50211 COND_TOOLKIT_COCOA
="#"
50212 if test "x$TOOLKIT" = "xCOCOA" ; then
50213 COND_TOOLKIT_COCOA
=""
50216 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50217 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50218 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50221 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50222 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50223 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50226 COND_TOOLKIT_DFB
="#"
50227 if test "x$TOOLKIT" = "xDFB" ; then
50228 COND_TOOLKIT_DFB
=""
50231 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50232 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50233 COND_TOOLKIT_DFB_USE_GUI_1
=""
50236 COND_TOOLKIT_GTK
="#"
50237 if test "x$TOOLKIT" = "xGTK" ; then
50238 COND_TOOLKIT_GTK
=""
50241 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50242 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50243 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50246 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50247 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50248 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50251 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50252 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50253 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50256 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50257 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50258 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50261 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50262 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50263 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50266 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50267 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50268 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50271 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50272 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50273 COND_TOOLKIT_GTK_USE_GUI_1
=""
50276 COND_TOOLKIT_MAC
="#"
50277 if test "x$TOOLKIT" = "xMAC" ; then
50278 COND_TOOLKIT_MAC
=""
50281 COND_TOOLKIT_MGL
="#"
50282 if test "x$TOOLKIT" = "xMGL" ; then
50283 COND_TOOLKIT_MGL
=""
50286 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50287 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_MGL_USE_GUI_1
=""
50291 COND_TOOLKIT_MOTIF
="#"
50292 if test "x$TOOLKIT" = "xMOTIF" ; then
50293 COND_TOOLKIT_MOTIF
=""
50296 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50297 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50298 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50301 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50302 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50303 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50306 COND_TOOLKIT_MSW
="#"
50307 if test "x$TOOLKIT" = "xMSW" ; then
50308 COND_TOOLKIT_MSW
=""
50311 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50312 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50313 COND_TOOLKIT_MSW_USE_GUI_1
=""
50316 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50317 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50318 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50321 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50322 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50323 COND_TOOLKIT_MSW_WXUNIV_0
=""
50326 COND_TOOLKIT_OSX_CARBON
="#"
50327 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50328 COND_TOOLKIT_OSX_CARBON
=""
50331 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50332 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50333 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50336 COND_TOOLKIT_OSX_COCOA
="#"
50337 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50338 COND_TOOLKIT_OSX_COCOA
=""
50341 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50342 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50343 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50346 COND_TOOLKIT_OSX_IPHONE
="#"
50347 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50348 COND_TOOLKIT_OSX_IPHONE
=""
50351 COND_TOOLKIT_PM
="#"
50352 if test "x$TOOLKIT" = "xPM" ; then
50356 COND_TOOLKIT_PM_USE_GUI_1
="#"
50357 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50358 COND_TOOLKIT_PM_USE_GUI_1
=""
50361 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50362 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50363 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50366 COND_TOOLKIT_WINCE
="#"
50367 if test "x$TOOLKIT" = "xWINCE" ; then
50368 COND_TOOLKIT_WINCE
=""
50371 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50372 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50373 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50376 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50377 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50378 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50381 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50382 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50383 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50386 COND_TOOLKIT_X11
="#"
50387 if test "x$TOOLKIT" = "xX11" ; then
50388 COND_TOOLKIT_X11
=""
50391 COND_TOOLKIT_X11_USE_GUI_1
="#"
50392 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50393 COND_TOOLKIT_X11_USE_GUI_1
=""
50397 if test "x$UNICODE" = "x1" ; then
50401 COND_USE_EXCEPTIONS_0
="#"
50402 if test "x$USE_EXCEPTIONS" = "x0" ; then
50403 COND_USE_EXCEPTIONS_0
=""
50406 COND_USE_EXCEPTIONS_1
="#"
50407 if test "x$USE_EXCEPTIONS" = "x1" ; then
50408 COND_USE_EXCEPTIONS_1
=""
50412 if test "x$USE_GUI" = "x0" ; then
50417 if test "x$USE_GUI" = "x1" ; then
50421 COND_USE_GUI_1_USE_OPENGL_1
="#"
50422 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50423 COND_USE_GUI_1_USE_OPENGL_1
=""
50426 COND_USE_GUI_1_WXUNIV_0
="#"
50427 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50428 COND_USE_GUI_1_WXUNIV_0
=""
50431 COND_USE_GUI_1_WXUNIV_1
="#"
50432 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50433 COND_USE_GUI_1_WXUNIV_1
=""
50436 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50437 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50438 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50441 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50442 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50443 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50446 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50447 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50448 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50451 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50452 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50453 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50456 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50457 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50458 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50461 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50462 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50463 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50466 COND_USE_OPENGL_1
="#"
50467 if test "x$USE_OPENGL" = "x1" ; then
50468 COND_USE_OPENGL_1
=""
50472 if test "x$USE_PCH" = "x1" ; then
50476 COND_USE_PLUGINS_0
="#"
50477 if test "x$USE_PLUGINS" = "x0" ; then
50478 COND_USE_PLUGINS_0
=""
50481 COND_USE_RTTI_0
="#"
50482 if test "x$USE_RTTI" = "x0" ; then
50486 COND_USE_RTTI_1
="#"
50487 if test "x$USE_RTTI" = "x1" ; then
50491 COND_USE_SOSYMLINKS_1
="#"
50492 if test "x$USE_SOSYMLINKS" = "x1" ; then
50493 COND_USE_SOSYMLINKS_1
=""
50496 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50497 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50498 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50501 COND_USE_SOVERLINUX_1
="#"
50502 if test "x$USE_SOVERLINUX" = "x1" ; then
50503 COND_USE_SOVERLINUX_1
=""
50506 COND_USE_SOVERSION_0
="#"
50507 if test "x$USE_SOVERSION" = "x0" ; then
50508 COND_USE_SOVERSION_0
=""
50511 COND_USE_SOVERSOLARIS_1
="#"
50512 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50513 COND_USE_SOVERSOLARIS_1
=""
50517 if test "x$USE_STC" = "x1" ; then
50521 COND_USE_THREADS_0
="#"
50522 if test "x$USE_THREADS" = "x0" ; then
50523 COND_USE_THREADS_0
=""
50526 COND_USE_THREADS_1
="#"
50527 if test "x$USE_THREADS" = "x1" ; then
50528 COND_USE_THREADS_1
=""
50532 if test "x$USE_XRC" = "x1" ; then
50536 COND_WINDOWS_IMPLIB_1
="#"
50537 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50538 COND_WINDOWS_IMPLIB_1
=""
50541 COND_WITH_PLUGIN_SDL_1
="#"
50542 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50543 COND_WITH_PLUGIN_SDL_1
=""
50547 if test "x$WXUNIV" = "x0" ; then
50552 if test "x$WXUNIV" = "x1" ; then
50556 COND_WXUSE_EXPAT_BUILTIN
="#"
50557 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50558 COND_WXUSE_EXPAT_BUILTIN
=""
50561 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50562 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50563 COND_WXUSE_LIBJPEG_BUILTIN
=""
50566 COND_WXUSE_LIBPNG_BUILTIN
="#"
50567 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50568 COND_WXUSE_LIBPNG_BUILTIN
=""
50571 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50572 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50573 COND_WXUSE_LIBTIFF_BUILTIN
=""
50576 COND_WXUSE_REGEX_BUILTIN
="#"
50577 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50578 COND_WXUSE_REGEX_BUILTIN
=""
50581 COND_WXUSE_ZLIB_BUILTIN
="#"
50582 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50583 COND_WXUSE_ZLIB_BUILTIN
=""
50586 COND_wxUSE_EXPAT_builtin
="#"
50587 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50588 COND_wxUSE_EXPAT_builtin
=""
50591 COND_wxUSE_LIBJPEG_builtin
="#"
50592 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50593 COND_wxUSE_LIBJPEG_builtin
=""
50596 COND_wxUSE_LIBPNG_builtin
="#"
50597 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50598 COND_wxUSE_LIBPNG_builtin
=""
50601 COND_wxUSE_LIBTIFF_builtin
="#"
50602 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50603 COND_wxUSE_LIBTIFF_builtin
=""
50606 COND_wxUSE_REGEX_builtin
="#"
50607 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50608 COND_wxUSE_REGEX_builtin
=""
50611 COND_wxUSE_ZLIB_builtin
="#"
50612 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50613 COND_wxUSE_ZLIB_builtin
=""
50618 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50619 { { 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
50620 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;}
50621 { (exit 1); exit 1; }; }
50624 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50625 { { 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
50626 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;}
50627 { (exit 1); exit 1; }; }
50634 ?
:* ) # Drive letter, considered as absolute.
50637 INSTALL
=`pwd`/${INSTALL} ;;
50640 if test "$wxUSE_GUI" = "yes"; then
50642 if test "$wxUSE_MSW" = 1 ; then
50643 if test "x$WINDRES" = "x"; then
50644 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50645 echo "$as_me: error: Required windres program not found" >&2;}
50646 { (exit 1); exit 1; }; }
50652 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50653 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50654 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50656 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50658 # Extract the first word of "DeRez", so it can be a program name with args.
50659 set dummy DeRez
; ac_word
=$2
50660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50662 if test "${ac_cv_prog_DEREZ+set}" = set; then
50663 echo $ECHO_N "(cached) $ECHO_C" >&6
50665 if test -n "$DEREZ"; then
50666 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50669 for as_dir
in $PATH
50672 test -z "$as_dir" && as_dir
=.
50673 for ac_exec_ext
in '' $ac_executable_extensions; do
50674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50675 ac_cv_prog_DEREZ
="DeRez"
50676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50683 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50686 DEREZ
=$ac_cv_prog_DEREZ
50687 if test -n "$DEREZ"; then
50688 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50689 echo "${ECHO_T}$DEREZ" >&6; }
50691 { echo "$as_me:$LINENO: result: no" >&5
50692 echo "${ECHO_T}no" >&6; }
50697 MACSETFILE
="\$(SETFILE)"
50699 if test "$wxUSE_OSX_CARBON" = 1; then
50700 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50702 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50704 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50705 RESCOMP
="cat /dev/null \| $REZ"
50706 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50712 if test "$wxUSE_PM" = 1; then
50714 WXCONFIG_RESFLAGS
="-ep"
50716 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50718 POSTLINK_COMMAND
="@true"
50725 if test $GCC_PCH = 1
50727 if test "$wx_cv_gcc_pch_bug" = yes; then
50728 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50729 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50730 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50731 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50732 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50733 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50736 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50737 # the headers that benefit from precompilation are mostly C++ headers.
50738 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50739 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50740 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50744 if test "$wxUSE_MAC" = 1 ; then
50745 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50746 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50752 if test "$wxUSE_SHARED" = "yes"; then
50754 *-pc-os2_emx | *-pc-os2-emx )
50755 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50756 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50757 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50758 cp -p ${srcdir}/src
/os
2/dllar.sh .
50762 if test "$wxUSE_OMF" = "yes"; then
50764 *-pc-os2_emx | *-pc-os2-emx )
50765 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50766 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50767 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50772 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50777 if test "$GCC" = yes; then
50778 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50779 LIBS
=`echo $LIBS | sed 's/-mt//'`
50780 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50785 if test "x$SUNCXX" = xyes
; then
50786 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50787 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50788 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50793 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50794 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50795 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50796 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50798 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50858 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50859 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50860 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50861 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50862 echo $ECHO_N "(cached) $ECHO_C" >&6
50864 cat >conftest.
make <<\_ACEOF
50867 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50870 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50871 *@@@
%%%=?
*=@@@
%%%*)
50872 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50874 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50876 rm -f conftest.
make
50878 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50879 { echo "$as_me:$LINENO: result: yes" >&5
50880 echo "${ECHO_T}yes" >&6; }
50883 { echo "$as_me:$LINENO: result: no" >&5
50884 echo "${ECHO_T}no" >&6; }
50885 SET_MAKE
="MAKE=${MAKE-make}"
50890 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50893 if test "$USE_WIN32" = 1; then
50894 ac_config_commands
="$ac_config_commands rcdefs.h"
50898 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50901 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50904 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50907 if test "$wx_cv_version_script" = "yes"; then
50908 ac_config_files
="$ac_config_files version-script"
50911 ac_config_files
="$ac_config_files Makefile"
50914 ac_config_commands
="$ac_config_commands wx-config"
50918 if test "$wxWITH_SUBDIRS" != "no"; then
50919 if test "$wxUSE_GUI" = "yes"; then
50920 SUBDIRS
="samples demos utils"
50922 SUBDIRS
="samples utils"
50927 # Check whether --with-cppunit-prefix was given.
50928 if test "${with_cppunit_prefix+set}" = set; then
50929 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50931 cppunit_config_prefix
=""
50935 # Check whether --with-cppunit-exec-prefix was given.
50936 if test "${with_cppunit_exec_prefix+set}" = set; then
50937 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50939 cppunit_config_exec_prefix
=""
50943 if test x
$cppunit_config_exec_prefix != x
; then
50944 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50945 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50946 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50949 if test x
$cppunit_config_prefix != x
; then
50950 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50951 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50952 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50956 # Extract the first word of "cppunit-config", so it can be a program name with args.
50957 set dummy cppunit
-config; ac_word
=$2
50958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50960 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50961 echo $ECHO_N "(cached) $ECHO_C" >&6
50963 case $CPPUNIT_CONFIG in
50965 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50969 for as_dir
in $PATH
50972 test -z "$as_dir" && as_dir
=.
50973 for ac_exec_ext
in '' $ac_executable_extensions; do
50974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50975 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50983 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50987 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50988 if test -n "$CPPUNIT_CONFIG"; then
50989 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50990 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50992 { echo "$as_me:$LINENO: result: no" >&5
50993 echo "${ECHO_T}no" >&6; }
50997 cppunit_version_min
=1.8.0
50999 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51000 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51002 if test "$CPPUNIT_CONFIG" = "no" ; then
51003 { echo "$as_me:$LINENO: result: no" >&5
51004 echo "${ECHO_T}no" >&6; }
51007 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51008 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51009 cppunit_version
=`$CPPUNIT_CONFIG --version`
51011 cppunit_major_version
=`echo $cppunit_version | \
51012 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51013 cppunit_minor_version
=`echo $cppunit_version | \
51014 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51015 cppunit_micro_version
=`echo $cppunit_version | \
51016 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51018 cppunit_major_min
=`echo $cppunit_version_min | \
51019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51020 cppunit_minor_min
=`echo $cppunit_version_min | \
51021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51022 cppunit_micro_min
=`echo $cppunit_version_min | \
51023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51025 cppunit_version_proper
=`expr \
51026 $cppunit_major_version \> $cppunit_major_min \| \
51027 $cppunit_major_version \= $cppunit_major_min \& \
51028 $cppunit_minor_version \> $cppunit_minor_min \| \
51029 $cppunit_major_version \= $cppunit_major_min \& \
51030 $cppunit_minor_version \= $cppunit_minor_min \& \
51031 $cppunit_micro_version \>= $cppunit_micro_min `
51033 if test "$cppunit_version_proper" = "1" ; then
51034 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51035 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51037 { echo "$as_me:$LINENO: result: no" >&5
51038 echo "${ECHO_T}no" >&6; }
51043 if test "x$no_cppunit" = x
; then
51044 SUBDIRS
="$SUBDIRS tests"
51055 for subdir
in $SUBDIRS; do
51056 if test -d ${srcdir}/${subdir} ; then
51057 if test "$wxUSE_GUI" = "yes"; then
51058 if test ${subdir} = "samples"; then
51059 makefiles
="samples/Makefile.in $makefiles"
51060 for sample
in $SAMPLES_SUBDIRS; do
51061 if test -d $srcdir/samples
/$sample; then
51062 makefiles
="samples/$sample/Makefile.in $makefiles"
51066 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51067 eval "disabled=\$$disabled_var"
51068 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51069 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51072 if test ${subdir} = "samples"; then
51073 makefiles
="samples/Makefile.in $makefiles"
51074 for sample
in `echo $SAMPLES_SUBDIRS`; do
51075 if test -d $srcdir/samples
/$sample; then
51076 makefiles
="samples/$sample/Makefile.in $makefiles"
51079 elif test ${subdir} = "utils"; then
51081 for util
in ifacecheck
; do
51082 if test -d $srcdir/utils
/$util ; then
51083 makefiles
="utils/$util/src/Makefile.in \
51088 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51092 for mkin
in $makefiles ; do
51093 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51094 ac_config_files
="$ac_config_files $mk"
51100 cat >confcache
<<\_ACEOF
51101 # This file is a shell script that caches the results of configure
51102 # tests run on this system so they can be shared between configure
51103 # scripts and configure runs, see configure's option --config-cache.
51104 # It is not useful on other systems. If it contains results you don't
51105 # want to keep, you may remove or edit it.
51107 # config.status only pays attention to the cache file if you give it
51108 # the --recheck option to rerun configure.
51110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51112 # following values.
51116 # The following way of writing the cache mishandles newlines in values,
51117 # but we know of no workaround that is simple, portable, and efficient.
51118 # So, we kill variables containing newlines.
51119 # Ultrix sh set writes to stderr and can't be redirected directly,
51120 # and sets the high bit in the cache file unless we assign to the vars.
51122 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51123 eval ac_val
=\$
$ac_var
51127 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51128 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51131 _
| IFS
| as_nl
) ;; #(
51132 *) $as_unset $ac_var ;;
51138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51139 *${as_nl}ac_space
=\
*)
51140 # `set' does not quote correctly, so add quotes (double-quote
51141 # substitution turns \\\\ into \\, and sed turns \\ into \).
51144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51147 # `set' quotes correctly as required by POSIX, so do not add quotes.
51148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51161 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51162 if test -w "$cache_file"; then
51163 test "x$cache_file" != "x/dev/null" &&
51164 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51165 echo "$as_me: updating cache $cache_file" >&6;}
51166 cat confcache
>$cache_file
51168 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51169 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51174 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51175 # Let make expand exec_prefix.
51176 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51178 DEFS
=-DHAVE_CONFIG_H
51182 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51183 # 1. Remove the extension, and $U if already installed.
51184 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51185 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51186 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51187 # will be set to the directory where LIBOBJS objects are built.
51188 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51189 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51191 LIBOBJS
=$ac_libobjs
51193 LTLIBOBJS
=$ac_ltlibobjs
51197 : ${CONFIG_STATUS=./config.status}
51198 ac_clean_files_save
=$ac_clean_files
51199 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51200 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51201 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51202 cat >$CONFIG_STATUS <<_ACEOF
51204 # Generated by $as_me.
51205 # Run this file to recreate the current configuration.
51206 # Compiler output produced by configure, useful for debugging
51207 # configure, is in config.log if it exists.
51210 ac_cs_recheck=false
51212 SHELL=\${CONFIG_SHELL-$SHELL}
51215 cat >>$CONFIG_STATUS <<\_ACEOF
51216 ## --------------------- ##
51217 ## M4sh Initialization. ##
51218 ## --------------------- ##
51220 # Be more Bourne compatible
51221 DUALCASE
=1; export DUALCASE
# for MKS sh
51222 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51225 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51226 # is contrary to our usage. Disable this feature.
51227 alias -g '${1+"$@"}'='"$@"'
51228 setopt NO_GLOB_SUBST
51230 case `(set -o) 2>/dev/null` in
51231 *posix
*) set -o posix
;;
51240 # Avoid depending upon Character Ranges.
51241 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51242 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51243 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51244 as_cr_digits
='0123456789'
51245 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51247 # The user is always right.
51248 if test "${PATH_SEPARATOR+set}" != set; then
51249 echo "#! /bin/sh" >conf$$.sh
51250 echo "exit 0" >>conf$$.sh
51252 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51260 # Support unset when possible.
51261 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51269 # We need space, tab and new line, in precisely that order. Quoting is
51270 # there to prevent editors from complaining about space-tab.
51271 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51272 # splitting by setting IFS to empty value.)
51277 # Find who we are. Look in the path if we contain no directory separator.
51279 *[\\/]* ) as_myself
=$0 ;;
51280 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51281 for as_dir
in $PATH
51284 test -z "$as_dir" && as_dir
=.
51285 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51291 # We did not find ourselves, most probably we were run as `sh COMMAND'
51292 # in which case we are not to be found in the path.
51293 if test "x$as_myself" = x
; then
51296 if test ! -f "$as_myself"; then
51297 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51298 { (exit 1); exit 1; }
51301 # Work around bugs in pre-3.0 UWIN ksh.
51302 for as_var
in ENV MAIL MAILPATH
51303 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51311 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51312 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51313 LC_TELEPHONE LC_TIME
51315 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51316 eval $as_var=C
; export $as_var
51318 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51322 # Required to use basename.
51323 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51324 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51330 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51331 as_basename
=basename
51337 # Name of the executable.
51338 as_me
=`$as_basename -- "$0" ||
51339 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51340 X"$0" : 'X\(//\)$' \| \
51341 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51343 sed '/^.*\/\([^/][^/]*\)\/*$/{
51362 as_lineno_1
=$LINENO
51363 as_lineno_2
=$LINENO
51364 test "x$as_lineno_1" != "x$as_lineno_2" &&
51365 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51367 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51368 # uniformly replaced by the line number. The first 'sed' inserts a
51369 # line-number line after each line using $LINENO; the second 'sed'
51370 # does the real work. The second script uses 'N' to pair each
51371 # line-number line with the line containing $LINENO, and appends
51372 # trailing '-' during substitution so that $LINENO is not a special
51373 # case at line end.
51374 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51375 # scripts with optimization help from Paolo Bonzini. Blame Lee
51376 # E. McMahon (1931-1989) for sed's syntax. :-)
51388 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51391 ' >$as_me.lineno
&&
51392 chmod +x
"$as_me.lineno" ||
51393 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51394 { (exit 1); exit 1; }; }
51396 # Don't try to exec as it changes $[0], causing all sort of problems
51397 # (the dirname of $[0] is not the place where we might find the
51398 # original and so on. Autoconf is especially sensitive to this).
51399 .
"./$as_me.lineno"
51400 # Exit status is that of the last command.
51405 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51411 ECHO_C
= ECHO_N
= ECHO_T
=
51412 case `echo -n x` in
51414 case `echo 'x\c'` in
51415 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51429 rm -f conf$$ conf$$.exe conf$$.
file
51430 if test -d conf$$.dir
; then
51431 rm -f conf$$.dir
/conf$$.
file
51437 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51439 # ... but there are two gotchas:
51440 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51441 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51442 # In both cases, we have to default to `cp -p'.
51443 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51445 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51450 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51451 rmdir conf$$.dir
2>/dev
/null
51453 if mkdir -p .
2>/dev
/null
; then
51456 test -d .
/-p && rmdir .
/-p
51460 if test -x / >/dev
/null
2>&1; then
51461 as_test_x
='test -x'
51463 if ls -dL / >/dev
/null
2>&1; then
51470 if test -d "$1"; then
51476 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51477 ???[sx]*):;;*)false;;esac;fi
51481 as_executable_p
=$as_test_x
51483 # Sed expression to map a string onto a valid CPP name.
51484 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51486 # Sed expression to map a string onto a valid variable name.
51487 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51492 # Save the log message, to keep $[0] and so on meaningful, and to
51493 # report actual input values of CONFIG_FILES etc. instead of their
51494 # values after options handling.
51496 This file was extended by wxWidgets $as_me 2.9.1, which was
51497 generated by GNU Autoconf 2.61. Invocation command line was
51499 CONFIG_FILES = $CONFIG_FILES
51500 CONFIG_HEADERS = $CONFIG_HEADERS
51501 CONFIG_LINKS = $CONFIG_LINKS
51502 CONFIG_COMMANDS = $CONFIG_COMMANDS
51505 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51510 cat >>$CONFIG_STATUS <<_ACEOF
51511 # Files that config.status was made for.
51512 config_files="$ac_config_files"
51513 config_headers="$ac_config_headers"
51514 config_commands="$ac_config_commands"
51518 cat >>$CONFIG_STATUS <<\_ACEOF
51520 \`$as_me' instantiates files from templates according to the
51521 current configuration.
51523 Usage: $0 [OPTIONS] [FILE]...
51525 -h, --help print this help, then exit
51526 -V, --version print version number and configuration settings, then exit
51527 -q, --quiet do not print progress messages
51528 -d, --debug don't remove temporary files
51529 --recheck update $as_me by reconfiguring in the same conditions
51530 --file=FILE[:TEMPLATE]
51531 instantiate the configuration file FILE
51532 --header=FILE[:TEMPLATE]
51533 instantiate the configuration header FILE
51535 Configuration files:
51538 Configuration headers:
51541 Configuration commands:
51544 Report bugs to <bug-autoconf@gnu.org>."
51547 cat >>$CONFIG_STATUS <<_ACEOF
51549 wxWidgets config.status 2.9.1
51550 configured by $0, generated by GNU Autoconf 2.61,
51551 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51553 Copyright (C) 2006 Free Software Foundation, Inc.
51554 This config.status script is free software; the Free Software Foundation
51555 gives unlimited permission to copy, distribute and modify it."
51562 cat >>$CONFIG_STATUS <<\_ACEOF
51563 # If no file are specified by the user, then we need to provide default
51564 # value. By we need to know if files were specified by the user.
51570 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51571 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51582 # Handling of the options.
51583 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51585 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51586 echo "$ac_cs_version"; exit ;;
51587 --debug | --debu | --deb | --de | --d | -d )
51589 --file | --fil | --fi | --f )
51591 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51592 ac_need_defaults
=false
;;
51593 --header | --heade | --head | --hea )
51595 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51596 ac_need_defaults
=false
;;
51598 # Conflict between --help and --header
51599 { echo "$as_me: error: ambiguous option: $1
51600 Try \`$0 --help' for more information." >&2
51601 { (exit 1); exit 1; }; };;
51602 --help | --hel | -h )
51603 echo "$ac_cs_usage"; exit ;;
51604 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51605 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51608 # This is an error.
51609 -*) { echo "$as_me: error: unrecognized option: $1
51610 Try \`$0 --help' for more information." >&2
51611 { (exit 1); exit 1; }; } ;;
51613 *) ac_config_targets
="$ac_config_targets $1"
51614 ac_need_defaults
=false
;;
51620 ac_configure_extra_args
=
51622 if $ac_cs_silent; then
51624 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51628 cat >>$CONFIG_STATUS <<_ACEOF
51629 if \$ac_cs_recheck; then
51630 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51631 CONFIG_SHELL=$SHELL
51632 export CONFIG_SHELL
51633 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51637 cat >>$CONFIG_STATUS <<\_ACEOF
51641 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51642 ## Running $as_me. ##
51648 cat >>$CONFIG_STATUS <<_ACEOF
51654 infile="$srcdir/include/wx/msw/genrcdefs.h"
51655 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51658 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51659 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51660 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51666 cat >>$CONFIG_STATUS <<\_ACEOF
51668 # Handling of arguments.
51669 for ac_config_target
in $ac_config_targets
51671 case $ac_config_target in
51672 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51673 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51674 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51675 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51676 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51677 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51678 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51679 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51680 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51682 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51683 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51684 { (exit 1); exit 1; }; };;
51689 # If the user did not use the arguments to specify the items to instantiate,
51690 # then the envvar interface is used. Set only those that are not.
51691 # We use the long form for the default assignment because of an extremely
51692 # bizarre bug on SunOS 4.1.3.
51693 if $ac_need_defaults; then
51694 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51695 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51696 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51699 # Have a temporary directory for convenience. Make it in the build tree
51700 # simply because there is no reason against having it here, and in addition,
51701 # creating and moving files from /tmp can sometimes cause problems.
51702 # Hook for its removal unless debugging.
51703 # Note that there is a small window in which the directory will not be cleaned:
51704 # after its creation but before its name has been assigned to `$tmp'.
51708 trap 'exit_status=$?
51709 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51711 trap '{ (exit 1); exit 1; }' 1 2 13 15
51713 # Create a (secure) tmp directory for tmp files.
51716 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51717 test -n "$tmp" && test -d "$tmp"
51720 tmp
=.
/conf$$
-$RANDOM
51721 (umask 077 && mkdir "$tmp")
51724 echo "$me: cannot create a temporary directory in ." >&2
51725 { (exit 1); exit 1; }
51729 # Set up the sed scripts for CONFIG_FILES section.
51732 # No need to generate the scripts if there are no CONFIG_FILES.
51733 # This happens for instance when ./config.status config.h
51734 if test -n "$CONFIG_FILES"; then
51741 for ac_last_try
in false false false false false
:; do
51742 cat >conf$
$subs.
sed <<_ACEOF
51743 SHELL!$SHELL$ac_delim
51744 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51745 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51746 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51747 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51748 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51749 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51750 exec_prefix!$exec_prefix$ac_delim
51751 prefix!$prefix$ac_delim
51752 program_transform_name!$program_transform_name$ac_delim
51753 bindir!$bindir$ac_delim
51754 sbindir!$sbindir$ac_delim
51755 libexecdir!$libexecdir$ac_delim
51756 datarootdir!$datarootdir$ac_delim
51757 datadir!$datadir$ac_delim
51758 sysconfdir!$sysconfdir$ac_delim
51759 sharedstatedir!$sharedstatedir$ac_delim
51760 localstatedir!$localstatedir$ac_delim
51761 includedir!$includedir$ac_delim
51762 oldincludedir!$oldincludedir$ac_delim
51763 docdir!$docdir$ac_delim
51764 infodir!$infodir$ac_delim
51765 htmldir!$htmldir$ac_delim
51766 dvidir!$dvidir$ac_delim
51767 pdfdir!$pdfdir$ac_delim
51768 psdir!$psdir$ac_delim
51769 libdir!$libdir$ac_delim
51770 localedir!$localedir$ac_delim
51771 mandir!$mandir$ac_delim
51772 DEFS!$DEFS$ac_delim
51773 ECHO_C!$ECHO_C$ac_delim
51774 ECHO_N!$ECHO_N$ac_delim
51775 ECHO_T!$ECHO_T$ac_delim
51776 LIBS!$LIBS$ac_delim
51777 build_alias!$build_alias$ac_delim
51778 host_alias!$host_alias$ac_delim
51779 target_alias!$target_alias$ac_delim
51780 build!$build$ac_delim
51781 build_cpu!$build_cpu$ac_delim
51782 build_vendor!$build_vendor$ac_delim
51783 build_os!$build_os$ac_delim
51784 host!$host$ac_delim
51785 host_cpu!$host_cpu$ac_delim
51786 host_vendor!$host_vendor$ac_delim
51787 host_os!$host_os$ac_delim
51788 wx_top_builddir!$wx_top_builddir$ac_delim
51790 CFLAGS!$CFLAGS$ac_delim
51791 LDFLAGS!$LDFLAGS$ac_delim
51792 CPPFLAGS!$CPPFLAGS$ac_delim
51793 ac_ct_CC!$ac_ct_CC$ac_delim
51794 EXEEXT!$EXEEXT$ac_delim
51795 OBJEXT!$OBJEXT$ac_delim
51797 GREP!$GREP$ac_delim
51798 EGREP!$EGREP$ac_delim
51800 CXXFLAGS!$CXXFLAGS$ac_delim
51801 ac_ct_CXX!$ac_ct_CXX$ac_delim
51803 subdirs!$subdirs$ac_delim
51804 PKG_CONFIG!$PKG_CONFIG$ac_delim
51805 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51806 GTK_LIBS!$GTK_LIBS$ac_delim
51807 GTK_CONFIG!$GTK_CONFIG$ac_delim
51808 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51809 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51810 XMKMF!$XMKMF$ac_delim
51811 X_CFLAGS!$X_CFLAGS$ac_delim
51812 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51813 X_LIBS!$X_LIBS$ac_delim
51814 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51815 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51816 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51817 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51818 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51819 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51820 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51821 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51822 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51823 LIBICONV!$LIBICONV$ac_delim
51824 GXX_VERSION!$GXX_VERSION$ac_delim
51825 SDL_CONFIG!$SDL_CONFIG$ac_delim
51826 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51827 SDL_LIBS!$SDL_LIBS$ac_delim
51828 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51829 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51830 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51831 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51832 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51833 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51834 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51835 HILDON_LIBS!$HILDON_LIBS$ac_delim
51836 PYTHON!$PYTHON$ac_delim
51837 COND_PYTHON!$COND_PYTHON$ac_delim
51838 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51839 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51842 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51844 elif $ac_last_try; then
51845 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51846 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51847 { (exit 1); exit 1; }; }
51849 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51853 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51854 if test -n "$ac_eof"; then
51855 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51856 ac_eof
=`expr $ac_eof + 1`
51859 cat >>$CONFIG_STATUS <<_ACEOF
51860 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51864 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51865 s/^/s,@/; s/!/@,|#_!!_#|/
51868 s/'"$ac_delim"'$/,g/; t
51870 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51871 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51872 rm -f conf$
$subs.
sed
51873 cat >>$CONFIG_STATUS <<_ACEOF
51879 for ac_last_try
in false false false false false
:; do
51880 cat >conf$
$subs.
sed <<_ACEOF
51881 GST_CFLAGS!$GST_CFLAGS$ac_delim
51882 GST_LIBS!$GST_LIBS$ac_delim
51883 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51884 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51885 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51886 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51887 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51888 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51889 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51890 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51891 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51892 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51893 VENDOR!$VENDOR$ac_delim
51894 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51895 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51896 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51897 WXUNIV!$WXUNIV$ac_delim
51898 MONOLITHIC!$MONOLITHIC$ac_delim
51899 USE_PLUGINS!$USE_PLUGINS$ac_delim
51900 CXXWARNINGS!$CXXWARNINGS$ac_delim
51901 EXTRALIBS!$EXTRALIBS$ac_delim
51902 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51903 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51904 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51905 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51906 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51907 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51908 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51909 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51910 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51911 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51912 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51913 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51914 UNICODE!$UNICODE$ac_delim
51915 DEBUG_INFO!$DEBUG_INFO$ac_delim
51916 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51917 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51918 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51919 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51920 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51921 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51922 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51923 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51924 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51925 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51926 RANLIB!$RANLIB$ac_delim
51927 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51928 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51929 INSTALL_DATA!$INSTALL_DATA$ac_delim
51930 LN_S!$LN_S$ac_delim
51931 SET_MAKE!$SET_MAKE$ac_delim
51932 MAKE_SET!$MAKE_SET$ac_delim
51933 AROPTIONS!$AROPTIONS$ac_delim
51934 STRIP!$STRIP$ac_delim
51936 INSTALL_DIR!$INSTALL_DIR$ac_delim
51937 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51938 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51939 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51940 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51941 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51942 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51943 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51944 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51945 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51946 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51947 SO_SUFFIX!$SO_SUFFIX$ac_delim
51948 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51949 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51950 LIBPREFIX!$LIBPREFIX$ac_delim
51951 LIBEXT!$LIBEXT$ac_delim
51952 DLLPREFIX!$DLLPREFIX$ac_delim
51953 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51954 dlldir!$dlldir$ac_delim
51955 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51956 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51957 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51958 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51959 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51960 PIC_FLAG!$PIC_FLAG$ac_delim
51961 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51962 USE_SOVERSION!$USE_SOVERSION$ac_delim
51963 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51964 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51965 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51966 USE_MACVERSION!$USE_MACVERSION$ac_delim
51967 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51968 SONAME_FLAG!$SONAME_FLAG$ac_delim
51969 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51970 BK_DEPS!$BK_DEPS$ac_delim
51971 WINDRES!$WINDRES$ac_delim
51973 SETFILE!$SETFILE$ac_delim
51974 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51975 GCC_PCH!$GCC_PCH$ac_delim
51976 ICC_PCH!$ICC_PCH$ac_delim
51977 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51980 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51982 elif $ac_last_try; then
51983 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51984 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51985 { (exit 1); exit 1; }; }
51987 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51991 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51992 if test -n "$ac_eof"; then
51993 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51994 ac_eof
=`expr $ac_eof + 1`
51997 cat >>$CONFIG_STATUS <<_ACEOF
51998 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51999 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52002 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52003 s/^/s,@/; s/!/@,|#_!!_#|/
52006 s/'"$ac_delim"'$/,g/; t
52008 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52009 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52010 rm -f conf$
$subs.
sed
52011 cat >>$CONFIG_STATUS <<_ACEOF
52017 for ac_last_try
in false false false false false
:; do
52018 cat >conf$
$subs.
sed <<_ACEOF
52019 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52020 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52021 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52022 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52023 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52024 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52025 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52026 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52027 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52028 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52029 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52030 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52031 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52032 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52033 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52034 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52035 COND_BUILD_release!$COND_BUILD_release$ac_delim
52036 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52037 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52038 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52039 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52040 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52041 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52042 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52043 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52044 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52045 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52046 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52047 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52048 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52049 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52054 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52055 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52056 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52057 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52058 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52059 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52060 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52061 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52062 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52064 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52065 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52066 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52067 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52068 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52069 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52070 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52071 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52072 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52073 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52074 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52075 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52076 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52077 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52078 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52079 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52080 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52081 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52082 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52083 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52084 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52085 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52086 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52087 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52088 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52089 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52090 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52091 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
52092 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52093 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
52094 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52095 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52096 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52097 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52098 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52099 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52100 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52101 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52102 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52103 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52104 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52105 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52106 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52107 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52108 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52109 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52110 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52111 COND_SHARED_0!$COND_SHARED_0$ac_delim
52112 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52113 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52114 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52115 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52118 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52120 elif $ac_last_try; then
52121 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52122 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52123 { (exit 1); exit 1; }; }
52125 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52129 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52130 if test -n "$ac_eof"; then
52131 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52132 ac_eof
=`expr $ac_eof + 1`
52135 cat >>$CONFIG_STATUS <<_ACEOF
52136 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52140 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52141 s/^/s,@/; s/!/@,|#_!!_#|/
52144 s/'"$ac_delim"'$/,g/; t
52146 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52147 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52148 rm -f conf$
$subs.
sed
52149 cat >>$CONFIG_STATUS <<_ACEOF
52155 for ac_last_try
in false false false false false
:; do
52156 cat >conf$
$subs.
sed <<_ACEOF
52157 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52158 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52159 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52160 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52161 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52162 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52163 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52164 COND_SHARED_1!$COND_SHARED_1$ac_delim
52165 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52166 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52167 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52168 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52169 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52170 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52171 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52172 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52173 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52174 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52175 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52177 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52178 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52179 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52180 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52181 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52182 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52183 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52184 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52185 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52186 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52187 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52188 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52189 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52190 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52191 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52192 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52193 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52194 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52195 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52196 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52197 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52198 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52199 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52200 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52201 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52202 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52203 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52204 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52205 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52206 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52207 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52208 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52209 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52210 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52211 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52212 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52213 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52214 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52215 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52216 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52217 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52218 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52219 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52220 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52221 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52222 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52223 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52224 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52225 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52226 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52227 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52228 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52229 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52230 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52231 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52232 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52233 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52234 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52235 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52236 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52237 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52238 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52239 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52240 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52241 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52242 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52243 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52244 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52245 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52246 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52247 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52248 DEREZ!$DEREZ$ac_delim
52249 SHARED!$SHARED$ac_delim
52250 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52251 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52252 USE_GUI!$USE_GUI$ac_delim
52253 AFMINSTALL!$AFMINSTALL$ac_delim
52256 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52258 elif $ac_last_try; then
52259 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52260 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52261 { (exit 1); exit 1; }; }
52263 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52267 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52268 if test -n "$ac_eof"; then
52269 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52270 ac_eof
=`expr $ac_eof + 1`
52273 cat >>$CONFIG_STATUS <<_ACEOF
52274 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52278 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52279 s/^/s,@/; s/!/@,|#_!!_#|/
52282 s/'"$ac_delim"'$/,g/; t
52284 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52285 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52286 rm -f conf$
$subs.
sed
52287 cat >>$CONFIG_STATUS <<_ACEOF
52293 for ac_last_try
in false false false false false
:; do
52294 cat >conf$
$subs.
sed <<_ACEOF
52295 WIN32INSTALL!$WIN32INSTALL$ac_delim
52296 TOOLKIT!$TOOLKIT$ac_delim
52297 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52298 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52299 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52300 cross_compiling!$cross_compiling$ac_delim
52301 WIDGET_SET!$WIDGET_SET$ac_delim
52302 WX_RELEASE!$WX_RELEASE$ac_delim
52303 WX_VERSION!$WX_VERSION$ac_delim
52304 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52305 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52306 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52307 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52308 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52309 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52310 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52311 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52312 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52313 GUIDIST!$GUIDIST$ac_delim
52314 DISTDIR!$DISTDIR$ac_delim
52315 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52316 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52317 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52318 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52319 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52320 RESCOMP!$RESCOMP$ac_delim
52321 RESFLAGS!$RESFLAGS$ac_delim
52322 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52323 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52324 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52325 LIBWXMACRES!$LIBWXMACRES$ac_delim
52326 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52327 MACSETFILE!$MACSETFILE$ac_delim
52329 DLLTOOL!$DLLTOOL$ac_delim
52330 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52331 LIBOBJS!$LIBOBJS$ac_delim
52332 LTLIBOBJS!$LTLIBOBJS$ac_delim
52335 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52337 elif $ac_last_try; then
52338 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52339 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52340 { (exit 1); exit 1; }; }
52342 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52346 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52347 if test -n "$ac_eof"; then
52348 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52349 ac_eof
=`expr $ac_eof + 1`
52352 cat >>$CONFIG_STATUS <<_ACEOF
52353 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52357 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52358 s/^/s,@/; s/!/@,|#_!!_#|/
52361 s/'"$ac_delim"'$/,g/; t
52363 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52364 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52365 rm -f conf$
$subs.
sed
52366 cat >>$CONFIG_STATUS <<_ACEOF
52373 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52374 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52375 # trailing colons and then remove the whole line if VPATH becomes empty
52376 # (actually we leave an empty line to preserve line numbers).
52377 if test "x$srcdir" = x.
; then
52378 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52379 s/:*\$(srcdir):*/:/
52380 s/:*\${srcdir}:*/:/
52382 s/^\([^=]*=[ ]*\):*/\1/
52388 cat >>$CONFIG_STATUS <<\_ACEOF
52389 fi # test -n "$CONFIG_FILES"
52392 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52395 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52397 case $ac_mode$ac_tag in
52399 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52400 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52401 { (exit 1); exit 1; }; };;
52402 :[FH
]-) ac_tag
=-:-;;
52403 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52420 -) ac_f
="$tmp/stdin";;
52421 *) # Look for the file first in the build tree, then in the source tree
52422 # (if the path is not absolute). The absolute path cannot be DOS-style,
52423 # because $ac_f cannot contain `:'.
52427 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52429 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52430 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52431 { (exit 1); exit 1; }; };;
52433 ac_file_inputs
="$ac_file_inputs $ac_f"
52436 # Let's still pretend it is `configure' which instantiates (i.e., don't
52437 # use $as_me), people would be surprised to read:
52438 # /* config.h. Generated by config.status. */
52439 configure_input
="Generated from "`IFS=:
52440 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52441 if test x
"$ac_file" != x
-; then
52442 configure_input
="$ac_file. $configure_input"
52443 { echo "$as_me:$LINENO: creating $ac_file" >&5
52444 echo "$as_me: creating $ac_file" >&6;}
52448 *:-:* | *:-) cat >"$tmp/stdin";;
52453 ac_dir
=`$as_dirname -- "$ac_file" ||
52454 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52455 X"$ac_file" : 'X\(//\)[^/]' \| \
52456 X"$ac_file" : 'X\(//\)$' \| \
52457 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52463 /^X\(\/\/\)[^/].*/{
52478 -*) as_dir
=.
/$as_dir;;
52480 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52484 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52485 *) as_qdir
=$as_dir;;
52487 as_dirs
="'$as_qdir' $as_dirs"
52488 as_dir
=`$as_dirname -- "$as_dir" ||
52489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52490 X"$as_dir" : 'X\(//\)[^/]' \| \
52491 X"$as_dir" : 'X\(//\)$' \| \
52492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52498 /^X\(\/\/\)[^/].*/{
52511 test -d "$as_dir" && break
52513 test -z "$as_dirs" || eval "mkdir $as_dirs"
52514 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52515 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52516 { (exit 1); exit 1; }; }; }
52520 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52522 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52523 # A ".." for each directory in $ac_dir_suffix.
52524 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52525 case $ac_top_builddir_sub in
52526 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52527 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52530 ac_abs_top_builddir
=$ac_pwd
52531 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52532 # for backward compatibility:
52533 ac_top_builddir
=$ac_top_build_prefix
52536 .
) # We are building in place.
52538 ac_top_srcdir
=$ac_top_builddir_sub
52539 ac_abs_top_srcdir
=$ac_pwd ;;
52540 [\\/]* | ?
:[\\/]* ) # Absolute name.
52541 ac_srcdir
=$srcdir$ac_dir_suffix;
52542 ac_top_srcdir
=$srcdir
52543 ac_abs_top_srcdir
=$srcdir ;;
52544 *) # Relative name.
52545 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52546 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52547 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52549 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52559 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52560 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52564 cat >>$CONFIG_STATUS <<\_ACEOF
52565 # If the template does not know about datarootdir, expand it.
52566 # FIXME: This hack should be removed a few years after 2.60.
52567 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52569 case `sed -n '/datarootdir/ {
52578 ' $ac_file_inputs` in
52579 *datarootdir
*) ac_datarootdir_seen
=yes;;
52580 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52581 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52582 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52584 cat >>$CONFIG_STATUS <<_ACEOF
52585 ac_datarootdir_hack='
52586 s&@datadir@&$datadir&g
52587 s&@docdir@&$docdir&g
52588 s&@infodir@&$infodir&g
52589 s&@localedir@&$localedir&g
52590 s&@mandir@&$mandir&g
52591 s&\\\${datarootdir}&$datarootdir&g' ;;
52595 # Neutralize VPATH when `$srcdir' = `.'.
52596 # Shell code in configure.ac might set extrasub.
52597 # FIXME: do we really want to maintain this feature?
52598 cat >>$CONFIG_STATUS <<_ACEOF
52602 cat >>$CONFIG_STATUS <<\_ACEOF
52604 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52605 s
&@configure_input@
&$configure_input&;t t
52606 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52607 s
&@srcdir@
&$ac_srcdir&;t t
52608 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52609 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52610 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52611 s
&@builddir@
&$ac_builddir&;t t
52612 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52613 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52614 s
&@INSTALL@
&$ac_INSTALL&;t t
52615 $ac_datarootdir_hack
52616 " $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
52618 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52619 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52620 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52621 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52622 which seems to be undefined. Please make sure it is defined." >&5
52623 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52624 which seems to be undefined. Please make sure it is defined." >&2;}
52628 -) cat "$tmp/out"; rm -f "$tmp/out";;
52629 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52638 # Transform confdefs.h into a sed script `conftest.defines', that
52639 # substitutes the proper values into config.h.in to produce config.h.
52640 rm -f conftest.defines conftest.
tail
52641 # First, append a space to every undef/define line, to ease matching.
52642 echo 's/$/ /' >conftest.defines
52643 # Then, protect against being on the right side of a sed subst, or in
52644 # an unquoted here document, in config.status. If some macros were
52645 # called several times there might be several #defines for the same
52646 # symbol, which is useless. But do not sort them, since the last
52647 # AC_DEFINE must be honored.
52648 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52649 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52650 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52651 # PARAMS is the parameter list in the macro definition--in most cases, it's
52652 # just an empty string.
52653 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52654 ac_dB
='\\)[ (].*,\\1define\\2'
52662 s/^[ ]*#[ ]*define[ ][ ]*//
52667 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52668 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52669 ' >>conftest.defines
52671 # Remove the space that was appended to ease matching.
52672 # Then replace #undef with comments. This is necessary, for
52673 # example, in the case of _POSIX_SOURCE, which is predefined and required
52674 # on some systems where configure will not decide to define it.
52675 # (The regexp can be short, since the line contains either #define or #undef.)
52677 s,^[ #]*u.*,/* & */,' >>conftest.defines
52679 # Break up conftest.defines:
52680 ac_max_sed_lines
=50
52682 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52683 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52684 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52686 ac_in
='$ac_file_inputs'
52687 ac_out
='"$tmp/out1"'
52688 ac_nxt
='"$tmp/out2"'
52692 # Write a here document:
52693 cat >>$CONFIG_STATUS <<_ACEOF
52694 # First, check the format of the line:
52695 cat >"\$tmp/defines.sed" <<\\CEOF
52696 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52697 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52701 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52703 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52704 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52705 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52706 grep . conftest.
tail >/dev
/null
|| break
52707 rm -f conftest.defines
52708 mv conftest.
tail conftest.defines
52710 rm -f conftest.defines conftest.
tail
52712 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52713 cat >>$CONFIG_STATUS <<\_ACEOF
52714 if test x
"$ac_file" != x
-; then
52715 echo "/* $configure_input */" >"$tmp/config.h"
52716 cat "$ac_result" >>"$tmp/config.h"
52717 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52718 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52719 echo "$as_me: $ac_file is unchanged" >&6;}
52722 mv "$tmp/config.h" $ac_file
52725 echo "/* $configure_input */"
52731 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52732 echo "$as_me: executing $ac_file commands" >&6;}
52737 case $ac_file$ac_mode in
52739 mkdir -p $outdir &&
52740 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52742 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52743 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52744 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52745 "wx-config":C
) rm -f wx
-config
52746 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52753 { (exit 0); exit 0; }
52755 chmod +x
$CONFIG_STATUS
52756 ac_clean_files
=$ac_clean_files_save
52759 # configure is writing to config.log, and then calls config.status.
52760 # config.status does its own redirection, appending to config.log.
52761 # Unfortunately, on DOS this fails, as config.log is still kept open
52762 # by configure, so config.status won't be able to write to it; its
52763 # output is simply discarded. So we exec the FD to /dev/null,
52764 # effectively closing config.log, so it can be properly (re)opened and
52765 # appended to by config.status. When coming back to configure, we
52766 # need to make the FD available again.
52767 if test "$no_create" != yes; then
52769 ac_config_status_args
=
52770 test "$silent" = yes &&
52771 ac_config_status_args
="$ac_config_status_args --quiet"
52773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52776 # would make configure fail if this is the last instruction.
52777 $ac_cs_success || { (exit 1); exit 1; }
52781 # CONFIG_SUBDIRS section.
52783 if test "$no_recursion" != yes; then
52785 # Remove --cache-file and --srcdir arguments so they do not pile up.
52786 ac_sub_configure_args
=
52788 eval "set x $ac_configure_args"
52792 if test -n "$ac_prev"; then
52797 -cache-file | --cache-file | --cache-fil | --cache-fi \
52798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52799 ac_prev
=cache_file
;;
52800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52804 --config-cache | -C)
52806 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52808 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52810 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52812 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52816 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52818 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52822 # Always prepend --prefix to ensure using the same prefix
52823 # in subdir configurations.
52824 ac_arg
="--prefix=$prefix"
52826 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52828 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52831 if test "$silent" = yes; then
52832 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52836 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52838 # Do not complain, so a configure script can configure whichever
52839 # parts of a large source tree are present.
52840 test -d "$srcdir/$ac_dir" || continue
52842 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52843 echo "$as_me:$LINENO: $ac_msg" >&5
52847 -*) as_dir
=.
/$as_dir;;
52849 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52853 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52854 *) as_qdir
=$as_dir;;
52856 as_dirs
="'$as_qdir' $as_dirs"
52857 as_dir
=`$as_dirname -- "$as_dir" ||
52858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52859 X"$as_dir" : 'X\(//\)[^/]' \| \
52860 X"$as_dir" : 'X\(//\)$' \| \
52861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52867 /^X\(\/\/\)[^/].*/{
52880 test -d "$as_dir" && break
52882 test -z "$as_dirs" || eval "mkdir $as_dirs"
52883 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52884 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52885 { (exit 1); exit 1; }; }; }
52889 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52891 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52892 # A ".." for each directory in $ac_dir_suffix.
52893 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52894 case $ac_top_builddir_sub in
52895 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52896 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52899 ac_abs_top_builddir
=$ac_pwd
52900 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52901 # for backward compatibility:
52902 ac_top_builddir
=$ac_top_build_prefix
52905 .
) # We are building in place.
52907 ac_top_srcdir
=$ac_top_builddir_sub
52908 ac_abs_top_srcdir
=$ac_pwd ;;
52909 [\\/]* | ?
:[\\/]* ) # Absolute name.
52910 ac_srcdir
=$srcdir$ac_dir_suffix;
52911 ac_top_srcdir
=$srcdir
52912 ac_abs_top_srcdir
=$srcdir ;;
52913 *) # Relative name.
52914 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52915 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52916 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52918 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52923 # Check for guested configure; otherwise get Cygnus style configure.
52924 if test -f "$ac_srcdir/configure.gnu"; then
52925 ac_sub_configure
=$ac_srcdir/configure.gnu
52926 elif test -f "$ac_srcdir/configure"; then
52927 ac_sub_configure
=$ac_srcdir/configure
52928 elif test -f "$ac_srcdir/configure.in"; then
52929 # This should be Cygnus configure.
52930 ac_sub_configure
=$ac_aux_dir/configure
52932 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52933 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52937 # The recursion is here.
52938 if test -n "$ac_sub_configure"; then
52939 # Make the cache file name correct relative to the subdirectory.
52940 case $cache_file in
52941 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52942 *) # Relative name.
52943 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52946 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52947 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52948 # The eval makes quoting arguments work.
52949 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52950 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52951 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52952 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52953 { (exit 1); exit 1; }; }
52962 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52964 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52965 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52966 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52967 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52968 if test "$wxUSE_UNICODE" = "yes"; then
52969 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52970 echo " (using UTF-8)"
52972 echo " (using wchar_t)"
52978 echo " What level of wxWidgets compatibility should be enabled?"
52979 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52980 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52982 echo " Which libraries should wxWidgets use?"
52983 echo " STL ${wxUSE_STL}"
52984 echo " jpeg ${wxUSE_LIBJPEG-none}"
52985 echo " png ${wxUSE_LIBPNG-none}"
52986 echo " regex ${wxUSE_REGEX}"
52987 echo " tiff ${wxUSE_LIBTIFF-none}"
52988 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52989 echo " xpm ${wxUSE_LIBXPM-none}"
52991 echo " zlib ${wxUSE_ZLIB}"
52992 echo " expat ${wxUSE_EXPAT}"
52993 echo " libmspack ${wxUSE_LIBMSPACK}"
52994 echo " sdl ${wxUSE_LIBSDL}"