2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.4.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.4'
274 PACKAGE_STRING
='wxWidgets 2.5.4'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.4 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.4:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class
for DLL loading
913 --enable-dynamicloader use
(new
) wxDynamicLibrary class
914 --enable-exceptions build exception
-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual
file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP
/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-streams use wxStream etc classes
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-stopwatch use wxStopWatch class
930 --enable-sysoptions use wxSystemOptions
931 --enable-textbuf use wxTextBuffer class
932 --enable-textfile use wxTextFile class
933 --enable-timer use wxTimer class
934 --enable-unicode compile wxString with Unicode support
935 --enable-sound use wxSound class
936 --enable-mediactrl use wxMediaCtrl class
937 --enable-wxprintfv use wxWidgets implementation of vprintf
()
938 --enable-zipstream use wxZip streams
939 --enable-url use wxURL class
940 --enable-protocol use wxProtocol class
941 --enable-protocol-http HTTP support
in wxProtocol
942 --enable-protocol-ftp FTP support
in wxProtocol
943 --enable-protocol-file FILE support
in wxProtocol
944 --enable-threads use threads
945 --enable-docview use document view architecture
946 --enable-help use
help subsystem
947 --enable-mshtmlhelp use MS HTML Help
(win32
)
948 --enable-html use wxHTML sub
-library
949 --enable-htmlhelp use wxHTML
-based help
950 --enable-xrc use XRC resources sub
-library
951 --enable-constraints use layout
-constraints system
952 --enable-printarch use printing architecture
953 --enable-mdi use multiple document interface architecture
954 --enable-mdidoc use docview architecture with MDI
955 --enable-loggui use standard GUI logger
956 --enable-logwin use wxLogWindow
957 --enable-logdialog use wxLogDialog
958 --enable-webkit use wxWebKitCtrl
(Mac
)
959 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
960 --enable-prologio not available
; see contrib
961 --enable-resources not available
; see contrib
962 --enable-clipboard use wxClipboard class
963 --enable-dnd use Drag
'n'Drop classes
964 --enable-metafile use win32 metafiles
965 --enable-controls use all usual controls
966 --enable-accel use accelerators
967 --enable-button use wxButton class
968 --enable-bmpbutton use wxBitmapButton class
969 --enable-calendar use wxCalendarCtrl class
970 --enable-caret use wxCaret class
971 --enable-checkbox use wxCheckBox class
972 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
973 --enable-choice use wxChoice class
974 --enable-choicebook use wxChoicebook class
975 --enable-combobox use wxComboBox class
976 --enable-datepick use wxDatePickerCtrl class
977 --enable-display use wxDisplay class
978 --enable-gauge use wxGauge class
979 --enable-grid use wxGrid class
980 --enable-imaglist use wxImageList class
981 --enable-listbook use wxListbook class
982 --enable-listbox use wxListBox class
983 --enable-listctrl use wxListCtrl class
984 --enable-notebook use wxNotebook class
985 --enable-radiobox use wxRadioBox class
986 --enable-radiobtn use wxRadioButton class
987 --enable-sash use wxSashWindow class
988 --enable-scrollbar use wxScrollBar class and scrollable windows
989 --enable-slider use wxSlider class
990 --enable-spinbtn use wxSpinButton class
991 --enable-spinctrl use wxSpinCtrl class
992 --enable-splitter use wxSplitterWindow class
993 --enable-statbmp use wxStaticBitmap class
994 --enable-statbox use wxStaticBox class
995 --enable-statline use wxStaticLine class
996 --enable-stattext use wxStaticText class
997 --enable-statusbar use wxStatusBar class
998 --enable-tabdialog use wxTabControl class
999 --enable-textctrl use wxTextCtrl class
1000 --enable-togglebtn use wxToggleButton class
1001 --enable-toolbar use wxToolBar class
1002 --enable-tbarnative use native wxToolBar class
1003 --enable-tbarsmpl use wxToolBarSimple class
1004 --enable-treectrl use wxTreeCtrl class
1005 --enable-tipwindow use wxTipWindow class
1006 --enable-popupwin use wxPopUpWindow class
1007 --enable-commondlg use all common dialogs
1008 --enable-choicedlg use wxChoiceDialog
1009 --enable-coldlg use wxColourDialog
1010 --enable-filedlg use wxFileDialog
1011 --enable-finddlg use wxFindReplaceDialog
1012 --enable-fontdlg use wxFontDialog
1013 --enable-dirdlg use wxDirDialog
1014 --enable-msgdlg use wxMessageDialog
1015 --enable-numberdlg use wxNumberEntryDialog
1016 --enable-splash use wxSplashScreen
1017 --enable-textdlg use wxTextDialog
1018 --enable-tipdlg use startup tips
1019 --enable-progressdlg use wxProgressDialog
1020 --enable-wizarddlg use wxWizard
1021 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1022 --enable-miniframe use wxMiniFrame class
1023 --enable-tooltips use wxToolTip class
1024 --enable-splines use spline drawing code
1025 --enable-validators use wxValidator and derived classes
1026 --enable-busyinfo use wxBusyInfo
1027 --enable-joystick use wxJoystick
1028 --enable-metafiles use wxMetaFile
(Windows only
)
1029 --enable-dragimage use wxDragImage
1030 --enable-accessibility enable accessibility support
1031 --enable-palette use wxPalette class
1032 --enable-image use wxImage class
1033 --enable-gif use gif images
(GIF
file format
)
1034 --enable-pcx use pcx images
(PCX
file format
)
1035 --enable-iff use iff images
(IFF
file format
)
1036 --enable-pnm use pnm images
(PNM
file format
)
1037 --enable-xpm use xpm images
(XPM
file format
)
1038 --enable-icocur use Windows ICO and CUR formats
1039 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1040 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1041 --disable-largefile omit support
for large files
1042 --disable-gtktest do not try to compile and run a
test GTK
+ program
1043 --disable-gtktest Do not try to compile and run a
test GTK program
1044 --disable-sdltest Do not try to compile and run a
test SDL program
1045 --enable-omf use OMF object format
(OS
/2)
1046 --disable-precomp-headers
1047 don
't use precompiled headers even if compiler can
1050 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1051 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1053 --with-motif use Motif/Lesstif
1054 --with-mac use Mac OS X
1055 --with-cocoa use Cocoa
1056 --with-wine use Wine
1057 --with-msw use MS-Windows
1058 --with-pm use OS/2 Presentation Manager
1059 --with-mgl use SciTech MGL
1060 --with-microwin use MicroWindows
1062 --with-libpng use libpng (PNG image format)
1063 --with-libjpeg use libjpeg (JPEG file format)
1064 --with-libtiff use libtiff (TIFF file format)
1065 --with-libxpm use libxpm (XPM file format)
1066 --with-libmspack use libmspack (CHM help files loading)
1067 --with-sdl use SDL for audio on Unix
1068 --with-gnomeprint use GNOME print for printing under Unix
1069 --with-opengl use OpenGL (or Mesa)
1070 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1071 --with-regex enable support for wxRegEx class
1072 --with-zlib use zlib for LZW compression
1073 --with-odbc use the IODBC and wxODBC classes
1074 --with-expat enable XML support using expat parser
1075 --with-flavour=NAME specify a name to identify this build
1076 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1077 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1078 --with-x use the X Window System
1079 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1080 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1081 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1082 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1083 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1093 CXX C++ compiler command
1094 CXXFLAGS C++ compiler flags
1095 CXXCPP C++ preprocessor
1097 Use these variables to override the choices made by `configure' or to
help
1098 it to
find libraries and programs with nonstandard names
/locations.
1100 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1104 if test "$ac_init_help" = "recursive"; then
1105 # If there are subdirs, report their specific --help.
1107 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1108 test -d $ac_dir || continue
1111 if test "$ac_dir" != .
; then
1112 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1113 # A "../" for each directory in $ac_dir_suffix.
1114 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1116 ac_dir_suffix
= ac_top_builddir
=
1120 .
) # No --srcdir option. We are building in place.
1122 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1127 [\\/]* | ?
:[\\/]* ) # Absolute path.
1128 ac_srcdir
=$srcdir$ac_dir_suffix;
1129 ac_top_srcdir
=$srcdir ;;
1131 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1132 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1135 # Do not use `cd foo && pwd` to compute absolute paths, because
1136 # the directories may not exist.
1138 .
) ac_abs_builddir
="$ac_dir";;
1141 .
) ac_abs_builddir
=`pwd`;;
1142 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1143 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1146 case $ac_abs_builddir in
1147 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1149 case ${ac_top_builddir}.
in
1150 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1151 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1152 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1155 case $ac_abs_builddir in
1156 .
) ac_abs_srcdir
=$ac_srcdir;;
1159 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1160 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1161 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1164 case $ac_abs_builddir in
1165 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1167 case $ac_top_srcdir in
1168 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1169 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1170 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1175 # Check for guested configure; otherwise get Cygnus style configure.
1176 if test -f $ac_srcdir/configure.gnu
; then
1178 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1179 elif test -f $ac_srcdir/configure
; then
1181 $SHELL $ac_srcdir/configure
--help=recursive
1182 elif test -f $ac_srcdir/configure.ac
||
1183 test -f $ac_srcdir/configure.
in; then
1185 $ac_configure --help
1187 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1193 test -n "$ac_init_help" && exit 0
1194 if $ac_init_version; then
1196 wxWidgets configure
2.5.4
1197 generated by GNU Autoconf
2.59
1199 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1200 This configure
script is free software
; the Free Software Foundation
1201 gives unlimited permission to copy
, distribute and modify it.
1207 This file contains any messages produced by compilers while
1208 running configure, to aid debugging if configure makes a mistake.
1210 It was created by wxWidgets $as_me 2.5.4, which was
1211 generated by GNU Autoconf 2.59. Invocation command line was
1222 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1223 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1224 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1225 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1226 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1228 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1229 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1231 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1232 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1233 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1234 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1235 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1236 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1237 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1245 test -z "$as_dir" && as_dir
=.
1246 echo "PATH: $as_dir"
1261 # Keep a trace of the command line.
1262 # Strip out --no-create and --no-recursion so they do not pile up.
1263 # Strip out --silent because we don't want to record it for future runs.
1264 # Also quote any args containing shell meta-characters.
1265 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_must_keep_next
=false
1276 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1278 | -silent | --silent | --silen | --sile | --sil)
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1286 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1287 if test $ac_must_keep_next = true
; then
1288 ac_must_keep_next
=false
# Got value, back to normal.
1291 *=* | --config-cache | -C | -disable-* | --disable-* \
1292 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1293 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1294 | -with-* | --with-* | -without-* | --without-* | --x)
1295 case "$ac_configure_args0 " in
1296 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 -* ) ac_must_keep_next
=true
;;
1302 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1303 # Get rid of the leading space.
1309 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1310 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1312 # When interrupted or exit'd, cleanup temporary files, and complete
1313 # config.log. We remove comments because anyway the quotes in there
1314 # would cause problems or look ugly.
1315 # WARNING: Be sure not to use single quotes in there, as some shells,
1316 # such as our DU 5.0 friend, will then `close' the trap.
1317 trap 'exit_status=$?
1318 # Save into config.log some information that might help in debugging.
1323 ## ---------------- ##
1324 ## Cache variables. ##
1325 ## ---------------- ##
1328 # The following way of writing the cache mishandles newlines in values,
1331 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1346 ## ----------------- ##
1347 ## Output variables. ##
1348 ## ----------------- ##
1351 for ac_var in $ac_subst_vars
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1358 if test -n "$ac_subst_files"; then
1365 for ac_var in $ac_subst_files
1367 eval ac_val=$`echo $ac_var`
1368 echo "$ac_var='"'"'$ac_val'"'"'"
1373 if test -s confdefs.h; then
1380 sed "/^$/d" confdefs.h | sort
1383 test "$ac_signal" != 0 &&
1384 echo "$as_me: caught signal $ac_signal"
1385 echo "$as_me: exit $exit_status"
1387 rm -f core *.core &&
1388 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 for ac_signal
in 1 2 13 15; do
1392 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1397 rm -rf conftest
* confdefs.h
1398 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 # Predefined preprocessor variables.
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_NAME "$PACKAGE_NAME"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_STRING "$PACKAGE_STRING"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1428 # Let the site file select an alternate cache file if it wants to.
1429 # Prefer explicitly selected file to automatically selected ones.
1430 if test -z "$CONFIG_SITE"; then
1431 if test "x$prefix" != xNONE
; then
1432 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1434 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 for ac_site_file
in $CONFIG_SITE; do
1438 if test -r "$ac_site_file"; then
1439 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1440 echo "$as_me: loading site script $ac_site_file" >&6;}
1441 sed 's/^/| /' "$ac_site_file" >&5
1446 if test -r "$cache_file"; then
1447 # Some versions of bash will fail to source /dev/null (special
1448 # files actually), so we avoid doing that.
1449 if test -f "$cache_file"; then
1450 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1451 echo "$as_me: loading cache $cache_file" >&6;}
1453 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1454 *) . .
/$cache_file;;
1458 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1459 echo "$as_me: creating cache $cache_file" >&6;}
1463 # Check that the precious variables saved in the cache have kept the same
1465 ac_cache_corrupted
=false
1466 for ac_var
in `(set) 2>&1 |
1467 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1468 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1469 eval ac_new_set
=\
$ac_env_${ac_var}_set
1470 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1471 eval ac_new_val
="\$ac_env_${ac_var}_value"
1472 case $ac_old_set,$ac_new_set in
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1476 ac_cache_corrupted
=: ;;
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1480 ac_cache_corrupted
=: ;;
1483 if test "x$ac_old_val" != "x$ac_new_val"; then
1484 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1487 echo "$as_me: former value: $ac_old_val" >&2;}
1488 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1489 echo "$as_me: current value: $ac_new_val" >&2;}
1490 ac_cache_corrupted
=:
1493 # Pass precious variables to config.status.
1494 if test "$ac_new_set" = set; then
1496 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1497 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1498 *) ac_arg
=$ac_var=$ac_new_val ;;
1500 case " $ac_configure_args " in
1501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1502 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1506 if $ac_cache_corrupted; then
1507 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1508 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1509 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1510 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1511 { (exit 1); exit 1; }; }
1515 ac_cpp
='$CPP $CPPFLAGS'
1516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1550 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1551 if test -f $ac_dir/install-sh; then
1553 ac_install_sh
="$ac_aux_dir/install-sh -c"
1555 elif test -f $ac_dir/install.sh
; then
1557 ac_install_sh
="$ac_aux_dir/install.sh -c"
1559 elif test -f $ac_dir/shtool
; then
1561 ac_install_sh
="$ac_aux_dir/shtool install -c"
1565 if test -z "$ac_aux_dir"; then
1566 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1567 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1568 { (exit 1); exit 1; }; }
1570 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1571 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1572 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1574 # Make sure we can run config.sub.
1575 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1576 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1577 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1578 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: checking build system type" >&5
1581 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1582 if test "${ac_cv_build+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_build_alias
=$build_alias
1586 test -z "$ac_cv_build_alias" &&
1587 ac_cv_build_alias
=`$ac_config_guess`
1588 test -z "$ac_cv_build_alias" &&
1589 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1590 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1591 { (exit 1); exit 1; }; }
1592 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1593 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1594 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1595 { (exit 1); exit 1; }; }
1598 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1599 echo "${ECHO_T}$ac_cv_build" >&6
1601 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1602 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1603 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606 echo "$as_me:$LINENO: checking host system type" >&5
1607 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1608 if test "${ac_cv_host+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 ac_cv_host_alias
=$host_alias
1612 test -z "$ac_cv_host_alias" &&
1613 ac_cv_host_alias
=$ac_cv_build_alias
1614 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1615 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1616 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1617 { (exit 1); exit 1; }; }
1620 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1621 echo "${ECHO_T}$ac_cv_host" >&6
1623 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1624 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1625 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628 echo "$as_me:$LINENO: checking target system type" >&5
1629 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1630 if test "${ac_cv_target+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 ac_cv_target_alias
=$target_alias
1634 test "x$ac_cv_target_alias" = "x" &&
1635 ac_cv_target_alias
=$ac_cv_host_alias
1636 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1642 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1643 echo "${ECHO_T}$ac_cv_target" >&6
1644 target
=$ac_cv_target
1645 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650 # The aliases save the names the user supplied, while $host etc.
1651 # will get canonicalized.
1652 test -n "$target_alias" &&
1653 test "$program_prefix$program_suffix$program_transform_name" = \
1655 program_prefix
=${target_alias}-
1659 wx_major_version_number
=2
1660 wx_minor_version_number
=5
1662 wx_subrelease_number
=0
1664 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1665 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1666 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1668 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1684 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1690 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1696 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1698 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1700 DEFAULT_wxUSE_COCOA
=0
1704 DEFAULT_wxUSE_MICROWIN
=0
1705 DEFAULT_wxUSE_MOTIF
=0
1710 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1711 DEFAULT_DEFAULT_wxUSE_GTK
=0
1712 DEFAULT_DEFAULT_wxUSE_MAC
=0
1713 DEFAULT_DEFAULT_wxUSE_MGL
=0
1714 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1715 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1716 DEFAULT_DEFAULT_wxUSE_MSW
=0
1717 DEFAULT_DEFAULT_wxUSE_PM
=0
1718 DEFAULT_DEFAULT_wxUSE_X11
=0
1723 SAMPLES_RPATH_POSTLINK
=
1728 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1729 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1731 cat >>confdefs.h
<<\_ACEOF
1738 cat >>confdefs.h
<<\_ACEOF
1743 if test "x$TMP" = "xalpha"; then
1745 cat >>confdefs.h
<<\_ACEOF
1750 DEFAULT_DEFAULT_wxUSE_GTK
=1
1752 *-*-gnu* | *-*-k*bsd
*-gnu )
1755 if test "x$TMP" = "xalpha"; then
1757 cat >>confdefs.h
<<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_GTK
=1
1764 *-*-irix5* | *-*-irix6* )
1767 cat >>confdefs.h
<<\_ACEOF
1771 cat >>confdefs.h
<<\_ACEOF
1775 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1781 cat >>confdefs.h
<<\_ACEOF
1785 cat >>confdefs.h
<<\_ACEOF
1786 #define __SOLARIS__ 1
1789 cat >>confdefs.h
<<\_ACEOF
1793 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1794 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1800 cat >>confdefs.h
<<\_ACEOF
1804 cat >>confdefs.h
<<\_ACEOF
1808 cat >>confdefs.h
<<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1817 cat >>confdefs.h
<<\_ACEOF
1818 #define __FREEBSD__ 1
1821 cat >>confdefs.h
<<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_GTK
=1
1830 cat >>confdefs.h
<<\_ACEOF
1831 #define __OPENBSD__ 1
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK
=1
1843 cat >>confdefs.h
<<\_ACEOF
1844 #define __NETBSD__ 1
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK
=1
1856 cat >>confdefs.h
<<\_ACEOF
1860 cat >>confdefs.h
<<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1865 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1870 cat >>confdefs.h
<<\_ACEOF
1874 cat >>confdefs.h
<<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1883 cat >>confdefs.h
<<\_ACEOF
1887 cat >>confdefs.h
<<\_ACEOF
1891 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 cat >>confdefs.h
<<\_ACEOF
1910 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1917 cat >>confdefs.h
<<\_ACEOF
1918 #define __UNIXWARE__ 1
1923 *-*-cygwin* | *-*-mingw32* )
1927 DEFAULT_DEFAULT_wxUSE_MSW
=1
1933 cat >>confdefs.h
<<\_ACEOF
1938 DEFAULT_DEFAULT_wxUSE_MGL
=1
1939 LIBS
="$LIBS -lstdc++"
1942 *-pc-os2_emx | *-pc-os2-emx )
1943 cat >>confdefs.h
<<\_ACEOF
1948 cat >>confdefs.h
<<\_ACEOF
1953 DEFAULT_DEFAULT_wxUSE_PM
=1
1955 LDFLAGS
="$LDFLAGS -Zcrtdll"
1956 ac_executable_extensions
=".exe"
1957 export ac_executable_extensions
1961 for ac_dir
in $PATH; do
1963 if test -z "$ac_TEMP_PATH"; then
1964 ac_TEMP_PATH
="$ac_dir"
1966 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1969 export PATH
="$ac_TEMP_PATH"
1977 cat >>confdefs.h
<<\_ACEOF
1981 cat >>confdefs.h
<<\_ACEOF
1982 #define __DARWIN__ 1
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define __POWERPC__ 1
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define TARGET_CARBON 1
1993 DEFAULT_DEFAULT_wxUSE_MAC
=1
1995 powerpc
-apple-macos* )
1997 ac_cv_c_bigendian
=yes
1999 DEFAULT_DEFAULT_wxUSE_MAC
=1
2004 cat >>confdefs.h
<<\_ACEOF
2011 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2012 echo "$as_me: error: unknown system type ${host}." >&2;}
2013 { (exit 1); exit 1; }; }
2019 wx_arg_cache_file
="configarg.cache"
2020 echo "loading argument cache $wx_arg_cache_file"
2021 rm -f ${wx_arg_cache_file}.tmp
2022 touch ${wx_arg_cache_file}.tmp
2023 touch ${wx_arg_cache_file}
2027 if test $DEBUG_CONFIGURE = 1; then
2028 DEFAULT_wxUSE_UNIVERSAL
=no
2029 DEFAULT_wxUSE_STL
=no
2031 DEFAULT_wxUSE_NANOX
=no
2033 DEFAULT_wxUSE_THREADS
=yes
2035 DEFAULT_wxUSE_SHARED
=yes
2036 DEFAULT_wxUSE_OPTIMISE
=no
2037 DEFAULT_wxUSE_PROFILE
=no
2038 DEFAULT_wxUSE_NO_DEPS
=no
2039 DEFAULT_wxUSE_NO_RTTI
=no
2040 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2041 DEFAULT_wxUSE_RPATH
=yes
2042 DEFAULT_wxUSE_PERMISSIVE
=no
2043 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2044 DEFAULT_wxUSE_DEBUG_INFO
=yes
2045 DEFAULT_wxUSE_DEBUG_GDB
=yes
2046 DEFAULT_wxUSE_MEM_TRACING
=no
2047 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2048 DEFAULT_wxUSE_DMALLOC
=no
2049 DEFAULT_wxUSE_APPLE_IEEE
=no
2051 DEFAULT_wxUSE_EXCEPTIONS
=no
2052 DEFAULT_wxUSE_LOG
=yes
2053 DEFAULT_wxUSE_LOGWINDOW
=no
2054 DEFAULT_wxUSE_LOGGUI
=no
2055 DEFAULT_wxUSE_LOGDIALOG
=no
2057 DEFAULT_wxUSE_GUI
=yes
2058 DEFAULT_wxUSE_CONTROLS
=no
2060 DEFAULT_wxUSE_REGEX
=no
2061 DEFAULT_wxUSE_XML
=no
2062 DEFAULT_wxUSE_EXPAT
=no
2063 DEFAULT_wxUSE_ZLIB
=no
2064 DEFAULT_wxUSE_LIBPNG
=no
2065 DEFAULT_wxUSE_LIBJPEG
=no
2066 DEFAULT_wxUSE_LIBTIFF
=no
2067 DEFAULT_wxUSE_LIBXPM
=no
2068 DEFAULT_wxUSE_LIBMSPACK
=no
2069 DEFAULT_wxUSE_LIBSDL
=no
2070 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2071 DEFAULT_wxUSE_ODBC
=no
2072 DEFAULT_wxUSE_OPENGL
=no
2074 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2075 DEFAULT_wxUSE_STACKWALKER
=no
2076 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2077 DEFAULT_wxUSE_STD_IOSTREAM
=no
2078 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2079 DEFAULT_wxUSE_DATETIME
=no
2080 DEFAULT_wxUSE_TIMER
=no
2081 DEFAULT_wxUSE_STOPWATCH
=no
2082 DEFAULT_wxUSE_FILE
=no
2083 DEFAULT_wxUSE_FFILE
=no
2084 DEFAULT_wxUSE_TEXTBUFFER
=no
2085 DEFAULT_wxUSE_TEXTFILE
=no
2086 DEFAULT_wxUSE_SOUND
=no
2087 DEFAULT_wxUSE_MEDIACTRL
=no
2088 DEFAULT_wxUSE_DIRECTSHOW
=no
2089 DEFAULT_wxUSE_INTL
=no
2090 DEFAULT_wxUSE_CONFIG
=no
2091 DEFAULT_wxUSE_FONTMAP
=no
2092 DEFAULT_wxUSE_STREAMS
=no
2093 DEFAULT_wxUSE_SOCKETS
=no
2094 DEFAULT_wxUSE_OLE
=no
2095 DEFAULT_wxUSE_DATAOBJ
=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2097 DEFAULT_wxUSE_JOYSTICK
=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2100 DEFAULT_wxUSE_LONGLONG
=no
2101 DEFAULT_wxUSE_GEOMETRY
=no
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2105 DEFAULT_wxUSE_POSTSCRIPT
=no
2107 DEFAULT_wxUSE_CLIPBOARD
=no
2108 DEFAULT_wxUSE_TOOLTIPS
=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2110 DEFAULT_wxUSE_DRAGIMAGE
=no
2111 DEFAULT_wxUSE_SPLINES
=no
2113 DEFAULT_wxUSE_MDI
=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2118 DEFAULT_wxUSE_RESOURCES
=no
2119 DEFAULT_wxUSE_CONSTRAINTS
=no
2120 DEFAULT_wxUSE_IPC
=no
2121 DEFAULT_wxUSE_HELP
=no
2122 DEFAULT_wxUSE_MS_HTML_HELP
=no
2123 DEFAULT_wxUSE_WXHTML_HELP
=no
2124 DEFAULT_wxUSE_TREELAYOUT
=no
2125 DEFAULT_wxUSE_METAFILE
=no
2126 DEFAULT_wxUSE_MIMETYPE
=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2128 DEFAULT_wxUSE_PROTOCOL
=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2132 DEFAULT_wxUSE_URL
=no
2134 DEFAULT_wxUSE_COMMONDLGS
=no
2135 DEFAULT_wxUSE_CHOICEDLG
=no
2136 DEFAULT_wxUSE_COLOURDLG
=no
2137 DEFAULT_wxUSE_DIRDLG
=no
2138 DEFAULT_wxUSE_FILEDLG
=no
2139 DEFAULT_wxUSE_FINDREPLDLG
=no
2140 DEFAULT_wxUSE_FONTDLG
=no
2141 DEFAULT_wxUSE_MSGDLG
=no
2142 DEFAULT_wxUSE_NUMBERDLG
=no
2143 DEFAULT_wxUSE_TEXTDLG
=no
2144 DEFAULT_wxUSE_SPLASH
=no
2145 DEFAULT_wxUSE_STARTUP_TIPS
=no
2146 DEFAULT_wxUSE_PROGRESSDLG
=no
2147 DEFAULT_wxUSE_WIZARDDLG
=no
2149 DEFAULT_wxUSE_MENUS
=no
2150 DEFAULT_wxUSE_MINIFRAME
=no
2151 DEFAULT_wxUSE_HTML
=no
2152 DEFAULT_wxUSE_XRC
=no
2153 DEFAULT_wxUSE_WEBKIT
=no
2154 DEFAULT_wxUSE_FILESYSTEM
=no
2155 DEFAULT_wxUSE_FS_INET
=no
2156 DEFAULT_wxUSE_FS_ZIP
=no
2157 DEFAULT_wxUSE_BUSYINFO
=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2159 DEFAULT_wxUSE_ZIPSTREAM
=no
2160 DEFAULT_wxUSE_VALIDATORS
=no
2162 DEFAULT_wxUSE_ACCEL
=no
2163 DEFAULT_wxUSE_BUTTON
=no
2164 DEFAULT_wxUSE_BMPBUTTON
=no
2165 DEFAULT_wxUSE_CALCTRL
=no
2166 DEFAULT_wxUSE_CARET
=no
2167 DEFAULT_wxUSE_CHECKBOX
=no
2168 DEFAULT_wxUSE_CHECKLST
=no
2169 DEFAULT_wxUSE_CHOICE
=no
2170 DEFAULT_wxUSE_CHOICEBOOK
=no
2171 DEFAULT_wxUSE_COMBOBOX
=no
2172 DEFAULT_wxUSE_DATEPICKCTRL
=no
2173 DEFAULT_wxUSE_DISPLAY
=no
2174 DEFAULT_wxUSE_GAUGE
=no
2175 DEFAULT_wxUSE_GRID
=no
2176 DEFAULT_wxUSE_IMAGLIST
=no
2177 DEFAULT_wxUSE_LISTBOOK
=no
2178 DEFAULT_wxUSE_LISTBOX
=no
2179 DEFAULT_wxUSE_LISTCTRL
=no
2180 DEFAULT_wxUSE_NOTEBOOK
=no
2181 DEFAULT_wxUSE_RADIOBOX
=no
2182 DEFAULT_wxUSE_RADIOBTN
=no
2183 DEFAULT_wxUSE_SASH
=no
2184 DEFAULT_wxUSE_SCROLLBAR
=no
2185 DEFAULT_wxUSE_SLIDER
=no
2186 DEFAULT_wxUSE_SPINBTN
=no
2187 DEFAULT_wxUSE_SPINCTRL
=no
2188 DEFAULT_wxUSE_SPLITTER
=no
2189 DEFAULT_wxUSE_STATBMP
=no
2190 DEFAULT_wxUSE_STATBOX
=no
2191 DEFAULT_wxUSE_STATLINE
=no
2192 DEFAULT_wxUSE_STATTEXT
=no
2193 DEFAULT_wxUSE_STATUSBAR
=yes
2194 DEFAULT_wxUSE_TABDIALOG
=no
2195 DEFAULT_wxUSE_TEXTCTRL
=no
2196 DEFAULT_wxUSE_TOGGLEBTN
=no
2197 DEFAULT_wxUSE_TOOLBAR
=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2200 DEFAULT_wxUSE_TREECTRL
=no
2201 DEFAULT_wxUSE_POPUPWIN
=no
2202 DEFAULT_wxUSE_TIPWINDOW
=no
2204 DEFAULT_wxUSE_UNICODE
=no
2205 DEFAULT_wxUSE_UNICODE_MSLU
=no
2206 DEFAULT_wxUSE_WCSRTOMBS
=no
2208 DEFAULT_wxUSE_PALETTE
=no
2209 DEFAULT_wxUSE_IMAGE
=no
2210 DEFAULT_wxUSE_GIF
=no
2211 DEFAULT_wxUSE_PCX
=no
2212 DEFAULT_wxUSE_PNM
=no
2213 DEFAULT_wxUSE_IFF
=no
2214 DEFAULT_wxUSE_XPM
=no
2215 DEFAULT_wxUSE_ICO_CUR
=no
2216 DEFAULT_wxUSE_ACCESSIBILITY
=no
2218 DEFAULT_wxUSE_MONOLITHIC
=no
2219 DEFAULT_wxUSE_PLUGINS
=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2222 DEFAULT_wxUSE_UNIVERSAL
=no
2223 DEFAULT_wxUSE_STL
=no
2225 DEFAULT_wxUSE_NANOX
=no
2227 DEFAULT_wxUSE_THREADS
=yes
2229 DEFAULT_wxUSE_SHARED
=yes
2230 DEFAULT_wxUSE_OPTIMISE
=yes
2231 DEFAULT_wxUSE_PROFILE
=no
2232 DEFAULT_wxUSE_NO_DEPS
=no
2233 DEFAULT_wxUSE_NO_RTTI
=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2235 DEFAULT_wxUSE_RPATH
=yes
2236 DEFAULT_wxUSE_PERMISSIVE
=no
2237 DEFAULT_wxUSE_DEBUG_FLAG
=no
2238 DEFAULT_wxUSE_DEBUG_INFO
=no
2239 DEFAULT_wxUSE_DEBUG_GDB
=no
2240 DEFAULT_wxUSE_MEM_TRACING
=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2242 DEFAULT_wxUSE_DMALLOC
=no
2243 DEFAULT_wxUSE_APPLE_IEEE
=yes
2245 DEFAULT_wxUSE_EXCEPTIONS
=yes
2246 DEFAULT_wxUSE_LOG
=yes
2247 DEFAULT_wxUSE_LOGWINDOW
=yes
2248 DEFAULT_wxUSE_LOGGUI
=yes
2249 DEFAULT_wxUSE_LOGDIALOG
=yes
2251 DEFAULT_wxUSE_GUI
=yes
2253 DEFAULT_wxUSE_REGEX
=yes
2254 DEFAULT_wxUSE_XML
=yes
2255 DEFAULT_wxUSE_EXPAT
=yes
2256 DEFAULT_wxUSE_ZLIB
=yes
2257 DEFAULT_wxUSE_LIBPNG
=yes
2258 DEFAULT_wxUSE_LIBJPEG
=yes
2259 DEFAULT_wxUSE_LIBTIFF
=yes
2260 DEFAULT_wxUSE_LIBXPM
=yes
2261 DEFAULT_wxUSE_LIBMSPACK
=yes
2262 DEFAULT_wxUSE_LIBSDL
=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2264 DEFAULT_wxUSE_ODBC
=no
2265 DEFAULT_wxUSE_OPENGL
=no
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2268 DEFAULT_wxUSE_STACKWALKER
=yes
2269 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2270 DEFAULT_wxUSE_STD_IOSTREAM
=no
2271 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2272 DEFAULT_wxUSE_DATETIME
=yes
2273 DEFAULT_wxUSE_TIMER
=yes
2274 DEFAULT_wxUSE_STOPWATCH
=yes
2275 DEFAULT_wxUSE_FILE
=yes
2276 DEFAULT_wxUSE_FFILE
=yes
2277 DEFAULT_wxUSE_TEXTBUFFER
=yes
2278 DEFAULT_wxUSE_TEXTFILE
=yes
2279 DEFAULT_wxUSE_SOUND
=yes
2280 DEFAULT_wxUSE_MEDIACTRL
=no
2281 DEFAULT_wxUSE_DIRECTSHOW
=no
2282 DEFAULT_wxUSE_INTL
=yes
2283 DEFAULT_wxUSE_CONFIG
=yes
2284 DEFAULT_wxUSE_FONTMAP
=yes
2285 DEFAULT_wxUSE_STREAMS
=yes
2286 DEFAULT_wxUSE_SOCKETS
=yes
2287 DEFAULT_wxUSE_OLE
=yes
2288 DEFAULT_wxUSE_DATAOBJ
=yes
2289 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2290 DEFAULT_wxUSE_JOYSTICK
=yes
2291 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2292 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2293 DEFAULT_wxUSE_LONGLONG
=yes
2294 DEFAULT_wxUSE_GEOMETRY
=yes
2296 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2297 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2298 DEFAULT_wxUSE_POSTSCRIPT
=yes
2300 DEFAULT_wxUSE_CLIPBOARD
=yes
2301 DEFAULT_wxUSE_TOOLTIPS
=yes
2302 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2303 DEFAULT_wxUSE_DRAGIMAGE
=yes
2304 DEFAULT_wxUSE_SPLINES
=yes
2306 DEFAULT_wxUSE_MDI
=yes
2307 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2308 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2309 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2311 DEFAULT_wxUSE_RESOURCES
=no
2312 DEFAULT_wxUSE_CONSTRAINTS
=yes
2313 DEFAULT_wxUSE_IPC
=yes
2314 DEFAULT_wxUSE_HELP
=yes
2315 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2316 DEFAULT_wxUSE_WXHTML_HELP
=yes
2317 DEFAULT_wxUSE_TREELAYOUT
=yes
2318 DEFAULT_wxUSE_METAFILE
=yes
2319 DEFAULT_wxUSE_MIMETYPE
=yes
2320 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2321 DEFAULT_wxUSE_PROTOCOL
=yes
2322 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2323 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2324 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2325 DEFAULT_wxUSE_URL
=yes
2327 DEFAULT_wxUSE_COMMONDLGS
=yes
2328 DEFAULT_wxUSE_CHOICEDLG
=yes
2329 DEFAULT_wxUSE_COLOURDLG
=yes
2330 DEFAULT_wxUSE_DIRDLG
=yes
2331 DEFAULT_wxUSE_FILEDLG
=yes
2332 DEFAULT_wxUSE_FINDREPLDLG
=yes
2333 DEFAULT_wxUSE_FONTDLG
=yes
2334 DEFAULT_wxUSE_MSGDLG
=yes
2335 DEFAULT_wxUSE_NUMBERDLG
=yes
2336 DEFAULT_wxUSE_TEXTDLG
=yes
2337 DEFAULT_wxUSE_SPLASH
=yes
2338 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2339 DEFAULT_wxUSE_PROGRESSDLG
=yes
2340 DEFAULT_wxUSE_WIZARDDLG
=yes
2342 DEFAULT_wxUSE_MENUS
=yes
2343 DEFAULT_wxUSE_MINIFRAME
=yes
2344 DEFAULT_wxUSE_HTML
=yes
2345 DEFAULT_wxUSE_XRC
=yes
2346 DEFAULT_wxUSE_WEBKIT
=yes
2347 DEFAULT_wxUSE_FILESYSTEM
=yes
2348 DEFAULT_wxUSE_FS_INET
=yes
2349 DEFAULT_wxUSE_FS_ZIP
=yes
2350 DEFAULT_wxUSE_BUSYINFO
=yes
2351 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2352 DEFAULT_wxUSE_ZIPSTREAM
=yes
2353 DEFAULT_wxUSE_VALIDATORS
=yes
2355 DEFAULT_wxUSE_ACCEL
=yes
2356 DEFAULT_wxUSE_BUTTON
=yes
2357 DEFAULT_wxUSE_BMPBUTTON
=yes
2358 DEFAULT_wxUSE_CALCTRL
=yes
2359 DEFAULT_wxUSE_CARET
=yes
2360 DEFAULT_wxUSE_CHECKBOX
=yes
2361 DEFAULT_wxUSE_CHECKLST
=yes
2362 DEFAULT_wxUSE_CHOICE
=yes
2363 DEFAULT_wxUSE_CHOICEBOOK
=yes
2364 DEFAULT_wxUSE_COMBOBOX
=yes
2365 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2366 DEFAULT_wxUSE_DISPLAY
=yes
2367 DEFAULT_wxUSE_GAUGE
=yes
2368 DEFAULT_wxUSE_GRID
=yes
2369 DEFAULT_wxUSE_IMAGLIST
=yes
2370 DEFAULT_wxUSE_LISTBOOK
=yes
2371 DEFAULT_wxUSE_LISTBOX
=yes
2372 DEFAULT_wxUSE_LISTCTRL
=yes
2373 DEFAULT_wxUSE_NOTEBOOK
=yes
2374 DEFAULT_wxUSE_RADIOBOX
=yes
2375 DEFAULT_wxUSE_RADIOBTN
=yes
2376 DEFAULT_wxUSE_SASH
=yes
2377 DEFAULT_wxUSE_SCROLLBAR
=yes
2378 DEFAULT_wxUSE_SLIDER
=yes
2379 DEFAULT_wxUSE_SPINBTN
=yes
2380 DEFAULT_wxUSE_SPINCTRL
=yes
2381 DEFAULT_wxUSE_SPLITTER
=yes
2382 DEFAULT_wxUSE_STATBMP
=yes
2383 DEFAULT_wxUSE_STATBOX
=yes
2384 DEFAULT_wxUSE_STATLINE
=yes
2385 DEFAULT_wxUSE_STATTEXT
=yes
2386 DEFAULT_wxUSE_STATUSBAR
=yes
2387 DEFAULT_wxUSE_TABDIALOG
=no
2388 DEFAULT_wxUSE_TEXTCTRL
=yes
2389 DEFAULT_wxUSE_TOGGLEBTN
=yes
2390 DEFAULT_wxUSE_TOOLBAR
=yes
2391 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2392 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2393 DEFAULT_wxUSE_TREECTRL
=yes
2394 DEFAULT_wxUSE_POPUPWIN
=yes
2395 DEFAULT_wxUSE_TIPWINDOW
=yes
2397 DEFAULT_wxUSE_UNICODE
=no
2398 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2399 DEFAULT_wxUSE_WCSRTOMBS
=no
2401 DEFAULT_wxUSE_PALETTE
=yes
2402 DEFAULT_wxUSE_IMAGE
=yes
2403 DEFAULT_wxUSE_GIF
=yes
2404 DEFAULT_wxUSE_PCX
=yes
2405 DEFAULT_wxUSE_IFF
=no
2406 DEFAULT_wxUSE_PNM
=yes
2407 DEFAULT_wxUSE_XPM
=yes
2408 DEFAULT_wxUSE_ICO_CUR
=yes
2409 DEFAULT_wxUSE_ACCESSIBILITY
=no
2411 DEFAULT_wxUSE_MONOLITHIC
=no
2412 DEFAULT_wxUSE_PLUGINS
=no
2413 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2415 DEFAULT_wxUSE_GTK2
=yes
2420 for toolkit
in `echo $ALL_TOOLKITS`; do
2421 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2422 if test "x$LINE" != "x" ; then
2423 has_toolkit_in_cache
=1
2424 eval "DEFAULT_$LINE"
2425 eval "CACHE_$toolkit=1"
2432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2433 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2435 # Check whether --enable-gui or --disable-gui was given.
2436 if test "${enable_gui+set}" = set; then
2437 enableval
="$enable_gui"
2439 if test "$enableval" = yes; then
2440 ac_cv_use_gui
='wxUSE_GUI=yes'
2442 ac_cv_use_gui
='wxUSE_GUI=no'
2447 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x
; then
2449 eval "DEFAULT_$LINE"
2454 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2458 eval "$ac_cv_use_gui"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2463 if test "$wxUSE_GUI" = yes; then
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2474 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2476 # Check whether --enable-monolithic or --disable-monolithic was given.
2477 if test "${enable_monolithic+set}" = set; then
2478 enableval
="$enable_monolithic"
2480 if test "$enableval" = yes; then
2481 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2483 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2488 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x
; then
2490 eval "DEFAULT_$LINE"
2495 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2499 eval "$ac_cv_use_monolithic"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2504 if test "$wxUSE_MONOLITHIC" = yes; then
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2515 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2517 # Check whether --enable-plugins or --disable-plugins was given.
2518 if test "${enable_plugins+set}" = set; then
2519 enableval
="$enable_plugins"
2521 if test "$enableval" = yes; then
2522 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2524 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2529 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2530 if test "x$LINE" != x
; then
2531 eval "DEFAULT_$LINE"
2536 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2540 eval "$ac_cv_use_plugins"
2541 if test "$no_cache" != 1; then
2542 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2545 if test "$wxUSE_PLUGINS" = yes; then
2546 echo "$as_me:$LINENO: result: yes" >&5
2547 echo "${ECHO_T}yes" >&6
2549 echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6
2554 if test "$wxUSE_GUI" = "yes"; then
2558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2559 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2561 # Check whether --enable-universal or --disable-universal was given.
2562 if test "${enable_universal+set}" = set; then
2563 enableval
="$enable_universal"
2565 if test "$enableval" = yes; then
2566 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2568 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2573 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2574 if test "x$LINE" != x
; then
2575 eval "DEFAULT_$LINE"
2580 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2584 eval "$ac_cv_use_universal"
2585 if test "$no_cache" != 1; then
2586 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2589 if test "$wxUSE_UNIVERSAL" = yes; then
2590 echo "$as_me:$LINENO: result: yes" >&5
2591 echo "${ECHO_T}yes" >&6
2593 echo "$as_me:$LINENO: result: no" >&5
2594 echo "${ECHO_T}no" >&6
2598 # Check whether --with-gtk or --without-gtk was given.
2599 if test "${with_gtk+set}" = set; then
2601 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2604 # Check whether --with-motif or --without-motif was given.
2605 if test "${with_motif+set}" = set; then
2606 withval
="$with_motif"
2607 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2610 # Check whether --with-mac or --without-mac was given.
2611 if test "${with_mac+set}" = set; then
2613 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2616 # Check whether --with-cocoa or --without-cocoa was given.
2617 if test "${with_cocoa+set}" = set; then
2618 withval
="$with_cocoa"
2619 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2622 # Check whether --with-wine or --without-wine was given.
2623 if test "${with_wine+set}" = set; then
2624 withval
="$with_wine"
2625 wxUSE_WINE
="$withval" CACHE_WINE
=1
2628 # Check whether --with-msw or --without-msw was given.
2629 if test "${with_msw+set}" = set; then
2631 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2634 # Check whether --with-pm or --without-pm was given.
2635 if test "${with_pm+set}" = set; then
2637 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2640 # Check whether --with-mgl or --without-mgl was given.
2641 if test "${with_mgl+set}" = set; then
2643 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2646 # Check whether --with-microwin or --without-microwin was given.
2647 if test "${with_microwin+set}" = set; then
2648 withval
="$with_microwin"
2649 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2652 # Check whether --with-x11 or --without-x11 was given.
2653 if test "${with_x11+set}" = set; then
2655 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2660 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2662 # Check whether --enable-nanox or --disable-nanox was given.
2663 if test "${enable_nanox+set}" = set; then
2664 enableval
="$enable_nanox"
2666 if test "$enableval" = yes; then
2667 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2669 ac_cv_use_nanox
='wxUSE_NANOX=no'
2674 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x
; then
2676 eval "DEFAULT_$LINE"
2681 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2685 eval "$ac_cv_use_nanox"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2690 if test "$wxUSE_NANOX" = yes; then
2691 echo "$as_me:$LINENO: result: yes" >&5
2692 echo "${ECHO_T}yes" >&6
2694 echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2704 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2705 if test "${enable_gtk2+set}" = set; then
2706 enableval
="$enable_gtk2"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2711 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2716 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2727 eval "$ac_cv_use_gtk2"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_GTK2" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2743 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2745 # Check whether --enable-gpe or --disable-gpe was given.
2746 if test "${enable_gpe+set}" = set; then
2747 enableval
="$enable_gpe"
2749 if test "$enableval" = yes; then
2750 ac_cv_use_gpe
='wxUSE_GPE=yes'
2752 ac_cv_use_gpe
='wxUSE_GPE=no'
2757 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2758 if test "x$LINE" != x
; then
2759 eval "DEFAULT_$LINE"
2764 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2768 eval "$ac_cv_use_gpe"
2769 if test "$no_cache" != 1; then
2770 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2773 if test "$wxUSE_GPE" = yes; then
2774 echo "$as_me:$LINENO: result: yes" >&5
2775 echo "${ECHO_T}yes" >&6
2777 echo "$as_me:$LINENO: result: no" >&5
2778 echo "${ECHO_T}no" >&6
2783 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2784 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2787 # Check whether --with-libpng or --without-libpng was given.
2788 if test "${with_libpng+set}" = set; then
2789 withval
="$with_libpng"
2791 if test "$withval" = yes; then
2792 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2793 elif test "$withval" = no
; then
2794 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2795 elif test "$withval" = sys
; then
2796 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2797 elif test "$withval" = builtin; then
2798 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2801 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2802 { (exit 1); exit 1; }; }
2807 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x
; then
2809 eval "DEFAULT_$LINE"
2814 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2818 eval "$ac_cv_use_libpng"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_LIBPNG" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2826 elif test "$wxUSE_LIBPNG" = no
; then
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2829 elif test "$wxUSE_LIBPNG" = sys
; then
2830 echo "$as_me:$LINENO: result: system version" >&5
2831 echo "${ECHO_T}system version" >&6
2832 elif test "$wxUSE_LIBPNG" = builtin; then
2833 echo "$as_me:$LINENO: result: builtin version" >&5
2834 echo "${ECHO_T}builtin version" >&6
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2842 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2843 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2846 # Check whether --with-libjpeg or --without-libjpeg was given.
2847 if test "${with_libjpeg+set}" = set; then
2848 withval
="$with_libjpeg"
2850 if test "$withval" = yes; then
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2852 elif test "$withval" = no
; then
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2854 elif test "$withval" = sys
; then
2855 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2856 elif test "$withval" = builtin; then
2857 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2866 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2877 eval "$ac_cv_use_libjpeg"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_LIBJPEG" = yes; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2885 elif test "$wxUSE_LIBJPEG" = no
; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2888 elif test "$wxUSE_LIBJPEG" = sys
; then
2889 echo "$as_me:$LINENO: result: system version" >&5
2890 echo "${ECHO_T}system version" >&6
2891 elif test "$wxUSE_LIBJPEG" = builtin; then
2892 echo "$as_me:$LINENO: result: builtin version" >&5
2893 echo "${ECHO_T}builtin version" >&6
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2901 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2902 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2905 # Check whether --with-libtiff or --without-libtiff was given.
2906 if test "${with_libtiff+set}" = set; then
2907 withval
="$with_libtiff"
2909 if test "$withval" = yes; then
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2911 elif test "$withval" = no
; then
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2913 elif test "$withval" = sys
; then
2914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2915 elif test "$withval" = builtin; then
2916 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2925 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x
; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2936 eval "$ac_cv_use_libtiff"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2941 if test "$wxUSE_LIBTIFF" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6
2944 elif test "$wxUSE_LIBTIFF" = no
; then
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2947 elif test "$wxUSE_LIBTIFF" = sys
; then
2948 echo "$as_me:$LINENO: result: system version" >&5
2949 echo "${ECHO_T}system version" >&6
2950 elif test "$wxUSE_LIBTIFF" = builtin; then
2951 echo "$as_me:$LINENO: result: builtin version" >&5
2952 echo "${ECHO_T}builtin version" >&6
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2960 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2961 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2964 # Check whether --with-libxpm or --without-libxpm was given.
2965 if test "${with_libxpm+set}" = set; then
2966 withval
="$with_libxpm"
2968 if test "$withval" = yes; then
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2970 elif test "$withval" = no
; then
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2972 elif test "$withval" = sys
; then
2973 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2974 elif test "$withval" = builtin; then
2975 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2984 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2995 eval "$ac_cv_use_libxpm"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_LIBXPM" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 elif test "$wxUSE_LIBXPM" = no
; then
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 elif test "$wxUSE_LIBXPM" = sys
; then
3007 echo "$as_me:$LINENO: result: system version" >&5
3008 echo "${ECHO_T}system version" >&6
3009 elif test "$wxUSE_LIBXPM" = builtin; then
3010 echo "$as_me:$LINENO: result: builtin version" >&5
3011 echo "${ECHO_T}builtin version" >&6
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3019 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3020 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3023 # Check whether --with-libmspack or --without-libmspack was given.
3024 if test "${with_libmspack+set}" = set; then
3025 withval
="$with_libmspack"
3027 if test "$withval" = yes; then
3028 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3030 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3035 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x
; then
3037 eval "DEFAULT_$LINE"
3042 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3046 eval "$ac_cv_use_libmspack"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3051 if test "$wxUSE_LIBMSPACK" = yes; then
3052 echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3060 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3061 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3064 # Check whether --with-sdl or --without-sdl was given.
3065 if test "${with_sdl+set}" = set; then
3068 if test "$withval" = yes; then
3069 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3071 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3076 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3077 if test "x$LINE" != x
; then
3078 eval "DEFAULT_$LINE"
3083 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3087 eval "$ac_cv_use_sdl"
3088 if test "$no_cache" != 1; then
3089 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3092 if test "$wxUSE_LIBSDL" = yes; then
3093 echo "$as_me:$LINENO: result: yes" >&5
3094 echo "${ECHO_T}yes" >&6
3096 echo "$as_me:$LINENO: result: no" >&5
3097 echo "${ECHO_T}no" >&6
3101 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3102 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3105 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3106 if test "${with_gnomeprint+set}" = set; then
3107 withval
="$with_gnomeprint"
3109 if test "$withval" = yes; then
3110 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3112 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3117 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x
; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3128 eval "$ac_cv_use_gnomeprint"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3142 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3143 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3146 # Check whether --with-opengl or --without-opengl was given.
3147 if test "${with_opengl+set}" = set; then
3148 withval
="$with_opengl"
3150 if test "$withval" = yes; then
3151 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3153 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3158 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x
; then
3160 eval "DEFAULT_$LINE"
3165 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3169 eval "$ac_cv_use_opengl"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3174 if test "$wxUSE_OPENGL" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3186 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3187 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3190 # Check whether --with-dmalloc or --without-dmalloc was given.
3191 if test "${with_dmalloc+set}" = set; then
3192 withval
="$with_dmalloc"
3194 if test "$withval" = yes; then
3195 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3197 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3202 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x
; then
3204 eval "DEFAULT_$LINE"
3209 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3213 eval "$ac_cv_use_dmalloc"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3218 if test "$wxUSE_DMALLOC" = yes; then
3219 echo "$as_me:$LINENO: result: yes" >&5
3220 echo "${ECHO_T}yes" >&6
3222 echo "$as_me:$LINENO: result: no" >&5
3223 echo "${ECHO_T}no" >&6
3227 echo "$as_me:$LINENO: checking for --with-regex" >&5
3228 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3231 # Check whether --with-regex or --without-regex was given.
3232 if test "${with_regex+set}" = set; then
3233 withval
="$with_regex"
3235 if test "$withval" = yes; then
3236 ac_cv_use_regex
='wxUSE_REGEX=yes'
3237 elif test "$withval" = no
; then
3238 ac_cv_use_regex
='wxUSE_REGEX=no'
3239 elif test "$withval" = sys
; then
3240 ac_cv_use_regex
='wxUSE_REGEX=sys'
3241 elif test "$withval" = builtin; then
3242 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3244 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3245 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3246 { (exit 1); exit 1; }; }
3251 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3262 eval "$ac_cv_use_regex"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3267 if test "$wxUSE_REGEX" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269 echo "${ECHO_T}yes" >&6
3270 elif test "$wxUSE_REGEX" = no
; then
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3273 elif test "$wxUSE_REGEX" = sys
; then
3274 echo "$as_me:$LINENO: result: system version" >&5
3275 echo "${ECHO_T}system version" >&6
3276 elif test "$wxUSE_REGEX" = builtin; then
3277 echo "$as_me:$LINENO: result: builtin version" >&5
3278 echo "${ECHO_T}builtin version" >&6
3280 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3281 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3282 { (exit 1); exit 1; }; }
3286 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3287 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3290 # Check whether --with-zlib or --without-zlib was given.
3291 if test "${with_zlib+set}" = set; then
3292 withval
="$with_zlib"
3294 if test "$withval" = yes; then
3295 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3296 elif test "$withval" = no
; then
3297 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3298 elif test "$withval" = sys
; then
3299 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3300 elif test "$withval" = builtin; then
3301 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3303 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3304 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3305 { (exit 1); exit 1; }; }
3310 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x
; then
3312 eval "DEFAULT_$LINE"
3317 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3321 eval "$ac_cv_use_zlib"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3326 if test "$wxUSE_ZLIB" = yes; then
3327 echo "$as_me:$LINENO: result: yes" >&5
3328 echo "${ECHO_T}yes" >&6
3329 elif test "$wxUSE_ZLIB" = no
; then
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3332 elif test "$wxUSE_ZLIB" = sys
; then
3333 echo "$as_me:$LINENO: result: system version" >&5
3334 echo "${ECHO_T}system version" >&6
3335 elif test "$wxUSE_ZLIB" = builtin; then
3336 echo "$as_me:$LINENO: result: builtin version" >&5
3337 echo "${ECHO_T}builtin version" >&6
3339 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3340 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3341 { (exit 1); exit 1; }; }
3345 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3346 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3349 # Check whether --with-odbc or --without-odbc was given.
3350 if test "${with_odbc+set}" = set; then
3351 withval
="$with_odbc"
3353 if test "$withval" = yes; then
3354 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3355 elif test "$withval" = no
; then
3356 ac_cv_use_odbc
='wxUSE_ODBC=no'
3357 elif test "$withval" = sys
; then
3358 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3359 elif test "$withval" = builtin; then
3360 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3362 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3363 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3364 { (exit 1); exit 1; }; }
3369 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x
; then
3371 eval "DEFAULT_$LINE"
3376 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3380 eval "$ac_cv_use_odbc"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_ODBC" = yes; then
3386 echo "$as_me:$LINENO: result: yes" >&5
3387 echo "${ECHO_T}yes" >&6
3388 elif test "$wxUSE_ODBC" = no
; then
3389 echo "$as_me:$LINENO: result: no" >&5
3390 echo "${ECHO_T}no" >&6
3391 elif test "$wxUSE_ODBC" = sys
; then
3392 echo "$as_me:$LINENO: result: system version" >&5
3393 echo "${ECHO_T}system version" >&6
3394 elif test "$wxUSE_ODBC" = builtin; then
3395 echo "$as_me:$LINENO: result: builtin version" >&5
3396 echo "${ECHO_T}builtin version" >&6
3398 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3399 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3400 { (exit 1); exit 1; }; }
3404 echo "$as_me:$LINENO: checking for --with-expat" >&5
3405 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3408 # Check whether --with-expat or --without-expat was given.
3409 if test "${with_expat+set}" = set; then
3410 withval
="$with_expat"
3412 if test "$withval" = yes; then
3413 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3414 elif test "$withval" = no
; then
3415 ac_cv_use_expat
='wxUSE_EXPAT=no'
3416 elif test "$withval" = sys
; then
3417 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3418 elif test "$withval" = builtin; then
3419 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3421 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3422 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3423 { (exit 1); exit 1; }; }
3428 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x
; then
3430 eval "DEFAULT_$LINE"
3435 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3439 eval "$ac_cv_use_expat"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3444 if test "$wxUSE_EXPAT" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3447 elif test "$wxUSE_EXPAT" = no
; then
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3450 elif test "$wxUSE_EXPAT" = sys
; then
3451 echo "$as_me:$LINENO: result: system version" >&5
3452 echo "${ECHO_T}system version" >&6
3453 elif test "$wxUSE_EXPAT" = builtin; then
3454 echo "$as_me:$LINENO: result: builtin version" >&5
3455 echo "${ECHO_T}builtin version" >&6
3457 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3458 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3459 { (exit 1); exit 1; }; }
3466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3469 # Check whether --enable-shared or --disable-shared was given.
3470 if test "${enable_shared+set}" = set; then
3471 enableval
="$enable_shared"
3473 if test "$enableval" = yes; then
3474 ac_cv_use_shared
='wxUSE_SHARED=yes'
3476 ac_cv_use_shared
='wxUSE_SHARED=no'
3481 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x
; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3492 eval "$ac_cv_use_shared"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_SHARED" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3508 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3510 # Check whether --enable-optimise or --disable-optimise was given.
3511 if test "${enable_optimise+set}" = set; then
3512 enableval
="$enable_optimise"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3517 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3522 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3533 eval "$ac_cv_use_optimise"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3538 if test "$wxUSE_OPTIMISE" = yes; then
3539 echo "$as_me:$LINENO: result: yes" >&5
3540 echo "${ECHO_T}yes" >&6
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3549 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3551 # Check whether --enable-debug or --disable-debug was given.
3552 if test "${enable_debug+set}" = set; then
3553 enableval
="$enable_debug"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3558 ac_cv_use_debug
='wxUSE_DEBUG=no'
3563 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3574 eval "$ac_cv_use_debug"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3579 if test "$wxUSE_DEBUG" = yes; then
3580 echo "$as_me:$LINENO: result: yes" >&5
3581 echo "${ECHO_T}yes" >&6
3583 echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6
3589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3590 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3592 # Check whether --enable-stl or --disable-stl was given.
3593 if test "${enable_stl+set}" = set; then
3594 enableval
="$enable_stl"
3596 if test "$enableval" = yes; then
3597 ac_cv_use_stl
='wxUSE_STL=yes'
3599 ac_cv_use_stl
='wxUSE_STL=no'
3604 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x
; then
3606 eval "DEFAULT_$LINE"
3611 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3615 eval "$ac_cv_use_stl"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_STL" = yes; then
3621 echo "$as_me:$LINENO: result: yes" >&5
3622 echo "${ECHO_T}yes" >&6
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3628 if test "$USE_OS2" = "1"; then
3631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3632 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3634 # Check whether --enable-omf or --disable-omf was given.
3635 if test "${enable_omf+set}" = set; then
3636 enableval
="$enable_omf"
3638 if test "$enableval" = yes; then
3639 ac_cv_use_omf
='wxUSE_OMF=yes'
3641 ac_cv_use_omf
='wxUSE_OMF=no'
3646 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x
; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3657 eval "$ac_cv_use_omf"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3662 if test "$wxUSE_OMF" = yes; then
3663 echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3672 if test "$wxUSE_DEBUG" = "yes"; then
3673 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3674 DEFAULT_wxUSE_DEBUG_INFO
=yes
3676 elif test "$wxUSE_DEBUG" = "no"; then
3677 DEFAULT_wxUSE_DEBUG_FLAG
=no
3678 DEFAULT_wxUSE_DEBUG_INFO
=no
3684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3685 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3687 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3688 if test "${enable_debug_flag+set}" = set; then
3689 enableval
="$enable_debug_flag"
3691 if test "$enableval" = yes; then
3692 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3694 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3699 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x
; then
3701 eval "DEFAULT_$LINE"
3706 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3710 eval "$ac_cv_use_debug_flag"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3715 if test "$wxUSE_DEBUG_FLAG" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3726 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3728 # Check whether --enable-debug_info or --disable-debug_info was given.
3729 if test "${enable_debug_info+set}" = set; then
3730 enableval
="$enable_debug_info"
3732 if test "$enableval" = yes; then
3733 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3735 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3740 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3741 if test "x$LINE" != x
; then
3742 eval "DEFAULT_$LINE"
3747 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3751 eval "$ac_cv_use_debug_info"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3756 if test "$wxUSE_DEBUG_INFO" = yes; then
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3760 echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3769 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3770 if test "${enable_debug_gdb+set}" = set; then
3771 enableval
="$enable_debug_gdb"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3776 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3781 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3792 eval "$ac_cv_use_debug_gdb"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_DEBUG_GDB" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3810 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3811 if test "${enable_debug_cntxt+set}" = set; then
3812 enableval
="$enable_debug_cntxt"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3817 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3822 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x
; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3833 eval "$ac_cv_use_debug_cntxt"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3851 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3852 if test "${enable_mem_tracing+set}" = set; then
3853 enableval
="$enable_mem_tracing"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3858 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3863 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x
; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3874 eval "$ac_cv_use_mem_tracing"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_MEM_TRACING" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3892 # Check whether --enable-profile or --disable-profile was given.
3893 if test "${enable_profile+set}" = set; then
3894 enableval
="$enable_profile"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3899 ac_cv_use_profile
='wxUSE_PROFILE=no'
3904 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3915 eval "$ac_cv_use_profile"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_PROFILE" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3933 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3934 if test "${enable_no_rtti+set}" = set; then
3935 enableval
="$enable_no_rtti"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3940 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3945 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x
; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3956 eval "$ac_cv_use_no_rtti"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3961 if test "$wxUSE_NO_RTTI" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3974 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3975 if test "${enable_no_exceptions+set}" = set; then
3976 enableval
="$enable_no_exceptions"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3981 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3986 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x
; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3997 eval "$ac_cv_use_no_exceptions"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4015 # Check whether --enable-permissive or --disable-permissive was given.
4016 if test "${enable_permissive+set}" = set; then
4017 enableval
="$enable_permissive"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4022 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4027 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x
; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4038 eval "$ac_cv_use_permissive"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_PERMISSIVE" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4056 # Check whether --enable-no_deps or --disable-no_deps was given.
4057 if test "${enable_no_deps+set}" = set; then
4058 enableval
="$enable_no_deps"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4063 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4068 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4079 eval "$ac_cv_use_no_deps"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_NO_DEPS" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4096 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4098 # Check whether --enable-compat22 or --disable-compat22 was given.
4099 if test "${enable_compat22+set}" = set; then
4100 enableval
="$enable_compat22"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4105 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4110 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x
; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4121 eval "$ac_cv_use_compat22"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4126 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4127 echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4135 enablestring
=disable
4136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4139 # Check whether --enable-compat24 or --disable-compat24 was given.
4140 if test "${enable_compat24+set}" = set; then
4141 enableval
="$enable_compat24"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4146 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4151 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x
; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4162 eval "$ac_cv_use_compat24"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4167 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4181 # Check whether --enable-rpath or --disable-rpath was given.
4182 if test "${enable_rpath+set}" = set; then
4183 enableval
="$enable_rpath"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4188 ac_cv_use_rpath
='wxUSE_RPATH=no'
4193 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x
; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4204 eval "$ac_cv_use_rpath"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4209 if test "$wxUSE_RPATH" = yes; then
4210 echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4223 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4225 # Check whether --enable-intl or --disable-intl was given.
4226 if test "${enable_intl+set}" = set; then
4227 enableval
="$enable_intl"
4229 if test "$enableval" = yes; then
4230 ac_cv_use_intl
='wxUSE_INTL=yes'
4232 ac_cv_use_intl
='wxUSE_INTL=no'
4237 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4238 if test "x$LINE" != x
; then
4239 eval "DEFAULT_$LINE"
4244 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4248 eval "$ac_cv_use_intl"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4253 if test "$wxUSE_INTL" = yes; then
4254 echo "$as_me:$LINENO: result: yes" >&5
4255 echo "${ECHO_T}yes" >&6
4257 echo "$as_me:$LINENO: result: no" >&5
4258 echo "${ECHO_T}no" >&6
4263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4264 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4266 # Check whether --enable-config or --disable-config was given.
4267 if test "${enable_config+set}" = set; then
4268 enableval
="$enable_config"
4270 if test "$enableval" = yes; then
4271 ac_cv_use_config
='wxUSE_CONFIG=yes'
4273 ac_cv_use_config
='wxUSE_CONFIG=no'
4278 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x
; then
4280 eval "DEFAULT_$LINE"
4285 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4289 eval "$ac_cv_use_config"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4294 if test "$wxUSE_CONFIG" = yes; then
4295 echo "$as_me:$LINENO: result: yes" >&5
4296 echo "${ECHO_T}yes" >&6
4298 echo "$as_me:$LINENO: result: no" >&5
4299 echo "${ECHO_T}no" >&6
4305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4306 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4308 # Check whether --enable-protocols or --disable-protocols was given.
4309 if test "${enable_protocols+set}" = set; then
4310 enableval
="$enable_protocols"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4315 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4320 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x
; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4331 eval "$ac_cv_use_protocols"
4332 if test "$no_cache" != 1; then
4333 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4336 if test "$wxUSE_PROTOCOL" = yes; then
4337 echo "$as_me:$LINENO: result: yes" >&5
4338 echo "${ECHO_T}yes" >&6
4340 echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6
4346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4347 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4349 # Check whether --enable-ftp or --disable-ftp was given.
4350 if test "${enable_ftp+set}" = set; then
4351 enableval
="$enable_ftp"
4353 if test "$enableval" = yes; then
4354 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4356 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4361 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x
; then
4363 eval "DEFAULT_$LINE"
4368 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4372 eval "$ac_cv_use_ftp"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4378 echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4388 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4390 # Check whether --enable-http or --disable-http was given.
4391 if test "${enable_http+set}" = set; then
4392 enableval
="$enable_http"
4394 if test "$enableval" = yes; then
4395 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4397 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4402 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x
; then
4404 eval "DEFAULT_$LINE"
4409 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4413 eval "$ac_cv_use_http"
4414 if test "$no_cache" != 1; then
4415 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4418 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4419 echo "$as_me:$LINENO: result: yes" >&5
4420 echo "${ECHO_T}yes" >&6
4422 echo "$as_me:$LINENO: result: no" >&5
4423 echo "${ECHO_T}no" >&6
4428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4429 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4431 # Check whether --enable-fileproto or --disable-fileproto was given.
4432 if test "${enable_fileproto+set}" = set; then
4433 enableval
="$enable_fileproto"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4438 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4443 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x
; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4454 eval "$ac_cv_use_fileproto"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4459 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4472 # Check whether --enable-sockets or --disable-sockets was given.
4473 if test "${enable_sockets+set}" = set; then
4474 enableval
="$enable_sockets"
4476 if test "$enableval" = yes; then
4477 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4479 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4484 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x
; then
4486 eval "DEFAULT_$LINE"
4491 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4495 eval "$ac_cv_use_sockets"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4500 if test "$wxUSE_SOCKETS" = yes; then
4501 echo "$as_me:$LINENO: result: yes" >&5
4502 echo "${ECHO_T}yes" >&6
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4511 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4513 # Check whether --enable-ole or --disable-ole was given.
4514 if test "${enable_ole+set}" = set; then
4515 enableval
="$enable_ole"
4517 if test "$enableval" = yes; then
4518 ac_cv_use_ole
='wxUSE_OLE=yes'
4520 ac_cv_use_ole
='wxUSE_OLE=no'
4525 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4532 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4536 eval "$ac_cv_use_ole"
4537 if test "$no_cache" != 1; then
4538 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4541 if test "$wxUSE_OLE" = yes; then
4542 echo "$as_me:$LINENO: result: yes" >&5
4543 echo "${ECHO_T}yes" >&6
4545 echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6
4551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4552 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4554 # Check whether --enable-dataobj or --disable-dataobj was given.
4555 if test "${enable_dataobj+set}" = set; then
4556 enableval
="$enable_dataobj"
4558 if test "$enableval" = yes; then
4559 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4561 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4566 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x
; then
4568 eval "DEFAULT_$LINE"
4573 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4577 eval "$ac_cv_use_dataobj"
4578 if test "$no_cache" != 1; then
4579 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4582 if test "$wxUSE_DATAOBJ" = yes; then
4583 echo "$as_me:$LINENO: result: yes" >&5
4584 echo "${ECHO_T}yes" >&6
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4596 # Check whether --enable-ipc or --disable-ipc was given.
4597 if test "${enable_ipc+set}" = set; then
4598 enableval
="$enable_ipc"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_ipc
='wxUSE_IPC=yes'
4603 ac_cv_use_ipc
='wxUSE_IPC=no'
4608 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x
; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4619 eval "$ac_cv_use_ipc"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_IPC" = yes; then
4625 echo "$as_me:$LINENO: result: yes" >&5
4626 echo "${ECHO_T}yes" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4638 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4639 if test "${enable_apple_ieee+set}" = set; then
4640 enableval
="$enable_apple_ieee"
4642 if test "$enableval" = yes; then
4643 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4645 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4650 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x
; then
4652 eval "DEFAULT_$LINE"
4657 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4661 eval "$ac_cv_use_apple_ieee"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4666 if test "$wxUSE_APPLE_IEEE" = yes; then
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4679 # Check whether --enable-arcstream or --disable-arcstream was given.
4680 if test "${enable_arcstream+set}" = set; then
4681 enableval
="$enable_arcstream"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4686 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4691 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x
; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4702 eval "$ac_cv_use_arcstream"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4720 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4721 if test "${enable_catch_segvs+set}" = set; then
4722 enableval
="$enable_catch_segvs"
4724 if test "$enableval" = yes; then
4725 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4727 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4732 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x
; then
4734 eval "DEFAULT_$LINE"
4739 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4743 eval "$ac_cv_use_catch_segvs"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4761 # Check whether --enable-backtrace or --disable-backtrace was given.
4762 if test "${enable_backtrace+set}" = set; then
4763 enableval
="$enable_backtrace"
4765 if test "$enableval" = yes; then
4766 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4768 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4773 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x
; then
4775 eval "DEFAULT_$LINE"
4780 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4784 eval "$ac_cv_use_backtrace"
4785 if test "$no_cache" != 1; then
4786 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4789 if test "$wxUSE_STACKWALKER" = yes; then
4790 echo "$as_me:$LINENO: result: yes" >&5
4791 echo "${ECHO_T}yes" >&6
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4802 # Check whether --enable-cmdline or --disable-cmdline was given.
4803 if test "${enable_cmdline+set}" = set; then
4804 enableval
="$enable_cmdline"
4806 if test "$enableval" = yes; then
4807 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4809 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4814 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x
; then
4816 eval "DEFAULT_$LINE"
4821 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4825 eval "$ac_cv_use_cmdline"
4826 if test "$no_cache" != 1; then
4827 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4830 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4831 echo "$as_me:$LINENO: result: yes" >&5
4832 echo "${ECHO_T}yes" >&6
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4843 # Check whether --enable-datetime or --disable-datetime was given.
4844 if test "${enable_datetime+set}" = set; then
4845 enableval
="$enable_datetime"
4847 if test "$enableval" = yes; then
4848 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4850 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4855 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4862 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4866 eval "$ac_cv_use_datetime"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4871 if test "$wxUSE_DATETIME" = yes; then
4872 echo "$as_me:$LINENO: result: yes" >&5
4873 echo "${ECHO_T}yes" >&6
4875 echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6
4881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4882 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4884 # Check whether --enable-dialupman or --disable-dialupman was given.
4885 if test "${enable_dialupman+set}" = set; then
4886 enableval
="$enable_dialupman"
4888 if test "$enableval" = yes; then
4889 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4891 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4896 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4897 if test "x$LINE" != x
; then
4898 eval "DEFAULT_$LINE"
4903 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4907 eval "$ac_cv_use_dialupman"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4912 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4913 echo "$as_me:$LINENO: result: yes" >&5
4914 echo "${ECHO_T}yes" >&6
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4923 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4925 # Check whether --enable-dynlib or --disable-dynlib was given.
4926 if test "${enable_dynlib+set}" = set; then
4927 enableval
="$enable_dynlib"
4929 if test "$enableval" = yes; then
4930 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4932 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4937 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4944 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4948 eval "$ac_cv_use_dynlib"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4954 echo "$as_me:$LINENO: result: yes" >&5
4955 echo "${ECHO_T}yes" >&6
4957 echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6
4963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4966 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4967 if test "${enable_dynamicloader+set}" = set; then
4968 enableval
="$enable_dynamicloader"
4970 if test "$enableval" = yes; then
4971 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4973 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4978 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4979 if test "x$LINE" != x
; then
4980 eval "DEFAULT_$LINE"
4985 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4989 eval "$ac_cv_use_dynamicloader"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4995 echo "$as_me:$LINENO: result: yes" >&5
4996 echo "${ECHO_T}yes" >&6
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5005 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5007 # Check whether --enable-exceptions or --disable-exceptions was given.
5008 if test "${enable_exceptions+set}" = set; then
5009 enableval
="$enable_exceptions"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5014 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5019 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5030 eval "$ac_cv_use_exceptions"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_EXCEPTIONS" = yes; then
5036 echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6
5039 echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6
5045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5048 # Check whether --enable-ffile or --disable-ffile was given.
5049 if test "${enable_ffile+set}" = set; then
5050 enableval
="$enable_ffile"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5055 ac_cv_use_ffile
='wxUSE_FFILE=no'
5060 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5071 eval "$ac_cv_use_ffile"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5076 if test "$wxUSE_FFILE" = yes; then
5077 echo "$as_me:$LINENO: result: yes" >&5
5078 echo "${ECHO_T}yes" >&6
5080 echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5089 # Check whether --enable-file or --disable-file was given.
5090 if test "${enable_file+set}" = set; then
5091 enableval
="$enable_file"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_file
='wxUSE_FILE=yes'
5096 ac_cv_use_file
='wxUSE_FILE=no'
5101 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5112 eval "$ac_cv_use_file"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5117 if test "$wxUSE_FILE" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5130 # Check whether --enable-filesystem or --disable-filesystem was given.
5131 if test "${enable_filesystem+set}" = set; then
5132 enableval
="$enable_filesystem"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5137 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5142 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5153 eval "$ac_cv_use_filesystem"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_FILESYSTEM" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5171 # Check whether --enable-fontmap or --disable-fontmap was given.
5172 if test "${enable_fontmap+set}" = set; then
5173 enableval
="$enable_fontmap"
5175 if test "$enableval" = yes; then
5176 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5178 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5183 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x
; then
5185 eval "DEFAULT_$LINE"
5190 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5194 eval "$ac_cv_use_fontmap"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5199 if test "$wxUSE_FONTMAP" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5212 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5213 if test "${enable_fs_inet+set}" = set; then
5214 enableval
="$enable_fs_inet"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5219 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5224 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5235 eval "$ac_cv_use_fs_inet"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5240 if test "$wxUSE_FS_INET" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5253 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5254 if test "${enable_fs_zip+set}" = set; then
5255 enableval
="$enable_fs_zip"
5257 if test "$enableval" = yes; then
5258 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5260 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5265 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x
; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5276 eval "$ac_cv_use_fs_zip"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_FS_ZIP" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5294 # Check whether --enable-geometry or --disable-geometry was given.
5295 if test "${enable_geometry+set}" = set; then
5296 enableval
="$enable_geometry"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5301 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5306 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5317 eval "$ac_cv_use_geometry"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_GEOMETRY" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5335 # Check whether --enable-log or --disable-log was given.
5336 if test "${enable_log+set}" = set; then
5337 enableval
="$enable_log"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_log
='wxUSE_LOG=yes'
5342 ac_cv_use_log
='wxUSE_LOG=no'
5347 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5358 eval "$ac_cv_use_log"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_LOG" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5376 # Check whether --enable-longlong or --disable-longlong was given.
5377 if test "${enable_longlong+set}" = set; then
5378 enableval
="$enable_longlong"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5383 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5388 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5399 eval "$ac_cv_use_longlong"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_LONGLONG" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5417 # Check whether --enable-mimetype or --disable-mimetype was given.
5418 if test "${enable_mimetype+set}" = set; then
5419 enableval
="$enable_mimetype"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5424 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5429 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5440 eval "$ac_cv_use_mimetype"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_MIMETYPE" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5458 # Check whether --enable-mslu or --disable-mslu was given.
5459 if test "${enable_mslu+set}" = set; then
5460 enableval
="$enable_mslu"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5465 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5470 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5481 eval "$ac_cv_use_mslu"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_UNICODE_MSLU" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5499 # Check whether --enable-snglinst or --disable-snglinst was given.
5500 if test "${enable_snglinst+set}" = set; then
5501 enableval
="$enable_snglinst"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5506 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5511 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5522 eval "$ac_cv_use_snglinst"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5540 # Check whether --enable-streams or --disable-streams was given.
5541 if test "${enable_streams+set}" = set; then
5542 enableval
="$enable_streams"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5547 ac_cv_use_streams
='wxUSE_STREAMS=no'
5552 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x
; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5563 eval "$ac_cv_use_streams"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5568 if test "$wxUSE_STREAMS" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5581 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5582 if test "${enable_std_iostreams+set}" = set; then
5583 enableval
="$enable_std_iostreams"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5588 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5593 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5604 eval "$ac_cv_use_std_iostreams"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5609 if test "$wxUSE_STD_IOSTREAM" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5622 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5623 if test "${enable_stopwatch+set}" = set; then
5624 enableval
="$enable_stopwatch"
5626 if test "$enableval" = yes; then
5627 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5629 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5634 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x
; then
5636 eval "DEFAULT_$LINE"
5641 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5645 eval "$ac_cv_use_stopwatch"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_STOPWATCH" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5663 # Check whether --enable-system_options or --disable-system_options was given.
5664 if test "${enable_system_options+set}" = set; then
5665 enableval
="$enable_system_options"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5670 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5675 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x
; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5686 eval "$ac_cv_use_system_options"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5704 # Check whether --enable-textbuf or --disable-textbuf was given.
5705 if test "${enable_textbuf+set}" = set; then
5706 enableval
="$enable_textbuf"
5708 if test "$enableval" = yes; then
5709 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5711 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5716 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x
; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5727 eval "$ac_cv_use_textbuf"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5732 if test "$wxUSE_TEXTBUFFER" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5745 # Check whether --enable-textfile or --disable-textfile was given.
5746 if test "${enable_textfile+set}" = set; then
5747 enableval
="$enable_textfile"
5749 if test "$enableval" = yes; then
5750 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5752 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5757 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x
; then
5759 eval "DEFAULT_$LINE"
5764 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5768 eval "$ac_cv_use_textfile"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5773 if test "$wxUSE_TEXTFILE" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5786 # Check whether --enable-timer or --disable-timer was given.
5787 if test "${enable_timer+set}" = set; then
5788 enableval
="$enable_timer"
5790 if test "$enableval" = yes; then
5791 ac_cv_use_timer
='wxUSE_TIMER=yes'
5793 ac_cv_use_timer
='wxUSE_TIMER=no'
5798 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x
; then
5800 eval "DEFAULT_$LINE"
5805 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5809 eval "$ac_cv_use_timer"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_TIMER" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5827 # Check whether --enable-unicode or --disable-unicode was given.
5828 if test "${enable_unicode+set}" = set; then
5829 enableval
="$enable_unicode"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5834 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5839 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x
; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5850 eval "$ac_cv_use_unicode"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_UNICODE" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5868 # Check whether --enable-sound or --disable-sound was given.
5869 if test "${enable_sound+set}" = set; then
5870 enableval
="$enable_sound"
5872 if test "$enableval" = yes; then
5873 ac_cv_use_sound
='wxUSE_SOUND=yes'
5875 ac_cv_use_sound
='wxUSE_SOUND=no'
5880 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x
; then
5882 eval "DEFAULT_$LINE"
5887 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5891 eval "$ac_cv_use_sound"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_SOUND" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5909 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5910 if test "${enable_mediactrl+set}" = set; then
5911 enableval
="$enable_mediactrl"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5916 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5921 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5932 eval "$ac_cv_use_mediactrl"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_MEDIACTRL" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5950 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5951 if test "${enable_wxprintfv+set}" = set; then
5952 enableval
="$enable_wxprintfv"
5954 if test "$enableval" = yes; then
5955 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5957 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5962 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x
; then
5964 eval "DEFAULT_$LINE"
5969 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5973 eval "$ac_cv_use_wxprintfv"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5978 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5991 # Check whether --enable-zipstream or --disable-zipstream was given.
5992 if test "${enable_zipstream+set}" = set; then
5993 enableval
="$enable_zipstream"
5995 if test "$enableval" = yes; then
5996 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5998 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6003 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x
; then
6005 eval "DEFAULT_$LINE"
6010 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6014 eval "$ac_cv_use_zipstream"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_ZIPSTREAM" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6031 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6033 # Check whether --enable-url or --disable-url was given.
6034 if test "${enable_url+set}" = set; then
6035 enableval
="$enable_url"
6037 if test "$enableval" = yes; then
6038 ac_cv_use_url
='wxUSE_URL=yes'
6040 ac_cv_use_url
='wxUSE_URL=no'
6045 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x
; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6056 eval "$ac_cv_use_url"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6061 if test "$wxUSE_URL" = yes; then
6062 echo "$as_me:$LINENO: result: yes" >&5
6063 echo "${ECHO_T}yes" >&6
6065 echo "$as_me:$LINENO: result: no" >&5
6066 echo "${ECHO_T}no" >&6
6071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6074 # Check whether --enable-protocol or --disable-protocol was given.
6075 if test "${enable_protocol+set}" = set; then
6076 enableval
="$enable_protocol"
6078 if test "$enableval" = yes; then
6079 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6081 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6086 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x
; then
6088 eval "DEFAULT_$LINE"
6093 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6097 eval "$ac_cv_use_protocol"
6098 if test "$no_cache" != 1; then
6099 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6102 if test "$wxUSE_PROTOCOL" = yes; then
6103 echo "$as_me:$LINENO: result: yes" >&5
6104 echo "${ECHO_T}yes" >&6
6106 echo "$as_me:$LINENO: result: no" >&5
6107 echo "${ECHO_T}no" >&6
6112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6115 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6116 if test "${enable_protocol_http+set}" = set; then
6117 enableval
="$enable_protocol_http"
6119 if test "$enableval" = yes; then
6120 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6122 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6127 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x
; then
6129 eval "DEFAULT_$LINE"
6134 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6138 eval "$ac_cv_use_protocol_http"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6143 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6144 echo "$as_me:$LINENO: result: yes" >&5
6145 echo "${ECHO_T}yes" >&6
6147 echo "$as_me:$LINENO: result: no" >&5
6148 echo "${ECHO_T}no" >&6
6153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6156 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6157 if test "${enable_protocol_ftp+set}" = set; then
6158 enableval
="$enable_protocol_ftp"
6160 if test "$enableval" = yes; then
6161 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6163 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6168 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x
; then
6170 eval "DEFAULT_$LINE"
6175 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6179 eval "$ac_cv_use_protocol_ftp"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6184 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6185 echo "$as_me:$LINENO: result: yes" >&5
6186 echo "${ECHO_T}yes" >&6
6188 echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6
6194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6197 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6198 if test "${enable_protocol_file+set}" = set; then
6199 enableval
="$enable_protocol_file"
6201 if test "$enableval" = yes; then
6202 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6204 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6209 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x
; then
6211 eval "DEFAULT_$LINE"
6216 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6220 eval "$ac_cv_use_protocol_file"
6221 if test "$no_cache" != 1; then
6222 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6225 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6226 echo "$as_me:$LINENO: result: yes" >&5
6227 echo "${ECHO_T}yes" >&6
6229 echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6239 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6241 # Check whether --enable-threads or --disable-threads was given.
6242 if test "${enable_threads+set}" = set; then
6243 enableval
="$enable_threads"
6245 if test "$enableval" = yes; then
6246 ac_cv_use_threads
='wxUSE_THREADS=yes'
6248 ac_cv_use_threads
='wxUSE_THREADS=no'
6253 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x
; then
6255 eval "DEFAULT_$LINE"
6260 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6264 eval "$ac_cv_use_threads"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6269 if test "$wxUSE_THREADS" = yes; then
6270 echo "$as_me:$LINENO: result: yes" >&5
6271 echo "${ECHO_T}yes" >&6
6273 echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6278 if test "$wxUSE_GUI" = "yes"; then
6283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6286 # Check whether --enable-docview or --disable-docview was given.
6287 if test "${enable_docview+set}" = set; then
6288 enableval
="$enable_docview"
6290 if test "$enableval" = yes; then
6291 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6293 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6298 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6299 if test "x$LINE" != x
; then
6300 eval "DEFAULT_$LINE"
6305 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6309 eval "$ac_cv_use_docview"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6314 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6315 echo "$as_me:$LINENO: result: yes" >&5
6316 echo "${ECHO_T}yes" >&6
6318 echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6
6324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6327 # Check whether --enable-help or --disable-help was given.
6328 if test "${enable_help+set}" = set; then
6329 enableval
="$enable_help"
6331 if test "$enableval" = yes; then
6332 ac_cv_use_help
='wxUSE_HELP=yes'
6334 ac_cv_use_help
='wxUSE_HELP=no'
6339 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x
; then
6341 eval "DEFAULT_$LINE"
6346 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6350 eval "$ac_cv_use_help"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6355 if test "$wxUSE_HELP" = yes; then
6356 echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6
6359 echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6
6365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6368 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6369 if test "${enable_mshtmlhelp+set}" = set; then
6370 enableval
="$enable_mshtmlhelp"
6372 if test "$enableval" = yes; then
6373 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6375 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6380 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6381 if test "x$LINE" != x
; then
6382 eval "DEFAULT_$LINE"
6387 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6391 eval "$ac_cv_use_mshtmlhelp"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6396 if test "$wxUSE_MS_HTML_HELP" = yes; then
6397 echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6
6400 echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6
6406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6409 # Check whether --enable-html or --disable-html was given.
6410 if test "${enable_html+set}" = set; then
6411 enableval
="$enable_html"
6413 if test "$enableval" = yes; then
6414 ac_cv_use_html
='wxUSE_HTML=yes'
6416 ac_cv_use_html
='wxUSE_HTML=no'
6421 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x
; then
6423 eval "DEFAULT_$LINE"
6428 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6432 eval "$ac_cv_use_html"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6437 if test "$wxUSE_HTML" = yes; then
6438 echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6
6441 echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6
6447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6450 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6451 if test "${enable_htmlhelp+set}" = set; then
6452 enableval
="$enable_htmlhelp"
6454 if test "$enableval" = yes; then
6455 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6457 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6462 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x
; then
6464 eval "DEFAULT_$LINE"
6469 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6473 eval "$ac_cv_use_htmlhelp"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6478 if test "$wxUSE_WXHTML_HELP" = yes; then
6479 echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6
6482 echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6
6488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6491 # Check whether --enable-xrc or --disable-xrc was given.
6492 if test "${enable_xrc+set}" = set; then
6493 enableval
="$enable_xrc"
6495 if test "$enableval" = yes; then
6496 ac_cv_use_xrc
='wxUSE_XRC=yes'
6498 ac_cv_use_xrc
='wxUSE_XRC=no'
6503 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6504 if test "x$LINE" != x
; then
6505 eval "DEFAULT_$LINE"
6510 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6514 eval "$ac_cv_use_xrc"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6519 if test "$wxUSE_XRC" = yes; then
6520 echo "$as_me:$LINENO: result: yes" >&5
6521 echo "${ECHO_T}yes" >&6
6523 echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6
6529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6532 # Check whether --enable-constraints or --disable-constraints was given.
6533 if test "${enable_constraints+set}" = set; then
6534 enableval
="$enable_constraints"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6539 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6544 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x
; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6555 eval "$ac_cv_use_constraints"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6560 if test "$wxUSE_CONSTRAINTS" = yes; then
6561 echo "$as_me:$LINENO: result: yes" >&5
6562 echo "${ECHO_T}yes" >&6
6564 echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6
6570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6573 # Check whether --enable-printarch or --disable-printarch was given.
6574 if test "${enable_printarch+set}" = set; then
6575 enableval
="$enable_printarch"
6577 if test "$enableval" = yes; then
6578 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6580 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6585 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x
; then
6587 eval "DEFAULT_$LINE"
6592 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6596 eval "$ac_cv_use_printarch"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6602 echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6614 # Check whether --enable-mdi or --disable-mdi was given.
6615 if test "${enable_mdi+set}" = set; then
6616 enableval
="$enable_mdi"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_mdi
='wxUSE_MDI=yes'
6621 ac_cv_use_mdi
='wxUSE_MDI=no'
6626 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x
; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6637 eval "$ac_cv_use_mdi"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6642 if test "$wxUSE_MDI" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6
6646 echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6655 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6656 if test "${enable_mdidoc+set}" = set; then
6657 enableval
="$enable_mdidoc"
6659 if test "$enableval" = yes; then
6660 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6662 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6667 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x
; then
6669 eval "DEFAULT_$LINE"
6674 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6678 eval "$ac_cv_use_mdidoc"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6683 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6687 echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6696 # Check whether --enable-loggui or --disable-loggui was given.
6697 if test "${enable_loggui+set}" = set; then
6698 enableval
="$enable_loggui"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6703 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6708 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6719 eval "$ac_cv_use_loggui"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6724 if test "$wxUSE_LOGGUI" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6
6728 echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6737 # Check whether --enable-logwin or --disable-logwin was given.
6738 if test "${enable_logwin+set}" = set; then
6739 enableval
="$enable_logwin"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6744 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6749 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x
; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6760 eval "$ac_cv_use_logwin"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_LOGWINDOW" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6778 # Check whether --enable-logdialog or --disable-logdialog was given.
6779 if test "${enable_logdialog+set}" = set; then
6780 enableval
="$enable_logdialog"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6785 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6790 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x
; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6801 eval "$ac_cv_use_logdialog"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_LOGDIALOG" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6819 # Check whether --enable-webkit or --disable-webkit was given.
6820 if test "${enable_webkit+set}" = set; then
6821 enableval
="$enable_webkit"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6826 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6831 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x
; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6842 eval "$ac_cv_use_webkit"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_WEBKIT" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6861 # Check whether --enable-postscript or --disable-postscript was given.
6862 if test "${enable_postscript+set}" = set; then
6863 enableval
="$enable_postscript"
6865 if test "$enableval" = yes; then
6866 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6868 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6873 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x
; then
6875 eval "DEFAULT_$LINE"
6880 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6884 eval "$ac_cv_use_postscript"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_POSTSCRIPT" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891 echo "${ECHO_T}yes" >&6
6893 echo "$as_me:$LINENO: result: no" >&5
6894 echo "${ECHO_T}no" >&6
6902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6903 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6905 # Check whether --enable-prologio or --disable-prologio was given.
6906 if test "${enable_prologio+set}" = set; then
6907 enableval
="$enable_prologio"
6909 if test "$enableval" = yes; then
6910 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6912 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6917 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6918 if test "x$LINE" != x
; then
6919 eval "DEFAULT_$LINE"
6924 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6928 eval "$ac_cv_use_prologio"
6929 if test "$no_cache" != 1; then
6930 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6933 if test "$wxUSE_PROLOGIO" = yes; then
6934 echo "$as_me:$LINENO: result: yes" >&5
6935 echo "${ECHO_T}yes" >&6
6937 echo "$as_me:$LINENO: result: no" >&5
6938 echo "${ECHO_T}no" >&6
6943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6944 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6946 # Check whether --enable-resources or --disable-resources was given.
6947 if test "${enable_resources+set}" = set; then
6948 enableval
="$enable_resources"
6950 if test "$enableval" = yes; then
6951 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6953 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6958 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6959 if test "x$LINE" != x
; then
6960 eval "DEFAULT_$LINE"
6965 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6969 eval "$ac_cv_use_resources"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6974 if test "$wxUSE_RESOURCES" = yes; then
6975 echo "$as_me:$LINENO: result: yes" >&5
6976 echo "${ECHO_T}yes" >&6
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6989 # Check whether --enable-clipboard or --disable-clipboard was given.
6990 if test "${enable_clipboard+set}" = set; then
6991 enableval
="$enable_clipboard"
6993 if test "$enableval" = yes; then
6994 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6996 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7001 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x
; then
7003 eval "DEFAULT_$LINE"
7008 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7012 eval "$ac_cv_use_clipboard"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_CLIPBOARD" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7030 # Check whether --enable-dnd or --disable-dnd was given.
7031 if test "${enable_dnd+set}" = set; then
7032 enableval
="$enable_dnd"
7034 if test "$enableval" = yes; then
7035 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7037 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7042 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x
; then
7044 eval "DEFAULT_$LINE"
7049 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7053 eval "$ac_cv_use_dnd"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7071 # Check whether --enable-metafile or --disable-metafile was given.
7072 if test "${enable_metafile+set}" = set; then
7073 enableval
="$enable_metafile"
7075 if test "$enableval" = yes; then
7076 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7078 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7083 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x
; then
7085 eval "DEFAULT_$LINE"
7090 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7094 eval "$ac_cv_use_metafile"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7099 if test "$wxUSE_METAFILE" = yes; then
7100 echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7115 # Check whether --enable-controls or --disable-controls was given.
7116 if test "${enable_controls+set}" = set; then
7117 enableval
="$enable_controls"
7119 if test "$enableval" = yes; then
7120 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7122 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7127 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7128 if test "x$LINE" != x
; then
7129 eval "DEFAULT_$LINE"
7134 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7138 eval "$ac_cv_use_controls"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7143 if test "$wxUSE_CONTROLS" = yes; then
7144 echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6
7147 echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6
7152 if test "$wxUSE_CONTROLS" = "yes"; then
7153 DEFAULT_wxUSE_ACCEL
=yes
7154 DEFAULT_wxUSE_BMPBUTTON
=yes
7155 DEFAULT_wxUSE_BUTTON
=yes
7156 DEFAULT_wxUSE_CALCTRL
=yes
7157 DEFAULT_wxUSE_CARET
=yes
7158 DEFAULT_wxUSE_COMBOBOX
=yes
7159 DEFAULT_wxUSE_CHECKBOX
=yes
7160 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7161 DEFAULT_wxUSE_CHOICE
=yes
7162 DEFAULT_wxUSE_CHOICEBOOK
=yes
7163 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7164 DEFAULT_wxUSE_GAUGE
=yes
7165 DEFAULT_wxUSE_GRID
=yes
7166 DEFAULT_wxUSE_IMAGLIST
=yes
7167 DEFAULT_wxUSE_LISTBOOK
=yes
7168 DEFAULT_wxUSE_LISTBOX
=yes
7169 DEFAULT_wxUSE_LISTCTRL
=yes
7170 DEFAULT_wxUSE_NOTEBOOK
=yes
7171 DEFAULT_wxUSE_RADIOBOX
=yes
7172 DEFAULT_wxUSE_RADIOBTN
=yes
7173 DEFAULT_wxUSE_SASH
=yes
7174 DEFAULT_wxUSE_SCROLLBAR
=yes
7175 DEFAULT_wxUSE_SLIDER
=yes
7176 DEFAULT_wxUSE_SPINBTN
=yes
7177 DEFAULT_wxUSE_SPINCTRL
=yes
7178 DEFAULT_wxUSE_SPLITTER
=yes
7179 DEFAULT_wxUSE_STATBMP
=yes
7180 DEFAULT_wxUSE_STATBOX
=yes
7181 DEFAULT_wxUSE_STATLINE
=yes
7182 DEFAULT_wxUSE_STATUSBAR
=yes
7183 DEFAULT_wxUSE_TAB_DIALOG
=yes
7184 DEFAULT_wxUSE_TOGGLEBTN
=yes
7185 DEFAULT_wxUSE_TOOLBAR
=yes
7186 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7187 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7188 DEFAULT_wxUSE_TOOLTIPS
=yes
7189 DEFAULT_wxUSE_TREECTRL
=yes
7190 DEFAULT_wxUSE_POPUPWIN
=yes
7191 DEFAULT_wxUSE_TIPWINDOW
=yes
7192 elif test "$wxUSE_CONTROLS" = "no"; then
7193 DEFAULT_wxUSE_ACCEL
=no
7194 DEFAULT_wxUSE_BMPBUTTON
=no
7195 DEFAULT_wxUSE_BUTTON
=no
7196 DEFAULT_wxUSE_CALCTRL
=no
7197 DEFAULT_wxUSE_CARET
=no
7198 DEFAULT_wxUSE_COMBOBOX
=no
7199 DEFAULT_wxUSE_CHECKBOX
=no
7200 DEFAULT_wxUSE_CHECKLISTBOX
=no
7201 DEFAULT_wxUSE_CHOICE
=no
7202 DEFAULT_wxUSE_CHOICEBOOK
=no
7203 DEFAULT_wxUSE_DATEPICKCTRL
=no
7204 DEFAULT_wxUSE_GAUGE
=no
7205 DEFAULT_wxUSE_GRID
=no
7206 DEFAULT_wxUSE_IMAGLIST
=no
7207 DEFAULT_wxUSE_LISTBOOK
=no
7208 DEFAULT_wxUSE_LISTBOX
=no
7209 DEFAULT_wxUSE_LISTCTRL
=no
7210 DEFAULT_wxUSE_NOTEBOOK
=no
7211 DEFAULT_wxUSE_RADIOBOX
=no
7212 DEFAULT_wxUSE_RADIOBTN
=no
7213 DEFAULT_wxUSE_SASH
=no
7214 DEFAULT_wxUSE_SCROLLBAR
=no
7215 DEFAULT_wxUSE_SLIDER
=no
7216 DEFAULT_wxUSE_SPINBTN
=no
7217 DEFAULT_wxUSE_SPINCTRL
=no
7218 DEFAULT_wxUSE_SPLITTER
=no
7219 DEFAULT_wxUSE_STATBMP
=no
7220 DEFAULT_wxUSE_STATBOX
=no
7221 DEFAULT_wxUSE_STATLINE
=no
7222 DEFAULT_wxUSE_STATUSBAR
=no
7223 DEFAULT_wxUSE_TAB_DIALOG
=no
7224 DEFAULT_wxUSE_TOGGLEBTN
=no
7225 DEFAULT_wxUSE_TOOLBAR
=no
7226 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7227 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7228 DEFAULT_wxUSE_TOOLTIPS
=no
7229 DEFAULT_wxUSE_TREECTRL
=no
7230 DEFAULT_wxUSE_POPUPWIN
=no
7231 DEFAULT_wxUSE_TIPWINDOW
=no
7236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7237 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7239 # Check whether --enable-accel or --disable-accel was given.
7240 if test "${enable_accel+set}" = set; then
7241 enableval
="$enable_accel"
7243 if test "$enableval" = yes; then
7244 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7246 ac_cv_use_accel
='wxUSE_ACCEL=no'
7251 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7252 if test "x$LINE" != x
; then
7253 eval "DEFAULT_$LINE"
7258 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7262 eval "$ac_cv_use_accel"
7263 if test "$no_cache" != 1; then
7264 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7267 if test "$wxUSE_ACCEL" = yes; then
7268 echo "$as_me:$LINENO: result: yes" >&5
7269 echo "${ECHO_T}yes" >&6
7271 echo "$as_me:$LINENO: result: no" >&5
7272 echo "${ECHO_T}no" >&6
7277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7278 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7280 # Check whether --enable-button or --disable-button was given.
7281 if test "${enable_button+set}" = set; then
7282 enableval
="$enable_button"
7284 if test "$enableval" = yes; then
7285 ac_cv_use_button
='wxUSE_BUTTON=yes'
7287 ac_cv_use_button
='wxUSE_BUTTON=no'
7292 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7293 if test "x$LINE" != x
; then
7294 eval "DEFAULT_$LINE"
7299 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7303 eval "$ac_cv_use_button"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7308 if test "$wxUSE_BUTTON" = yes; then
7309 echo "$as_me:$LINENO: result: yes" >&5
7310 echo "${ECHO_T}yes" >&6
7312 echo "$as_me:$LINENO: result: no" >&5
7313 echo "${ECHO_T}no" >&6
7318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7319 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7321 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7322 if test "${enable_bmpbutton+set}" = set; then
7323 enableval
="$enable_bmpbutton"
7325 if test "$enableval" = yes; then
7326 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7328 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7333 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7334 if test "x$LINE" != x
; then
7335 eval "DEFAULT_$LINE"
7340 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7344 eval "$ac_cv_use_bmpbutton"
7345 if test "$no_cache" != 1; then
7346 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7349 if test "$wxUSE_BMPBUTTON" = yes; then
7350 echo "$as_me:$LINENO: result: yes" >&5
7351 echo "${ECHO_T}yes" >&6
7353 echo "$as_me:$LINENO: result: no" >&5
7354 echo "${ECHO_T}no" >&6
7359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7362 # Check whether --enable-calendar or --disable-calendar was given.
7363 if test "${enable_calendar+set}" = set; then
7364 enableval
="$enable_calendar"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7369 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7374 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x
; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7385 eval "$ac_cv_use_calendar"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_CALCTRL" = yes; then
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7403 # Check whether --enable-caret or --disable-caret was given.
7404 if test "${enable_caret+set}" = set; then
7405 enableval
="$enable_caret"
7407 if test "$enableval" = yes; then
7408 ac_cv_use_caret
='wxUSE_CARET=yes'
7410 ac_cv_use_caret
='wxUSE_CARET=no'
7415 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x
; then
7417 eval "DEFAULT_$LINE"
7422 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7426 eval "$ac_cv_use_caret"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7431 if test "$wxUSE_CARET" = yes; then
7432 echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7444 # Check whether --enable-checkbox or --disable-checkbox was given.
7445 if test "${enable_checkbox+set}" = set; then
7446 enableval
="$enable_checkbox"
7448 if test "$enableval" = yes; then
7449 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7451 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7456 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x
; then
7458 eval "DEFAULT_$LINE"
7463 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7467 eval "$ac_cv_use_checkbox"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7472 if test "$wxUSE_CHECKBOX" = yes; then
7473 echo "$as_me:$LINENO: result: yes" >&5
7474 echo "${ECHO_T}yes" >&6
7476 echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6
7482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7485 # Check whether --enable-checklst or --disable-checklst was given.
7486 if test "${enable_checklst+set}" = set; then
7487 enableval
="$enable_checklst"
7489 if test "$enableval" = yes; then
7490 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7492 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7497 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7498 if test "x$LINE" != x
; then
7499 eval "DEFAULT_$LINE"
7504 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7508 eval "$ac_cv_use_checklst"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7513 if test "$wxUSE_CHECKLST" = yes; then
7514 echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6
7517 echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6
7523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7526 # Check whether --enable-choice or --disable-choice was given.
7527 if test "${enable_choice+set}" = set; then
7528 enableval
="$enable_choice"
7530 if test "$enableval" = yes; then
7531 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7533 ac_cv_use_choice
='wxUSE_CHOICE=no'
7538 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7539 if test "x$LINE" != x
; then
7540 eval "DEFAULT_$LINE"
7545 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7549 eval "$ac_cv_use_choice"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7554 if test "$wxUSE_CHOICE" = yes; then
7555 echo "$as_me:$LINENO: result: yes" >&5
7556 echo "${ECHO_T}yes" >&6
7558 echo "$as_me:$LINENO: result: no" >&5
7559 echo "${ECHO_T}no" >&6
7564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7567 # Check whether --enable-choicebook or --disable-choicebook was given.
7568 if test "${enable_choicebook+set}" = set; then
7569 enableval
="$enable_choicebook"
7571 if test "$enableval" = yes; then
7572 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7574 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7579 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7580 if test "x$LINE" != x
; then
7581 eval "DEFAULT_$LINE"
7586 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7590 eval "$ac_cv_use_choicebook"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7595 if test "$wxUSE_CHOICEBOOK" = yes; then
7596 echo "$as_me:$LINENO: result: yes" >&5
7597 echo "${ECHO_T}yes" >&6
7599 echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6
7605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7608 # Check whether --enable-combobox or --disable-combobox was given.
7609 if test "${enable_combobox+set}" = set; then
7610 enableval
="$enable_combobox"
7612 if test "$enableval" = yes; then
7613 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7615 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7620 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7621 if test "x$LINE" != x
; then
7622 eval "DEFAULT_$LINE"
7627 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7631 eval "$ac_cv_use_combobox"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7636 if test "$wxUSE_COMBOBOX" = yes; then
7637 echo "$as_me:$LINENO: result: yes" >&5
7638 echo "${ECHO_T}yes" >&6
7640 echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6
7646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7649 # Check whether --enable-datepick or --disable-datepick was given.
7650 if test "${enable_datepick+set}" = set; then
7651 enableval
="$enable_datepick"
7653 if test "$enableval" = yes; then
7654 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7656 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7661 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x
; then
7663 eval "DEFAULT_$LINE"
7668 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7672 eval "$ac_cv_use_datepick"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7677 if test "$wxUSE_DATEPICKCTRL" = yes; then
7678 echo "$as_me:$LINENO: result: yes" >&5
7679 echo "${ECHO_T}yes" >&6
7681 echo "$as_me:$LINENO: result: no" >&5
7682 echo "${ECHO_T}no" >&6
7687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7690 # Check whether --enable-display or --disable-display was given.
7691 if test "${enable_display+set}" = set; then
7692 enableval
="$enable_display"
7694 if test "$enableval" = yes; then
7695 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7697 ac_cv_use_display
='wxUSE_DISPLAY=no'
7702 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7703 if test "x$LINE" != x
; then
7704 eval "DEFAULT_$LINE"
7709 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7713 eval "$ac_cv_use_display"
7714 if test "$no_cache" != 1; then
7715 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7718 if test "$wxUSE_DISPLAY" = yes; then
7719 echo "$as_me:$LINENO: result: yes" >&5
7720 echo "${ECHO_T}yes" >&6
7722 echo "$as_me:$LINENO: result: no" >&5
7723 echo "${ECHO_T}no" >&6
7728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7729 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7731 # Check whether --enable-gauge or --disable-gauge was given.
7732 if test "${enable_gauge+set}" = set; then
7733 enableval
="$enable_gauge"
7735 if test "$enableval" = yes; then
7736 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7738 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7743 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7744 if test "x$LINE" != x
; then
7745 eval "DEFAULT_$LINE"
7750 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7754 eval "$ac_cv_use_gauge"
7755 if test "$no_cache" != 1; then
7756 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7759 if test "$wxUSE_GAUGE" = yes; then
7760 echo "$as_me:$LINENO: result: yes" >&5
7761 echo "${ECHO_T}yes" >&6
7763 echo "$as_me:$LINENO: result: no" >&5
7764 echo "${ECHO_T}no" >&6
7769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7770 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7772 # Check whether --enable-grid or --disable-grid was given.
7773 if test "${enable_grid+set}" = set; then
7774 enableval
="$enable_grid"
7776 if test "$enableval" = yes; then
7777 ac_cv_use_grid
='wxUSE_GRID=yes'
7779 ac_cv_use_grid
='wxUSE_GRID=no'
7784 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7785 if test "x$LINE" != x
; then
7786 eval "DEFAULT_$LINE"
7791 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7795 eval "$ac_cv_use_grid"
7796 if test "$no_cache" != 1; then
7797 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7800 if test "$wxUSE_GRID" = yes; then
7801 echo "$as_me:$LINENO: result: yes" >&5
7802 echo "${ECHO_T}yes" >&6
7804 echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6
7810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7813 # Check whether --enable-imaglist or --disable-imaglist was given.
7814 if test "${enable_imaglist+set}" = set; then
7815 enableval
="$enable_imaglist"
7817 if test "$enableval" = yes; then
7818 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7820 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7825 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7826 if test "x$LINE" != x
; then
7827 eval "DEFAULT_$LINE"
7832 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7836 eval "$ac_cv_use_imaglist"
7837 if test "$no_cache" != 1; then
7838 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7841 if test "$wxUSE_IMAGLIST" = yes; then
7842 echo "$as_me:$LINENO: result: yes" >&5
7843 echo "${ECHO_T}yes" >&6
7845 echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6
7851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7854 # Check whether --enable-listbook or --disable-listbook was given.
7855 if test "${enable_listbook+set}" = set; then
7856 enableval
="$enable_listbook"
7858 if test "$enableval" = yes; then
7859 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7861 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7866 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x
; then
7868 eval "DEFAULT_$LINE"
7873 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7877 eval "$ac_cv_use_listbook"
7878 if test "$no_cache" != 1; then
7879 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7882 if test "$wxUSE_LISTBOOK" = yes; then
7883 echo "$as_me:$LINENO: result: yes" >&5
7884 echo "${ECHO_T}yes" >&6
7886 echo "$as_me:$LINENO: result: no" >&5
7887 echo "${ECHO_T}no" >&6
7892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7893 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7895 # Check whether --enable-listbox or --disable-listbox was given.
7896 if test "${enable_listbox+set}" = set; then
7897 enableval
="$enable_listbox"
7899 if test "$enableval" = yes; then
7900 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7902 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7907 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7908 if test "x$LINE" != x
; then
7909 eval "DEFAULT_$LINE"
7914 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7918 eval "$ac_cv_use_listbox"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7923 if test "$wxUSE_LISTBOX" = yes; then
7924 echo "$as_me:$LINENO: result: yes" >&5
7925 echo "${ECHO_T}yes" >&6
7927 echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6
7933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7936 # Check whether --enable-listctrl or --disable-listctrl was given.
7937 if test "${enable_listctrl+set}" = set; then
7938 enableval
="$enable_listctrl"
7940 if test "$enableval" = yes; then
7941 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7943 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7948 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x
; then
7950 eval "DEFAULT_$LINE"
7955 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7959 eval "$ac_cv_use_listctrl"
7960 if test "$no_cache" != 1; then
7961 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7964 if test "$wxUSE_LISTCTRL" = yes; then
7965 echo "$as_me:$LINENO: result: yes" >&5
7966 echo "${ECHO_T}yes" >&6
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7977 # Check whether --enable-notebook or --disable-notebook was given.
7978 if test "${enable_notebook+set}" = set; then
7979 enableval
="$enable_notebook"
7981 if test "$enableval" = yes; then
7982 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7984 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7989 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7990 if test "x$LINE" != x
; then
7991 eval "DEFAULT_$LINE"
7996 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8000 eval "$ac_cv_use_notebook"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8005 if test "$wxUSE_NOTEBOOK" = yes; then
8006 echo "$as_me:$LINENO: result: yes" >&5
8007 echo "${ECHO_T}yes" >&6
8009 echo "$as_me:$LINENO: result: no" >&5
8010 echo "${ECHO_T}no" >&6
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8018 # Check whether --enable-radiobox or --disable-radiobox was given.
8019 if test "${enable_radiobox+set}" = set; then
8020 enableval
="$enable_radiobox"
8022 if test "$enableval" = yes; then
8023 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8025 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8030 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x
; then
8032 eval "DEFAULT_$LINE"
8037 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8041 eval "$ac_cv_use_radiobox"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8046 if test "$wxUSE_RADIOBOX" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8059 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8060 if test "${enable_radiobtn+set}" = set; then
8061 enableval
="$enable_radiobtn"
8063 if test "$enableval" = yes; then
8064 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8066 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8071 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8072 if test "x$LINE" != x
; then
8073 eval "DEFAULT_$LINE"
8078 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8082 eval "$ac_cv_use_radiobtn"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8087 if test "$wxUSE_RADIOBTN" = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8091 echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6
8097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8100 # Check whether --enable-sash or --disable-sash was given.
8101 if test "${enable_sash+set}" = set; then
8102 enableval
="$enable_sash"
8104 if test "$enableval" = yes; then
8105 ac_cv_use_sash
='wxUSE_SASH=yes'
8107 ac_cv_use_sash
='wxUSE_SASH=no'
8112 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x
; then
8114 eval "DEFAULT_$LINE"
8119 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8123 eval "$ac_cv_use_sash"
8124 if test "$no_cache" != 1; then
8125 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8128 if test "$wxUSE_SASH" = yes; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8141 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8142 if test "${enable_scrollbar+set}" = set; then
8143 enableval
="$enable_scrollbar"
8145 if test "$enableval" = yes; then
8146 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8148 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8153 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x
; then
8155 eval "DEFAULT_$LINE"
8160 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8164 eval "$ac_cv_use_scrollbar"
8165 if test "$no_cache" != 1; then
8166 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8169 if test "$wxUSE_SCROLLBAR" = yes; then
8170 echo "$as_me:$LINENO: result: yes" >&5
8171 echo "${ECHO_T}yes" >&6
8173 echo "$as_me:$LINENO: result: no" >&5
8174 echo "${ECHO_T}no" >&6
8179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8182 # Check whether --enable-slider or --disable-slider was given.
8183 if test "${enable_slider+set}" = set; then
8184 enableval
="$enable_slider"
8186 if test "$enableval" = yes; then
8187 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8189 ac_cv_use_slider
='wxUSE_SLIDER=no'
8194 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x
; then
8196 eval "DEFAULT_$LINE"
8201 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8205 eval "$ac_cv_use_slider"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8210 if test "$wxUSE_SLIDER" = yes; then
8211 echo "$as_me:$LINENO: result: yes" >&5
8212 echo "${ECHO_T}yes" >&6
8214 echo "$as_me:$LINENO: result: no" >&5
8215 echo "${ECHO_T}no" >&6
8220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8223 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8224 if test "${enable_spinbtn+set}" = set; then
8225 enableval
="$enable_spinbtn"
8227 if test "$enableval" = yes; then
8228 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8230 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8235 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x
; then
8237 eval "DEFAULT_$LINE"
8242 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8246 eval "$ac_cv_use_spinbtn"
8247 if test "$no_cache" != 1; then
8248 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8251 if test "$wxUSE_SPINBTN" = yes; then
8252 echo "$as_me:$LINENO: result: yes" >&5
8253 echo "${ECHO_T}yes" >&6
8255 echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6
8261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8264 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8265 if test "${enable_spinctrl+set}" = set; then
8266 enableval
="$enable_spinctrl"
8268 if test "$enableval" = yes; then
8269 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8271 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8276 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x
; then
8278 eval "DEFAULT_$LINE"
8283 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8287 eval "$ac_cv_use_spinctrl"
8288 if test "$no_cache" != 1; then
8289 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8292 if test "$wxUSE_SPINCTRL" = yes; then
8293 echo "$as_me:$LINENO: result: yes" >&5
8294 echo "${ECHO_T}yes" >&6
8296 echo "$as_me:$LINENO: result: no" >&5
8297 echo "${ECHO_T}no" >&6
8302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8305 # Check whether --enable-splitter or --disable-splitter was given.
8306 if test "${enable_splitter+set}" = set; then
8307 enableval
="$enable_splitter"
8309 if test "$enableval" = yes; then
8310 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8312 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8317 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8318 if test "x$LINE" != x
; then
8319 eval "DEFAULT_$LINE"
8324 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8328 eval "$ac_cv_use_splitter"
8329 if test "$no_cache" != 1; then
8330 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8333 if test "$wxUSE_SPLITTER" = yes; then
8334 echo "$as_me:$LINENO: result: yes" >&5
8335 echo "${ECHO_T}yes" >&6
8337 echo "$as_me:$LINENO: result: no" >&5
8338 echo "${ECHO_T}no" >&6
8343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8346 # Check whether --enable-statbmp or --disable-statbmp was given.
8347 if test "${enable_statbmp+set}" = set; then
8348 enableval
="$enable_statbmp"
8350 if test "$enableval" = yes; then
8351 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8353 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8358 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x
; then
8360 eval "DEFAULT_$LINE"
8365 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8369 eval "$ac_cv_use_statbmp"
8370 if test "$no_cache" != 1; then
8371 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8374 if test "$wxUSE_STATBMP" = yes; then
8375 echo "$as_me:$LINENO: result: yes" >&5
8376 echo "${ECHO_T}yes" >&6
8378 echo "$as_me:$LINENO: result: no" >&5
8379 echo "${ECHO_T}no" >&6
8384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8387 # Check whether --enable-statbox or --disable-statbox was given.
8388 if test "${enable_statbox+set}" = set; then
8389 enableval
="$enable_statbox"
8391 if test "$enableval" = yes; then
8392 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8394 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8399 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8400 if test "x$LINE" != x
; then
8401 eval "DEFAULT_$LINE"
8406 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8410 eval "$ac_cv_use_statbox"
8411 if test "$no_cache" != 1; then
8412 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8415 if test "$wxUSE_STATBOX" = yes; then
8416 echo "$as_me:$LINENO: result: yes" >&5
8417 echo "${ECHO_T}yes" >&6
8419 echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6
8425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8426 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8428 # Check whether --enable-statline or --disable-statline was given.
8429 if test "${enable_statline+set}" = set; then
8430 enableval
="$enable_statline"
8432 if test "$enableval" = yes; then
8433 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8435 ac_cv_use_statline
='wxUSE_STATLINE=no'
8440 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x
; then
8442 eval "DEFAULT_$LINE"
8447 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8451 eval "$ac_cv_use_statline"
8452 if test "$no_cache" != 1; then
8453 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8456 if test "$wxUSE_STATLINE" = yes; then
8457 echo "$as_me:$LINENO: result: yes" >&5
8458 echo "${ECHO_T}yes" >&6
8460 echo "$as_me:$LINENO: result: no" >&5
8461 echo "${ECHO_T}no" >&6
8466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8467 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8469 # Check whether --enable-stattext or --disable-stattext was given.
8470 if test "${enable_stattext+set}" = set; then
8471 enableval
="$enable_stattext"
8473 if test "$enableval" = yes; then
8474 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8476 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8481 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x
; then
8483 eval "DEFAULT_$LINE"
8488 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8492 eval "$ac_cv_use_stattext"
8493 if test "$no_cache" != 1; then
8494 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8497 if test "$wxUSE_STATTEXT" = yes; then
8498 echo "$as_me:$LINENO: result: yes" >&5
8499 echo "${ECHO_T}yes" >&6
8501 echo "$as_me:$LINENO: result: no" >&5
8502 echo "${ECHO_T}no" >&6
8507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8508 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8510 # Check whether --enable-statusbar or --disable-statusbar was given.
8511 if test "${enable_statusbar+set}" = set; then
8512 enableval
="$enable_statusbar"
8514 if test "$enableval" = yes; then
8515 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8517 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8522 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x
; then
8524 eval "DEFAULT_$LINE"
8529 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8533 eval "$ac_cv_use_statusbar"
8534 if test "$no_cache" != 1; then
8535 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8538 if test "$wxUSE_STATUSBAR" = yes; then
8539 echo "$as_me:$LINENO: result: yes" >&5
8540 echo "${ECHO_T}yes" >&6
8542 echo "$as_me:$LINENO: result: no" >&5
8543 echo "${ECHO_T}no" >&6
8548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8549 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8551 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8552 if test "${enable_tabdialog+set}" = set; then
8553 enableval
="$enable_tabdialog"
8555 if test "$enableval" = yes; then
8556 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8558 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8563 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x
; then
8565 eval "DEFAULT_$LINE"
8570 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8574 eval "$ac_cv_use_tabdialog"
8575 if test "$no_cache" != 1; then
8576 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8579 if test "$wxUSE_TABDIALOG" = yes; then
8580 echo "$as_me:$LINENO: result: yes" >&5
8581 echo "${ECHO_T}yes" >&6
8583 echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6
8589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8590 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8592 # Check whether --enable-textctrl or --disable-textctrl was given.
8593 if test "${enable_textctrl+set}" = set; then
8594 enableval
="$enable_textctrl"
8596 if test "$enableval" = yes; then
8597 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8599 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8604 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x
; then
8606 eval "DEFAULT_$LINE"
8611 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8615 eval "$ac_cv_use_textctrl"
8616 if test "$no_cache" != 1; then
8617 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8620 if test "$wxUSE_TEXTCTRL" = yes; then
8621 echo "$as_me:$LINENO: result: yes" >&5
8622 echo "${ECHO_T}yes" >&6
8624 echo "$as_me:$LINENO: result: no" >&5
8625 echo "${ECHO_T}no" >&6
8630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8633 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8634 if test "${enable_togglebtn+set}" = set; then
8635 enableval
="$enable_togglebtn"
8637 if test "$enableval" = yes; then
8638 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8640 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8645 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8646 if test "x$LINE" != x
; then
8647 eval "DEFAULT_$LINE"
8652 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8656 eval "$ac_cv_use_togglebtn"
8657 if test "$no_cache" != 1; then
8658 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8661 if test "$wxUSE_TOGGLEBTN" = yes; then
8662 echo "$as_me:$LINENO: result: yes" >&5
8663 echo "${ECHO_T}yes" >&6
8665 echo "$as_me:$LINENO: result: no" >&5
8666 echo "${ECHO_T}no" >&6
8671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8674 # Check whether --enable-toolbar or --disable-toolbar was given.
8675 if test "${enable_toolbar+set}" = set; then
8676 enableval
="$enable_toolbar"
8678 if test "$enableval" = yes; then
8679 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8681 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8686 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x
; then
8688 eval "DEFAULT_$LINE"
8693 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8697 eval "$ac_cv_use_toolbar"
8698 if test "$no_cache" != 1; then
8699 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8702 if test "$wxUSE_TOOLBAR" = yes; then
8703 echo "$as_me:$LINENO: result: yes" >&5
8704 echo "${ECHO_T}yes" >&6
8706 echo "$as_me:$LINENO: result: no" >&5
8707 echo "${ECHO_T}no" >&6
8712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8715 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8716 if test "${enable_tbarnative+set}" = set; then
8717 enableval
="$enable_tbarnative"
8719 if test "$enableval" = yes; then
8720 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8722 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8727 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8728 if test "x$LINE" != x
; then
8729 eval "DEFAULT_$LINE"
8734 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8738 eval "$ac_cv_use_tbarnative"
8739 if test "$no_cache" != 1; then
8740 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8743 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8744 echo "$as_me:$LINENO: result: yes" >&5
8745 echo "${ECHO_T}yes" >&6
8747 echo "$as_me:$LINENO: result: no" >&5
8748 echo "${ECHO_T}no" >&6
8753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8756 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8757 if test "${enable_tbarsmpl+set}" = set; then
8758 enableval
="$enable_tbarsmpl"
8760 if test "$enableval" = yes; then
8761 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8763 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8768 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8769 if test "x$LINE" != x
; then
8770 eval "DEFAULT_$LINE"
8775 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8779 eval "$ac_cv_use_tbarsmpl"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8784 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8785 echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6
8788 echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6
8794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8797 # Check whether --enable-treectrl or --disable-treectrl was given.
8798 if test "${enable_treectrl+set}" = set; then
8799 enableval
="$enable_treectrl"
8801 if test "$enableval" = yes; then
8802 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8804 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8809 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8810 if test "x$LINE" != x
; then
8811 eval "DEFAULT_$LINE"
8816 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8820 eval "$ac_cv_use_treectrl"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8825 if test "$wxUSE_TREECTRL" = yes; then
8826 echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6
8829 echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6
8835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8838 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8839 if test "${enable_tipwindow+set}" = set; then
8840 enableval
="$enable_tipwindow"
8842 if test "$enableval" = yes; then
8843 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8845 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8850 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8851 if test "x$LINE" != x
; then
8852 eval "DEFAULT_$LINE"
8857 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8861 eval "$ac_cv_use_tipwindow"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8866 if test "$wxUSE_TIPWINDOW" = yes; then
8867 echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6
8870 echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6
8876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8879 # Check whether --enable-popupwin or --disable-popupwin was given.
8880 if test "${enable_popupwin+set}" = set; then
8881 enableval
="$enable_popupwin"
8883 if test "$enableval" = yes; then
8884 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8886 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8891 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x
; then
8893 eval "DEFAULT_$LINE"
8898 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8902 eval "$ac_cv_use_popupwin"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8907 if test "$wxUSE_POPUPWIN" = yes; then
8908 echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8911 echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8922 # Check whether --enable-commondlg or --disable-commondlg was given.
8923 if test "${enable_commondlg+set}" = set; then
8924 enableval
="$enable_commondlg"
8926 if test "$enableval" = yes; then
8927 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8929 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8934 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x
; then
8936 eval "DEFAULT_$LINE"
8941 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8945 eval "$ac_cv_use_commondlg"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8950 if test "$wxUSE_COMMONDLGS" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8963 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8964 if test "${enable_choicedlg+set}" = set; then
8965 enableval
="$enable_choicedlg"
8967 if test "$enableval" = yes; then
8968 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8970 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8975 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x
; then
8977 eval "DEFAULT_$LINE"
8982 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8986 eval "$ac_cv_use_choicedlg"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8991 if test "$wxUSE_CHOICEDLG" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
9001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9002 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9004 # Check whether --enable-coldlg or --disable-coldlg was given.
9005 if test "${enable_coldlg+set}" = set; then
9006 enableval
="$enable_coldlg"
9008 if test "$enableval" = yes; then
9009 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9011 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9016 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9017 if test "x$LINE" != x
; then
9018 eval "DEFAULT_$LINE"
9023 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9027 eval "$ac_cv_use_coldlg"
9028 if test "$no_cache" != 1; then
9029 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9032 if test "$wxUSE_COLOURDLG" = yes; then
9033 echo "$as_me:$LINENO: result: yes" >&5
9034 echo "${ECHO_T}yes" >&6
9036 echo "$as_me:$LINENO: result: no" >&5
9037 echo "${ECHO_T}no" >&6
9042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9043 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9045 # Check whether --enable-filedlg or --disable-filedlg was given.
9046 if test "${enable_filedlg+set}" = set; then
9047 enableval
="$enable_filedlg"
9049 if test "$enableval" = yes; then
9050 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9052 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9057 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9058 if test "x$LINE" != x
; then
9059 eval "DEFAULT_$LINE"
9064 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9068 eval "$ac_cv_use_filedlg"
9069 if test "$no_cache" != 1; then
9070 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9073 if test "$wxUSE_FILEDLG" = yes; then
9074 echo "$as_me:$LINENO: result: yes" >&5
9075 echo "${ECHO_T}yes" >&6
9077 echo "$as_me:$LINENO: result: no" >&5
9078 echo "${ECHO_T}no" >&6
9083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9084 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9086 # Check whether --enable-finddlg or --disable-finddlg was given.
9087 if test "${enable_finddlg+set}" = set; then
9088 enableval
="$enable_finddlg"
9090 if test "$enableval" = yes; then
9091 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9093 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9098 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9099 if test "x$LINE" != x
; then
9100 eval "DEFAULT_$LINE"
9105 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9109 eval "$ac_cv_use_finddlg"
9110 if test "$no_cache" != 1; then
9111 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9114 if test "$wxUSE_FINDREPLDLG" = yes; then
9115 echo "$as_me:$LINENO: result: yes" >&5
9116 echo "${ECHO_T}yes" >&6
9118 echo "$as_me:$LINENO: result: no" >&5
9119 echo "${ECHO_T}no" >&6
9124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9127 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9128 if test "${enable_fontdlg+set}" = set; then
9129 enableval
="$enable_fontdlg"
9131 if test "$enableval" = yes; then
9132 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9134 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9139 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9140 if test "x$LINE" != x
; then
9141 eval "DEFAULT_$LINE"
9146 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9150 eval "$ac_cv_use_fontdlg"
9151 if test "$no_cache" != 1; then
9152 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9155 if test "$wxUSE_FONTDLG" = yes; then
9156 echo "$as_me:$LINENO: result: yes" >&5
9157 echo "${ECHO_T}yes" >&6
9159 echo "$as_me:$LINENO: result: no" >&5
9160 echo "${ECHO_T}no" >&6
9165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9168 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9169 if test "${enable_dirdlg+set}" = set; then
9170 enableval
="$enable_dirdlg"
9172 if test "$enableval" = yes; then
9173 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9175 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9180 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9181 if test "x$LINE" != x
; then
9182 eval "DEFAULT_$LINE"
9187 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9191 eval "$ac_cv_use_dirdlg"
9192 if test "$no_cache" != 1; then
9193 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9196 if test "$wxUSE_DIRDLG" = yes; then
9197 echo "$as_me:$LINENO: result: yes" >&5
9198 echo "${ECHO_T}yes" >&6
9200 echo "$as_me:$LINENO: result: no" >&5
9201 echo "${ECHO_T}no" >&6
9206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9209 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9210 if test "${enable_msgdlg+set}" = set; then
9211 enableval
="$enable_msgdlg"
9213 if test "$enableval" = yes; then
9214 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9216 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9221 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9222 if test "x$LINE" != x
; then
9223 eval "DEFAULT_$LINE"
9228 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9232 eval "$ac_cv_use_msgdlg"
9233 if test "$no_cache" != 1; then
9234 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9237 if test "$wxUSE_MSGDLG" = yes; then
9238 echo "$as_me:$LINENO: result: yes" >&5
9239 echo "${ECHO_T}yes" >&6
9241 echo "$as_me:$LINENO: result: no" >&5
9242 echo "${ECHO_T}no" >&6
9247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9250 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9251 if test "${enable_numberdlg+set}" = set; then
9252 enableval
="$enable_numberdlg"
9254 if test "$enableval" = yes; then
9255 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9257 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9262 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9263 if test "x$LINE" != x
; then
9264 eval "DEFAULT_$LINE"
9269 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9273 eval "$ac_cv_use_numberdlg"
9274 if test "$no_cache" != 1; then
9275 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9278 if test "$wxUSE_NUMBERDLG" = yes; then
9279 echo "$as_me:$LINENO: result: yes" >&5
9280 echo "${ECHO_T}yes" >&6
9282 echo "$as_me:$LINENO: result: no" >&5
9283 echo "${ECHO_T}no" >&6
9288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9289 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9291 # Check whether --enable-splash or --disable-splash was given.
9292 if test "${enable_splash+set}" = set; then
9293 enableval
="$enable_splash"
9295 if test "$enableval" = yes; then
9296 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9298 ac_cv_use_splash
='wxUSE_SPLASH=no'
9303 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9304 if test "x$LINE" != x
; then
9305 eval "DEFAULT_$LINE"
9310 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9314 eval "$ac_cv_use_splash"
9315 if test "$no_cache" != 1; then
9316 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9319 if test "$wxUSE_SPLASH" = yes; then
9320 echo "$as_me:$LINENO: result: yes" >&5
9321 echo "${ECHO_T}yes" >&6
9323 echo "$as_me:$LINENO: result: no" >&5
9324 echo "${ECHO_T}no" >&6
9329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9330 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9332 # Check whether --enable-textdlg or --disable-textdlg was given.
9333 if test "${enable_textdlg+set}" = set; then
9334 enableval
="$enable_textdlg"
9336 if test "$enableval" = yes; then
9337 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9339 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9344 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9345 if test "x$LINE" != x
; then
9346 eval "DEFAULT_$LINE"
9351 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9355 eval "$ac_cv_use_textdlg"
9356 if test "$no_cache" != 1; then
9357 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9360 if test "$wxUSE_TEXTDLG" = yes; then
9361 echo "$as_me:$LINENO: result: yes" >&5
9362 echo "${ECHO_T}yes" >&6
9364 echo "$as_me:$LINENO: result: no" >&5
9365 echo "${ECHO_T}no" >&6
9370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9371 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9373 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9374 if test "${enable_tipdlg+set}" = set; then
9375 enableval
="$enable_tipdlg"
9377 if test "$enableval" = yes; then
9378 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9380 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9385 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9386 if test "x$LINE" != x
; then
9387 eval "DEFAULT_$LINE"
9392 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9396 eval "$ac_cv_use_tipdlg"
9397 if test "$no_cache" != 1; then
9398 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9401 if test "$wxUSE_STARTUP_TIPS" = yes; then
9402 echo "$as_me:$LINENO: result: yes" >&5
9403 echo "${ECHO_T}yes" >&6
9405 echo "$as_me:$LINENO: result: no" >&5
9406 echo "${ECHO_T}no" >&6
9411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9412 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9414 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9415 if test "${enable_progressdlg+set}" = set; then
9416 enableval
="$enable_progressdlg"
9418 if test "$enableval" = yes; then
9419 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9421 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9426 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9427 if test "x$LINE" != x
; then
9428 eval "DEFAULT_$LINE"
9433 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9437 eval "$ac_cv_use_progressdlg"
9438 if test "$no_cache" != 1; then
9439 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9442 if test "$wxUSE_PROGRESSDLG" = yes; then
9443 echo "$as_me:$LINENO: result: yes" >&5
9444 echo "${ECHO_T}yes" >&6
9446 echo "$as_me:$LINENO: result: no" >&5
9447 echo "${ECHO_T}no" >&6
9452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9453 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9455 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9456 if test "${enable_wizarddlg+set}" = set; then
9457 enableval
="$enable_wizarddlg"
9459 if test "$enableval" = yes; then
9460 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9462 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9467 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9468 if test "x$LINE" != x
; then
9469 eval "DEFAULT_$LINE"
9474 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9478 eval "$ac_cv_use_wizarddlg"
9479 if test "$no_cache" != 1; then
9480 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9483 if test "$wxUSE_WIZARDDLG" = yes; then
9484 echo "$as_me:$LINENO: result: yes" >&5
9485 echo "${ECHO_T}yes" >&6
9487 echo "$as_me:$LINENO: result: no" >&5
9488 echo "${ECHO_T}no" >&6
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9498 # Check whether --enable-menus or --disable-menus was given.
9499 if test "${enable_menus+set}" = set; then
9500 enableval
="$enable_menus"
9502 if test "$enableval" = yes; then
9503 ac_cv_use_menus
='wxUSE_MENUS=yes'
9505 ac_cv_use_menus
='wxUSE_MENUS=no'
9510 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x
; then
9512 eval "DEFAULT_$LINE"
9517 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9521 eval "$ac_cv_use_menus"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9526 if test "$wxUSE_MENUS" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9539 # Check whether --enable-miniframe or --disable-miniframe was given.
9540 if test "${enable_miniframe+set}" = set; then
9541 enableval
="$enable_miniframe"
9543 if test "$enableval" = yes; then
9544 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9546 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9551 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x
; then
9553 eval "DEFAULT_$LINE"
9558 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9562 eval "$ac_cv_use_miniframe"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9567 if test "$wxUSE_MINIFRAME" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9580 # Check whether --enable-tooltips or --disable-tooltips was given.
9581 if test "${enable_tooltips+set}" = set; then
9582 enableval
="$enable_tooltips"
9584 if test "$enableval" = yes; then
9585 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9587 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9592 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9593 if test "x$LINE" != x
; then
9594 eval "DEFAULT_$LINE"
9599 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9603 eval "$ac_cv_use_tooltips"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9608 if test "$wxUSE_TOOLTIPS" = yes; then
9609 echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6
9612 echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6
9618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9621 # Check whether --enable-splines or --disable-splines was given.
9622 if test "${enable_splines+set}" = set; then
9623 enableval
="$enable_splines"
9625 if test "$enableval" = yes; then
9626 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9628 ac_cv_use_splines
='wxUSE_SPLINES=no'
9633 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9634 if test "x$LINE" != x
; then
9635 eval "DEFAULT_$LINE"
9640 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9644 eval "$ac_cv_use_splines"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9649 if test "$wxUSE_SPLINES" = yes; then
9650 echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6
9653 echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6
9659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9662 # Check whether --enable-validators or --disable-validators was given.
9663 if test "${enable_validators+set}" = set; then
9664 enableval
="$enable_validators"
9666 if test "$enableval" = yes; then
9667 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9669 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9674 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9675 if test "x$LINE" != x
; then
9676 eval "DEFAULT_$LINE"
9681 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9685 eval "$ac_cv_use_validators"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9690 if test "$wxUSE_VALIDATORS" = yes; then
9691 echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6
9694 echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6
9700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9703 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9704 if test "${enable_busyinfo+set}" = set; then
9705 enableval
="$enable_busyinfo"
9707 if test "$enableval" = yes; then
9708 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9710 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9715 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9716 if test "x$LINE" != x
; then
9717 eval "DEFAULT_$LINE"
9722 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9726 eval "$ac_cv_use_busyinfo"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9731 if test "$wxUSE_BUSYINFO" = yes; then
9732 echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6
9735 echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6
9741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9744 # Check whether --enable-joystick or --disable-joystick was given.
9745 if test "${enable_joystick+set}" = set; then
9746 enableval
="$enable_joystick"
9748 if test "$enableval" = yes; then
9749 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9751 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9756 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9757 if test "x$LINE" != x
; then
9758 eval "DEFAULT_$LINE"
9763 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9767 eval "$ac_cv_use_joystick"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9772 if test "$wxUSE_JOYSTICK" = yes; then
9773 echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6
9776 echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6
9782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9785 # Check whether --enable-metafile or --disable-metafile was given.
9786 if test "${enable_metafile+set}" = set; then
9787 enableval
="$enable_metafile"
9789 if test "$enableval" = yes; then
9790 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9792 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9797 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9798 if test "x$LINE" != x
; then
9799 eval "DEFAULT_$LINE"
9804 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9808 eval "$ac_cv_use_metafile"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9813 if test "$wxUSE_METAFILE" = yes; then
9814 echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6
9817 echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6
9823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9826 # Check whether --enable-dragimage or --disable-dragimage was given.
9827 if test "${enable_dragimage+set}" = set; then
9828 enableval
="$enable_dragimage"
9830 if test "$enableval" = yes; then
9831 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9833 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9838 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9839 if test "x$LINE" != x
; then
9840 eval "DEFAULT_$LINE"
9845 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9849 eval "$ac_cv_use_dragimage"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9854 if test "$wxUSE_DRAGIMAGE" = yes; then
9855 echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6
9858 echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6
9864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9867 # Check whether --enable-accessibility or --disable-accessibility was given.
9868 if test "${enable_accessibility+set}" = set; then
9869 enableval
="$enable_accessibility"
9871 if test "$enableval" = yes; then
9872 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9874 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9879 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9880 if test "x$LINE" != x
; then
9881 eval "DEFAULT_$LINE"
9886 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9890 eval "$ac_cv_use_accessibility"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9895 if test "$wxUSE_ACCESSIBILITY" = yes; then
9896 echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6
9899 echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9910 # Check whether --enable-palette or --disable-palette was given.
9911 if test "${enable_palette+set}" = set; then
9912 enableval
="$enable_palette"
9914 if test "$enableval" = yes; then
9915 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9917 ac_cv_use_palette
='wxUSE_PALETTE=no'
9922 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x
; then
9924 eval "DEFAULT_$LINE"
9929 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9933 eval "$ac_cv_use_palette"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9938 if test "$wxUSE_PALETTE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9951 # Check whether --enable-image or --disable-image was given.
9952 if test "${enable_image+set}" = set; then
9953 enableval
="$enable_image"
9955 if test "$enableval" = yes; then
9956 ac_cv_use_image
='wxUSE_IMAGE=yes'
9958 ac_cv_use_image
='wxUSE_IMAGE=no'
9963 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x
; then
9965 eval "DEFAULT_$LINE"
9970 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9974 eval "$ac_cv_use_image"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9979 if test "$wxUSE_IMAGE" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9992 # Check whether --enable-gif or --disable-gif was given.
9993 if test "${enable_gif+set}" = set; then
9994 enableval
="$enable_gif"
9996 if test "$enableval" = yes; then
9997 ac_cv_use_gif
='wxUSE_GIF=yes'
9999 ac_cv_use_gif
='wxUSE_GIF=no'
10004 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x
; then
10006 eval "DEFAULT_$LINE"
10011 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10015 eval "$ac_cv_use_gif"
10016 if test "$no_cache" != 1; then
10017 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10020 if test "$wxUSE_GIF" = yes; then
10021 echo "$as_me:$LINENO: result: yes" >&5
10022 echo "${ECHO_T}yes" >&6
10024 echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6
10030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10031 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10033 # Check whether --enable-pcx or --disable-pcx was given.
10034 if test "${enable_pcx+set}" = set; then
10035 enableval
="$enable_pcx"
10037 if test "$enableval" = yes; then
10038 ac_cv_use_pcx
='wxUSE_PCX=yes'
10040 ac_cv_use_pcx
='wxUSE_PCX=no'
10045 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x
; then
10047 eval "DEFAULT_$LINE"
10052 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10056 eval "$ac_cv_use_pcx"
10057 if test "$no_cache" != 1; then
10058 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10061 if test "$wxUSE_PCX" = yes; then
10062 echo "$as_me:$LINENO: result: yes" >&5
10063 echo "${ECHO_T}yes" >&6
10065 echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6
10071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10074 # Check whether --enable-iff or --disable-iff was given.
10075 if test "${enable_iff+set}" = set; then
10076 enableval
="$enable_iff"
10078 if test "$enableval" = yes; then
10079 ac_cv_use_iff
='wxUSE_IFF=yes'
10081 ac_cv_use_iff
='wxUSE_IFF=no'
10086 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x
; then
10088 eval "DEFAULT_$LINE"
10093 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10097 eval "$ac_cv_use_iff"
10098 if test "$no_cache" != 1; then
10099 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10102 if test "$wxUSE_IFF" = yes; then
10103 echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6
10106 echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10115 # Check whether --enable-pnm or --disable-pnm was given.
10116 if test "${enable_pnm+set}" = set; then
10117 enableval
="$enable_pnm"
10119 if test "$enableval" = yes; then
10120 ac_cv_use_pnm
='wxUSE_PNM=yes'
10122 ac_cv_use_pnm
='wxUSE_PNM=no'
10127 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x
; then
10129 eval "DEFAULT_$LINE"
10134 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10138 eval "$ac_cv_use_pnm"
10139 if test "$no_cache" != 1; then
10140 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10143 if test "$wxUSE_PNM" = yes; then
10144 echo "$as_me:$LINENO: result: yes" >&5
10145 echo "${ECHO_T}yes" >&6
10147 echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6
10153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10156 # Check whether --enable-xpm or --disable-xpm was given.
10157 if test "${enable_xpm+set}" = set; then
10158 enableval
="$enable_xpm"
10160 if test "$enableval" = yes; then
10161 ac_cv_use_xpm
='wxUSE_XPM=yes'
10163 ac_cv_use_xpm
='wxUSE_XPM=no'
10168 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x
; then
10170 eval "DEFAULT_$LINE"
10175 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10179 eval "$ac_cv_use_xpm"
10180 if test "$no_cache" != 1; then
10181 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10184 if test "$wxUSE_XPM" = yes; then
10185 echo "$as_me:$LINENO: result: yes" >&5
10186 echo "${ECHO_T}yes" >&6
10188 echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6
10194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10197 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10198 if test "${enable_ico_cur+set}" = set; then
10199 enableval
="$enable_ico_cur"
10201 if test "$enableval" = yes; then
10202 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10204 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10209 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x
; then
10211 eval "DEFAULT_$LINE"
10216 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10220 eval "$ac_cv_use_ico_cur"
10221 if test "$no_cache" != 1; then
10222 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10225 if test "$wxUSE_ICO_CUR" = yes; then
10226 echo "$as_me:$LINENO: result: yes" >&5
10227 echo "${ECHO_T}yes" >&6
10229 echo "$as_me:$LINENO: result: no" >&5
10230 echo "${ECHO_T}no" >&6
10238 # Check whether --with-flavour or --without-flavour was given.
10239 if test "${with_flavour+set}" = set; then
10240 withval
="$with_flavour"
10241 WX_FLAVOUR
="$withval"
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10250 # Check whether --enable-official_build or --disable-official_build was given.
10251 if test "${enable_official_build+set}" = set; then
10252 enableval
="$enable_official_build"
10254 if test "$enableval" = yes; then
10255 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10257 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10262 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x
; then
10264 eval "DEFAULT_$LINE"
10269 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10273 eval "$ac_cv_use_official_build"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10278 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10286 # Check whether --enable-vendor or --disable-vendor was given.
10287 if test "${enable_vendor+set}" = set; then
10288 enableval
="$enable_vendor"
10289 VENDOR
="$enableval"
10291 if test "x$VENDOR" = "x"; then
10298 echo "saving argument cache $wx_arg_cache_file"
10299 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10303 echo "$as_me:$LINENO: checking for toolkit" >&5
10304 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10306 # In Wine, we need to default to MSW, not GTK or MOTIF
10307 if test "$wxUSE_WINE" = "yes"; then
10308 DEFAULT_DEFAULT_wxUSE_GTK
=0
10309 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10310 DEFAULT_DEFAULT_wxUSE_MSW
=1
10314 if test "$wxUSE_GUI" = "yes"; then
10316 if test "$USE_BEOS" = 1; then
10317 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10318 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10319 { (exit 1); exit 1; }; }
10322 if test "$TOOLKIT_GIVEN" = 1; then
10323 for toolkit
in `echo $ALL_TOOLKITS`; do
10325 eval "value=\$${var}"
10326 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10329 for toolkit
in `echo $ALL_TOOLKITS`; do
10330 if test "$has_toolkit_in_cache" != 1; then
10331 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10333 var
=DEFAULT_wxUSE_
$toolkit
10335 eval "wxUSE_$toolkit=\$${var}"
10339 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10340 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10341 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10344 *-pc-os2_emx | *-pc-os2-emx )
10345 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10348 case "$NUM_TOOLKITS" in
10352 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10353 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10354 { (exit 1); exit 1; }; }
10357 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10358 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10359 { (exit 1); exit 1; }; }
10362 for toolkit
in `echo $ALL_TOOLKITS`; do
10364 eval "value=\$${var}"
10365 if test "x$value" != x
; then
10366 cache_var
=CACHE_
$toolkit
10367 eval "cache=\$${cache_var}"
10368 if test "$cache" = 1; then
10369 echo "$var=$value" >> ${wx_arg_cache_file}
10371 if test "$value" = 1; then
10372 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10373 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10374 echo "${ECHO_T}$toolkit_echo" >&6
10379 if test "x$host_alias" != "x"; then
10380 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10381 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10383 echo "$as_me:$LINENO: result: base only" >&5
10384 echo "${ECHO_T}base only" >&6
10389 doesnt_want_win32
=0
10392 if test "$wxUSE_MSW" = 1 ; then
10395 doesnt_want_win32
=1
10403 if test "$wxUSE_WINE" = "yes"; then
10408 LDFLAGS_GUI
="-mwindows"
10411 if test "$wants_win32" = 1 ; then
10414 cat >>confdefs.h
<<\_ACEOF
10415 #define __WIN32__ 1
10418 cat >>confdefs.h
<<\_ACEOF
10419 #define __WIN95__ 1
10422 cat >>confdefs.h
<<\_ACEOF
10423 #define __WINDOWS__ 1
10426 cat >>confdefs.h
<<\_ACEOF
10427 #define __GNUWIN32__ 1
10430 cat >>confdefs.h
<<\_ACEOF
10434 cat >>confdefs.h
<<\_ACEOF
10435 #define WINVER 0x0400
10439 if test "$doesnt_want_win32" = 1 ; then
10444 if test "$USE_UNIX" = 1 ; then
10446 cat >>confdefs.h
<<\_ACEOF
10453 cat >confcache
<<\_ACEOF
10454 # This file is a shell script that caches the results of configure
10455 # tests run on this system so they can be shared between configure
10456 # scripts and configure runs, see configure's option --config-cache.
10457 # It is not useful on other systems. If it contains results you don't
10458 # want to keep, you may remove or edit it.
10460 # config.status only pays attention to the cache file if you give it
10461 # the --recheck option to rerun configure.
10463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10465 # following values.
10469 # The following way of writing the cache mishandles newlines in values,
10470 # but we know of no workaround that is simple, portable, and efficient.
10471 # So, don't put newlines in cache variables' values.
10472 # Ultrix sh set writes to stderr and can't be redirected directly,
10473 # and sets the high bit in the cache file unless we assign to the vars.
10476 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10478 # `set' does not quote correctly, so add quotes (double-quote
10479 # substitution turns \\\\ into \\, and sed turns \\ into \).
10482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10485 # `set' quotes correctly as required by POSIX, so do not add quotes.
10487 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10494 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10496 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10498 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10499 if test -w $cache_file; then
10500 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10501 cat confcache
>$cache_file
10503 echo "not updating unwritable cache $cache_file"
10508 if test "$build" != "$host" ; then
10509 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10511 CXX
=$host_alias-c++
10513 RANLIB
=$host_alias-ranlib
10514 DLLTOOL
=$host_alias-dlltool
10515 RESCOMP
=$host_alias-windres
10516 STRIP
=$host_alias-strip
10517 elif test "x$CC" '!=' "x"; then
10518 echo "You set CC, I assume you know what you are doing."
10520 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10521 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10522 { (exit 1); exit 1; }; }
10528 ac_cpp
='$CPP $CPPFLAGS'
10529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10532 if test -n "$ac_tool_prefix"; then
10533 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10534 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10535 echo "$as_me:$LINENO: checking for $ac_word" >&5
10536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10537 if test "${ac_cv_prog_CC+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 if test -n "$CC"; then
10541 ac_cv_prog_CC
="$CC" # Let the user override the test.
10543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10544 for as_dir
in $PATH
10547 test -z "$as_dir" && as_dir
=.
10548 for ac_exec_ext
in '' $ac_executable_extensions; do
10549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10560 if test -n "$CC"; then
10561 echo "$as_me:$LINENO: result: $CC" >&5
10562 echo "${ECHO_T}$CC" >&6
10564 echo "$as_me:$LINENO: result: no" >&5
10565 echo "${ECHO_T}no" >&6
10569 if test -z "$ac_cv_prog_CC"; then
10571 # Extract the first word of "gcc", so it can be a program name with args.
10572 set dummy gcc
; ac_word
=$2
10573 echo "$as_me:$LINENO: checking for $ac_word" >&5
10574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 if test -n "$ac_ct_CC"; then
10579 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10582 for as_dir
in $PATH
10585 test -z "$as_dir" && as_dir
=.
10586 for ac_exec_ext
in '' $ac_executable_extensions; do
10587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_prog_ac_ct_CC
="gcc"
10589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10597 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10598 if test -n "$ac_ct_CC"; then
10599 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10600 echo "${ECHO_T}$ac_ct_CC" >&6
10602 echo "$as_me:$LINENO: result: no" >&5
10603 echo "${ECHO_T}no" >&6
10608 CC
="$ac_cv_prog_CC"
10611 if test -z "$CC"; then
10612 if test -n "$ac_tool_prefix"; then
10613 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10614 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10615 echo "$as_me:$LINENO: checking for $ac_word" >&5
10616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10617 if test "${ac_cv_prog_CC+set}" = set; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10620 if test -n "$CC"; then
10621 ac_cv_prog_CC
="$CC" # Let the user override the test.
10623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10624 for as_dir
in $PATH
10627 test -z "$as_dir" && as_dir
=.
10628 for ac_exec_ext
in '' $ac_executable_extensions; do
10629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10630 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10640 if test -n "$CC"; then
10641 echo "$as_me:$LINENO: result: $CC" >&5
10642 echo "${ECHO_T}$CC" >&6
10644 echo "$as_me:$LINENO: result: no" >&5
10645 echo "${ECHO_T}no" >&6
10649 if test -z "$ac_cv_prog_CC"; then
10651 # Extract the first word of "cc", so it can be a program name with args.
10652 set dummy cc
; ac_word
=$2
10653 echo "$as_me:$LINENO: checking for $ac_word" >&5
10654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 if test -n "$ac_ct_CC"; then
10659 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10662 for as_dir
in $PATH
10665 test -z "$as_dir" && as_dir
=.
10666 for ac_exec_ext
in '' $ac_executable_extensions; do
10667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10668 ac_cv_prog_ac_ct_CC
="cc"
10669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10677 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10678 if test -n "$ac_ct_CC"; then
10679 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10680 echo "${ECHO_T}$ac_ct_CC" >&6
10682 echo "$as_me:$LINENO: result: no" >&5
10683 echo "${ECHO_T}no" >&6
10688 CC
="$ac_cv_prog_CC"
10692 if test -z "$CC"; then
10693 # Extract the first word of "cc", so it can be a program name with args.
10694 set dummy cc
; ac_word
=$2
10695 echo "$as_me:$LINENO: checking for $ac_word" >&5
10696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10697 if test "${ac_cv_prog_CC+set}" = set; then
10698 echo $ECHO_N "(cached) $ECHO_C" >&6
10700 if test -n "$CC"; then
10701 ac_cv_prog_CC
="$CC" # Let the user override the test.
10703 ac_prog_rejected
=no
10704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10705 for as_dir
in $PATH
10708 test -z "$as_dir" && as_dir
=.
10709 for ac_exec_ext
in '' $ac_executable_extensions; do
10710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10711 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10712 ac_prog_rejected
=yes
10716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10722 if test $ac_prog_rejected = yes; then
10723 # We found a bogon in the path, so make sure we never use it.
10724 set dummy
$ac_cv_prog_CC
10726 if test $# != 0; then
10727 # We chose a different compiler from the bogus one.
10728 # However, it has the same basename, so the bogon will be chosen
10729 # first if we set CC to just the basename; use the full file name.
10731 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10737 if test -n "$CC"; then
10738 echo "$as_me:$LINENO: result: $CC" >&5
10739 echo "${ECHO_T}$CC" >&6
10741 echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6
10746 if test -z "$CC"; then
10747 if test -n "$ac_tool_prefix"; then
10750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10751 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10752 echo "$as_me:$LINENO: checking for $ac_word" >&5
10753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10754 if test "${ac_cv_prog_CC+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10757 if test -n "$CC"; then
10758 ac_cv_prog_CC
="$CC" # Let the user override the test.
10760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10761 for as_dir
in $PATH
10764 test -z "$as_dir" && as_dir
=.
10765 for ac_exec_ext
in '' $ac_executable_extensions; do
10766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10767 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10777 if test -n "$CC"; then
10778 echo "$as_me:$LINENO: result: $CC" >&5
10779 echo "${ECHO_T}$CC" >&6
10781 echo "$as_me:$LINENO: result: no" >&5
10782 echo "${ECHO_T}no" >&6
10785 test -n "$CC" && break
10788 if test -z "$CC"; then
10792 # Extract the first word of "$ac_prog", so it can be a program name with args.
10793 set dummy
$ac_prog; ac_word
=$2
10794 echo "$as_me:$LINENO: checking for $ac_word" >&5
10795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 if test -n "$ac_ct_CC"; then
10800 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10803 for as_dir
in $PATH
10806 test -z "$as_dir" && as_dir
=.
10807 for ac_exec_ext
in '' $ac_executable_extensions; do
10808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10809 ac_cv_prog_ac_ct_CC
="$ac_prog"
10810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10818 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10819 if test -n "$ac_ct_CC"; then
10820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10821 echo "${ECHO_T}$ac_ct_CC" >&6
10823 echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6
10827 test -n "$ac_ct_CC" && break
10836 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10837 See \`config.log' for more details." >&5
10838 echo "$as_me: error: no acceptable C compiler found in \$PATH
10839 See \`config.log' for more details." >&2;}
10840 { (exit 1); exit 1; }; }
10842 # Provide some information about the compiler.
10843 echo "$as_me:$LINENO:" \
10844 "checking for C compiler version" >&5
10845 ac_compiler
=`set X $ac_compile; echo $2`
10846 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10847 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }
10851 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10852 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }
10856 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10857 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }
10862 cat >conftest.
$ac_ext <<_ACEOF
10865 cat confdefs.h
>>conftest.
$ac_ext
10866 cat >>conftest.
$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10877 ac_clean_files_save
=$ac_clean_files
10878 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10879 # Try to create an executable without -o first, disregard a.out.
10880 # It will help us diagnose broken compilers, and finding out an intuition
10882 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10883 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10884 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10885 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10886 (eval $ac_link_default) 2>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; then
10890 # Find the output, starting from the most likely. This scheme is
10891 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10894 # Be careful to initialize this variable, since it used to be cached.
10895 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10897 # b.out is created by i960 compilers.
10898 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10900 test -f "$ac_file" || continue
10902 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10905 # This is the source file.
10908 # We found the default executable, but exeext='' is most
10912 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10913 # FIXME: I believe we export ac_cv_exeext for Libtool,
10914 # but it would be cool to find out if it's true. Does anybody
10915 # maintain Libtool? --akim.
10916 export ac_cv_exeext
10923 echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.
$ac_ext >&5
10926 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10927 See \`config.log' for more details." >&5
10928 echo "$as_me: error: C compiler cannot create executables
10929 See \`config.log' for more details." >&2;}
10930 { (exit 77); exit 77; }; }
10933 ac_exeext
=$ac_cv_exeext
10934 echo "$as_me:$LINENO: result: $ac_file" >&5
10935 echo "${ECHO_T}$ac_file" >&6
10937 # Check the compiler produces executables we can run. If not, either
10938 # the compiler is broken, or we cross compile.
10939 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10940 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10941 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10942 # If not cross compiling, check that we can run a simple program.
10943 if test "$cross_compiling" != yes; then
10944 if { ac_try
='./$ac_file'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; }; then
10952 if test "$cross_compiling" = maybe
; then
10953 cross_compiling
=yes
10955 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10956 If you meant to cross compile, use \`--host'.
10957 See \`config.log' for more details." >&5
10958 echo "$as_me: error: cannot run C compiled programs.
10959 If you meant to cross compile, use \`--host'.
10960 See \`config.log' for more details." >&2;}
10961 { (exit 1); exit 1; }; }
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10968 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10969 ac_clean_files
=$ac_clean_files_save
10970 # Check the compiler produces executables we can run. If not, either
10971 # the compiler is broken, or we cross compile.
10972 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10973 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10974 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10975 echo "${ECHO_T}$cross_compiling" >&6
10977 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10978 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10980 (eval $ac_link) 2>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); }; then
10984 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10985 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10986 # work properly (i.e., refer to `conftest.exe'), while it won't with
10988 for ac_file
in conftest.exe conftest conftest.
*; do
10989 test -f "$ac_file" || continue
10991 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10992 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10993 export ac_cv_exeext
10999 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11000 See \`config.log' for more details." >&5
11001 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11002 See \`config.log' for more details." >&2;}
11003 { (exit 1); exit 1; }; }
11006 rm -f conftest
$ac_cv_exeext
11007 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11008 echo "${ECHO_T}$ac_cv_exeext" >&6
11010 rm -f conftest.
$ac_ext
11011 EXEEXT
=$ac_cv_exeext
11013 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11014 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11015 if test "${ac_cv_objext+set}" = set; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 cat >conftest.
$ac_ext <<_ACEOF
11021 cat confdefs.h
>>conftest.
$ac_ext
11022 cat >>conftest.
$ac_ext <<_ACEOF
11023 /* end confdefs.h. */
11033 rm -f conftest.o conftest.obj
11034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11035 (eval $ac_compile) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; then
11039 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11041 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11042 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11047 echo "$as_me: failed program was:" >&5
11048 sed 's/^/| /' conftest.
$ac_ext >&5
11050 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11051 See \`config.log' for more details." >&5
11052 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11053 See \`config.log' for more details." >&2;}
11054 { (exit 1); exit 1; }; }
11057 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11059 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11060 echo "${ECHO_T}$ac_cv_objext" >&6
11061 OBJEXT
=$ac_cv_objext
11063 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11064 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11065 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11066 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 cat >conftest.
$ac_ext <<_ACEOF
11071 cat confdefs.h
>>conftest.
$ac_ext
11072 cat >>conftest.
$ac_ext <<_ACEOF
11073 /* end confdefs.h. */
11086 rm -f conftest.
$ac_objext
11087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11088 (eval $ac_compile) 2>conftest.er1
11090 grep -v '^ *+' conftest.er1
>conftest.err
11092 cat conftest.err
>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); } &&
11095 { ac_try
='test -z "$ac_c_werror_flag"
11096 || test ! -s conftest.err'
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11098 (eval $ac_try) 2>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; } &&
11102 { ac_try
='test -s conftest.$ac_objext'
11103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104 (eval $ac_try) 2>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; }; then
11108 ac_compiler_gnu
=yes
11110 echo "$as_me: failed program was:" >&5
11111 sed 's/^/| /' conftest.
$ac_ext >&5
11115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11116 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11119 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11120 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11121 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11122 ac_test_CFLAGS
=${CFLAGS+set}
11123 ac_save_CFLAGS
=$CFLAGS
11125 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11126 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11127 if test "${ac_cv_prog_cc_g+set}" = set; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 cat >conftest.
$ac_ext <<_ACEOF
11133 cat confdefs.h
>>conftest.
$ac_ext
11134 cat >>conftest.
$ac_ext <<_ACEOF
11135 /* end confdefs.h. */
11145 rm -f conftest.
$ac_objext
11146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11147 (eval $ac_compile) 2>conftest.er1
11149 grep -v '^ *+' conftest.er1
>conftest.err
11151 cat conftest.err
>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } &&
11154 { ac_try
='test -z "$ac_c_werror_flag"
11155 || test ! -s conftest.err'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; } &&
11161 { ac_try
='test -s conftest.$ac_objext'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; }; then
11167 ac_cv_prog_cc_g
=yes
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.
$ac_ext >&5
11174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11176 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11177 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11178 if test "$ac_test_CFLAGS" = set; then
11179 CFLAGS
=$ac_save_CFLAGS
11180 elif test $ac_cv_prog_cc_g = yes; then
11181 if test "$GCC" = yes; then
11187 if test "$GCC" = yes; then
11193 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11194 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11195 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11198 ac_cv_prog_cc_stdc
=no
11200 cat >conftest.
$ac_ext <<_ACEOF
11203 cat confdefs.h
>>conftest.
$ac_ext
11204 cat >>conftest.
$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 #include <stdarg.h>
11208 #include <sys/types.h>
11209 #include <sys/stat.h>
11210 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11211 struct buf { int x; };
11212 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11213 static char *e (p, i)
11219 static char *f (char * (*g) (char **, int), char **p, ...)
11224 s = g (p, va_arg (v,int));
11229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11230 function prototypes and stuff, but not '\xHH' hex character constants.
11231 These don't provoke an error unfortunately, instead are silently treated
11232 as 'x'. The following induces an error, until -std1 is added to get
11233 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11234 array size at least. It's necessary to write '\x00'==0 to get something
11235 that's true only with -std1. */
11236 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11238 int test (int i, double x);
11239 struct s1 {int (*f) (int a);};
11240 struct s2 {int (*f) (double a);};
11241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11252 # Don't try gcc -ansi; that turns off useful extensions and
11253 # breaks some systems' header files.
11254 # AIX -qlanglvl=ansi
11255 # Ultrix and OSF/1 -std1
11256 # HP-UX 10.20 and later -Ae
11257 # HP-UX older versions -Aa -D_HPUX_SOURCE
11258 # SVR4 -Xc -D__EXTENSIONS__
11259 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11261 CC
="$ac_save_CC $ac_arg"
11262 rm -f conftest.
$ac_objext
11263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11264 (eval $ac_compile) 2>conftest.er1
11266 grep -v '^ *+' conftest.er1
>conftest.err
11268 cat conftest.err
>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); } &&
11271 { ac_try
='test -z "$ac_c_werror_flag"
11272 || test ! -s conftest.err'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; } &&
11278 { ac_try
='test -s conftest.$ac_objext'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; }; then
11284 ac_cv_prog_cc_stdc
=$ac_arg
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.
$ac_ext >&5
11291 rm -f conftest.err conftest.
$ac_objext
11293 rm -f conftest.
$ac_ext conftest.
$ac_objext
11298 case "x$ac_cv_prog_cc_stdc" in
11300 echo "$as_me:$LINENO: result: none needed" >&5
11301 echo "${ECHO_T}none needed" >&6 ;;
11303 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11304 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11305 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11308 # Some people use a C++ compiler to compile C. Since we use `exit',
11309 # in C++ we need to declare it. In case someone uses the same compiler
11310 # for both compiling C and C++ we need to have the C++ compiler decide
11311 # the declaration of exit, since it's the most demanding environment.
11312 cat >conftest.
$ac_ext <<_ACEOF
11313 #ifndef __cplusplus
11317 rm -f conftest.
$ac_objext
11318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11319 (eval $ac_compile) 2>conftest.er1
11321 grep -v '^ *+' conftest.er1
>conftest.err
11323 cat conftest.err
>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } &&
11326 { ac_try
='test -z "$ac_c_werror_flag"
11327 || test ! -s conftest.err'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; } &&
11333 { ac_try
='test -s conftest.$ac_objext'
11334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335 (eval $ac_try) 2>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); }; }; then
11339 for ac_declaration
in \
11341 'extern "C" void std::exit (int) throw (); using std::exit;' \
11342 'extern "C" void std::exit (int); using std::exit;' \
11343 'extern "C" void exit (int) throw ();' \
11344 'extern "C" void exit (int);' \
11347 cat >conftest.
$ac_ext <<_ACEOF
11350 cat confdefs.h
>>conftest.
$ac_ext
11351 cat >>conftest.
$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11354 #include <stdlib.h>
11363 rm -f conftest.
$ac_objext
11364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11365 (eval $ac_compile) 2>conftest.er1
11367 grep -v '^ *+' conftest.er1
>conftest.err
11369 cat conftest.err
>&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); } &&
11372 { ac_try
='test -z "$ac_c_werror_flag"
11373 || test ! -s conftest.err'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; } &&
11379 { ac_try
='test -s conftest.$ac_objext'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; }; then
11387 echo "$as_me: failed program was:" >&5
11388 sed 's/^/| /' conftest.
$ac_ext >&5
11392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11393 cat >conftest.
$ac_ext <<_ACEOF
11396 cat confdefs.h
>>conftest.
$ac_ext
11397 cat >>conftest.
$ac_ext <<_ACEOF
11398 /* end confdefs.h. */
11408 rm -f conftest.
$ac_objext
11409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11410 (eval $ac_compile) 2>conftest.er1
11412 grep -v '^ *+' conftest.er1
>conftest.err
11414 cat conftest.err
>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); } &&
11417 { ac_try
='test -z "$ac_c_werror_flag"
11418 || test ! -s conftest.err'
11419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11420 (eval $ac_try) 2>&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); }; } &&
11424 { ac_try
='test -s conftest.$ac_objext'
11425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11426 (eval $ac_try) 2>&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); }; }; then
11432 echo "$as_me: failed program was:" >&5
11433 sed 's/^/| /' conftest.
$ac_ext >&5
11436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11439 if test -n "$ac_declaration"; then
11440 echo '#ifdef __cplusplus' >>confdefs.h
11441 echo $ac_declaration >>confdefs.h
11442 echo '#endif' >>confdefs.h
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.
$ac_ext >&5
11450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11452 ac_cpp
='$CPP $CPPFLAGS'
11453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11459 ac_cpp
='$CPP $CPPFLAGS'
11460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11464 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11465 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11466 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 cat >conftest.
$ac_ext <<_ACEOF
11472 cat confdefs.h
>>conftest.
$ac_ext
11473 cat >>conftest.
$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11487 rm -f conftest.
$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11491 grep -v '^ *+' conftest.er1
>conftest.err
11493 cat conftest.err
>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try
='test -z "$ac_c_werror_flag"
11497 || test ! -s conftest.err'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; } &&
11503 { ac_try
='test -s conftest.$ac_objext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 bakefile_compiler_mwerks
=yes
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.
$ac_ext >&5
11514 bakefile_compiler_mwerks
=no
11516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11517 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11520 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11521 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11523 MWCC
=`test $bakefile_compiler_mwerks = yes && echo yes`
11525 ac_cpp
='$CPP $CPPFLAGS'
11526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11533 ac_cpp
='$CPP $CPPFLAGS'
11534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11537 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11538 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11539 # On Suns, sometimes $CPP names a directory.
11540 if test -n "$CPP" && test -d "$CPP"; then
11543 if test -z "$CPP"; then
11544 if test "${ac_cv_prog_CPP+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 # Double quotes because CPP needs to be expanded
11548 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11550 ac_preproc_ok
=false
11551 for ac_c_preproc_warn_flag
in '' yes
11553 # Use a header file that comes with gcc, so configuring glibc
11554 # with a fresh cross-compiler works.
11555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11556 # <limits.h> exists even on freestanding compilers.
11557 # On the NeXT, cc -E runs the code through the compiler's parser,
11558 # not just through cpp. "Syntax error" is here to catch this case.
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11566 # include <limits.h>
11568 # include <assert.h>
11572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11575 grep -v '^ *+' conftest.er1
>conftest.err
11577 cat conftest.err
>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } >/dev
/null
; then
11580 if test -s conftest.err
; then
11581 ac_cpp_err
=$ac_c_preproc_warn_flag
11582 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11589 if test -z "$ac_cpp_err"; then
11592 echo "$as_me: failed program was:" >&5
11593 sed 's/^/| /' conftest.
$ac_ext >&5
11595 # Broken: fails on valid input.
11598 rm -f conftest.err conftest.
$ac_ext
11600 # OK, works on sane cases. Now check whether non-existent headers
11601 # can be detected and how.
11602 cat >conftest.
$ac_ext <<_ACEOF
11605 cat confdefs.h
>>conftest.
$ac_ext
11606 cat >>conftest.
$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 #include <ac_nonexistent.h>
11610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11611 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11613 grep -v '^ *+' conftest.er1
>conftest.err
11615 cat conftest.err
>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } >/dev
/null
; then
11618 if test -s conftest.err
; then
11619 ac_cpp_err
=$ac_c_preproc_warn_flag
11620 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11627 if test -z "$ac_cpp_err"; then
11628 # Broken: success on invalid input.
11631 echo "$as_me: failed program was:" >&5
11632 sed 's/^/| /' conftest.
$ac_ext >&5
11634 # Passes both tests.
11638 rm -f conftest.err conftest.
$ac_ext
11641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11642 rm -f conftest.err conftest.
$ac_ext
11643 if $ac_preproc_ok; then
11648 ac_cv_prog_CPP
=$CPP
11651 CPP
=$ac_cv_prog_CPP
11653 ac_cv_prog_CPP
=$CPP
11655 echo "$as_me:$LINENO: result: $CPP" >&5
11656 echo "${ECHO_T}$CPP" >&6
11657 ac_preproc_ok
=false
11658 for ac_c_preproc_warn_flag
in '' yes
11660 # Use a header file that comes with gcc, so configuring glibc
11661 # with a fresh cross-compiler works.
11662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11663 # <limits.h> exists even on freestanding compilers.
11664 # On the NeXT, cc -E runs the code through the compiler's parser,
11665 # not just through cpp. "Syntax error" is here to catch this case.
11666 cat >conftest.
$ac_ext <<_ACEOF
11669 cat confdefs.h
>>conftest.
$ac_ext
11670 cat >>conftest.
$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11673 # include <limits.h>
11675 # include <assert.h>
11679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11682 grep -v '^ *+' conftest.er1
>conftest.err
11684 cat conftest.err
>&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); } >/dev
/null
; then
11687 if test -s conftest.err
; then
11688 ac_cpp_err
=$ac_c_preproc_warn_flag
11689 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11696 if test -z "$ac_cpp_err"; then
11699 echo "$as_me: failed program was:" >&5
11700 sed 's/^/| /' conftest.
$ac_ext >&5
11702 # Broken: fails on valid input.
11705 rm -f conftest.err conftest.
$ac_ext
11707 # OK, works on sane cases. Now check whether non-existent headers
11708 # can be detected and how.
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 #include <ac_nonexistent.h>
11717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11718 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11720 grep -v '^ *+' conftest.er1
>conftest.err
11722 cat conftest.err
>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } >/dev
/null
; then
11725 if test -s conftest.err
; then
11726 ac_cpp_err
=$ac_c_preproc_warn_flag
11727 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11734 if test -z "$ac_cpp_err"; then
11735 # Broken: success on invalid input.
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.
$ac_ext >&5
11741 # Passes both tests.
11745 rm -f conftest.err conftest.
$ac_ext
11748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11749 rm -f conftest.err conftest.
$ac_ext
11750 if $ac_preproc_ok; then
11753 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11754 See \`config.log' for more details." >&5
11755 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11756 See \`config.log' for more details." >&2;}
11757 { (exit 1); exit 1; }; }
11761 ac_cpp
='$CPP $CPPFLAGS'
11762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11767 echo "$as_me:$LINENO: checking for egrep" >&5
11768 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11769 if test "${ac_cv_prog_egrep+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11773 then ac_cv_prog_egrep
='grep -E'
11774 else ac_cv_prog_egrep
='egrep'
11777 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11778 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11779 EGREP
=$ac_cv_prog_egrep
11782 if test $ac_cv_c_compiler_gnu = yes; then
11783 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11784 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11785 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 ac_pattern
="Autoconf.*'x'"
11789 cat >conftest.
$ac_ext <<_ACEOF
11792 cat confdefs.h
>>conftest.
$ac_ext
11793 cat >>conftest.
$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11799 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11800 ac_cv_prog_gcc_traditional
=yes
11802 ac_cv_prog_gcc_traditional
=no
11807 if test $ac_cv_prog_gcc_traditional = no
; then
11808 cat >conftest.
$ac_ext <<_ACEOF
11811 cat confdefs.h
>>conftest.
$ac_ext
11812 cat >>conftest.
$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 #include <termio.h>
11817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11818 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11819 ac_cv_prog_gcc_traditional
=yes
11825 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11826 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11827 if test $ac_cv_prog_gcc_traditional = yes; then
11828 CC
="$CC -traditional"
11836 ac_cpp
='$CXXCPP $CPPFLAGS'
11837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11842 CXXFLAGS
=${CXXFLAGS:=}
11844 ac_cpp
='$CXXCPP $CPPFLAGS'
11845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11848 if test -n "$ac_tool_prefix"; then
11849 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11852 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11853 echo "$as_me:$LINENO: checking for $ac_word" >&5
11854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11855 if test "${ac_cv_prog_CXX+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 if test -n "$CXX"; then
11859 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11862 for as_dir
in $PATH
11865 test -z "$as_dir" && as_dir
=.
11866 for ac_exec_ext
in '' $ac_executable_extensions; do
11867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11868 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11877 CXX
=$ac_cv_prog_CXX
11878 if test -n "$CXX"; then
11879 echo "$as_me:$LINENO: result: $CXX" >&5
11880 echo "${ECHO_T}$CXX" >&6
11882 echo "$as_me:$LINENO: result: no" >&5
11883 echo "${ECHO_T}no" >&6
11886 test -n "$CXX" && break
11889 if test -z "$CXX"; then
11891 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11893 # Extract the first word of "$ac_prog", so it can be a program name with args.
11894 set dummy
$ac_prog; ac_word
=$2
11895 echo "$as_me:$LINENO: checking for $ac_word" >&5
11896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11897 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 if test -n "$ac_ct_CXX"; then
11901 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11904 for as_dir
in $PATH
11907 test -z "$as_dir" && as_dir
=.
11908 for ac_exec_ext
in '' $ac_executable_extensions; do
11909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11910 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11919 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11920 if test -n "$ac_ct_CXX"; then
11921 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11922 echo "${ECHO_T}$ac_ct_CXX" >&6
11924 echo "$as_me:$LINENO: result: no" >&5
11925 echo "${ECHO_T}no" >&6
11928 test -n "$ac_ct_CXX" && break
11930 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11936 # Provide some information about the compiler.
11937 echo "$as_me:$LINENO:" \
11938 "checking for C++ compiler version" >&5
11939 ac_compiler
=`set X $ac_compile; echo $2`
11940 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11941 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }
11945 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11946 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }
11950 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11951 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }
11956 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11957 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11958 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 cat >conftest.
$ac_ext <<_ACEOF
11964 cat confdefs.h
>>conftest.
$ac_ext
11965 cat >>conftest.
$ac_ext <<_ACEOF
11966 /* end confdefs.h. */
11979 rm -f conftest.
$ac_objext
11980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11981 (eval $ac_compile) 2>conftest.er1
11983 grep -v '^ *+' conftest.er1
>conftest.err
11985 cat conftest.err
>&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } &&
11988 { ac_try
='test -z "$ac_cxx_werror_flag"
11989 || test ! -s conftest.err'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try
='test -s conftest.$ac_objext'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; }; then
12001 ac_compiler_gnu
=yes
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.
$ac_ext >&5
12008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12009 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12012 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12013 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12014 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12015 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12016 ac_save_CXXFLAGS
=$CXXFLAGS
12018 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12019 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12020 if test "${ac_cv_prog_cxx_g+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 cat >conftest.
$ac_ext <<_ACEOF
12026 cat confdefs.h
>>conftest.
$ac_ext
12027 cat >>conftest.
$ac_ext <<_ACEOF
12028 /* end confdefs.h. */
12038 rm -f conftest.
$ac_objext
12039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12040 (eval $ac_compile) 2>conftest.er1
12042 grep -v '^ *+' conftest.er1
>conftest.err
12044 cat conftest.err
>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try
='test -z "$ac_cxx_werror_flag"
12048 || test ! -s conftest.err'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; } &&
12054 { ac_try
='test -s conftest.$ac_objext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_prog_cxx_g
=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.
$ac_ext >&5
12065 ac_cv_prog_cxx_g
=no
12067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12069 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12070 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12071 if test "$ac_test_CXXFLAGS" = set; then
12072 CXXFLAGS
=$ac_save_CXXFLAGS
12073 elif test $ac_cv_prog_cxx_g = yes; then
12074 if test "$GXX" = yes; then
12080 if test "$GXX" = yes; then
12086 for ac_declaration
in \
12088 'extern "C" void std::exit (int) throw (); using std::exit;' \
12089 'extern "C" void std::exit (int); using std::exit;' \
12090 'extern "C" void exit (int) throw ();' \
12091 'extern "C" void exit (int);' \
12094 cat >conftest.
$ac_ext <<_ACEOF
12097 cat confdefs.h
>>conftest.
$ac_ext
12098 cat >>conftest.
$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12101 #include <stdlib.h>
12110 rm -f conftest.
$ac_objext
12111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12112 (eval $ac_compile) 2>conftest.er1
12114 grep -v '^ *+' conftest.er1
>conftest.err
12116 cat conftest.err
>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } &&
12119 { ac_try
='test -z "$ac_cxx_werror_flag"
12120 || test ! -s conftest.err'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; } &&
12126 { ac_try
='test -s conftest.$ac_objext'
12127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128 (eval $ac_try) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; }; then
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.
$ac_ext >&5
12139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12140 cat >conftest.
$ac_ext <<_ACEOF
12143 cat confdefs.h
>>conftest.
$ac_ext
12144 cat >>conftest.
$ac_ext <<_ACEOF
12145 /* end confdefs.h. */
12155 rm -f conftest.
$ac_objext
12156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12157 (eval $ac_compile) 2>conftest.er1
12159 grep -v '^ *+' conftest.er1
>conftest.err
12161 cat conftest.err
>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); } &&
12164 { ac_try
='test -z "$ac_cxx_werror_flag"
12165 || test ! -s conftest.err'
12166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12167 (eval $ac_try) 2>&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); }; } &&
12171 { ac_try
='test -s conftest.$ac_objext'
12172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12173 (eval $ac_try) 2>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); }; }; then
12179 echo "$as_me: failed program was:" >&5
12180 sed 's/^/| /' conftest.
$ac_ext >&5
12183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12186 if test -n "$ac_declaration"; then
12187 echo '#ifdef __cplusplus' >>confdefs.h
12188 echo $ac_declaration >>confdefs.h
12189 echo '#endif' >>confdefs.h
12193 ac_cpp
='$CXXCPP $CPPFLAGS'
12194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12200 ac_cpp
='$CXXCPP $CPPFLAGS'
12201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12205 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12206 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12207 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 cat >conftest.
$ac_ext <<_ACEOF
12213 cat confdefs.h
>>conftest.
$ac_ext
12214 cat >>conftest.
$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12228 rm -f conftest.
$ac_objext
12229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12230 (eval $ac_compile) 2>conftest.er1
12232 grep -v '^ *+' conftest.er1
>conftest.err
12234 cat conftest.err
>&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } &&
12237 { ac_try
='test -z "$ac_cxx_werror_flag"
12238 || test ! -s conftest.err'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } &&
12244 { ac_try
='test -s conftest.$ac_objext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 bakefile_compiler_mwerks
=yes
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.
$ac_ext >&5
12255 bakefile_compiler_mwerks
=no
12257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12258 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12261 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12262 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12264 MWCXX
=`test $bakefile_compiler_mwerks = yes && echo yes`
12266 ac_cpp
='$CXXCPP $CPPFLAGS'
12267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12274 ac_cpp
='$CPP $CPPFLAGS'
12275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12280 if test -n "$ac_tool_prefix"; then
12281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12282 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12283 echo "$as_me:$LINENO: checking for $ac_word" >&5
12284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12285 if test "${ac_cv_prog_RANLIB+set}" = set; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 if test -n "$RANLIB"; then
12289 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12292 for as_dir
in $PATH
12295 test -z "$as_dir" && as_dir
=.
12296 for ac_exec_ext
in '' $ac_executable_extensions; do
12297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12298 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 RANLIB
=$ac_cv_prog_RANLIB
12308 if test -n "$RANLIB"; then
12309 echo "$as_me:$LINENO: result: $RANLIB" >&5
12310 echo "${ECHO_T}$RANLIB" >&6
12312 echo "$as_me:$LINENO: result: no" >&5
12313 echo "${ECHO_T}no" >&6
12317 if test -z "$ac_cv_prog_RANLIB"; then
12318 ac_ct_RANLIB
=$RANLIB
12319 # Extract the first word of "ranlib", so it can be a program name with args.
12320 set dummy ranlib
; ac_word
=$2
12321 echo "$as_me:$LINENO: checking for $ac_word" >&5
12322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12323 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 if test -n "$ac_ct_RANLIB"; then
12327 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12330 for as_dir
in $PATH
12333 test -z "$as_dir" && as_dir
=.
12334 for ac_exec_ext
in '' $ac_executable_extensions; do
12335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12336 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12343 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12346 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12347 if test -n "$ac_ct_RANLIB"; then
12348 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12349 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12351 echo "$as_me:$LINENO: result: no" >&5
12352 echo "${ECHO_T}no" >&6
12355 RANLIB
=$ac_ct_RANLIB
12357 RANLIB
="$ac_cv_prog_RANLIB"
12361 # Extract the first word of "ar", so it can be a program name with args.
12362 set dummy
ar; ac_word
=$2
12363 echo "$as_me:$LINENO: checking for $ac_word" >&5
12364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12365 if test "${ac_cv_prog_AR+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12368 if test -n "$AR"; then
12369 ac_cv_prog_AR
="$AR" # Let the user override the test.
12371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12372 for as_dir
in $PATH
12375 test -z "$as_dir" && as_dir
=.
12376 for ac_exec_ext
in '' $ac_executable_extensions; do
12377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 if test -n "$AR"; then
12389 echo "$as_me:$LINENO: result: $AR" >&5
12390 echo "${ECHO_T}$AR" >&6
12392 echo "$as_me:$LINENO: result: no" >&5
12393 echo "${ECHO_T}no" >&6
12396 if test "x$AR" = "x" ; then
12397 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12398 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12399 { (exit 1); exit 1; }; }
12402 # Find a good install program. We prefer a C program (faster),
12403 # so one script is as good as another. But avoid the broken or
12404 # incompatible versions:
12405 # SysV /etc/install, /usr/sbin/install
12406 # SunOS /usr/etc/install
12407 # IRIX /sbin/install
12409 # AmigaOS /C/install, which installs bootblocks on floppy discs
12410 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12411 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12412 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12413 # OS/2's system install, which has a completely different semantic
12414 # ./install, which can be erroneously created by make from ./install.sh.
12415 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12416 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12417 if test -z "$INSTALL"; then
12418 if test "${ac_cv_path_install+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12422 for as_dir
in $PATH
12425 test -z "$as_dir" && as_dir
=.
12426 # Account for people who put trailing slashes in PATH elements.
12428 .
/ | .
// | /cC
/* | \
12429 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12430 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12433 # OSF1 and SCO ODT 3.0 have their own names for install.
12434 # Don't use installbsd from OSF since it installs stuff as root
12436 for ac_prog
in ginstall scoinst
install; do
12437 for ac_exec_ext
in '' $ac_executable_extensions; do
12438 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12439 if test $ac_prog = install &&
12440 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12441 # AIX install. It has an incompatible calling convention.
12443 elif test $ac_prog = install &&
12444 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12445 # program-specific install script used by HP pwplus--don't use.
12448 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12460 if test "${ac_cv_path_install+set}" = set; then
12461 INSTALL
=$ac_cv_path_install
12463 # As a last resort, use the slow shell script. We don't cache a
12464 # path for INSTALL within a source directory, because that will
12465 # break other packages using the cache if that directory is
12466 # removed, or if the path is relative.
12467 INSTALL
=$ac_install_sh
12470 echo "$as_me:$LINENO: result: $INSTALL" >&5
12471 echo "${ECHO_T}$INSTALL" >&6
12473 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12474 # It thinks the first close brace ends the variable substitution.
12475 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12477 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12479 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12485 ?
:* ) # Drive letter, considered as absolute.
12488 INSTALL
=`pwd`/${INSTALL} ;;
12494 powerpc
-*-darwin* )
12495 INSTALL_PROGRAM
="cp -fp"
12496 INSTALL_DATA
="cp -fp"
12502 # Extract the first word of "strip", so it can be a program name with args.
12503 set dummy strip
; ac_word
=$2
12504 echo "$as_me:$LINENO: checking for $ac_word" >&5
12505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12506 if test "${ac_cv_prog_STRIP+set}" = set; then
12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12509 if test -n "$STRIP"; then
12510 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12513 for as_dir
in $PATH
12516 test -z "$as_dir" && as_dir
=.
12517 for ac_exec_ext
in '' $ac_executable_extensions; do
12518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12519 ac_cv_prog_STRIP
="strip"
12520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12526 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12529 STRIP
=$ac_cv_prog_STRIP
12530 if test -n "$STRIP"; then
12531 echo "$as_me:$LINENO: result: $STRIP" >&5
12532 echo "${ECHO_T}$STRIP" >&6
12534 echo "$as_me:$LINENO: result: no" >&5
12535 echo "${ECHO_T}no" >&6
12539 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12540 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12541 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12546 egrep -s GNU
> /dev
/null
); then
12547 wx_cv_prog_makeisgnu
="yes"
12549 wx_cv_prog_makeisgnu
="no"
12553 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12554 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12556 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12564 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12565 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12566 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12567 if test "${wx_cv_prog_makevpath+set}" = set; then
12568 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 cat - << EOF > confMake
12577 if test ! -d sub
; then
12580 echo dummy
> sub
/file
12581 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12583 rm -f sub
/file check final_file confMake
12585 if test "$RESULT" = 0; then
12586 wx_cv_prog_makevpath
="yes"
12588 wx_cv_prog_makevpath
="no"
12592 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12593 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12595 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12596 { { echo "$as_me:$LINENO: error:
12597 You need a make-utility that is able to use the variable
12599 If your version of make does not support VPATH correctly,
12600 please install GNU-make (possibly as gmake), and start
12601 configure with the following command:
12602 export MAKE=gmake; ./configure for sh-type shells
12603 setenv MAKE gmake; ./configure for csh-type shells
12604 Also please do remember to use gmake in this case every time
12605 you are trying to compile.
12607 echo "$as_me: error:
12608 You need a make-utility that is able to use the variable
12610 If your version of make does not support VPATH correctly,
12611 please install GNU-make (possibly as gmake), and start
12612 configure with the following command:
12613 export MAKE=gmake; ./configure for sh-type shells
12614 setenv MAKE gmake; ./configure for csh-type shells
12615 Also please do remember to use gmake in this case every time
12616 you are trying to compile.
12618 { (exit 1); exit 1; }; }
12620 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12621 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12623 if test "$LN_S" = "ln -s"; then
12624 echo "$as_me:$LINENO: result: yes" >&5
12625 echo "${ECHO_T}yes" >&6
12627 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12628 echo "${ECHO_T}no, using $LN_S" >&6
12634 *-pc-os2_emx | *-pc-os2-emx )
12635 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12636 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12637 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12638 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 ac_check_lib_save_LIBS
=$LIBS
12642 LIBS
="-lcExt $LIBS"
12643 cat >conftest.
$ac_ext <<_ACEOF
12646 cat confdefs.h
>>conftest.
$ac_ext
12647 cat >>conftest.
$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12650 /* Override any gcc2 internal prototype to avoid an error. */
12654 /* We use char because int might match the return type of a gcc2
12655 builtin and then its argument prototype would still apply. */
12665 rm -f conftest.
$ac_objext conftest
$ac_exeext
12666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12667 (eval $ac_link) 2>conftest.er1
12669 grep -v '^ *+' conftest.er1
>conftest.err
12671 cat conftest.err
>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } &&
12674 { ac_try
='test -z "$ac_c_werror_flag"
12675 || test ! -s conftest.err'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try
='test -s conftest$ac_exeext'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; }; then
12687 ac_cv_lib_cExt_drand48
=yes
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.
$ac_ext >&5
12692 ac_cv_lib_cExt_drand48
=no
12694 rm -f conftest.err conftest.
$ac_objext \
12695 conftest
$ac_exeext conftest.
$ac_ext
12696 LIBS
=$ac_check_lib_save_LIBS
12698 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12699 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12700 if test $ac_cv_lib_cExt_drand48 = yes; then
12701 LIBS
="$LIBS -lcExt"
12705 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12707 echo "$as_me:$LINENO: checking for gcc version" >&5
12708 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12709 if test "${wx_cv_gccversion+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 if test "$cross_compiling" = yes; then
12714 wx_cv_gccversion
="EMX2"
12717 cat >conftest.
$ac_ext <<_ACEOF
12720 cat confdefs.h
>>conftest.
$ac_ext
12721 cat >>conftest.
$ac_ext <<_ACEOF
12722 /* end confdefs.h. */
12728 FILE *f=fopen("conftestval", "w");
12733 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12735 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
12745 rm -f conftest
$ac_exeext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12747 (eval $ac_link) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 wx_cv_gccversion
=`cat conftestval`
12758 echo "$as_me: program exited with status $ac_status" >&5
12759 echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.
$ac_ext >&5
12762 ( exit $ac_status )
12763 wx_cv_gccversion
="EMX2"
12765 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12769 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12770 echo "${ECHO_T}$wx_cv_gccversion" >&6
12771 if test "$wx_cv_gccversion" = "EMX2"; then
12772 LIBS
="$LIBS -lstdcpp"
12773 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12775 if test "$wx_cv_gccversion" = "EMX3"; then
12776 LIBS
="$LIBS -lstdcxx"
12777 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12779 LIBS
="$LIBS -lstdc++"
12782 if test "$wxUSE_OMF" = "yes"; then
12783 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12791 ac_cpp
='$CXXCPP $CPPFLAGS'
12792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12797 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12798 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12799 if test "${ac_cv_string_strcasecmp+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 cat >conftest.
$ac_ext <<_ACEOF
12806 cat confdefs.h
>>conftest.
$ac_ext
12807 cat >>conftest.
$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12810 #include <string.h>
12816 strcasecmp("foo", "bar");
12822 rm -f conftest.
$ac_objext conftest
$ac_exeext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12824 (eval $ac_link) 2>conftest.er1
12826 grep -v '^ *+' conftest.er1
>conftest.err
12828 cat conftest.err
>&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); } &&
12831 { ac_try
='test -z "$ac_cxx_werror_flag"
12832 || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try
='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 ac_cv_string_strcasecmp
=yes
12846 echo "$as_me: failed program was:" >&5
12847 sed 's/^/| /' conftest.
$ac_ext >&5
12849 ac_cv_string_strcasecmp
=no
12852 rm -f conftest.err conftest.
$ac_objext \
12853 conftest
$ac_exeext conftest.
$ac_ext
12856 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12857 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12859 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12860 cat >>confdefs.h
<<\_ACEOF
12861 #define HAVE_STRCASECMP_IN_STRING_H 1
12865 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12866 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12867 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 cat >conftest.
$ac_ext <<_ACEOF
12874 cat confdefs.h
>>conftest.
$ac_ext
12875 cat >>conftest.
$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12878 #include <strings.h>
12884 strcasecmp("foo", "bar");
12890 rm -f conftest.
$ac_objext conftest
$ac_exeext
12891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12892 (eval $ac_link) 2>conftest.er1
12894 grep -v '^ *+' conftest.er1
>conftest.err
12896 cat conftest.err
>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } &&
12899 { ac_try
='test -z "$ac_cxx_werror_flag"
12900 || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } &&
12906 { ac_try
='test -s conftest$ac_exeext'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; }; then
12912 ac_cv_strings_strcasecmp
=yes
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.
$ac_ext >&5
12917 ac_cv_strings_strcasecmp
=no
12920 rm -f conftest.err conftest.
$ac_objext \
12921 conftest
$ac_exeext conftest.
$ac_ext
12924 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12925 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12927 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12928 cat >>confdefs.h
<<\_ACEOF
12929 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12933 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12934 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12935 { (exit 1); exit 1; }; }
12940 ac_cpp
='$CPP $CPPFLAGS'
12941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12949 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12950 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12951 if test "${ac_cv_header_stdc+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 cat >conftest.
$ac_ext <<_ACEOF
12957 cat confdefs.h
>>conftest.
$ac_ext
12958 cat >>conftest.
$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 #include <stdlib.h>
12961 #include <stdarg.h>
12962 #include <string.h>
12973 rm -f conftest.
$ac_objext
12974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12975 (eval $ac_compile) 2>conftest.er1
12977 grep -v '^ *+' conftest.er1
>conftest.err
12979 cat conftest.err
>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } &&
12982 { ac_try
='test -z "$ac_c_werror_flag"
12983 || test ! -s conftest.err'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; } &&
12989 { ac_try
='test -s conftest.$ac_objext'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; }; then
12995 ac_cv_header_stdc
=yes
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.
$ac_ext >&5
13000 ac_cv_header_stdc
=no
13002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13004 if test $ac_cv_header_stdc = yes; then
13005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13006 cat >conftest.
$ac_ext <<_ACEOF
13009 cat confdefs.h
>>conftest.
$ac_ext
13010 cat >>conftest.
$ac_ext <<_ACEOF
13011 /* end confdefs.h. */
13012 #include <string.h>
13015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13016 $EGREP "memchr" >/dev
/null
2>&1; then
13019 ac_cv_header_stdc
=no
13025 if test $ac_cv_header_stdc = yes; then
13026 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 #include <stdlib.h>
13036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13037 $EGREP "free" >/dev
/null
2>&1; then
13040 ac_cv_header_stdc
=no
13046 if test $ac_cv_header_stdc = yes; then
13047 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13048 if test "$cross_compiling" = yes; then
13051 cat >conftest.
$ac_ext <<_ACEOF
13054 cat confdefs.h
>>conftest.
$ac_ext
13055 cat >>conftest.
$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13058 #if ((' ' & 0x0FF) == 0x020)
13059 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13060 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13062 # define ISLOWER(c) \
13063 (('a' <= (c) && (c) <= 'i') \
13064 || ('j' <= (c) && (c) <= 'r') \
13065 || ('s' <= (c) && (c) <= 'z'))
13066 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13069 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13074 for (i = 0; i < 256; i++)
13075 if (XOR (islower (i), ISLOWER (i))
13076 || toupper (i) != TOUPPER (i))
13081 rm -f conftest
$ac_exeext
13082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13083 (eval $ac_link) 2>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13088 (eval $ac_try) 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; }; then
13094 echo "$as_me: program exited with status $ac_status" >&5
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.
$ac_ext >&5
13098 ( exit $ac_status )
13099 ac_cv_header_stdc
=no
13101 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13105 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13106 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13107 if test $ac_cv_header_stdc = yes; then
13109 cat >>confdefs.h
<<\_ACEOF
13110 #define STDC_HEADERS 1
13115 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13125 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13126 inttypes.h stdint.h unistd.h
13128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13129 echo "$as_me:$LINENO: checking for $ac_header" >&5
13130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 cat >conftest.
$ac_ext <<_ACEOF
13137 cat confdefs.h
>>conftest.
$ac_ext
13138 cat >>conftest.
$ac_ext <<_ACEOF
13139 /* end confdefs.h. */
13140 $ac_includes_default
13142 #include <$ac_header>
13144 rm -f conftest.
$ac_objext
13145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13146 (eval $ac_compile) 2>conftest.er1
13148 grep -v '^ *+' conftest.er1
>conftest.err
13150 cat conftest.err
>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try
='test -z "$ac_c_werror_flag"
13154 || test ! -s conftest.err'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; } &&
13160 { ac_try
='test -s conftest.$ac_objext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 eval "$as_ac_Header=yes"
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.
$ac_ext >&5
13171 eval "$as_ac_Header=no"
13173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13178 cat >>confdefs.h
<<_ACEOF
13179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13188 for ac_header
in stdlib.h
13190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13200 # Is the header compilable?
13201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203 cat >conftest.
$ac_ext <<_ACEOF
13206 cat confdefs.h
>>conftest.
$ac_ext
13207 cat >>conftest.
$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209 $ac_includes_default
13210 #include <$ac_header>
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1
>conftest.err
13218 cat conftest.err
>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try
='test -z "$ac_c_werror_flag"
13222 || test ! -s conftest.err'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try
='test -s conftest.$ac_objext'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 ac_header_compiler
=yes
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.
$ac_ext >&5
13239 ac_header_compiler
=no
13241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13243 echo "${ECHO_T}$ac_header_compiler" >&6
13245 # Is the header present?
13246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13248 cat >conftest.
$ac_ext <<_ACEOF
13251 cat confdefs.h
>>conftest.
$ac_ext
13252 cat >>conftest.
$ac_ext <<_ACEOF
13253 /* end confdefs.h. */
13254 #include <$ac_header>
13256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13259 grep -v '^ *+' conftest.er1
>conftest.err
13261 cat conftest.err
>&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } >/dev
/null
; then
13264 if test -s conftest.err
; then
13265 ac_cpp_err
=$ac_c_preproc_warn_flag
13266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13273 if test -z "$ac_cpp_err"; then
13274 ac_header_preproc
=yes
13276 echo "$as_me: failed program was:" >&5
13277 sed 's/^/| /' conftest.
$ac_ext >&5
13279 ac_header_preproc
=no
13281 rm -f conftest.err conftest.
$ac_ext
13282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13283 echo "${ECHO_T}$ac_header_preproc" >&6
13285 # So? What about this header?
13286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13292 ac_header_preproc
=yes
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13309 ## ----------------------------------------- ##
13310 ## Report this to wx-dev@lists.wxwidgets.org ##
13311 ## ----------------------------------------- ##
13314 sed "s/^/$as_me: WARNING: /" >&2
13317 echo "$as_me:$LINENO: checking for $ac_header" >&5
13318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13322 eval "$as_ac_Header=\$ac_header_preproc"
13324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13329 cat >>confdefs.h
<<_ACEOF
13330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13338 for ac_header
in malloc.h
13340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13342 echo "$as_me:$LINENO: checking for $ac_header" >&5
13343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13345 echo $ECHO_N "(cached) $ECHO_C" >&6
13347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13350 # Is the header compilable?
13351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13353 cat >conftest.
$ac_ext <<_ACEOF
13356 cat confdefs.h
>>conftest.
$ac_ext
13357 cat >>conftest.
$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13359 $ac_includes_default
13360 #include <$ac_header>
13362 rm -f conftest.
$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13366 grep -v '^ *+' conftest.er1
>conftest.err
13368 cat conftest.err
>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try
='test -z "$ac_c_werror_flag"
13372 || test ! -s conftest.err'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; } &&
13378 { ac_try
='test -s conftest.$ac_objext'
13379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13380 (eval $ac_try) 2>&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); }; }; then
13384 ac_header_compiler
=yes
13386 echo "$as_me: failed program was:" >&5
13387 sed 's/^/| /' conftest.
$ac_ext >&5
13389 ac_header_compiler
=no
13391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13393 echo "${ECHO_T}$ac_header_compiler" >&6
13395 # Is the header present?
13396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13398 cat >conftest.
$ac_ext <<_ACEOF
13401 cat confdefs.h
>>conftest.
$ac_ext
13402 cat >>conftest.
$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404 #include <$ac_header>
13406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13409 grep -v '^ *+' conftest.er1
>conftest.err
13411 cat conftest.err
>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } >/dev
/null
; then
13414 if test -s conftest.err
; then
13415 ac_cpp_err
=$ac_c_preproc_warn_flag
13416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13423 if test -z "$ac_cpp_err"; then
13424 ac_header_preproc
=yes
13426 echo "$as_me: failed program was:" >&5
13427 sed 's/^/| /' conftest.
$ac_ext >&5
13429 ac_header_preproc
=no
13431 rm -f conftest.err conftest.
$ac_ext
13432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13433 echo "${ECHO_T}$ac_header_preproc" >&6
13435 # So? What about this header?
13436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13442 ac_header_preproc
=yes
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13459 ## ----------------------------------------- ##
13460 ## Report this to wx-dev@lists.wxwidgets.org ##
13461 ## ----------------------------------------- ##
13464 sed "s/^/$as_me: WARNING: /" >&2
13467 echo "$as_me:$LINENO: checking for $ac_header" >&5
13468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 eval "$as_ac_Header=\$ac_header_preproc"
13474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13479 cat >>confdefs.h
<<_ACEOF
13480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13488 for ac_header
in unistd.h
13490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13492 echo "$as_me:$LINENO: checking for $ac_header" >&5
13493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13495 echo $ECHO_N "(cached) $ECHO_C" >&6
13497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13500 # Is the header compilable?
13501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13503 cat >conftest.
$ac_ext <<_ACEOF
13506 cat confdefs.h
>>conftest.
$ac_ext
13507 cat >>conftest.
$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 $ac_includes_default
13510 #include <$ac_header>
13512 rm -f conftest.
$ac_objext
13513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13514 (eval $ac_compile) 2>conftest.er1
13516 grep -v '^ *+' conftest.er1
>conftest.err
13518 cat conftest.err
>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try
='test -z "$ac_c_werror_flag"
13522 || test ! -s conftest.err'
13523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524 (eval $ac_try) 2>&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; } &&
13528 { ac_try
='test -s conftest.$ac_objext'
13529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13530 (eval $ac_try) 2>&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; }; then
13534 ac_header_compiler
=yes
13536 echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.
$ac_ext >&5
13539 ac_header_compiler
=no
13541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13543 echo "${ECHO_T}$ac_header_compiler" >&6
13545 # Is the header present?
13546 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13548 cat >conftest.
$ac_ext <<_ACEOF
13551 cat confdefs.h
>>conftest.
$ac_ext
13552 cat >>conftest.
$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554 #include <$ac_header>
13556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13559 grep -v '^ *+' conftest.er1
>conftest.err
13561 cat conftest.err
>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } >/dev
/null
; then
13564 if test -s conftest.err
; then
13565 ac_cpp_err
=$ac_c_preproc_warn_flag
13566 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13573 if test -z "$ac_cpp_err"; then
13574 ac_header_preproc
=yes
13576 echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.
$ac_ext >&5
13579 ac_header_preproc
=no
13581 rm -f conftest.err conftest.
$ac_ext
13582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13583 echo "${ECHO_T}$ac_header_preproc" >&6
13585 # So? What about this header?
13586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13592 ac_header_preproc
=yes
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13609 ## ----------------------------------------- ##
13610 ## Report this to wx-dev@lists.wxwidgets.org ##
13611 ## ----------------------------------------- ##
13614 sed "s/^/$as_me: WARNING: /" >&2
13617 echo "$as_me:$LINENO: checking for $ac_header" >&5
13618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13622 eval "$as_ac_Header=\$ac_header_preproc"
13624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13629 cat >>confdefs.h
<<_ACEOF
13630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13638 for ac_header
in wchar.h
13640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13642 echo "$as_me:$LINENO: checking for $ac_header" >&5
13643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13650 # Is the header compilable?
13651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13653 cat >conftest.
$ac_ext <<_ACEOF
13656 cat confdefs.h
>>conftest.
$ac_ext
13657 cat >>conftest.
$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659 $ac_includes_default
13660 #include <$ac_header>
13662 rm -f conftest.
$ac_objext
13663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13664 (eval $ac_compile) 2>conftest.er1
13666 grep -v '^ *+' conftest.er1
>conftest.err
13668 cat conftest.err
>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } &&
13671 { ac_try
='test -z "$ac_c_werror_flag"
13672 || test ! -s conftest.err'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; } &&
13678 { ac_try
='test -s conftest.$ac_objext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 ac_header_compiler
=yes
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13689 ac_header_compiler
=no
13691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13693 echo "${ECHO_T}$ac_header_compiler" >&6
13695 # Is the header present?
13696 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13698 cat >conftest.
$ac_ext <<_ACEOF
13701 cat confdefs.h
>>conftest.
$ac_ext
13702 cat >>conftest.
$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 #include <$ac_header>
13706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13707 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13709 grep -v '^ *+' conftest.er1
>conftest.err
13711 cat conftest.err
>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } >/dev
/null
; then
13714 if test -s conftest.err
; then
13715 ac_cpp_err
=$ac_c_preproc_warn_flag
13716 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13723 if test -z "$ac_cpp_err"; then
13724 ac_header_preproc
=yes
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.
$ac_ext >&5
13729 ac_header_preproc
=no
13731 rm -f conftest.err conftest.
$ac_ext
13732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13733 echo "${ECHO_T}$ac_header_preproc" >&6
13735 # So? What about this header?
13736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13739 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13741 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13742 ac_header_preproc
=yes
13745 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13746 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13747 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13748 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13749 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13750 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13751 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13752 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13755 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13756 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13759 ## ----------------------------------------- ##
13760 ## Report this to wx-dev@lists.wxwidgets.org ##
13761 ## ----------------------------------------- ##
13764 sed "s/^/$as_me: WARNING: /" >&2
13767 echo "$as_me:$LINENO: checking for $ac_header" >&5
13768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 eval "$as_ac_Header=\$ac_header_preproc"
13774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13779 cat >>confdefs.h
<<_ACEOF
13780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13788 if test "$ac_cv_header_wchar_h" != "yes"; then
13790 for ac_header
in wcstr.h
13792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13794 echo "$as_me:$LINENO: checking for $ac_header" >&5
13795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13797 echo $ECHO_N "(cached) $ECHO_C" >&6
13799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13802 # Is the header compilable?
13803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13805 cat >conftest.
$ac_ext <<_ACEOF
13808 cat confdefs.h
>>conftest.
$ac_ext
13809 cat >>conftest.
$ac_ext <<_ACEOF
13810 /* end confdefs.h. */
13811 $ac_includes_default
13812 #include <$ac_header>
13814 rm -f conftest.
$ac_objext
13815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>conftest.er1
13818 grep -v '^ *+' conftest.er1
>conftest.err
13820 cat conftest.err
>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); } &&
13823 { ac_try
='test -z "$ac_c_werror_flag"
13824 || test ! -s conftest.err'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; } &&
13830 { ac_try
='test -s conftest.$ac_objext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 ac_header_compiler
=yes
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.
$ac_ext >&5
13841 ac_header_compiler
=no
13843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13845 echo "${ECHO_T}$ac_header_compiler" >&6
13847 # Is the header present?
13848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13850 cat >conftest.
$ac_ext <<_ACEOF
13853 cat confdefs.h
>>conftest.
$ac_ext
13854 cat >>conftest.
$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13856 #include <$ac_header>
13858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13861 grep -v '^ *+' conftest.er1
>conftest.err
13863 cat conftest.err
>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } >/dev
/null
; then
13866 if test -s conftest.err
; then
13867 ac_cpp_err
=$ac_c_preproc_warn_flag
13868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13875 if test -z "$ac_cpp_err"; then
13876 ac_header_preproc
=yes
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.
$ac_ext >&5
13881 ac_header_preproc
=no
13883 rm -f conftest.err conftest.
$ac_ext
13884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13885 echo "${ECHO_T}$ac_header_preproc" >&6
13887 # So? What about this header?
13888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13894 ac_header_preproc
=yes
13897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13911 ## ----------------------------------------- ##
13912 ## Report this to wx-dev@lists.wxwidgets.org ##
13913 ## ----------------------------------------- ##
13916 sed "s/^/$as_me: WARNING: /" >&2
13919 echo "$as_me:$LINENO: checking for $ac_header" >&5
13920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13922 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 eval "$as_ac_Header=\$ac_header_preproc"
13926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13931 cat >>confdefs.h
<<_ACEOF
13932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13942 for ac_header
in fnmatch.h
13944 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13946 echo "$as_me:$LINENO: checking for $ac_header" >&5
13947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13949 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13954 # Is the header compilable?
13955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13957 cat >conftest.
$ac_ext <<_ACEOF
13960 cat confdefs.h
>>conftest.
$ac_ext
13961 cat >>conftest.
$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 $ac_includes_default
13964 #include <$ac_header>
13966 rm -f conftest.
$ac_objext
13967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13968 (eval $ac_compile) 2>conftest.er1
13970 grep -v '^ *+' conftest.er1
>conftest.err
13972 cat conftest.err
>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } &&
13975 { ac_try
='test -z "$ac_c_werror_flag"
13976 || test ! -s conftest.err'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; } &&
13982 { ac_try
='test -s conftest.$ac_objext'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; }; then
13988 ac_header_compiler
=yes
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.
$ac_ext >&5
13993 ac_header_compiler
=no
13995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13997 echo "${ECHO_T}$ac_header_compiler" >&6
13999 # Is the header present?
14000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14002 cat >conftest.
$ac_ext <<_ACEOF
14005 cat confdefs.h
>>conftest.
$ac_ext
14006 cat >>conftest.
$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 #include <$ac_header>
14010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14013 grep -v '^ *+' conftest.er1
>conftest.err
14015 cat conftest.err
>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } >/dev
/null
; then
14018 if test -s conftest.err
; then
14019 ac_cpp_err
=$ac_c_preproc_warn_flag
14020 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14027 if test -z "$ac_cpp_err"; then
14028 ac_header_preproc
=yes
14030 echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.
$ac_ext >&5
14033 ac_header_preproc
=no
14035 rm -f conftest.err conftest.
$ac_ext
14036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14037 echo "${ECHO_T}$ac_header_preproc" >&6
14039 # So? What about this header?
14040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14046 ac_header_preproc
=yes
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14063 ## ----------------------------------------- ##
14064 ## Report this to wx-dev@lists.wxwidgets.org ##
14065 ## ----------------------------------------- ##
14068 sed "s/^/$as_me: WARNING: /" >&2
14071 echo "$as_me:$LINENO: checking for $ac_header" >&5
14072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14074 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 eval "$as_ac_Header=\$ac_header_preproc"
14078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14083 cat >>confdefs.h
<<_ACEOF
14084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14092 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14094 for ac_func
in fnmatch
14096 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14097 echo "$as_me:$LINENO: checking for $ac_func" >&5
14098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14099 if eval "test \"\${$as_ac_var+set}\" = set"; then
14100 echo $ECHO_N "(cached) $ECHO_C" >&6
14102 cat >conftest.
$ac_ext <<_ACEOF
14105 cat confdefs.h
>>conftest.
$ac_ext
14106 cat >>conftest.
$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14110 #define $ac_func innocuous_$ac_func
14112 /* System header to define __stub macros and hopefully few prototypes,
14113 which can conflict with char $ac_func (); below.
14114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14115 <limits.h> exists even on freestanding compilers. */
14118 # include <limits.h>
14120 # include <assert.h>
14125 /* Override any gcc2 internal prototype to avoid an error. */
14130 /* We use char because int might match the return type of a gcc2
14131 builtin and then its argument prototype would still apply. */
14133 /* The GNU C library defines this for functions which it implements
14134 to always fail with ENOSYS. Some functions are actually named
14135 something starting with __ and the normal name is an alias. */
14136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14139 char (*f) () = $ac_func;
14148 return f != $ac_func;
14153 rm -f conftest.
$ac_objext conftest
$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try
='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try
='test -s conftest$ac_exeext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 eval "$as_ac_var=yes"
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.
$ac_ext >&5
14180 eval "$as_ac_var=no"
14182 rm -f conftest.err conftest.
$ac_objext \
14183 conftest
$ac_exeext conftest.
$ac_ext
14185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14187 if test `eval echo '${'$as_ac_var'}'` = yes; then
14188 cat >>confdefs.h
<<_ACEOF
14189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14198 for ac_header
in langinfo.h
14200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14202 echo "$as_me:$LINENO: checking for $ac_header" >&5
14203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14205 echo $ECHO_N "(cached) $ECHO_C" >&6
14207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14210 # Is the header compilable?
14211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14213 cat >conftest.
$ac_ext <<_ACEOF
14216 cat confdefs.h
>>conftest.
$ac_ext
14217 cat >>conftest.
$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14220 #include <$ac_header>
14222 rm -f conftest.
$ac_objext
14223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14224 (eval $ac_compile) 2>conftest.er1
14226 grep -v '^ *+' conftest.er1
>conftest.err
14228 cat conftest.err
>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try
='test -z "$ac_c_werror_flag"
14232 || test ! -s conftest.err'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; } &&
14238 { ac_try
='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 ac_header_compiler
=yes
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.
$ac_ext >&5
14249 ac_header_compiler
=no
14251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14253 echo "${ECHO_T}$ac_header_compiler" >&6
14255 # Is the header present?
14256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14258 cat >conftest.
$ac_ext <<_ACEOF
14261 cat confdefs.h
>>conftest.
$ac_ext
14262 cat >>conftest.
$ac_ext <<_ACEOF
14263 /* end confdefs.h. */
14264 #include <$ac_header>
14266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14267 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14269 grep -v '^ *+' conftest.er1
>conftest.err
14271 cat conftest.err
>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } >/dev
/null
; then
14274 if test -s conftest.err
; then
14275 ac_cpp_err
=$ac_c_preproc_warn_flag
14276 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14283 if test -z "$ac_cpp_err"; then
14284 ac_header_preproc
=yes
14286 echo "$as_me: failed program was:" >&5
14287 sed 's/^/| /' conftest.
$ac_ext >&5
14289 ac_header_preproc
=no
14291 rm -f conftest.err conftest.
$ac_ext
14292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14293 echo "${ECHO_T}$ac_header_preproc" >&6
14295 # So? What about this header?
14296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14302 ac_header_preproc
=yes
14305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14319 ## ----------------------------------------- ##
14320 ## Report this to wx-dev@lists.wxwidgets.org ##
14321 ## ----------------------------------------- ##
14324 sed "s/^/$as_me: WARNING: /" >&2
14327 echo "$as_me:$LINENO: checking for $ac_header" >&5
14328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14332 eval "$as_ac_Header=\$ac_header_preproc"
14334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14339 cat >>confdefs.h
<<_ACEOF
14340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14349 *-pc-os2_emx | *-pc-os2-emx )
14350 if test $ac_cv_header_langinfo_h = "yes" \
14351 -a \
( "$wx_cv_gccversion" = "EMX2" \
14352 -o "$wx_cv_gccversion" = "EMX3" \
14353 -o "$wx_cv_gccversion" = "Innotek5" \
); then
14354 LIBS
="$LIBS -lintl"
14359 if test "$wxUSE_GUI" = "yes"; then
14360 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14362 for ac_header
in X
11/Xlib.h
14364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14366 echo "$as_me:$LINENO: checking for $ac_header" >&5
14367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14374 # Is the header compilable?
14375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14377 cat >conftest.
$ac_ext <<_ACEOF
14380 cat confdefs.h
>>conftest.
$ac_ext
14381 cat >>conftest.
$ac_ext <<_ACEOF
14382 /* end confdefs.h. */
14383 $ac_includes_default
14384 #include <$ac_header>
14386 rm -f conftest.
$ac_objext
14387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14388 (eval $ac_compile) 2>conftest.er1
14390 grep -v '^ *+' conftest.er1
>conftest.err
14392 cat conftest.err
>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); } &&
14395 { ac_try
='test -z "$ac_c_werror_flag"
14396 || test ! -s conftest.err'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; } &&
14402 { ac_try
='test -s conftest.$ac_objext'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; }; then
14408 ac_header_compiler
=yes
14410 echo "$as_me: failed program was:" >&5
14411 sed 's/^/| /' conftest.
$ac_ext >&5
14413 ac_header_compiler
=no
14415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14417 echo "${ECHO_T}$ac_header_compiler" >&6
14419 # Is the header present?
14420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14422 cat >conftest.
$ac_ext <<_ACEOF
14425 cat confdefs.h
>>conftest.
$ac_ext
14426 cat >>conftest.
$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14428 #include <$ac_header>
14430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14433 grep -v '^ *+' conftest.er1
>conftest.err
14435 cat conftest.err
>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } >/dev
/null
; then
14438 if test -s conftest.err
; then
14439 ac_cpp_err
=$ac_c_preproc_warn_flag
14440 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14447 if test -z "$ac_cpp_err"; then
14448 ac_header_preproc
=yes
14450 echo "$as_me: failed program was:" >&5
14451 sed 's/^/| /' conftest.
$ac_ext >&5
14453 ac_header_preproc
=no
14455 rm -f conftest.err conftest.
$ac_ext
14456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14457 echo "${ECHO_T}$ac_header_preproc" >&6
14459 # So? What about this header?
14460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14466 ac_header_preproc
=yes
14469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14483 ## ----------------------------------------- ##
14484 ## Report this to wx-dev@lists.wxwidgets.org ##
14485 ## ----------------------------------------- ##
14488 sed "s/^/$as_me: WARNING: /" >&2
14491 echo "$as_me:$LINENO: checking for $ac_header" >&5
14492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14494 echo $ECHO_N "(cached) $ECHO_C" >&6
14496 eval "$as_ac_Header=\$ac_header_preproc"
14498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14503 cat >>confdefs.h
<<_ACEOF
14504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14512 for ac_header
in X
11/XKBlib.h
14514 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14515 echo "$as_me:$LINENO: checking for $ac_header" >&5
14516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 cat >conftest.
$ac_ext <<_ACEOF
14523 cat confdefs.h
>>conftest.
$ac_ext
14524 cat >>conftest.
$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14527 #if HAVE_X11_XLIB_H
14528 #include <X11/Xlib.h>
14532 #include <$ac_header>
14534 rm -f conftest.
$ac_objext
14535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536 (eval $ac_compile) 2>conftest.er1
14538 grep -v '^ *+' conftest.er1
>conftest.err
14540 cat conftest.err
>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } &&
14543 { ac_try
='test -z "$ac_c_werror_flag"
14544 || test ! -s conftest.err'
14545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 (eval $ac_try) 2>&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); }; } &&
14550 { ac_try
='test -s conftest.$ac_objext'
14551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14552 (eval $ac_try) 2>&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); }; }; then
14556 eval "$as_ac_Header=yes"
14558 echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.
$ac_ext >&5
14561 eval "$as_ac_Header=no"
14563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14568 cat >>confdefs.h
<<_ACEOF
14569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14580 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14581 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14582 if test "${ac_cv_c_const+set}" = set; then
14583 echo $ECHO_N "(cached) $ECHO_C" >&6
14585 cat >conftest.
$ac_ext <<_ACEOF
14588 cat confdefs.h
>>conftest.
$ac_ext
14589 cat >>conftest.
$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14595 /* FIXME: Include the comments suggested by Paul. */
14596 #ifndef __cplusplus
14597 /* Ultrix mips cc rejects this. */
14598 typedef int charset[2];
14600 /* SunOS 4.1.1 cc rejects this. */
14601 char const *const *ccp;
14603 /* NEC SVR4.0.2 mips cc rejects this. */
14604 struct point {int x, y;};
14605 static struct point const zero = {0,0};
14606 /* AIX XL C 1.02.0.0 rejects this.
14607 It does not let you subtract one const X* pointer from another in
14608 an arm of an if-expression whose if-part is not a constant
14610 const char *g = "string";
14611 ccp = &g + (g ? g-g : 0);
14612 /* HPUX 7.0 cc rejects these. */
14615 ccp = (char const *const *) p;
14616 { /* SCO 3.2v4 cc rejects this. */
14618 char const *s = 0 ? (char *) 0 : (char const *) 0;
14622 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14623 int x[] = {25, 17};
14624 const int *foo = &x[0];
14627 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14628 typedef const int *iptr;
14632 { /* AIX XL C 1.02.0.0 rejects this saying
14633 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14634 struct s { int j; const int *ap[3]; };
14635 struct s *b; b->j = 5;
14637 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14638 const int foo = 10;
14646 rm -f conftest.
$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>conftest.er1
14650 grep -v '^ *+' conftest.er1
>conftest.err
14652 cat conftest.err
>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } &&
14655 { ac_try
='test -z "$ac_c_werror_flag"
14656 || test ! -s conftest.err'
14657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14658 (eval $ac_try) 2>&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); }; } &&
14662 { ac_try
='test -s conftest.$ac_objext'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; }; then
14670 echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.
$ac_ext >&5
14675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14677 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14678 echo "${ECHO_T}$ac_cv_c_const" >&6
14679 if test $ac_cv_c_const = no
; then
14681 cat >>confdefs.h
<<\_ACEOF
14687 echo "$as_me:$LINENO: checking for inline" >&5
14688 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14689 if test "${ac_cv_c_inline+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14693 for ac_kw
in inline __inline__ __inline
; do
14694 cat >conftest.
$ac_ext <<_ACEOF
14697 cat confdefs.h
>>conftest.
$ac_ext
14698 cat >>conftest.
$ac_ext <<_ACEOF
14699 /* end confdefs.h. */
14700 #ifndef __cplusplus
14702 static $ac_kw foo_t static_foo () {return 0; }
14703 $ac_kw foo_t foo () {return 0; }
14707 rm -f conftest.
$ac_objext
14708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14709 (eval $ac_compile) 2>conftest.er1
14711 grep -v '^ *+' conftest.er1
>conftest.err
14713 cat conftest.err
>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try
='test -z "$ac_c_werror_flag"
14717 || test ! -s conftest.err'
14718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14719 (eval $ac_try) 2>&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); }; } &&
14723 { ac_try
='test -s conftest.$ac_objext'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; }; then
14729 ac_cv_c_inline
=$ac_kw; break
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.
$ac_ext >&5
14735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14739 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14740 echo "${ECHO_T}$ac_cv_c_inline" >&6
14743 case $ac_cv_c_inline in
14746 case $ac_cv_c_inline in
14748 *) ac_val
=$ac_cv_c_inline;;
14750 cat >>confdefs.h
<<_ACEOF
14751 #ifndef __cplusplus
14752 #define inline $ac_val
14759 echo "$as_me:$LINENO: checking for char" >&5
14760 echo $ECHO_N "checking for char... $ECHO_C" >&6
14761 if test "${ac_cv_type_char+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 cat >conftest.
$ac_ext <<_ACEOF
14767 cat confdefs.h
>>conftest.
$ac_ext
14768 cat >>conftest.
$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770 $ac_includes_default
14782 rm -f conftest.
$ac_objext
14783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14784 (eval $ac_compile) 2>conftest.er1
14786 grep -v '^ *+' conftest.er1
>conftest.err
14788 cat conftest.err
>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try
='test -z "$ac_c_werror_flag"
14792 || test ! -s conftest.err'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; } &&
14798 { ac_try
='test -s conftest.$ac_objext'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; }; then
14804 ac_cv_type_char
=yes
14806 echo "$as_me: failed program was:" >&5
14807 sed 's/^/| /' conftest.
$ac_ext >&5
14811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14813 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14814 echo "${ECHO_T}$ac_cv_type_char" >&6
14816 echo "$as_me:$LINENO: checking size of char" >&5
14817 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14818 if test "${ac_cv_sizeof_char+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14821 if test "$ac_cv_type_char" = yes; then
14822 # The cast to unsigned long works around a bug in the HP C Compiler
14823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14825 # This bug is HP SR number 8606223364.
14826 if test "$cross_compiling" = yes; then
14827 # Depending upon the size, compute the lo and hi bounds.
14828 cat >conftest.
$ac_ext <<_ACEOF
14831 cat confdefs.h
>>conftest.
$ac_ext
14832 cat >>conftest.
$ac_ext <<_ACEOF
14833 /* end confdefs.h. */
14834 $ac_includes_default
14838 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14845 rm -f conftest.
$ac_objext
14846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14847 (eval $ac_compile) 2>conftest.er1
14849 grep -v '^ *+' conftest.er1
>conftest.err
14851 cat conftest.err
>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); } &&
14854 { ac_try
='test -z "$ac_c_werror_flag"
14855 || test ! -s conftest.err'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; } &&
14861 { ac_try
='test -s conftest.$ac_objext'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; }; then
14869 cat >conftest.
$ac_ext <<_ACEOF
14872 cat confdefs.h
>>conftest.
$ac_ext
14873 cat >>conftest.
$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14875 $ac_includes_default
14879 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14886 rm -f conftest.
$ac_objext
14887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14888 (eval $ac_compile) 2>conftest.er1
14890 grep -v '^ *+' conftest.er1
>conftest.err
14892 cat conftest.err
>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } &&
14895 { ac_try
='test -z "$ac_c_werror_flag"
14896 || test ! -s conftest.err'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; } &&
14902 { ac_try
='test -s conftest.$ac_objext'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14908 ac_hi
=$ac_mid; break
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 ac_lo
=`expr $ac_mid + 1`
14914 if test $ac_lo -le $ac_mid; then
14918 ac_mid
=`expr 2 '*' $ac_mid + 1`
14920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.
$ac_ext >&5
14926 cat >conftest.
$ac_ext <<_ACEOF
14929 cat confdefs.h
>>conftest.
$ac_ext
14930 cat >>conftest.
$ac_ext <<_ACEOF
14931 /* end confdefs.h. */
14932 $ac_includes_default
14936 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14943 rm -f conftest.
$ac_objext
14944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14945 (eval $ac_compile) 2>conftest.er1
14947 grep -v '^ *+' conftest.er1
>conftest.err
14949 cat conftest.err
>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); } &&
14952 { ac_try
='test -z "$ac_c_werror_flag"
14953 || test ! -s conftest.err'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; } &&
14959 { ac_try
='test -s conftest.$ac_objext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14967 cat >conftest.
$ac_ext <<_ACEOF
14970 cat confdefs.h
>>conftest.
$ac_ext
14971 cat >>conftest.
$ac_ext <<_ACEOF
14972 /* end confdefs.h. */
14973 $ac_includes_default
14977 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14984 rm -f conftest.
$ac_objext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14986 (eval $ac_compile) 2>conftest.er1
14988 grep -v '^ *+' conftest.er1
>conftest.err
14990 cat conftest.err
>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } &&
14993 { ac_try
='test -z "$ac_c_werror_flag"
14994 || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try
='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_lo
=$ac_mid; break
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.
$ac_ext >&5
15011 ac_hi
=`expr '(' $ac_mid ')' - 1`
15012 if test $ac_mid -le $ac_hi; then
15016 ac_mid
=`expr 2 '*' $ac_mid`
15018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15021 echo "$as_me: failed program was:" >&5
15022 sed 's/^/| /' conftest.
$ac_ext >&5
15026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15029 # Binary search between lo and hi bounds.
15030 while test "x$ac_lo" != "x$ac_hi"; do
15031 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15032 cat >conftest.
$ac_ext <<_ACEOF
15035 cat confdefs.h
>>conftest.
$ac_ext
15036 cat >>conftest.
$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15038 $ac_includes_default
15042 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15049 rm -f conftest.
$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>conftest.er1
15053 grep -v '^ *+' conftest.er1
>conftest.err
15055 cat conftest.err
>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try
='test -z "$ac_c_werror_flag"
15059 || test ! -s conftest.err'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; } &&
15065 { ac_try
='test -s conftest.$ac_objext'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; }; then
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 ac_lo
=`expr '(' $ac_mid ')' + 1`
15078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15081 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15082 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15083 See \`config.log' for more details." >&5
15084 echo "$as_me: error: cannot compute sizeof (char), 77
15085 See \`config.log' for more details." >&2;}
15086 { (exit 1); exit 1; }; } ;;
15089 if test "$cross_compiling" = yes; then
15090 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15091 See \`config.log' for more details." >&5
15092 echo "$as_me: error: cannot run test program while cross compiling
15093 See \`config.log' for more details." >&2;}
15094 { (exit 1); exit 1; }; }
15096 cat >conftest.
$ac_ext <<_ACEOF
15099 cat confdefs.h
>>conftest.
$ac_ext
15100 cat >>conftest.
$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15102 $ac_includes_default
15103 long longval () { return (long) (sizeof (char)); }
15104 unsigned long ulongval () { return (long) (sizeof (char)); }
15106 #include <stdlib.h>
15111 FILE *f = fopen ("conftest.val", "w");
15114 if (((long) (sizeof (char))) < 0)
15116 long i = longval ();
15117 if (i != ((long) (sizeof (char))))
15119 fprintf (f, "%ld\n", i);
15123 unsigned long i = ulongval ();
15124 if (i != ((long) (sizeof (char))))
15126 fprintf (f, "%lu\n", i);
15128 exit (ferror (f) || fclose (f) != 0);
15134 rm -f conftest
$ac_exeext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15136 (eval $ac_link) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; }; then
15145 ac_cv_sizeof_char
=`cat conftest.val`
15147 echo "$as_me: program exited with status $ac_status" >&5
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.
$ac_ext >&5
15151 ( exit $ac_status )
15152 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15153 See \`config.log' for more details." >&5
15154 echo "$as_me: error: cannot compute sizeof (char), 77
15155 See \`config.log' for more details." >&2;}
15156 { (exit 1); exit 1; }; }
15158 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15163 ac_cv_sizeof_char
=0
15166 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15167 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15168 cat >>confdefs.h
<<_ACEOF
15169 #define SIZEOF_CHAR $ac_cv_sizeof_char
15173 echo "$as_me:$LINENO: checking for short" >&5
15174 echo $ECHO_N "checking for short... $ECHO_C" >&6
15175 if test "${ac_cv_type_short+set}" = set; then
15176 echo $ECHO_N "(cached) $ECHO_C" >&6
15178 cat >conftest.
$ac_ext <<_ACEOF
15181 cat confdefs.h
>>conftest.
$ac_ext
15182 cat >>conftest.
$ac_ext <<_ACEOF
15183 /* end confdefs.h. */
15184 $ac_includes_default
15190 if (sizeof (short))
15196 rm -f conftest.
$ac_objext
15197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15198 (eval $ac_compile) 2>conftest.er1
15200 grep -v '^ *+' conftest.er1
>conftest.err
15202 cat conftest.err
>&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } &&
15205 { ac_try
='test -z "$ac_c_werror_flag"
15206 || test ! -s conftest.err'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; } &&
15212 { ac_try
='test -s conftest.$ac_objext'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; }; then
15218 ac_cv_type_short
=yes
15220 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.
$ac_ext >&5
15223 ac_cv_type_short
=no
15225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15227 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15228 echo "${ECHO_T}$ac_cv_type_short" >&6
15230 echo "$as_me:$LINENO: checking size of short" >&5
15231 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15232 if test "${ac_cv_sizeof_short+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 if test "$ac_cv_type_short" = yes; then
15236 # The cast to unsigned long works around a bug in the HP C Compiler
15237 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15238 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15239 # This bug is HP SR number 8606223364.
15240 if test "$cross_compiling" = yes; then
15241 # Depending upon the size, compute the lo and hi bounds.
15242 cat >conftest.
$ac_ext <<_ACEOF
15245 cat confdefs.h
>>conftest.
$ac_ext
15246 cat >>conftest.
$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248 $ac_includes_default
15252 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15259 rm -f conftest.
$ac_objext
15260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15261 (eval $ac_compile) 2>conftest.er1
15263 grep -v '^ *+' conftest.er1
>conftest.err
15265 cat conftest.err
>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } &&
15268 { ac_try
='test -z "$ac_c_werror_flag"
15269 || test ! -s conftest.err'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; } &&
15275 { ac_try
='test -s conftest.$ac_objext'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15283 cat >conftest.
$ac_ext <<_ACEOF
15286 cat confdefs.h
>>conftest.
$ac_ext
15287 cat >>conftest.
$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15289 $ac_includes_default
15293 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15300 rm -f conftest.
$ac_objext
15301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15302 (eval $ac_compile) 2>conftest.er1
15304 grep -v '^ *+' conftest.er1
>conftest.err
15306 cat conftest.err
>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); } &&
15309 { ac_try
='test -z "$ac_c_werror_flag"
15310 || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try
='test -s conftest.$ac_objext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_hi
=$ac_mid; break
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15327 ac_lo
=`expr $ac_mid + 1`
15328 if test $ac_lo -le $ac_mid; then
15332 ac_mid
=`expr 2 '*' $ac_mid + 1`
15334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15337 echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.
$ac_ext >&5
15340 cat >conftest.
$ac_ext <<_ACEOF
15343 cat confdefs.h
>>conftest.
$ac_ext
15344 cat >>conftest.
$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15346 $ac_includes_default
15350 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15357 rm -f conftest.
$ac_objext
15358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15359 (eval $ac_compile) 2>conftest.er1
15361 grep -v '^ *+' conftest.er1
>conftest.err
15363 cat conftest.err
>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } &&
15366 { ac_try
='test -z "$ac_c_werror_flag"
15367 || test ! -s conftest.err'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; } &&
15373 { ac_try
='test -s conftest.$ac_objext'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; }; then
15381 cat >conftest.
$ac_ext <<_ACEOF
15384 cat confdefs.h
>>conftest.
$ac_ext
15385 cat >>conftest.
$ac_ext <<_ACEOF
15386 /* end confdefs.h. */
15387 $ac_includes_default
15391 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15398 rm -f conftest.
$ac_objext
15399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15400 (eval $ac_compile) 2>conftest.er1
15402 grep -v '^ *+' conftest.er1
>conftest.err
15404 cat conftest.err
>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } &&
15407 { ac_try
='test -z "$ac_c_werror_flag"
15408 || test ! -s conftest.err'
15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15410 (eval $ac_try) 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; } &&
15414 { ac_try
='test -s conftest.$ac_objext'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; }; then
15420 ac_lo
=$ac_mid; break
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15425 ac_hi
=`expr '(' $ac_mid ')' - 1`
15426 if test $ac_mid -le $ac_hi; then
15430 ac_mid
=`expr 2 '*' $ac_mid`
15432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15435 echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.
$ac_ext >&5
15440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15443 # Binary search between lo and hi bounds.
15444 while test "x$ac_lo" != "x$ac_hi"; do
15445 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15446 cat >conftest.
$ac_ext <<_ACEOF
15449 cat confdefs.h
>>conftest.
$ac_ext
15450 cat >>conftest.
$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 $ac_includes_default
15456 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15463 rm -f conftest.
$ac_objext
15464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15465 (eval $ac_compile) 2>conftest.er1
15467 grep -v '^ *+' conftest.er1
>conftest.err
15469 cat conftest.err
>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } &&
15472 { ac_try
='test -z "$ac_c_werror_flag"
15473 || test ! -s conftest.err'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; } &&
15479 { ac_try
='test -s conftest.$ac_objext'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15487 echo "$as_me: failed program was:" >&5
15488 sed 's/^/| /' conftest.
$ac_ext >&5
15490 ac_lo
=`expr '(' $ac_mid ')' + 1`
15492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15495 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15496 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15497 See \`config.log' for more details." >&5
15498 echo "$as_me: error: cannot compute sizeof (short), 77
15499 See \`config.log' for more details." >&2;}
15500 { (exit 1); exit 1; }; } ;;
15503 if test "$cross_compiling" = yes; then
15504 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15505 See \`config.log' for more details." >&5
15506 echo "$as_me: error: cannot run test program while cross compiling
15507 See \`config.log' for more details." >&2;}
15508 { (exit 1); exit 1; }; }
15510 cat >conftest.
$ac_ext <<_ACEOF
15513 cat confdefs.h
>>conftest.
$ac_ext
15514 cat >>conftest.
$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15516 $ac_includes_default
15517 long longval () { return (long) (sizeof (short)); }
15518 unsigned long ulongval () { return (long) (sizeof (short)); }
15520 #include <stdlib.h>
15525 FILE *f = fopen ("conftest.val", "w");
15528 if (((long) (sizeof (short))) < 0)
15530 long i = longval ();
15531 if (i != ((long) (sizeof (short))))
15533 fprintf (f, "%ld\n", i);
15537 unsigned long i = ulongval ();
15538 if (i != ((long) (sizeof (short))))
15540 fprintf (f, "%lu\n", i);
15542 exit (ferror (f) || fclose (f) != 0);
15548 rm -f conftest
$ac_exeext
15549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15550 (eval $ac_link) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15555 (eval $ac_try) 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; }; then
15559 ac_cv_sizeof_short
=`cat conftest.val`
15561 echo "$as_me: program exited with status $ac_status" >&5
15562 echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.
$ac_ext >&5
15565 ( exit $ac_status )
15566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15567 See \`config.log' for more details." >&5
15568 echo "$as_me: error: cannot compute sizeof (short), 77
15569 See \`config.log' for more details." >&2;}
15570 { (exit 1); exit 1; }; }
15572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15577 ac_cv_sizeof_short
=0
15580 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15581 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15582 cat >>confdefs.h
<<_ACEOF
15583 #define SIZEOF_SHORT $ac_cv_sizeof_short
15587 echo "$as_me:$LINENO: checking for void *" >&5
15588 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15589 if test "${ac_cv_type_void_p+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 cat >conftest.
$ac_ext <<_ACEOF
15595 cat confdefs.h
>>conftest.
$ac_ext
15596 cat >>conftest.
$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15598 $ac_includes_default
15604 if (sizeof (void *))
15610 rm -f conftest.
$ac_objext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15612 (eval $ac_compile) 2>conftest.er1
15614 grep -v '^ *+' conftest.er1
>conftest.err
15616 cat conftest.err
>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } &&
15619 { ac_try
='test -z "$ac_c_werror_flag"
15620 || test ! -s conftest.err'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; } &&
15626 { ac_try
='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15632 ac_cv_type_void_p
=yes
15634 echo "$as_me: failed program was:" >&5
15635 sed 's/^/| /' conftest.
$ac_ext >&5
15637 ac_cv_type_void_p
=no
15639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15641 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15642 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15644 echo "$as_me:$LINENO: checking size of void *" >&5
15645 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15646 if test "${ac_cv_sizeof_void_p+set}" = set; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 if test "$ac_cv_type_void_p" = yes; then
15650 # The cast to unsigned long works around a bug in the HP C Compiler
15651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15653 # This bug is HP SR number 8606223364.
15654 if test "$cross_compiling" = yes; then
15655 # Depending upon the size, compute the lo and hi bounds.
15656 cat >conftest.
$ac_ext <<_ACEOF
15659 cat confdefs.h
>>conftest.
$ac_ext
15660 cat >>conftest.
$ac_ext <<_ACEOF
15661 /* end confdefs.h. */
15662 $ac_includes_default
15666 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15673 rm -f conftest.
$ac_objext
15674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15675 (eval $ac_compile) 2>conftest.er1
15677 grep -v '^ *+' conftest.er1
>conftest.err
15679 cat conftest.err
>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } &&
15682 { ac_try
='test -z "$ac_c_werror_flag"
15683 || test ! -s conftest.err'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; } &&
15689 { ac_try
='test -s conftest.$ac_objext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15697 cat >conftest.
$ac_ext <<_ACEOF
15700 cat confdefs.h
>>conftest.
$ac_ext
15701 cat >>conftest.
$ac_ext <<_ACEOF
15702 /* end confdefs.h. */
15703 $ac_includes_default
15707 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15714 rm -f conftest.
$ac_objext
15715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15716 (eval $ac_compile) 2>conftest.er1
15718 grep -v '^ *+' conftest.er1
>conftest.err
15720 cat conftest.err
>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); } &&
15723 { ac_try
='test -z "$ac_c_werror_flag"
15724 || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 ac_hi
=$ac_mid; break
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 ac_lo
=`expr $ac_mid + 1`
15742 if test $ac_lo -le $ac_mid; then
15746 ac_mid
=`expr 2 '*' $ac_mid + 1`
15748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.
$ac_ext >&5
15754 cat >conftest.
$ac_ext <<_ACEOF
15757 cat confdefs.h
>>conftest.
$ac_ext
15758 cat >>conftest.
$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15764 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15771 rm -f conftest.
$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15775 grep -v '^ *+' conftest.er1
>conftest.err
15777 cat conftest.err
>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try
='test -z "$ac_c_werror_flag"
15781 || test ! -s conftest.err'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; } &&
15787 { ac_try
='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15795 cat >conftest.
$ac_ext <<_ACEOF
15798 cat confdefs.h
>>conftest.
$ac_ext
15799 cat >>conftest.
$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 $ac_includes_default
15805 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15812 rm -f conftest.
$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15816 grep -v '^ *+' conftest.er1
>conftest.err
15818 cat conftest.err
>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try
='test -z "$ac_c_werror_flag"
15822 || test ! -s conftest.err'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; } &&
15828 { ac_try
='test -s conftest.$ac_objext'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; }; then
15834 ac_lo
=$ac_mid; break
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.
$ac_ext >&5
15839 ac_hi
=`expr '(' $ac_mid ')' - 1`
15840 if test $ac_mid -le $ac_hi; then
15844 ac_mid
=`expr 2 '*' $ac_mid`
15846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15849 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.
$ac_ext >&5
15854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 # Binary search between lo and hi bounds.
15858 while test "x$ac_lo" != "x$ac_hi"; do
15859 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15860 cat >conftest.
$ac_ext <<_ACEOF
15863 cat confdefs.h
>>conftest.
$ac_ext
15864 cat >>conftest.
$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 $ac_includes_default
15870 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15877 rm -f conftest.
$ac_objext
15878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15879 (eval $ac_compile) 2>conftest.er1
15881 grep -v '^ *+' conftest.er1
>conftest.err
15883 cat conftest.err
>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } &&
15886 { ac_try
='test -z "$ac_c_werror_flag"
15887 || test ! -s conftest.err'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; } &&
15893 { ac_try
='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15901 echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.
$ac_ext >&5
15904 ac_lo
=`expr '(' $ac_mid ')' + 1`
15906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15909 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15910 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15911 See \`config.log' for more details." >&5
15912 echo "$as_me: error: cannot compute sizeof (void *), 77
15913 See \`config.log' for more details." >&2;}
15914 { (exit 1); exit 1; }; } ;;
15917 if test "$cross_compiling" = yes; then
15918 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15919 See \`config.log' for more details." >&5
15920 echo "$as_me: error: cannot run test program while cross compiling
15921 See \`config.log' for more details." >&2;}
15922 { (exit 1); exit 1; }; }
15924 cat >conftest.
$ac_ext <<_ACEOF
15927 cat confdefs.h
>>conftest.
$ac_ext
15928 cat >>conftest.
$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930 $ac_includes_default
15931 long longval () { return (long) (sizeof (void *)); }
15932 unsigned long ulongval () { return (long) (sizeof (void *)); }
15934 #include <stdlib.h>
15939 FILE *f = fopen ("conftest.val", "w");
15942 if (((long) (sizeof (void *))) < 0)
15944 long i = longval ();
15945 if (i != ((long) (sizeof (void *))))
15947 fprintf (f, "%ld\n", i);
15951 unsigned long i = ulongval ();
15952 if (i != ((long) (sizeof (void *))))
15954 fprintf (f, "%lu\n", i);
15956 exit (ferror (f) || fclose (f) != 0);
15962 rm -f conftest
$ac_exeext
15963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15964 (eval $ac_link) 2>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15969 (eval $ac_try) 2>&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); }; }; then
15973 ac_cv_sizeof_void_p
=`cat conftest.val`
15975 echo "$as_me: program exited with status $ac_status" >&5
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.
$ac_ext >&5
15979 ( exit $ac_status )
15980 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15981 See \`config.log' for more details." >&5
15982 echo "$as_me: error: cannot compute sizeof (void *), 77
15983 See \`config.log' for more details." >&2;}
15984 { (exit 1); exit 1; }; }
15986 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15991 ac_cv_sizeof_void_p
=0
15994 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15995 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15996 cat >>confdefs.h
<<_ACEOF
15997 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16001 echo "$as_me:$LINENO: checking for int" >&5
16002 echo $ECHO_N "checking for int... $ECHO_C" >&6
16003 if test "${ac_cv_type_int+set}" = set; then
16004 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 cat >conftest.
$ac_ext <<_ACEOF
16009 cat confdefs.h
>>conftest.
$ac_ext
16010 cat >>conftest.
$ac_ext <<_ACEOF
16011 /* end confdefs.h. */
16012 $ac_includes_default
16024 rm -f conftest.
$ac_objext
16025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16026 (eval $ac_compile) 2>conftest.er1
16028 grep -v '^ *+' conftest.er1
>conftest.err
16030 cat conftest.err
>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } &&
16033 { ac_try
='test -z "$ac_c_werror_flag"
16034 || test ! -s conftest.err'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try
='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16055 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16056 echo "${ECHO_T}$ac_cv_type_int" >&6
16058 echo "$as_me:$LINENO: checking size of int" >&5
16059 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16060 if test "${ac_cv_sizeof_int+set}" = set; then
16061 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 if test "$ac_cv_type_int" = yes; then
16064 # The cast to unsigned long works around a bug in the HP C Compiler
16065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16067 # This bug is HP SR number 8606223364.
16068 if test "$cross_compiling" = yes; then
16069 # Depending upon the size, compute the lo and hi bounds.
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16080 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16087 rm -f conftest.
$ac_objext
16088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16089 (eval $ac_compile) 2>conftest.er1
16091 grep -v '^ *+' conftest.er1
>conftest.err
16093 cat conftest.err
>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } &&
16096 { ac_try
='test -z "$ac_c_werror_flag"
16097 || test ! -s conftest.err'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; } &&
16103 { ac_try
='test -s conftest.$ac_objext'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; }; then
16111 cat >conftest.
$ac_ext <<_ACEOF
16114 cat confdefs.h
>>conftest.
$ac_ext
16115 cat >>conftest.
$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 $ac_includes_default
16121 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16128 rm -f conftest.
$ac_objext
16129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16130 (eval $ac_compile) 2>conftest.er1
16132 grep -v '^ *+' conftest.er1
>conftest.err
16134 cat conftest.err
>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } &&
16137 { ac_try
='test -z "$ac_c_werror_flag"
16138 || test ! -s conftest.err'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; } &&
16144 { ac_try
='test -s conftest.$ac_objext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 ac_hi
=$ac_mid; break
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 ac_lo
=`expr $ac_mid + 1`
16156 if test $ac_lo -le $ac_mid; then
16160 ac_mid
=`expr 2 '*' $ac_mid + 1`
16162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.
$ac_ext >&5
16168 cat >conftest.
$ac_ext <<_ACEOF
16171 cat confdefs.h
>>conftest.
$ac_ext
16172 cat >>conftest.
$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16174 $ac_includes_default
16178 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16185 rm -f conftest.
$ac_objext
16186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16187 (eval $ac_compile) 2>conftest.er1
16189 grep -v '^ *+' conftest.er1
>conftest.err
16191 cat conftest.err
>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } &&
16194 { ac_try
='test -z "$ac_c_werror_flag"
16195 || test ! -s conftest.err'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; } &&
16201 { ac_try
='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16209 cat >conftest.
$ac_ext <<_ACEOF
16212 cat confdefs.h
>>conftest.
$ac_ext
16213 cat >>conftest.
$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 $ac_includes_default
16219 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16226 rm -f conftest.
$ac_objext
16227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16228 (eval $ac_compile) 2>conftest.er1
16230 grep -v '^ *+' conftest.er1
>conftest.err
16232 cat conftest.err
>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try
='test -z "$ac_c_werror_flag"
16236 || test ! -s conftest.err'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; } &&
16242 { ac_try
='test -s conftest.$ac_objext'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; }; then
16248 ac_lo
=$ac_mid; break
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.
$ac_ext >&5
16253 ac_hi
=`expr '(' $ac_mid ')' - 1`
16254 if test $ac_mid -le $ac_hi; then
16258 ac_mid
=`expr 2 '*' $ac_mid`
16260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.
$ac_ext >&5
16268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16271 # Binary search between lo and hi bounds.
16272 while test "x$ac_lo" != "x$ac_hi"; do
16273 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16274 cat >conftest.
$ac_ext <<_ACEOF
16277 cat confdefs.h
>>conftest.
$ac_ext
16278 cat >>conftest.
$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 $ac_includes_default
16284 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16291 rm -f conftest.
$ac_objext
16292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16293 (eval $ac_compile) 2>conftest.er1
16295 grep -v '^ *+' conftest.er1
>conftest.err
16297 cat conftest.err
>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try
='test -z "$ac_c_werror_flag"
16301 || test ! -s conftest.err'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; } &&
16307 { ac_try
='test -s conftest.$ac_objext'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; }; then
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.
$ac_ext >&5
16318 ac_lo
=`expr '(' $ac_mid ')' + 1`
16320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16323 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16325 See \`config.log' for more details." >&5
16326 echo "$as_me: error: cannot compute sizeof (int), 77
16327 See \`config.log' for more details." >&2;}
16328 { (exit 1); exit 1; }; } ;;
16331 if test "$cross_compiling" = yes; then
16332 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16333 See \`config.log' for more details." >&5
16334 echo "$as_me: error: cannot run test program while cross compiling
16335 See \`config.log' for more details." >&2;}
16336 { (exit 1); exit 1; }; }
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 $ac_includes_default
16345 long longval () { return (long) (sizeof (int)); }
16346 unsigned long ulongval () { return (long) (sizeof (int)); }
16348 #include <stdlib.h>
16353 FILE *f = fopen ("conftest.val", "w");
16356 if (((long) (sizeof (int))) < 0)
16358 long i = longval ();
16359 if (i != ((long) (sizeof (int))))
16361 fprintf (f, "%ld\n", i);
16365 unsigned long i = ulongval ();
16366 if (i != ((long) (sizeof (int))))
16368 fprintf (f, "%lu\n", i);
16370 exit (ferror (f) || fclose (f) != 0);
16376 rm -f conftest
$ac_exeext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16378 (eval $ac_link) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16383 (eval $ac_try) 2>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); }; }; then
16387 ac_cv_sizeof_int
=`cat conftest.val`
16389 echo "$as_me: program exited with status $ac_status" >&5
16390 echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.
$ac_ext >&5
16393 ( exit $ac_status )
16394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16395 See \`config.log' for more details." >&5
16396 echo "$as_me: error: cannot compute sizeof (int), 77
16397 See \`config.log' for more details." >&2;}
16398 { (exit 1); exit 1; }; }
16400 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16408 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16409 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16410 cat >>confdefs.h
<<_ACEOF
16411 #define SIZEOF_INT $ac_cv_sizeof_int
16415 echo "$as_me:$LINENO: checking for long" >&5
16416 echo $ECHO_N "checking for long... $ECHO_C" >&6
16417 if test "${ac_cv_type_long+set}" = set; then
16418 echo $ECHO_N "(cached) $ECHO_C" >&6
16420 cat >conftest.
$ac_ext <<_ACEOF
16423 cat confdefs.h
>>conftest.
$ac_ext
16424 cat >>conftest.
$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16438 rm -f conftest.
$ac_objext
16439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16440 (eval $ac_compile) 2>conftest.er1
16442 grep -v '^ *+' conftest.er1
>conftest.err
16444 cat conftest.err
>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } &&
16447 { ac_try
='test -z "$ac_c_werror_flag"
16448 || test ! -s conftest.err'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; } &&
16454 { ac_try
='test -s conftest.$ac_objext'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; }; then
16460 ac_cv_type_long
=yes
16462 echo "$as_me: failed program was:" >&5
16463 sed 's/^/| /' conftest.
$ac_ext >&5
16467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16469 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16470 echo "${ECHO_T}$ac_cv_type_long" >&6
16472 echo "$as_me:$LINENO: checking size of long" >&5
16473 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16474 if test "${ac_cv_sizeof_long+set}" = set; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 if test "$ac_cv_type_long" = yes; then
16478 # The cast to unsigned long works around a bug in the HP C Compiler
16479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16481 # This bug is HP SR number 8606223364.
16482 if test "$cross_compiling" = yes; then
16483 # Depending upon the size, compute the lo and hi bounds.
16484 cat >conftest.
$ac_ext <<_ACEOF
16487 cat confdefs.h
>>conftest.
$ac_ext
16488 cat >>conftest.
$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 $ac_includes_default
16494 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16501 rm -f conftest.
$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>conftest.er1
16505 grep -v '^ *+' conftest.er1
>conftest.err
16507 cat conftest.err
>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } &&
16510 { ac_try
='test -z "$ac_c_werror_flag"
16511 || test ! -s conftest.err'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; } &&
16517 { ac_try
='test -s conftest.$ac_objext'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; }; then
16525 cat >conftest.
$ac_ext <<_ACEOF
16528 cat confdefs.h
>>conftest.
$ac_ext
16529 cat >>conftest.
$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 $ac_includes_default
16535 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16542 rm -f conftest.
$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>conftest.er1
16546 grep -v '^ *+' conftest.er1
>conftest.err
16548 cat conftest.err
>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try
='test -z "$ac_c_werror_flag"
16552 || test ! -s conftest.err'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; } &&
16558 { ac_try
='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16564 ac_hi
=$ac_mid; break
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 ac_lo
=`expr $ac_mid + 1`
16570 if test $ac_lo -le $ac_mid; then
16574 ac_mid
=`expr 2 '*' $ac_mid + 1`
16576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.
$ac_ext >&5
16582 cat >conftest.
$ac_ext <<_ACEOF
16585 cat confdefs.h
>>conftest.
$ac_ext
16586 cat >>conftest.
$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16588 $ac_includes_default
16592 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16599 rm -f conftest.
$ac_objext
16600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16601 (eval $ac_compile) 2>conftest.er1
16603 grep -v '^ *+' conftest.er1
>conftest.err
16605 cat conftest.err
>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } &&
16608 { ac_try
='test -z "$ac_c_werror_flag"
16609 || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try
='test -s conftest.$ac_objext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16623 cat >conftest.
$ac_ext <<_ACEOF
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16633 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16640 rm -f conftest.
$ac_objext
16641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16642 (eval $ac_compile) 2>conftest.er1
16644 grep -v '^ *+' conftest.er1
>conftest.err
16646 cat conftest.err
>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); } &&
16649 { ac_try
='test -z "$ac_c_werror_flag"
16650 || test ! -s conftest.err'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try
='test -s conftest.$ac_objext'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16662 ac_lo
=$ac_mid; break
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.
$ac_ext >&5
16667 ac_hi
=`expr '(' $ac_mid ')' - 1`
16668 if test $ac_mid -le $ac_hi; then
16672 ac_mid
=`expr 2 '*' $ac_mid`
16674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.
$ac_ext >&5
16682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16685 # Binary search between lo and hi bounds.
16686 while test "x$ac_lo" != "x$ac_hi"; do
16687 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16688 cat >conftest.
$ac_ext <<_ACEOF
16691 cat confdefs.h
>>conftest.
$ac_ext
16692 cat >>conftest.
$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16698 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16705 rm -f conftest.
$ac_objext
16706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16707 (eval $ac_compile) 2>conftest.er1
16709 grep -v '^ *+' conftest.er1
>conftest.err
16711 cat conftest.err
>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try
='test -z "$ac_c_werror_flag"
16715 || test ! -s conftest.err'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; } &&
16721 { ac_try
='test -s conftest.$ac_objext'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; }; then
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.
$ac_ext >&5
16732 ac_lo
=`expr '(' $ac_mid ')' + 1`
16734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16737 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16738 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16739 See \`config.log' for more details." >&5
16740 echo "$as_me: error: cannot compute sizeof (long), 77
16741 See \`config.log' for more details." >&2;}
16742 { (exit 1); exit 1; }; } ;;
16745 if test "$cross_compiling" = yes; then
16746 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16747 See \`config.log' for more details." >&5
16748 echo "$as_me: error: cannot run test program while cross compiling
16749 See \`config.log' for more details." >&2;}
16750 { (exit 1); exit 1; }; }
16752 cat >conftest.
$ac_ext <<_ACEOF
16755 cat confdefs.h
>>conftest.
$ac_ext
16756 cat >>conftest.
$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758 $ac_includes_default
16759 long longval () { return (long) (sizeof (long)); }
16760 unsigned long ulongval () { return (long) (sizeof (long)); }
16762 #include <stdlib.h>
16767 FILE *f = fopen ("conftest.val", "w");
16770 if (((long) (sizeof (long))) < 0)
16772 long i = longval ();
16773 if (i != ((long) (sizeof (long))))
16775 fprintf (f, "%ld\n", i);
16779 unsigned long i = ulongval ();
16780 if (i != ((long) (sizeof (long))))
16782 fprintf (f, "%lu\n", i);
16784 exit (ferror (f) || fclose (f) != 0);
16790 rm -f conftest
$ac_exeext
16791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16792 (eval $ac_link) 2>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 ac_cv_sizeof_long
=`cat conftest.val`
16803 echo "$as_me: program exited with status $ac_status" >&5
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.
$ac_ext >&5
16807 ( exit $ac_status )
16808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16809 See \`config.log' for more details." >&5
16810 echo "$as_me: error: cannot compute sizeof (long), 77
16811 See \`config.log' for more details." >&2;}
16812 { (exit 1); exit 1; }; }
16814 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16819 ac_cv_sizeof_long
=0
16822 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16823 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16824 cat >>confdefs.h
<<_ACEOF
16825 #define SIZEOF_LONG $ac_cv_sizeof_long
16829 echo "$as_me:$LINENO: checking for size_t" >&5
16830 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16831 if test "${ac_cv_type_size_t+set}" = set; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 cat >conftest.
$ac_ext <<_ACEOF
16837 cat confdefs.h
>>conftest.
$ac_ext
16838 cat >>conftest.
$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16840 $ac_includes_default
16846 if (sizeof (size_t))
16852 rm -f conftest.
$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>conftest.er1
16856 grep -v '^ *+' conftest.er1
>conftest.err
16858 cat conftest.err
>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try
='test -z "$ac_c_werror_flag"
16862 || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try
='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 ac_cv_type_size_t
=yes
16876 echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.
$ac_ext >&5
16879 ac_cv_type_size_t
=no
16881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16883 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16884 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16886 echo "$as_me:$LINENO: checking size of size_t" >&5
16887 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16888 if test "${ac_cv_sizeof_size_t+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16891 if test "$ac_cv_type_size_t" = yes; then
16892 # The cast to unsigned long works around a bug in the HP C Compiler
16893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16895 # This bug is HP SR number 8606223364.
16896 if test "$cross_compiling" = yes; then
16897 # Depending upon the size, compute the lo and hi bounds.
16898 cat >conftest.
$ac_ext <<_ACEOF
16901 cat confdefs.h
>>conftest.
$ac_ext
16902 cat >>conftest.
$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16904 $ac_includes_default
16908 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16915 rm -f conftest.
$ac_objext
16916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16917 (eval $ac_compile) 2>conftest.er1
16919 grep -v '^ *+' conftest.er1
>conftest.err
16921 cat conftest.err
>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); } &&
16924 { ac_try
='test -z "$ac_c_werror_flag"
16925 || test ! -s conftest.err'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; } &&
16931 { ac_try
='test -s conftest.$ac_objext'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; }; then
16939 cat >conftest.
$ac_ext <<_ACEOF
16942 cat confdefs.h
>>conftest.
$ac_ext
16943 cat >>conftest.
$ac_ext <<_ACEOF
16944 /* end confdefs.h. */
16945 $ac_includes_default
16949 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16956 rm -f conftest.
$ac_objext
16957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16958 (eval $ac_compile) 2>conftest.er1
16960 grep -v '^ *+' conftest.er1
>conftest.err
16962 cat conftest.err
>&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); } &&
16965 { ac_try
='test -z "$ac_c_werror_flag"
16966 || test ! -s conftest.err'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; } &&
16972 { ac_try
='test -s conftest.$ac_objext'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; }; then
16978 ac_hi
=$ac_mid; break
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.
$ac_ext >&5
16983 ac_lo
=`expr $ac_mid + 1`
16984 if test $ac_lo -le $ac_mid; then
16988 ac_mid
=`expr 2 '*' $ac_mid + 1`
16990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.
$ac_ext >&5
16996 cat >conftest.
$ac_ext <<_ACEOF
16999 cat confdefs.h
>>conftest.
$ac_ext
17000 cat >>conftest.
$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17002 $ac_includes_default
17006 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17013 rm -f conftest.
$ac_objext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17015 (eval $ac_compile) 2>conftest.er1
17017 grep -v '^ *+' conftest.er1
>conftest.err
17019 cat conftest.err
>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try
='test -z "$ac_c_werror_flag"
17023 || test ! -s conftest.err'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try
='test -s conftest.$ac_objext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17037 cat >conftest.
$ac_ext <<_ACEOF
17040 cat confdefs.h
>>conftest.
$ac_ext
17041 cat >>conftest.
$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 $ac_includes_default
17047 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17054 rm -f conftest.
$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056 (eval $ac_compile) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try
='test -z "$ac_c_werror_flag"
17064 || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try
='test -s conftest.$ac_objext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 ac_lo
=$ac_mid; break
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.
$ac_ext >&5
17081 ac_hi
=`expr '(' $ac_mid ')' - 1`
17082 if test $ac_mid -le $ac_hi; then
17086 ac_mid
=`expr 2 '*' $ac_mid`
17088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.
$ac_ext >&5
17096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17099 # Binary search between lo and hi bounds.
17100 while test "x$ac_lo" != "x$ac_hi"; do
17101 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17102 cat >conftest.
$ac_ext <<_ACEOF
17105 cat confdefs.h
>>conftest.
$ac_ext
17106 cat >>conftest.
$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17108 $ac_includes_default
17112 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17119 rm -f conftest.
$ac_objext
17120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17121 (eval $ac_compile) 2>conftest.er1
17123 grep -v '^ *+' conftest.er1
>conftest.err
17125 cat conftest.err
>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } &&
17128 { ac_try
='test -z "$ac_c_werror_flag"
17129 || test ! -s conftest.err'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; } &&
17135 { ac_try
='test -s conftest.$ac_objext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.
$ac_ext >&5
17146 ac_lo
=`expr '(' $ac_mid ')' + 1`
17148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17151 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17152 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17153 See \`config.log' for more details." >&5
17154 echo "$as_me: error: cannot compute sizeof (size_t), 77
17155 See \`config.log' for more details." >&2;}
17156 { (exit 1); exit 1; }; } ;;
17159 if test "$cross_compiling" = yes; then
17160 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17161 See \`config.log' for more details." >&5
17162 echo "$as_me: error: cannot run test program while cross compiling
17163 See \`config.log' for more details." >&2;}
17164 { (exit 1); exit 1; }; }
17166 cat >conftest.
$ac_ext <<_ACEOF
17169 cat confdefs.h
>>conftest.
$ac_ext
17170 cat >>conftest.
$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 $ac_includes_default
17173 long longval () { return (long) (sizeof (size_t)); }
17174 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17176 #include <stdlib.h>
17181 FILE *f = fopen ("conftest.val", "w");
17184 if (((long) (sizeof (size_t))) < 0)
17186 long i = longval ();
17187 if (i != ((long) (sizeof (size_t))))
17189 fprintf (f, "%ld\n", i);
17193 unsigned long i = ulongval ();
17194 if (i != ((long) (sizeof (size_t))))
17196 fprintf (f, "%lu\n", i);
17198 exit (ferror (f) || fclose (f) != 0);
17204 rm -f conftest
$ac_exeext
17205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17206 (eval $ac_link) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17215 ac_cv_sizeof_size_t
=`cat conftest.val`
17217 echo "$as_me: program exited with status $ac_status" >&5
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.
$ac_ext >&5
17221 ( exit $ac_status )
17222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17223 See \`config.log' for more details." >&5
17224 echo "$as_me: error: cannot compute sizeof (size_t), 77
17225 See \`config.log' for more details." >&2;}
17226 { (exit 1); exit 1; }; }
17228 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17233 ac_cv_sizeof_size_t
=0
17236 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17237 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17238 cat >>confdefs.h
<<_ACEOF
17239 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17246 echo "$as_me:$LINENO: checking for long long" >&5
17247 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17248 if test "${ac_cv_type_long_long+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 cat >conftest.
$ac_ext <<_ACEOF
17254 cat confdefs.h
>>conftest.
$ac_ext
17255 cat >>conftest.
$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 $ac_includes_default
17261 if ((long long *) 0)
17263 if (sizeof (long long))
17269 rm -f conftest.
$ac_objext
17270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17271 (eval $ac_compile) 2>conftest.er1
17273 grep -v '^ *+' conftest.er1
>conftest.err
17275 cat conftest.err
>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } &&
17278 { ac_try
='test -z "$ac_c_werror_flag"
17279 || test ! -s conftest.err'
17280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17281 (eval $ac_try) 2>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); }; } &&
17285 { ac_try
='test -s conftest.$ac_objext'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; }; then
17291 ac_cv_type_long_long
=yes
17293 echo "$as_me: failed program was:" >&5
17294 sed 's/^/| /' conftest.
$ac_ext >&5
17296 ac_cv_type_long_long
=no
17298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17300 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17301 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17303 echo "$as_me:$LINENO: checking size of long long" >&5
17304 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17305 if test "${ac_cv_sizeof_long_long+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 if test "$ac_cv_type_long_long" = yes; then
17309 # The cast to unsigned long works around a bug in the HP C Compiler
17310 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17312 # This bug is HP SR number 8606223364.
17313 if test "$cross_compiling" = yes; then
17314 # Depending upon the size, compute the lo and hi bounds.
17315 cat >conftest.
$ac_ext <<_ACEOF
17318 cat confdefs.h
>>conftest.
$ac_ext
17319 cat >>conftest.
$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 $ac_includes_default
17325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17332 rm -f conftest.
$ac_objext
17333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17334 (eval $ac_compile) 2>conftest.er1
17336 grep -v '^ *+' conftest.er1
>conftest.err
17338 cat conftest.err
>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } &&
17341 { ac_try
='test -z "$ac_c_werror_flag"
17342 || test ! -s conftest.err'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; } &&
17348 { ac_try
='test -s conftest.$ac_objext'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; }; then
17356 cat >conftest.
$ac_ext <<_ACEOF
17359 cat confdefs.h
>>conftest.
$ac_ext
17360 cat >>conftest.
$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17366 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17373 rm -f conftest.
$ac_objext
17374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17375 (eval $ac_compile) 2>conftest.er1
17377 grep -v '^ *+' conftest.er1
>conftest.err
17379 cat conftest.err
>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try
='test -z "$ac_c_werror_flag"
17383 || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try
='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_hi
=$ac_mid; break
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ac_lo
=`expr $ac_mid + 1`
17401 if test $ac_lo -le $ac_mid; then
17405 ac_mid
=`expr 2 '*' $ac_mid + 1`
17407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17413 cat >conftest.
$ac_ext <<_ACEOF
17416 cat confdefs.h
>>conftest.
$ac_ext
17417 cat >>conftest.
$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17430 rm -f conftest.
$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^ *+' conftest.er1
>conftest.err
17436 cat conftest.err
>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try
='test -z "$ac_c_werror_flag"
17440 || test ! -s conftest.err'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; } &&
17446 { ac_try
='test -s conftest.$ac_objext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17454 cat >conftest.
$ac_ext <<_ACEOF
17457 cat confdefs.h
>>conftest.
$ac_ext
17458 cat >>conftest.
$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17460 $ac_includes_default
17464 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17471 rm -f conftest.
$ac_objext
17472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17473 (eval $ac_compile) 2>conftest.er1
17475 grep -v '^ *+' conftest.er1
>conftest.err
17477 cat conftest.err
>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } &&
17480 { ac_try
='test -z "$ac_c_werror_flag"
17481 || test ! -s conftest.err'
17482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483 (eval $ac_try) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; } &&
17487 { ac_try
='test -s conftest.$ac_objext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_lo
=$ac_mid; break
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.
$ac_ext >&5
17498 ac_hi
=`expr '(' $ac_mid ')' - 1`
17499 if test $ac_mid -le $ac_hi; then
17503 ac_mid
=`expr 2 '*' $ac_mid`
17505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.
$ac_ext >&5
17513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17516 # Binary search between lo and hi bounds.
17517 while test "x$ac_lo" != "x$ac_hi"; do
17518 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 $ac_includes_default
17529 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17536 rm -f conftest.
$ac_objext
17537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17538 (eval $ac_compile) 2>conftest.er1
17540 grep -v '^ *+' conftest.er1
>conftest.err
17542 cat conftest.err
>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } &&
17545 { ac_try
='test -z "$ac_c_werror_flag"
17546 || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try
='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_lo
=`expr '(' $ac_mid ')' + 1`
17565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17568 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17569 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17570 See \`config.log' for more details." >&5
17571 echo "$as_me: error: cannot compute sizeof (long long), 77
17572 See \`config.log' for more details." >&2;}
17573 { (exit 1); exit 1; }; } ;;
17576 if test "$cross_compiling" = yes; then
17577 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17578 See \`config.log' for more details." >&5
17579 echo "$as_me: error: cannot run test program while cross compiling
17580 See \`config.log' for more details." >&2;}
17581 { (exit 1); exit 1; }; }
17583 cat >conftest.
$ac_ext <<_ACEOF
17586 cat confdefs.h
>>conftest.
$ac_ext
17587 cat >>conftest.
$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 $ac_includes_default
17590 long longval () { return (long) (sizeof (long long)); }
17591 unsigned long ulongval () { return (long) (sizeof (long long)); }
17593 #include <stdlib.h>
17598 FILE *f = fopen ("conftest.val", "w");
17601 if (((long) (sizeof (long long))) < 0)
17603 long i = longval ();
17604 if (i != ((long) (sizeof (long long))))
17606 fprintf (f, "%ld\n", i);
17610 unsigned long i = ulongval ();
17611 if (i != ((long) (sizeof (long long))))
17613 fprintf (f, "%lu\n", i);
17615 exit (ferror (f) || fclose (f) != 0);
17621 rm -f conftest
$ac_exeext
17622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17623 (eval $ac_link) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
17632 ac_cv_sizeof_long_long
=`cat conftest.val`
17634 echo "$as_me: program exited with status $ac_status" >&5
17635 echo "$as_me: failed program was:" >&5
17636 sed 's/^/| /' conftest.
$ac_ext >&5
17638 ( exit $ac_status )
17639 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17640 See \`config.log' for more details." >&5
17641 echo "$as_me: error: cannot compute sizeof (long long), 77
17642 See \`config.log' for more details." >&2;}
17643 { (exit 1); exit 1; }; }
17645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17650 ac_cv_sizeof_long_long
=0
17653 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17654 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17655 cat >>confdefs.h
<<_ACEOF
17656 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17662 echo "$as_me:$LINENO: checking for long long" >&5
17663 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17664 if test "${ac_cv_type_long_long+set}" = set; then
17665 echo $ECHO_N "(cached) $ECHO_C" >&6
17667 cat >conftest.
$ac_ext <<_ACEOF
17670 cat confdefs.h
>>conftest.
$ac_ext
17671 cat >>conftest.
$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17673 $ac_includes_default
17677 if ((long long *) 0)
17679 if (sizeof (long long))
17685 rm -f conftest.
$ac_objext
17686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17687 (eval $ac_compile) 2>conftest.er1
17689 grep -v '^ *+' conftest.er1
>conftest.err
17691 cat conftest.err
>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } &&
17694 { ac_try
='test -z "$ac_c_werror_flag"
17695 || test ! -s conftest.err'
17696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697 (eval $ac_try) 2>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; } &&
17701 { ac_try
='test -s conftest.$ac_objext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 ac_cv_type_long_long
=yes
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.
$ac_ext >&5
17712 ac_cv_type_long_long
=no
17714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17716 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17717 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17719 echo "$as_me:$LINENO: checking size of long long" >&5
17720 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17721 if test "${ac_cv_sizeof_long_long+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 if test "$ac_cv_type_long_long" = yes; then
17725 # The cast to unsigned long works around a bug in the HP C Compiler
17726 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17727 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17728 # This bug is HP SR number 8606223364.
17729 if test "$cross_compiling" = yes; then
17730 # Depending upon the size, compute the lo and hi bounds.
17731 cat >conftest.
$ac_ext <<_ACEOF
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17741 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17748 rm -f conftest.
$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17752 grep -v '^ *+' conftest.er1
>conftest.err
17754 cat conftest.err
>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try
='test -z "$ac_c_werror_flag"
17758 || test ! -s conftest.err'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; } &&
17764 { ac_try
='test -s conftest.$ac_objext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17772 cat >conftest.
$ac_ext <<_ACEOF
17775 cat confdefs.h
>>conftest.
$ac_ext
17776 cat >>conftest.
$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17778 $ac_includes_default
17782 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17789 rm -f conftest.
$ac_objext
17790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17791 (eval $ac_compile) 2>conftest.er1
17793 grep -v '^ *+' conftest.er1
>conftest.err
17795 cat conftest.err
>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } &&
17798 { ac_try
='test -z "$ac_c_werror_flag"
17799 || test ! -s conftest.err'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; } &&
17805 { ac_try
='test -s conftest.$ac_objext'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; }; then
17811 ac_hi
=$ac_mid; break
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.
$ac_ext >&5
17816 ac_lo
=`expr $ac_mid + 1`
17817 if test $ac_lo -le $ac_mid; then
17821 ac_mid
=`expr 2 '*' $ac_mid + 1`
17823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17829 cat >conftest.
$ac_ext <<_ACEOF
17832 cat confdefs.h
>>conftest.
$ac_ext
17833 cat >>conftest.
$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 $ac_includes_default
17839 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17846 rm -f conftest.
$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17850 grep -v '^ *+' conftest.er1
>conftest.err
17852 cat conftest.err
>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try
='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try
='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17870 cat >conftest.
$ac_ext <<_ACEOF
17873 cat confdefs.h
>>conftest.
$ac_ext
17874 cat >>conftest.
$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876 $ac_includes_default
17880 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17887 rm -f conftest.
$ac_objext
17888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17889 (eval $ac_compile) 2>conftest.er1
17891 grep -v '^ *+' conftest.er1
>conftest.err
17893 cat conftest.err
>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } &&
17896 { ac_try
='test -z "$ac_c_werror_flag"
17897 || test ! -s conftest.err'
17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 (eval $ac_try) 2>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; } &&
17903 { ac_try
='test -s conftest.$ac_objext'
17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17905 (eval $ac_try) 2>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; }; then
17909 ac_lo
=$ac_mid; break
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.
$ac_ext >&5
17914 ac_hi
=`expr '(' $ac_mid ')' - 1`
17915 if test $ac_mid -le $ac_hi; then
17919 ac_mid
=`expr 2 '*' $ac_mid`
17921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.
$ac_ext >&5
17929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17932 # Binary search between lo and hi bounds.
17933 while test "x$ac_lo" != "x$ac_hi"; do
17934 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17935 cat >conftest.
$ac_ext <<_ACEOF
17938 cat confdefs.h
>>conftest.
$ac_ext
17939 cat >>conftest.
$ac_ext <<_ACEOF
17940 /* end confdefs.h. */
17941 $ac_includes_default
17945 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17952 rm -f conftest.
$ac_objext
17953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17954 (eval $ac_compile) 2>conftest.er1
17956 grep -v '^ *+' conftest.er1
>conftest.err
17958 cat conftest.err
>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } &&
17961 { ac_try
='test -z "$ac_c_werror_flag"
17962 || test ! -s conftest.err'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; } &&
17968 { ac_try
='test -s conftest.$ac_objext'
17969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17970 (eval $ac_try) 2>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); }; }; then
17976 echo "$as_me: failed program was:" >&5
17977 sed 's/^/| /' conftest.
$ac_ext >&5
17979 ac_lo
=`expr '(' $ac_mid ')' + 1`
17981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17984 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17985 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17986 See \`config.log' for more details." >&5
17987 echo "$as_me: error: cannot compute sizeof (long long), 77
17988 See \`config.log' for more details." >&2;}
17989 { (exit 1); exit 1; }; } ;;
17992 if test "$cross_compiling" = yes; then
17993 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17994 See \`config.log' for more details." >&5
17995 echo "$as_me: error: cannot run test program while cross compiling
17996 See \`config.log' for more details." >&2;}
17997 { (exit 1); exit 1; }; }
17999 cat >conftest.
$ac_ext <<_ACEOF
18002 cat confdefs.h
>>conftest.
$ac_ext
18003 cat >>conftest.
$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18006 long longval () { return (long) (sizeof (long long)); }
18007 unsigned long ulongval () { return (long) (sizeof (long long)); }
18009 #include <stdlib.h>
18014 FILE *f = fopen ("conftest.val", "w");
18017 if (((long) (sizeof (long long))) < 0)
18019 long i = longval ();
18020 if (i != ((long) (sizeof (long long))))
18022 fprintf (f, "%ld\n", i);
18026 unsigned long i = ulongval ();
18027 if (i != ((long) (sizeof (long long))))
18029 fprintf (f, "%lu\n", i);
18031 exit (ferror (f) || fclose (f) != 0);
18037 rm -f conftest
$ac_exeext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18039 (eval $ac_link) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; }; then
18048 ac_cv_sizeof_long_long
=`cat conftest.val`
18050 echo "$as_me: program exited with status $ac_status" >&5
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18054 ( exit $ac_status )
18055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18056 See \`config.log' for more details." >&5
18057 echo "$as_me: error: cannot compute sizeof (long long), 77
18058 See \`config.log' for more details." >&2;}
18059 { (exit 1); exit 1; }; }
18061 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18066 ac_cv_sizeof_long_long
=0
18069 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18070 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18071 cat >>confdefs.h
<<_ACEOF
18072 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18076 if test "$ac_cv_sizeof_long_long" != "0"; then
18077 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18081 echo "$as_me:$LINENO: checking for long long" >&5
18082 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18083 if test "${ac_cv_type_long_long+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 cat >conftest.
$ac_ext <<_ACEOF
18089 cat confdefs.h
>>conftest.
$ac_ext
18090 cat >>conftest.
$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092 $ac_includes_default
18096 if ((long long *) 0)
18098 if (sizeof (long long))
18104 rm -f conftest.
$ac_objext
18105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18106 (eval $ac_compile) 2>conftest.er1
18108 grep -v '^ *+' conftest.er1
>conftest.err
18110 cat conftest.err
>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try
='test -z "$ac_c_werror_flag"
18114 || test ! -s conftest.err'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; } &&
18120 { ac_try
='test -s conftest.$ac_objext'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 ac_cv_type_long_long
=yes
18128 echo "$as_me: failed program was:" >&5
18129 sed 's/^/| /' conftest.
$ac_ext >&5
18131 ac_cv_type_long_long
=no
18133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18135 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18136 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18138 echo "$as_me:$LINENO: checking size of long long" >&5
18139 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18140 if test "${ac_cv_sizeof_long_long+set}" = set; then
18141 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 if test "$ac_cv_type_long_long" = yes; then
18144 # The cast to unsigned long works around a bug in the HP C Compiler
18145 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18146 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18147 # This bug is HP SR number 8606223364.
18148 if test "$cross_compiling" = yes; then
18149 # Depending upon the size, compute the lo and hi bounds.
18150 cat >conftest.
$ac_ext <<_ACEOF
18153 cat confdefs.h
>>conftest.
$ac_ext
18154 cat >>conftest.
$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18160 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18167 rm -f conftest.
$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18171 grep -v '^ *+' conftest.er1
>conftest.err
18173 cat conftest.err
>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try
='test -z "$ac_c_werror_flag"
18177 || test ! -s conftest.err'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; } &&
18183 { ac_try
='test -s conftest.$ac_objext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18191 cat >conftest.
$ac_ext <<_ACEOF
18194 cat confdefs.h
>>conftest.
$ac_ext
18195 cat >>conftest.
$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18197 $ac_includes_default
18201 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18208 rm -f conftest.
$ac_objext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18210 (eval $ac_compile) 2>conftest.er1
18212 grep -v '^ *+' conftest.er1
>conftest.err
18214 cat conftest.err
>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try
='test -z "$ac_c_werror_flag"
18218 || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try
='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 ac_hi
=$ac_mid; break
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18235 ac_lo
=`expr $ac_mid + 1`
18236 if test $ac_lo -le $ac_mid; then
18240 ac_mid
=`expr 2 '*' $ac_mid + 1`
18242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.
$ac_ext >&5
18248 cat >conftest.
$ac_ext <<_ACEOF
18251 cat confdefs.h
>>conftest.
$ac_ext
18252 cat >>conftest.
$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 $ac_includes_default
18258 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18265 rm -f conftest.
$ac_objext
18266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18267 (eval $ac_compile) 2>conftest.er1
18269 grep -v '^ *+' conftest.er1
>conftest.err
18271 cat conftest.err
>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try
='test -z "$ac_c_werror_flag"
18275 || test ! -s conftest.err'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; } &&
18281 { ac_try
='test -s conftest.$ac_objext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18289 cat >conftest.
$ac_ext <<_ACEOF
18292 cat confdefs.h
>>conftest.
$ac_ext
18293 cat >>conftest.
$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18299 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18306 rm -f conftest.
$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308 (eval $ac_compile) 2>conftest.er1
18310 grep -v '^ *+' conftest.er1
>conftest.err
18312 cat conftest.err
>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try
='test -z "$ac_c_werror_flag"
18316 || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try
='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 ac_lo
=$ac_mid; break
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.
$ac_ext >&5
18333 ac_hi
=`expr '(' $ac_mid ')' - 1`
18334 if test $ac_mid -le $ac_hi; then
18338 ac_mid
=`expr 2 '*' $ac_mid`
18340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.
$ac_ext >&5
18348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18351 # Binary search between lo and hi bounds.
18352 while test "x$ac_lo" != "x$ac_hi"; do
18353 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18354 cat >conftest.
$ac_ext <<_ACEOF
18357 cat confdefs.h
>>conftest.
$ac_ext
18358 cat >>conftest.
$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 $ac_includes_default
18364 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18371 rm -f conftest.
$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try
='test -z "$ac_c_werror_flag"
18381 || test ! -s conftest.err'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try
='test -s conftest.$ac_objext'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.
$ac_ext >&5
18398 ac_lo
=`expr '(' $ac_mid ')' + 1`
18400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18403 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18404 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18405 See \`config.log' for more details." >&5
18406 echo "$as_me: error: cannot compute sizeof (long long), 77
18407 See \`config.log' for more details." >&2;}
18408 { (exit 1); exit 1; }; } ;;
18411 if test "$cross_compiling" = yes; then
18412 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18413 See \`config.log' for more details." >&5
18414 echo "$as_me: error: cannot run test program while cross compiling
18415 See \`config.log' for more details." >&2;}
18416 { (exit 1); exit 1; }; }
18418 cat >conftest.
$ac_ext <<_ACEOF
18421 cat confdefs.h
>>conftest.
$ac_ext
18422 cat >>conftest.
$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18424 $ac_includes_default
18425 long longval () { return (long) (sizeof (long long)); }
18426 unsigned long ulongval () { return (long) (sizeof (long long)); }
18428 #include <stdlib.h>
18433 FILE *f = fopen ("conftest.val", "w");
18436 if (((long) (sizeof (long long))) < 0)
18438 long i = longval ();
18439 if (i != ((long) (sizeof (long long))))
18441 fprintf (f, "%ld\n", i);
18445 unsigned long i = ulongval ();
18446 if (i != ((long) (sizeof (long long))))
18448 fprintf (f, "%lu\n", i);
18450 exit (ferror (f) || fclose (f) != 0);
18456 rm -f conftest
$ac_exeext
18457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18458 (eval $ac_link) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; }; then
18467 ac_cv_sizeof_long_long
=`cat conftest.val`
18469 echo "$as_me: program exited with status $ac_status" >&5
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.
$ac_ext >&5
18473 ( exit $ac_status )
18474 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18475 See \`config.log' for more details." >&5
18476 echo "$as_me: error: cannot compute sizeof (long long), 77
18477 See \`config.log' for more details." >&2;}
18478 { (exit 1); exit 1; }; }
18480 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18485 ac_cv_sizeof_long_long
=0
18488 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18489 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18490 cat >>confdefs.h
<<_ACEOF
18491 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18497 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18498 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18499 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18500 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 if test "$cross_compiling" = yes; then
18507 wx_cv_sizeof_wchar_t
=0
18510 wx_cv_sizeof_wchar_t
=4
18516 cat >conftest.
$ac_ext <<_ACEOF
18519 cat confdefs.h
>>conftest.
$ac_ext
18520 cat >>conftest.
$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18523 /* DJGPP only has fake wchar_t: */
18525 # error "fake wchar_t"
18527 #ifdef HAVE_WCHAR_H
18529 # include <stddef.h>
18531 # include <wchar.h>
18533 #ifdef HAVE_STDLIB_H
18534 # include <stdlib.h>
18539 FILE *f=fopen("conftestval", "w");
18541 fprintf(f, "%i", sizeof(wchar_t));
18546 rm -f conftest
$ac_exeext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18548 (eval $ac_link) 2>&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; }; then
18557 wx_cv_sizeof_wchar_t
=`cat conftestval`
18559 echo "$as_me: program exited with status $ac_status" >&5
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.
$ac_ext >&5
18563 ( exit $ac_status )
18564 wx_cv_sizeof_wchar_t
=0
18566 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18570 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18571 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18573 cat >>confdefs.h
<<_ACEOF
18574 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18578 echo "$as_me:$LINENO: checking for va_copy" >&5
18579 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18580 if test "${wx_cv_func_va_copy+set}" = set; then
18581 echo $ECHO_N "(cached) $ECHO_C" >&6
18584 cat >conftest.
$ac_ext <<_ACEOF
18586 #include <stdarg.h>
18587 void foo(char *f, ...)
18601 rm -f conftest.
$ac_objext conftest
$ac_exeext
18602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18603 (eval $ac_link) 2>conftest.er1
18605 grep -v '^ *+' conftest.er1
>conftest.err
18607 cat conftest.err
>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); } &&
18610 { ac_try
='test -z "$ac_c_werror_flag"
18611 || test ! -s conftest.err'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try
='test -s conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 wx_cv_func_va_copy
=yes
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.
$ac_ext >&5
18628 wx_cv_func_va_copy
=no
18631 rm -f conftest.err conftest.
$ac_objext \
18632 conftest
$ac_exeext conftest.
$ac_ext
18636 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18637 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18639 if test $wx_cv_func_va_copy = "yes"; then
18640 cat >>confdefs.h
<<\_ACEOF
18641 #define HAVE_VA_COPY 1
18645 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18646 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18647 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 if test "$cross_compiling" = yes; then
18652 wx_cv_type_va_list_lvalue
=yes
18655 cat >conftest.
$ac_ext <<_ACEOF
18657 #include <stdarg.h>
18658 int foo(char *f, ...)
18663 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18671 return foo("hi", 17);
18674 rm -f conftest
$ac_exeext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676 (eval $ac_link) 2>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; }; then
18685 wx_cv_type_va_list_lvalue
=yes
18687 echo "$as_me: program exited with status $ac_status" >&5
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.
$ac_ext >&5
18691 ( exit $ac_status )
18692 wx_cv_type_va_list_lvalue
=no
18694 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18699 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18700 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18702 if test $wx_cv_type_va_list_lvalue != "yes"; then
18703 cat >>confdefs.h
<<\_ACEOF
18704 #define VA_LIST_IS_ARRAY 1
18710 # Check whether --enable-largefile or --disable-largefile was given.
18711 if test "${enable_largefile+set}" = set; then
18712 enableval
="$enable_largefile"
18715 if test "$enable_largefile" != no
; then
18718 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18719 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18720 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18724 cat >conftest.
$ac_ext <<_ACEOF
18727 cat confdefs.h
>>conftest.
$ac_ext
18728 cat >>conftest.
$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 #define _FILE_OFFSET_BITS 64
18731 #include <sys/types.h>
18736 unsigned int field: sizeof(off_t) == 8;
18743 rm -f conftest.
$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>conftest.er1
18747 grep -v '^ *+' conftest.er1
>conftest.err
18749 cat conftest.err
>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try
='test -z "$ac_c_werror_flag"
18753 || test ! -s conftest.err'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; } &&
18759 { ac_try
='test -s conftest.$ac_objext'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; }; then
18765 ac_cv_sys_file_offset_bits
=64
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.
$ac_ext >&5
18770 ac_cv_sys_file_offset_bits
=no
18772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18776 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18777 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18779 if test "$ac_cv_sys_file_offset_bits" != no
; then
18781 cat >>confdefs.h
<<_ACEOF
18782 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18787 if test "x$wx_largefile" != "xyes"; then
18789 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18790 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18791 if test "${ac_cv_sys_large_files+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 cat >conftest.
$ac_ext <<_ACEOF
18798 cat confdefs.h
>>conftest.
$ac_ext
18799 cat >>conftest.
$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 #define _LARGE_FILES 1
18802 #include <sys/types.h>
18807 unsigned int field: sizeof(off_t) == 8;
18814 rm -f conftest.
$ac_objext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18816 (eval $ac_compile) 2>conftest.er1
18818 grep -v '^ *+' conftest.er1
>conftest.err
18820 cat conftest.err
>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } &&
18823 { ac_try
='test -z "$ac_c_werror_flag"
18824 || test ! -s conftest.err'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; } &&
18830 { ac_try
='test -s conftest.$ac_objext'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; }; then
18836 ac_cv_sys_large_files
=1
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.
$ac_ext >&5
18841 ac_cv_sys_large_files
=no
18843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18847 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18848 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18850 if test "$ac_cv_sys_large_files" != no
; then
18852 cat >>confdefs.h
<<_ACEOF
18853 #define _LARGE_FILES $ac_cv_sys_large_files
18860 echo "$as_me:$LINENO: checking if large file support is available" >&5
18861 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18862 if test "x$wx_largefile" = "xyes"; then
18863 cat >>confdefs.h
<<\_ACEOF
18864 #define HAVE_LARGEFILE_SUPPORT 1
18868 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18869 echo "${ECHO_T}$wx_largefile" >&6
18873 if test "x$wx_largefile" = "xyes"; then
18874 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18875 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18877 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18879 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18880 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18881 if test "${ac_cv_sys_largefile_source+set}" = set; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 ac_cv_sys_largefile_source
=no
18886 cat >conftest.
$ac_ext <<_ACEOF
18889 cat confdefs.h
>>conftest.
$ac_ext
18890 cat >>conftest.
$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18901 rm -f conftest.
$ac_objext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18903 (eval $ac_compile) 2>conftest.er1
18905 grep -v '^ *+' conftest.er1
>conftest.err
18907 cat conftest.err
>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } &&
18910 { ac_try
='test -z "$ac_c_werror_flag"
18911 || test ! -s conftest.err'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; } &&
18917 { ac_try
='test -s conftest.$ac_objext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.
$ac_ext >&5
18929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18930 cat >conftest.
$ac_ext <<_ACEOF
18933 cat confdefs.h
>>conftest.
$ac_ext
18934 cat >>conftest.
$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936 #define _LARGEFILE_SOURCE 1
18946 rm -f conftest.
$ac_objext
18947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18948 (eval $ac_compile) 2>conftest.er1
18950 grep -v '^ *+' conftest.er1
>conftest.err
18952 cat conftest.err
>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try
='test -z "$ac_c_werror_flag"
18956 || test ! -s conftest.err'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; } &&
18962 { ac_try
='test -s conftest.$ac_objext'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; }; then
18968 ac_cv_sys_largefile_source
=1; break
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.
$ac_ext >&5
18974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18978 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18979 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18980 if test "$ac_cv_sys_largefile_source" != no
; then
18982 cat >>confdefs.h
<<_ACEOF
18983 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18989 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18990 # in glibc 2.1.3, but that breaks too many other things.
18991 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18992 echo "$as_me:$LINENO: checking for fseeko" >&5
18993 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18994 if test "${ac_cv_func_fseeko+set}" = set; then
18995 echo $ECHO_N "(cached) $ECHO_C" >&6
18997 cat >conftest.
$ac_ext <<_ACEOF
19000 cat confdefs.h
>>conftest.
$ac_ext
19001 cat >>conftest.
$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19007 return fseeko && fseeko (stdin, 0, 0);
19012 rm -f conftest.
$ac_objext conftest
$ac_exeext
19013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19014 (eval $ac_link) 2>conftest.er1
19016 grep -v '^ *+' conftest.er1
>conftest.err
19018 cat conftest.err
>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); } &&
19021 { ac_try
='test -z "$ac_c_werror_flag"
19022 || test ! -s conftest.err'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; } &&
19028 { ac_try
='test -s conftest$ac_exeext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 ac_cv_func_fseeko
=yes
19036 echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.
$ac_ext >&5
19039 ac_cv_func_fseeko
=no
19041 rm -f conftest.err conftest.
$ac_objext \
19042 conftest
$ac_exeext conftest.
$ac_ext
19044 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
19045 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
19046 if test $ac_cv_func_fseeko = yes; then
19048 cat >>confdefs.h
<<\_ACEOF
19049 #define HAVE_FSEEKO 1
19054 if test "$ac_cv_sys_largefile_source" != no
; then
19055 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
19057 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
19060 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19061 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19062 if test "${ac_cv_c_bigendian+set}" = set; then
19063 echo $ECHO_N "(cached) $ECHO_C" >&6
19065 ac_cv_c_bigendian
=unknown
19066 # See if sys/param.h defines the BYTE_ORDER macro.
19067 cat >conftest.
$ac_ext <<_ACEOF
19070 cat confdefs.h
>>conftest.
$ac_ext
19071 cat >>conftest.
$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 #include <sys/types.h>
19074 #include <sys/param.h>
19079 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19080 bogus endian macros
19086 rm -f conftest.
$ac_objext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19088 (eval $ac_compile) 2>conftest.er1
19090 grep -v '^ *+' conftest.er1
>conftest.err
19092 cat conftest.err
>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } &&
19095 { ac_try
='test -z "$ac_c_werror_flag"
19096 || test ! -s conftest.err'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; } &&
19102 { ac_try
='test -s conftest.$ac_objext'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; }; then
19108 # It does; now see whether it defined to BIG_ENDIAN or not.
19109 cat >conftest.
$ac_ext <<_ACEOF
19112 cat confdefs.h
>>conftest.
$ac_ext
19113 cat >>conftest.
$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 #include <sys/types.h>
19116 #include <sys/param.h>
19121 #if BYTE_ORDER != BIG_ENDIAN
19128 rm -f conftest.
$ac_objext
19129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19130 (eval $ac_compile) 2>conftest.er1
19132 grep -v '^ *+' conftest.er1
>conftest.err
19134 cat conftest.err
>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } &&
19137 { ac_try
='test -z "$ac_c_werror_flag"
19138 || test ! -s conftest.err'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; } &&
19144 { ac_try
='test -s conftest.$ac_objext'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; }; then
19150 ac_cv_c_bigendian
=yes
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.
$ac_ext >&5
19155 ac_cv_c_bigendian
=no
19157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19159 echo "$as_me: failed program was:" >&5
19160 sed 's/^/| /' conftest.
$ac_ext >&5
19163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19164 if test $ac_cv_c_bigendian = unknown
; then
19165 if test "$cross_compiling" = yes; then
19166 ac_cv_c_bigendian
=unknown
19168 cat >conftest.
$ac_ext <<_ACEOF
19171 cat confdefs.h
>>conftest.
$ac_ext
19172 cat >>conftest.
$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19175 /* Are we little or big endian? From Harbison&Steele. */
19179 char c[sizeof (long)];
19182 exit (u.c[sizeof (long) - 1] == 1);
19185 rm -f conftest
$ac_exeext
19186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19187 (eval $ac_link) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; }; then
19196 ac_cv_c_bigendian
=no
19198 echo "$as_me: program exited with status $ac_status" >&5
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.
$ac_ext >&5
19202 ( exit $ac_status )
19203 ac_cv_c_bigendian
=yes
19205 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19209 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19210 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19211 if test $ac_cv_c_bigendian = unknown
; then
19212 { 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
19213 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;}
19215 if test $ac_cv_c_bigendian = yes; then
19216 cat >>confdefs.h
<<\_ACEOF
19217 #define WORDS_BIGENDIAN 1
19224 ac_cpp
='$CXXCPP $CPPFLAGS'
19225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19228 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19229 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19230 if test -z "$CXXCPP"; then
19231 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 # Double quotes because CXXCPP needs to be expanded
19235 for CXXCPP
in "$CXX -E" "/lib/cpp"
19237 ac_preproc_ok
=false
19238 for ac_cxx_preproc_warn_flag
in '' yes
19240 # Use a header file that comes with gcc, so configuring glibc
19241 # with a fresh cross-compiler works.
19242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19243 # <limits.h> exists even on freestanding compilers.
19244 # On the NeXT, cc -E runs the code through the compiler's parser,
19245 # not just through cpp. "Syntax error" is here to catch this case.
19246 cat >conftest.
$ac_ext <<_ACEOF
19249 cat confdefs.h
>>conftest.
$ac_ext
19250 cat >>conftest.
$ac_ext <<_ACEOF
19251 /* end confdefs.h. */
19253 # include <limits.h>
19255 # include <assert.h>
19259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19262 grep -v '^ *+' conftest.er1
>conftest.err
19264 cat conftest.err
>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } >/dev
/null
; then
19267 if test -s conftest.err
; then
19268 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19269 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19276 if test -z "$ac_cpp_err"; then
19279 echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.
$ac_ext >&5
19282 # Broken: fails on valid input.
19285 rm -f conftest.err conftest.
$ac_ext
19287 # OK, works on sane cases. Now check whether non-existent headers
19288 # can be detected and how.
19289 cat >conftest.
$ac_ext <<_ACEOF
19292 cat confdefs.h
>>conftest.
$ac_ext
19293 cat >>conftest.
$ac_ext <<_ACEOF
19294 /* end confdefs.h. */
19295 #include <ac_nonexistent.h>
19297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19298 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
19305 if test -s conftest.err
; then
19306 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19307 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19314 if test -z "$ac_cpp_err"; then
19315 # Broken: success on invalid input.
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.
$ac_ext >&5
19321 # Passes both tests.
19325 rm -f conftest.err conftest.
$ac_ext
19328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19329 rm -f conftest.err conftest.
$ac_ext
19330 if $ac_preproc_ok; then
19335 ac_cv_prog_CXXCPP
=$CXXCPP
19338 CXXCPP
=$ac_cv_prog_CXXCPP
19340 ac_cv_prog_CXXCPP
=$CXXCPP
19342 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19343 echo "${ECHO_T}$CXXCPP" >&6
19344 ac_preproc_ok
=false
19345 for ac_cxx_preproc_warn_flag
in '' yes
19347 # Use a header file that comes with gcc, so configuring glibc
19348 # with a fresh cross-compiler works.
19349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19350 # <limits.h> exists even on freestanding compilers.
19351 # On the NeXT, cc -E runs the code through the compiler's parser,
19352 # not just through cpp. "Syntax error" is here to catch this case.
19353 cat >conftest.
$ac_ext <<_ACEOF
19356 cat confdefs.h
>>conftest.
$ac_ext
19357 cat >>conftest.
$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19360 # include <limits.h>
19362 # include <assert.h>
19366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19369 grep -v '^ *+' conftest.er1
>conftest.err
19371 cat conftest.err
>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } >/dev
/null
; then
19374 if test -s conftest.err
; then
19375 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19376 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19383 if test -z "$ac_cpp_err"; then
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 # Broken: fails on valid input.
19392 rm -f conftest.err conftest.
$ac_ext
19394 # OK, works on sane cases. Now check whether non-existent headers
19395 # can be detected and how.
19396 cat >conftest.
$ac_ext <<_ACEOF
19399 cat confdefs.h
>>conftest.
$ac_ext
19400 cat >>conftest.
$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 #include <ac_nonexistent.h>
19404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19407 grep -v '^ *+' conftest.er1
>conftest.err
19409 cat conftest.err
>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } >/dev
/null
; then
19412 if test -s conftest.err
; then
19413 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19414 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19421 if test -z "$ac_cpp_err"; then
19422 # Broken: success on invalid input.
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.
$ac_ext >&5
19428 # Passes both tests.
19432 rm -f conftest.err conftest.
$ac_ext
19435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19436 rm -f conftest.err conftest.
$ac_ext
19437 if $ac_preproc_ok; then
19440 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19441 See \`config.log' for more details." >&5
19442 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19443 See \`config.log' for more details." >&2;}
19444 { (exit 1); exit 1; }; }
19448 ac_cpp
='$CXXCPP $CPPFLAGS'
19449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19458 ac_cpp
='$CXXCPP $CPPFLAGS'
19459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19465 for ac_header
in iostream
19467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19469 echo "$as_me:$LINENO: checking for $ac_header" >&5
19470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19477 # Is the header compilable?
19478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19480 cat >conftest.
$ac_ext <<_ACEOF
19483 cat confdefs.h
>>conftest.
$ac_ext
19484 cat >>conftest.
$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 #include <$ac_header>
19489 rm -f conftest.
$ac_objext
19490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19491 (eval $ac_compile) 2>conftest.er1
19493 grep -v '^ *+' conftest.er1
>conftest.err
19495 cat conftest.err
>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } &&
19498 { ac_try
='test -z "$ac_cxx_werror_flag"
19499 || test ! -s conftest.err'
19500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; } &&
19505 { ac_try
='test -s conftest.$ac_objext'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; }; then
19511 ac_header_compiler
=yes
19513 echo "$as_me: failed program was:" >&5
19514 sed 's/^/| /' conftest.
$ac_ext >&5
19516 ac_header_compiler
=no
19518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19520 echo "${ECHO_T}$ac_header_compiler" >&6
19522 # Is the header present?
19523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19525 cat >conftest.
$ac_ext <<_ACEOF
19528 cat confdefs.h
>>conftest.
$ac_ext
19529 cat >>conftest.
$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 #include <$ac_header>
19533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19536 grep -v '^ *+' conftest.er1
>conftest.err
19538 cat conftest.err
>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } >/dev
/null
; then
19541 if test -s conftest.err
; then
19542 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19543 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19550 if test -z "$ac_cpp_err"; then
19551 ac_header_preproc
=yes
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.
$ac_ext >&5
19556 ac_header_preproc
=no
19558 rm -f conftest.err conftest.
$ac_ext
19559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19560 echo "${ECHO_T}$ac_header_preproc" >&6
19562 # So? What about this header?
19563 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19569 ac_header_preproc
=yes
19572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19586 ## ----------------------------------------- ##
19587 ## Report this to wx-dev@lists.wxwidgets.org ##
19588 ## ----------------------------------------- ##
19591 sed "s/^/$as_me: WARNING: /" >&2
19594 echo "$as_me:$LINENO: checking for $ac_header" >&5
19595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 eval "$as_ac_Header=\$ac_header_preproc"
19601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19606 cat >>confdefs.h
<<_ACEOF
19607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19615 if test "$ac_cv_header_iostream" = "yes" ; then
19618 cat >>confdefs.h
<<\_ACEOF
19619 #define wxUSE_IOSTREAMH 1
19625 ac_cpp
='$CPP $CPPFLAGS'
19626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19633 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19634 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19635 if test "${wx_cv_cpp_bool+set}" = set; then
19636 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 ac_cpp
='$CXXCPP $CPPFLAGS'
19643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19648 cat >conftest.
$ac_ext <<_ACEOF
19651 cat confdefs.h
>>conftest.
$ac_ext
19652 cat >>conftest.
$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19668 rm -f conftest.
$ac_objext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19670 (eval $ac_compile) 2>conftest.er1
19672 grep -v '^ *+' conftest.er1
>conftest.err
19674 cat conftest.err
>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } &&
19677 { ac_try
='test -z "$ac_cxx_werror_flag"
19678 || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try
='test -s conftest.$ac_objext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.
$ac_ext >&5
19702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19705 ac_cpp
='$CPP $CPPFLAGS'
19706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19712 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19713 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19715 if test "$wx_cv_cpp_bool" = "yes"; then
19716 cat >>confdefs.h
<<\_ACEOF
19717 #define HAVE_BOOL 1
19724 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19725 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19726 if test "${wx_cv_explicit+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 ac_cpp
='$CXXCPP $CPPFLAGS'
19734 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19735 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19736 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19739 cat >conftest.
$ac_ext <<_ACEOF
19742 cat confdefs.h
>>conftest.
$ac_ext
19743 cat >>conftest.
$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19746 class Foo { public: explicit Foo(int) {} };
19758 rm -f conftest.
$ac_objext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19760 (eval $ac_compile) 2>conftest.er1
19762 grep -v '^ *+' conftest.er1
>conftest.err
19764 cat conftest.err
>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try
='test -z "$ac_cxx_werror_flag"
19768 || test ! -s conftest.err'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; } &&
19774 { ac_try
='test -s conftest.$ac_objext'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; }; then
19781 cat >conftest.
$ac_ext <<_ACEOF
19784 cat confdefs.h
>>conftest.
$ac_ext
19785 cat >>conftest.
$ac_ext <<_ACEOF
19786 /* end confdefs.h. */
19788 class Foo { public: explicit Foo(int) {} };
19789 static void TakeFoo(const Foo& foo) { }
19802 rm -f conftest.
$ac_objext
19803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19804 (eval $ac_compile) 2>conftest.er1
19806 grep -v '^ *+' conftest.er1
>conftest.err
19808 cat conftest.err
>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } &&
19811 { ac_try
='test -z "$ac_cxx_werror_flag"
19812 || test ! -s conftest.err'
19813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 (eval $ac_try) 2>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); }; } &&
19818 { ac_try
='test -s conftest.$ac_objext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.
$ac_ext >&5
19832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.
$ac_ext >&5
19841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19844 ac_cpp
='$CPP $CPPFLAGS'
19845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19851 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19852 echo "${ECHO_T}$wx_cv_explicit" >&6
19854 if test "$wx_cv_explicit" = "yes"; then
19855 cat >>confdefs.h
<<\_ACEOF
19856 #define HAVE_EXPLICIT 1
19862 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19864 if test "${ac_cv_cxx_const_cast+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19870 ac_cpp
='$CXXCPP $CPPFLAGS'
19871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19890 rm -f conftest.
$ac_objext
19891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19892 (eval $ac_compile) 2>conftest.er1
19894 grep -v '^ *+' conftest.er1
>conftest.err
19896 cat conftest.err
>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } &&
19899 { ac_try
='test -z "$ac_cxx_werror_flag"
19900 || test ! -s conftest.err'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; } &&
19906 { ac_try
='test -s conftest.$ac_objext'
19907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19908 (eval $ac_try) 2>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; }; then
19912 ac_cv_cxx_const_cast
=yes
19914 echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.
$ac_ext >&5
19917 ac_cv_cxx_const_cast
=no
19919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19921 ac_cpp
='$CPP $CPPFLAGS'
19922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19928 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19929 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19930 if test "$ac_cv_cxx_const_cast" = yes; then
19932 cat >>confdefs.h
<<\_ACEOF
19933 #define HAVE_CONST_CAST
19938 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19939 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19940 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19946 ac_cpp
='$CXXCPP $CPPFLAGS'
19947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19951 cat >conftest.
$ac_ext <<_ACEOF
19954 cat confdefs.h
>>conftest.
$ac_ext
19955 cat >>conftest.
$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19957 #include <typeinfo>
19958 class Base { public : Base () {} virtual void f () = 0;};
19959 class Derived : public Base { public : Derived () {} virtual void f () {} };
19960 class Unrelated { public : Unrelated () {} };
19961 int g (Unrelated&) { return 0; }
19966 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19971 rm -f conftest.
$ac_objext
19972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19973 (eval $ac_compile) 2>conftest.er1
19975 grep -v '^ *+' conftest.er1
>conftest.err
19977 cat conftest.err
>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try
='test -z "$ac_cxx_werror_flag"
19981 || test ! -s conftest.err'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; } &&
19987 { ac_try
='test -s conftest.$ac_objext'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; }; then
19993 ac_cv_cxx_reinterpret_cast
=yes
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.
$ac_ext >&5
19998 ac_cv_cxx_reinterpret_cast
=no
20000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20002 ac_cpp
='$CPP $CPPFLAGS'
20003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20009 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20010 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20011 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20013 cat >>confdefs.h
<<\_ACEOF
20014 #define HAVE_REINTERPRET_CAST
20019 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20020 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20021 if test "${ac_cv_cxx_static_cast+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20027 ac_cpp
='$CXXCPP $CPPFLAGS'
20028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20032 cat >conftest.
$ac_ext <<_ACEOF
20035 cat confdefs.h
>>conftest.
$ac_ext
20036 cat >>conftest.
$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 #include <typeinfo>
20039 class Base { public : Base () {} virtual void f () = 0; };
20040 class Derived : public Base { public : Derived () {} virtual void f () {} };
20041 int g (Derived&) { return 0; }
20046 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
20051 rm -f conftest.
$ac_objext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20053 (eval $ac_compile) 2>conftest.er1
20055 grep -v '^ *+' conftest.er1
>conftest.err
20057 cat conftest.err
>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } &&
20060 { ac_try
='test -z "$ac_cxx_werror_flag"
20061 || test ! -s conftest.err'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; } &&
20067 { ac_try
='test -s conftest.$ac_objext'
20068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069 (eval $ac_try) 2>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); }; }; then
20073 ac_cv_cxx_static_cast
=yes
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.
$ac_ext >&5
20078 ac_cv_cxx_static_cast
=no
20080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20082 ac_cpp
='$CPP $CPPFLAGS'
20083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20089 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
20090 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
20091 if test "$ac_cv_cxx_static_cast" = yes; then
20093 cat >>confdefs.h
<<\_ACEOF
20094 #define HAVE_STATIC_CAST
20100 if test "$wxUSE_STL" = "yes"; then
20102 ac_cpp
='$CXXCPP $CPPFLAGS'
20103 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20104 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20105 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20108 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
20109 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
20110 cat >conftest.
$ac_ext <<_ACEOF
20113 cat confdefs.h
>>conftest.
$ac_ext
20114 cat >>conftest.
$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20117 #include <functional>
20118 #include <algorithm>
20124 std::vector<int> moo;
20125 std::list<int> foo;
20126 std::vector<int>::iterator it =
20127 std::find_if(moo.begin(), moo.end(),
20128 std::bind2nd(std::less<int>(), 3));
20133 rm -f conftest.
$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>conftest.er1
20137 grep -v '^ *+' conftest.er1
>conftest.err
20139 cat conftest.err
>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } &&
20142 { ac_try
='test -z "$ac_cxx_werror_flag"
20143 || test ! -s conftest.err'
20144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145 (eval $ac_try) 2>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); }; } &&
20149 { ac_try
='test -s conftest.$ac_objext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 echo "$as_me:$LINENO: result: yes" >&5
20156 echo "${ECHO_T}yes" >&6
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.
$ac_ext >&5
20161 echo "$as_me:$LINENO: result: no" >&5
20162 echo "${ECHO_T}no" >&6
20163 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20164 echo "$as_me: error: Basic STL functionality missing" >&2;}
20165 { (exit 1); exit 1; }; }
20167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20169 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20170 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20171 cat >conftest.
$ac_ext <<_ACEOF
20174 cat confdefs.h
>>conftest.
$ac_ext
20175 cat >>conftest.
$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20186 rm -f conftest.
$ac_objext
20187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20188 (eval $ac_compile) 2>conftest.er1
20190 grep -v '^ *+' conftest.er1
>conftest.err
20192 cat conftest.err
>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } &&
20195 { ac_try
='test -z "$ac_cxx_werror_flag"
20196 || test ! -s conftest.err'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try
='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20208 echo "$as_me:$LINENO: result: yes" >&5
20209 echo "${ECHO_T}yes" >&6
20210 cat >>confdefs.h
<<\_ACEOF
20211 #define HAVE_STD_WSTRING 1
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 echo "$as_me:$LINENO: result: no" >&5
20219 echo "${ECHO_T}no" >&6
20221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20223 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20224 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20225 cat >conftest.
$ac_ext <<_ACEOF
20228 cat confdefs.h
>>conftest.
$ac_ext
20229 cat >>conftest.
$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20235 std::string foo, bar;
20237 foo.compare(1, 1, bar);
20238 foo.compare(1, 1, bar, 1, 1);
20240 foo.compare(1, 1, "");
20241 foo.compare(1, 1, "", 2);
20246 rm -f conftest.
$ac_objext
20247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20248 (eval $ac_compile) 2>conftest.er1
20250 grep -v '^ *+' conftest.er1
>conftest.err
20252 cat conftest.err
>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } &&
20255 { ac_try
='test -z "$ac_cxx_werror_flag"
20256 || test ! -s conftest.err'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; } &&
20262 { ac_try
='test -s conftest.$ac_objext'
20263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264 (eval $ac_try) 2>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; }; then
20268 echo "$as_me:$LINENO: result: yes" >&5
20269 echo "${ECHO_T}yes" >&6
20270 cat >>confdefs.h
<<\_ACEOF
20271 #define HAVE_STD_STRING_COMPARE 1
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.
$ac_ext >&5
20278 echo "$as_me:$LINENO: result: no" >&5
20279 echo "${ECHO_T}no" >&6
20281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20283 if test "${ac_cv_header_hash_map+set}" = set; then
20284 echo "$as_me:$LINENO: checking for hash_map" >&5
20285 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20286 if test "${ac_cv_header_hash_map+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20290 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20292 # Is the header compilable?
20293 echo "$as_me:$LINENO: checking hash_map usability" >&5
20294 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20295 cat >conftest.
$ac_ext <<_ACEOF
20298 cat confdefs.h
>>conftest.
$ac_ext
20299 cat >>conftest.
$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20302 #include <hash_map>
20304 rm -f conftest.
$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306 (eval $ac_compile) 2>conftest.er1
20308 grep -v '^ *+' conftest.er1
>conftest.err
20310 cat conftest.err
>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try
='test -z "$ac_cxx_werror_flag"
20314 || test ! -s conftest.err'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try
='test -s conftest.$ac_objext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 ac_header_compiler
=yes
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.
$ac_ext >&5
20331 ac_header_compiler
=no
20333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20335 echo "${ECHO_T}$ac_header_compiler" >&6
20337 # Is the header present?
20338 echo "$as_me:$LINENO: checking hash_map presence" >&5
20339 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20340 cat >conftest.
$ac_ext <<_ACEOF
20343 cat confdefs.h
>>conftest.
$ac_ext
20344 cat >>conftest.
$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 #include <hash_map>
20348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20351 grep -v '^ *+' conftest.er1
>conftest.err
20353 cat conftest.err
>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } >/dev
/null
; then
20356 if test -s conftest.err
; then
20357 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20358 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20365 if test -z "$ac_cpp_err"; then
20366 ac_header_preproc
=yes
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.
$ac_ext >&5
20371 ac_header_preproc
=no
20373 rm -f conftest.err conftest.
$ac_ext
20374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20375 echo "${ECHO_T}$ac_header_preproc" >&6
20377 # So? What about this header?
20378 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20380 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20381 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20382 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20383 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20384 ac_header_preproc
=yes
20387 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20388 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20389 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20390 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20391 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20392 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20393 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20394 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20395 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20396 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20398 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20401 ## ----------------------------------------- ##
20402 ## Report this to wx-dev@lists.wxwidgets.org ##
20403 ## ----------------------------------------- ##
20406 sed "s/^/$as_me: WARNING: /" >&2
20409 echo "$as_me:$LINENO: checking for hash_map" >&5
20410 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20411 if test "${ac_cv_header_hash_map+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 ac_cv_header_hash_map
=$ac_header_preproc
20416 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20417 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20420 if test $ac_cv_header_hash_map = yes; then
20421 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20422 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20423 cat >conftest.
$ac_ext <<_ACEOF
20426 cat confdefs.h
>>conftest.
$ac_ext
20427 cat >>conftest.
$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #include <hash_map>
20430 #include <hash_set>
20434 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20435 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20440 rm -f conftest.
$ac_objext
20441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20442 (eval $ac_compile) 2>conftest.er1
20444 grep -v '^ *+' conftest.er1
>conftest.err
20446 cat conftest.err
>&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } &&
20449 { ac_try
='test -z "$ac_cxx_werror_flag"
20450 || test ! -s conftest.err'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try
='test -s conftest.$ac_objext'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; }; then
20462 echo "$as_me:$LINENO: result: yes" >&5
20463 echo "${ECHO_T}yes" >&6
20464 cat >>confdefs.h
<<\_ACEOF
20465 #define HAVE_HASH_MAP 1
20468 cat >>confdefs.h
<<\_ACEOF
20469 #define HAVE_STD_HASH_MAP 1
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.
$ac_ext >&5
20476 echo "$as_me:$LINENO: result: no" >&5
20477 echo "${ECHO_T}no" >&6
20479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20485 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20486 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20487 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20488 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20492 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20494 # Is the header compilable?
20495 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20496 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20497 cat >conftest.
$ac_ext <<_ACEOF
20500 cat confdefs.h
>>conftest.
$ac_ext
20501 cat >>conftest.
$ac_ext <<_ACEOF
20502 /* end confdefs.h. */
20503 $ac_includes_default
20504 #include <ext/hash_map>
20506 rm -f conftest.
$ac_objext
20507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20508 (eval $ac_compile) 2>conftest.er1
20510 grep -v '^ *+' conftest.er1
>conftest.err
20512 cat conftest.err
>&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } &&
20515 { ac_try
='test -z "$ac_cxx_werror_flag"
20516 || test ! -s conftest.err'
20517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20518 (eval $ac_try) 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); }; } &&
20522 { ac_try
='test -s conftest.$ac_objext'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; }; then
20528 ac_header_compiler
=yes
20530 echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.
$ac_ext >&5
20533 ac_header_compiler
=no
20535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20537 echo "${ECHO_T}$ac_header_compiler" >&6
20539 # Is the header present?
20540 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20541 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20542 cat >conftest.
$ac_ext <<_ACEOF
20545 cat confdefs.h
>>conftest.
$ac_ext
20546 cat >>conftest.
$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 #include <ext/hash_map>
20550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20553 grep -v '^ *+' conftest.er1
>conftest.err
20555 cat conftest.err
>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } >/dev
/null
; then
20558 if test -s conftest.err
; then
20559 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20560 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20567 if test -z "$ac_cpp_err"; then
20568 ac_header_preproc
=yes
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.
$ac_ext >&5
20573 ac_header_preproc
=no
20575 rm -f conftest.err conftest.
$ac_ext
20576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20577 echo "${ECHO_T}$ac_header_preproc" >&6
20579 # So? What about this header?
20580 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20583 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20585 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20586 ac_header_preproc
=yes
20589 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20590 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20591 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20592 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20593 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20594 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20595 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20596 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20597 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20598 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20599 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20600 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20603 ## ----------------------------------------- ##
20604 ## Report this to wx-dev@lists.wxwidgets.org ##
20605 ## ----------------------------------------- ##
20608 sed "s/^/$as_me: WARNING: /" >&2
20611 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20612 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20613 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20614 echo $ECHO_N "(cached) $ECHO_C" >&6
20616 ac_cv_header_ext_hash_map
=$ac_header_preproc
20618 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20619 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20622 if test $ac_cv_header_ext_hash_map = yes; then
20623 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20624 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 #include <ext/hash_map>
20632 #include <ext/hash_set>
20636 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20637 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20642 rm -f conftest.
$ac_objext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20644 (eval $ac_compile) 2>conftest.er1
20646 grep -v '^ *+' conftest.er1
>conftest.err
20648 cat conftest.err
>&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try
='test -z "$ac_cxx_werror_flag"
20652 || test ! -s conftest.err'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; } &&
20658 { ac_try
='test -s conftest.$ac_objext'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; }; then
20664 echo "$as_me:$LINENO: result: yes" >&5
20665 echo "${ECHO_T}yes" >&6
20666 cat >>confdefs.h
<<\_ACEOF
20667 #define HAVE_EXT_HASH_MAP 1
20670 cat >>confdefs.h
<<\_ACEOF
20671 #define HAVE_GNU_CXX_HASH_MAP 1
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.
$ac_ext >&5
20678 echo "$as_me:$LINENO: result: no" >&5
20679 echo "${ECHO_T}no" >&6
20681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20688 ac_cpp
='$CPP $CPPFLAGS'
20689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20697 /usr/local/include \
20699 /usr/Motif-2.1/include \
20700 /usr/Motif-1.2/include \
20701 /usr/include/Motif1.2 \
20702 /opt/xpm/include/X11 \
20703 /opt/GBxpm/include/ \
20704 /opt/GBxpm/X11/include/ \
20707 /usr/openwin/include \
20711 /usr/X11R6/include \
20712 /usr/X11R6.4/include \
20713 /usr/X11R5/include \
20714 /usr/X11R4/include \
20716 /usr/include/X11R6 \
20717 /usr/include/X11R5 \
20718 /usr/include/X11R4 \
20720 /usr/local/X11R6/include \
20721 /usr/local/X11R5/include \
20722 /usr/local/X11R4/include \
20724 /usr/local/include/X11R6 \
20725 /usr/local/include/X11R5 \
20726 /usr/local/include/X11R4 \
20730 /usr/local/X11/include \
20731 /usr/local/include/X11 \
20733 /usr/X386/include \
20734 /usr/x386/include \
20735 /usr/XFree86/include/X11 \
20737 X:/XFree86/include \
20738 X:/XFree86/include/X11 \
20741 /usr/local/include/gtk \
20742 /usr/include/glib \
20743 /usr/local/include/glib \
20746 /usr/local/include/qt \
20748 /usr/local/arm/3.3.2/include \
20750 /usr/include/windows \
20751 /usr/include/wine \
20752 /usr/local/include/wine \
20754 /usr/unsupported/include \
20755 /usr/athena/include \
20756 /usr/local/x11r5/include \
20757 /usr/lpp/Xamples/include \
20759 /usr/openwin/share/include"
20761 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20764 cat >confcache
<<\_ACEOF
20765 # This file is a shell script that caches the results of configure
20766 # tests run on this system so they can be shared between configure
20767 # scripts and configure runs, see configure's option --config-cache.
20768 # It is not useful on other systems. If it contains results you don't
20769 # want to keep, you may remove or edit it.
20771 # config.status only pays attention to the cache file if you give it
20772 # the --recheck option to rerun configure.
20774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20776 # following values.
20780 # The following way of writing the cache mishandles newlines in values,
20781 # but we know of no workaround that is simple, portable, and efficient.
20782 # So, don't put newlines in cache variables' values.
20783 # Ultrix sh set writes to stderr and can't be redirected directly,
20784 # and sets the high bit in the cache file unless we assign to the vars.
20787 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20789 # `set' does not quote correctly, so add quotes (double-quote
20790 # substitution turns \\\\ into \\, and sed turns \\ into \).
20793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20796 # `set' quotes correctly as required by POSIX, so do not add quotes.
20798 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20807 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20809 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20810 if test -w $cache_file; then
20811 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20812 cat confcache
>$cache_file
20814 echo "not updating unwritable cache $cache_file"
20819 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20820 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20821 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20822 if test "${wx_cv_lib_glibc21+set}" = set; then
20823 echo $ECHO_N "(cached) $ECHO_C" >&6
20826 cat >conftest.
$ac_ext <<_ACEOF
20829 cat confdefs.h
>>conftest.
$ac_ext
20830 cat >>conftest.
$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 #include <features.h>
20837 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20838 #error not glibc2.1
20845 rm -f conftest.
$ac_objext
20846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20847 (eval $ac_compile) 2>conftest.er1
20849 grep -v '^ *+' conftest.er1
>conftest.err
20851 cat conftest.err
>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } &&
20854 { ac_try
='test -z "$ac_c_werror_flag"
20855 || test ! -s conftest.err'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try
='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20868 wx_cv_lib_glibc21
=yes
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20875 wx_cv_lib_glibc21
=no
20879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20882 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20883 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20884 if test "$wx_cv_lib_glibc21" = "yes"; then
20885 cat >>confdefs.h
<<\_ACEOF
20886 #define wxHAVE_GLIBC2 1
20892 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20893 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20894 cat >>confdefs.h
<<\_ACEOF
20895 #define _GNU_SOURCE 1
20903 if test "$wxUSE_REGEX" != "no"; then
20904 cat >>confdefs.h
<<\_ACEOF
20905 #define wxUSE_REGEX 1
20909 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20910 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20911 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20912 wxUSE_REGEX
=builtin
20915 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20916 if test "${ac_cv_header_regex_h+set}" = set; then
20917 echo "$as_me:$LINENO: checking for regex.h" >&5
20918 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20919 if test "${ac_cv_header_regex_h+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20923 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20925 # Is the header compilable?
20926 echo "$as_me:$LINENO: checking regex.h usability" >&5
20927 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20928 cat >conftest.
$ac_ext <<_ACEOF
20931 cat confdefs.h
>>conftest.
$ac_ext
20932 cat >>conftest.
$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20937 rm -f conftest.
$ac_objext
20938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20939 (eval $ac_compile) 2>conftest.er1
20941 grep -v '^ *+' conftest.er1
>conftest.err
20943 cat conftest.err
>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } &&
20946 { ac_try
='test -z "$ac_c_werror_flag"
20947 || test ! -s conftest.err'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; } &&
20953 { ac_try
='test -s conftest.$ac_objext'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 ac_header_compiler
=yes
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20964 ac_header_compiler
=no
20966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20968 echo "${ECHO_T}$ac_header_compiler" >&6
20970 # Is the header present?
20971 echo "$as_me:$LINENO: checking regex.h presence" >&5
20972 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20973 cat >conftest.
$ac_ext <<_ACEOF
20976 cat confdefs.h
>>conftest.
$ac_ext
20977 cat >>conftest.
$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20982 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20984 grep -v '^ *+' conftest.er1
>conftest.err
20986 cat conftest.err
>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } >/dev
/null
; then
20989 if test -s conftest.err
; then
20990 ac_cpp_err
=$ac_c_preproc_warn_flag
20991 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20998 if test -z "$ac_cpp_err"; then
20999 ac_header_preproc
=yes
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.
$ac_ext >&5
21004 ac_header_preproc
=no
21006 rm -f conftest.err conftest.
$ac_ext
21007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21008 echo "${ECHO_T}$ac_header_preproc" >&6
21010 # So? What about this header?
21011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21013 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21014 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21015 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21016 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21017 ac_header_preproc
=yes
21020 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21021 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21022 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21023 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21024 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21025 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21026 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21027 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21028 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21029 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21030 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21031 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21034 ## ----------------------------------------- ##
21035 ## Report this to wx-dev@lists.wxwidgets.org ##
21036 ## ----------------------------------------- ##
21039 sed "s/^/$as_me: WARNING: /" >&2
21042 echo "$as_me:$LINENO: checking for regex.h" >&5
21043 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21044 if test "${ac_cv_header_regex_h+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21047 ac_cv_header_regex_h
=$ac_header_preproc
21049 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21050 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21053 if test $ac_cv_header_regex_h = yes; then
21055 for ac_func
in regcomp
21057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21058 echo "$as_me:$LINENO: checking for $ac_func" >&5
21059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21060 if eval "test \"\${$as_ac_var+set}\" = set"; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21063 cat >conftest.
$ac_ext <<_ACEOF
21066 cat confdefs.h
>>conftest.
$ac_ext
21067 cat >>conftest.
$ac_ext <<_ACEOF
21068 /* end confdefs.h. */
21069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21071 #define $ac_func innocuous_$ac_func
21073 /* System header to define __stub macros and hopefully few prototypes,
21074 which can conflict with char $ac_func (); below.
21075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21076 <limits.h> exists even on freestanding compilers. */
21079 # include <limits.h>
21081 # include <assert.h>
21086 /* Override any gcc2 internal prototype to avoid an error. */
21091 /* We use char because int might match the return type of a gcc2
21092 builtin and then its argument prototype would still apply. */
21094 /* The GNU C library defines this for functions which it implements
21095 to always fail with ENOSYS. Some functions are actually named
21096 something starting with __ and the normal name is an alias. */
21097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21100 char (*f) () = $ac_func;
21109 return f != $ac_func;
21114 rm -f conftest.
$ac_objext conftest
$ac_exeext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21116 (eval $ac_link) 2>conftest.er1
21118 grep -v '^ *+' conftest.er1
>conftest.err
21120 cat conftest.err
>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } &&
21123 { ac_try
='test -z "$ac_c_werror_flag"
21124 || test ! -s conftest.err'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; } &&
21130 { ac_try
='test -s conftest$ac_exeext'
21131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21132 (eval $ac_try) 2>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); }; }; then
21136 eval "$as_ac_var=yes"
21138 echo "$as_me: failed program was:" >&5
21139 sed 's/^/| /' conftest.
$ac_ext >&5
21141 eval "$as_ac_var=no"
21143 rm -f conftest.err conftest.
$ac_objext \
21144 conftest
$ac_exeext conftest.
$ac_ext
21146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21148 if test `eval echo '${'$as_ac_var'}'` = yes; then
21149 cat >>confdefs.h
<<_ACEOF
21150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21160 if test "x$ac_cv_func_regcomp" != "xyes"; then
21161 if test "$wxUSE_REGEX" = "sys" ; then
21162 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21163 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21164 { (exit 1); exit 1; }; }
21166 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21167 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21168 wxUSE_REGEX
=builtin
21172 cat >>confdefs.h
<<\_ACEOF
21173 #define WX_NO_REGEX_ADVANCED 1
21182 if test "$wxUSE_ZLIB" != "no" ; then
21183 cat >>confdefs.h
<<\_ACEOF
21184 #define wxUSE_ZLIB 1
21188 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21189 if test "$USE_DARWIN" = 1; then
21190 system_zlib_h_ok
="yes"
21192 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21193 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21194 if test "${ac_cv_header_zlib_h+set}" = set; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 if test "$cross_compiling" = yes; then
21198 unset ac_cv_header_zlib_h
21201 cat >conftest.
$ac_ext <<_ACEOF
21204 cat confdefs.h
>>conftest.
$ac_ext
21205 cat >>conftest.
$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21213 FILE *f=fopen("conftestval", "w");
21216 ZLIB_VERSION[0] == '1' &&
21217 (ZLIB_VERSION[2] > '1' ||
21218 (ZLIB_VERSION[2] == '1' &&
21219 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21224 rm -f conftest
$ac_exeext
21225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21226 (eval $ac_link) 2>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231 (eval $ac_try) 2>&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); }; }; then
21235 ac_cv_header_zlib_h
=`cat conftestval`
21237 echo "$as_me: program exited with status $ac_status" >&5
21238 echo "$as_me: failed program was:" >&5
21239 sed 's/^/| /' conftest.
$ac_ext >&5
21241 ( exit $ac_status )
21242 ac_cv_header_zlib_h
=no
21244 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21248 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21249 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21250 if test "${ac_cv_header_zlib_h+set}" = set; then
21251 echo "$as_me:$LINENO: checking for zlib.h" >&5
21252 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21253 if test "${ac_cv_header_zlib_h+set}" = set; then
21254 echo $ECHO_N "(cached) $ECHO_C" >&6
21256 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21257 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21259 # Is the header compilable?
21260 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21261 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21262 cat >conftest.
$ac_ext <<_ACEOF
21265 cat confdefs.h
>>conftest.
$ac_ext
21266 cat >>conftest.
$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 $ac_includes_default
21271 rm -f conftest.
$ac_objext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21273 (eval $ac_compile) 2>conftest.er1
21275 grep -v '^ *+' conftest.er1
>conftest.err
21277 cat conftest.err
>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } &&
21280 { ac_try
='test -z "$ac_c_werror_flag"
21281 || test ! -s conftest.err'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; } &&
21287 { ac_try
='test -s conftest.$ac_objext'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 ac_header_compiler
=yes
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 ac_header_compiler
=no
21300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21302 echo "${ECHO_T}$ac_header_compiler" >&6
21304 # Is the header present?
21305 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21306 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21307 cat >conftest.
$ac_ext <<_ACEOF
21310 cat confdefs.h
>>conftest.
$ac_ext
21311 cat >>conftest.
$ac_ext <<_ACEOF
21312 /* end confdefs.h. */
21315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21318 grep -v '^ *+' conftest.er1
>conftest.err
21320 cat conftest.err
>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } >/dev
/null
; then
21323 if test -s conftest.err
; then
21324 ac_cpp_err
=$ac_c_preproc_warn_flag
21325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21332 if test -z "$ac_cpp_err"; then
21333 ac_header_preproc
=yes
21335 echo "$as_me: failed program was:" >&5
21336 sed 's/^/| /' conftest.
$ac_ext >&5
21338 ac_header_preproc
=no
21340 rm -f conftest.err conftest.
$ac_ext
21341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21342 echo "${ECHO_T}$ac_header_preproc" >&6
21344 # So? What about this header?
21345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21347 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21348 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21349 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21350 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21351 ac_header_preproc
=yes
21354 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21355 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21356 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21357 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21358 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21359 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21360 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21361 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21362 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21363 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21364 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21365 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21368 ## ----------------------------------------- ##
21369 ## Report this to wx-dev@lists.wxwidgets.org ##
21370 ## ----------------------------------------- ##
21373 sed "s/^/$as_me: WARNING: /" >&2
21376 echo "$as_me:$LINENO: checking for zlib.h" >&5
21377 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21378 if test "${ac_cv_header_zlib_h+set}" = set; then
21379 echo $ECHO_N "(cached) $ECHO_C" >&6
21381 ac_cv_header_zlib_h
=$ac_header_preproc
21383 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21384 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21390 system_zlib_h_ok
=$ac_cv_header_zlib_h
21393 if test "$system_zlib_h_ok" = "yes"; then
21394 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21395 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21396 if test "${ac_cv_lib_z_deflate+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 ac_check_lib_save_LIBS
=$LIBS
21401 cat >conftest.
$ac_ext <<_ACEOF
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21408 /* Override any gcc2 internal prototype to avoid an error. */
21412 /* We use char because int might match the return type of a gcc2
21413 builtin and then its argument prototype would still apply. */
21423 rm -f conftest.
$ac_objext conftest
$ac_exeext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21425 (eval $ac_link) 2>conftest.er1
21427 grep -v '^ *+' conftest.er1
>conftest.err
21429 cat conftest.err
>&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } &&
21432 { ac_try
='test -z "$ac_c_werror_flag"
21433 || test ! -s conftest.err'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; } &&
21439 { ac_try
='test -s conftest$ac_exeext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21445 ac_cv_lib_z_deflate
=yes
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.
$ac_ext >&5
21450 ac_cv_lib_z_deflate
=no
21452 rm -f conftest.err conftest.
$ac_objext \
21453 conftest
$ac_exeext conftest.
$ac_ext
21454 LIBS
=$ac_check_lib_save_LIBS
21456 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21457 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21458 if test $ac_cv_lib_z_deflate = yes; then
21464 if test "x$ZLIB_LINK" = "x" ; then
21465 if test "$wxUSE_ZLIB" = "sys" ; then
21466 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21467 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21468 { (exit 1); exit 1; }; }
21470 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21471 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21482 if test "$wxUSE_LIBPNG" != "no" ; then
21483 cat >>confdefs.h
<<\_ACEOF
21484 #define wxUSE_LIBPNG 1
21488 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21489 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21490 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21494 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21495 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21496 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21497 wxUSE_LIBPNG
=builtin
21500 if test "$wxUSE_MGL" != 1 ; then
21501 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21502 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21503 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21504 if test "${ac_cv_header_png_h+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 if test "$cross_compiling" = yes; then
21508 unset ac_cv_header_png_h
21511 cat >conftest.
$ac_ext <<_ACEOF
21514 cat confdefs.h
>>conftest.
$ac_ext
21515 cat >>conftest.
$ac_ext <<_ACEOF
21516 /* end confdefs.h. */
21523 FILE *f=fopen("conftestval", "w");
21526 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21531 rm -f conftest
$ac_exeext
21532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21533 (eval $ac_link) 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; }; then
21542 ac_cv_header_png_h
=`cat conftestval`
21544 echo "$as_me: program exited with status $ac_status" >&5
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.
$ac_ext >&5
21548 ( exit $ac_status )
21549 ac_cv_header_png_h
=no
21551 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21555 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21556 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21557 if test "${ac_cv_header_png_h+set}" = set; then
21558 echo "$as_me:$LINENO: checking for png.h" >&5
21559 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21560 if test "${ac_cv_header_png_h+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21563 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21564 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21566 # Is the header compilable?
21567 echo "$as_me:$LINENO: checking png.h usability" >&5
21568 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21569 cat >conftest.
$ac_ext <<_ACEOF
21572 cat confdefs.h
>>conftest.
$ac_ext
21573 cat >>conftest.
$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575 $ac_includes_default
21578 rm -f conftest.
$ac_objext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21580 (eval $ac_compile) 2>conftest.er1
21582 grep -v '^ *+' conftest.er1
>conftest.err
21584 cat conftest.err
>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try
='test -z "$ac_c_werror_flag"
21588 || test ! -s conftest.err'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; } &&
21594 { ac_try
='test -s conftest.$ac_objext'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; }; then
21600 ac_header_compiler
=yes
21602 echo "$as_me: failed program was:" >&5
21603 sed 's/^/| /' conftest.
$ac_ext >&5
21605 ac_header_compiler
=no
21607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21609 echo "${ECHO_T}$ac_header_compiler" >&6
21611 # Is the header present?
21612 echo "$as_me:$LINENO: checking png.h presence" >&5
21613 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21614 cat >conftest.
$ac_ext <<_ACEOF
21617 cat confdefs.h
>>conftest.
$ac_ext
21618 cat >>conftest.
$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21625 grep -v '^ *+' conftest.er1
>conftest.err
21627 cat conftest.err
>&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } >/dev
/null
; then
21630 if test -s conftest.err
; then
21631 ac_cpp_err
=$ac_c_preproc_warn_flag
21632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21639 if test -z "$ac_cpp_err"; then
21640 ac_header_preproc
=yes
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.
$ac_ext >&5
21645 ac_header_preproc
=no
21647 rm -f conftest.err conftest.
$ac_ext
21648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21649 echo "${ECHO_T}$ac_header_preproc" >&6
21651 # So? What about this header?
21652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21654 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21655 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21656 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21657 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21658 ac_header_preproc
=yes
21661 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21662 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21663 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21664 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21665 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21666 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21667 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21668 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21669 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21670 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21671 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21672 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21675 ## ----------------------------------------- ##
21676 ## Report this to wx-dev@lists.wxwidgets.org ##
21677 ## ----------------------------------------- ##
21680 sed "s/^/$as_me: WARNING: /" >&2
21683 echo "$as_me:$LINENO: checking for png.h" >&5
21684 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21685 if test "${ac_cv_header_png_h+set}" = set; then
21686 echo $ECHO_N "(cached) $ECHO_C" >&6
21688 ac_cv_header_png_h
=$ac_header_preproc
21690 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21691 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21697 if test "$ac_cv_header_png_h" = "yes"; then
21698 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21699 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21700 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21701 echo $ECHO_N "(cached) $ECHO_C" >&6
21703 ac_check_lib_save_LIBS
=$LIBS
21704 LIBS
="-lpng -lz -lm $LIBS"
21705 cat >conftest.
$ac_ext <<_ACEOF
21708 cat confdefs.h
>>conftest.
$ac_ext
21709 cat >>conftest.
$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21712 /* Override any gcc2 internal prototype to avoid an error. */
21716 /* We use char because int might match the return type of a gcc2
21717 builtin and then its argument prototype would still apply. */
21718 char png_check_sig ();
21727 rm -f conftest.
$ac_objext conftest
$ac_exeext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21729 (eval $ac_link) 2>conftest.er1
21731 grep -v '^ *+' conftest.er1
>conftest.err
21733 cat conftest.err
>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try
='test -z "$ac_c_werror_flag"
21737 || test ! -s conftest.err'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; } &&
21743 { ac_try
='test -s conftest$ac_exeext'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 ac_cv_lib_png_png_check_sig
=yes
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.
$ac_ext >&5
21754 ac_cv_lib_png_png_check_sig
=no
21756 rm -f conftest.err conftest.
$ac_objext \
21757 conftest
$ac_exeext conftest.
$ac_ext
21758 LIBS
=$ac_check_lib_save_LIBS
21760 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21761 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21762 if test $ac_cv_lib_png_png_check_sig = yes; then
21763 PNG_LINK
=" -lpng -lz"
21768 if test "x$PNG_LINK" = "x" ; then
21769 if test "$wxUSE_LIBPNG" = "sys" ; then
21770 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21771 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21772 { (exit 1); exit 1; }; }
21774 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21775 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21776 wxUSE_LIBPNG
=builtin
21784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21789 if test "$wxUSE_LIBJPEG" != "no" ; then
21790 cat >>confdefs.h
<<\_ACEOF
21791 #define wxUSE_LIBJPEG 1
21795 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21796 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21797 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21801 if test "$wxUSE_MGL" != 1 ; then
21802 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21803 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21804 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21805 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 cat >conftest.
$ac_ext <<_ACEOF
21811 cat confdefs.h
>>conftest.
$ac_ext
21812 cat >>conftest.
$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21815 #undef HAVE_STDLIB_H
21817 #include <jpeglib.h>
21828 rm -f conftest.
$ac_objext
21829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21830 (eval $ac_compile) 2>conftest.er1
21832 grep -v '^ *+' conftest.er1
>conftest.err
21834 cat conftest.err
>&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } &&
21837 { ac_try
='test -z "$ac_c_werror_flag"
21838 || test ! -s conftest.err'
21839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21840 (eval $ac_try) 2>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); }; } &&
21844 { ac_try
='test -s conftest.$ac_objext'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; }; then
21850 ac_cv_header_jpeglib_h
=yes
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.
$ac_ext >&5
21855 ac_cv_header_jpeglib_h
=no
21858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21862 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21863 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21865 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21866 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21867 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21868 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 ac_check_lib_save_LIBS
=$LIBS
21872 LIBS
="-ljpeg $LIBS"
21873 cat >conftest.
$ac_ext <<_ACEOF
21876 cat confdefs.h
>>conftest.
$ac_ext
21877 cat >>conftest.
$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21880 /* Override any gcc2 internal prototype to avoid an error. */
21884 /* We use char because int might match the return type of a gcc2
21885 builtin and then its argument prototype would still apply. */
21886 char jpeg_read_header ();
21890 jpeg_read_header ();
21895 rm -f conftest.
$ac_objext conftest
$ac_exeext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21897 (eval $ac_link) 2>conftest.er1
21899 grep -v '^ *+' conftest.er1
>conftest.err
21901 cat conftest.err
>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } &&
21904 { ac_try
='test -z "$ac_c_werror_flag"
21905 || test ! -s conftest.err'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; } &&
21911 { ac_try
='test -s conftest$ac_exeext'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_lib_jpeg_jpeg_read_header
=yes
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.
$ac_ext >&5
21922 ac_cv_lib_jpeg_jpeg_read_header
=no
21924 rm -f conftest.err conftest.
$ac_objext \
21925 conftest
$ac_exeext conftest.
$ac_ext
21926 LIBS
=$ac_check_lib_save_LIBS
21928 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21929 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21930 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21931 JPEG_LINK
=" -ljpeg"
21936 if test "x$JPEG_LINK" = "x" ; then
21937 if test "$wxUSE_LIBJPEG" = "sys" ; then
21938 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21939 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21940 { (exit 1); exit 1; }; }
21942 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21943 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21944 wxUSE_LIBJPEG
=builtin
21955 TIFF_PREREQ_LINKS
=-lm
21956 if test "$wxUSE_LIBTIFF" != "no" ; then
21957 cat >>confdefs.h
<<\_ACEOF
21958 #define wxUSE_LIBTIFF 1
21962 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21963 if test "$wxUSE_LIBJPEG" = "sys"; then
21964 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21966 if test "$wxUSE_ZLIB" = "sys"; then
21967 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21969 if test "${ac_cv_header_tiffio_h+set}" = set; then
21970 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21971 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21972 if test "${ac_cv_header_tiffio_h+set}" = set; then
21973 echo $ECHO_N "(cached) $ECHO_C" >&6
21975 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21976 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21978 # Is the header compilable?
21979 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21980 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21981 cat >conftest.
$ac_ext <<_ACEOF
21984 cat confdefs.h
>>conftest.
$ac_ext
21985 cat >>conftest.
$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 $ac_includes_default
21988 #include <tiffio.h>
21990 rm -f conftest.
$ac_objext
21991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21992 (eval $ac_compile) 2>conftest.er1
21994 grep -v '^ *+' conftest.er1
>conftest.err
21996 cat conftest.err
>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } &&
21999 { ac_try
='test -z "$ac_c_werror_flag"
22000 || test ! -s conftest.err'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; } &&
22006 { ac_try
='test -s conftest.$ac_objext'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; }; then
22012 ac_header_compiler
=yes
22014 echo "$as_me: failed program was:" >&5
22015 sed 's/^/| /' conftest.
$ac_ext >&5
22017 ac_header_compiler
=no
22019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22021 echo "${ECHO_T}$ac_header_compiler" >&6
22023 # Is the header present?
22024 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22025 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22026 cat >conftest.
$ac_ext <<_ACEOF
22029 cat confdefs.h
>>conftest.
$ac_ext
22030 cat >>conftest.
$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 #include <tiffio.h>
22034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22037 grep -v '^ *+' conftest.er1
>conftest.err
22039 cat conftest.err
>&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); } >/dev
/null
; then
22042 if test -s conftest.err
; then
22043 ac_cpp_err
=$ac_c_preproc_warn_flag
22044 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22051 if test -z "$ac_cpp_err"; then
22052 ac_header_preproc
=yes
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.
$ac_ext >&5
22057 ac_header_preproc
=no
22059 rm -f conftest.err conftest.
$ac_ext
22060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22061 echo "${ECHO_T}$ac_header_preproc" >&6
22063 # So? What about this header?
22064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22066 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
22067 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22068 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
22069 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
22070 ac_header_preproc
=yes
22073 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
22074 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
22075 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
22076 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
22077 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
22078 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
22079 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
22080 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
22082 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
22084 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
22087 ## ----------------------------------------- ##
22088 ## Report this to wx-dev@lists.wxwidgets.org ##
22089 ## ----------------------------------------- ##
22092 sed "s/^/$as_me: WARNING: /" >&2
22095 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22096 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22097 if test "${ac_cv_header_tiffio_h+set}" = set; then
22098 echo $ECHO_N "(cached) $ECHO_C" >&6
22100 ac_cv_header_tiffio_h
=$ac_header_preproc
22102 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22103 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22106 if test $ac_cv_header_tiffio_h = yes; then
22108 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
22109 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
22110 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
22111 echo $ECHO_N "(cached) $ECHO_C" >&6
22113 ac_check_lib_save_LIBS
=$LIBS
22114 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22115 cat >conftest.
$ac_ext <<_ACEOF
22118 cat confdefs.h
>>conftest.
$ac_ext
22119 cat >>conftest.
$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22122 /* Override any gcc2 internal prototype to avoid an error. */
22126 /* We use char because int might match the return type of a gcc2
22127 builtin and then its argument prototype would still apply. */
22137 rm -f conftest.
$ac_objext conftest
$ac_exeext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22139 (eval $ac_link) 2>conftest.er1
22141 grep -v '^ *+' conftest.er1
>conftest.err
22143 cat conftest.err
>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try
='test -z "$ac_c_werror_flag"
22147 || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try
='test -s conftest$ac_exeext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 ac_cv_lib_tiff_TIFFError
=yes
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22164 ac_cv_lib_tiff_TIFFError
=no
22166 rm -f conftest.err conftest.
$ac_objext \
22167 conftest
$ac_exeext conftest.
$ac_ext
22168 LIBS
=$ac_check_lib_save_LIBS
22170 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22171 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22172 if test $ac_cv_lib_tiff_TIFFError = yes; then
22173 TIFF_LINK
=" -ltiff"
22182 if test "x$TIFF_LINK" = "x" ; then
22183 if test "$wxUSE_LIBTIFF" = "sys" ; then
22184 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22185 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22186 { (exit 1); exit 1; }; }
22188 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22189 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22190 wxUSE_LIBTIFF
=builtin
22199 if test "$wxUSE_EXPAT" != "no"; then
22201 cat >>confdefs.h
<<\_ACEOF
22202 #define wxUSE_EXPAT 1
22205 cat >>confdefs.h
<<\_ACEOF
22206 #define wxUSE_XML 1
22210 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22211 if test "${ac_cv_header_expat_h+set}" = set; then
22212 echo "$as_me:$LINENO: checking for expat.h" >&5
22213 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22214 if test "${ac_cv_header_expat_h+set}" = set; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22218 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22220 # Is the header compilable?
22221 echo "$as_me:$LINENO: checking expat.h usability" >&5
22222 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22223 cat >conftest.
$ac_ext <<_ACEOF
22226 cat confdefs.h
>>conftest.
$ac_ext
22227 cat >>conftest.
$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229 $ac_includes_default
22232 rm -f conftest.
$ac_objext
22233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22234 (eval $ac_compile) 2>conftest.er1
22236 grep -v '^ *+' conftest.er1
>conftest.err
22238 cat conftest.err
>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } &&
22241 { ac_try
='test -z "$ac_c_werror_flag"
22242 || test ! -s conftest.err'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; } &&
22248 { ac_try
='test -s conftest.$ac_objext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_header_compiler
=yes
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.
$ac_ext >&5
22259 ac_header_compiler
=no
22261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22263 echo "${ECHO_T}$ac_header_compiler" >&6
22265 # Is the header present?
22266 echo "$as_me:$LINENO: checking expat.h presence" >&5
22267 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22279 grep -v '^ *+' conftest.er1
>conftest.err
22281 cat conftest.err
>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } >/dev
/null
; then
22284 if test -s conftest.err
; then
22285 ac_cpp_err
=$ac_c_preproc_warn_flag
22286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22293 if test -z "$ac_cpp_err"; then
22294 ac_header_preproc
=yes
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.
$ac_ext >&5
22299 ac_header_preproc
=no
22301 rm -f conftest.err conftest.
$ac_ext
22302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22303 echo "${ECHO_T}$ac_header_preproc" >&6
22305 # So? What about this header?
22306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22308 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22309 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22310 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22311 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22312 ac_header_preproc
=yes
22315 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22316 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22317 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22318 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22319 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22320 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22321 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22322 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22323 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22324 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22325 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22326 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22329 ## ----------------------------------------- ##
22330 ## Report this to wx-dev@lists.wxwidgets.org ##
22331 ## ----------------------------------------- ##
22334 sed "s/^/$as_me: WARNING: /" >&2
22337 echo "$as_me:$LINENO: checking for expat.h" >&5
22338 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22339 if test "${ac_cv_header_expat_h+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22342 ac_cv_header_expat_h
=$ac_header_preproc
22344 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22345 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22348 if test $ac_cv_header_expat_h = yes; then
22353 if test "x$found_expat_h" = "x1"; then
22354 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22355 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22356 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22357 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 ac_cpp
='$CXXCPP $CPPFLAGS'
22364 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22365 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22366 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22368 cat >conftest.
$ac_ext <<_ACEOF
22371 cat confdefs.h
>>conftest.
$ac_ext
22372 cat >>conftest.
$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22383 rm -f conftest.
$ac_objext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 (eval $ac_compile) 2>conftest.er1
22387 grep -v '^ *+' conftest.er1
>conftest.err
22389 cat conftest.err
>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try
='test -z "$ac_cxx_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try
='test -s conftest.$ac_objext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 wx_cv_expat_is_not_broken
=yes
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.
$ac_ext >&5
22410 wx_cv_expat_is_not_broken
=no
22413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22415 ac_cpp
='$CPP $CPPFLAGS'
22416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22423 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22424 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22425 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22426 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22427 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22428 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 ac_check_lib_save_LIBS
=$LIBS
22432 LIBS
="-lexpat $LIBS"
22433 cat >conftest.
$ac_ext <<_ACEOF
22436 cat confdefs.h
>>conftest.
$ac_ext
22437 cat >>conftest.
$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22440 /* Override any gcc2 internal prototype to avoid an error. */
22444 /* We use char because int might match the return type of a gcc2
22445 builtin and then its argument prototype would still apply. */
22446 char XML_ParserCreate ();
22450 XML_ParserCreate ();
22455 rm -f conftest.
$ac_objext conftest
$ac_exeext
22456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22457 (eval $ac_link) 2>conftest.er1
22459 grep -v '^ *+' conftest.er1
>conftest.err
22461 cat conftest.err
>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } &&
22464 { ac_try
='test -z "$ac_c_werror_flag"
22465 || test ! -s conftest.err'
22466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22467 (eval $ac_try) 2>&5
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); }; } &&
22471 { ac_try
='test -s conftest$ac_exeext'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; }; then
22477 ac_cv_lib_expat_XML_ParserCreate
=yes
22479 echo "$as_me: failed program was:" >&5
22480 sed 's/^/| /' conftest.
$ac_ext >&5
22482 ac_cv_lib_expat_XML_ParserCreate
=no
22484 rm -f conftest.err conftest.
$ac_objext \
22485 conftest
$ac_exeext conftest.
$ac_ext
22486 LIBS
=$ac_check_lib_save_LIBS
22488 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22489 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22490 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22491 EXPAT_LINK
=" -lexpat"
22496 if test "x$EXPAT_LINK" = "x" ; then
22497 if test "$wxUSE_EXPAT" = "sys" ; then
22498 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22499 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22500 { (exit 1); exit 1; }; }
22502 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22503 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22504 wxUSE_EXPAT
=builtin
22510 if test "$wxUSE_EXPAT" = "builtin" ; then
22513 subdirs
="$subdirs src/expat"
22520 if test "$wxUSE_LIBMSPACK" != "no"; then
22521 if test "${ac_cv_header_mspack_h+set}" = set; then
22522 echo "$as_me:$LINENO: checking for mspack.h" >&5
22523 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22524 if test "${ac_cv_header_mspack_h+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22527 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22528 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22530 # Is the header compilable?
22531 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22532 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22533 cat >conftest.
$ac_ext <<_ACEOF
22536 cat confdefs.h
>>conftest.
$ac_ext
22537 cat >>conftest.
$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22539 $ac_includes_default
22540 #include <mspack.h>
22542 rm -f conftest.
$ac_objext
22543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22544 (eval $ac_compile) 2>conftest.er1
22546 grep -v '^ *+' conftest.er1
>conftest.err
22548 cat conftest.err
>&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } &&
22551 { ac_try
='test -z "$ac_c_werror_flag"
22552 || test ! -s conftest.err'
22553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22554 (eval $ac_try) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); }; } &&
22558 { ac_try
='test -s conftest.$ac_objext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22564 ac_header_compiler
=yes
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.
$ac_ext >&5
22569 ac_header_compiler
=no
22571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22573 echo "${ECHO_T}$ac_header_compiler" >&6
22575 # Is the header present?
22576 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22577 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22578 cat >conftest.
$ac_ext <<_ACEOF
22581 cat confdefs.h
>>conftest.
$ac_ext
22582 cat >>conftest.
$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 #include <mspack.h>
22586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22589 grep -v '^ *+' conftest.er1
>conftest.err
22591 cat conftest.err
>&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); } >/dev
/null
; then
22594 if test -s conftest.err
; then
22595 ac_cpp_err
=$ac_c_preproc_warn_flag
22596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22603 if test -z "$ac_cpp_err"; then
22604 ac_header_preproc
=yes
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.
$ac_ext >&5
22609 ac_header_preproc
=no
22611 rm -f conftest.err conftest.
$ac_ext
22612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22613 echo "${ECHO_T}$ac_header_preproc" >&6
22615 # So? What about this header?
22616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22618 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22619 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22620 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22621 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22622 ac_header_preproc
=yes
22625 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22626 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22627 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22628 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22629 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22630 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22631 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22632 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22633 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22634 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22635 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22636 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22639 ## ----------------------------------------- ##
22640 ## Report this to wx-dev@lists.wxwidgets.org ##
22641 ## ----------------------------------------- ##
22644 sed "s/^/$as_me: WARNING: /" >&2
22647 echo "$as_me:$LINENO: checking for mspack.h" >&5
22648 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22649 if test "${ac_cv_header_mspack_h+set}" = set; then
22650 echo $ECHO_N "(cached) $ECHO_C" >&6
22652 ac_cv_header_mspack_h
=$ac_header_preproc
22654 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22655 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22658 if test $ac_cv_header_mspack_h = yes; then
22663 if test "x$found_mspack_h" = "x1"; then
22664 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22665 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22666 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22667 echo $ECHO_N "(cached) $ECHO_C" >&6
22669 ac_check_lib_save_LIBS
=$LIBS
22670 LIBS
="-lmspack $LIBS"
22671 cat >conftest.
$ac_ext <<_ACEOF
22674 cat confdefs.h
>>conftest.
$ac_ext
22675 cat >>conftest.
$ac_ext <<_ACEOF
22676 /* end confdefs.h. */
22678 /* Override any gcc2 internal prototype to avoid an error. */
22682 /* We use char because int might match the return type of a gcc2
22683 builtin and then its argument prototype would still apply. */
22684 char mspack_create_chm_decompressor ();
22688 mspack_create_chm_decompressor ();
22693 rm -f conftest.
$ac_objext conftest
$ac_exeext
22694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22695 (eval $ac_link) 2>conftest.er1
22697 grep -v '^ *+' conftest.er1
>conftest.err
22699 cat conftest.err
>&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } &&
22702 { ac_try
='test -z "$ac_c_werror_flag"
22703 || test ! -s conftest.err'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; } &&
22709 { ac_try
='test -s conftest$ac_exeext'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; }; then
22715 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.
$ac_ext >&5
22720 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22722 rm -f conftest.err conftest.
$ac_objext \
22723 conftest
$ac_exeext conftest.
$ac_ext
22724 LIBS
=$ac_check_lib_save_LIBS
22726 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22727 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22728 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22729 MSPACK_LINK
=" -lmspack"
22733 if test "x$MSPACK_LINK" = "x" ; then
22738 if test "$wxUSE_LIBMSPACK" != "no"; then
22739 cat >>confdefs.h
<<\_ACEOF
22740 #define wxUSE_LIBMSPACK 1
22754 if test "$USE_WIN32" = 1 ; then
22756 for ac_header
in w32api.h
22758 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22760 echo "$as_me:$LINENO: checking for $ac_header" >&5
22761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22763 echo $ECHO_N "(cached) $ECHO_C" >&6
22765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22768 # Is the header compilable?
22769 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22771 cat >conftest.
$ac_ext <<_ACEOF
22774 cat confdefs.h
>>conftest.
$ac_ext
22775 cat >>conftest.
$ac_ext <<_ACEOF
22776 /* end confdefs.h. */
22777 $ac_includes_default
22778 #include <$ac_header>
22780 rm -f conftest.
$ac_objext
22781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22782 (eval $ac_compile) 2>conftest.er1
22784 grep -v '^ *+' conftest.er1
>conftest.err
22786 cat conftest.err
>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } &&
22789 { ac_try
='test -z "$ac_c_werror_flag"
22790 || test ! -s conftest.err'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; } &&
22796 { ac_try
='test -s conftest.$ac_objext'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; }; then
22802 ac_header_compiler
=yes
22804 echo "$as_me: failed program was:" >&5
22805 sed 's/^/| /' conftest.
$ac_ext >&5
22807 ac_header_compiler
=no
22809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22811 echo "${ECHO_T}$ac_header_compiler" >&6
22813 # Is the header present?
22814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22816 cat >conftest.
$ac_ext <<_ACEOF
22819 cat confdefs.h
>>conftest.
$ac_ext
22820 cat >>conftest.
$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 #include <$ac_header>
22824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22827 grep -v '^ *+' conftest.er1
>conftest.err
22829 cat conftest.err
>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } >/dev
/null
; then
22832 if test -s conftest.err
; then
22833 ac_cpp_err
=$ac_c_preproc_warn_flag
22834 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22841 if test -z "$ac_cpp_err"; then
22842 ac_header_preproc
=yes
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.
$ac_ext >&5
22847 ac_header_preproc
=no
22849 rm -f conftest.err conftest.
$ac_ext
22850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22851 echo "${ECHO_T}$ac_header_preproc" >&6
22853 # So? What about this header?
22854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22860 ac_header_preproc
=yes
22863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22877 ## ----------------------------------------- ##
22878 ## Report this to wx-dev@lists.wxwidgets.org ##
22879 ## ----------------------------------------- ##
22882 sed "s/^/$as_me: WARNING: /" >&2
22885 echo "$as_me:$LINENO: checking for $ac_header" >&5
22886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22890 eval "$as_ac_Header=\$ac_header_preproc"
22892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22897 cat >>confdefs.h
<<_ACEOF
22898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22905 if test "${ac_cv_header_windows_h+set}" = set; then
22906 echo "$as_me:$LINENO: checking for windows.h" >&5
22907 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22908 if test "${ac_cv_header_windows_h+set}" = set; then
22909 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22912 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22914 # Is the header compilable?
22915 echo "$as_me:$LINENO: checking windows.h usability" >&5
22916 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22917 cat >conftest.
$ac_ext <<_ACEOF
22920 cat confdefs.h
>>conftest.
$ac_ext
22921 cat >>conftest.
$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923 $ac_includes_default
22924 #include <windows.h>
22926 rm -f conftest.
$ac_objext
22927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22928 (eval $ac_compile) 2>conftest.er1
22930 grep -v '^ *+' conftest.er1
>conftest.err
22932 cat conftest.err
>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } &&
22935 { ac_try
='test -z "$ac_c_werror_flag"
22936 || test ! -s conftest.err'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; } &&
22942 { ac_try
='test -s conftest.$ac_objext'
22943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22944 (eval $ac_try) 2>&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); }; }; then
22948 ac_header_compiler
=yes
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.
$ac_ext >&5
22953 ac_header_compiler
=no
22955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22957 echo "${ECHO_T}$ac_header_compiler" >&6
22959 # Is the header present?
22960 echo "$as_me:$LINENO: checking windows.h presence" >&5
22961 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22962 cat >conftest.
$ac_ext <<_ACEOF
22965 cat confdefs.h
>>conftest.
$ac_ext
22966 cat >>conftest.
$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 #include <windows.h>
22970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22971 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22973 grep -v '^ *+' conftest.er1
>conftest.err
22975 cat conftest.err
>&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } >/dev
/null
; then
22978 if test -s conftest.err
; then
22979 ac_cpp_err
=$ac_c_preproc_warn_flag
22980 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22987 if test -z "$ac_cpp_err"; then
22988 ac_header_preproc
=yes
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.
$ac_ext >&5
22993 ac_header_preproc
=no
22995 rm -f conftest.err conftest.
$ac_ext
22996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22997 echo "${ECHO_T}$ac_header_preproc" >&6
22999 # So? What about this header?
23000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23002 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23003 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23004 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23005 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23006 ac_header_preproc
=yes
23009 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23010 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23011 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23012 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23013 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23014 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23015 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23016 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23017 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23018 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23019 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23020 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23023 ## ----------------------------------------- ##
23024 ## Report this to wx-dev@lists.wxwidgets.org ##
23025 ## ----------------------------------------- ##
23028 sed "s/^/$as_me: WARNING: /" >&2
23031 echo "$as_me:$LINENO: checking for windows.h" >&5
23032 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23033 if test "${ac_cv_header_windows_h+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23036 ac_cv_header_windows_h
=$ac_header_preproc
23038 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23039 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23042 if test $ac_cv_header_windows_h = yes; then
23046 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23047 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23048 { (exit 1); exit 1; }; }
23054 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23056 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23057 LIBS
="$LIBS -loleacc"
23062 LIBS
="$LIBS -lkernel32 -luser32"
23063 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
23066 if test "$wxUSE_ODBC" = "sys" ; then
23069 if test "$wxUSE_ODBC" = "yes" ; then
23070 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
23071 cat >>confdefs.h
<<\_ACEOF
23072 #define wxUSE_ODBC 1
23077 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
23078 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23080 WIN32INSTALL
=win32install
23083 if test "$wxUSE_GUI" = "yes"; then
23093 if test "$wxUSE_COCOA" = 1 ; then
23094 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23095 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23096 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23097 wxUSE_PRINTING_ARCHITECTURE
=no
23099 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23100 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23101 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23102 wxUSE_DRAG_AND_DROP
=no
23104 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23105 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
23106 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
23111 if test "$wxUSE_MSW" = 1 ; then
23117 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23121 if test "$wxUSE_GTK" = 1; then
23122 echo "$as_me:$LINENO: checking for GTK+ version" >&5
23123 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
23125 gtk_version_cached
=1
23126 if test "${wx_cv_lib_gtk+set}" = set; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23130 gtk_version_cached
=0
23131 echo "$as_me:$LINENO: result: " >&5
23132 echo "${ECHO_T}" >&6
23135 if test "$wxUSE_THREADS" = "yes"; then
23136 GTK_MODULES
=gthread
23140 if test "x$wxUSE_GTK2" = "xyes"; then
23141 # Check whether --enable-gtktest or --disable-gtktest was given.
23142 if test "${enable_gtktest+set}" = set; then
23143 enableval
="$enable_gtktest"
23149 pkg_config_args
=gtk
+-2.0
23150 for module
in .
$GTK_MODULES
23154 pkg_config_args
="$pkg_config_args gthread-2.0"
23161 # Extract the first word of "pkg-config", so it can be a program name with args.
23162 set dummy pkg
-config; ac_word
=$2
23163 echo "$as_me:$LINENO: checking for $ac_word" >&5
23164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23165 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23166 echo $ECHO_N "(cached) $ECHO_C" >&6
23168 case $PKG_CONFIG in
23170 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23174 for as_dir
in $PATH
23177 test -z "$as_dir" && as_dir
=.
23178 for ac_exec_ext
in '' $ac_executable_extensions; do
23179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23180 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23187 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23191 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23193 if test -n "$PKG_CONFIG"; then
23194 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23195 echo "${ECHO_T}$PKG_CONFIG" >&6
23197 echo "$as_me:$LINENO: result: no" >&5
23198 echo "${ECHO_T}no" >&6
23202 if test x
$PKG_CONFIG != xno
; then
23203 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23206 echo "*** pkg-config too old; version 0.7 or better required."
23214 min_gtk_version
=2.0.0
23215 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23216 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23218 if test x
$PKG_CONFIG != xno
; then
23219 ## don't try to run the test against uninstalled libtool libs
23220 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23221 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23225 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23232 if test x
"$no_gtk" = x
; then
23233 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23234 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23235 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23237 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23239 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23241 if test "x$enable_gtktest" = "xyes" ; then
23242 ac_save_CFLAGS
="$CFLAGS"
23243 ac_save_LIBS
="$LIBS"
23244 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23245 LIBS
="$GTK_LIBS $LIBS"
23247 if test "$cross_compiling" = yes; then
23248 echo $ac_n "cross compiling; assumed OK... $ac_c"
23250 cat >conftest.
$ac_ext <<_ACEOF
23253 cat confdefs.h
>>conftest.
$ac_ext
23254 cat >>conftest.
$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23257 #include <gtk/gtk.h>
23259 #include <stdlib.h>
23264 int major, minor, micro;
23267 system ("touch conf.gtktest");
23269 /* HP/UX 9 (%@#!) writes to sscanf strings */
23270 tmp_version = g_strdup("$min_gtk_version");
23271 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23272 printf("%s, bad version string\n", "$min_gtk_version");
23276 if ((gtk_major_version != $gtk_config_major_version) ||
23277 (gtk_minor_version != $gtk_config_minor_version) ||
23278 (gtk_micro_version != $gtk_config_micro_version))
23280 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23281 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23282 gtk_major_version, gtk_minor_version, gtk_micro_version);
23283 printf ("*** was found! If pkg-config was correct, then it is best\n");
23284 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23285 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23286 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23287 printf("*** required on your system.\n");
23288 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23289 printf("*** to point to the correct configuration files\n");
23291 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23292 (gtk_minor_version != GTK_MINOR_VERSION) ||
23293 (gtk_micro_version != GTK_MICRO_VERSION))
23295 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23296 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23297 printf("*** library (version %d.%d.%d)\n",
23298 gtk_major_version, gtk_minor_version, gtk_micro_version);
23302 if ((gtk_major_version > major) ||
23303 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23304 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23310 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23311 gtk_major_version, gtk_minor_version, gtk_micro_version);
23312 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23313 major, minor, micro);
23314 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23316 printf("*** If you have already installed a sufficiently new version, this error\n");
23317 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23318 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23319 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23320 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23321 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23322 printf("*** so that the correct libraries are found at run-time))\n");
23329 rm -f conftest
$ac_exeext
23330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23331 (eval $ac_link) 2>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23342 echo "$as_me: program exited with status $ac_status" >&5
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.
$ac_ext >&5
23346 ( exit $ac_status )
23349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23351 CFLAGS
="$ac_save_CFLAGS"
23352 LIBS
="$ac_save_LIBS"
23355 if test "x$no_gtk" = x
; then
23356 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23357 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23360 echo "$as_me:$LINENO: result: no" >&5
23361 echo "${ECHO_T}no" >&6
23362 if test "$PKG_CONFIG" = "no" ; then
23363 echo "*** A new enough version of pkg-config was not found."
23364 echo "*** See http://pkgconfig.sourceforge.net"
23366 if test -f conf.gtktest
; then
23369 echo "*** Could not run GTK+ test program, checking why..."
23370 ac_save_CFLAGS
="$CFLAGS"
23371 ac_save_LIBS
="$LIBS"
23372 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23373 LIBS
="$LIBS $GTK_LIBS"
23374 cat >conftest.
$ac_ext <<_ACEOF
23377 cat confdefs.h
>>conftest.
$ac_ext
23378 cat >>conftest.
$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23381 #include <gtk/gtk.h>
23387 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23392 rm -f conftest.
$ac_objext conftest
$ac_exeext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23394 (eval $ac_link) 2>conftest.er1
23396 grep -v '^ *+' conftest.er1
>conftest.err
23398 cat conftest.err
>&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); } &&
23401 { ac_try
='test -z "$ac_c_werror_flag"
23402 || test ! -s conftest.err'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; } &&
23408 { ac_try
='test -s conftest$ac_exeext'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; }; then
23414 echo "*** The test program compiled, but did not run. This usually means"
23415 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23416 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23417 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23418 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23419 echo "*** is required on your system"
23421 echo "*** If you have an old version installed, it is best to remove it, although"
23422 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23424 echo "$as_me: failed program was:" >&5
23425 sed 's/^/| /' conftest.
$ac_ext >&5
23427 echo "*** The test program failed to compile or link. See the file config.log for the"
23428 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23430 rm -f conftest.err conftest.
$ac_objext \
23431 conftest
$ac_exeext conftest.
$ac_ext
23432 CFLAGS
="$ac_save_CFLAGS"
23433 LIBS
="$ac_save_LIBS"
23446 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23447 if test "${with_gtk_prefix+set}" = set; then
23448 withval
="$with_gtk_prefix"
23449 gtk_config_prefix
="$withval"
23451 gtk_config_prefix
=""
23454 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23455 if test "${with_gtk_exec_prefix+set}" = set; then
23456 withval
="$with_gtk_exec_prefix"
23457 gtk_config_exec_prefix
="$withval"
23459 gtk_config_exec_prefix
=""
23461 # Check whether --enable-gtktest or --disable-gtktest was given.
23462 if test "${enable_gtktest+set}" = set; then
23463 enableval
="$enable_gtktest"
23469 for module
in .
$GTK_MODULES
23473 gtk_config_args
="$gtk_config_args gthread"
23478 if test x
$gtk_config_exec_prefix != x
; then
23479 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23480 if test x
${GTK_CONFIG+set} != xset
; then
23481 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23484 if test x
$gtk_config_prefix != x
; then
23485 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23486 if test x
${GTK_CONFIG+set} != xset
; then
23487 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23491 # Extract the first word of "gtk-config", so it can be a program name with args.
23492 set dummy gtk
-config; ac_word
=$2
23493 echo "$as_me:$LINENO: checking for $ac_word" >&5
23494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23495 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23496 echo $ECHO_N "(cached) $ECHO_C" >&6
23498 case $GTK_CONFIG in
23500 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23504 for as_dir
in $PATH
23507 test -z "$as_dir" && as_dir
=.
23508 for ac_exec_ext
in '' $ac_executable_extensions; do
23509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23510 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23517 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23521 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23523 if test -n "$GTK_CONFIG"; then
23524 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23525 echo "${ECHO_T}$GTK_CONFIG" >&6
23527 echo "$as_me:$LINENO: result: no" >&5
23528 echo "${ECHO_T}no" >&6
23531 min_gtk_version
=1.2.7
23532 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23533 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23535 if test "$GTK_CONFIG" = "no" ; then
23538 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23539 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23540 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23542 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23544 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23546 if test "x$enable_gtktest" = "xyes" ; then
23547 ac_save_CFLAGS
="$CFLAGS"
23548 ac_save_LIBS
="$LIBS"
23549 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23550 LIBS
="$GTK_LIBS $LIBS"
23552 if test "$cross_compiling" = yes; then
23553 echo $ac_n "cross compiling; assumed OK... $ac_c"
23555 cat >conftest.
$ac_ext <<_ACEOF
23558 cat confdefs.h
>>conftest.
$ac_ext
23559 cat >>conftest.
$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23562 #include <gtk/gtk.h>
23564 #include <stdlib.h>
23569 int major, minor, micro;
23572 system ("touch conf.gtktest");
23574 /* HP/UX 9 (%@#!) writes to sscanf strings */
23575 tmp_version = g_strdup("$min_gtk_version");
23576 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23577 printf("%s, bad version string\n", "$min_gtk_version");
23581 if ((gtk_major_version != $gtk_config_major_version) ||
23582 (gtk_minor_version != $gtk_config_minor_version) ||
23583 (gtk_micro_version != $gtk_config_micro_version))
23585 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23586 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23587 gtk_major_version, gtk_minor_version, gtk_micro_version);
23588 printf ("*** was found! If gtk-config was correct, then it is best\n");
23589 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23590 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23591 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23592 printf("*** required on your system.\n");
23593 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23594 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23595 printf("*** before re-running configure\n");
23597 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23598 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23599 (gtk_minor_version != GTK_MINOR_VERSION) ||
23600 (gtk_micro_version != GTK_MICRO_VERSION))
23602 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23603 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23604 printf("*** library (version %d.%d.%d)\n",
23605 gtk_major_version, gtk_minor_version, gtk_micro_version);
23607 #endif /* defined (GTK_MAJOR_VERSION) ... */
23610 if ((gtk_major_version > major) ||
23611 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23612 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23618 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23619 gtk_major_version, gtk_minor_version, gtk_micro_version);
23620 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23621 major, minor, micro);
23622 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23624 printf("*** If you have already installed a sufficiently new version, this error\n");
23625 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23626 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23627 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23628 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23629 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23630 printf("*** so that the correct libraries are found at run-time))\n");
23637 rm -f conftest
$ac_exeext
23638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23639 (eval $ac_link) 2>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644 (eval $ac_try) 2>&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; }; then
23650 echo "$as_me: program exited with status $ac_status" >&5
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.
$ac_ext >&5
23654 ( exit $ac_status )
23657 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23659 CFLAGS
="$ac_save_CFLAGS"
23660 LIBS
="$ac_save_LIBS"
23663 if test "x$no_gtk" = x
; then
23664 echo "$as_me:$LINENO: result: yes" >&5
23665 echo "${ECHO_T}yes" >&6
23666 wx_cv_lib_gtk
=1.2.7
23668 echo "$as_me:$LINENO: result: no" >&5
23669 echo "${ECHO_T}no" >&6
23670 if test "$GTK_CONFIG" = "no" ; then
23671 echo "*** The gtk-config script installed by GTK could not be found"
23672 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23673 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23674 echo "*** full path to gtk-config."
23676 if test -f conf.gtktest
; then
23679 echo "*** Could not run GTK test program, checking why..."
23680 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23681 LIBS
="$LIBS $GTK_LIBS"
23682 cat >conftest.
$ac_ext <<_ACEOF
23685 cat confdefs.h
>>conftest.
$ac_ext
23686 cat >>conftest.
$ac_ext <<_ACEOF
23687 /* end confdefs.h. */
23689 #include <gtk/gtk.h>
23695 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23700 rm -f conftest.
$ac_objext conftest
$ac_exeext
23701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23702 (eval $ac_link) 2>conftest.er1
23704 grep -v '^ *+' conftest.er1
>conftest.err
23706 cat conftest.err
>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } &&
23709 { ac_try
='test -z "$ac_c_werror_flag"
23710 || test ! -s conftest.err'
23711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23712 (eval $ac_try) 2>&5
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); }; } &&
23716 { ac_try
='test -s conftest$ac_exeext'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; }; then
23722 echo "*** The test program compiled, but did not run. This usually means"
23723 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23724 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23725 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23726 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23727 echo "*** is required on your system"
23729 echo "*** If you have an old version installed, it is best to remove it, although"
23730 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23732 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23733 echo "*** came with the system with the command"
23735 echo "*** rpm --erase --nodeps gtk gtk-devel"
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.
$ac_ext >&5
23740 echo "*** The test program failed to compile or link. See the file config.log for the"
23741 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23742 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23743 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23745 rm -f conftest.err conftest.
$ac_objext \
23746 conftest
$ac_exeext conftest.
$ac_ext
23747 CFLAGS
="$ac_save_CFLAGS"
23748 LIBS
="$ac_save_LIBS"
23760 if test -z "$wx_cv_lib_gtk"; then
23762 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23763 if test "${with_gtk_prefix+set}" = set; then
23764 withval
="$with_gtk_prefix"
23765 gtk_config_prefix
="$withval"
23767 gtk_config_prefix
=""
23770 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23771 if test "${with_gtk_exec_prefix+set}" = set; then
23772 withval
="$with_gtk_exec_prefix"
23773 gtk_config_exec_prefix
="$withval"
23775 gtk_config_exec_prefix
=""
23777 # Check whether --enable-gtktest or --disable-gtktest was given.
23778 if test "${enable_gtktest+set}" = set; then
23779 enableval
="$enable_gtktest"
23785 for module
in .
$GTK_MODULES
23789 gtk_config_args
="$gtk_config_args gthread"
23794 if test x
$gtk_config_exec_prefix != x
; then
23795 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23796 if test x
${GTK_CONFIG+set} != xset
; then
23797 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23800 if test x
$gtk_config_prefix != x
; then
23801 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23802 if test x
${GTK_CONFIG+set} != xset
; then
23803 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23807 # Extract the first word of "gtk-config", so it can be a program name with args.
23808 set dummy gtk
-config; ac_word
=$2
23809 echo "$as_me:$LINENO: checking for $ac_word" >&5
23810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23811 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23812 echo $ECHO_N "(cached) $ECHO_C" >&6
23814 case $GTK_CONFIG in
23816 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23820 for as_dir
in $PATH
23823 test -z "$as_dir" && as_dir
=.
23824 for ac_exec_ext
in '' $ac_executable_extensions; do
23825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23826 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23833 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23837 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23839 if test -n "$GTK_CONFIG"; then
23840 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23841 echo "${ECHO_T}$GTK_CONFIG" >&6
23843 echo "$as_me:$LINENO: result: no" >&5
23844 echo "${ECHO_T}no" >&6
23847 min_gtk_version
=1.2.3
23848 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23849 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23851 if test "$GTK_CONFIG" = "no" ; then
23854 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23855 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23856 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23858 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23860 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23862 if test "x$enable_gtktest" = "xyes" ; then
23863 ac_save_CFLAGS
="$CFLAGS"
23864 ac_save_LIBS
="$LIBS"
23865 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23866 LIBS
="$GTK_LIBS $LIBS"
23868 if test "$cross_compiling" = yes; then
23869 echo $ac_n "cross compiling; assumed OK... $ac_c"
23871 cat >conftest.
$ac_ext <<_ACEOF
23874 cat confdefs.h
>>conftest.
$ac_ext
23875 cat >>conftest.
$ac_ext <<_ACEOF
23876 /* end confdefs.h. */
23878 #include <gtk/gtk.h>
23880 #include <stdlib.h>
23885 int major, minor, micro;
23888 system ("touch conf.gtktest");
23890 /* HP/UX 9 (%@#!) writes to sscanf strings */
23891 tmp_version = g_strdup("$min_gtk_version");
23892 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23893 printf("%s, bad version string\n", "$min_gtk_version");
23897 if ((gtk_major_version != $gtk_config_major_version) ||
23898 (gtk_minor_version != $gtk_config_minor_version) ||
23899 (gtk_micro_version != $gtk_config_micro_version))
23901 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23902 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23903 gtk_major_version, gtk_minor_version, gtk_micro_version);
23904 printf ("*** was found! If gtk-config was correct, then it is best\n");
23905 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23906 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23907 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23908 printf("*** required on your system.\n");
23909 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23910 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23911 printf("*** before re-running configure\n");
23913 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23914 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23915 (gtk_minor_version != GTK_MINOR_VERSION) ||
23916 (gtk_micro_version != GTK_MICRO_VERSION))
23918 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23919 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23920 printf("*** library (version %d.%d.%d)\n",
23921 gtk_major_version, gtk_minor_version, gtk_micro_version);
23923 #endif /* defined (GTK_MAJOR_VERSION) ... */
23926 if ((gtk_major_version > major) ||
23927 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23928 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23934 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23935 gtk_major_version, gtk_minor_version, gtk_micro_version);
23936 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23937 major, minor, micro);
23938 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23940 printf("*** If you have already installed a sufficiently new version, this error\n");
23941 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23942 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23943 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23944 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23945 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23946 printf("*** so that the correct libraries are found at run-time))\n");
23953 rm -f conftest
$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955 (eval $ac_link) 2>&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23966 echo "$as_me: program exited with status $ac_status" >&5
23967 echo "$as_me: failed program was:" >&5
23968 sed 's/^/| /' conftest.
$ac_ext >&5
23970 ( exit $ac_status )
23973 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23975 CFLAGS
="$ac_save_CFLAGS"
23976 LIBS
="$ac_save_LIBS"
23979 if test "x$no_gtk" = x
; then
23980 echo "$as_me:$LINENO: result: yes" >&5
23981 echo "${ECHO_T}yes" >&6
23982 wx_cv_lib_gtk
=1.2.3
23984 echo "$as_me:$LINENO: result: no" >&5
23985 echo "${ECHO_T}no" >&6
23986 if test "$GTK_CONFIG" = "no" ; then
23987 echo "*** The gtk-config script installed by GTK could not be found"
23988 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23989 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23990 echo "*** full path to gtk-config."
23992 if test -f conf.gtktest
; then
23995 echo "*** Could not run GTK test program, checking why..."
23996 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23997 LIBS
="$LIBS $GTK_LIBS"
23998 cat >conftest.
$ac_ext <<_ACEOF
24001 cat confdefs.h
>>conftest.
$ac_ext
24002 cat >>conftest.
$ac_ext <<_ACEOF
24003 /* end confdefs.h. */
24005 #include <gtk/gtk.h>
24011 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24016 rm -f conftest.
$ac_objext conftest
$ac_exeext
24017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24018 (eval $ac_link) 2>conftest.er1
24020 grep -v '^ *+' conftest.er1
>conftest.err
24022 cat conftest.err
>&5
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); } &&
24025 { ac_try
='test -z "$ac_c_werror_flag"
24026 || test ! -s conftest.err'
24027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24028 (eval $ac_try) 2>&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); }; } &&
24032 { ac_try
='test -s conftest$ac_exeext'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; }; then
24038 echo "*** The test program compiled, but did not run. This usually means"
24039 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24040 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24041 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24042 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24043 echo "*** is required on your system"
24045 echo "*** If you have an old version installed, it is best to remove it, although"
24046 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24048 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24049 echo "*** came with the system with the command"
24051 echo "*** rpm --erase --nodeps gtk gtk-devel"
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.
$ac_ext >&5
24056 echo "*** The test program failed to compile or link. See the file config.log for the"
24057 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24058 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24059 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24061 rm -f conftest.err conftest.
$ac_objext \
24062 conftest
$ac_exeext conftest.
$ac_ext
24063 CFLAGS
="$ac_save_CFLAGS"
24064 LIBS
="$ac_save_LIBS"
24078 if test -z "$wx_cv_lib_gtk"; then
24081 wx_cv_cflags_gtk
=$GTK_CFLAGS
24082 wx_cv_libs_gtk
=$GTK_LIBS
24089 if test "$gtk_version_cached" = 1; then
24090 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
24091 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
24094 case "$wx_cv_lib_gtk" in
24103 *) { { echo "$as_me:$LINENO: error:
24104 Please check that gtk-config is in path, the directory
24105 where GTK+ libraries are installed (returned by
24106 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24107 equivalent variable and GTK+ is version 1.2.3 or above.
24109 echo "$as_me: error:
24110 Please check that gtk-config is in path, the directory
24111 where GTK+ libraries are installed (returned by
24112 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24113 equivalent variable and GTK+ is version 1.2.3 or above.
24115 { (exit 1); exit 1; }; }
24119 if test "$WXGTK20" = 1; then
24120 save_CFLAGS
="$CFLAGS"
24122 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24123 LIBS
="$LIBS $GTK_LIBS"
24126 for ac_func
in pango_font_family_is_monospace
24128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24129 echo "$as_me:$LINENO: checking for $ac_func" >&5
24130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24131 if eval "test \"\${$as_ac_var+set}\" = set"; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
24134 cat >conftest.
$ac_ext <<_ACEOF
24137 cat confdefs.h
>>conftest.
$ac_ext
24138 cat >>conftest.
$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24142 #define $ac_func innocuous_$ac_func
24144 /* System header to define __stub macros and hopefully few prototypes,
24145 which can conflict with char $ac_func (); below.
24146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24147 <limits.h> exists even on freestanding compilers. */
24150 # include <limits.h>
24152 # include <assert.h>
24157 /* Override any gcc2 internal prototype to avoid an error. */
24162 /* We use char because int might match the return type of a gcc2
24163 builtin and then its argument prototype would still apply. */
24165 /* The GNU C library defines this for functions which it implements
24166 to always fail with ENOSYS. Some functions are actually named
24167 something starting with __ and the normal name is an alias. */
24168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24171 char (*f) () = $ac_func;
24180 return f != $ac_func;
24185 rm -f conftest.
$ac_objext conftest
$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>conftest.er1
24189 grep -v '^ *+' conftest.er1
>conftest.err
24191 cat conftest.err
>&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); } &&
24194 { ac_try
='test -z "$ac_c_werror_flag"
24195 || test ! -s conftest.err'
24196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197 (eval $ac_try) 2>&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); }; } &&
24201 { ac_try
='test -s conftest$ac_exeext'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; }; then
24207 eval "$as_ac_var=yes"
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.
$ac_ext >&5
24212 eval "$as_ac_var=no"
24214 rm -f conftest.err conftest.
$ac_objext \
24215 conftest
$ac_exeext conftest.
$ac_ext
24217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24219 if test `eval echo '${'$as_ac_var'}'` = yes; then
24220 cat >>confdefs.h
<<_ACEOF
24221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24228 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24229 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24230 cat >conftest.
$ac_ext <<_ACEOF
24233 cat confdefs.h
>>conftest.
$ac_ext
24234 cat >>conftest.
$ac_ext <<_ACEOF
24235 /* end confdefs.h. */
24237 #include <gtk/gtk.h>
24243 #if !GTK_CHECK_VERSION(2,4,0)
24244 #error "Not GTK+ 2.4"
24251 rm -f conftest.
$ac_objext
24252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24253 (eval $ac_compile) 2>conftest.er1
24255 grep -v '^ *+' conftest.er1
>conftest.err
24257 cat conftest.err
>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try
='test -z "$ac_c_werror_flag"
24261 || test ! -s conftest.err'
24262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24263 (eval $ac_try) 2>&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); }; } &&
24267 { ac_try
='test -s conftest.$ac_objext'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; }; then
24274 cat >>confdefs.h
<<\_ACEOF
24275 #define __WXGTK24__ 1
24278 echo "$as_me:$LINENO: result: yes" >&5
24279 echo "${ECHO_T}yes" >&6
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.
$ac_ext >&5
24286 echo "$as_me:$LINENO: result: no" >&5
24287 echo "${ECHO_T}no" >&6
24290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24292 CFLAGS
="$save_CFLAGS"
24295 if test "$wxUSE_UNICODE" = "yes"; then
24296 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24297 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24302 if test "$USE_DARWIN" != 1; then
24304 for ac_func
in poll
24306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24307 echo "$as_me:$LINENO: checking for $ac_func" >&5
24308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24309 if eval "test \"\${$as_ac_var+set}\" = set"; then
24310 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 cat >conftest.
$ac_ext <<_ACEOF
24315 cat confdefs.h
>>conftest.
$ac_ext
24316 cat >>conftest.
$ac_ext <<_ACEOF
24317 /* end confdefs.h. */
24318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24320 #define $ac_func innocuous_$ac_func
24322 /* System header to define __stub macros and hopefully few prototypes,
24323 which can conflict with char $ac_func (); below.
24324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24325 <limits.h> exists even on freestanding compilers. */
24328 # include <limits.h>
24330 # include <assert.h>
24335 /* Override any gcc2 internal prototype to avoid an error. */
24340 /* We use char because int might match the return type of a gcc2
24341 builtin and then its argument prototype would still apply. */
24343 /* The GNU C library defines this for functions which it implements
24344 to always fail with ENOSYS. Some functions are actually named
24345 something starting with __ and the normal name is an alias. */
24346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24349 char (*f) () = $ac_func;
24358 return f != $ac_func;
24363 rm -f conftest.
$ac_objext conftest
$ac_exeext
24364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24365 (eval $ac_link) 2>conftest.er1
24367 grep -v '^ *+' conftest.er1
>conftest.err
24369 cat conftest.err
>&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } &&
24372 { ac_try
='test -z "$ac_c_werror_flag"
24373 || test ! -s conftest.err'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; } &&
24379 { ac_try
='test -s conftest$ac_exeext'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; }; then
24385 eval "$as_ac_var=yes"
24387 echo "$as_me: failed program was:" >&5
24388 sed 's/^/| /' conftest.
$ac_ext >&5
24390 eval "$as_ac_var=no"
24392 rm -f conftest.err conftest.
$ac_objext \
24393 conftest
$ac_exeext conftest.
$ac_ext
24395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24397 if test `eval echo '${'$as_ac_var'}'` = yes; then
24398 cat >>confdefs.h
<<_ACEOF
24399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24407 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24408 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24410 AFMINSTALL
=afminstall
24414 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24415 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24416 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24417 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 ac_check_lib_save_LIBS
=$LIBS
24421 cat >conftest.
$ac_ext <<_ACEOF
24424 cat confdefs.h
>>conftest.
$ac_ext
24425 cat >>conftest.
$ac_ext <<_ACEOF
24426 /* end confdefs.h. */
24428 /* Override any gcc2 internal prototype to avoid an error. */
24432 /* We use char because int might match the return type of a gcc2
24433 builtin and then its argument prototype would still apply. */
24434 char gdk_im_open ();
24443 rm -f conftest.
$ac_objext conftest
$ac_exeext
24444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24445 (eval $ac_link) 2>conftest.er1
24447 grep -v '^ *+' conftest.er1
>conftest.err
24449 cat conftest.err
>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } &&
24452 { ac_try
='test -z "$ac_c_werror_flag"
24453 || test ! -s conftest.err'
24454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24455 (eval $ac_try) 2>&5
24457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24458 (exit $ac_status); }; } &&
24459 { ac_try
='test -s conftest$ac_exeext'
24460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24461 (eval $ac_try) 2>&5
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); }; }; then
24465 ac_cv_lib_gdk_gdk_im_open
=yes
24467 echo "$as_me: failed program was:" >&5
24468 sed 's/^/| /' conftest.
$ac_ext >&5
24470 ac_cv_lib_gdk_gdk_im_open
=no
24472 rm -f conftest.err conftest.
$ac_objext \
24473 conftest
$ac_exeext conftest.
$ac_ext
24474 LIBS
=$ac_check_lib_save_LIBS
24476 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24477 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24478 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24479 cat >>confdefs.h
<<\_ACEOF
24487 if test "$wxUSE_GPE" = "yes"; then
24488 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24489 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24492 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24494 for ac_extension
in a so sl dylib
; do
24495 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24496 ac_find_libraries
=$ac_dir
24502 if test "$ac_find_libraries" != "" ; then
24504 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24506 if test $result = 0; then
24509 ac_path_to_link
=" -L$ac_find_libraries"
24512 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24514 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24515 echo "${ECHO_T}found at $ac_find_libraries" >&6
24517 echo "$as_me:$LINENO: result: not found" >&5
24518 echo "${ECHO_T}not found" >&6
24524 if test "$wxUSE_MGL" = 1; then
24525 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24526 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24527 if test "x$MGL_ROOT" = x
; then
24528 echo "$as_me:$LINENO: result: not found" >&5
24529 echo "${ECHO_T}not found" >&6
24530 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24531 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24532 { (exit 1); exit 1; }; }
24534 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24535 echo "${ECHO_T}$MGL_ROOT" >&6
24538 echo "$as_me:$LINENO: checking for libmgl location" >&5
24539 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24542 if test "x$wxUSE_SHARED" = xyes
; then
24543 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24545 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24549 mgl_os_candidates
="dos32/dj2"
24552 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24553 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24554 { (exit 1); exit 1; }; }
24560 for mgl_os_i
in $mgl_os_candidates ; do
24561 if test "x$mgl_os" = x
; then
24562 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24563 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24564 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24569 if test "x$mgl_lib_type" = x
; then
24570 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24571 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24572 mgl_lib_type
=release
24579 if test "x$mgl_os" = x
; then
24580 echo "$as_me:$LINENO: result: not found" >&5
24581 echo "${ECHO_T}not found" >&6
24582 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24583 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24584 { (exit 1); exit 1; }; }
24586 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24587 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24589 wxUSE_UNIVERSAL
="yes"
24591 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24592 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24594 AFMINSTALL
=afminstall
24599 if test "$wxUSE_MICROWIN" = 1; then
24600 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24601 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24602 if test "x$MICROWINDOWS" = x
; then
24603 echo "$as_me:$LINENO: result: not found" >&5
24604 echo "${ECHO_T}not found" >&6
24605 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24606 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24607 { (exit 1); exit 1; }; }
24609 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24610 echo "${ECHO_T}$MICROWINDOWS" >&6
24613 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24614 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24615 echo "${ECHO_T}MicroWindows' libraries found." >&6
24617 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24618 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24619 { (exit 1); exit 1; }; }
24622 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24623 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24625 wxUSE_UNIVERSAL
="yes"
24627 AFMINSTALL
=afminstall
24629 GUIDIST
=MICROWIN_DIST
24631 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24634 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24635 echo "$as_me:$LINENO: checking for X" >&5
24636 echo $ECHO_N "checking for X... $ECHO_C" >&6
24639 # Check whether --with-x or --without-x was given.
24640 if test "${with_x+set}" = set; then
24644 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24645 if test "x$with_x" = xno
; then
24646 # The user explicitly disabled X.
24649 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24650 # Both variables are already set.
24653 if test "${ac_cv_have_x+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 # One or both of the vars are not set, and there is no cached value.
24657 ac_x_includes
=no ac_x_libraries
=no
24658 rm -fr conftest.dir
24659 if mkdir conftest.dir
; then
24661 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24662 cat >Imakefile
<<'_ACEOF'
24664 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24666 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24668 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24669 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24670 for ac_extension
in a so sl
; do
24671 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24672 test -f $ac_im_libdir/libX11.
$ac_extension; then
24673 ac_im_usrlibdir
=$ac_im_libdir; break
24676 # Screen out bogus values from the imake configuration. They are
24677 # bogus both because they are the default anyway, and because
24678 # using them would break gcc on systems where it needs fixed includes.
24679 case $ac_im_incroot in
24681 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24683 case $ac_im_usrlibdir in
24684 /usr
/lib
| /lib
) ;;
24685 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24689 rm -fr conftest.dir
24692 # Standard set of common directories for X headers.
24693 # Check X11 before X11Rn because it is often a symlink to the current release.
24705 /usr/local/X11/include
24706 /usr/local/X11R6/include
24707 /usr/local/X11R5/include
24708 /usr/local/X11R4/include
24710 /usr/local/include/X11
24711 /usr/local/include/X11R6
24712 /usr/local/include/X11R5
24713 /usr/local/include/X11R4
24717 /usr/XFree86/include/X11
24721 /usr/unsupported/include
24722 /usr/athena/include
24723 /usr/local/x11r5/include
24724 /usr/lpp/Xamples/include
24726 /usr/openwin/include
24727 /usr/openwin/share/include'
24729 if test "$ac_x_includes" = no
; then
24730 # Guess where to find include files, by looking for Intrinsic.h.
24731 # First, try using that file with no special directory specified.
24732 cat >conftest.
$ac_ext <<_ACEOF
24735 cat confdefs.h
>>conftest.
$ac_ext
24736 cat >>conftest.
$ac_ext <<_ACEOF
24737 /* end confdefs.h. */
24738 #include <X11/Intrinsic.h>
24740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24743 grep -v '^ *+' conftest.er1
>conftest.err
24745 cat conftest.err
>&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } >/dev
/null
; then
24748 if test -s conftest.err
; then
24749 ac_cpp_err
=$ac_c_preproc_warn_flag
24750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24757 if test -z "$ac_cpp_err"; then
24758 # We can compile using X headers with no special include directory.
24761 echo "$as_me: failed program was:" >&5
24762 sed 's/^/| /' conftest.
$ac_ext >&5
24764 for ac_dir
in $ac_x_header_dirs; do
24765 if test -r "$ac_dir/X11/Intrinsic.h"; then
24766 ac_x_includes
=$ac_dir
24771 rm -f conftest.err conftest.
$ac_ext
24772 fi # $ac_x_includes = no
24774 if test "$ac_x_libraries" = no
; then
24775 # Check for the libraries.
24776 # See if we find them without any special options.
24777 # Don't add to $LIBS permanently.
24780 cat >conftest.
$ac_ext <<_ACEOF
24783 cat confdefs.h
>>conftest.
$ac_ext
24784 cat >>conftest.
$ac_ext <<_ACEOF
24785 /* end confdefs.h. */
24786 #include <X11/Intrinsic.h>
24795 rm -f conftest.
$ac_objext conftest
$ac_exeext
24796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24797 (eval $ac_link) 2>conftest.er1
24799 grep -v '^ *+' conftest.er1
>conftest.err
24801 cat conftest.err
>&5
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); } &&
24804 { ac_try
='test -z "$ac_c_werror_flag"
24805 || test ! -s conftest.err'
24806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24807 (eval $ac_try) 2>&5
24809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24810 (exit $ac_status); }; } &&
24811 { ac_try
='test -s conftest$ac_exeext'
24812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24813 (eval $ac_try) 2>&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); }; }; then
24818 # We can link X programs with no special library path.
24821 echo "$as_me: failed program was:" >&5
24822 sed 's/^/| /' conftest.
$ac_ext >&5
24825 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24827 # Don't even attempt the hair of trying to link an X program!
24828 for ac_extension
in a so sl
; do
24829 if test -r $ac_dir/libXt.
$ac_extension; then
24830 ac_x_libraries
=$ac_dir
24836 rm -f conftest.err conftest.
$ac_objext \
24837 conftest
$ac_exeext conftest.
$ac_ext
24838 fi # $ac_x_libraries = no
24840 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24841 # Didn't find X anywhere. Cache the known absence of X.
24842 ac_cv_have_x
="have_x=no"
24844 # Record where we found X for the cache.
24845 ac_cv_have_x
="have_x=yes \
24846 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24851 eval "$ac_cv_have_x"
24854 if test "$have_x" != yes; then
24855 echo "$as_me:$LINENO: result: $have_x" >&5
24856 echo "${ECHO_T}$have_x" >&6
24859 # If each of the values was on the command line, it overrides each guess.
24860 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24861 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24862 # Update the cache value to reflect the command line values.
24863 ac_cv_have_x
="have_x=yes \
24864 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24865 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24866 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24869 if test "$no_x" = yes; then
24870 # Not all programs may use this symbol, but it does not hurt to define it.
24872 cat >>confdefs.h
<<\_ACEOF
24873 #define X_DISPLAY_MISSING 1
24876 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24878 if test -n "$x_includes"; then
24879 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24882 # It would also be nice to do this for all -L options, not just this one.
24883 if test -n "$x_libraries"; then
24884 X_LIBS
="$X_LIBS -L$x_libraries"
24885 # For Solaris; some versions of Sun CC require a space after -R and
24886 # others require no space. Words are not sufficient . . . .
24887 case `(uname -sr) 2>/dev/null` in
24889 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24890 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24891 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24892 cat >conftest.
$ac_ext <<_ACEOF
24895 cat confdefs.h
>>conftest.
$ac_ext
24896 cat >>conftest.
$ac_ext <<_ACEOF
24897 /* end confdefs.h. */
24907 rm -f conftest.
$ac_objext conftest
$ac_exeext
24908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24909 (eval $ac_link) 2>conftest.er1
24911 grep -v '^ *+' conftest.er1
>conftest.err
24913 cat conftest.err
>&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } &&
24916 { ac_try
='test -z "$ac_c_werror_flag"
24917 || test ! -s conftest.err'
24918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919 (eval $ac_try) 2>&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; } &&
24923 { ac_try
='test -s conftest$ac_exeext'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; }; then
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.
$ac_ext >&5
24936 rm -f conftest.err conftest.
$ac_objext \
24937 conftest
$ac_exeext conftest.
$ac_ext
24938 if test $ac_R_nospace = yes; then
24939 echo "$as_me:$LINENO: result: no" >&5
24940 echo "${ECHO_T}no" >&6
24941 X_LIBS
="$X_LIBS -R$x_libraries"
24943 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24944 cat >conftest.
$ac_ext <<_ACEOF
24947 cat confdefs.h
>>conftest.
$ac_ext
24948 cat >>conftest.
$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24959 rm -f conftest.
$ac_objext conftest
$ac_exeext
24960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24961 (eval $ac_link) 2>conftest.er1
24963 grep -v '^ *+' conftest.er1
>conftest.err
24965 cat conftest.err
>&5
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); } &&
24968 { ac_try
='test -z "$ac_c_werror_flag"
24969 || test ! -s conftest.err'
24970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971 (eval $ac_try) 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; } &&
24975 { ac_try
='test -s conftest$ac_exeext'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24983 echo "$as_me: failed program was:" >&5
24984 sed 's/^/| /' conftest.
$ac_ext >&5
24988 rm -f conftest.err conftest.
$ac_objext \
24989 conftest
$ac_exeext conftest.
$ac_ext
24990 if test $ac_R_space = yes; then
24991 echo "$as_me:$LINENO: result: yes" >&5
24992 echo "${ECHO_T}yes" >&6
24993 X_LIBS
="$X_LIBS -R $x_libraries"
24995 echo "$as_me:$LINENO: result: neither works" >&5
24996 echo "${ECHO_T}neither works" >&6
24999 LIBS
=$ac_xsave_LIBS
25003 # Check for system-dependent libraries X programs must link with.
25004 # Do this before checking for the system-independent R6 libraries
25005 # (-lICE), since we may need -lsocket or whatever for X linking.
25007 if test "$ISC" = yes; then
25008 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25010 # Martyn Johnson says this is needed for Ultrix, if the X
25011 # libraries were built with DECnet support. And Karl Berry says
25012 # the Alpha needs dnet_stub (dnet does not exist).
25013 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25014 cat >conftest.
$ac_ext <<_ACEOF
25017 cat confdefs.h
>>conftest.
$ac_ext
25018 cat >>conftest.
$ac_ext <<_ACEOF
25019 /* end confdefs.h. */
25021 /* Override any gcc2 internal prototype to avoid an error. */
25025 /* We use char because int might match the return type of a gcc2
25026 builtin and then its argument prototype would still apply. */
25027 char XOpenDisplay ();
25036 rm -f conftest.
$ac_objext conftest
$ac_exeext
25037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25038 (eval $ac_link) 2>conftest.er1
25040 grep -v '^ *+' conftest.er1
>conftest.err
25042 cat conftest.err
>&5
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); } &&
25045 { ac_try
='test -z "$ac_c_werror_flag"
25046 || test ! -s conftest.err'
25047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25048 (eval $ac_try) 2>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; } &&
25052 { ac_try
='test -s conftest$ac_exeext'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; }; then
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.
$ac_ext >&5
25063 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25064 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25065 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25066 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 ac_check_lib_save_LIBS
=$LIBS
25069 LIBS
="-ldnet $LIBS"
25070 cat >conftest.
$ac_ext <<_ACEOF
25073 cat confdefs.h
>>conftest.
$ac_ext
25074 cat >>conftest.
$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25077 /* Override any gcc2 internal prototype to avoid an error. */
25081 /* We use char because int might match the return type of a gcc2
25082 builtin and then its argument prototype would still apply. */
25092 rm -f conftest.
$ac_objext conftest
$ac_exeext
25093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25094 (eval $ac_link) 2>conftest.er1
25096 grep -v '^ *+' conftest.er1
>conftest.err
25098 cat conftest.err
>&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } &&
25101 { ac_try
='test -z "$ac_c_werror_flag"
25102 || test ! -s conftest.err'
25103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25104 (eval $ac_try) 2>&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); }; } &&
25108 { ac_try
='test -s conftest$ac_exeext'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_lib_dnet_dnet_ntoa
=yes
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.
$ac_ext >&5
25119 ac_cv_lib_dnet_dnet_ntoa
=no
25121 rm -f conftest.err conftest.
$ac_objext \
25122 conftest
$ac_exeext conftest.
$ac_ext
25123 LIBS
=$ac_check_lib_save_LIBS
25125 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25126 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25127 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25128 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25131 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25132 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25133 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25134 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 ac_check_lib_save_LIBS
=$LIBS
25138 LIBS
="-ldnet_stub $LIBS"
25139 cat >conftest.
$ac_ext <<_ACEOF
25142 cat confdefs.h
>>conftest.
$ac_ext
25143 cat >>conftest.
$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25146 /* Override any gcc2 internal prototype to avoid an error. */
25150 /* We use char because int might match the return type of a gcc2
25151 builtin and then its argument prototype would still apply. */
25161 rm -f conftest.
$ac_objext conftest
$ac_exeext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25163 (eval $ac_link) 2>conftest.er1
25165 grep -v '^ *+' conftest.er1
>conftest.err
25167 cat conftest.err
>&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try
='test -z "$ac_c_werror_flag"
25171 || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try
='test -s conftest$ac_exeext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.
$ac_ext >&5
25188 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25190 rm -f conftest.err conftest.
$ac_objext \
25191 conftest
$ac_exeext conftest.
$ac_ext
25192 LIBS
=$ac_check_lib_save_LIBS
25194 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25195 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25196 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25197 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25202 rm -f conftest.err conftest.
$ac_objext \
25203 conftest
$ac_exeext conftest.
$ac_ext
25204 LIBS
="$ac_xsave_LIBS"
25206 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25207 # to get the SysV transport functions.
25208 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25210 # The nsl library prevents programs from opening the X display
25211 # on Irix 5.2, according to T.E. Dickey.
25212 # The functions gethostbyname, getservbyname, and inet_addr are
25213 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25214 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25215 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25216 if test "${ac_cv_func_gethostbyname+set}" = set; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 cat >conftest.
$ac_ext <<_ACEOF
25222 cat confdefs.h
>>conftest.
$ac_ext
25223 cat >>conftest.
$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25225 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25227 #define gethostbyname innocuous_gethostbyname
25229 /* System header to define __stub macros and hopefully few prototypes,
25230 which can conflict with char gethostbyname (); below.
25231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25232 <limits.h> exists even on freestanding compilers. */
25235 # include <limits.h>
25237 # include <assert.h>
25240 #undef gethostbyname
25242 /* Override any gcc2 internal prototype to avoid an error. */
25247 /* We use char because int might match the return type of a gcc2
25248 builtin and then its argument prototype would still apply. */
25249 char gethostbyname ();
25250 /* The GNU C library defines this for functions which it implements
25251 to always fail with ENOSYS. Some functions are actually named
25252 something starting with __ and the normal name is an alias. */
25253 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25256 char (*f) () = gethostbyname;
25265 return f != gethostbyname;
25270 rm -f conftest.
$ac_objext conftest
$ac_exeext
25271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25272 (eval $ac_link) 2>conftest.er1
25274 grep -v '^ *+' conftest.er1
>conftest.err
25276 cat conftest.err
>&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } &&
25279 { ac_try
='test -z "$ac_c_werror_flag"
25280 || test ! -s conftest.err'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; } &&
25286 { ac_try
='test -s conftest$ac_exeext'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; }; then
25292 ac_cv_func_gethostbyname
=yes
25294 echo "$as_me: failed program was:" >&5
25295 sed 's/^/| /' conftest.
$ac_ext >&5
25297 ac_cv_func_gethostbyname
=no
25299 rm -f conftest.err conftest.
$ac_objext \
25300 conftest
$ac_exeext conftest.
$ac_ext
25302 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25303 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25305 if test $ac_cv_func_gethostbyname = no
; then
25306 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25307 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25308 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25309 echo $ECHO_N "(cached) $ECHO_C" >&6
25311 ac_check_lib_save_LIBS
=$LIBS
25313 cat >conftest.
$ac_ext <<_ACEOF
25316 cat confdefs.h
>>conftest.
$ac_ext
25317 cat >>conftest.
$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25320 /* Override any gcc2 internal prototype to avoid an error. */
25324 /* We use char because int might match the return type of a gcc2
25325 builtin and then its argument prototype would still apply. */
25326 char gethostbyname ();
25335 rm -f conftest.
$ac_objext conftest
$ac_exeext
25336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25337 (eval $ac_link) 2>conftest.er1
25339 grep -v '^ *+' conftest.er1
>conftest.err
25341 cat conftest.err
>&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } &&
25344 { ac_try
='test -z "$ac_c_werror_flag"
25345 || test ! -s conftest.err'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; } &&
25351 { ac_try
='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357 ac_cv_lib_nsl_gethostbyname
=yes
25359 echo "$as_me: failed program was:" >&5
25360 sed 's/^/| /' conftest.
$ac_ext >&5
25362 ac_cv_lib_nsl_gethostbyname
=no
25364 rm -f conftest.err conftest.
$ac_objext \
25365 conftest
$ac_exeext conftest.
$ac_ext
25366 LIBS
=$ac_check_lib_save_LIBS
25368 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25369 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25370 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25371 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25374 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25375 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25376 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25377 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25380 ac_check_lib_save_LIBS
=$LIBS
25382 cat >conftest.
$ac_ext <<_ACEOF
25385 cat confdefs.h
>>conftest.
$ac_ext
25386 cat >>conftest.
$ac_ext <<_ACEOF
25387 /* end confdefs.h. */
25389 /* Override any gcc2 internal prototype to avoid an error. */
25393 /* We use char because int might match the return type of a gcc2
25394 builtin and then its argument prototype would still apply. */
25395 char gethostbyname ();
25404 rm -f conftest.
$ac_objext conftest
$ac_exeext
25405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25406 (eval $ac_link) 2>conftest.er1
25408 grep -v '^ *+' conftest.er1
>conftest.err
25410 cat conftest.err
>&5
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); } &&
25413 { ac_try
='test -z "$ac_c_werror_flag"
25414 || test ! -s conftest.err'
25415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25416 (eval $ac_try) 2>&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); }; } &&
25420 { ac_try
='test -s conftest$ac_exeext'
25421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422 (eval $ac_try) 2>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); }; }; then
25426 ac_cv_lib_bsd_gethostbyname
=yes
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.
$ac_ext >&5
25431 ac_cv_lib_bsd_gethostbyname
=no
25433 rm -f conftest.err conftest.
$ac_objext \
25434 conftest
$ac_exeext conftest.
$ac_ext
25435 LIBS
=$ac_check_lib_save_LIBS
25437 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25438 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25439 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25440 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25446 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25447 # socket/setsockopt and other routines are undefined under SCO ODT
25448 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25449 # on later versions), says Simon Leinen: it contains gethostby*
25450 # variants that don't use the name server (or something). -lsocket
25451 # must be given before -lnsl if both are needed. We assume that
25452 # if connect needs -lnsl, so does gethostbyname.
25453 echo "$as_me:$LINENO: checking for connect" >&5
25454 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25455 if test "${ac_cv_func_connect+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 cat >conftest.
$ac_ext <<_ACEOF
25461 cat confdefs.h
>>conftest.
$ac_ext
25462 cat >>conftest.
$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25466 #define connect innocuous_connect
25468 /* System header to define __stub macros and hopefully few prototypes,
25469 which can conflict with char connect (); below.
25470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25471 <limits.h> exists even on freestanding compilers. */
25474 # include <limits.h>
25476 # include <assert.h>
25481 /* Override any gcc2 internal prototype to avoid an error. */
25486 /* We use char because int might match the return type of a gcc2
25487 builtin and then its argument prototype would still apply. */
25489 /* The GNU C library defines this for functions which it implements
25490 to always fail with ENOSYS. Some functions are actually named
25491 something starting with __ and the normal name is an alias. */
25492 #if defined (__stub_connect) || defined (__stub___connect)
25495 char (*f) () = connect;
25504 return f != connect;
25509 rm -f conftest.
$ac_objext conftest
$ac_exeext
25510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25511 (eval $ac_link) 2>conftest.er1
25513 grep -v '^ *+' conftest.er1
>conftest.err
25515 cat conftest.err
>&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } &&
25518 { ac_try
='test -z "$ac_c_werror_flag"
25519 || test ! -s conftest.err'
25520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25521 (eval $ac_try) 2>&5
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); }; } &&
25525 { ac_try
='test -s conftest$ac_exeext'
25526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527 (eval $ac_try) 2>&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); }; }; then
25531 ac_cv_func_connect
=yes
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.
$ac_ext >&5
25536 ac_cv_func_connect
=no
25538 rm -f conftest.err conftest.
$ac_objext \
25539 conftest
$ac_exeext conftest.
$ac_ext
25541 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25542 echo "${ECHO_T}$ac_cv_func_connect" >&6
25544 if test $ac_cv_func_connect = no
; then
25545 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25547 if test "${ac_cv_lib_socket_connect+set}" = set; then
25548 echo $ECHO_N "(cached) $ECHO_C" >&6
25550 ac_check_lib_save_LIBS
=$LIBS
25551 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25552 cat >conftest.
$ac_ext <<_ACEOF
25555 cat confdefs.h
>>conftest.
$ac_ext
25556 cat >>conftest.
$ac_ext <<_ACEOF
25557 /* end confdefs.h. */
25559 /* Override any gcc2 internal prototype to avoid an error. */
25563 /* We use char because int might match the return type of a gcc2
25564 builtin and then its argument prototype would still apply. */
25574 rm -f conftest.
$ac_objext conftest
$ac_exeext
25575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25576 (eval $ac_link) 2>conftest.er1
25578 grep -v '^ *+' conftest.er1
>conftest.err
25580 cat conftest.err
>&5
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); } &&
25583 { ac_try
='test -z "$ac_c_werror_flag"
25584 || test ! -s conftest.err'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; } &&
25590 { ac_try
='test -s conftest$ac_exeext'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; }; then
25596 ac_cv_lib_socket_connect
=yes
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.
$ac_ext >&5
25601 ac_cv_lib_socket_connect
=no
25603 rm -f conftest.err conftest.
$ac_objext \
25604 conftest
$ac_exeext conftest.
$ac_ext
25605 LIBS
=$ac_check_lib_save_LIBS
25607 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25608 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25609 if test $ac_cv_lib_socket_connect = yes; then
25610 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25615 # Guillermo Gomez says -lposix is necessary on A/UX.
25616 echo "$as_me:$LINENO: checking for remove" >&5
25617 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25618 if test "${ac_cv_func_remove+set}" = set; then
25619 echo $ECHO_N "(cached) $ECHO_C" >&6
25621 cat >conftest.
$ac_ext <<_ACEOF
25624 cat confdefs.h
>>conftest.
$ac_ext
25625 cat >>conftest.
$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25629 #define remove innocuous_remove
25631 /* System header to define __stub macros and hopefully few prototypes,
25632 which can conflict with char remove (); below.
25633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25634 <limits.h> exists even on freestanding compilers. */
25637 # include <limits.h>
25639 # include <assert.h>
25644 /* Override any gcc2 internal prototype to avoid an error. */
25649 /* We use char because int might match the return type of a gcc2
25650 builtin and then its argument prototype would still apply. */
25652 /* The GNU C library defines this for functions which it implements
25653 to always fail with ENOSYS. Some functions are actually named
25654 something starting with __ and the normal name is an alias. */
25655 #if defined (__stub_remove) || defined (__stub___remove)
25658 char (*f) () = remove;
25667 return f != remove;
25672 rm -f conftest.
$ac_objext conftest
$ac_exeext
25673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25674 (eval $ac_link) 2>conftest.er1
25676 grep -v '^ *+' conftest.er1
>conftest.err
25678 cat conftest.err
>&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); } &&
25681 { ac_try
='test -z "$ac_c_werror_flag"
25682 || test ! -s conftest.err'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; } &&
25688 { ac_try
='test -s conftest$ac_exeext'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; }; then
25694 ac_cv_func_remove
=yes
25696 echo "$as_me: failed program was:" >&5
25697 sed 's/^/| /' conftest.
$ac_ext >&5
25699 ac_cv_func_remove
=no
25701 rm -f conftest.err conftest.
$ac_objext \
25702 conftest
$ac_exeext conftest.
$ac_ext
25704 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25705 echo "${ECHO_T}$ac_cv_func_remove" >&6
25707 if test $ac_cv_func_remove = no
; then
25708 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25709 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25710 if test "${ac_cv_lib_posix_remove+set}" = set; then
25711 echo $ECHO_N "(cached) $ECHO_C" >&6
25713 ac_check_lib_save_LIBS
=$LIBS
25714 LIBS
="-lposix $LIBS"
25715 cat >conftest.
$ac_ext <<_ACEOF
25718 cat confdefs.h
>>conftest.
$ac_ext
25719 cat >>conftest.
$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25722 /* Override any gcc2 internal prototype to avoid an error. */
25726 /* We use char because int might match the return type of a gcc2
25727 builtin and then its argument prototype would still apply. */
25737 rm -f conftest.
$ac_objext conftest
$ac_exeext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25739 (eval $ac_link) 2>conftest.er1
25741 grep -v '^ *+' conftest.er1
>conftest.err
25743 cat conftest.err
>&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } &&
25746 { ac_try
='test -z "$ac_c_werror_flag"
25747 || test ! -s conftest.err'
25748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749 (eval $ac_try) 2>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; } &&
25753 { ac_try
='test -s conftest$ac_exeext'
25754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755 (eval $ac_try) 2>&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); }; }; then
25759 ac_cv_lib_posix_remove
=yes
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.
$ac_ext >&5
25764 ac_cv_lib_posix_remove
=no
25766 rm -f conftest.err conftest.
$ac_objext \
25767 conftest
$ac_exeext conftest.
$ac_ext
25768 LIBS
=$ac_check_lib_save_LIBS
25770 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25771 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25772 if test $ac_cv_lib_posix_remove = yes; then
25773 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25778 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25779 echo "$as_me:$LINENO: checking for shmat" >&5
25780 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25781 if test "${ac_cv_func_shmat+set}" = set; then
25782 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 cat >conftest.
$ac_ext <<_ACEOF
25787 cat confdefs.h
>>conftest.
$ac_ext
25788 cat >>conftest.
$ac_ext <<_ACEOF
25789 /* end confdefs.h. */
25790 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25792 #define shmat innocuous_shmat
25794 /* System header to define __stub macros and hopefully few prototypes,
25795 which can conflict with char shmat (); below.
25796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25797 <limits.h> exists even on freestanding compilers. */
25800 # include <limits.h>
25802 # include <assert.h>
25807 /* Override any gcc2 internal prototype to avoid an error. */
25812 /* We use char because int might match the return type of a gcc2
25813 builtin and then its argument prototype would still apply. */
25815 /* The GNU C library defines this for functions which it implements
25816 to always fail with ENOSYS. Some functions are actually named
25817 something starting with __ and the normal name is an alias. */
25818 #if defined (__stub_shmat) || defined (__stub___shmat)
25821 char (*f) () = shmat;
25835 rm -f conftest.
$ac_objext conftest
$ac_exeext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25837 (eval $ac_link) 2>conftest.er1
25839 grep -v '^ *+' conftest.er1
>conftest.err
25841 cat conftest.err
>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try
='test -z "$ac_c_werror_flag"
25845 || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try
='test -s conftest$ac_exeext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25857 ac_cv_func_shmat
=yes
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.
$ac_ext >&5
25862 ac_cv_func_shmat
=no
25864 rm -f conftest.err conftest.
$ac_objext \
25865 conftest
$ac_exeext conftest.
$ac_ext
25867 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25868 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25870 if test $ac_cv_func_shmat = no
; then
25871 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25872 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25873 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25876 ac_check_lib_save_LIBS
=$LIBS
25878 cat >conftest.
$ac_ext <<_ACEOF
25881 cat confdefs.h
>>conftest.
$ac_ext
25882 cat >>conftest.
$ac_ext <<_ACEOF
25883 /* end confdefs.h. */
25885 /* Override any gcc2 internal prototype to avoid an error. */
25889 /* We use char because int might match the return type of a gcc2
25890 builtin and then its argument prototype would still apply. */
25900 rm -f conftest.
$ac_objext conftest
$ac_exeext
25901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25902 (eval $ac_link) 2>conftest.er1
25904 grep -v '^ *+' conftest.er1
>conftest.err
25906 cat conftest.err
>&5
25907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25908 (exit $ac_status); } &&
25909 { ac_try
='test -z "$ac_c_werror_flag"
25910 || test ! -s conftest.err'
25911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25912 (eval $ac_try) 2>&5
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); }; } &&
25916 { ac_try
='test -s conftest$ac_exeext'
25917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25918 (eval $ac_try) 2>&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); }; }; then
25922 ac_cv_lib_ipc_shmat
=yes
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.
$ac_ext >&5
25927 ac_cv_lib_ipc_shmat
=no
25929 rm -f conftest.err conftest.
$ac_objext \
25930 conftest
$ac_exeext conftest.
$ac_ext
25931 LIBS
=$ac_check_lib_save_LIBS
25933 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25934 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25935 if test $ac_cv_lib_ipc_shmat = yes; then
25936 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25942 # Check for libraries that X11R6 Xt/Xaw programs need.
25943 ac_save_LDFLAGS
=$LDFLAGS
25944 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25945 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25946 # check for ICE first), but we must link in the order -lSM -lICE or
25947 # we get undefined symbols. So assume we have SM if we have ICE.
25948 # These have to be linked with before -lX11, unlike the other
25949 # libraries we check for below, so use a different variable.
25950 # John Interrante, Karl Berry
25951 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25952 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25953 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25956 ac_check_lib_save_LIBS
=$LIBS
25957 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25958 cat >conftest.
$ac_ext <<_ACEOF
25961 cat confdefs.h
>>conftest.
$ac_ext
25962 cat >>conftest.
$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25965 /* Override any gcc2 internal prototype to avoid an error. */
25969 /* We use char because int might match the return type of a gcc2
25970 builtin and then its argument prototype would still apply. */
25971 char IceConnectionNumber ();
25975 IceConnectionNumber ();
25980 rm -f conftest.
$ac_objext conftest
$ac_exeext
25981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25982 (eval $ac_link) 2>conftest.er1
25984 grep -v '^ *+' conftest.er1
>conftest.err
25986 cat conftest.err
>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } &&
25989 { ac_try
='test -z "$ac_c_werror_flag"
25990 || test ! -s conftest.err'
25991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992 (eval $ac_try) 2>&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); }; } &&
25996 { ac_try
='test -s conftest$ac_exeext'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; }; then
26002 ac_cv_lib_ICE_IceConnectionNumber
=yes
26004 echo "$as_me: failed program was:" >&5
26005 sed 's/^/| /' conftest.
$ac_ext >&5
26007 ac_cv_lib_ICE_IceConnectionNumber
=no
26009 rm -f conftest.err conftest.
$ac_objext \
26010 conftest
$ac_exeext conftest.
$ac_ext
26011 LIBS
=$ac_check_lib_save_LIBS
26013 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26014 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26015 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26016 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26019 LDFLAGS
=$ac_save_LDFLAGS
26024 if test "$no_x" = "yes"; then
26025 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26026 echo "$as_me: error: X11 not found" >&2;}
26027 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26030 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26031 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26032 AFMINSTALL
=afminstall
26033 COMPILED_X_PROGRAM
=0
26037 if test "$wxUSE_X11" = 1; then
26038 if test "$wxUSE_NANOX" = "yes"; then
26039 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26040 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26041 if test "x$MICROWIN" = x
; then
26042 echo "$as_me:$LINENO: result: not found" >&5
26043 echo "${ECHO_T}not found" >&6
26044 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26045 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26046 { (exit 1); exit 1; }; }
26048 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26049 echo "${ECHO_T}$MICROWIN" >&6
26050 cat >>confdefs.h
<<\_ACEOF
26051 #define wxUSE_NANOX 1
26057 if test "$wxUSE_UNICODE" = "yes"; then
26061 if test -z "$PKG_CONFIG"; then
26062 # Extract the first word of "pkg-config", so it can be a program name with args.
26063 set dummy pkg
-config; ac_word
=$2
26064 echo "$as_me:$LINENO: checking for $ac_word" >&5
26065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26066 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 case $PKG_CONFIG in
26071 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26075 for as_dir
in $PATH
26078 test -z "$as_dir" && as_dir
=.
26079 for ac_exec_ext
in '' $ac_executable_extensions; do
26080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26081 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26088 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26092 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26094 if test -n "$PKG_CONFIG"; then
26095 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26096 echo "${ECHO_T}$PKG_CONFIG" >&6
26098 echo "$as_me:$LINENO: result: no" >&5
26099 echo "${ECHO_T}no" >&6
26104 if test "$PKG_CONFIG" = "no" ; then
26105 echo "*** The pkg-config script could not be found. Make sure it is"
26106 echo "*** in your path, or set the PKG_CONFIG environment variable"
26107 echo "*** to the full path to pkg-config."
26108 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26110 PKG_CONFIG_MIN_VERSION
=0.9.0
26111 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26112 echo "$as_me:$LINENO: checking for pangox" >&5
26113 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
26115 if $PKG_CONFIG --exists "pangox" ; then
26116 echo "$as_me:$LINENO: result: yes" >&5
26117 echo "${ECHO_T}yes" >&6
26120 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
26121 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
26122 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
26123 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
26124 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
26126 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
26127 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
26128 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
26129 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
26130 echo "${ECHO_T}$PANGOX_LIBS" >&6
26134 ## If we have a custom action on failure, don't print errors, but
26135 ## do set a variable so people can do so.
26136 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
26143 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26144 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26148 if test $succeeded = yes; then
26150 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
26151 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
26155 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26156 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26157 { (exit 1); exit 1; }; }
26165 if test -z "$PKG_CONFIG"; then
26166 # Extract the first word of "pkg-config", so it can be a program name with args.
26167 set dummy pkg
-config; ac_word
=$2
26168 echo "$as_me:$LINENO: checking for $ac_word" >&5
26169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26170 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26173 case $PKG_CONFIG in
26175 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26179 for as_dir
in $PATH
26182 test -z "$as_dir" && as_dir
=.
26183 for ac_exec_ext
in '' $ac_executable_extensions; do
26184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26185 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26192 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26196 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26198 if test -n "$PKG_CONFIG"; then
26199 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26200 echo "${ECHO_T}$PKG_CONFIG" >&6
26202 echo "$as_me:$LINENO: result: no" >&5
26203 echo "${ECHO_T}no" >&6
26208 if test "$PKG_CONFIG" = "no" ; then
26209 echo "*** The pkg-config script could not be found. Make sure it is"
26210 echo "*** in your path, or set the PKG_CONFIG environment variable"
26211 echo "*** to the full path to pkg-config."
26212 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26214 PKG_CONFIG_MIN_VERSION
=0.9.0
26215 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26216 echo "$as_me:$LINENO: checking for pangoft2" >&5
26217 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26219 if $PKG_CONFIG --exists "pangoft2" ; then
26220 echo "$as_me:$LINENO: result: yes" >&5
26221 echo "${ECHO_T}yes" >&6
26224 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26225 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26226 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
26227 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26228 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26230 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26231 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26232 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
26233 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26234 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26238 ## If we have a custom action on failure, don't print errors, but
26239 ## do set a variable so people can do so.
26240 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26247 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26248 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26252 if test $succeeded = yes; then
26254 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
26255 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26259 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26260 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26261 wxUSE_PRINTING_ARCHITECTURE
="no"
26269 if test -z "$PKG_CONFIG"; then
26270 # Extract the first word of "pkg-config", so it can be a program name with args.
26271 set dummy pkg
-config; ac_word
=$2
26272 echo "$as_me:$LINENO: checking for $ac_word" >&5
26273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26277 case $PKG_CONFIG in
26279 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26283 for as_dir
in $PATH
26286 test -z "$as_dir" && as_dir
=.
26287 for ac_exec_ext
in '' $ac_executable_extensions; do
26288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26289 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26300 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26302 if test -n "$PKG_CONFIG"; then
26303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26304 echo "${ECHO_T}$PKG_CONFIG" >&6
26306 echo "$as_me:$LINENO: result: no" >&5
26307 echo "${ECHO_T}no" >&6
26312 if test "$PKG_CONFIG" = "no" ; then
26313 echo "*** The pkg-config script could not be found. Make sure it is"
26314 echo "*** in your path, or set the PKG_CONFIG environment variable"
26315 echo "*** to the full path to pkg-config."
26316 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26318 PKG_CONFIG_MIN_VERSION
=0.9.0
26319 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26320 echo "$as_me:$LINENO: checking for pangoxft" >&5
26321 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26323 if $PKG_CONFIG --exists "pangoxft" ; then
26324 echo "$as_me:$LINENO: result: yes" >&5
26325 echo "${ECHO_T}yes" >&6
26328 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26329 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26330 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
26331 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26332 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26334 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26335 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26336 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
26337 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26338 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26342 ## If we have a custom action on failure, don't print errors, but
26343 ## do set a variable so people can do so.
26344 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26351 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26352 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26356 if test $succeeded = yes; then
26358 cat >>confdefs.h
<<\_ACEOF
26359 #define HAVE_PANGO_XFT 1
26362 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26363 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26367 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26368 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26373 save_CFLAGS
="$CFLAGS"
26375 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26376 LIBS
="$LIBS $PANGOX_LIBS"
26378 for ac_func
in pango_font_family_is_monospace
26380 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26381 echo "$as_me:$LINENO: checking for $ac_func" >&5
26382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26383 if eval "test \"\${$as_ac_var+set}\" = set"; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 cat >conftest.
$ac_ext <<_ACEOF
26389 cat confdefs.h
>>conftest.
$ac_ext
26390 cat >>conftest.
$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26394 #define $ac_func innocuous_$ac_func
26396 /* System header to define __stub macros and hopefully few prototypes,
26397 which can conflict with char $ac_func (); below.
26398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26399 <limits.h> exists even on freestanding compilers. */
26402 # include <limits.h>
26404 # include <assert.h>
26409 /* Override any gcc2 internal prototype to avoid an error. */
26414 /* We use char because int might match the return type of a gcc2
26415 builtin and then its argument prototype would still apply. */
26417 /* The GNU C library defines this for functions which it implements
26418 to always fail with ENOSYS. Some functions are actually named
26419 something starting with __ and the normal name is an alias. */
26420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26423 char (*f) () = $ac_func;
26432 return f != $ac_func;
26437 rm -f conftest.
$ac_objext conftest
$ac_exeext
26438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26439 (eval $ac_link) 2>conftest.er1
26441 grep -v '^ *+' conftest.er1
>conftest.err
26443 cat conftest.err
>&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); } &&
26446 { ac_try
='test -z "$ac_c_werror_flag"
26447 || test ! -s conftest.err'
26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449 (eval $ac_try) 2>&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); }; } &&
26453 { ac_try
='test -s conftest$ac_exeext'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; }; then
26459 eval "$as_ac_var=yes"
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.
$ac_ext >&5
26464 eval "$as_ac_var=no"
26466 rm -f conftest.err conftest.
$ac_objext \
26467 conftest
$ac_exeext conftest.
$ac_ext
26469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26471 if test `eval echo '${'$as_ac_var'}'` = yes; then
26472 cat >>confdefs.h
<<_ACEOF
26473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26479 CFLAGS
="$save_CFLAGS"
26483 wxUSE_UNIVERSAL
="yes"
26485 if test "$wxUSE_NANOX" = "yes"; then
26486 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26487 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"
26488 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26490 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26497 if test "$wxUSE_MOTIF" = 1; then
26498 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26499 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26502 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26504 if test -f "$ac_dir/Xm/Xm.h"; then
26505 ac_find_includes
=$ac_dir
26510 if test "$ac_find_includes" != "" ; then
26511 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26512 echo "${ECHO_T}found in $ac_find_includes" >&6
26514 if test "x$ac_find_includes" = "x/usr/include"; then
26515 ac_path_to_include
=""
26517 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26519 if test $result = 0; then
26520 ac_path_to_include
=""
26522 ac_path_to_include
=" -I$ac_find_includes"
26526 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26528 cat >conftest.
$ac_ext <<_ACEOF
26531 cat confdefs.h
>>conftest.
$ac_ext
26532 cat >>conftest.
$ac_ext <<_ACEOF
26533 /* end confdefs.h. */
26542 version = xmUseVersion;
26548 rm -f conftest.
$ac_objext
26549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26550 (eval $ac_compile) 2>conftest.er1
26552 grep -v '^ *+' conftest.er1
>conftest.err
26554 cat conftest.err
>&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); } &&
26557 { ac_try
='test -z "$ac_c_werror_flag"
26558 || test ! -s conftest.err'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; } &&
26564 { ac_try
='test -s conftest.$ac_objext'
26565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26566 (eval $ac_try) 2>&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); }; }; then
26571 echo "$as_me:$LINENO: result: found in default search path" >&5
26572 echo "${ECHO_T}found in default search path" >&6
26573 COMPILED_X_PROGRAM
=1
26576 echo "$as_me: failed program was:" >&5
26577 sed 's/^/| /' conftest.
$ac_ext >&5
26580 echo "$as_me:$LINENO: result: no" >&5
26581 echo "${ECHO_T}no" >&6
26582 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26583 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26584 { (exit 1); exit 1; }; }
26588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26591 if test "$COMPILED_X_PROGRAM" = 0; then
26592 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26593 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26596 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26598 for ac_extension
in a so sl dylib
; do
26599 if test -f "$ac_dir/libXm.$ac_extension"; then
26600 ac_find_libraries
=$ac_dir
26606 if test "$ac_find_libraries" != "" ; then
26607 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26608 echo "${ECHO_T}found at $ac_find_libraries" >&6
26611 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26613 if test $result = 0; then
26616 ac_path_to_link
=" -L$ac_find_libraries"
26619 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26621 save_CFLAGS
=$CFLAGS
26622 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26624 cat >conftest.
$ac_ext <<_ACEOF
26627 cat confdefs.h
>>conftest.
$ac_ext
26628 cat >>conftest.
$ac_ext <<_ACEOF
26629 /* end confdefs.h. */
26638 version = xmUseVersion;
26644 rm -f conftest.
$ac_objext
26645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26646 (eval $ac_compile) 2>conftest.er1
26648 grep -v '^ *+' conftest.er1
>conftest.err
26650 cat conftest.err
>&5
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); } &&
26653 { ac_try
='test -z "$ac_c_werror_flag"
26654 || test ! -s conftest.err'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; } &&
26660 { ac_try
='test -s conftest.$ac_objext'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; }; then
26667 echo "$as_me:$LINENO: result: found in default search path" >&5
26668 echo "${ECHO_T}found in default search path" >&6
26669 COMPILED_X_PROGRAM
=1
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.
$ac_ext >&5
26676 echo "$as_me:$LINENO: result: no" >&5
26677 echo "${ECHO_T}no" >&6
26678 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26679 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26680 { (exit 1); exit 1; }; }
26684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26686 CFLAGS
=$save_CFLAGS
26690 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26691 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26695 for libp
in "" " -lXp"; do
26696 if test "$libs_found" = "0"; then
26697 for libsm_ice
in "" " -lSM -lICE"; do
26698 if test "$libs_found" = "0"; then
26700 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26701 save_CFLAGS
=$CFLAGS
26702 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26704 cat >conftest.
$ac_ext <<_ACEOF
26707 cat confdefs.h
>>conftest.
$ac_ext
26708 cat >>conftest.
$ac_ext <<_ACEOF
26709 /* end confdefs.h. */
26712 #include <Xm/List.h>
26718 XmString string = NULL;
26721 XmListAddItem(w, string, position);
26727 rm -f conftest.
$ac_objext conftest
$ac_exeext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 (eval $ac_link) 2>conftest.er1
26731 grep -v '^ *+' conftest.er1
>conftest.err
26733 cat conftest.err
>&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try
='test -z "$ac_c_werror_flag"
26737 || test ! -s conftest.err'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; } &&
26743 { ac_try
='test -s conftest$ac_exeext'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; }; then
26751 libsm_ice_link
="$libsm_ice"
26752 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26753 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26757 echo "$as_me: failed program was:" >&5
26758 sed 's/^/| /' conftest.
$ac_ext >&5
26763 rm -f conftest.err conftest.
$ac_objext \
26764 conftest
$ac_exeext conftest.
$ac_ext
26767 CFLAGS
=$save_CFLAGS
26773 if test "$libs_found" = "0"; then
26774 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26775 echo "${ECHO_T}can't find the right libraries" >&6
26776 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26777 echo "$as_me: error: can't link a simple motif program" >&2;}
26778 { (exit 1); exit 1; }; }
26781 save_CFLAGS
=$CFLAGS
26782 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26783 echo "$as_me:$LINENO: checking for Motif 2" >&5
26784 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26785 cat >conftest.
$ac_ext <<_ACEOF
26788 cat confdefs.h
>>conftest.
$ac_ext
26789 cat >>conftest.
$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26798 #if XmVersion < 2000
26799 #error "Not Motif 2"
26806 rm -f conftest.
$ac_objext
26807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26808 (eval $ac_compile) 2>conftest.er1
26810 grep -v '^ *+' conftest.er1
>conftest.err
26812 cat conftest.err
>&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); } &&
26815 { ac_try
='test -z "$ac_c_werror_flag"
26816 || test ! -s conftest.err'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; } &&
26822 { ac_try
='test -s conftest.$ac_objext'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; }; then
26829 cat >>confdefs.h
<<\_ACEOF
26830 #define __WXMOTIF20__ 1
26833 echo "$as_me:$LINENO: result: found" >&5
26834 echo "${ECHO_T}found" >&6
26837 echo "$as_me: failed program was:" >&5
26838 sed 's/^/| /' conftest.
$ac_ext >&5
26841 cat >>confdefs.h
<<\_ACEOF
26842 #define __WXMOTIF20__ 0
26845 echo "$as_me:$LINENO: result: not found" >&5
26846 echo "${ECHO_T}not found" >&6
26849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26850 CFLAGS
=$save_CFLAGS
26852 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26857 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26858 if test "$wxUSE_LIBXPM" = "sys"; then
26859 echo "$as_me:$LINENO: checking for Xpm library" >&5
26860 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26863 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26865 for ac_extension
in a so sl dylib
; do
26866 if test -f "$ac_dir/libXpm.$ac_extension"; then
26867 ac_find_libraries
=$ac_dir
26873 if test "$ac_find_libraries" != "" ; then
26875 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26877 if test $result = 0; then
26880 ac_path_to_link
=" -L$ac_find_libraries"
26883 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26884 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26885 echo "${ECHO_T}found at $ac_find_libraries" >&6
26887 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26888 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26889 if test "${wx_cv_x11_xpm_h+set}" = set; then
26890 echo $ECHO_N "(cached) $ECHO_C" >&6
26893 save_CFLAGS
=$CFLAGS
26894 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26896 cat >conftest.
$ac_ext <<_ACEOF
26899 cat confdefs.h
>>conftest.
$ac_ext
26900 cat >>conftest.
$ac_ext <<_ACEOF
26901 /* end confdefs.h. */
26903 #include <X11/xpm.h>
26910 version = XpmLibraryVersion();
26916 rm -f conftest.
$ac_objext
26917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26918 (eval $ac_compile) 2>conftest.er1
26920 grep -v '^ *+' conftest.er1
>conftest.err
26922 cat conftest.err
>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } &&
26925 { ac_try
='test -z "$ac_c_werror_flag"
26926 || test ! -s conftest.err'
26927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26928 (eval $ac_try) 2>&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); }; } &&
26932 { ac_try
='test -s conftest.$ac_objext'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; }; then
26938 wx_cv_x11_xpm_h
=yes
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.
$ac_ext >&5
26946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26948 CFLAGS
=$save_CFLAGS
26952 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26953 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26955 if test $wx_cv_x11_xpm_h = "yes"; then
26956 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26957 cat >>confdefs.h
<<\_ACEOF
26958 #define wxHAVE_LIB_XPM 1
26962 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26963 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26969 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26970 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26971 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 ac_check_lib_save_LIBS
=$LIBS
26975 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26976 cat >conftest.
$ac_ext <<_ACEOF
26979 cat confdefs.h
>>conftest.
$ac_ext
26980 cat >>conftest.
$ac_ext <<_ACEOF
26981 /* end confdefs.h. */
26983 /* Override any gcc2 internal prototype to avoid an error. */
26987 /* We use char because int might match the return type of a gcc2
26988 builtin and then its argument prototype would still apply. */
26989 char XShapeQueryExtension ();
26993 XShapeQueryExtension ();
26998 rm -f conftest.
$ac_objext conftest
$ac_exeext
26999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27000 (eval $ac_link) 2>conftest.er1
27002 grep -v '^ *+' conftest.er1
>conftest.err
27004 cat conftest.err
>&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } &&
27007 { ac_try
='test -z "$ac_c_werror_flag"
27008 || test ! -s conftest.err'
27009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27010 (eval $ac_try) 2>&5
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); }; } &&
27014 { ac_try
='test -s conftest$ac_exeext'
27015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27016 (eval $ac_try) 2>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); }; }; then
27020 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.
$ac_ext >&5
27025 ac_cv_lib_Xext_XShapeQueryExtension
=no
27027 rm -f conftest.err conftest.
$ac_objext \
27028 conftest
$ac_exeext conftest.
$ac_ext
27029 LIBS
=$ac_check_lib_save_LIBS
27031 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27032 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27033 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27035 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27041 if test "$wxHAVE_XEXT_LIB" = 1; then
27042 save_CFLAGS
="$CFLAGS"
27043 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27045 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27046 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27047 cat >conftest.
$ac_ext <<_ACEOF
27050 cat confdefs.h
>>conftest.
$ac_ext
27051 cat >>conftest.
$ac_ext <<_ACEOF
27052 /* end confdefs.h. */
27054 #include <X11/Xlib.h>
27055 #include <X11/extensions/shape.h>
27061 int dummy1, dummy2;
27062 XShapeQueryExtension((Display*)NULL,
27063 (int*)NULL, (int*)NULL);
27069 rm -f conftest.
$ac_objext
27070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27071 (eval $ac_compile) 2>conftest.er1
27073 grep -v '^ *+' conftest.er1
>conftest.err
27075 cat conftest.err
>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); } &&
27078 { ac_try
='test -z "$ac_c_werror_flag"
27079 || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try
='test -s conftest.$ac_objext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27092 cat >>confdefs.h
<<\_ACEOF
27093 #define HAVE_XSHAPE 1
27096 echo "$as_me:$LINENO: result: found" >&5
27097 echo "${ECHO_T}found" >&6
27100 echo "$as_me: failed program was:" >&5
27101 sed 's/^/| /' conftest.
$ac_ext >&5
27104 echo "$as_me:$LINENO: result: not found" >&5
27105 echo "${ECHO_T}not found" >&6
27108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27109 CFLAGS
="$save_CFLAGS"
27114 if test "$wxUSE_MAC" = 1; then
27115 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27116 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27117 if test "$GCC" = yes; then
27118 echo "$as_me:$LINENO: result: gcc" >&5
27119 echo "${ECHO_T}gcc" >&6
27120 CPPFLAGS_PASCAL
="-fpascal-strings"
27121 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27122 echo "$as_me:$LINENO: result: xlc" >&5
27123 echo "${ECHO_T}xlc" >&6
27124 CPPFLAGS_PASCAL
="-qmacpstr"
27126 echo "$as_me:$LINENO: result: none" >&5
27127 echo "${ECHO_T}none" >&6
27130 if test "x$wxUSE_UNIX" = "xyes"; then
27131 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27133 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
27138 WXBASEPORT
="_carbon"
27141 if test "$wxUSE_COCOA" = 1; then
27146 if test "$wxUSE_PM" = 1; then
27149 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27150 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27151 if test "${wx_cv_spbcdata+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 cat >conftest.
$ac_ext <<_ACEOF
27158 cat confdefs.h
>>conftest.
$ac_ext
27159 cat >>conftest.
$ac_ext <<_ACEOF
27160 /* end confdefs.h. */
27175 rm -f conftest.
$ac_objext
27176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27177 (eval $ac_compile) 2>conftest.er1
27179 grep -v '^ *+' conftest.er1
>conftest.err
27181 cat conftest.err
>&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); } &&
27184 { ac_try
='test -z "$ac_c_werror_flag"
27185 || test ! -s conftest.err'
27186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27187 (eval $ac_try) 2>&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); }; } &&
27191 { ac_try
='test -s conftest.$ac_objext'
27192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 (eval $ac_try) 2>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); }; }; then
27199 echo "$as_me: failed program was:" >&5
27200 sed 's/^/| /' conftest.
$ac_ext >&5
27205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27209 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27210 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27212 if test $wx_cv_spbcdata = "yes"; then
27213 cat >>confdefs.h
<<\_ACEOF
27214 #define HAVE_SPBCDATA 1
27220 if test "$TOOLKIT" = "PM" ; then
27223 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27226 if test "$wxUSE_UNIVERSAL" = "yes"; then
27227 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27231 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27232 DISTDIR
="wx\$(TOOLKIT)"
27238 if test "$USE_WIN32" = 1 ; then
27242 GUIDIST
="BASE_DIST"
27252 if test "$TOOLKIT" != "MSW" ; then
27254 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27256 if test "${ac_cv_header_sql_h+set}" = set; then
27257 echo "$as_me:$LINENO: checking for sql.h" >&5
27258 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27259 if test "${ac_cv_header_sql_h+set}" = set; then
27260 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27263 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27265 # Is the header compilable?
27266 echo "$as_me:$LINENO: checking sql.h usability" >&5
27267 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27268 cat >conftest.
$ac_ext <<_ACEOF
27271 cat confdefs.h
>>conftest.
$ac_ext
27272 cat >>conftest.
$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274 $ac_includes_default
27277 rm -f conftest.
$ac_objext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27279 (eval $ac_compile) 2>conftest.er1
27281 grep -v '^ *+' conftest.er1
>conftest.err
27283 cat conftest.err
>&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); } &&
27286 { ac_try
='test -z "$ac_c_werror_flag"
27287 || test ! -s conftest.err'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; } &&
27293 { ac_try
='test -s conftest.$ac_objext'
27294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295 (eval $ac_try) 2>&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; }; then
27299 ac_header_compiler
=yes
27301 echo "$as_me: failed program was:" >&5
27302 sed 's/^/| /' conftest.
$ac_ext >&5
27304 ac_header_compiler
=no
27306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27308 echo "${ECHO_T}$ac_header_compiler" >&6
27310 # Is the header present?
27311 echo "$as_me:$LINENO: checking sql.h presence" >&5
27312 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27313 cat >conftest.
$ac_ext <<_ACEOF
27316 cat confdefs.h
>>conftest.
$ac_ext
27317 cat >>conftest.
$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27324 grep -v '^ *+' conftest.er1
>conftest.err
27326 cat conftest.err
>&5
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } >/dev
/null
; then
27329 if test -s conftest.err
; then
27330 ac_cpp_err
=$ac_c_preproc_warn_flag
27331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27338 if test -z "$ac_cpp_err"; then
27339 ac_header_preproc
=yes
27341 echo "$as_me: failed program was:" >&5
27342 sed 's/^/| /' conftest.
$ac_ext >&5
27344 ac_header_preproc
=no
27346 rm -f conftest.err conftest.
$ac_ext
27347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27348 echo "${ECHO_T}$ac_header_preproc" >&6
27350 # So? What about this header?
27351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27353 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27354 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27355 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27356 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27357 ac_header_preproc
=yes
27360 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27361 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27362 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27363 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27364 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27365 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27366 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27367 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27368 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27369 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27370 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27371 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27374 ## ----------------------------------------- ##
27375 ## Report this to wx-dev@lists.wxwidgets.org ##
27376 ## ----------------------------------------- ##
27379 sed "s/^/$as_me: WARNING: /" >&2
27382 echo "$as_me:$LINENO: checking for sql.h" >&5
27383 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27384 if test "${ac_cv_header_sql_h+set}" = set; then
27385 echo $ECHO_N "(cached) $ECHO_C" >&6
27387 ac_cv_header_sql_h
=$ac_header_preproc
27389 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27390 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27393 if test $ac_cv_header_sql_h = yes; then
27398 if test "x$found_sql_h" = "x1" ; then
27399 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27400 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27401 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27402 echo $ECHO_N "(cached) $ECHO_C" >&6
27404 ac_check_lib_save_LIBS
=$LIBS
27405 LIBS
="-liodbc $LIBS"
27406 cat >conftest.
$ac_ext <<_ACEOF
27409 cat confdefs.h
>>conftest.
$ac_ext
27410 cat >>conftest.
$ac_ext <<_ACEOF
27411 /* end confdefs.h. */
27413 /* Override any gcc2 internal prototype to avoid an error. */
27417 /* We use char because int might match the return type of a gcc2
27418 builtin and then its argument prototype would still apply. */
27419 char SQLAllocEnv ();
27428 rm -f conftest.
$ac_objext conftest
$ac_exeext
27429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27430 (eval $ac_link) 2>conftest.er1
27432 grep -v '^ *+' conftest.er1
>conftest.err
27434 cat conftest.err
>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); } &&
27437 { ac_try
='test -z "$ac_c_werror_flag"
27438 || test ! -s conftest.err'
27439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27440 (eval $ac_try) 2>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); }; } &&
27444 { ac_try
='test -s conftest$ac_exeext'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; }; then
27450 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27452 echo "$as_me: failed program was:" >&5
27453 sed 's/^/| /' conftest.
$ac_ext >&5
27455 ac_cv_lib_iodbc_SQLAllocEnv
=no
27457 rm -f conftest.err conftest.
$ac_objext \
27458 conftest
$ac_exeext conftest.
$ac_ext
27459 LIBS
=$ac_check_lib_save_LIBS
27461 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27462 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27463 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27464 ODBC_LINK
=" -liodbc"
27467 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27468 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27469 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 ac_check_lib_save_LIBS
=$LIBS
27473 LIBS
="-lunixodbc $LIBS"
27474 cat >conftest.
$ac_ext <<_ACEOF
27477 cat confdefs.h
>>conftest.
$ac_ext
27478 cat >>conftest.
$ac_ext <<_ACEOF
27479 /* end confdefs.h. */
27481 /* Override any gcc2 internal prototype to avoid an error. */
27485 /* We use char because int might match the return type of a gcc2
27486 builtin and then its argument prototype would still apply. */
27487 char SQLAllocEnv ();
27496 rm -f conftest.
$ac_objext conftest
$ac_exeext
27497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27498 (eval $ac_link) 2>conftest.er1
27500 grep -v '^ *+' conftest.er1
>conftest.err
27502 cat conftest.err
>&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } &&
27505 { ac_try
='test -z "$ac_c_werror_flag"
27506 || test ! -s conftest.err'
27507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508 (eval $ac_try) 2>&5
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); }; } &&
27512 { ac_try
='test -s conftest$ac_exeext'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; }; then
27518 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27520 echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.
$ac_ext >&5
27523 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27525 rm -f conftest.err conftest.
$ac_objext \
27526 conftest
$ac_exeext conftest.
$ac_ext
27527 LIBS
=$ac_check_lib_save_LIBS
27529 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27530 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27531 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27532 ODBC_LINK
=" -lunixodbc"
27535 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27536 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27537 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27540 ac_check_lib_save_LIBS
=$LIBS
27541 LIBS
="-lodbc $LIBS"
27542 cat >conftest.
$ac_ext <<_ACEOF
27545 cat confdefs.h
>>conftest.
$ac_ext
27546 cat >>conftest.
$ac_ext <<_ACEOF
27547 /* end confdefs.h. */
27549 /* Override any gcc2 internal prototype to avoid an error. */
27553 /* We use char because int might match the return type of a gcc2
27554 builtin and then its argument prototype would still apply. */
27555 char SQLAllocEnv ();
27564 rm -f conftest.
$ac_objext conftest
$ac_exeext
27565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27566 (eval $ac_link) 2>conftest.er1
27568 grep -v '^ *+' conftest.er1
>conftest.err
27570 cat conftest.err
>&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); } &&
27573 { ac_try
='test -z "$ac_c_werror_flag"
27574 || test ! -s conftest.err'
27575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27576 (eval $ac_try) 2>&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; } &&
27580 { ac_try
='test -s conftest$ac_exeext'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; }; then
27586 ac_cv_lib_odbc_SQLAllocEnv
=yes
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.
$ac_ext >&5
27591 ac_cv_lib_odbc_SQLAllocEnv
=no
27593 rm -f conftest.err conftest.
$ac_objext \
27594 conftest
$ac_exeext conftest.
$ac_ext
27595 LIBS
=$ac_check_lib_save_LIBS
27597 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27598 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27599 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27600 ODBC_LINK
=" -lodbc"
27610 if test "x$ODBC_LINK" = "x" ; then
27611 if test "$wxUSE_ODBC" = "sys" ; then
27612 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27613 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27614 { (exit 1); exit 1; }; }
27616 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27617 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27624 if test "$wxUSE_ODBC" != "no" ; then
27625 cat >>confdefs.h
<<\_ACEOF
27626 #define wxUSE_ODBC 1
27629 if test "$wxUSE_ODBC" = "builtin" ; then
27630 cat >>confdefs.h
<<\_ACEOF
27631 #define wxUSE_BUILTIN_IODBC 1
27635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27637 WXODBCFLAG
="-D_IODBC_"
27643 if test "$wxUSE_DISPLAY" = "yes"; then
27644 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27645 echo "$as_me:$LINENO: checking for Xinerama" >&5
27646 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27649 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27651 for ac_extension
in a so sl dylib
; do
27652 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27653 ac_find_libraries
=$ac_dir
27659 if test "$ac_find_libraries" != "" ; then
27661 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27663 if test $result = 0; then
27666 ac_path_to_link
=" -L$ac_find_libraries"
27669 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27670 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27672 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27673 echo "$as_me:$LINENO: result: yes" >&5
27674 echo "${ECHO_T}yes" >&6
27676 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27677 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27680 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27682 for ac_extension
in a so sl dylib
; do
27683 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27684 ac_find_libraries
=$ac_dir
27690 if test "$ac_find_libraries" != "" ; then
27691 echo "$as_me:$LINENO: result: yes" >&5
27692 echo "${ECHO_T}yes" >&6
27694 for ac_header
in X
11/extensions
/xf86vmode.h
27696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27697 echo "$as_me:$LINENO: checking for $ac_header" >&5
27698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6
27702 cat >conftest.
$ac_ext <<_ACEOF
27705 cat confdefs.h
>>conftest.
$ac_ext
27706 cat >>conftest.
$ac_ext <<_ACEOF
27707 /* end confdefs.h. */
27709 #if HAVE_X11_XLIB_H
27710 #include <X11/Xlib.h>
27714 #include <$ac_header>
27716 rm -f conftest.
$ac_objext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27718 (eval $ac_compile) 2>conftest.er1
27720 grep -v '^ *+' conftest.er1
>conftest.err
27722 cat conftest.err
>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try
='test -z "$ac_c_werror_flag"
27726 || test ! -s conftest.err'
27727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27728 (eval $ac_try) 2>&5
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); }; } &&
27732 { ac_try
='test -s conftest.$ac_objext'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; }; then
27738 eval "$as_ac_Header=yes"
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.
$ac_ext >&5
27743 eval "$as_ac_Header=no"
27745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27750 cat >>confdefs.h
<<_ACEOF
27751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27754 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27761 echo "$as_me:$LINENO: result: no" >&5
27762 echo "${ECHO_T}no" >&6
27766 echo "$as_me:$LINENO: result: no" >&5
27767 echo "${ECHO_T}no" >&6
27768 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27769 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27772 elif test "$wxUSE_MSW" = 1; then
27775 for ac_header
in multimon.h ddraw.h
27777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27778 echo "$as_me:$LINENO: checking for $ac_header" >&5
27779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27781 echo $ECHO_N "(cached) $ECHO_C" >&6
27783 cat >conftest.
$ac_ext <<_ACEOF
27786 cat confdefs.h
>>conftest.
$ac_ext
27787 cat >>conftest.
$ac_ext <<_ACEOF
27788 /* end confdefs.h. */
27789 #include <windows.h>
27791 #include <$ac_header>
27793 rm -f conftest.
$ac_objext
27794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27795 (eval $ac_compile) 2>conftest.er1
27797 grep -v '^ *+' conftest.er1
>conftest.err
27799 cat conftest.err
>&5
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); } &&
27802 { ac_try
='test -z "$ac_c_werror_flag"
27803 || test ! -s conftest.err'
27804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27805 (eval $ac_try) 2>&5
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); }; } &&
27809 { ac_try
='test -s conftest.$ac_objext'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; }; then
27815 eval "$as_ac_Header=yes"
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.
$ac_ext >&5
27820 eval "$as_ac_Header=no"
27822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27827 cat >>confdefs.h
<<_ACEOF
27828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27834 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27835 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27846 if test "$wxUSE_OPENGL" = "yes"; then
27847 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27848 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27849 elif test "$wxUSE_MSW" = 1; then
27850 OPENGL_LIBS
="-lopengl32 -lglu32"
27855 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27857 if test -f "$ac_dir/GL/gl.h"; then
27858 ac_find_includes
=$ac_dir
27863 if test "$ac_find_includes" != "" ; then
27864 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27865 echo "${ECHO_T}found in $ac_find_includes" >&6
27867 if test "x$ac_find_includes" = "x/usr/include"; then
27868 ac_path_to_include
=""
27870 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27872 if test $result = 0; then
27873 ac_path_to_include
=""
27875 ac_path_to_include
=" -I$ac_find_includes"
27879 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27882 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27883 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27884 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27885 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27886 echo $ECHO_N "(cached) $ECHO_C" >&6
27888 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27889 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27891 # Is the header compilable?
27892 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27893 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27894 cat >conftest.
$ac_ext <<_ACEOF
27897 cat confdefs.h
>>conftest.
$ac_ext
27898 cat >>conftest.
$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27900 $ac_includes_default
27903 rm -f conftest.
$ac_objext
27904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27905 (eval $ac_compile) 2>conftest.er1
27907 grep -v '^ *+' conftest.er1
>conftest.err
27909 cat conftest.err
>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try
='test -z "$ac_c_werror_flag"
27913 || test ! -s conftest.err'
27914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27915 (eval $ac_try) 2>&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); }; } &&
27919 { ac_try
='test -s conftest.$ac_objext'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; }; then
27925 ac_header_compiler
=yes
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.
$ac_ext >&5
27930 ac_header_compiler
=no
27932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27934 echo "${ECHO_T}$ac_header_compiler" >&6
27936 # Is the header present?
27937 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27938 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27939 cat >conftest.
$ac_ext <<_ACEOF
27942 cat confdefs.h
>>conftest.
$ac_ext
27943 cat >>conftest.
$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27950 grep -v '^ *+' conftest.er1
>conftest.err
27952 cat conftest.err
>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } >/dev
/null
; then
27955 if test -s conftest.err
; then
27956 ac_cpp_err
=$ac_c_preproc_warn_flag
27957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27964 if test -z "$ac_cpp_err"; then
27965 ac_header_preproc
=yes
27967 echo "$as_me: failed program was:" >&5
27968 sed 's/^/| /' conftest.
$ac_ext >&5
27970 ac_header_preproc
=no
27972 rm -f conftest.err conftest.
$ac_ext
27973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27974 echo "${ECHO_T}$ac_header_preproc" >&6
27976 # So? What about this header?
27977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27979 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27980 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27981 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27982 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27983 ac_header_preproc
=yes
27986 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27987 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27988 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27989 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27990 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27991 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27992 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27993 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27994 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27995 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27996 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27997 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28000 ## ----------------------------------------- ##
28001 ## Report this to wx-dev@lists.wxwidgets.org ##
28002 ## ----------------------------------------- ##
28005 sed "s/^/$as_me: WARNING: /" >&2
28008 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28009 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28010 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28011 echo $ECHO_N "(cached) $ECHO_C" >&6
28013 ac_cv_header_GL_gl_h
=$ac_header_preproc
28015 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28016 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28019 if test $ac_cv_header_GL_gl_h = yes; then
28023 echo "$as_me:$LINENO: checking for -lGL" >&5
28024 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28027 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28029 for ac_extension
in a so sl dylib
; do
28030 if test -f "$ac_dir/libGL.$ac_extension"; then
28031 ac_find_libraries
=$ac_dir
28037 if test "$ac_find_libraries" != "" ; then
28039 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28041 if test $result = 0; then
28044 ac_path_to_link
=" -L$ac_find_libraries"
28047 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28048 LDFLAGS_GL
="$ac_path_to_link"
28053 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28055 for ac_extension
in a so sl dylib
; do
28056 if test -f "$ac_dir/libGLU.$ac_extension"; then
28057 ac_find_libraries
=$ac_dir
28063 if test "$ac_find_libraries" != "" ; then
28065 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28067 if test $result = 0; then
28070 ac_path_to_link
=" -L$ac_find_libraries"
28073 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28074 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28075 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28079 OPENGL_LIBS
="-lGL -lGLU"
28080 echo "$as_me:$LINENO: result: yes" >&5
28081 echo "${ECHO_T}yes" >&6
28085 if test "$found_gl" != 1; then
28086 echo "$as_me:$LINENO: result: no" >&5
28087 echo "${ECHO_T}no" >&6
28088 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28089 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28092 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28094 for ac_extension
in a so sl dylib
; do
28095 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28096 ac_find_libraries
=$ac_dir
28102 if test "$ac_find_libraries" != "" ; then
28104 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28106 if test $result = 0; then
28109 ac_path_to_link
=" -L$ac_find_libraries"
28112 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28113 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28114 echo "$as_me:$LINENO: result: yes" >&5
28115 echo "${ECHO_T}yes" >&6
28117 echo "$as_me:$LINENO: result: no" >&5
28118 echo "${ECHO_T}no" >&6
28126 if test "x$OPENGL_LIBS" = "x"; then
28127 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28128 echo "$as_me: error: OpenGL libraries not available" >&2;}
28129 { (exit 1); exit 1; }; }
28133 if test "$wxUSE_OPENGL" = "yes"; then
28135 cat >>confdefs.h
<<\_ACEOF
28136 #define wxUSE_OPENGL 1
28139 cat >>confdefs.h
<<\_ACEOF
28140 #define wxUSE_GLCANVAS 1
28143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28148 if test -n "$TOOLKIT" ; then
28149 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28154 if test "$wxUSE_SHARED" = "yes"; then
28158 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28159 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28164 if test "$wxUSE_SHARED" = "yes"; then
28167 found_versioning
=no
28170 if test $found_versioning = no
; then
28171 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28172 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28173 if test "${wx_cv_version_script+set}" = set; then
28174 echo $ECHO_N "(cached) $ECHO_C" >&6
28177 echo "VER_1 { *; };" >conftest.sym
28178 echo "int main() { return 0; }" >conftest.cpp
28181 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28182 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; } ; then
28188 if test -s conftest.stderr
; then
28189 wx_cv_version_script
=no
28191 wx_cv_version_script
=yes
28194 wx_cv_version_script
=no
28196 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28199 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28200 echo "${ECHO_T}$wx_cv_version_script" >&6
28201 if test $wx_cv_version_script = yes ; then
28202 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28208 *-*-linux* | *-*-gnu* )
28209 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28210 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28214 if test "$GCC" = yes ; then
28215 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28217 saveLdflags
="$LDFLAGS"
28218 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28219 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28220 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28221 cat >conftest.
$ac_ext <<_ACEOF
28224 cat confdefs.h
>>conftest.
$ac_ext
28225 cat >>conftest.
$ac_ext <<_ACEOF
28226 /* end confdefs.h. */
28236 rm -f conftest.
$ac_objext conftest
$ac_exeext
28237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28238 (eval $ac_link) 2>conftest.er1
28240 grep -v '^ *+' conftest.er1
>conftest.err
28242 cat conftest.err
>&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); } &&
28245 { ac_try
='test -z "$ac_c_werror_flag"
28246 || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try
='test -s conftest$ac_exeext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28259 echo "$as_me:$LINENO: result: yes" >&5
28260 echo "${ECHO_T}yes" >&6
28261 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28262 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28265 echo "$as_me: failed program was:" >&5
28266 sed 's/^/| /' conftest.
$ac_ext >&5
28269 echo "$as_me:$LINENO: result: no" >&5
28270 echo "${ECHO_T}no" >&6
28271 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28272 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28273 LDFLAGS
="$saveLdflags -Wl,-R,/"
28274 cat >conftest.
$ac_ext <<_ACEOF
28277 cat confdefs.h
>>conftest.
$ac_ext
28278 cat >>conftest.
$ac_ext <<_ACEOF
28279 /* end confdefs.h. */
28289 rm -f conftest.
$ac_objext conftest
$ac_exeext
28290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28291 (eval $ac_link) 2>conftest.er1
28293 grep -v '^ *+' conftest.er1
>conftest.err
28295 cat conftest.err
>&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } &&
28298 { ac_try
='test -z "$ac_c_werror_flag"
28299 || test ! -s conftest.err'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; } &&
28305 { ac_try
='test -s conftest$ac_exeext'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; }; then
28312 echo "$as_me:$LINENO: result: yes" >&5
28313 echo "${ECHO_T}yes" >&6
28314 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28315 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28318 echo "$as_me: failed program was:" >&5
28319 sed 's/^/| /' conftest.
$ac_ext >&5
28322 echo "$as_me:$LINENO: result: no" >&5
28323 echo "${ECHO_T}no" >&6
28326 rm -f conftest.err conftest.
$ac_objext \
28327 conftest
$ac_exeext conftest.
$ac_ext
28330 rm -f conftest.err conftest.
$ac_objext \
28331 conftest
$ac_exeext conftest.
$ac_ext
28332 LDFLAGS
="$saveLdflags"
28334 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28335 WXCONFIG_RPATH
="-R\$libdir"
28339 powerpc
-*-darwin* )
28340 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28341 cat <<EOF >change-install-names
28343 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28344 inst_cmd="install_name_tool "
28345 for i in \${libnames} ; do
28346 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28350 chmod +x change
-install-names
28353 *-*-cygwin* | *-*-mingw32* )
28354 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28358 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
28359 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
28364 if test $wxUSE_RPATH = "no"; then
28365 SAMPLES_RPATH_FLAG
=''
28366 SAMPLES_RPATH_POSTLINK
=''
28374 config_linkage_component
="-static"
28381 lib_unicode_suffix
=
28383 if test "$wxUSE_UNICODE" = "yes"; then
28384 lib_unicode_suffix
=u
28385 WX_CHARTYPE
="unicode"
28390 WX_DEBUGTYPE
="release"
28392 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28394 WX_DEBUGTYPE
="debug"
28398 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28399 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28402 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28406 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28408 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28410 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28412 if test "$cross_compiling" = "yes"; then
28413 HOST_SUFFIX
="-$host_alias"
28414 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28415 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28418 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28419 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28423 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28424 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28425 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28427 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28429 # Extract the first word of "Rez", so it can be a program name with args.
28430 set dummy Rez
; 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_prog_RESCOMP+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 if test -n "$RESCOMP"; then
28437 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28440 for as_dir
in $PATH
28443 test -z "$as_dir" && as_dir
=.
28444 for ac_exec_ext
in '' $ac_executable_extensions; do
28445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28446 ac_cv_prog_RESCOMP
="Rez"
28447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28453 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28456 RESCOMP
=$ac_cv_prog_RESCOMP
28457 if test -n "$RESCOMP"; then
28458 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28459 echo "${ECHO_T}$RESCOMP" >&6
28461 echo "$as_me:$LINENO: result: no" >&5
28462 echo "${ECHO_T}no" >&6
28465 # Extract the first word of "DeRez", so it can be a program name with args.
28466 set dummy DeRez
; ac_word
=$2
28467 echo "$as_me:$LINENO: checking for $ac_word" >&5
28468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28469 if test "${ac_cv_prog_DEREZ+set}" = set; then
28470 echo $ECHO_N "(cached) $ECHO_C" >&6
28472 if test -n "$DEREZ"; then
28473 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28476 for as_dir
in $PATH
28479 test -z "$as_dir" && as_dir
=.
28480 for ac_exec_ext
in '' $ac_executable_extensions; do
28481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28482 ac_cv_prog_DEREZ
="DeRez"
28483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28489 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28492 DEREZ
=$ac_cv_prog_DEREZ
28493 if test -n "$DEREZ"; then
28494 echo "$as_me:$LINENO: result: $DEREZ" >&5
28495 echo "${ECHO_T}$DEREZ" >&6
28497 echo "$as_me:$LINENO: result: no" >&5
28498 echo "${ECHO_T}no" >&6
28501 # Extract the first word of "SetFile", so it can be a program name with args.
28502 set dummy SetFile
; ac_word
=$2
28503 echo "$as_me:$LINENO: checking for $ac_word" >&5
28504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28505 if test "${ac_cv_prog_SETFILE+set}" = set; then
28506 echo $ECHO_N "(cached) $ECHO_C" >&6
28508 if test -n "$SETFILE"; then
28509 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28512 for as_dir
in $PATH
28515 test -z "$as_dir" && as_dir
=.
28516 for ac_exec_ext
in '' $ac_executable_extensions; do
28517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28518 ac_cv_prog_SETFILE
="SetFile"
28519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28525 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28528 SETFILE
=$ac_cv_prog_SETFILE
28529 if test -n "$SETFILE"; then
28530 echo "$as_me:$LINENO: result: $SETFILE" >&5
28531 echo "${ECHO_T}$SETFILE" >&6
28533 echo "$as_me:$LINENO: result: no" >&5
28534 echo "${ECHO_T}no" >&6
28538 MACSETFILE
="\$(SETFILE)"
28540 if test "$wxUSE_MAC" = 1; then
28541 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28543 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28545 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28546 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28550 MACRESWXCONFIG
="@true"
28552 if test "$wxUSE_PM" = 1; then
28553 MACRESCOMP
="emxbind -ep"
28561 echo "$as_me:$LINENO: checking for mode_t" >&5
28562 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28563 if test "${ac_cv_type_mode_t+set}" = set; then
28564 echo $ECHO_N "(cached) $ECHO_C" >&6
28566 cat >conftest.
$ac_ext <<_ACEOF
28569 cat confdefs.h
>>conftest.
$ac_ext
28570 cat >>conftest.
$ac_ext <<_ACEOF
28571 /* end confdefs.h. */
28572 $ac_includes_default
28578 if (sizeof (mode_t))
28584 rm -f conftest.
$ac_objext
28585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28586 (eval $ac_compile) 2>conftest.er1
28588 grep -v '^ *+' conftest.er1
>conftest.err
28590 cat conftest.err
>&5
28591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 (exit $ac_status); } &&
28593 { ac_try
='test -z "$ac_c_werror_flag"
28594 || test ! -s conftest.err'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; } &&
28600 { ac_try
='test -s conftest.$ac_objext'
28601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 (eval $ac_try) 2>&5
28604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 (exit $ac_status); }; }; then
28606 ac_cv_type_mode_t
=yes
28608 echo "$as_me: failed program was:" >&5
28609 sed 's/^/| /' conftest.
$ac_ext >&5
28611 ac_cv_type_mode_t
=no
28613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28615 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28616 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28617 if test $ac_cv_type_mode_t = yes; then
28621 cat >>confdefs.h
<<_ACEOF
28627 echo "$as_me:$LINENO: checking for off_t" >&5
28628 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28629 if test "${ac_cv_type_off_t+set}" = set; then
28630 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 cat >conftest.
$ac_ext <<_ACEOF
28635 cat confdefs.h
>>conftest.
$ac_ext
28636 cat >>conftest.
$ac_ext <<_ACEOF
28637 /* end confdefs.h. */
28638 $ac_includes_default
28644 if (sizeof (off_t))
28650 rm -f conftest.
$ac_objext
28651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28652 (eval $ac_compile) 2>conftest.er1
28654 grep -v '^ *+' conftest.er1
>conftest.err
28656 cat conftest.err
>&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } &&
28659 { ac_try
='test -z "$ac_c_werror_flag"
28660 || test ! -s conftest.err'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; } &&
28666 { ac_try
='test -s conftest.$ac_objext'
28667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28668 (eval $ac_try) 2>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); }; }; then
28672 ac_cv_type_off_t
=yes
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.
$ac_ext >&5
28677 ac_cv_type_off_t
=no
28679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28681 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28682 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28683 if test $ac_cv_type_off_t = yes; then
28687 cat >>confdefs.h
<<_ACEOF
28693 echo "$as_me:$LINENO: checking for pid_t" >&5
28694 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28695 if test "${ac_cv_type_pid_t+set}" = set; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28698 cat >conftest.
$ac_ext <<_ACEOF
28701 cat confdefs.h
>>conftest.
$ac_ext
28702 cat >>conftest.
$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28704 $ac_includes_default
28710 if (sizeof (pid_t))
28716 rm -f conftest.
$ac_objext
28717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28718 (eval $ac_compile) 2>conftest.er1
28720 grep -v '^ *+' conftest.er1
>conftest.err
28722 cat conftest.err
>&5
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); } &&
28725 { ac_try
='test -z "$ac_c_werror_flag"
28726 || test ! -s conftest.err'
28727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28728 (eval $ac_try) 2>&5
28730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28731 (exit $ac_status); }; } &&
28732 { ac_try
='test -s conftest.$ac_objext'
28733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28734 (eval $ac_try) 2>&5
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); }; }; then
28738 ac_cv_type_pid_t
=yes
28740 echo "$as_me: failed program was:" >&5
28741 sed 's/^/| /' conftest.
$ac_ext >&5
28743 ac_cv_type_pid_t
=no
28745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28747 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28748 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28749 if test $ac_cv_type_pid_t = yes; then
28753 cat >>confdefs.h
<<_ACEOF
28759 echo "$as_me:$LINENO: checking for size_t" >&5
28760 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28761 if test "${ac_cv_type_size_t+set}" = set; then
28762 echo $ECHO_N "(cached) $ECHO_C" >&6
28764 cat >conftest.
$ac_ext <<_ACEOF
28767 cat confdefs.h
>>conftest.
$ac_ext
28768 cat >>conftest.
$ac_ext <<_ACEOF
28769 /* end confdefs.h. */
28770 $ac_includes_default
28776 if (sizeof (size_t))
28782 rm -f conftest.
$ac_objext
28783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28784 (eval $ac_compile) 2>conftest.er1
28786 grep -v '^ *+' conftest.er1
>conftest.err
28788 cat conftest.err
>&5
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); } &&
28791 { ac_try
='test -z "$ac_c_werror_flag"
28792 || test ! -s conftest.err'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try
='test -s conftest.$ac_objext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 ac_cv_type_size_t
=yes
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.
$ac_ext >&5
28809 ac_cv_type_size_t
=no
28811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28813 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28814 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28815 if test $ac_cv_type_size_t = yes; then
28819 cat >>confdefs.h
<<_ACEOF
28820 #define size_t unsigned
28825 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28826 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28827 if test "${ac_cv_type_uid_t+set}" = set; then
28828 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 cat >conftest.
$ac_ext <<_ACEOF
28833 cat confdefs.h
>>conftest.
$ac_ext
28834 cat >>conftest.
$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28836 #include <sys/types.h>
28839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28840 $EGREP "uid_t" >/dev
/null
2>&1; then
28841 ac_cv_type_uid_t
=yes
28843 ac_cv_type_uid_t
=no
28848 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28849 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28850 if test $ac_cv_type_uid_t = no
; then
28852 cat >>confdefs.h
<<\_ACEOF
28857 cat >>confdefs.h
<<\_ACEOF
28864 echo "$as_me:$LINENO: checking for ssize_t" >&5
28865 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28866 if test "${ac_cv_type_ssize_t+set}" = set; then
28867 echo $ECHO_N "(cached) $ECHO_C" >&6
28869 cat >conftest.
$ac_ext <<_ACEOF
28872 cat confdefs.h
>>conftest.
$ac_ext
28873 cat >>conftest.
$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875 $ac_includes_default
28881 if (sizeof (ssize_t))
28887 rm -f conftest.
$ac_objext
28888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28889 (eval $ac_compile) 2>conftest.er1
28891 grep -v '^ *+' conftest.er1
>conftest.err
28893 cat conftest.err
>&5
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); } &&
28896 { ac_try
='test -z "$ac_c_werror_flag"
28897 || test ! -s conftest.err'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; } &&
28903 { ac_try
='test -s conftest.$ac_objext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 ac_cv_type_ssize_t
=yes
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.
$ac_ext >&5
28914 ac_cv_type_ssize_t
=no
28916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28918 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28919 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28920 if test $ac_cv_type_ssize_t = yes; then
28922 cat >>confdefs.h
<<_ACEOF
28923 #define HAVE_SSIZE_T 1
28933 ac_cpp
='$CXXCPP $CPPFLAGS'
28934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28938 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28939 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28940 if test "${wx_cv_size_t_is_uint+set}" = set; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28944 cat >conftest.
$ac_ext <<_ACEOF
28947 cat confdefs.h
>>conftest.
$ac_ext
28948 cat >>conftest.
$ac_ext <<_ACEOF
28949 /* end confdefs.h. */
28950 #include <stddef.h>
28957 struct Foo { void foo(size_t); void foo(unsigned int); };
28965 rm -f conftest.
$ac_objext
28966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28967 (eval $ac_compile) 2>conftest.er1
28969 grep -v '^ *+' conftest.er1
>conftest.err
28971 cat conftest.err
>&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try
='test -z "$ac_cxx_werror_flag"
28975 || test ! -s conftest.err'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; } &&
28981 { ac_try
='test -s conftest.$ac_objext'
28982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 (eval $ac_try) 2>&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); }; }; then
28987 wx_cv_size_t_is_uint
=no
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.
$ac_ext >&5
28992 wx_cv_size_t_is_uint
=yes
28995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28999 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29000 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29002 if test "$wx_cv_size_t_is_uint" = "yes"; then
29003 cat >>confdefs.h
<<\_ACEOF
29004 #define wxSIZE_T_IS_UINT 1
29008 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29009 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29010 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29011 echo $ECHO_N "(cached) $ECHO_C" >&6
29013 cat >conftest.
$ac_ext <<_ACEOF
29016 cat confdefs.h
>>conftest.
$ac_ext
29017 cat >>conftest.
$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29019 #include <stddef.h>
29026 struct Foo { void foo(size_t); void foo(unsigned long); };
29034 rm -f conftest.
$ac_objext
29035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29036 (eval $ac_compile) 2>conftest.er1
29038 grep -v '^ *+' conftest.er1
>conftest.err
29040 cat conftest.err
>&5
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); } &&
29043 { ac_try
='test -z "$ac_cxx_werror_flag"
29044 || test ! -s conftest.err'
29045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046 (eval $ac_try) 2>&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); }; } &&
29050 { ac_try
='test -s conftest.$ac_objext'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; }; then
29056 wx_cv_size_t_is_ulong
=no
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.
$ac_ext >&5
29061 wx_cv_size_t_is_ulong
=yes
29064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29067 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29068 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29070 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29071 cat >>confdefs.h
<<\_ACEOF
29072 #define wxSIZE_T_IS_ULONG 1
29079 ac_cpp
='$CPP $CPPFLAGS'
29080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29086 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29087 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29088 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 cat >conftest.
$ac_ext <<_ACEOF
29095 cat confdefs.h
>>conftest.
$ac_ext
29096 cat >>conftest.
$ac_ext <<_ACEOF
29097 /* end confdefs.h. */
29111 rm -f conftest.
$ac_objext
29112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29113 (eval $ac_compile) 2>conftest.er1
29115 grep -v '^ *+' conftest.er1
>conftest.err
29117 cat conftest.err
>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); } &&
29120 { ac_try
='test -z "$ac_c_werror_flag"
29121 || test ! -s conftest.err'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; } &&
29127 { ac_try
='test -s conftest.$ac_objext'
29128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29129 (eval $ac_try) 2>&5
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); }; }; then
29134 wx_cv_struct_pw_gecos
=yes
29137 echo "$as_me: failed program was:" >&5
29138 sed 's/^/| /' conftest.
$ac_ext >&5
29141 wx_cv_struct_pw_gecos
=no
29145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29149 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29150 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29152 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29153 cat >>confdefs.h
<<\_ACEOF
29154 #define HAVE_PW_GECOS 1
29160 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29161 cat >>confdefs.h
<<\_ACEOF
29162 #define wxUSE_WCHAR_T 1
29169 for ac_func
in wcslen
29171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29172 echo "$as_me:$LINENO: checking for $ac_func" >&5
29173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29174 if eval "test \"\${$as_ac_var+set}\" = set"; then
29175 echo $ECHO_N "(cached) $ECHO_C" >&6
29177 cat >conftest.
$ac_ext <<_ACEOF
29180 cat confdefs.h
>>conftest.
$ac_ext
29181 cat >>conftest.
$ac_ext <<_ACEOF
29182 /* end confdefs.h. */
29183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29185 #define $ac_func innocuous_$ac_func
29187 /* System header to define __stub macros and hopefully few prototypes,
29188 which can conflict with char $ac_func (); below.
29189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29190 <limits.h> exists even on freestanding compilers. */
29193 # include <limits.h>
29195 # include <assert.h>
29200 /* Override any gcc2 internal prototype to avoid an error. */
29205 /* We use char because int might match the return type of a gcc2
29206 builtin and then its argument prototype would still apply. */
29208 /* The GNU C library defines this for functions which it implements
29209 to always fail with ENOSYS. Some functions are actually named
29210 something starting with __ and the normal name is an alias. */
29211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29214 char (*f) () = $ac_func;
29223 return f != $ac_func;
29228 rm -f conftest.
$ac_objext conftest
$ac_exeext
29229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29230 (eval $ac_link) 2>conftest.er1
29232 grep -v '^ *+' conftest.er1
>conftest.err
29234 cat conftest.err
>&5
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); } &&
29237 { ac_try
='test -z "$ac_c_werror_flag"
29238 || test ! -s conftest.err'
29239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29240 (eval $ac_try) 2>&5
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); }; } &&
29244 { ac_try
='test -s conftest$ac_exeext'
29245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246 (eval $ac_try) 2>&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; }; then
29250 eval "$as_ac_var=yes"
29252 echo "$as_me: failed program was:" >&5
29253 sed 's/^/| /' conftest.
$ac_ext >&5
29255 eval "$as_ac_var=no"
29257 rm -f conftest.err conftest.
$ac_objext \
29258 conftest
$ac_exeext conftest.
$ac_ext
29260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29262 if test `eval echo '${'$as_ac_var'}'` = yes; then
29263 cat >>confdefs.h
<<_ACEOF
29264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29271 if test "$WCSLEN_FOUND" = 0; then
29272 if test "$TOOLKIT" = "MSW"; then
29273 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29274 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29275 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 ac_check_lib_save_LIBS
=$LIBS
29279 LIBS
="-lmsvcrt $LIBS"
29280 cat >conftest.
$ac_ext <<_ACEOF
29283 cat confdefs.h
>>conftest.
$ac_ext
29284 cat >>conftest.
$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29287 /* Override any gcc2 internal prototype to avoid an error. */
29291 /* We use char because int might match the return type of a gcc2
29292 builtin and then its argument prototype would still apply. */
29302 rm -f conftest.
$ac_objext conftest
$ac_exeext
29303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29304 (eval $ac_link) 2>conftest.er1
29306 grep -v '^ *+' conftest.er1
>conftest.err
29308 cat conftest.err
>&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } &&
29311 { ac_try
='test -z "$ac_c_werror_flag"
29312 || test ! -s conftest.err'
29313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29314 (eval $ac_try) 2>&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); }; } &&
29318 { ac_try
='test -s conftest$ac_exeext'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; }; then
29324 ac_cv_lib_msvcrt_wcslen
=yes
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.
$ac_ext >&5
29329 ac_cv_lib_msvcrt_wcslen
=no
29331 rm -f conftest.err conftest.
$ac_objext \
29332 conftest
$ac_exeext conftest.
$ac_ext
29333 LIBS
=$ac_check_lib_save_LIBS
29335 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29336 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29337 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29342 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29343 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29344 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29345 echo $ECHO_N "(cached) $ECHO_C" >&6
29347 ac_check_lib_save_LIBS
=$LIBS
29349 cat >conftest.
$ac_ext <<_ACEOF
29352 cat confdefs.h
>>conftest.
$ac_ext
29353 cat >>conftest.
$ac_ext <<_ACEOF
29354 /* end confdefs.h. */
29356 /* Override any gcc2 internal prototype to avoid an error. */
29360 /* We use char because int might match the return type of a gcc2
29361 builtin and then its argument prototype would still apply. */
29371 rm -f conftest.
$ac_objext conftest
$ac_exeext
29372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29373 (eval $ac_link) 2>conftest.er1
29375 grep -v '^ *+' conftest.er1
>conftest.err
29377 cat conftest.err
>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } &&
29380 { ac_try
='test -z "$ac_c_werror_flag"
29381 || test ! -s conftest.err'
29382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29383 (eval $ac_try) 2>&5
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); }; } &&
29387 { ac_try
='test -s conftest$ac_exeext'
29388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29389 (eval $ac_try) 2>&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); }; }; then
29393 ac_cv_lib_w_wcslen
=yes
29395 echo "$as_me: failed program was:" >&5
29396 sed 's/^/| /' conftest.
$ac_ext >&5
29398 ac_cv_lib_w_wcslen
=no
29400 rm -f conftest.err conftest.
$ac_objext \
29401 conftest
$ac_exeext conftest.
$ac_ext
29402 LIBS
=$ac_check_lib_save_LIBS
29404 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29405 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29406 if test $ac_cv_lib_w_wcslen = yes; then
29416 if test "$WCSLEN_FOUND" = 1; then
29417 cat >>confdefs.h
<<\_ACEOF
29418 #define HAVE_WCSLEN 1
29423 if test "$USE_HPUX" = 1; then
29424 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29428 for ac_func
in wcsrtombs
29430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29431 echo "$as_me:$LINENO: checking for $ac_func" >&5
29432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29433 if eval "test \"\${$as_ac_var+set}\" = set"; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29436 cat >conftest.
$ac_ext <<_ACEOF
29439 cat confdefs.h
>>conftest.
$ac_ext
29440 cat >>conftest.
$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29444 #define $ac_func innocuous_$ac_func
29446 /* System header to define __stub macros and hopefully few prototypes,
29447 which can conflict with char $ac_func (); below.
29448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29449 <limits.h> exists even on freestanding compilers. */
29452 # include <limits.h>
29454 # include <assert.h>
29459 /* Override any gcc2 internal prototype to avoid an error. */
29464 /* We use char because int might match the return type of a gcc2
29465 builtin and then its argument prototype would still apply. */
29467 /* The GNU C library defines this for functions which it implements
29468 to always fail with ENOSYS. Some functions are actually named
29469 something starting with __ and the normal name is an alias. */
29470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29473 char (*f) () = $ac_func;
29482 return f != $ac_func;
29487 rm -f conftest.
$ac_objext conftest
$ac_exeext
29488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29489 (eval $ac_link) 2>conftest.er1
29491 grep -v '^ *+' conftest.er1
>conftest.err
29493 cat conftest.err
>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); } &&
29496 { ac_try
='test -z "$ac_c_werror_flag"
29497 || test ! -s conftest.err'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; } &&
29503 { ac_try
='test -s conftest$ac_exeext'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; }; then
29509 eval "$as_ac_var=yes"
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.
$ac_ext >&5
29514 eval "$as_ac_var=no"
29516 rm -f conftest.err conftest.
$ac_objext \
29517 conftest
$ac_exeext conftest.
$ac_ext
29519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29521 if test `eval echo '${'$as_ac_var'}'` = yes; then
29522 cat >>confdefs.h
<<_ACEOF
29523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29530 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29531 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29537 ac_cpp
='$CXXCPP $CPPFLAGS'
29538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29544 for ac_func
in vsnprintf
29546 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29547 echo "$as_me:$LINENO: checking for $ac_func" >&5
29548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29549 if eval "test \"\${$as_ac_var+set}\" = set"; then
29550 echo $ECHO_N "(cached) $ECHO_C" >&6
29552 cat >conftest.
$ac_ext <<_ACEOF
29555 cat confdefs.h
>>conftest.
$ac_ext
29556 cat >>conftest.
$ac_ext <<_ACEOF
29557 /* end confdefs.h. */
29558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29560 #define $ac_func innocuous_$ac_func
29562 /* System header to define __stub macros and hopefully few prototypes,
29563 which can conflict with char $ac_func (); below.
29564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29565 <limits.h> exists even on freestanding compilers. */
29568 # include <limits.h>
29570 # include <assert.h>
29575 /* Override any gcc2 internal prototype to avoid an error. */
29580 /* We use char because int might match the return type of a gcc2
29581 builtin and then its argument prototype would still apply. */
29583 /* The GNU C library defines this for functions which it implements
29584 to always fail with ENOSYS. Some functions are actually named
29585 something starting with __ and the normal name is an alias. */
29586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29589 char (*f) () = $ac_func;
29598 return f != $ac_func;
29603 rm -f conftest.
$ac_objext conftest
$ac_exeext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29605 (eval $ac_link) 2>conftest.er1
29607 grep -v '^ *+' conftest.er1
>conftest.err
29609 cat conftest.err
>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try
='test -z "$ac_cxx_werror_flag"
29613 || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try
='test -s conftest$ac_exeext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625 eval "$as_ac_var=yes"
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.
$ac_ext >&5
29630 eval "$as_ac_var=no"
29632 rm -f conftest.err conftest.
$ac_objext \
29633 conftest
$ac_exeext conftest.
$ac_ext
29635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29637 if test `eval echo '${'$as_ac_var'}'` = yes; then
29638 cat >>confdefs.h
<<_ACEOF
29639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29646 if test "$ac_cv_func_vsnprintf" = "yes"; then
29647 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29648 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29649 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29650 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. */
29661 #include <stdarg.h>
29669 vsnprintf(buf, 10u, "%s", ap);
29675 rm -f conftest.
$ac_objext
29676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29677 (eval $ac_compile) 2>conftest.er1
29679 grep -v '^ *+' conftest.er1
>conftest.err
29681 cat conftest.err
>&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); } &&
29684 { ac_try
='test -z "$ac_cxx_werror_flag"
29685 || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try
='test -s conftest.$ac_objext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697 wx_cv_func_vsnprintf_decl
=yes
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.
$ac_ext >&5
29703 cat >conftest.
$ac_ext <<_ACEOF
29706 cat confdefs.h
>>conftest.
$ac_ext
29707 cat >>conftest.
$ac_ext <<_ACEOF
29708 /* end confdefs.h. */
29711 #include <stdarg.h>
29712 using namespace std;
29720 vsnprintf(buf, 10u, "%s", ap);
29726 rm -f conftest.
$ac_objext
29727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29728 (eval $ac_compile) 2>conftest.er1
29730 grep -v '^ *+' conftest.er1
>conftest.err
29732 cat conftest.err
>&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); } &&
29735 { ac_try
='test -z "$ac_cxx_werror_flag"
29736 || test ! -s conftest.err'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; } &&
29742 { ac_try
='test -s conftest.$ac_objext'
29743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29744 (eval $ac_try) 2>&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); }; }; then
29748 wx_cv_func_vsnprintf_decl
=yes
29750 echo "$as_me: failed program was:" >&5
29751 sed 's/^/| /' conftest.
$ac_ext >&5
29753 wx_cv_func_vsnprintf_decl
=no
29756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29764 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29765 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29767 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29768 cat >>confdefs.h
<<\_ACEOF
29769 #define HAVE_VSNPRINTF_DECL 1
29775 if test "$wxUSE_UNICODE" = yes; then
29782 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29784 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29785 echo "$as_me:$LINENO: checking for $ac_func" >&5
29786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29787 if eval "test \"\${$as_ac_var+set}\" = set"; then
29788 echo $ECHO_N "(cached) $ECHO_C" >&6
29790 cat >conftest.
$ac_ext <<_ACEOF
29793 cat confdefs.h
>>conftest.
$ac_ext
29794 cat >>conftest.
$ac_ext <<_ACEOF
29795 /* end confdefs.h. */
29796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29798 #define $ac_func innocuous_$ac_func
29800 /* System header to define __stub macros and hopefully few prototypes,
29801 which can conflict with char $ac_func (); below.
29802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29803 <limits.h> exists even on freestanding compilers. */
29806 # include <limits.h>
29808 # include <assert.h>
29813 /* Override any gcc2 internal prototype to avoid an error. */
29818 /* We use char because int might match the return type of a gcc2
29819 builtin and then its argument prototype would still apply. */
29821 /* The GNU C library defines this for functions which it implements
29822 to always fail with ENOSYS. Some functions are actually named
29823 something starting with __ and the normal name is an alias. */
29824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29827 char (*f) () = $ac_func;
29836 return f != $ac_func;
29841 rm -f conftest.
$ac_objext conftest
$ac_exeext
29842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29843 (eval $ac_link) 2>conftest.er1
29845 grep -v '^ *+' conftest.er1
>conftest.err
29847 cat conftest.err
>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } &&
29850 { ac_try
='test -z "$ac_cxx_werror_flag"
29851 || test ! -s conftest.err'
29852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29853 (eval $ac_try) 2>&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); }; } &&
29857 { ac_try
='test -s conftest$ac_exeext'
29858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29859 (eval $ac_try) 2>&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); }; }; then
29863 eval "$as_ac_var=yes"
29865 echo "$as_me: failed program was:" >&5
29866 sed 's/^/| /' conftest.
$ac_ext >&5
29868 eval "$as_ac_var=no"
29870 rm -f conftest.err conftest.
$ac_objext \
29871 conftest
$ac_exeext conftest.
$ac_ext
29873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29875 if test `eval echo '${'$as_ac_var'}'` = yes; then
29876 cat >>confdefs.h
<<_ACEOF
29877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29884 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29885 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29886 cat >conftest.
$ac_ext <<_ACEOF
29889 cat confdefs.h
>>conftest.
$ac_ext
29890 cat >>conftest.
$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29901 rm -f conftest.
$ac_objext
29902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29903 (eval $ac_compile) 2>conftest.er1
29905 grep -v '^ *+' conftest.er1
>conftest.err
29907 cat conftest.err
>&5
29908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909 (exit $ac_status); } &&
29910 { ac_try
='test -z "$ac_cxx_werror_flag"
29911 || test ! -s conftest.err'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; } &&
29917 { ac_try
='test -s conftest.$ac_objext'
29918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29919 (eval $ac_try) 2>&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); }; }; then
29923 echo "$as_me:$LINENO: result: yes" >&5
29924 echo "${ECHO_T}yes" >&6
29925 cat >>confdefs.h
<<\_ACEOF
29926 #define HAVE__VSNWPRINTF 1
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.
$ac_ext >&5
29933 echo "$as_me:$LINENO: result: no" >&5
29934 echo "${ECHO_T}no" >&6
29936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29940 ac_cpp
='$CPP $CPPFLAGS'
29941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29948 if test "$TOOLKIT" != "MSW"; then
29954 ac_cpp
='$CXXCPP $CPPFLAGS'
29955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29962 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29963 if test "${with_libiconv_prefix+set}" = set; then
29964 withval
="$with_libiconv_prefix"
29966 for dir
in `echo "$withval" | tr : ' '`; do
29967 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29968 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29973 echo "$as_me:$LINENO: checking for iconv" >&5
29974 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29975 if test "${am_cv_func_iconv+set}" = set; then
29976 echo $ECHO_N "(cached) $ECHO_C" >&6
29979 am_cv_func_iconv
="no, consider installing GNU libiconv"
29981 cat >conftest.
$ac_ext <<_ACEOF
29984 cat confdefs.h
>>conftest.
$ac_ext
29985 cat >>conftest.
$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987 #include <stdlib.h>
29992 iconv_t cd = iconv_open("","");
29993 iconv(cd,NULL,NULL,NULL,NULL);
29999 rm -f conftest.
$ac_objext conftest
$ac_exeext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001 (eval $ac_link) 2>conftest.er1
30003 grep -v '^ *+' conftest.er1
>conftest.err
30005 cat conftest.err
>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); } &&
30008 { ac_try
='test -z "$ac_cxx_werror_flag"
30009 || test ! -s conftest.err'
30010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011 (eval $ac_try) 2>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; } &&
30015 { ac_try
='test -s conftest$ac_exeext'
30016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30017 (eval $ac_try) 2>&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); }; }; then
30021 am_cv_func_iconv
=yes
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.
$ac_ext >&5
30027 rm -f conftest.err conftest.
$ac_objext \
30028 conftest
$ac_exeext conftest.
$ac_ext
30029 if test "$am_cv_func_iconv" != yes; then
30030 am_save_LIBS
="$LIBS"
30031 LIBS
="$LIBS -liconv"
30032 cat >conftest.
$ac_ext <<_ACEOF
30035 cat confdefs.h
>>conftest.
$ac_ext
30036 cat >>conftest.
$ac_ext <<_ACEOF
30037 /* end confdefs.h. */
30038 #include <stdlib.h>
30043 iconv_t cd = iconv_open("","");
30044 iconv(cd,NULL,NULL,NULL,NULL);
30050 rm -f conftest.
$ac_objext conftest
$ac_exeext
30051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30052 (eval $ac_link) 2>conftest.er1
30054 grep -v '^ *+' conftest.er1
>conftest.err
30056 cat conftest.err
>&5
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); } &&
30059 { ac_try
='test -z "$ac_cxx_werror_flag"
30060 || test ! -s conftest.err'
30061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30062 (eval $ac_try) 2>&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); }; } &&
30066 { ac_try
='test -s conftest$ac_exeext'
30067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30068 (eval $ac_try) 2>&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); }; }; then
30072 am_cv_lib_iconv
=yes
30073 am_cv_func_iconv
=yes
30075 echo "$as_me: failed program was:" >&5
30076 sed 's/^/| /' conftest.
$ac_ext >&5
30079 rm -f conftest.err conftest.
$ac_objext \
30080 conftest
$ac_exeext conftest.
$ac_ext
30081 LIBS
="$am_save_LIBS"
30085 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30086 echo "${ECHO_T}$am_cv_func_iconv" >&6
30087 if test "$am_cv_func_iconv" = yes; then
30089 cat >>confdefs.h
<<\_ACEOF
30090 #define HAVE_ICONV 1
30093 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30094 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30095 if test "${wx_cv_func_iconv_const+set}" = set; then
30096 echo $ECHO_N "(cached) $ECHO_C" >&6
30098 cat >conftest.
$ac_ext <<_ACEOF
30101 cat confdefs.h
>>conftest.
$ac_ext
30102 cat >>conftest.
$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30105 #include <stdlib.h>
30111 #if defined(__STDC__) || defined(__cplusplus)
30112 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30125 rm -f conftest.
$ac_objext
30126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30127 (eval $ac_compile) 2>conftest.er1
30129 grep -v '^ *+' conftest.er1
>conftest.err
30131 cat conftest.err
>&5
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); } &&
30134 { ac_try
='test -z "$ac_cxx_werror_flag"
30135 || test ! -s conftest.err'
30136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137 (eval $ac_try) 2>&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; } &&
30141 { ac_try
='test -s conftest.$ac_objext'
30142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143 (eval $ac_try) 2>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); }; }; then
30147 wx_cv_func_iconv_const
="no"
30149 echo "$as_me: failed program was:" >&5
30150 sed 's/^/| /' conftest.
$ac_ext >&5
30152 wx_cv_func_iconv_const
="yes"
30155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30158 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30159 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30162 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30163 iconv_const
="const"
30167 cat >>confdefs.h
<<_ACEOF
30168 #define ICONV_CONST $iconv_const
30173 if test "$am_cv_lib_iconv" = yes; then
30178 LIBS
="$LIBICONV $LIBS"
30180 ac_cpp
='$CPP $CPPFLAGS'
30181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30186 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30188 for ac_func
in sigaction
30190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30191 echo "$as_me:$LINENO: checking for $ac_func" >&5
30192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30193 if eval "test \"\${$as_ac_var+set}\" = set"; then
30194 echo $ECHO_N "(cached) $ECHO_C" >&6
30196 cat >conftest.
$ac_ext <<_ACEOF
30199 cat confdefs.h
>>conftest.
$ac_ext
30200 cat >>conftest.
$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30204 #define $ac_func innocuous_$ac_func
30206 /* System header to define __stub macros and hopefully few prototypes,
30207 which can conflict with char $ac_func (); below.
30208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30209 <limits.h> exists even on freestanding compilers. */
30212 # include <limits.h>
30214 # include <assert.h>
30219 /* Override any gcc2 internal prototype to avoid an error. */
30224 /* We use char because int might match the return type of a gcc2
30225 builtin and then its argument prototype would still apply. */
30227 /* The GNU C library defines this for functions which it implements
30228 to always fail with ENOSYS. Some functions are actually named
30229 something starting with __ and the normal name is an alias. */
30230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30233 char (*f) () = $ac_func;
30242 return f != $ac_func;
30247 rm -f conftest.
$ac_objext conftest
$ac_exeext
30248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30249 (eval $ac_link) 2>conftest.er1
30251 grep -v '^ *+' conftest.er1
>conftest.err
30253 cat conftest.err
>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } &&
30256 { ac_try
='test -z "$ac_c_werror_flag"
30257 || test ! -s conftest.err'
30258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259 (eval $ac_try) 2>&5
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); }; } &&
30263 { ac_try
='test -s conftest$ac_exeext'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; }; then
30269 eval "$as_ac_var=yes"
30271 echo "$as_me: failed program was:" >&5
30272 sed 's/^/| /' conftest.
$ac_ext >&5
30274 eval "$as_ac_var=no"
30276 rm -f conftest.err conftest.
$ac_objext \
30277 conftest
$ac_exeext conftest.
$ac_ext
30279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30281 if test `eval echo '${'$as_ac_var'}'` = yes; then
30282 cat >>confdefs.h
<<_ACEOF
30283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30290 if test "$ac_cv_func_sigaction" = "no"; then
30291 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30292 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30293 wxUSE_ON_FATAL_EXCEPTION
=no
30296 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30300 ac_cpp
='$CXXCPP $CPPFLAGS'
30301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30306 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30307 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30308 if test "${wx_cv_type_sa_handler+set}" = set; then
30309 echo $ECHO_N "(cached) $ECHO_C" >&6
30312 cat >conftest.
$ac_ext <<_ACEOF
30315 cat confdefs.h
>>conftest.
$ac_ext
30316 cat >>conftest.
$ac_ext <<_ACEOF
30317 /* end confdefs.h. */
30318 #include <signal.h>
30323 extern void testSigHandler(int);
30325 struct sigaction sa;
30326 sa.sa_handler = testSigHandler;
30332 rm -f conftest.
$ac_objext
30333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30334 (eval $ac_compile) 2>conftest.er1
30336 grep -v '^ *+' conftest.er1
>conftest.err
30338 cat conftest.err
>&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } &&
30341 { ac_try
='test -z "$ac_cxx_werror_flag"
30342 || test ! -s conftest.err'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; } &&
30348 { ac_try
='test -s conftest.$ac_objext'
30349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30350 (eval $ac_try) 2>&5
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; }; then
30355 wx_cv_type_sa_handler
=int
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.
$ac_ext >&5
30362 wx_cv_type_sa_handler
=void
30365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30368 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30369 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30372 ac_cpp
='$CPP $CPPFLAGS'
30373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30378 cat >>confdefs.h
<<_ACEOF
30379 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30385 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30389 ac_cpp
='$CXXCPP $CPPFLAGS'
30390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30395 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30396 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30397 if test "${wx_cv_func_backtrace+set}" = set; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30401 cat >conftest.
$ac_ext <<_ACEOF
30404 cat confdefs.h
>>conftest.
$ac_ext
30405 cat >>conftest.
$ac_ext <<_ACEOF
30406 /* end confdefs.h. */
30407 #include <execinfo.h>
30415 backtrace(trace, 1);
30416 messages = backtrace_symbols(trace, 1);
30422 rm -f conftest.
$ac_objext
30423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30424 (eval $ac_compile) 2>conftest.er1
30426 grep -v '^ *+' conftest.er1
>conftest.err
30428 cat conftest.err
>&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); } &&
30431 { ac_try
='test -z "$ac_cxx_werror_flag"
30432 || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try
='test -s conftest.$ac_objext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 wx_cv_func_backtrace
=yes
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.
$ac_ext >&5
30449 wx_cv_func_backtrace
=no
30452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30456 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30457 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30460 if test "$wx_cv_func_backtrace" = "no"; then
30461 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30462 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30463 wxUSE_STACKWALKER
=no
30465 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30466 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30467 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30468 echo $ECHO_N "(cached) $ECHO_C" >&6
30471 cat >conftest.
$ac_ext <<_ACEOF
30474 cat confdefs.h
>>conftest.
$ac_ext
30475 cat >>conftest.
$ac_ext <<_ACEOF
30476 /* end confdefs.h. */
30477 #include <cxxabi.h>
30483 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30489 rm -f conftest.
$ac_objext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30491 (eval $ac_compile) 2>conftest.er1
30493 grep -v '^ *+' conftest.er1
>conftest.err
30495 cat conftest.err
>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try
='test -z "$ac_cxx_werror_flag"
30499 || test ! -s conftest.err'
30500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501 (eval $ac_try) 2>&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; } &&
30505 { ac_try
='test -s conftest.$ac_objext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 wx_cv_func_cxa_demangle
=yes
30513 echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.
$ac_ext >&5
30516 wx_cv_func_cxa_demangle
=no
30519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30523 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30524 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30526 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30527 cat >>confdefs.h
<<\_ACEOF
30528 #define HAVE_CXA_DEMANGLE 1
30535 ac_cpp
='$CPP $CPPFLAGS'
30536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30544 for ac_func
in mkstemp mktemp
30546 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30547 echo "$as_me:$LINENO: checking for $ac_func" >&5
30548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30549 if eval "test \"\${$as_ac_var+set}\" = set"; then
30550 echo $ECHO_N "(cached) $ECHO_C" >&6
30552 cat >conftest.
$ac_ext <<_ACEOF
30555 cat confdefs.h
>>conftest.
$ac_ext
30556 cat >>conftest.
$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30560 #define $ac_func innocuous_$ac_func
30562 /* System header to define __stub macros and hopefully few prototypes,
30563 which can conflict with char $ac_func (); below.
30564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30565 <limits.h> exists even on freestanding compilers. */
30568 # include <limits.h>
30570 # include <assert.h>
30575 /* Override any gcc2 internal prototype to avoid an error. */
30580 /* We use char because int might match the return type of a gcc2
30581 builtin and then its argument prototype would still apply. */
30583 /* The GNU C library defines this for functions which it implements
30584 to always fail with ENOSYS. Some functions are actually named
30585 something starting with __ and the normal name is an alias. */
30586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30589 char (*f) () = $ac_func;
30598 return f != $ac_func;
30603 rm -f conftest.
$ac_objext conftest
$ac_exeext
30604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30605 (eval $ac_link) 2>conftest.er1
30607 grep -v '^ *+' conftest.er1
>conftest.err
30609 cat conftest.err
>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); } &&
30612 { ac_try
='test -z "$ac_c_werror_flag"
30613 || test ! -s conftest.err'
30614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30615 (eval $ac_try) 2>&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); }; } &&
30619 { ac_try
='test -s conftest$ac_exeext'
30620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30621 (eval $ac_try) 2>&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); }; }; then
30625 eval "$as_ac_var=yes"
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.
$ac_ext >&5
30630 eval "$as_ac_var=no"
30632 rm -f conftest.err conftest.
$ac_objext \
30633 conftest
$ac_exeext conftest.
$ac_ext
30635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30637 if test `eval echo '${'$as_ac_var'}'` = yes; then
30638 cat >>confdefs.h
<<_ACEOF
30639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30646 echo "$as_me:$LINENO: checking for statfs" >&5
30647 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30648 if test "${wx_cv_func_statfs+set}" = set; then
30649 echo $ECHO_N "(cached) $ECHO_C" >&6
30651 cat >conftest.
$ac_ext <<_ACEOF
30654 cat confdefs.h
>>conftest.
$ac_ext
30655 cat >>conftest.
$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30658 #if defined(__BSD__)
30659 #include <sys/param.h>
30660 #include <sys/mount.h>
30662 #include <sys/vfs.h>
30680 rm -f conftest.
$ac_objext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30682 (eval $ac_compile) 2>conftest.er1
30684 grep -v '^ *+' conftest.er1
>conftest.err
30686 cat conftest.err
>&5
30687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30688 (exit $ac_status); } &&
30689 { ac_try
='test -z "$ac_c_werror_flag"
30690 || test ! -s conftest.err'
30691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30692 (eval $ac_try) 2>&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); }; } &&
30696 { ac_try
='test -s conftest.$ac_objext'
30697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30698 (eval $ac_try) 2>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); }; }; then
30703 wx_cv_func_statfs
=yes
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.
$ac_ext >&5
30710 wx_cv_func_statfs
=no
30714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30717 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30718 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30720 if test "$wx_cv_func_statfs" = "yes"; then
30721 wx_cv_type_statvfs_t
="struct statfs"
30722 cat >>confdefs.h
<<\_ACEOF
30723 #define HAVE_STATFS 1
30727 echo "$as_me:$LINENO: checking for statvfs" >&5
30728 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30729 if test "${wx_cv_func_statvfs+set}" = set; then
30730 echo $ECHO_N "(cached) $ECHO_C" >&6
30732 cat >conftest.
$ac_ext <<_ACEOF
30735 cat confdefs.h
>>conftest.
$ac_ext
30736 cat >>conftest.
$ac_ext <<_ACEOF
30737 /* end confdefs.h. */
30739 #include <stddef.h>
30740 #include <sys/statvfs.h>
30746 statvfs("/", NULL);
30752 rm -f conftest.
$ac_objext
30753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30754 (eval $ac_compile) 2>conftest.er1
30756 grep -v '^ *+' conftest.er1
>conftest.err
30758 cat conftest.err
>&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } &&
30761 { ac_try
='test -z "$ac_c_werror_flag"
30762 || test ! -s conftest.err'
30763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764 (eval $ac_try) 2>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); }; } &&
30768 { ac_try
='test -s conftest.$ac_objext'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; }; then
30774 wx_cv_func_statvfs
=yes
30776 echo "$as_me: failed program was:" >&5
30777 sed 's/^/| /' conftest.
$ac_ext >&5
30779 wx_cv_func_statvfs
=no
30782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30785 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30786 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30788 if test "$wx_cv_func_statvfs" = "yes"; then
30792 ac_cpp
='$CXXCPP $CPPFLAGS'
30793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30798 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30799 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30800 if test "${wx_cv_type_statvfs_t+set}" = set; then
30801 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 cat >conftest.
$ac_ext <<_ACEOF
30806 cat confdefs.h
>>conftest.
$ac_ext
30807 cat >>conftest.
$ac_ext <<_ACEOF
30808 /* end confdefs.h. */
30810 #include <sys/statvfs.h>
30827 rm -f conftest.
$ac_objext
30828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30829 (eval $ac_compile) 2>conftest.er1
30831 grep -v '^ *+' conftest.er1
>conftest.err
30833 cat conftest.err
>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try
='test -z "$ac_cxx_werror_flag"
30837 || test ! -s conftest.err'
30838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839 (eval $ac_try) 2>&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); }; } &&
30843 { ac_try
='test -s conftest.$ac_objext'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; }; then
30849 wx_cv_type_statvfs_t
=statvfs_t
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.
$ac_ext >&5
30855 cat >conftest.
$ac_ext <<_ACEOF
30858 cat confdefs.h
>>conftest.
$ac_ext
30859 cat >>conftest.
$ac_ext <<_ACEOF
30860 /* end confdefs.h. */
30862 #include <sys/statvfs.h>
30879 rm -f conftest.
$ac_objext
30880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30881 (eval $ac_compile) 2>conftest.er1
30883 grep -v '^ *+' conftest.er1
>conftest.err
30885 cat conftest.err
>&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } &&
30888 { ac_try
='test -z "$ac_cxx_werror_flag"
30889 || test ! -s conftest.err'
30890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30891 (eval $ac_try) 2>&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); }; } &&
30895 { ac_try
='test -s conftest.$ac_objext'
30896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897 (eval $ac_try) 2>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); }; }; then
30901 wx_cv_type_statvfs_t
="struct statvfs"
30903 echo "$as_me: failed program was:" >&5
30904 sed 's/^/| /' conftest.
$ac_ext >&5
30906 wx_cv_type_statvfs_t
="unknown"
30909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30916 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30917 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30920 ac_cpp
='$CPP $CPPFLAGS'
30921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30926 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30927 cat >>confdefs.h
<<\_ACEOF
30928 #define HAVE_STATVFS 1
30933 wx_cv_type_statvfs_t
="unknown"
30937 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30938 cat >>confdefs.h
<<_ACEOF
30939 #define WX_STATFS_T $wx_cv_type_statvfs_t
30943 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30944 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30947 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30950 for ac_func
in fcntl flock
30952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30953 echo "$as_me:$LINENO: checking for $ac_func" >&5
30954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30955 if eval "test \"\${$as_ac_var+set}\" = set"; then
30956 echo $ECHO_N "(cached) $ECHO_C" >&6
30958 cat >conftest.
$ac_ext <<_ACEOF
30961 cat confdefs.h
>>conftest.
$ac_ext
30962 cat >>conftest.
$ac_ext <<_ACEOF
30963 /* end confdefs.h. */
30964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30966 #define $ac_func innocuous_$ac_func
30968 /* System header to define __stub macros and hopefully few prototypes,
30969 which can conflict with char $ac_func (); below.
30970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30971 <limits.h> exists even on freestanding compilers. */
30974 # include <limits.h>
30976 # include <assert.h>
30981 /* Override any gcc2 internal prototype to avoid an error. */
30986 /* We use char because int might match the return type of a gcc2
30987 builtin and then its argument prototype would still apply. */
30989 /* The GNU C library defines this for functions which it implements
30990 to always fail with ENOSYS. Some functions are actually named
30991 something starting with __ and the normal name is an alias. */
30992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30995 char (*f) () = $ac_func;
31004 return f != $ac_func;
31009 rm -f conftest.
$ac_objext conftest
$ac_exeext
31010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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 { ac_try
='test -z "$ac_c_werror_flag"
31019 || test ! -s conftest.err'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; } &&
31025 { ac_try
='test -s conftest$ac_exeext'
31026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31027 (eval $ac_try) 2>&5
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); }; }; then
31031 eval "$as_ac_var=yes"
31033 echo "$as_me: failed program was:" >&5
31034 sed 's/^/| /' conftest.
$ac_ext >&5
31036 eval "$as_ac_var=no"
31038 rm -f conftest.err conftest.
$ac_objext \
31039 conftest
$ac_exeext conftest.
$ac_ext
31041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31043 if test `eval echo '${'$as_ac_var'}'` = yes; then
31044 cat >>confdefs.h
<<_ACEOF
31045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31052 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31053 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31054 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31055 wxUSE_SNGLINST_CHECKER
=no
31060 for ac_func
in timegm
31062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31063 echo "$as_me:$LINENO: checking for $ac_func" >&5
31064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31065 if eval "test \"\${$as_ac_var+set}\" = set"; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31068 cat >conftest.
$ac_ext <<_ACEOF
31071 cat confdefs.h
>>conftest.
$ac_ext
31072 cat >>conftest.
$ac_ext <<_ACEOF
31073 /* end confdefs.h. */
31074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31076 #define $ac_func innocuous_$ac_func
31078 /* System header to define __stub macros and hopefully few prototypes,
31079 which can conflict with char $ac_func (); below.
31080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31081 <limits.h> exists even on freestanding compilers. */
31084 # include <limits.h>
31086 # include <assert.h>
31091 /* Override any gcc2 internal prototype to avoid an error. */
31096 /* We use char because int might match the return type of a gcc2
31097 builtin and then its argument prototype would still apply. */
31099 /* The GNU C library defines this for functions which it implements
31100 to always fail with ENOSYS. Some functions are actually named
31101 something starting with __ and the normal name is an alias. */
31102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31105 char (*f) () = $ac_func;
31114 return f != $ac_func;
31119 rm -f conftest.
$ac_objext conftest
$ac_exeext
31120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31121 (eval $ac_link) 2>conftest.er1
31123 grep -v '^ *+' conftest.er1
>conftest.err
31125 cat conftest.err
>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); } &&
31128 { ac_try
='test -z "$ac_c_werror_flag"
31129 || test ! -s conftest.err'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; } &&
31135 { ac_try
='test -s conftest$ac_exeext'
31136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31137 (eval $ac_try) 2>&5
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); }; }; then
31141 eval "$as_ac_var=yes"
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.
$ac_ext >&5
31146 eval "$as_ac_var=no"
31148 rm -f conftest.err conftest.
$ac_objext \
31149 conftest
$ac_exeext conftest.
$ac_ext
31151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31153 if test `eval echo '${'$as_ac_var'}'` = yes; then
31154 cat >>confdefs.h
<<_ACEOF
31155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31164 for ac_func
in putenv setenv
31166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31167 echo "$as_me:$LINENO: checking for $ac_func" >&5
31168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31169 if eval "test \"\${$as_ac_var+set}\" = set"; then
31170 echo $ECHO_N "(cached) $ECHO_C" >&6
31172 cat >conftest.
$ac_ext <<_ACEOF
31175 cat confdefs.h
>>conftest.
$ac_ext
31176 cat >>conftest.
$ac_ext <<_ACEOF
31177 /* end confdefs.h. */
31178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31180 #define $ac_func innocuous_$ac_func
31182 /* System header to define __stub macros and hopefully few prototypes,
31183 which can conflict with char $ac_func (); below.
31184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31185 <limits.h> exists even on freestanding compilers. */
31188 # include <limits.h>
31190 # include <assert.h>
31195 /* Override any gcc2 internal prototype to avoid an error. */
31200 /* We use char because int might match the return type of a gcc2
31201 builtin and then its argument prototype would still apply. */
31203 /* The GNU C library defines this for functions which it implements
31204 to always fail with ENOSYS. Some functions are actually named
31205 something starting with __ and the normal name is an alias. */
31206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31209 char (*f) () = $ac_func;
31218 return f != $ac_func;
31223 rm -f conftest.
$ac_objext conftest
$ac_exeext
31224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31225 (eval $ac_link) 2>conftest.er1
31227 grep -v '^ *+' conftest.er1
>conftest.err
31229 cat conftest.err
>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); } &&
31232 { ac_try
='test -z "$ac_c_werror_flag"
31233 || test ! -s conftest.err'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; } &&
31239 { ac_try
='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31245 eval "$as_ac_var=yes"
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.
$ac_ext >&5
31250 eval "$as_ac_var=no"
31252 rm -f conftest.err conftest.
$ac_objext \
31253 conftest
$ac_exeext conftest.
$ac_ext
31255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31257 if test `eval echo '${'$as_ac_var'}'` = yes; then
31258 cat >>confdefs.h
<<_ACEOF
31259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31266 HAVE_SOME_SLEEP_FUNC
=0
31267 if test "$USE_BEOS" = 1; then
31268 cat >>confdefs.h
<<\_ACEOF
31269 #define HAVE_SLEEP 1
31272 HAVE_SOME_SLEEP_FUNC
=1
31275 if test "$USE_DARWIN" = 1; then
31276 cat >>confdefs.h
<<\_ACEOF
31277 #define HAVE_USLEEP 1
31280 HAVE_SOME_SLEEP_FUNC
=1
31283 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31286 for ac_func
in nanosleep
31288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31289 echo "$as_me:$LINENO: checking for $ac_func" >&5
31290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31291 if eval "test \"\${$as_ac_var+set}\" = set"; then
31292 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 cat >conftest.
$ac_ext <<_ACEOF
31297 cat confdefs.h
>>conftest.
$ac_ext
31298 cat >>conftest.
$ac_ext <<_ACEOF
31299 /* end confdefs.h. */
31300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31302 #define $ac_func innocuous_$ac_func
31304 /* System header to define __stub macros and hopefully few prototypes,
31305 which can conflict with char $ac_func (); below.
31306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31307 <limits.h> exists even on freestanding compilers. */
31310 # include <limits.h>
31312 # include <assert.h>
31317 /* Override any gcc2 internal prototype to avoid an error. */
31322 /* We use char because int might match the return type of a gcc2
31323 builtin and then its argument prototype would still apply. */
31325 /* The GNU C library defines this for functions which it implements
31326 to always fail with ENOSYS. Some functions are actually named
31327 something starting with __ and the normal name is an alias. */
31328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31331 char (*f) () = $ac_func;
31340 return f != $ac_func;
31345 rm -f conftest.
$ac_objext conftest
$ac_exeext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31347 (eval $ac_link) 2>conftest.er1
31349 grep -v '^ *+' conftest.er1
>conftest.err
31351 cat conftest.err
>&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try
='test -z "$ac_c_werror_flag"
31355 || test ! -s conftest.err'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; } &&
31361 { ac_try
='test -s conftest$ac_exeext'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; }; then
31367 eval "$as_ac_var=yes"
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.
$ac_ext >&5
31372 eval "$as_ac_var=no"
31374 rm -f conftest.err conftest.
$ac_objext \
31375 conftest
$ac_exeext conftest.
$ac_ext
31377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31379 if test `eval echo '${'$as_ac_var'}'` = yes; then
31380 cat >>confdefs.h
<<_ACEOF
31381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31383 cat >>confdefs.h
<<\_ACEOF
31384 #define HAVE_NANOSLEEP 1
31389 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31390 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31391 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31392 echo $ECHO_N "(cached) $ECHO_C" >&6
31394 ac_check_lib_save_LIBS
=$LIBS
31395 LIBS
="-lposix4 $LIBS"
31396 cat >conftest.
$ac_ext <<_ACEOF
31399 cat confdefs.h
>>conftest.
$ac_ext
31400 cat >>conftest.
$ac_ext <<_ACEOF
31401 /* end confdefs.h. */
31403 /* Override any gcc2 internal prototype to avoid an error. */
31407 /* We use char because int might match the return type of a gcc2
31408 builtin and then its argument prototype would still apply. */
31418 rm -f conftest.
$ac_objext conftest
$ac_exeext
31419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31420 (eval $ac_link) 2>conftest.er1
31422 grep -v '^ *+' conftest.er1
>conftest.err
31424 cat conftest.err
>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } &&
31427 { ac_try
='test -z "$ac_c_werror_flag"
31428 || test ! -s conftest.err'
31429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31430 (eval $ac_try) 2>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; } &&
31434 { ac_try
='test -s conftest$ac_exeext'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; }; then
31440 ac_cv_lib_posix4_nanosleep
=yes
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.
$ac_ext >&5
31445 ac_cv_lib_posix4_nanosleep
=no
31447 rm -f conftest.err conftest.
$ac_objext \
31448 conftest
$ac_exeext conftest.
$ac_ext
31449 LIBS
=$ac_check_lib_save_LIBS
31451 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31452 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31453 if test $ac_cv_lib_posix4_nanosleep = yes; then
31455 cat >>confdefs.h
<<\_ACEOF
31456 #define HAVE_NANOSLEEP 1
31459 POSIX4_LINK
=" -lposix4"
31464 for ac_func
in usleep
31466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31467 echo "$as_me:$LINENO: checking for $ac_func" >&5
31468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31469 if eval "test \"\${$as_ac_var+set}\" = set"; then
31470 echo $ECHO_N "(cached) $ECHO_C" >&6
31472 cat >conftest.
$ac_ext <<_ACEOF
31475 cat confdefs.h
>>conftest.
$ac_ext
31476 cat >>conftest.
$ac_ext <<_ACEOF
31477 /* end confdefs.h. */
31478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31480 #define $ac_func innocuous_$ac_func
31482 /* System header to define __stub macros and hopefully few prototypes,
31483 which can conflict with char $ac_func (); below.
31484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31485 <limits.h> exists even on freestanding compilers. */
31488 # include <limits.h>
31490 # include <assert.h>
31495 /* Override any gcc2 internal prototype to avoid an error. */
31500 /* We use char because int might match the return type of a gcc2
31501 builtin and then its argument prototype would still apply. */
31503 /* The GNU C library defines this for functions which it implements
31504 to always fail with ENOSYS. Some functions are actually named
31505 something starting with __ and the normal name is an alias. */
31506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31509 char (*f) () = $ac_func;
31518 return f != $ac_func;
31523 rm -f conftest.
$ac_objext conftest
$ac_exeext
31524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31525 (eval $ac_link) 2>conftest.er1
31527 grep -v '^ *+' conftest.er1
>conftest.err
31529 cat conftest.err
>&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); } &&
31532 { ac_try
='test -z "$ac_c_werror_flag"
31533 || test ! -s conftest.err'
31534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31535 (eval $ac_try) 2>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); }; } &&
31539 { ac_try
='test -s conftest$ac_exeext'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 eval "$as_ac_var=yes"
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.
$ac_ext >&5
31550 eval "$as_ac_var=no"
31552 rm -f conftest.err conftest.
$ac_objext \
31553 conftest
$ac_exeext conftest.
$ac_ext
31555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31557 if test `eval echo '${'$as_ac_var'}'` = yes; then
31558 cat >>confdefs.h
<<_ACEOF
31559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31561 cat >>confdefs.h
<<\_ACEOF
31562 #define HAVE_USLEEP 1
31566 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31567 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31585 for ac_func
in uname gethostname
31587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31588 echo "$as_me:$LINENO: checking for $ac_func" >&5
31589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31590 if eval "test \"\${$as_ac_var+set}\" = set"; then
31591 echo $ECHO_N "(cached) $ECHO_C" >&6
31593 cat >conftest.
$ac_ext <<_ACEOF
31596 cat confdefs.h
>>conftest.
$ac_ext
31597 cat >>conftest.
$ac_ext <<_ACEOF
31598 /* end confdefs.h. */
31599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31601 #define $ac_func innocuous_$ac_func
31603 /* System header to define __stub macros and hopefully few prototypes,
31604 which can conflict with char $ac_func (); below.
31605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31606 <limits.h> exists even on freestanding compilers. */
31609 # include <limits.h>
31611 # include <assert.h>
31616 /* Override any gcc2 internal prototype to avoid an error. */
31621 /* We use char because int might match the return type of a gcc2
31622 builtin and then its argument prototype would still apply. */
31624 /* The GNU C library defines this for functions which it implements
31625 to always fail with ENOSYS. Some functions are actually named
31626 something starting with __ and the normal name is an alias. */
31627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31630 char (*f) () = $ac_func;
31639 return f != $ac_func;
31644 rm -f conftest.
$ac_objext conftest
$ac_exeext
31645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31646 (eval $ac_link) 2>conftest.er1
31648 grep -v '^ *+' conftest.er1
>conftest.err
31650 cat conftest.err
>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); } &&
31653 { ac_try
='test -z "$ac_c_werror_flag"
31654 || test ! -s conftest.err'
31655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31656 (eval $ac_try) 2>&5
31658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31659 (exit $ac_status); }; } &&
31660 { ac_try
='test -s conftest$ac_exeext'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; }; then
31666 eval "$as_ac_var=yes"
31668 echo "$as_me: failed program was:" >&5
31669 sed 's/^/| /' conftest.
$ac_ext >&5
31671 eval "$as_ac_var=no"
31673 rm -f conftest.err conftest.
$ac_objext \
31674 conftest
$ac_exeext conftest.
$ac_ext
31676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31678 if test `eval echo '${'$as_ac_var'}'` = yes; then
31679 cat >>confdefs.h
<<_ACEOF
31680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31690 ac_cpp
='$CXXCPP $CPPFLAGS'
31691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31697 for ac_func
in strtok_r
31699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31700 echo "$as_me:$LINENO: checking for $ac_func" >&5
31701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31702 if eval "test \"\${$as_ac_var+set}\" = set"; then
31703 echo $ECHO_N "(cached) $ECHO_C" >&6
31705 cat >conftest.
$ac_ext <<_ACEOF
31708 cat confdefs.h
>>conftest.
$ac_ext
31709 cat >>conftest.
$ac_ext <<_ACEOF
31710 /* end confdefs.h. */
31711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31713 #define $ac_func innocuous_$ac_func
31715 /* System header to define __stub macros and hopefully few prototypes,
31716 which can conflict with char $ac_func (); below.
31717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31718 <limits.h> exists even on freestanding compilers. */
31721 # include <limits.h>
31723 # include <assert.h>
31728 /* Override any gcc2 internal prototype to avoid an error. */
31733 /* We use char because int might match the return type of a gcc2
31734 builtin and then its argument prototype would still apply. */
31736 /* The GNU C library defines this for functions which it implements
31737 to always fail with ENOSYS. Some functions are actually named
31738 something starting with __ and the normal name is an alias. */
31739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31742 char (*f) () = $ac_func;
31751 return f != $ac_func;
31756 rm -f conftest.
$ac_objext conftest
$ac_exeext
31757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31758 (eval $ac_link) 2>conftest.er1
31760 grep -v '^ *+' conftest.er1
>conftest.err
31762 cat conftest.err
>&5
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); } &&
31765 { ac_try
='test -z "$ac_cxx_werror_flag"
31766 || test ! -s conftest.err'
31767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31768 (eval $ac_try) 2>&5
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); }; } &&
31772 { ac_try
='test -s conftest$ac_exeext'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; }; then
31778 eval "$as_ac_var=yes"
31780 echo "$as_me: failed program was:" >&5
31781 sed 's/^/| /' conftest.
$ac_ext >&5
31783 eval "$as_ac_var=no"
31785 rm -f conftest.err conftest.
$ac_objext \
31786 conftest
$ac_exeext conftest.
$ac_ext
31788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31790 if test `eval echo '${'$as_ac_var'}'` = yes; then
31791 cat >>confdefs.h
<<_ACEOF
31792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31800 ac_cpp
='$CPP $CPPFLAGS'
31801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31808 for ac_func
in inet_addr
31810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31811 echo "$as_me:$LINENO: checking for $ac_func" >&5
31812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31813 if eval "test \"\${$as_ac_var+set}\" = set"; then
31814 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 cat >conftest.
$ac_ext <<_ACEOF
31819 cat confdefs.h
>>conftest.
$ac_ext
31820 cat >>conftest.
$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31824 #define $ac_func innocuous_$ac_func
31826 /* System header to define __stub macros and hopefully few prototypes,
31827 which can conflict with char $ac_func (); below.
31828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31829 <limits.h> exists even on freestanding compilers. */
31832 # include <limits.h>
31834 # include <assert.h>
31839 /* Override any gcc2 internal prototype to avoid an error. */
31844 /* We use char because int might match the return type of a gcc2
31845 builtin and then its argument prototype would still apply. */
31847 /* The GNU C library defines this for functions which it implements
31848 to always fail with ENOSYS. Some functions are actually named
31849 something starting with __ and the normal name is an alias. */
31850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31853 char (*f) () = $ac_func;
31862 return f != $ac_func;
31867 rm -f conftest.
$ac_objext conftest
$ac_exeext
31868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31869 (eval $ac_link) 2>conftest.er1
31871 grep -v '^ *+' conftest.er1
>conftest.err
31873 cat conftest.err
>&5
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); } &&
31876 { ac_try
='test -z "$ac_c_werror_flag"
31877 || test ! -s conftest.err'
31878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31879 (eval $ac_try) 2>&5
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); }; } &&
31883 { ac_try
='test -s conftest$ac_exeext'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; }; then
31889 eval "$as_ac_var=yes"
31891 echo "$as_me: failed program was:" >&5
31892 sed 's/^/| /' conftest.
$ac_ext >&5
31894 eval "$as_ac_var=no"
31896 rm -f conftest.err conftest.
$ac_objext \
31897 conftest
$ac_exeext conftest.
$ac_ext
31899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31901 if test `eval echo '${'$as_ac_var'}'` = yes; then
31902 cat >>confdefs.h
<<_ACEOF
31903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31905 cat >>confdefs.h
<<\_ACEOF
31906 #define HAVE_INET_ADDR 1
31911 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31912 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31913 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31914 echo $ECHO_N "(cached) $ECHO_C" >&6
31916 ac_check_lib_save_LIBS
=$LIBS
31918 cat >conftest.
$ac_ext <<_ACEOF
31921 cat confdefs.h
>>conftest.
$ac_ext
31922 cat >>conftest.
$ac_ext <<_ACEOF
31923 /* end confdefs.h. */
31925 /* Override any gcc2 internal prototype to avoid an error. */
31929 /* We use char because int might match the return type of a gcc2
31930 builtin and then its argument prototype would still apply. */
31940 rm -f conftest.
$ac_objext conftest
$ac_exeext
31941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31942 (eval $ac_link) 2>conftest.er1
31944 grep -v '^ *+' conftest.er1
>conftest.err
31946 cat conftest.err
>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } &&
31949 { ac_try
='test -z "$ac_c_werror_flag"
31950 || test ! -s conftest.err'
31951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952 (eval $ac_try) 2>&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); }; } &&
31956 { ac_try
='test -s conftest$ac_exeext'
31957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31958 (eval $ac_try) 2>&5
31960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31961 (exit $ac_status); }; }; then
31962 ac_cv_lib_nsl_inet_addr
=yes
31964 echo "$as_me: failed program was:" >&5
31965 sed 's/^/| /' conftest.
$ac_ext >&5
31967 ac_cv_lib_nsl_inet_addr
=no
31969 rm -f conftest.err conftest.
$ac_objext \
31970 conftest
$ac_exeext conftest.
$ac_ext
31971 LIBS
=$ac_check_lib_save_LIBS
31973 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31974 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31975 if test $ac_cv_lib_nsl_inet_addr = yes; then
31979 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31980 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31981 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31982 echo $ECHO_N "(cached) $ECHO_C" >&6
31984 ac_check_lib_save_LIBS
=$LIBS
31985 LIBS
="-lresolv $LIBS"
31986 cat >conftest.
$ac_ext <<_ACEOF
31989 cat confdefs.h
>>conftest.
$ac_ext
31990 cat >>conftest.
$ac_ext <<_ACEOF
31991 /* end confdefs.h. */
31993 /* Override any gcc2 internal prototype to avoid an error. */
31997 /* We use char because int might match the return type of a gcc2
31998 builtin and then its argument prototype would still apply. */
32008 rm -f conftest.
$ac_objext conftest
$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>conftest.er1
32012 grep -v '^ *+' conftest.er1
>conftest.err
32014 cat conftest.err
>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try
='test -z "$ac_c_werror_flag"
32018 || test ! -s conftest.err'
32019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020 (eval $ac_try) 2>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; } &&
32024 { ac_try
='test -s conftest$ac_exeext'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; }; then
32030 ac_cv_lib_resolv_inet_addr
=yes
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.
$ac_ext >&5
32035 ac_cv_lib_resolv_inet_addr
=no
32037 rm -f conftest.err conftest.
$ac_objext \
32038 conftest
$ac_exeext conftest.
$ac_ext
32039 LIBS
=$ac_check_lib_save_LIBS
32041 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32042 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32043 if test $ac_cv_lib_resolv_inet_addr = yes; then
32047 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32048 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32049 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32050 echo $ECHO_N "(cached) $ECHO_C" >&6
32052 ac_check_lib_save_LIBS
=$LIBS
32053 LIBS
="-lsocket $LIBS"
32054 cat >conftest.
$ac_ext <<_ACEOF
32057 cat confdefs.h
>>conftest.
$ac_ext
32058 cat >>conftest.
$ac_ext <<_ACEOF
32059 /* end confdefs.h. */
32061 /* Override any gcc2 internal prototype to avoid an error. */
32065 /* We use char because int might match the return type of a gcc2
32066 builtin and then its argument prototype would still apply. */
32076 rm -f conftest.
$ac_objext conftest
$ac_exeext
32077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32078 (eval $ac_link) 2>conftest.er1
32080 grep -v '^ *+' conftest.er1
>conftest.err
32082 cat conftest.err
>&5
32083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 (exit $ac_status); } &&
32085 { ac_try
='test -z "$ac_c_werror_flag"
32086 || test ! -s conftest.err'
32087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32088 (eval $ac_try) 2>&5
32090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32091 (exit $ac_status); }; } &&
32092 { ac_try
='test -s conftest$ac_exeext'
32093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32094 (eval $ac_try) 2>&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); }; }; then
32098 ac_cv_lib_socket_inet_addr
=yes
32100 echo "$as_me: failed program was:" >&5
32101 sed 's/^/| /' conftest.
$ac_ext >&5
32103 ac_cv_lib_socket_inet_addr
=no
32105 rm -f conftest.err conftest.
$ac_objext \
32106 conftest
$ac_exeext conftest.
$ac_ext
32107 LIBS
=$ac_check_lib_save_LIBS
32109 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32110 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32111 if test $ac_cv_lib_socket_inet_addr = yes; then
32131 for ac_func
in inet_aton
32133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32134 echo "$as_me:$LINENO: checking for $ac_func" >&5
32135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32136 if eval "test \"\${$as_ac_var+set}\" = set"; then
32137 echo $ECHO_N "(cached) $ECHO_C" >&6
32139 cat >conftest.
$ac_ext <<_ACEOF
32142 cat confdefs.h
>>conftest.
$ac_ext
32143 cat >>conftest.
$ac_ext <<_ACEOF
32144 /* end confdefs.h. */
32145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32147 #define $ac_func innocuous_$ac_func
32149 /* System header to define __stub macros and hopefully few prototypes,
32150 which can conflict with char $ac_func (); below.
32151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32152 <limits.h> exists even on freestanding compilers. */
32155 # include <limits.h>
32157 # include <assert.h>
32162 /* Override any gcc2 internal prototype to avoid an error. */
32167 /* We use char because int might match the return type of a gcc2
32168 builtin and then its argument prototype would still apply. */
32170 /* The GNU C library defines this for functions which it implements
32171 to always fail with ENOSYS. Some functions are actually named
32172 something starting with __ and the normal name is an alias. */
32173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32176 char (*f) () = $ac_func;
32185 return f != $ac_func;
32190 rm -f conftest.
$ac_objext conftest
$ac_exeext
32191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32192 (eval $ac_link) 2>conftest.er1
32194 grep -v '^ *+' conftest.er1
>conftest.err
32196 cat conftest.err
>&5
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); } &&
32199 { ac_try
='test -z "$ac_c_werror_flag"
32200 || test ! -s conftest.err'
32201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32202 (eval $ac_try) 2>&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); }; } &&
32206 { ac_try
='test -s conftest$ac_exeext'
32207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208 (eval $ac_try) 2>&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; }; then
32212 eval "$as_ac_var=yes"
32214 echo "$as_me: failed program was:" >&5
32215 sed 's/^/| /' conftest.
$ac_ext >&5
32217 eval "$as_ac_var=no"
32219 rm -f conftest.err conftest.
$ac_objext \
32220 conftest
$ac_exeext conftest.
$ac_ext
32222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32224 if test `eval echo '${'$as_ac_var'}'` = yes; then
32225 cat >>confdefs.h
<<_ACEOF
32226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32228 cat >>confdefs.h
<<\_ACEOF
32229 #define HAVE_INET_ATON 1
32234 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32235 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32236 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32237 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 ac_check_lib_save_LIBS
=$LIBS
32241 LIBS
="-l$INET_LINK $LIBS"
32242 cat >conftest.
$ac_ext <<_ACEOF
32245 cat confdefs.h
>>conftest.
$ac_ext
32246 cat >>conftest.
$ac_ext <<_ACEOF
32247 /* end confdefs.h. */
32249 /* Override any gcc2 internal prototype to avoid an error. */
32253 /* We use char because int might match the return type of a gcc2
32254 builtin and then its argument prototype would still apply. */
32264 rm -f conftest.
$ac_objext conftest
$ac_exeext
32265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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 { ac_try
='test -z "$ac_c_werror_flag"
32274 || test ! -s conftest.err'
32275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32276 (eval $ac_try) 2>&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); }; } &&
32280 { ac_try
='test -s conftest$ac_exeext'
32281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32282 (eval $ac_try) 2>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); }; }; then
32286 eval "$as_ac_Lib=yes"
32288 echo "$as_me: failed program was:" >&5
32289 sed 's/^/| /' conftest.
$ac_ext >&5
32291 eval "$as_ac_Lib=no"
32293 rm -f conftest.err conftest.
$ac_objext \
32294 conftest
$ac_exeext conftest.
$ac_ext
32295 LIBS
=$ac_check_lib_save_LIBS
32297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32298 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32299 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32300 cat >>confdefs.h
<<\_ACEOF
32301 #define HAVE_INET_ATON 1
32311 if test "x$INET_LINK" != "x"; then
32312 cat >>confdefs.h
<<\_ACEOF
32313 #define HAVE_INET_ADDR 1
32316 INET_LINK
=" -l$INET_LINK"
32324 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32325 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32326 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32327 echo $ECHO_N "(cached) $ECHO_C" >&6
32329 ac_check_lib_save_LIBS
=$LIBS
32331 cat >conftest.
$ac_ext <<_ACEOF
32334 cat confdefs.h
>>conftest.
$ac_ext
32335 cat >>conftest.
$ac_ext <<_ACEOF
32336 /* end confdefs.h. */
32338 /* Override any gcc2 internal prototype to avoid an error. */
32342 /* We use char because int might match the return type of a gcc2
32343 builtin and then its argument prototype would still apply. */
32353 rm -f conftest.
$ac_objext conftest
$ac_exeext
32354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32355 (eval $ac_link) 2>conftest.er1
32357 grep -v '^ *+' conftest.er1
>conftest.err
32359 cat conftest.err
>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); } &&
32362 { ac_try
='test -z "$ac_c_werror_flag"
32363 || test ! -s conftest.err'
32364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365 (eval $ac_try) 2>&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); }; } &&
32369 { ac_try
='test -s conftest$ac_exeext'
32370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371 (eval $ac_try) 2>&5
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; }; then
32375 ac_cv_lib_esd_esd_close
=yes
32377 echo "$as_me: failed program was:" >&5
32378 sed 's/^/| /' conftest.
$ac_ext >&5
32380 ac_cv_lib_esd_esd_close
=no
32382 rm -f conftest.err conftest.
$ac_objext \
32383 conftest
$ac_exeext conftest.
$ac_ext
32384 LIBS
=$ac_check_lib_save_LIBS
32386 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32387 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32388 if test $ac_cv_lib_esd_esd_close = yes; then
32391 for ac_header
in esd.h
32393 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32395 echo "$as_me:$LINENO: checking for $ac_header" >&5
32396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32403 # Is the header compilable?
32404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32406 cat >conftest.
$ac_ext <<_ACEOF
32409 cat confdefs.h
>>conftest.
$ac_ext
32410 cat >>conftest.
$ac_ext <<_ACEOF
32411 /* end confdefs.h. */
32412 $ac_includes_default
32413 #include <$ac_header>
32415 rm -f conftest.
$ac_objext
32416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32417 (eval $ac_compile) 2>conftest.er1
32419 grep -v '^ *+' conftest.er1
>conftest.err
32421 cat conftest.err
>&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); } &&
32424 { ac_try
='test -z "$ac_c_werror_flag"
32425 || test ! -s conftest.err'
32426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427 (eval $ac_try) 2>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); }; } &&
32431 { ac_try
='test -s conftest.$ac_objext'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; }; then
32437 ac_header_compiler
=yes
32439 echo "$as_me: failed program was:" >&5
32440 sed 's/^/| /' conftest.
$ac_ext >&5
32442 ac_header_compiler
=no
32444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32446 echo "${ECHO_T}$ac_header_compiler" >&6
32448 # Is the header present?
32449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32451 cat >conftest.
$ac_ext <<_ACEOF
32454 cat confdefs.h
>>conftest.
$ac_ext
32455 cat >>conftest.
$ac_ext <<_ACEOF
32456 /* end confdefs.h. */
32457 #include <$ac_header>
32459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32462 grep -v '^ *+' conftest.er1
>conftest.err
32464 cat conftest.err
>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } >/dev
/null
; then
32467 if test -s conftest.err
; then
32468 ac_cpp_err
=$ac_c_preproc_warn_flag
32469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32476 if test -z "$ac_cpp_err"; then
32477 ac_header_preproc
=yes
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.
$ac_ext >&5
32482 ac_header_preproc
=no
32484 rm -f conftest.err conftest.
$ac_ext
32485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32486 echo "${ECHO_T}$ac_header_preproc" >&6
32488 # So? What about this header?
32489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32495 ac_header_preproc
=yes
32498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32512 ## ----------------------------------------- ##
32513 ## Report this to wx-dev@lists.wxwidgets.org ##
32514 ## ----------------------------------------- ##
32517 sed "s/^/$as_me: WARNING: /" >&2
32520 echo "$as_me:$LINENO: checking for $ac_header" >&5
32521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32525 eval "$as_ac_Header=\$ac_header_preproc"
32527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32532 cat >>confdefs.h
<<_ACEOF
32533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32536 EXTRALIBS_ESD
="-lesd"
32547 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32548 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32549 cat >conftest.
$ac_ext <<_ACEOF
32552 cat confdefs.h
>>conftest.
$ac_ext
32553 cat >>conftest.
$ac_ext <<_ACEOF
32554 /* end confdefs.h. */
32556 #include <linux/cdrom.h>
32559 #include <sys/cdio.h>
32565 struct cdrom_tocentry entry, old_entry;
32570 rm -f conftest.
$ac_objext
32571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32572 (eval $ac_compile) 2>conftest.er1
32574 grep -v '^ *+' conftest.er1
>conftest.err
32576 cat conftest.err
>&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } &&
32579 { ac_try
='test -z "$ac_c_werror_flag"
32580 || test ! -s conftest.err'
32581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32582 (eval $ac_try) 2>&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); }; } &&
32586 { ac_try
='test -s conftest.$ac_objext'
32587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32588 (eval $ac_try) 2>&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); }; }; then
32592 echo "$as_me:$LINENO: result: yes" >&5
32593 echo "${ECHO_T}yes" >&6
32594 cat >>confdefs.h
<<\_ACEOF
32595 #define HAVE_KNOWN_CDROM_INTERFACE 1
32599 echo "$as_me: failed program was:" >&5
32600 sed 's/^/| /' conftest.
$ac_ext >&5
32602 echo "$as_me:$LINENO: result: no" >&5
32603 echo "${ECHO_T}no" >&6
32605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32608 cat >confcache
<<\_ACEOF
32609 # This file is a shell script that caches the results of configure
32610 # tests run on this system so they can be shared between configure
32611 # scripts and configure runs, see configure's option --config-cache.
32612 # It is not useful on other systems. If it contains results you don't
32613 # want to keep, you may remove or edit it.
32615 # config.status only pays attention to the cache file if you give it
32616 # the --recheck option to rerun configure.
32618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32620 # following values.
32624 # The following way of writing the cache mishandles newlines in values,
32625 # but we know of no workaround that is simple, portable, and efficient.
32626 # So, don't put newlines in cache variables' values.
32627 # Ultrix sh set writes to stderr and can't be redirected directly,
32628 # and sets the high bit in the cache file unless we assign to the vars.
32631 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32633 # `set' does not quote correctly, so add quotes (double-quote
32634 # substitution turns \\\\ into \\, and sed turns \\ into \).
32637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32640 # `set' quotes correctly as required by POSIX, so do not add quotes.
32642 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32651 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32653 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32654 if test -w $cache_file; then
32655 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32656 cat confcache
>$cache_file
32658 echo "not updating unwritable cache $cache_file"
32665 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32671 if test "$wxUSE_THREADS" = "yes" ; then
32672 if test "$USE_BEOS" = 1; then
32673 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32674 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32679 if test "$wxUSE_THREADS" = "yes" ; then
32682 THREAD_OPTS
="-pthread"
32684 *-*-solaris2* | *-*-sunos4* )
32685 if test "x$GCC" = "xyes"; then
32686 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32688 THREAD_OPTS
="-mt $THREAD_OPTS"
32692 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32694 *-*-darwin* | *-*-cygwin* )
32698 THREAD_OPTS
="pthreads"
32701 if test "x$GCC" != "xyes"; then
32707 if test "x$GCC" = "xyes"; then
32713 if test "x$GCC" != "xyes"; then
32714 THREAD_OPTS
="-Ethread"
32719 THREAD_OPTS
="$THREAD_OPTS pthread none"
32722 for flag
in $THREAD_OPTS; do
32725 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32726 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32730 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32731 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32732 THREADS_CFLAGS
="$flag"
32736 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32737 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32738 THREADS_LINK
="-l$flag"
32743 save_CFLAGS
="$CFLAGS"
32744 LIBS
="$THREADS_LINK $LIBS"
32745 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32747 cat >conftest.
$ac_ext <<_ACEOF
32750 cat confdefs.h
>>conftest.
$ac_ext
32751 cat >>conftest.
$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753 #include <pthread.h>
32757 pthread_create(0,0,0,0);
32762 rm -f conftest.
$ac_objext conftest
$ac_exeext
32763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32764 (eval $ac_link) 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 { ac_try
='test -z "$ac_c_werror_flag"
32772 || test ! -s conftest.err'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; } &&
32778 { ac_try
='test -s conftest$ac_exeext'
32779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32780 (eval $ac_try) 2>&5
32782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32783 (exit $ac_status); }; }; then
32786 echo "$as_me: failed program was:" >&5
32787 sed 's/^/| /' conftest.
$ac_ext >&5
32790 rm -f conftest.err conftest.
$ac_objext \
32791 conftest
$ac_exeext conftest.
$ac_ext
32794 CFLAGS
="$save_CFLAGS"
32796 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32797 echo "${ECHO_T}$THREADS_OK" >&6
32798 if test "x$THREADS_OK" = "xyes"; then
32806 if test "x$THREADS_OK" != "xyes"; then
32808 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32809 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32811 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32812 LIBS
="$THREADS_LINK $LIBS"
32814 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32815 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32819 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32820 flag
="-D_THREAD_SAFE"
32823 flag
="-D_THREAD_SAFE"
32826 flag
="-D_REENTRANT"
32827 if test "x$GCC" != "xyes"; then
32828 flag
="$flag -D_RWSTD_MULTI_THREAD"
32831 *solaris
* | alpha
*-osf*)
32832 flag
="-D_REENTRANT"
32835 echo "$as_me:$LINENO: result: ${flag}" >&5
32836 echo "${ECHO_T}${flag}" >&6
32837 if test "x$flag" != xno
; then
32838 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32841 if test "x$THREADS_CFLAGS" != "x"; then
32842 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32843 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32848 if test "$wxUSE_THREADS" = "yes" ; then
32850 for ac_func
in thr_setconcurrency
32852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32853 echo "$as_me:$LINENO: checking for $ac_func" >&5
32854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32855 if eval "test \"\${$as_ac_var+set}\" = set"; then
32856 echo $ECHO_N "(cached) $ECHO_C" >&6
32858 cat >conftest.
$ac_ext <<_ACEOF
32861 cat confdefs.h
>>conftest.
$ac_ext
32862 cat >>conftest.
$ac_ext <<_ACEOF
32863 /* end confdefs.h. */
32864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32866 #define $ac_func innocuous_$ac_func
32868 /* System header to define __stub macros and hopefully few prototypes,
32869 which can conflict with char $ac_func (); below.
32870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32871 <limits.h> exists even on freestanding compilers. */
32874 # include <limits.h>
32876 # include <assert.h>
32881 /* Override any gcc2 internal prototype to avoid an error. */
32886 /* We use char because int might match the return type of a gcc2
32887 builtin and then its argument prototype would still apply. */
32889 /* The GNU C library defines this for functions which it implements
32890 to always fail with ENOSYS. Some functions are actually named
32891 something starting with __ and the normal name is an alias. */
32892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32895 char (*f) () = $ac_func;
32904 return f != $ac_func;
32909 rm -f conftest.
$ac_objext conftest
$ac_exeext
32910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32911 (eval $ac_link) 2>conftest.er1
32913 grep -v '^ *+' conftest.er1
>conftest.err
32915 cat conftest.err
>&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } &&
32918 { ac_try
='test -z "$ac_c_werror_flag"
32919 || test ! -s conftest.err'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; } &&
32925 { ac_try
='test -s conftest$ac_exeext'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; }; then
32931 eval "$as_ac_var=yes"
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.
$ac_ext >&5
32936 eval "$as_ac_var=no"
32938 rm -f conftest.err conftest.
$ac_objext \
32939 conftest
$ac_exeext conftest.
$ac_ext
32941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32943 if test `eval echo '${'$as_ac_var'}'` = yes; then
32944 cat >>confdefs.h
<<_ACEOF
32945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32953 for ac_header
in sched.h
32955 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32957 echo "$as_me:$LINENO: checking for $ac_header" >&5
32958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32960 echo $ECHO_N "(cached) $ECHO_C" >&6
32962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32965 # Is the header compilable?
32966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32968 cat >conftest.
$ac_ext <<_ACEOF
32971 cat confdefs.h
>>conftest.
$ac_ext
32972 cat >>conftest.
$ac_ext <<_ACEOF
32973 /* end confdefs.h. */
32974 $ac_includes_default
32975 #include <$ac_header>
32977 rm -f conftest.
$ac_objext
32978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32979 (eval $ac_compile) 2>conftest.er1
32981 grep -v '^ *+' conftest.er1
>conftest.err
32983 cat conftest.err
>&5
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); } &&
32986 { ac_try
='test -z "$ac_c_werror_flag"
32987 || test ! -s conftest.err'
32988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32989 (eval $ac_try) 2>&5
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); }; } &&
32993 { ac_try
='test -s conftest.$ac_objext'
32994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32995 (eval $ac_try) 2>&5
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); }; }; then
32999 ac_header_compiler
=yes
33001 echo "$as_me: failed program was:" >&5
33002 sed 's/^/| /' conftest.
$ac_ext >&5
33004 ac_header_compiler
=no
33006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33008 echo "${ECHO_T}$ac_header_compiler" >&6
33010 # Is the header present?
33011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33013 cat >conftest.
$ac_ext <<_ACEOF
33016 cat confdefs.h
>>conftest.
$ac_ext
33017 cat >>conftest.
$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33019 #include <$ac_header>
33021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33024 grep -v '^ *+' conftest.er1
>conftest.err
33026 cat conftest.err
>&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } >/dev
/null
; then
33029 if test -s conftest.err
; then
33030 ac_cpp_err
=$ac_c_preproc_warn_flag
33031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33038 if test -z "$ac_cpp_err"; then
33039 ac_header_preproc
=yes
33041 echo "$as_me: failed program was:" >&5
33042 sed 's/^/| /' conftest.
$ac_ext >&5
33044 ac_header_preproc
=no
33046 rm -f conftest.err conftest.
$ac_ext
33047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33048 echo "${ECHO_T}$ac_header_preproc" >&6
33050 # So? What about this header?
33051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33057 ac_header_preproc
=yes
33060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33074 ## ----------------------------------------- ##
33075 ## Report this to wx-dev@lists.wxwidgets.org ##
33076 ## ----------------------------------------- ##
33079 sed "s/^/$as_me: WARNING: /" >&2
33082 echo "$as_me:$LINENO: checking for $ac_header" >&5
33083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33085 echo $ECHO_N "(cached) $ECHO_C" >&6
33087 eval "$as_ac_Header=\$ac_header_preproc"
33089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33094 cat >>confdefs.h
<<_ACEOF
33095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33102 if test "$ac_cv_header_sched_h" = "yes"; then
33103 echo "$as_me:$LINENO: checking for sched_yield" >&5
33104 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33105 if test "${ac_cv_func_sched_yield+set}" = set; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33108 cat >conftest.
$ac_ext <<_ACEOF
33111 cat confdefs.h
>>conftest.
$ac_ext
33112 cat >>conftest.
$ac_ext <<_ACEOF
33113 /* end confdefs.h. */
33114 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33116 #define sched_yield innocuous_sched_yield
33118 /* System header to define __stub macros and hopefully few prototypes,
33119 which can conflict with char sched_yield (); below.
33120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33121 <limits.h> exists even on freestanding compilers. */
33124 # include <limits.h>
33126 # include <assert.h>
33131 /* Override any gcc2 internal prototype to avoid an error. */
33136 /* We use char because int might match the return type of a gcc2
33137 builtin and then its argument prototype would still apply. */
33138 char sched_yield ();
33139 /* The GNU C library defines this for functions which it implements
33140 to always fail with ENOSYS. Some functions are actually named
33141 something starting with __ and the normal name is an alias. */
33142 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33145 char (*f) () = sched_yield;
33154 return f != sched_yield;
33159 rm -f conftest.
$ac_objext conftest
$ac_exeext
33160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33161 (eval $ac_link) 2>conftest.er1
33163 grep -v '^ *+' conftest.er1
>conftest.err
33165 cat conftest.err
>&5
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); } &&
33168 { ac_try
='test -z "$ac_c_werror_flag"
33169 || test ! -s conftest.err'
33170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33171 (eval $ac_try) 2>&5
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); }; } &&
33175 { ac_try
='test -s conftest$ac_exeext'
33176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33177 (eval $ac_try) 2>&5
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); }; }; then
33181 ac_cv_func_sched_yield
=yes
33183 echo "$as_me: failed program was:" >&5
33184 sed 's/^/| /' conftest.
$ac_ext >&5
33186 ac_cv_func_sched_yield
=no
33188 rm -f conftest.err conftest.
$ac_objext \
33189 conftest
$ac_exeext conftest.
$ac_ext
33191 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33192 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33193 if test $ac_cv_func_sched_yield = yes; then
33194 cat >>confdefs.h
<<\_ACEOF
33195 #define HAVE_SCHED_YIELD 1
33200 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33201 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33202 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33203 echo $ECHO_N "(cached) $ECHO_C" >&6
33205 ac_check_lib_save_LIBS
=$LIBS
33206 LIBS
="-lposix4 $LIBS"
33207 cat >conftest.
$ac_ext <<_ACEOF
33210 cat confdefs.h
>>conftest.
$ac_ext
33211 cat >>conftest.
$ac_ext <<_ACEOF
33212 /* end confdefs.h. */
33214 /* Override any gcc2 internal prototype to avoid an error. */
33218 /* We use char because int might match the return type of a gcc2
33219 builtin and then its argument prototype would still apply. */
33220 char sched_yield ();
33229 rm -f conftest.
$ac_objext conftest
$ac_exeext
33230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33231 (eval $ac_link) 2>conftest.er1
33233 grep -v '^ *+' conftest.er1
>conftest.err
33235 cat conftest.err
>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } &&
33238 { ac_try
='test -z "$ac_c_werror_flag"
33239 || test ! -s conftest.err'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; } &&
33245 { ac_try
='test -s conftest$ac_exeext'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; }; then
33251 ac_cv_lib_posix4_sched_yield
=yes
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.
$ac_ext >&5
33256 ac_cv_lib_posix4_sched_yield
=no
33258 rm -f conftest.err conftest.
$ac_objext \
33259 conftest
$ac_exeext conftest.
$ac_ext
33260 LIBS
=$ac_check_lib_save_LIBS
33262 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33263 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33264 if test $ac_cv_lib_posix4_sched_yield = yes; then
33265 cat >>confdefs.h
<<\_ACEOF
33266 #define HAVE_SCHED_YIELD 1
33268 POSIX4_LINK
=" -lposix4"
33270 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33271 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33282 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33283 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33284 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33285 echo $ECHO_N "(cached) $ECHO_C" >&6
33287 cat >conftest.
$ac_ext <<_ACEOF
33290 cat confdefs.h
>>conftest.
$ac_ext
33291 cat >>conftest.
$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33295 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33297 /* System header to define __stub macros and hopefully few prototypes,
33298 which can conflict with char pthread_attr_getschedpolicy (); below.
33299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33300 <limits.h> exists even on freestanding compilers. */
33303 # include <limits.h>
33305 # include <assert.h>
33308 #undef pthread_attr_getschedpolicy
33310 /* Override any gcc2 internal prototype to avoid an error. */
33315 /* We use char because int might match the return type of a gcc2
33316 builtin and then its argument prototype would still apply. */
33317 char pthread_attr_getschedpolicy ();
33318 /* The GNU C library defines this for functions which it implements
33319 to always fail with ENOSYS. Some functions are actually named
33320 something starting with __ and the normal name is an alias. */
33321 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33324 char (*f) () = pthread_attr_getschedpolicy;
33333 return f != pthread_attr_getschedpolicy;
33338 rm -f conftest.
$ac_objext conftest
$ac_exeext
33339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33340 (eval $ac_link) 2>conftest.er1
33342 grep -v '^ *+' conftest.er1
>conftest.err
33344 cat conftest.err
>&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); } &&
33347 { ac_try
='test -z "$ac_c_werror_flag"
33348 || test ! -s conftest.err'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; } &&
33354 { ac_try
='test -s conftest$ac_exeext'
33355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33356 (eval $ac_try) 2>&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); }; }; then
33360 ac_cv_func_pthread_attr_getschedpolicy
=yes
33362 echo "$as_me: failed program was:" >&5
33363 sed 's/^/| /' conftest.
$ac_ext >&5
33365 ac_cv_func_pthread_attr_getschedpolicy
=no
33367 rm -f conftest.err conftest.
$ac_objext \
33368 conftest
$ac_exeext conftest.
$ac_ext
33370 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33371 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33372 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33373 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33374 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33375 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33376 echo $ECHO_N "(cached) $ECHO_C" >&6
33378 cat >conftest.
$ac_ext <<_ACEOF
33381 cat confdefs.h
>>conftest.
$ac_ext
33382 cat >>conftest.
$ac_ext <<_ACEOF
33383 /* end confdefs.h. */
33384 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33386 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33388 /* System header to define __stub macros and hopefully few prototypes,
33389 which can conflict with char pthread_attr_setschedparam (); below.
33390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33391 <limits.h> exists even on freestanding compilers. */
33394 # include <limits.h>
33396 # include <assert.h>
33399 #undef pthread_attr_setschedparam
33401 /* Override any gcc2 internal prototype to avoid an error. */
33406 /* We use char because int might match the return type of a gcc2
33407 builtin and then its argument prototype would still apply. */
33408 char pthread_attr_setschedparam ();
33409 /* The GNU C library defines this for functions which it implements
33410 to always fail with ENOSYS. Some functions are actually named
33411 something starting with __ and the normal name is an alias. */
33412 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33415 char (*f) () = pthread_attr_setschedparam;
33424 return f != pthread_attr_setschedparam;
33429 rm -f conftest.
$ac_objext conftest
$ac_exeext
33430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33431 (eval $ac_link) 2>conftest.er1
33433 grep -v '^ *+' conftest.er1
>conftest.err
33435 cat conftest.err
>&5
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); } &&
33438 { ac_try
='test -z "$ac_c_werror_flag"
33439 || test ! -s conftest.err'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; } &&
33445 { ac_try
='test -s conftest$ac_exeext'
33446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447 (eval $ac_try) 2>&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; }; then
33451 ac_cv_func_pthread_attr_setschedparam
=yes
33453 echo "$as_me: failed program was:" >&5
33454 sed 's/^/| /' conftest.
$ac_ext >&5
33456 ac_cv_func_pthread_attr_setschedparam
=no
33458 rm -f conftest.err conftest.
$ac_objext \
33459 conftest
$ac_exeext conftest.
$ac_ext
33461 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33462 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33463 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33464 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33465 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33466 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33467 echo $ECHO_N "(cached) $ECHO_C" >&6
33469 cat >conftest.
$ac_ext <<_ACEOF
33472 cat confdefs.h
>>conftest.
$ac_ext
33473 cat >>conftest.
$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33477 #define sched_get_priority_max innocuous_sched_get_priority_max
33479 /* System header to define __stub macros and hopefully few prototypes,
33480 which can conflict with char sched_get_priority_max (); below.
33481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33482 <limits.h> exists even on freestanding compilers. */
33485 # include <limits.h>
33487 # include <assert.h>
33490 #undef sched_get_priority_max
33492 /* Override any gcc2 internal prototype to avoid an error. */
33497 /* We use char because int might match the return type of a gcc2
33498 builtin and then its argument prototype would still apply. */
33499 char sched_get_priority_max ();
33500 /* The GNU C library defines this for functions which it implements
33501 to always fail with ENOSYS. Some functions are actually named
33502 something starting with __ and the normal name is an alias. */
33503 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33506 char (*f) () = sched_get_priority_max;
33515 return f != sched_get_priority_max;
33520 rm -f conftest.
$ac_objext conftest
$ac_exeext
33521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33522 (eval $ac_link) 2>conftest.er1
33524 grep -v '^ *+' conftest.er1
>conftest.err
33526 cat conftest.err
>&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); } &&
33529 { ac_try
='test -z "$ac_c_werror_flag"
33530 || test ! -s conftest.err'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; } &&
33536 { ac_try
='test -s conftest$ac_exeext'
33537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33538 (eval $ac_try) 2>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; }; then
33542 ac_cv_func_sched_get_priority_max
=yes
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.
$ac_ext >&5
33547 ac_cv_func_sched_get_priority_max
=no
33549 rm -f conftest.err conftest.
$ac_objext \
33550 conftest
$ac_exeext conftest.
$ac_ext
33552 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33553 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33554 if test $ac_cv_func_sched_get_priority_max = yes; then
33557 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33558 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33559 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33560 echo $ECHO_N "(cached) $ECHO_C" >&6
33562 ac_check_lib_save_LIBS
=$LIBS
33563 LIBS
="-lposix4 $LIBS"
33564 cat >conftest.
$ac_ext <<_ACEOF
33567 cat confdefs.h
>>conftest.
$ac_ext
33568 cat >>conftest.
$ac_ext <<_ACEOF
33569 /* end confdefs.h. */
33571 /* Override any gcc2 internal prototype to avoid an error. */
33575 /* We use char because int might match the return type of a gcc2
33576 builtin and then its argument prototype would still apply. */
33577 char sched_get_priority_max ();
33581 sched_get_priority_max ();
33586 rm -f conftest.
$ac_objext conftest
$ac_exeext
33587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33588 (eval $ac_link) 2>conftest.er1
33590 grep -v '^ *+' conftest.er1
>conftest.err
33592 cat conftest.err
>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); } &&
33595 { ac_try
='test -z "$ac_c_werror_flag"
33596 || test ! -s conftest.err'
33597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33598 (eval $ac_try) 2>&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); }; } &&
33602 { ac_try
='test -s conftest$ac_exeext'
33603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33604 (eval $ac_try) 2>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); }; }; then
33608 ac_cv_lib_posix4_sched_get_priority_max
=yes
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.
$ac_ext >&5
33613 ac_cv_lib_posix4_sched_get_priority_max
=no
33615 rm -f conftest.err conftest.
$ac_objext \
33616 conftest
$ac_exeext conftest.
$ac_ext
33617 LIBS
=$ac_check_lib_save_LIBS
33619 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33620 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33621 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33624 POSIX4_LINK
=" -lposix4"
33638 if test "$HAVE_PRIOR_FUNCS" = 1; then
33639 cat >>confdefs.h
<<\_ACEOF
33640 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33644 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33645 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33648 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33649 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33650 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33651 echo $ECHO_N "(cached) $ECHO_C" >&6
33653 cat >conftest.
$ac_ext <<_ACEOF
33656 cat confdefs.h
>>conftest.
$ac_ext
33657 cat >>conftest.
$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33659 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33661 #define pthread_cancel innocuous_pthread_cancel
33663 /* System header to define __stub macros and hopefully few prototypes,
33664 which can conflict with char pthread_cancel (); below.
33665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33666 <limits.h> exists even on freestanding compilers. */
33669 # include <limits.h>
33671 # include <assert.h>
33674 #undef pthread_cancel
33676 /* Override any gcc2 internal prototype to avoid an error. */
33681 /* We use char because int might match the return type of a gcc2
33682 builtin and then its argument prototype would still apply. */
33683 char pthread_cancel ();
33684 /* The GNU C library defines this for functions which it implements
33685 to always fail with ENOSYS. Some functions are actually named
33686 something starting with __ and the normal name is an alias. */
33687 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33690 char (*f) () = pthread_cancel;
33699 return f != pthread_cancel;
33704 rm -f conftest.
$ac_objext conftest
$ac_exeext
33705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33706 (eval $ac_link) 2>conftest.er1
33708 grep -v '^ *+' conftest.er1
>conftest.err
33710 cat conftest.err
>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } &&
33713 { ac_try
='test -z "$ac_c_werror_flag"
33714 || test ! -s conftest.err'
33715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33716 (eval $ac_try) 2>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); }; } &&
33720 { ac_try
='test -s conftest$ac_exeext'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; }; then
33726 ac_cv_func_pthread_cancel
=yes
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.
$ac_ext >&5
33731 ac_cv_func_pthread_cancel
=no
33733 rm -f conftest.err conftest.
$ac_objext \
33734 conftest
$ac_exeext conftest.
$ac_ext
33736 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33737 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33738 if test $ac_cv_func_pthread_cancel = yes; then
33739 cat >>confdefs.h
<<\_ACEOF
33740 #define HAVE_PTHREAD_CANCEL 1
33744 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33745 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33751 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33752 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33753 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 cat >conftest.
$ac_ext <<_ACEOF
33760 cat confdefs.h
>>conftest.
$ac_ext
33761 cat >>conftest.
$ac_ext <<_ACEOF
33762 /* end confdefs.h. */
33763 #include <pthread.h>
33768 pthread_mutexattr_t attr;
33769 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33775 rm -f conftest.
$ac_objext
33776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33777 (eval $ac_compile) 2>conftest.er1
33779 grep -v '^ *+' conftest.er1
>conftest.err
33781 cat conftest.err
>&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } &&
33784 { ac_try
='test -z "$ac_c_werror_flag"
33785 || test ! -s conftest.err'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; } &&
33791 { ac_try
='test -s conftest.$ac_objext'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; }; then
33798 wx_cv_type_pthread_mutexattr_t
=yes
33801 echo "$as_me: failed program was:" >&5
33802 sed 's/^/| /' conftest.
$ac_ext >&5
33805 wx_cv_type_pthread_mutexattr_t
=no
33809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33812 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33813 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33815 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33816 cat >>confdefs.h
<<\_ACEOF
33817 #define HAVE_PTHREAD_MUTEXATTR_T 1
33821 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33822 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33823 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33824 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 cat >conftest.
$ac_ext <<_ACEOF
33830 cat confdefs.h
>>conftest.
$ac_ext
33831 cat >>conftest.
$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833 #include <pthread.h>
33838 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33844 rm -f conftest.
$ac_objext
33845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33846 (eval $ac_compile) 2>conftest.er1
33848 grep -v '^ *+' conftest.er1
>conftest.err
33850 cat conftest.err
>&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } &&
33853 { ac_try
='test -z "$ac_c_werror_flag"
33854 || test ! -s conftest.err'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; } &&
33860 { ac_try
='test -s conftest.$ac_objext'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; }; then
33867 wx_cv_type_pthread_rec_mutex_init
=yes
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.
$ac_ext >&5
33874 wx_cv_type_pthread_rec_mutex_init
=no
33878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33881 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33882 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33883 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33884 cat >>confdefs.h
<<\_ACEOF
33885 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33889 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33890 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33896 if test "$wxUSE_THREADS" = "yes" ; then
33899 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33900 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33901 if test "${wx_cv_cflags_mthread+set}" = set; then
33902 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 CFLAGS_OLD
="$CFLAGS"
33906 CFLAGS
="$CFLAGS -mthreads"
33907 cat >conftest.
$ac_ext <<_ACEOF
33910 cat confdefs.h
>>conftest.
$ac_ext
33911 cat >>conftest.
$ac_ext <<_ACEOF
33912 /* end confdefs.h. */
33922 rm -f conftest.
$ac_objext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33924 (eval $ac_compile) 2>conftest.er1
33926 grep -v '^ *+' conftest.er1
>conftest.err
33928 cat conftest.err
>&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try
='test -z "$ac_c_werror_flag"
33932 || test ! -s conftest.err'
33933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33934 (eval $ac_try) 2>&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); }; } &&
33938 { ac_try
='test -s conftest.$ac_objext'
33939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33940 (eval $ac_try) 2>&5
33942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33943 (exit $ac_status); }; }; then
33944 wx_cv_cflags_mthread
=yes
33946 echo "$as_me: failed program was:" >&5
33947 sed 's/^/| /' conftest.
$ac_ext >&5
33949 wx_cv_cflags_mthread
=no
33952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33956 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33957 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33959 if test "$wx_cv_cflags_mthread" = "yes"; then
33960 CXXFLAGS
="$CXXFLAGS -mthreads"
33961 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33962 LDFLAGS
="$LDFLAGS -mthreads"
33964 CFLAGS
="$CFLAGS_OLD"
33968 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33969 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33970 LDFLAGS
="$LDFLAGS -Zmt"
33976 if test "$wxUSE_THREADS" = "yes"; then
33977 cat >>confdefs.h
<<\_ACEOF
33978 #define wxUSE_THREADS 1
33982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33984 if test "$ac_cv_func_strtok_r" = "yes"; then
33985 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33986 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33987 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33988 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33989 echo "$as_me:$LINENO: result: yes" >&5
33990 echo "${ECHO_T}yes" >&6
33992 echo "$as_me:$LINENO: result: no" >&5
33993 echo "${ECHO_T}no" >&6
33998 if test "$WXGTK20" = 1 ; then
33999 cat >>confdefs.h
<<_ACEOF
34000 #define __WXGTK20__ $WXGTK20
34006 if test "$WXGTK12" = 1 ; then
34007 cat >>confdefs.h
<<_ACEOF
34008 #define __WXGTK12__ $WXGTK12
34013 if test "$WXGTK127" = 1 ; then
34014 cat >>confdefs.h
<<_ACEOF
34015 #define __WXGTK127__ $WXGTK127
34020 if test "$WXGPE" = 1 ; then
34021 cat >>confdefs.h
<<_ACEOF
34022 #define __WXGPE__ $WXGPE
34029 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34034 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34035 wxUSE_DEBUG_INFO
=yes
34039 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34040 cat >>confdefs.h
<<\_ACEOF
34044 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34046 if test "$wxUSE_GTK" = 1 ; then
34047 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34051 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34052 cat >>confdefs.h
<<\_ACEOF
34053 #define wxUSE_MEMORY_TRACING 1
34056 cat >>confdefs.h
<<\_ACEOF
34057 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34060 cat >>confdefs.h
<<\_ACEOF
34061 #define wxUSE_DEBUG_NEW_ALWAYS 1
34064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34067 if test "$wxUSE_DMALLOC" = "yes" ; then
34068 DMALLOC_LIBS
="-ldmalloc"
34072 if test "$wxUSE_PROFILE" = "yes" ; then
34077 CODE_GEN_FLAGS_CXX
=
34078 if test "$GCC" = "yes" ; then
34079 if test "$wxUSE_NO_RTTI" = "yes" ; then
34080 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34082 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34083 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34085 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34086 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34091 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34094 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34100 if test "$wxUSE_OPTIMISE" = "no" ; then
34101 if test "$GCC" = yes ; then
34105 if test "$GCC" = yes ; then
34109 i586
-*-*|i686
-*-* )
34110 OPTIMISE
="${OPTIMISE} "
34119 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34120 cat >>confdefs.h
<<\_ACEOF
34121 #define WXWIN_COMPATIBILITY_2_2 1
34125 WXWIN_COMPATIBILITY_2_4
="yes"
34128 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34129 cat >>confdefs.h
<<\_ACEOF
34130 #define WXWIN_COMPATIBILITY_2_4 1
34136 if test "$wxUSE_GUI" = "yes"; then
34137 cat >>confdefs.h
<<\_ACEOF
34138 #define wxUSE_GUI 1
34145 if test "$wxUSE_UNIX" = "yes"; then
34146 cat >>confdefs.h
<<\_ACEOF
34147 #define wxUSE_UNIX 1
34153 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34157 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34158 if test "$USE_DARWIN" = 1; then
34162 for ac_func
in dlopen
34164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34165 echo "$as_me:$LINENO: checking for $ac_func" >&5
34166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34167 if eval "test \"\${$as_ac_var+set}\" = set"; then
34168 echo $ECHO_N "(cached) $ECHO_C" >&6
34170 cat >conftest.
$ac_ext <<_ACEOF
34173 cat confdefs.h
>>conftest.
$ac_ext
34174 cat >>conftest.
$ac_ext <<_ACEOF
34175 /* end confdefs.h. */
34176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34178 #define $ac_func innocuous_$ac_func
34180 /* System header to define __stub macros and hopefully few prototypes,
34181 which can conflict with char $ac_func (); below.
34182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34183 <limits.h> exists even on freestanding compilers. */
34186 # include <limits.h>
34188 # include <assert.h>
34193 /* Override any gcc2 internal prototype to avoid an error. */
34198 /* We use char because int might match the return type of a gcc2
34199 builtin and then its argument prototype would still apply. */
34201 /* The GNU C library defines this for functions which it implements
34202 to always fail with ENOSYS. Some functions are actually named
34203 something starting with __ and the normal name is an alias. */
34204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34207 char (*f) () = $ac_func;
34216 return f != $ac_func;
34221 rm -f conftest.
$ac_objext conftest
$ac_exeext
34222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34223 (eval $ac_link) 2>conftest.er1
34225 grep -v '^ *+' conftest.er1
>conftest.err
34227 cat conftest.err
>&5
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); } &&
34230 { ac_try
='test -z "$ac_c_werror_flag"
34231 || test ! -s conftest.err'
34232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34233 (eval $ac_try) 2>&5
34235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34236 (exit $ac_status); }; } &&
34237 { ac_try
='test -s conftest$ac_exeext'
34238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34239 (eval $ac_try) 2>&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); }; }; then
34243 eval "$as_ac_var=yes"
34245 echo "$as_me: failed program was:" >&5
34246 sed 's/^/| /' conftest.
$ac_ext >&5
34248 eval "$as_ac_var=no"
34250 rm -f conftest.err conftest.
$ac_objext \
34251 conftest
$ac_exeext conftest.
$ac_ext
34253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34255 if test `eval echo '${'$as_ac_var'}'` = yes; then
34256 cat >>confdefs.h
<<_ACEOF
34257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34260 cat >>confdefs.h
<<\_ACEOF
34261 #define HAVE_DLOPEN 1
34268 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34269 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34270 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34271 echo $ECHO_N "(cached) $ECHO_C" >&6
34273 ac_check_lib_save_LIBS
=$LIBS
34275 cat >conftest.
$ac_ext <<_ACEOF
34278 cat confdefs.h
>>conftest.
$ac_ext
34279 cat >>conftest.
$ac_ext <<_ACEOF
34280 /* end confdefs.h. */
34282 /* Override any gcc2 internal prototype to avoid an error. */
34286 /* We use char because int might match the return type of a gcc2
34287 builtin and then its argument prototype would still apply. */
34297 rm -f conftest.
$ac_objext conftest
$ac_exeext
34298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34299 (eval $ac_link) 2>conftest.er1
34301 grep -v '^ *+' conftest.er1
>conftest.err
34303 cat conftest.err
>&5
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); } &&
34306 { ac_try
='test -z "$ac_c_werror_flag"
34307 || test ! -s conftest.err'
34308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34309 (eval $ac_try) 2>&5
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); }; } &&
34313 { ac_try
='test -s conftest$ac_exeext'
34314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34315 (eval $ac_try) 2>&5
34317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34318 (exit $ac_status); }; }; then
34319 ac_cv_lib_dl_dlopen
=yes
34321 echo "$as_me: failed program was:" >&5
34322 sed 's/^/| /' conftest.
$ac_ext >&5
34324 ac_cv_lib_dl_dlopen
=no
34326 rm -f conftest.err conftest.
$ac_objext \
34327 conftest
$ac_exeext conftest.
$ac_ext
34328 LIBS
=$ac_check_lib_save_LIBS
34330 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34331 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34332 if test $ac_cv_lib_dl_dlopen = yes; then
34334 cat >>confdefs.h
<<\_ACEOF
34335 #define HAVE_DLOPEN 1
34339 DL_LINK
=" -ldl$DL_LINK"
34344 for ac_func
in shl_load
34346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34347 echo "$as_me:$LINENO: checking for $ac_func" >&5
34348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34349 if eval "test \"\${$as_ac_var+set}\" = set"; then
34350 echo $ECHO_N "(cached) $ECHO_C" >&6
34352 cat >conftest.
$ac_ext <<_ACEOF
34355 cat confdefs.h
>>conftest.
$ac_ext
34356 cat >>conftest.
$ac_ext <<_ACEOF
34357 /* end confdefs.h. */
34358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34360 #define $ac_func innocuous_$ac_func
34362 /* System header to define __stub macros and hopefully few prototypes,
34363 which can conflict with char $ac_func (); below.
34364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34365 <limits.h> exists even on freestanding compilers. */
34368 # include <limits.h>
34370 # include <assert.h>
34375 /* Override any gcc2 internal prototype to avoid an error. */
34380 /* We use char because int might match the return type of a gcc2
34381 builtin and then its argument prototype would still apply. */
34383 /* The GNU C library defines this for functions which it implements
34384 to always fail with ENOSYS. Some functions are actually named
34385 something starting with __ and the normal name is an alias. */
34386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34389 char (*f) () = $ac_func;
34398 return f != $ac_func;
34403 rm -f conftest.
$ac_objext conftest
$ac_exeext
34404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34405 (eval $ac_link) 2>conftest.er1
34407 grep -v '^ *+' conftest.er1
>conftest.err
34409 cat conftest.err
>&5
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); } &&
34412 { ac_try
='test -z "$ac_c_werror_flag"
34413 || test ! -s conftest.err'
34414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34415 (eval $ac_try) 2>&5
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; } &&
34419 { ac_try
='test -s conftest$ac_exeext'
34420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421 (eval $ac_try) 2>&5
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; }; then
34425 eval "$as_ac_var=yes"
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.
$ac_ext >&5
34430 eval "$as_ac_var=no"
34432 rm -f conftest.err conftest.
$ac_objext \
34433 conftest
$ac_exeext conftest.
$ac_ext
34435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34437 if test `eval echo '${'$as_ac_var'}'` = yes; then
34438 cat >>confdefs.h
<<_ACEOF
34439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34442 cat >>confdefs.h
<<\_ACEOF
34443 #define HAVE_SHL_LOAD 1
34450 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34451 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34452 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34453 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 ac_check_lib_save_LIBS
=$LIBS
34456 LIBS
="-lshl_load $LIBS"
34457 cat >conftest.
$ac_ext <<_ACEOF
34460 cat confdefs.h
>>conftest.
$ac_ext
34461 cat >>conftest.
$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34464 /* Override any gcc2 internal prototype to avoid an error. */
34468 /* We use char because int might match the return type of a gcc2
34469 builtin and then its argument prototype would still apply. */
34479 rm -f conftest.
$ac_objext conftest
$ac_exeext
34480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34481 (eval $ac_link) 2>conftest.er1
34483 grep -v '^ *+' conftest.er1
>conftest.err
34485 cat conftest.err
>&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } &&
34488 { ac_try
='test -z "$ac_c_werror_flag"
34489 || test ! -s conftest.err'
34490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34491 (eval $ac_try) 2>&5
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); }; } &&
34495 { ac_try
='test -s conftest$ac_exeext'
34496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34497 (eval $ac_try) 2>&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); }; }; then
34501 ac_cv_lib_shl_load_dld
=yes
34503 echo "$as_me: failed program was:" >&5
34504 sed 's/^/| /' conftest.
$ac_ext >&5
34506 ac_cv_lib_shl_load_dld
=no
34508 rm -f conftest.err conftest.
$ac_objext \
34509 conftest
$ac_exeext conftest.
$ac_ext
34510 LIBS
=$ac_check_lib_save_LIBS
34512 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34513 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34514 if test $ac_cv_lib_shl_load_dld = yes; then
34517 DL_LINK
=" -ldld$DL_LINK"
34533 if test "$HAVE_DL_FUNCS" = 1; then
34535 for ac_func
in dlerror
34537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34538 echo "$as_me:$LINENO: checking for $ac_func" >&5
34539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34540 if eval "test \"\${$as_ac_var+set}\" = set"; then
34541 echo $ECHO_N "(cached) $ECHO_C" >&6
34543 cat >conftest.
$ac_ext <<_ACEOF
34546 cat confdefs.h
>>conftest.
$ac_ext
34547 cat >>conftest.
$ac_ext <<_ACEOF
34548 /* end confdefs.h. */
34549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34551 #define $ac_func innocuous_$ac_func
34553 /* System header to define __stub macros and hopefully few prototypes,
34554 which can conflict with char $ac_func (); below.
34555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34556 <limits.h> exists even on freestanding compilers. */
34559 # include <limits.h>
34561 # include <assert.h>
34566 /* Override any gcc2 internal prototype to avoid an error. */
34571 /* We use char because int might match the return type of a gcc2
34572 builtin and then its argument prototype would still apply. */
34574 /* The GNU C library defines this for functions which it implements
34575 to always fail with ENOSYS. Some functions are actually named
34576 something starting with __ and the normal name is an alias. */
34577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34580 char (*f) () = $ac_func;
34589 return f != $ac_func;
34594 rm -f conftest.
$ac_objext conftest
$ac_exeext
34595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34596 (eval $ac_link) 2>conftest.er1
34598 grep -v '^ *+' conftest.er1
>conftest.err
34600 cat conftest.err
>&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } &&
34603 { ac_try
='test -z "$ac_c_werror_flag"
34604 || test ! -s conftest.err'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; } &&
34610 { ac_try
='test -s conftest$ac_exeext'
34611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34612 (eval $ac_try) 2>&5
34614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615 (exit $ac_status); }; }; then
34616 eval "$as_ac_var=yes"
34618 echo "$as_me: failed program was:" >&5
34619 sed 's/^/| /' conftest.
$ac_ext >&5
34621 eval "$as_ac_var=no"
34623 rm -f conftest.err conftest.
$ac_objext \
34624 conftest
$ac_exeext conftest.
$ac_ext
34626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34628 if test `eval echo '${'$as_ac_var'}'` = yes; then
34629 cat >>confdefs.h
<<_ACEOF
34630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34632 cat >>confdefs.h
<<\_ACEOF
34633 #define HAVE_DLERROR 1
34638 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34639 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34640 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34643 ac_check_lib_save_LIBS
=$LIBS
34645 cat >conftest.
$ac_ext <<_ACEOF
34648 cat confdefs.h
>>conftest.
$ac_ext
34649 cat >>conftest.
$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34652 /* Override any gcc2 internal prototype to avoid an error. */
34656 /* We use char because int might match the return type of a gcc2
34657 builtin and then its argument prototype would still apply. */
34667 rm -f conftest.
$ac_objext conftest
$ac_exeext
34668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34669 (eval $ac_link) 2>conftest.er1
34671 grep -v '^ *+' conftest.er1
>conftest.err
34673 cat conftest.err
>&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); } &&
34676 { ac_try
='test -z "$ac_c_werror_flag"
34677 || test ! -s conftest.err'
34678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34679 (eval $ac_try) 2>&5
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); }; } &&
34683 { ac_try
='test -s conftest$ac_exeext'
34684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34685 (eval $ac_try) 2>&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); }; }; then
34689 ac_cv_lib_dl_dlerror
=yes
34691 echo "$as_me: failed program was:" >&5
34692 sed 's/^/| /' conftest.
$ac_ext >&5
34694 ac_cv_lib_dl_dlerror
=no
34696 rm -f conftest.err conftest.
$ac_objext \
34697 conftest
$ac_exeext conftest.
$ac_ext
34698 LIBS
=$ac_check_lib_save_LIBS
34700 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34701 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34702 if test $ac_cv_lib_dl_dlerror = yes; then
34703 cat >>confdefs.h
<<\_ACEOF
34704 #define HAVE_DLERROR 1
34717 if test "$HAVE_DL_FUNCS" = 0; then
34718 if test "$HAVE_SHL_FUNCS" = 0; then
34719 if test "$USE_UNIX" = 1; then
34720 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34721 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34722 wxUSE_DYNAMIC_LOADER
=no
34723 wxUSE_DYNLIB_CLASS
=no
34725 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34726 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34733 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34734 cat >>confdefs.h
<<\_ACEOF
34735 #define wxUSE_DYNAMIC_LOADER 1
34739 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34740 cat >>confdefs.h
<<\_ACEOF
34741 #define wxUSE_DYNLIB_CLASS 1
34748 if test "$wxUSE_PLUGINS" = "yes" ; then
34749 if test "$wxUSE_SHARED" = "no" ; then
34750 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34751 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34754 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34755 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34756 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34759 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34760 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34761 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34764 if test "$wxUSE_PLUGINS" = "yes" ; then
34765 cat >>confdefs.h
<<\_ACEOF
34766 #define wxUSE_PLUGINS 1
34773 if test "$wxUSE_STL" = "yes"; then
34774 cat >>confdefs.h
<<\_ACEOF
34775 #define wxUSE_STL 1
34780 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34781 cat >>confdefs.h
<<\_ACEOF
34782 #define wxUSE_APPLE_IEEE 1
34787 if test "$wxUSE_TIMER" = "yes"; then
34788 cat >>confdefs.h
<<\_ACEOF
34789 #define wxUSE_TIMER 1
34795 if test "$wxUSE_SOUND" = "yes"; then
34796 if test "$USE_UNIX" = "1" ; then
34798 for ac_header
in sys
/soundcard.h
34800 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34802 echo "$as_me:$LINENO: checking for $ac_header" >&5
34803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34805 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34810 # Is the header compilable?
34811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34813 cat >conftest.
$ac_ext <<_ACEOF
34816 cat confdefs.h
>>conftest.
$ac_ext
34817 cat >>conftest.
$ac_ext <<_ACEOF
34818 /* end confdefs.h. */
34819 $ac_includes_default
34820 #include <$ac_header>
34822 rm -f conftest.
$ac_objext
34823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34824 (eval $ac_compile) 2>conftest.er1
34826 grep -v '^ *+' conftest.er1
>conftest.err
34828 cat conftest.err
>&5
34829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34830 (exit $ac_status); } &&
34831 { ac_try
='test -z "$ac_c_werror_flag"
34832 || test ! -s conftest.err'
34833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34834 (eval $ac_try) 2>&5
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); }; } &&
34838 { ac_try
='test -s conftest.$ac_objext'
34839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34840 (eval $ac_try) 2>&5
34842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34843 (exit $ac_status); }; }; then
34844 ac_header_compiler
=yes
34846 echo "$as_me: failed program was:" >&5
34847 sed 's/^/| /' conftest.
$ac_ext >&5
34849 ac_header_compiler
=no
34851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34853 echo "${ECHO_T}$ac_header_compiler" >&6
34855 # Is the header present?
34856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34858 cat >conftest.
$ac_ext <<_ACEOF
34861 cat confdefs.h
>>conftest.
$ac_ext
34862 cat >>conftest.
$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864 #include <$ac_header>
34866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34869 grep -v '^ *+' conftest.er1
>conftest.err
34871 cat conftest.err
>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } >/dev
/null
; then
34874 if test -s conftest.err
; then
34875 ac_cpp_err
=$ac_c_preproc_warn_flag
34876 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34883 if test -z "$ac_cpp_err"; then
34884 ac_header_preproc
=yes
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.
$ac_ext >&5
34889 ac_header_preproc
=no
34891 rm -f conftest.err conftest.
$ac_ext
34892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34893 echo "${ECHO_T}$ac_header_preproc" >&6
34895 # So? What about this header?
34896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34902 ac_header_preproc
=yes
34905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34919 ## ----------------------------------------- ##
34920 ## Report this to wx-dev@lists.wxwidgets.org ##
34921 ## ----------------------------------------- ##
34924 sed "s/^/$as_me: WARNING: /" >&2
34927 echo "$as_me:$LINENO: checking for $ac_header" >&5
34928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 eval "$as_ac_Header=\$ac_header_preproc"
34934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34939 cat >>confdefs.h
<<_ACEOF
34940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34948 if test "$wxUSE_LIBSDL" != "no"; then
34950 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34951 if test "${with_sdl_prefix+set}" = set; then
34952 withval
="$with_sdl_prefix"
34953 sdl_prefix
="$withval"
34958 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34959 if test "${with_sdl_exec_prefix+set}" = set; then
34960 withval
="$with_sdl_exec_prefix"
34961 sdl_exec_prefix
="$withval"
34965 # Check whether --enable-sdltest or --disable-sdltest was given.
34966 if test "${enable_sdltest+set}" = set; then
34967 enableval
="$enable_sdltest"
34973 if test x
$sdl_exec_prefix != x
; then
34974 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34975 if test x
${SDL_CONFIG+set} != xset
; then
34976 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34979 if test x
$sdl_prefix != x
; then
34980 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34981 if test x
${SDL_CONFIG+set} != xset
; then
34982 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34987 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34988 # Extract the first word of "sdl-config", so it can be a program name with args.
34989 set dummy sdl
-config; ac_word
=$2
34990 echo "$as_me:$LINENO: checking for $ac_word" >&5
34991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34992 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34993 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 case $SDL_CONFIG in
34997 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35001 for as_dir
in $PATH
35004 test -z "$as_dir" && as_dir
=.
35005 for ac_exec_ext
in '' $ac_executable_extensions; do
35006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35007 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35014 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35018 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35020 if test -n "$SDL_CONFIG"; then
35021 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35022 echo "${ECHO_T}$SDL_CONFIG" >&6
35024 echo "$as_me:$LINENO: result: no" >&5
35025 echo "${ECHO_T}no" >&6
35028 min_sdl_version
=1.2.0
35029 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35030 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35032 if test "$SDL_CONFIG" = "no" ; then
35035 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35036 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35038 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35040 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35042 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35044 if test "x$enable_sdltest" = "xyes" ; then
35045 ac_save_CFLAGS
="$CFLAGS"
35046 ac_save_LIBS
="$LIBS"
35047 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35048 LIBS
="$LIBS $SDL_LIBS"
35050 if test "$cross_compiling" = yes; then
35051 echo $ac_n "cross compiling; assumed OK... $ac_c"
35053 cat >conftest.
$ac_ext <<_ACEOF
35056 cat confdefs.h
>>conftest.
$ac_ext
35057 cat >>conftest.
$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35061 #include <stdlib.h>
35062 #include <string.h>
35066 my_strdup (char *str)
35072 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35073 strcpy (new_str, str);
35081 int main (int argc, char *argv[])
35083 int major, minor, micro;
35086 /* This hangs on some systems (?)
35087 system ("touch conf.sdltest");
35089 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35091 /* HP/UX 9 (%@#!) writes to sscanf strings */
35092 tmp_version = my_strdup("$min_sdl_version");
35093 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35094 printf("%s, bad version string\n", "$min_sdl_version");
35098 if (($sdl_major_version > major) ||
35099 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35100 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35106 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35107 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35108 printf("*** best to upgrade to the required version.\n");
35109 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35110 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35111 printf("*** config.cache before re-running configure\n");
35118 rm -f conftest
$ac_exeext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35120 (eval $ac_link) 2>&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; }; then
35131 echo "$as_me: program exited with status $ac_status" >&5
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.
$ac_ext >&5
35135 ( exit $ac_status )
35138 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35140 CFLAGS
="$ac_save_CFLAGS"
35141 LIBS
="$ac_save_LIBS"
35144 if test "x$no_sdl" = x
; then
35145 echo "$as_me:$LINENO: result: yes" >&5
35146 echo "${ECHO_T}yes" >&6
35148 EXTRALIBS_SDL
="$SDL_LIBS"
35149 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35150 cat >>confdefs.h
<<\_ACEOF
35151 #define wxUSE_LIBSDL 1
35156 echo "$as_me:$LINENO: result: no" >&5
35157 echo "${ECHO_T}no" >&6
35158 if test "$SDL_CONFIG" = "no" ; then
35159 echo "*** The sdl-config script installed by SDL could not be found"
35160 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35161 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35162 echo "*** full path to sdl-config."
35164 if test -f conf.sdltest
; then
35167 echo "*** Could not run SDL test program, checking why..."
35168 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35169 LIBS
="$LIBS $SDL_LIBS"
35170 cat >conftest.
$ac_ext <<_ACEOF
35173 cat confdefs.h
>>conftest.
$ac_ext
35174 cat >>conftest.
$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35180 int main(int argc, char *argv[])
35183 #define main K_and_R_C_main
35193 rm -f conftest.
$ac_objext conftest
$ac_exeext
35194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35195 (eval $ac_link) 2>conftest.er1
35197 grep -v '^ *+' conftest.er1
>conftest.err
35199 cat conftest.err
>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } &&
35202 { ac_try
='test -z "$ac_c_werror_flag"
35203 || test ! -s conftest.err'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; } &&
35209 { ac_try
='test -s conftest$ac_exeext'
35210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35211 (eval $ac_try) 2>&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); }; }; then
35215 echo "*** The test program compiled, but did not run. This usually means"
35216 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35217 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35220 echo "*** is required on your system"
35222 echo "*** If you have an old version installed, it is best to remove it, although"
35223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35225 echo "$as_me: failed program was:" >&5
35226 sed 's/^/| /' conftest.
$ac_ext >&5
35228 echo "*** The test program failed to compile or link. See the file config.log for the"
35229 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35230 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35231 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35233 rm -f conftest.err conftest.
$ac_objext \
35234 conftest
$ac_exeext conftest.
$ac_ext
35235 CFLAGS
="$ac_save_CFLAGS"
35236 LIBS
="$ac_save_LIBS"
35247 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35253 cat >>confdefs.h
<<\_ACEOF
35254 #define wxUSE_SOUND 1
35257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35260 if test "$WXGTK20" = 1; then
35261 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35262 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35267 if test -z "$PKG_CONFIG"; then
35268 # Extract the first word of "pkg-config", so it can be a program name with args.
35269 set dummy pkg
-config; ac_word
=$2
35270 echo "$as_me:$LINENO: checking for $ac_word" >&5
35271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35272 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 case $PKG_CONFIG in
35277 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35281 for as_dir
in $PATH
35284 test -z "$as_dir" && as_dir
=.
35285 for ac_exec_ext
in '' $ac_executable_extensions; do
35286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35287 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35294 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
35298 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35300 if test -n "$PKG_CONFIG"; then
35301 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35302 echo "${ECHO_T}$PKG_CONFIG" >&6
35304 echo "$as_me:$LINENO: result: no" >&5
35305 echo "${ECHO_T}no" >&6
35310 if test "$PKG_CONFIG" = "no" ; then
35311 echo "*** The pkg-config script could not be found. Make sure it is"
35312 echo "*** in your path, or set the PKG_CONFIG environment variable"
35313 echo "*** to the full path to pkg-config."
35314 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35316 PKG_CONFIG_MIN_VERSION
=0.9.0
35317 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35318 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35319 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35321 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35322 echo "$as_me:$LINENO: result: yes" >&5
35323 echo "${ECHO_T}yes" >&6
35326 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35327 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35328 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35329 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35330 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35332 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35333 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35334 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35335 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35336 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35338 LIBGNOMEPRINTUI_CFLAGS
=""
35339 LIBGNOMEPRINTUI_LIBS
=""
35340 ## If we have a custom action on failure, don't print errors, but
35341 ## do set a variable so people can do so.
35342 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35349 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35350 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35354 if test $succeeded = yes; then
35356 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35357 cat >>confdefs.h
<<\_ACEOF
35358 #define wxUSE_LIBGNOMEPRINT 1
35364 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35365 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35366 wxUSE_LIBGNOMEPRINT
="no"
35376 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35377 cat >>confdefs.h
<<\_ACEOF
35378 #define wxUSE_CMDLINE_PARSER 1
35383 if test "$wxUSE_STOPWATCH" = "yes"; then
35384 cat >>confdefs.h
<<\_ACEOF
35385 #define wxUSE_STOPWATCH 1
35390 if test "$wxUSE_DATETIME" = "yes"; then
35391 cat >>confdefs.h
<<\_ACEOF
35392 #define wxUSE_DATETIME 1
35397 if test "$wxUSE_FILE" = "yes"; then
35398 cat >>confdefs.h
<<\_ACEOF
35399 #define wxUSE_FILE 1
35404 if test "$wxUSE_FFILE" = "yes"; then
35405 cat >>confdefs.h
<<\_ACEOF
35406 #define wxUSE_FFILE 1
35411 if test "$wxUSE_FILESYSTEM" = "yes"; then
35412 cat >>confdefs.h
<<\_ACEOF
35413 #define wxUSE_FILESYSTEM 1
35418 if test "$wxUSE_FS_ZIP" = "yes"; then
35419 cat >>confdefs.h
<<\_ACEOF
35420 #define wxUSE_FS_ZIP 1
35425 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
35426 cat >>confdefs.h
<<\_ACEOF
35427 #define wxUSE_ARCHIVE_STREAMS 1
35432 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35433 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
35434 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
35435 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
35436 elif test "$wxUSE_ZLIB" = "no"; then
35437 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
35438 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
35440 cat >>confdefs.h
<<\_ACEOF
35441 #define wxUSE_ZIPSTREAM 1
35447 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35448 cat >>confdefs.h
<<\_ACEOF
35449 #define wxUSE_ON_FATAL_EXCEPTION 1
35454 if test "$wxUSE_STACKWALKER" = "yes"; then
35455 cat >>confdefs.h
<<\_ACEOF
35456 #define wxUSE_STACKWALKER 1
35461 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35462 cat >>confdefs.h
<<\_ACEOF
35463 #define wxUSE_SNGLINST_CHECKER 1
35468 if test "$wxUSE_BUSYINFO" = "yes"; then
35469 cat >>confdefs.h
<<\_ACEOF
35470 #define wxUSE_BUSYINFO 1
35475 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35476 cat >>confdefs.h
<<\_ACEOF
35477 #define wxUSE_STD_IOSTREAM 1
35482 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35483 cat >>confdefs.h
<<\_ACEOF
35484 #define wxUSE_TEXTBUFFER 1
35489 if test "$wxUSE_TEXTFILE" = "yes"; then
35490 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35491 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35492 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35494 cat >>confdefs.h
<<\_ACEOF
35495 #define wxUSE_TEXTFILE 1
35501 if test "$wxUSE_CONFIG" = "yes" ; then
35502 if test "$wxUSE_TEXTFILE" != "yes"; then
35503 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35504 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35506 cat >>confdefs.h
<<\_ACEOF
35507 #define wxUSE_CONFIG 1
35510 cat >>confdefs.h
<<\_ACEOF
35511 #define wxUSE_CONFIG_NATIVE 1
35514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35518 if test "$wxUSE_INTL" = "yes" ; then
35519 if test "$wxUSE_FILE" != "yes"; then
35520 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35521 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35523 cat >>confdefs.h
<<\_ACEOF
35524 #define wxUSE_INTL 1
35527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35528 GUIDIST
="$GUIDIST INTL_DIST"
35532 if test "$wxUSE_LOG" = "yes"; then
35533 cat >>confdefs.h
<<\_ACEOF
35534 #define wxUSE_LOG 1
35538 if test "$wxUSE_LOGGUI" = "yes"; then
35539 cat >>confdefs.h
<<\_ACEOF
35540 #define wxUSE_LOGGUI 1
35545 if test "$wxUSE_LOGWINDOW" = "yes"; then
35546 cat >>confdefs.h
<<\_ACEOF
35547 #define wxUSE_LOGWINDOW 1
35552 if test "$wxUSE_LOGDIALOG" = "yes"; then
35553 cat >>confdefs.h
<<\_ACEOF
35554 #define wxUSE_LOG_DIALOG 1
35560 if test "$wxUSE_LONGLONG" = "yes"; then
35561 cat >>confdefs.h
<<\_ACEOF
35562 #define wxUSE_LONGLONG 1
35567 if test "$wxUSE_GEOMETRY" = "yes"; then
35568 cat >>confdefs.h
<<\_ACEOF
35569 #define wxUSE_GEOMETRY 1
35574 if test "$wxUSE_STREAMS" = "yes" ; then
35575 cat >>confdefs.h
<<\_ACEOF
35576 #define wxUSE_STREAMS 1
35582 if test "$wxUSE_DATETIME" = "yes"; then
35584 for ac_func
in strptime
35586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35587 echo "$as_me:$LINENO: checking for $ac_func" >&5
35588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35589 if eval "test \"\${$as_ac_var+set}\" = set"; then
35590 echo $ECHO_N "(cached) $ECHO_C" >&6
35592 cat >conftest.
$ac_ext <<_ACEOF
35595 cat confdefs.h
>>conftest.
$ac_ext
35596 cat >>conftest.
$ac_ext <<_ACEOF
35597 /* end confdefs.h. */
35598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35600 #define $ac_func innocuous_$ac_func
35602 /* System header to define __stub macros and hopefully few prototypes,
35603 which can conflict with char $ac_func (); below.
35604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35605 <limits.h> exists even on freestanding compilers. */
35608 # include <limits.h>
35610 # include <assert.h>
35615 /* Override any gcc2 internal prototype to avoid an error. */
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35623 /* The GNU C library defines this for functions which it implements
35624 to always fail with ENOSYS. Some functions are actually named
35625 something starting with __ and the normal name is an alias. */
35626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35629 char (*f) () = $ac_func;
35638 return f != $ac_func;
35643 rm -f conftest.
$ac_objext conftest
$ac_exeext
35644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35645 (eval $ac_link) 2>conftest.er1
35647 grep -v '^ *+' conftest.er1
>conftest.err
35649 cat conftest.err
>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); } &&
35652 { ac_try
='test -z "$ac_c_werror_flag"
35653 || test ! -s conftest.err'
35654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35655 (eval $ac_try) 2>&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); }; } &&
35659 { ac_try
='test -s conftest$ac_exeext'
35660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661 (eval $ac_try) 2>&5
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; }; then
35665 eval "$as_ac_var=yes"
35667 echo "$as_me: failed program was:" >&5
35668 sed 's/^/| /' conftest.
$ac_ext >&5
35670 eval "$as_ac_var=no"
35672 rm -f conftest.err conftest.
$ac_objext \
35673 conftest
$ac_exeext conftest.
$ac_ext
35675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35677 if test `eval echo '${'$as_ac_var'}'` = yes; then
35678 cat >>confdefs.h
<<_ACEOF
35679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35686 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35687 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35688 if test "${wx_cv_var_timezone+set}" = set; then
35689 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 cat >conftest.
$ac_ext <<_ACEOF
35695 cat confdefs.h
>>conftest.
$ac_ext
35696 cat >>conftest.
$ac_ext <<_ACEOF
35697 /* end confdefs.h. */
35712 rm -f conftest.
$ac_objext
35713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35714 (eval $ac_compile) 2>conftest.er1
35716 grep -v '^ *+' conftest.er1
>conftest.err
35718 cat conftest.err
>&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); } &&
35721 { ac_try
='test -z "$ac_c_werror_flag"
35722 || test ! -s conftest.err'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try
='test -s conftest.$ac_objext'
35729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730 (eval $ac_try) 2>&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); }; }; then
35735 wx_cv_var_timezone
=timezone
35738 echo "$as_me: failed program was:" >&5
35739 sed 's/^/| /' conftest.
$ac_ext >&5
35742 cat >conftest.
$ac_ext <<_ACEOF
35745 cat confdefs.h
>>conftest.
$ac_ext
35746 cat >>conftest.
$ac_ext <<_ACEOF
35747 /* end confdefs.h. */
35762 rm -f conftest.
$ac_objext
35763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35764 (eval $ac_compile) 2>conftest.er1
35766 grep -v '^ *+' conftest.er1
>conftest.err
35768 cat conftest.err
>&5
35769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770 (exit $ac_status); } &&
35771 { ac_try
='test -z "$ac_c_werror_flag"
35772 || test ! -s conftest.err'
35773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35774 (eval $ac_try) 2>&5
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 (exit $ac_status); }; } &&
35778 { ac_try
='test -s conftest.$ac_objext'
35779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35780 (eval $ac_try) 2>&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); }; }; then
35785 wx_cv_var_timezone
=_timezone
35788 echo "$as_me: failed program was:" >&5
35789 sed 's/^/| /' conftest.
$ac_ext >&5
35792 cat >conftest.
$ac_ext <<_ACEOF
35795 cat confdefs.h
>>conftest.
$ac_ext
35796 cat >>conftest.
$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35812 rm -f conftest.
$ac_objext
35813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35814 (eval $ac_compile) 2>conftest.er1
35816 grep -v '^ *+' conftest.er1
>conftest.err
35818 cat conftest.err
>&5
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); } &&
35821 { ac_try
='test -z "$ac_c_werror_flag"
35822 || test ! -s conftest.err'
35823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35824 (eval $ac_try) 2>&5
35826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827 (exit $ac_status); }; } &&
35828 { ac_try
='test -s conftest.$ac_objext'
35829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35830 (eval $ac_try) 2>&5
35832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35833 (exit $ac_status); }; }; then
35835 wx_cv_var_timezone
=__timezone
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.
$ac_ext >&5
35842 if test "$USE_DOS" = 0 ; then
35843 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35844 echo "$as_me: WARNING: no timezone variable" >&2;}
35849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35861 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35862 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35864 if test "x$wx_cv_var_timezone" != x
; then
35865 cat >>confdefs.h
<<_ACEOF
35866 #define WX_TIMEZONE $wx_cv_var_timezone
35872 for ac_func
in localtime
35874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35875 echo "$as_me:$LINENO: checking for $ac_func" >&5
35876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35877 if eval "test \"\${$as_ac_var+set}\" = set"; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 cat >conftest.
$ac_ext <<_ACEOF
35883 cat confdefs.h
>>conftest.
$ac_ext
35884 cat >>conftest.
$ac_ext <<_ACEOF
35885 /* end confdefs.h. */
35886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35888 #define $ac_func innocuous_$ac_func
35890 /* System header to define __stub macros and hopefully few prototypes,
35891 which can conflict with char $ac_func (); below.
35892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35893 <limits.h> exists even on freestanding compilers. */
35896 # include <limits.h>
35898 # include <assert.h>
35903 /* Override any gcc2 internal prototype to avoid an error. */
35908 /* We use char because int might match the return type of a gcc2
35909 builtin and then its argument prototype would still apply. */
35911 /* The GNU C library defines this for functions which it implements
35912 to always fail with ENOSYS. Some functions are actually named
35913 something starting with __ and the normal name is an alias. */
35914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35917 char (*f) () = $ac_func;
35926 return f != $ac_func;
35931 rm -f conftest.
$ac_objext conftest
$ac_exeext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35933 (eval $ac_link) 2>conftest.er1
35935 grep -v '^ *+' conftest.er1
>conftest.err
35937 cat conftest.err
>&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); } &&
35940 { ac_try
='test -z "$ac_c_werror_flag"
35941 || test ! -s conftest.err'
35942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35943 (eval $ac_try) 2>&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); }; } &&
35947 { ac_try
='test -s conftest$ac_exeext'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; }; then
35953 eval "$as_ac_var=yes"
35955 echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.
$ac_ext >&5
35958 eval "$as_ac_var=no"
35960 rm -f conftest.err conftest.
$ac_objext \
35961 conftest
$ac_exeext conftest.
$ac_ext
35963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35965 if test `eval echo '${'$as_ac_var'}'` = yes; then
35966 cat >>confdefs.h
<<_ACEOF
35967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35974 if test "$ac_cv_func_localtime" = "yes"; then
35975 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35976 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35977 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35978 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 cat >conftest.
$ac_ext <<_ACEOF
35984 cat confdefs.h
>>conftest.
$ac_ext
35985 cat >>conftest.
$ac_ext <<_ACEOF
35986 /* end confdefs.h. */
36001 rm -f conftest.
$ac_objext
36002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36003 (eval $ac_compile) 2>conftest.er1
36005 grep -v '^ *+' conftest.er1
>conftest.err
36007 cat conftest.err
>&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); } &&
36010 { ac_try
='test -z "$ac_c_werror_flag"
36011 || test ! -s conftest.err'
36012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36013 (eval $ac_try) 2>&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); }; } &&
36017 { ac_try
='test -s conftest.$ac_objext'
36018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36019 (eval $ac_try) 2>&5
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); }; }; then
36024 wx_cv_struct_tm_has_gmtoff
=yes
36027 echo "$as_me: failed program was:" >&5
36028 sed 's/^/| /' conftest.
$ac_ext >&5
36030 wx_cv_struct_tm_has_gmtoff
=no
36033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36036 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36037 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36040 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36041 cat >>confdefs.h
<<\_ACEOF
36042 #define WX_GMTOFF_IN_TM 1
36049 for ac_func
in gettimeofday ftime
36051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36052 echo "$as_me:$LINENO: checking for $ac_func" >&5
36053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36054 if eval "test \"\${$as_ac_var+set}\" = set"; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36057 cat >conftest.
$ac_ext <<_ACEOF
36060 cat confdefs.h
>>conftest.
$ac_ext
36061 cat >>conftest.
$ac_ext <<_ACEOF
36062 /* end confdefs.h. */
36063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36065 #define $ac_func innocuous_$ac_func
36067 /* System header to define __stub macros and hopefully few prototypes,
36068 which can conflict with char $ac_func (); below.
36069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36070 <limits.h> exists even on freestanding compilers. */
36073 # include <limits.h>
36075 # include <assert.h>
36080 /* Override any gcc2 internal prototype to avoid an error. */
36085 /* We use char because int might match the return type of a gcc2
36086 builtin and then its argument prototype would still apply. */
36088 /* The GNU C library defines this for functions which it implements
36089 to always fail with ENOSYS. Some functions are actually named
36090 something starting with __ and the normal name is an alias. */
36091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36094 char (*f) () = $ac_func;
36103 return f != $ac_func;
36108 rm -f conftest.
$ac_objext conftest
$ac_exeext
36109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36110 (eval $ac_link) 2>conftest.er1
36112 grep -v '^ *+' conftest.er1
>conftest.err
36114 cat conftest.err
>&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); } &&
36117 { ac_try
='test -z "$ac_c_werror_flag"
36118 || test ! -s conftest.err'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; } &&
36124 { ac_try
='test -s conftest$ac_exeext'
36125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36126 (eval $ac_try) 2>&5
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); }; }; then
36130 eval "$as_ac_var=yes"
36132 echo "$as_me: failed program was:" >&5
36133 sed 's/^/| /' conftest.
$ac_ext >&5
36135 eval "$as_ac_var=no"
36137 rm -f conftest.err conftest.
$ac_objext \
36138 conftest
$ac_exeext conftest.
$ac_ext
36140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36142 if test `eval echo '${'$as_ac_var'}'` = yes; then
36143 cat >>confdefs.h
<<_ACEOF
36144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36151 if test "$ac_cv_func_gettimeofday" = "yes"; then
36152 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36153 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36154 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36155 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 ac_cpp
='$CXXCPP $CPPFLAGS'
36162 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36163 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36164 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36167 cat >conftest.
$ac_ext <<_ACEOF
36170 cat confdefs.h
>>conftest.
$ac_ext
36171 cat >>conftest.
$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36174 #include <sys/time.h>
36175 #include <unistd.h>
36182 gettimeofday(&tv, NULL);
36188 rm -f conftest.
$ac_objext
36189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36190 (eval $ac_compile) 2>conftest.er1
36192 grep -v '^ *+' conftest.er1
>conftest.err
36194 cat conftest.err
>&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } &&
36197 { ac_try
='test -z "$ac_cxx_werror_flag"
36198 || test ! -s conftest.err'
36199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36200 (eval $ac_try) 2>&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); }; } &&
36204 { ac_try
='test -s conftest.$ac_objext'
36205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36206 (eval $ac_try) 2>&5
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); }; }; then
36210 wx_cv_func_gettimeofday_has_2_args
=yes
36212 echo "$as_me: failed program was:" >&5
36213 sed 's/^/| /' conftest.
$ac_ext >&5
36215 cat >conftest.
$ac_ext <<_ACEOF
36218 cat confdefs.h
>>conftest.
$ac_ext
36219 cat >>conftest.
$ac_ext <<_ACEOF
36220 /* end confdefs.h. */
36222 #include <sys/time.h>
36223 #include <unistd.h>
36236 rm -f conftest.
$ac_objext
36237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36238 (eval $ac_compile) 2>conftest.er1
36240 grep -v '^ *+' conftest.er1
>conftest.err
36242 cat conftest.err
>&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); } &&
36245 { ac_try
='test -z "$ac_cxx_werror_flag"
36246 || test ! -s conftest.err'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; } &&
36252 { ac_try
='test -s conftest.$ac_objext'
36253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36254 (eval $ac_try) 2>&5
36256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36257 (exit $ac_status); }; }; then
36258 wx_cv_func_gettimeofday_has_2_args
=no
36260 echo "$as_me: failed program was:" >&5
36261 sed 's/^/| /' conftest.
$ac_ext >&5
36264 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36265 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36266 wx_cv_func_gettimeofday_has_2_args
=unknown
36270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36275 ac_cpp
='$CPP $CPPFLAGS'
36276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36282 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36283 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36285 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36286 cat >>confdefs.h
<<\_ACEOF
36287 #define WX_GETTIMEOFDAY_NO_TZ 1
36293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36297 if test "$wxUSE_SOCKETS" = "yes"; then
36298 if test "$wxUSE_MGL" = "1"; then
36299 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36300 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36305 if test "$wxUSE_SOCKETS" = "yes"; then
36306 if test "$TOOLKIT" != "MSW"; then
36307 echo "$as_me:$LINENO: checking for socket" >&5
36308 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36309 if test "${ac_cv_func_socket+set}" = set; then
36310 echo $ECHO_N "(cached) $ECHO_C" >&6
36312 cat >conftest.
$ac_ext <<_ACEOF
36315 cat confdefs.h
>>conftest.
$ac_ext
36316 cat >>conftest.
$ac_ext <<_ACEOF
36317 /* end confdefs.h. */
36318 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36320 #define socket innocuous_socket
36322 /* System header to define __stub macros and hopefully few prototypes,
36323 which can conflict with char socket (); below.
36324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36325 <limits.h> exists even on freestanding compilers. */
36328 # include <limits.h>
36330 # include <assert.h>
36335 /* Override any gcc2 internal prototype to avoid an error. */
36340 /* We use char because int might match the return type of a gcc2
36341 builtin and then its argument prototype would still apply. */
36343 /* The GNU C library defines this for functions which it implements
36344 to always fail with ENOSYS. Some functions are actually named
36345 something starting with __ and the normal name is an alias. */
36346 #if defined (__stub_socket) || defined (__stub___socket)
36349 char (*f) () = socket;
36358 return f != socket;
36363 rm -f conftest.
$ac_objext conftest
$ac_exeext
36364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36365 (eval $ac_link) 2>conftest.er1
36367 grep -v '^ *+' conftest.er1
>conftest.err
36369 cat conftest.err
>&5
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); } &&
36372 { ac_try
='test -z "$ac_c_werror_flag"
36373 || test ! -s conftest.err'
36374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36375 (eval $ac_try) 2>&5
36377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36378 (exit $ac_status); }; } &&
36379 { ac_try
='test -s conftest$ac_exeext'
36380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36381 (eval $ac_try) 2>&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); }; }; then
36385 ac_cv_func_socket
=yes
36387 echo "$as_me: failed program was:" >&5
36388 sed 's/^/| /' conftest.
$ac_ext >&5
36390 ac_cv_func_socket
=no
36392 rm -f conftest.err conftest.
$ac_objext \
36393 conftest
$ac_exeext conftest.
$ac_ext
36395 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36396 echo "${ECHO_T}$ac_cv_func_socket" >&6
36397 if test $ac_cv_func_socket = yes; then
36401 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36402 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36403 if test "${ac_cv_lib_socket_socket+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36406 ac_check_lib_save_LIBS
=$LIBS
36407 LIBS
="-lsocket $LIBS"
36408 cat >conftest.
$ac_ext <<_ACEOF
36411 cat confdefs.h
>>conftest.
$ac_ext
36412 cat >>conftest.
$ac_ext <<_ACEOF
36413 /* end confdefs.h. */
36415 /* Override any gcc2 internal prototype to avoid an error. */
36419 /* We use char because int might match the return type of a gcc2
36420 builtin and then its argument prototype would still apply. */
36430 rm -f conftest.
$ac_objext conftest
$ac_exeext
36431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36432 (eval $ac_link) 2>conftest.er1
36434 grep -v '^ *+' conftest.er1
>conftest.err
36436 cat conftest.err
>&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); } &&
36439 { ac_try
='test -z "$ac_c_werror_flag"
36440 || test ! -s conftest.err'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; } &&
36446 { ac_try
='test -s conftest$ac_exeext'
36447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36448 (eval $ac_try) 2>&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); }; }; then
36452 ac_cv_lib_socket_socket
=yes
36454 echo "$as_me: failed program was:" >&5
36455 sed 's/^/| /' conftest.
$ac_ext >&5
36457 ac_cv_lib_socket_socket
=no
36459 rm -f conftest.err conftest.
$ac_objext \
36460 conftest
$ac_exeext conftest.
$ac_ext
36461 LIBS
=$ac_check_lib_save_LIBS
36463 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36464 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36465 if test $ac_cv_lib_socket_socket = yes; then
36466 if test "$INET_LINK" != " -lsocket"; then
36467 INET_LINK
="$INET_LINK -lsocket"
36471 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36472 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36485 if test "$wxUSE_SOCKETS" = "yes" ; then
36486 if test "$TOOLKIT" != "MSW"; then
36488 ac_cpp
='$CXXCPP $CPPFLAGS'
36489 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36493 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36494 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36495 if test "${wx_cv_type_getsockname3+set}" = set; then
36496 echo $ECHO_N "(cached) $ECHO_C" >&6
36499 cat >conftest.
$ac_ext <<_ACEOF
36502 cat confdefs.h
>>conftest.
$ac_ext
36503 cat >>conftest.
$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36506 #include <sys/types.h>
36507 #include <sys/socket.h>
36514 getsockname(0, 0, &len);
36520 rm -f conftest.
$ac_objext
36521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36522 (eval $ac_compile) 2>conftest.er1
36524 grep -v '^ *+' conftest.er1
>conftest.err
36526 cat conftest.err
>&5
36527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36528 (exit $ac_status); } &&
36529 { ac_try
='test -z "$ac_cxx_werror_flag"
36530 || test ! -s conftest.err'
36531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36532 (eval $ac_try) 2>&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); }; } &&
36536 { ac_try
='test -s conftest.$ac_objext'
36537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36538 (eval $ac_try) 2>&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); }; }; then
36542 wx_cv_type_getsockname3
=socklen_t
36544 echo "$as_me: failed program was:" >&5
36545 sed 's/^/| /' conftest.
$ac_ext >&5
36548 CFLAGS_OLD
="$CFLAGS"
36549 if test "$GCC" = yes ; then
36550 CFLAGS
="$CFLAGS -Werror"
36553 cat >conftest.
$ac_ext <<_ACEOF
36556 cat confdefs.h
>>conftest.
$ac_ext
36557 cat >>conftest.
$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36560 #include <sys/types.h>
36561 #include <sys/socket.h>
36568 getsockname(0, 0, &len);
36574 rm -f conftest.
$ac_objext
36575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36576 (eval $ac_compile) 2>conftest.er1
36578 grep -v '^ *+' conftest.er1
>conftest.err
36580 cat conftest.err
>&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); } &&
36583 { ac_try
='test -z "$ac_cxx_werror_flag"
36584 || test ! -s conftest.err'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; } &&
36590 { ac_try
='test -s conftest.$ac_objext'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; }; then
36596 wx_cv_type_getsockname3
=size_t
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.
$ac_ext >&5
36601 cat >conftest.
$ac_ext <<_ACEOF
36604 cat confdefs.h
>>conftest.
$ac_ext
36605 cat >>conftest.
$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36608 #include <sys/types.h>
36609 #include <sys/socket.h>
36616 getsockname(0, 0, &len);
36622 rm -f conftest.
$ac_objext
36623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36624 (eval $ac_compile) 2>conftest.er1
36626 grep -v '^ *+' conftest.er1
>conftest.err
36628 cat conftest.err
>&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } &&
36631 { ac_try
='test -z "$ac_cxx_werror_flag"
36632 || test ! -s conftest.err'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; } &&
36638 { ac_try
='test -s conftest.$ac_objext'
36639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640 (eval $ac_try) 2>&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); }; }; then
36644 wx_cv_type_getsockname3
=int
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.
$ac_ext >&5
36649 wx_cv_type_getsockname3
=unknown
36652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36657 CFLAGS
="$CFLAGS_OLD"
36661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36664 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36665 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36667 if test "$wx_cv_type_getsockname3" = "unknown"; then
36669 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36670 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36672 cat >>confdefs.h
<<_ACEOF
36673 #define SOCKLEN_T $wx_cv_type_getsockname3
36677 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36678 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36679 if test "${wx_cv_type_getsockopt5+set}" = set; then
36680 echo $ECHO_N "(cached) $ECHO_C" >&6
36683 cat >conftest.
$ac_ext <<_ACEOF
36686 cat confdefs.h
>>conftest.
$ac_ext
36687 cat >>conftest.
$ac_ext <<_ACEOF
36688 /* end confdefs.h. */
36690 #include <sys/types.h>
36691 #include <sys/socket.h>
36698 getsockopt(0, 0, 0, 0, &len);
36704 rm -f conftest.
$ac_objext
36705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36706 (eval $ac_compile) 2>conftest.er1
36708 grep -v '^ *+' conftest.er1
>conftest.err
36710 cat conftest.err
>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); } &&
36713 { ac_try
='test -z "$ac_cxx_werror_flag"
36714 || test ! -s conftest.err'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; } &&
36720 { ac_try
='test -s conftest.$ac_objext'
36721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36722 (eval $ac_try) 2>&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); }; }; then
36726 wx_cv_type_getsockopt5
=socklen_t
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.
$ac_ext >&5
36732 CFLAGS_OLD
="$CFLAGS"
36733 if test "$GCC" = yes ; then
36734 CFLAGS
="$CFLAGS -Werror"
36737 cat >conftest.
$ac_ext <<_ACEOF
36740 cat confdefs.h
>>conftest.
$ac_ext
36741 cat >>conftest.
$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36744 #include <sys/types.h>
36745 #include <sys/socket.h>
36752 getsockopt(0, 0, 0, 0, &len);
36758 rm -f conftest.
$ac_objext
36759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36760 (eval $ac_compile) 2>conftest.er1
36762 grep -v '^ *+' conftest.er1
>conftest.err
36764 cat conftest.err
>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); } &&
36767 { ac_try
='test -z "$ac_cxx_werror_flag"
36768 || test ! -s conftest.err'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; } &&
36774 { ac_try
='test -s conftest.$ac_objext'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; }; then
36780 wx_cv_type_getsockopt5
=size_t
36782 echo "$as_me: failed program was:" >&5
36783 sed 's/^/| /' conftest.
$ac_ext >&5
36785 cat >conftest.
$ac_ext <<_ACEOF
36788 cat confdefs.h
>>conftest.
$ac_ext
36789 cat >>conftest.
$ac_ext <<_ACEOF
36790 /* end confdefs.h. */
36792 #include <sys/types.h>
36793 #include <sys/socket.h>
36800 getsockopt(0, 0, 0, 0, &len);
36806 rm -f conftest.
$ac_objext
36807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36808 (eval $ac_compile) 2>conftest.er1
36810 grep -v '^ *+' conftest.er1
>conftest.err
36812 cat conftest.err
>&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } &&
36815 { ac_try
='test -z "$ac_cxx_werror_flag"
36816 || test ! -s conftest.err'
36817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36818 (eval $ac_try) 2>&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); }; } &&
36822 { ac_try
='test -s conftest.$ac_objext'
36823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824 (eval $ac_try) 2>&5
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); }; }; then
36828 wx_cv_type_getsockopt5
=int
36830 echo "$as_me: failed program was:" >&5
36831 sed 's/^/| /' conftest.
$ac_ext >&5
36833 wx_cv_type_getsockopt5
=unknown
36836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36841 CFLAGS
="$CFLAGS_OLD"
36845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36848 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36849 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36851 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36853 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36854 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36856 cat >>confdefs.h
<<_ACEOF
36857 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36862 ac_cpp
='$CPP $CPPFLAGS'
36863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36870 if test "$wxUSE_SOCKETS" = "yes" ; then
36871 cat >>confdefs.h
<<\_ACEOF
36872 #define wxUSE_SOCKETS 1
36875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36878 if test "$wxUSE_PROTOCOL" = "yes"; then
36879 if test "$wxUSE_SOCKETS" != "yes"; then
36880 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36881 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36886 if test "$wxUSE_PROTOCOL" = "yes"; then
36887 cat >>confdefs.h
<<\_ACEOF
36888 #define wxUSE_PROTOCOL 1
36892 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36893 cat >>confdefs.h
<<\_ACEOF
36894 #define wxUSE_PROTOCOL_HTTP 1
36898 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36899 cat >>confdefs.h
<<\_ACEOF
36900 #define wxUSE_PROTOCOL_FTP 1
36904 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36905 cat >>confdefs.h
<<\_ACEOF
36906 #define wxUSE_PROTOCOL_FILE 1
36911 if test "$wxUSE_FS_INET" = "yes"; then
36912 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36913 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36918 if test "$wxUSE_URL" = "yes"; then
36919 if test "$wxUSE_PROTOCOL" != "yes"; then
36920 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36921 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36924 if test "$wxUSE_URL" = "yes"; then
36925 cat >>confdefs.h
<<\_ACEOF
36926 #define wxUSE_URL 1
36932 if test "$wxUSE_FS_INET" = "yes"; then
36933 cat >>confdefs.h
<<\_ACEOF
36934 #define wxUSE_FS_INET 1
36940 if test "$wxUSE_GUI" = "yes"; then
36941 if test "$wxUSE_JOYSTICK" = "yes"; then
36943 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
36945 for ac_header
in linux
/joystick.h
36947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36949 echo "$as_me:$LINENO: checking for $ac_header" >&5
36950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36952 echo $ECHO_N "(cached) $ECHO_C" >&6
36954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36957 # Is the header compilable?
36958 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36960 cat >conftest.
$ac_ext <<_ACEOF
36963 cat confdefs.h
>>conftest.
$ac_ext
36964 cat >>conftest.
$ac_ext <<_ACEOF
36965 /* end confdefs.h. */
36966 $ac_includes_default
36967 #include <$ac_header>
36969 rm -f conftest.
$ac_objext
36970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36971 (eval $ac_compile) 2>conftest.er1
36973 grep -v '^ *+' conftest.er1
>conftest.err
36975 cat conftest.err
>&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); } &&
36978 { ac_try
='test -z "$ac_c_werror_flag"
36979 || test ! -s conftest.err'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; } &&
36985 { ac_try
='test -s conftest.$ac_objext'
36986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36987 (eval $ac_try) 2>&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; }; then
36991 ac_header_compiler
=yes
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.
$ac_ext >&5
36996 ac_header_compiler
=no
36998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37000 echo "${ECHO_T}$ac_header_compiler" >&6
37002 # Is the header present?
37003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37005 cat >conftest.
$ac_ext <<_ACEOF
37008 cat confdefs.h
>>conftest.
$ac_ext
37009 cat >>conftest.
$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 #include <$ac_header>
37013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37016 grep -v '^ *+' conftest.er1
>conftest.err
37018 cat conftest.err
>&5
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); } >/dev
/null
; then
37021 if test -s conftest.err
; then
37022 ac_cpp_err
=$ac_c_preproc_warn_flag
37023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37030 if test -z "$ac_cpp_err"; then
37031 ac_header_preproc
=yes
37033 echo "$as_me: failed program was:" >&5
37034 sed 's/^/| /' conftest.
$ac_ext >&5
37036 ac_header_preproc
=no
37038 rm -f conftest.err conftest.
$ac_ext
37039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37040 echo "${ECHO_T}$ac_header_preproc" >&6
37042 # So? What about this header?
37043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37048 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37049 ac_header_preproc
=yes
37052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37056 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37057 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37058 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37059 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37062 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37066 ## ----------------------------------------- ##
37067 ## Report this to wx-dev@lists.wxwidgets.org ##
37068 ## ----------------------------------------- ##
37071 sed "s/^/$as_me: WARNING: /" >&2
37074 echo "$as_me:$LINENO: checking for $ac_header" >&5
37075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37077 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 eval "$as_ac_Header=\$ac_header_preproc"
37081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37086 cat >>confdefs.h
<<_ACEOF
37087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37094 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37096 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37097 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37100 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
37102 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37103 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37108 if test "$wxUSE_JOYSTICK" = "yes"; then
37109 cat >>confdefs.h
<<\_ACEOF
37110 #define wxUSE_JOYSTICK 1
37113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37120 if test "$wxUSE_FONTMAP" = "yes" ; then
37121 cat >>confdefs.h
<<\_ACEOF
37122 #define wxUSE_FONTMAP 1
37127 if test "$wxUSE_UNICODE" = "yes" ; then
37128 cat >>confdefs.h
<<\_ACEOF
37129 #define wxUSE_UNICODE 1
37133 if test "$USE_WIN32" != 1; then
37134 wxUSE_UNICODE_MSLU
=no
37137 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37138 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37139 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37140 if test "${ac_cv_lib_unicows_main+set}" = set; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37143 ac_check_lib_save_LIBS
=$LIBS
37144 LIBS
="-lunicows $LIBS"
37145 cat >conftest.
$ac_ext <<_ACEOF
37148 cat confdefs.h
>>conftest.
$ac_ext
37149 cat >>conftest.
$ac_ext <<_ACEOF
37150 /* end confdefs.h. */
37161 rm -f conftest.
$ac_objext conftest
$ac_exeext
37162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37163 (eval $ac_link) 2>conftest.er1
37165 grep -v '^ *+' conftest.er1
>conftest.err
37167 cat conftest.err
>&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } &&
37170 { ac_try
='test -z "$ac_c_werror_flag"
37171 || test ! -s conftest.err'
37172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37173 (eval $ac_try) 2>&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); }; } &&
37177 { ac_try
='test -s conftest$ac_exeext'
37178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37179 (eval $ac_try) 2>&5
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); }; }; then
37183 ac_cv_lib_unicows_main
=yes
37185 echo "$as_me: failed program was:" >&5
37186 sed 's/^/| /' conftest.
$ac_ext >&5
37188 ac_cv_lib_unicows_main
=no
37190 rm -f conftest.err conftest.
$ac_objext \
37191 conftest
$ac_exeext conftest.
$ac_ext
37192 LIBS
=$ac_check_lib_save_LIBS
37194 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37195 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37196 if test $ac_cv_lib_unicows_main = yes; then
37198 cat >>confdefs.h
<<\_ACEOF
37199 #define wxUSE_UNICODE_MSLU 1
37205 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37206 Applications will only run on Windows NT/2000/XP!" >&5
37207 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37208 Applications will only run on Windows NT/2000/XP!" >&2;}
37209 wxUSE_UNICODE_MSLU
=no
37216 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37217 cat >>confdefs.h
<<\_ACEOF
37218 #define wxUSE_EXPERIMENTAL_PRINTF 1
37224 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37225 cat >>confdefs.h
<<\_ACEOF
37226 #define wxUSE_POSTSCRIPT 1
37231 cat >>confdefs.h
<<\_ACEOF
37232 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37236 cat >>confdefs.h
<<\_ACEOF
37237 #define wxUSE_NORMALIZED_PS_FONTS 1
37242 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37243 cat >>confdefs.h
<<\_ACEOF
37244 #define wxUSE_CONSTRAINTS 1
37247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37250 if test "$wxUSE_MDI" = "yes"; then
37251 cat >>confdefs.h
<<\_ACEOF
37252 #define wxUSE_MDI 1
37256 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37257 cat >>confdefs.h
<<\_ACEOF
37258 #define wxUSE_MDI_ARCHITECTURE 1
37261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37265 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37266 cat >>confdefs.h
<<\_ACEOF
37267 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37271 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37276 if test "$wxUSE_HELP" = "yes"; then
37277 cat >>confdefs.h
<<\_ACEOF
37278 #define wxUSE_HELP 1
37281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37283 if test "$wxUSE_MSW" = 1; then
37284 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37285 cat >>confdefs.h
<<\_ACEOF
37286 #define wxUSE_MS_HTML_HELP 1
37292 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37293 if test "$wxUSE_HTML" = "yes"; then
37294 cat >>confdefs.h
<<\_ACEOF
37295 #define wxUSE_WXHTML_HELP 1
37299 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37300 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37301 wxUSE_WXHTML_HELP
=no
37306 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37308 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37309 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37311 cat >>confdefs.h
<<\_ACEOF
37312 #define wxUSE_PRINTING_ARCHITECTURE 1
37316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37319 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37320 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37321 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37322 { (exit 1); exit 1; }; }
37326 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37327 -o "$wxUSE_CLIPBOARD" = "yes" \
37328 -o "$wxUSE_OLE" = "yes" \
37329 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37331 for ac_header
in ole2.h
37333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37335 echo "$as_me:$LINENO: checking for $ac_header" >&5
37336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37343 # Is the header compilable?
37344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37346 cat >conftest.
$ac_ext <<_ACEOF
37349 cat confdefs.h
>>conftest.
$ac_ext
37350 cat >>conftest.
$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 $ac_includes_default
37353 #include <$ac_header>
37355 rm -f conftest.
$ac_objext
37356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37357 (eval $ac_compile) 2>conftest.er1
37359 grep -v '^ *+' conftest.er1
>conftest.err
37361 cat conftest.err
>&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); } &&
37364 { ac_try
='test -z "$ac_c_werror_flag"
37365 || test ! -s conftest.err'
37366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37367 (eval $ac_try) 2>&5
37369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37370 (exit $ac_status); }; } &&
37371 { ac_try
='test -s conftest.$ac_objext'
37372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37373 (eval $ac_try) 2>&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); }; }; then
37377 ac_header_compiler
=yes
37379 echo "$as_me: failed program was:" >&5
37380 sed 's/^/| /' conftest.
$ac_ext >&5
37382 ac_header_compiler
=no
37384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37386 echo "${ECHO_T}$ac_header_compiler" >&6
37388 # Is the header present?
37389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37391 cat >conftest.
$ac_ext <<_ACEOF
37394 cat confdefs.h
>>conftest.
$ac_ext
37395 cat >>conftest.
$ac_ext <<_ACEOF
37396 /* end confdefs.h. */
37397 #include <$ac_header>
37399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37402 grep -v '^ *+' conftest.er1
>conftest.err
37404 cat conftest.err
>&5
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); } >/dev
/null
; then
37407 if test -s conftest.err
; then
37408 ac_cpp_err
=$ac_c_preproc_warn_flag
37409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37416 if test -z "$ac_cpp_err"; then
37417 ac_header_preproc
=yes
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.
$ac_ext >&5
37422 ac_header_preproc
=no
37424 rm -f conftest.err conftest.
$ac_ext
37425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37426 echo "${ECHO_T}$ac_header_preproc" >&6
37428 # So? What about this header?
37429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37435 ac_header_preproc
=yes
37438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37452 ## ----------------------------------------- ##
37453 ## Report this to wx-dev@lists.wxwidgets.org ##
37454 ## ----------------------------------------- ##
37457 sed "s/^/$as_me: WARNING: /" >&2
37460 echo "$as_me:$LINENO: checking for $ac_header" >&5
37461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37463 echo $ECHO_N "(cached) $ECHO_C" >&6
37465 eval "$as_ac_Header=\$ac_header_preproc"
37467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37472 cat >>confdefs.h
<<_ACEOF
37473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37481 if test "$ac_cv_header_ole2_h" = "yes" ; then
37482 if test "$GCC" = yes ; then
37486 ac_cpp
='$CXXCPP $CPPFLAGS'
37487 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37492 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37493 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37494 cat >conftest.
$ac_ext <<_ACEOF
37497 cat confdefs.h
>>conftest.
$ac_ext
37498 cat >>conftest.
$ac_ext <<_ACEOF
37499 /* end confdefs.h. */
37500 #include <windows.h>
37510 rm -f conftest.
$ac_objext
37511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37512 (eval $ac_compile) 2>conftest.er1
37514 grep -v '^ *+' conftest.er1
>conftest.err
37516 cat conftest.err
>&5
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); } &&
37519 { ac_try
='test -z "$ac_cxx_werror_flag"
37520 || test ! -s conftest.err'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; } &&
37526 { ac_try
='test -s conftest.$ac_objext'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; }; then
37532 echo "$as_me:$LINENO: result: no" >&5
37533 echo "${ECHO_T}no" >&6
37535 echo "$as_me: failed program was:" >&5
37536 sed 's/^/| /' conftest.
$ac_ext >&5
37538 echo "$as_me:$LINENO: result: yes" >&5
37539 echo "${ECHO_T}yes" >&6
37540 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37544 ac_cpp
='$CPP $CPPFLAGS'
37545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37549 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37550 if test "$wxUSE_OLE" = "yes" ; then
37551 cat >>confdefs.h
<<\_ACEOF
37552 #define wxUSE_OLE 1
37558 if test "$wxUSE_DATAOBJ" = "yes" ; then
37559 cat >>confdefs.h
<<\_ACEOF
37560 #define wxUSE_DATAOBJ 1
37565 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37566 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37569 wxUSE_DRAG_AND_DROP
=no
37574 if test "$wxUSE_METAFILE" = "yes"; then
37575 cat >>confdefs.h
<<\_ACEOF
37576 #define wxUSE_METAFILE 1
37580 cat >>confdefs.h
<<\_ACEOF
37581 #define wxUSE_ENH_METAFILE 1
37587 if test "$wxUSE_IPC" = "yes"; then
37588 if test "$wxUSE_SOCKETS" != "yes"; then
37589 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37590 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37593 cat >>confdefs.h
<<\_ACEOF
37594 #define wxUSE_IPC 1
37599 if test "$wxUSE_CLIPBOARD" = "yes"; then
37600 if test "$wxUSE_MGL" = 1; then
37601 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37602 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37606 if test "$wxUSE_CLIPBOARD" = "yes"; then
37607 cat >>confdefs.h
<<\_ACEOF
37608 #define wxUSE_CLIPBOARD 1
37612 cat >>confdefs.h
<<\_ACEOF
37613 #define wxUSE_DATAOBJ 1
37619 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37620 if test "$wxUSE_GTK" = 1; then
37621 if test "$WXGTK12" != 1; then
37622 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37623 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37624 wxUSE_DRAG_AND_DROP
=no
37628 if test "$wxUSE_MOTIF" = 1; then
37629 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37630 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37631 wxUSE_DRAG_AND_DROP
=no
37634 if test "$wxUSE_X11" = 1; then
37635 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37636 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37637 wxUSE_DRAG_AND_DROP
=no
37640 if test "$wxUSE_MGL" = 1; then
37641 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37642 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37643 wxUSE_DRAG_AND_DROP
=no
37646 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37647 cat >>confdefs.h
<<\_ACEOF
37648 #define wxUSE_DRAG_AND_DROP 1
37655 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37659 if test "$wxUSE_SPLINES" = "yes" ; then
37660 cat >>confdefs.h
<<\_ACEOF
37661 #define wxUSE_SPLINES 1
37668 if test "$wxUSE_CONTROLS" = "yes"; then
37672 if test "$wxUSE_ACCEL" = "yes"; then
37673 cat >>confdefs.h
<<\_ACEOF
37674 #define wxUSE_ACCEL 1
37680 if test "$wxUSE_BUTTON" = "yes"; then
37681 cat >>confdefs.h
<<\_ACEOF
37682 #define wxUSE_BUTTON 1
37688 if test "$wxUSE_BMPBUTTON" = "yes"; then
37689 cat >>confdefs.h
<<\_ACEOF
37690 #define wxUSE_BMPBUTTON 1
37696 if test "$wxUSE_CALCTRL" = "yes"; then
37697 cat >>confdefs.h
<<\_ACEOF
37698 #define wxUSE_CALENDARCTRL 1
37702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37705 if test "$wxUSE_CARET" = "yes"; then
37706 cat >>confdefs.h
<<\_ACEOF
37707 #define wxUSE_CARET 1
37711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37714 if test "$wxUSE_COMBOBOX" = "yes"; then
37715 cat >>confdefs.h
<<\_ACEOF
37716 #define wxUSE_COMBOBOX 1
37722 if test "$wxUSE_CHOICE" = "yes"; then
37723 cat >>confdefs.h
<<\_ACEOF
37724 #define wxUSE_CHOICE 1
37730 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37731 cat >>confdefs.h
<<\_ACEOF
37732 #define wxUSE_CHOICEBOOK 1
37738 if test "$wxUSE_CHECKBOX" = "yes"; then
37739 cat >>confdefs.h
<<\_ACEOF
37740 #define wxUSE_CHECKBOX 1
37746 if test "$wxUSE_CHECKLST" = "yes"; then
37747 cat >>confdefs.h
<<\_ACEOF
37748 #define wxUSE_CHECKLISTBOX 1
37752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37755 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37756 cat >>confdefs.h
<<\_ACEOF
37757 #define wxUSE_DATEPICKCTRL 1
37763 if test "$wxUSE_DISPLAY" = "yes"; then
37764 cat >>confdefs.h
<<\_ACEOF
37765 #define wxUSE_DISPLAY 1
37768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37771 if test "$wxUSE_GAUGE" = "yes"; then
37772 cat >>confdefs.h
<<\_ACEOF
37773 #define wxUSE_GAUGE 1
37779 if test "$wxUSE_GRID" = "yes"; then
37780 cat >>confdefs.h
<<\_ACEOF
37781 #define wxUSE_GRID 1
37785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37788 if test "$wxUSE_IMAGLIST" = "yes"; then
37789 cat >>confdefs.h
<<\_ACEOF
37790 #define wxUSE_IMAGLIST 1
37795 if test "$wxUSE_LISTBOOK" = "yes"; then
37796 cat >>confdefs.h
<<\_ACEOF
37797 #define wxUSE_LISTBOOK 1
37803 if test "$wxUSE_LISTBOX" = "yes"; then
37804 cat >>confdefs.h
<<\_ACEOF
37805 #define wxUSE_LISTBOX 1
37811 if test "$wxUSE_LISTCTRL" = "yes"; then
37812 if test "$wxUSE_IMAGLIST" = "yes"; then
37813 cat >>confdefs.h
<<\_ACEOF
37814 #define wxUSE_LISTCTRL 1
37818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37820 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37821 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37825 if test "$wxUSE_NOTEBOOK" = "yes"; then
37826 cat >>confdefs.h
<<\_ACEOF
37827 #define wxUSE_NOTEBOOK 1
37831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37835 if test "$wxUSE_RADIOBOX" = "yes"; then
37836 cat >>confdefs.h
<<\_ACEOF
37837 #define wxUSE_RADIOBOX 1
37843 if test "$wxUSE_RADIOBTN" = "yes"; then
37844 cat >>confdefs.h
<<\_ACEOF
37845 #define wxUSE_RADIOBTN 1
37851 if test "$wxUSE_SASH" = "yes"; then
37852 cat >>confdefs.h
<<\_ACEOF
37853 #define wxUSE_SASH 1
37856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37859 if test "$wxUSE_SCROLLBAR" = "yes"; then
37860 cat >>confdefs.h
<<\_ACEOF
37861 #define wxUSE_SCROLLBAR 1
37865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37868 if test "$wxUSE_SLIDER" = "yes"; then
37869 cat >>confdefs.h
<<\_ACEOF
37870 #define wxUSE_SLIDER 1
37876 if test "$wxUSE_SPINBTN" = "yes"; then
37877 cat >>confdefs.h
<<\_ACEOF
37878 #define wxUSE_SPINBTN 1
37884 if test "$wxUSE_SPINCTRL" = "yes"; then
37885 cat >>confdefs.h
<<\_ACEOF
37886 #define wxUSE_SPINCTRL 1
37892 if test "$wxUSE_SPLITTER" = "yes"; then
37893 cat >>confdefs.h
<<\_ACEOF
37894 #define wxUSE_SPLITTER 1
37897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37900 if test "$wxUSE_STATBMP" = "yes"; then
37901 cat >>confdefs.h
<<\_ACEOF
37902 #define wxUSE_STATBMP 1
37908 if test "$wxUSE_STATBOX" = "yes"; then
37909 cat >>confdefs.h
<<\_ACEOF
37910 #define wxUSE_STATBOX 1
37916 if test "$wxUSE_STATTEXT" = "yes"; then
37917 cat >>confdefs.h
<<\_ACEOF
37918 #define wxUSE_STATTEXT 1
37924 if test "$wxUSE_STATLINE" = "yes"; then
37925 cat >>confdefs.h
<<\_ACEOF
37926 #define wxUSE_STATLINE 1
37932 if test "$wxUSE_STATUSBAR" = "yes"; then
37933 cat >>confdefs.h
<<\_ACEOF
37934 #define wxUSE_NATIVE_STATUSBAR 1
37937 cat >>confdefs.h
<<\_ACEOF
37938 #define wxUSE_STATUSBAR 1
37943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37946 if test "$wxUSE_TABDIALOG" = "yes"; then
37947 cat >>confdefs.h
<<\_ACEOF
37948 #define wxUSE_TAB_DIALOG 1
37953 if test "$wxUSE_TEXTCTRL" = "yes"; then
37954 cat >>confdefs.h
<<\_ACEOF
37955 #define wxUSE_TEXTCTRL 1
37959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37962 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37963 if test "$wxUSE_COCOA" = 1 ; then
37964 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37965 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37968 if test "$wxUSE_PM" = 1; then
37969 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37970 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37974 if test "$wxUSE_UNIVERSAL" = "yes"; then
37975 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37976 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37980 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37981 cat >>confdefs.h
<<\_ACEOF
37982 #define wxUSE_TOGGLEBTN 1
37989 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37990 cat >>confdefs.h
<<\_ACEOF
37991 #define wxUSE_TOOLBAR_SIMPLE 1
37994 wxUSE_TOOLBAR
="yes"
37998 if test "$wxUSE_TOOLBAR" = "yes"; then
37999 cat >>confdefs.h
<<\_ACEOF
38000 #define wxUSE_TOOLBAR 1
38005 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38006 wxUSE_TOOLBAR_NATIVE
="yes"
38009 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38010 cat >>confdefs.h
<<\_ACEOF
38011 #define wxUSE_TOOLBAR_NATIVE 1
38017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
38020 if test "$wxUSE_TOOLTIPS" = "yes"; then
38021 if test "$wxUSE_MOTIF" = 1; then
38022 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38023 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38025 if test "$wxUSE_UNIVERSAL" = "yes"; then
38026 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38027 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38029 cat >>confdefs.h
<<\_ACEOF
38030 #define wxUSE_TOOLTIPS 1
38037 if test "$wxUSE_TREECTRL" = "yes"; then
38038 if test "$wxUSE_IMAGLIST" = "yes"; then
38039 cat >>confdefs.h
<<\_ACEOF
38040 #define wxUSE_TREECTRL 1
38044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
38046 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38047 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38051 if test "$wxUSE_POPUPWIN" = "yes"; then
38052 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38053 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38054 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38056 if test "$wxUSE_PM" = 1; then
38057 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38058 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38060 cat >>confdefs.h
<<\_ACEOF
38061 #define wxUSE_POPUPWIN 1
38070 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38071 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38072 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38073 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38075 cat >>confdefs.h
<<\_ACEOF
38076 #define wxUSE_DIALUP_MANAGER 1
38079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
38083 if test "$wxUSE_TIPWINDOW" = "yes"; then
38084 if test "$wxUSE_PM" = 1; then
38085 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38086 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38088 cat >>confdefs.h
<<\_ACEOF
38089 #define wxUSE_TIPWINDOW 1
38095 if test "$USES_CONTROLS" = 1; then
38096 cat >>confdefs.h
<<\_ACEOF
38097 #define wxUSE_CONTROLS 1
38103 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38104 cat >>confdefs.h
<<\_ACEOF
38105 #define wxUSE_ACCESSIBILITY 1
38108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38111 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38112 cat >>confdefs.h
<<\_ACEOF
38113 #define wxUSE_DRAGIMAGE 1
38116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38119 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38120 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38121 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38122 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38124 cat >>confdefs.h
<<\_ACEOF
38125 #define wxUSE_EXCEPTIONS 1
38128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
38133 if test "$wxUSE_HTML" = "yes"; then
38134 cat >>confdefs.h
<<\_ACEOF
38135 #define wxUSE_HTML 1
38139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38140 if test "$wxUSE_MAC" = 1; then
38141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38144 if test "$wxUSE_WEBKIT" = "yes"; then
38145 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38146 old_CPPFLAGS
="$CPPFLAGS"
38147 CPPFLAGS
="$CPPFLAGS -x objective-c++"
38148 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38149 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38150 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38153 cat >conftest.
$ac_ext <<_ACEOF
38156 cat confdefs.h
>>conftest.
$ac_ext
38157 cat >>conftest.
$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38159 #include <Carbon/Carbon.h>
38161 #include <WebKit/HIWebView.h>
38163 rm -f conftest.
$ac_objext
38164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38165 (eval $ac_compile) 2>conftest.er1
38167 grep -v '^ *+' conftest.er1
>conftest.err
38169 cat conftest.err
>&5
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); } &&
38172 { ac_try
='test -z "$ac_c_werror_flag"
38173 || test ! -s conftest.err'
38174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38175 (eval $ac_try) 2>&5
38177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178 (exit $ac_status); }; } &&
38179 { ac_try
='test -s conftest.$ac_objext'
38180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38181 (eval $ac_try) 2>&5
38183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184 (exit $ac_status); }; }; then
38185 ac_cv_header_WebKit_HIWebView_h
=yes
38187 echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.
$ac_ext >&5
38190 ac_cv_header_WebKit_HIWebView_h
=no
38192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38194 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38195 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38196 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38198 cat >>confdefs.h
<<\_ACEOF
38199 #define wxUSE_WEBKIT 1
38202 WEBKIT_LINK
="-framework WebKit"
38206 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38207 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38213 CPPFLAGS
="$old_CPPFLAGS"
38214 elif test "$wxUSE_COCOA" = 1; then
38215 cat >>confdefs.h
<<\_ACEOF
38216 #define wxUSE_WEBKIT 1
38225 if test "$wxUSE_XRC" = "yes"; then
38226 if test "$wxUSE_XML" != "yes"; then
38227 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38228 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38231 cat >>confdefs.h
<<\_ACEOF
38232 #define wxUSE_XRC 1
38236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
38240 if test "$wxUSE_MENUS" = "yes"; then
38241 cat >>confdefs.h
<<\_ACEOF
38242 #define wxUSE_MENUS 1
38245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38248 if test "$wxUSE_METAFILE" = "yes"; then
38249 cat >>confdefs.h
<<\_ACEOF
38250 #define wxUSE_METAFILE 1
38255 if test "$wxUSE_MIMETYPE" = "yes"; then
38256 cat >>confdefs.h
<<\_ACEOF
38257 #define wxUSE_MIMETYPE 1
38262 if test "$wxUSE_MINIFRAME" = "yes"; then
38263 cat >>confdefs.h
<<\_ACEOF
38264 #define wxUSE_MINIFRAME 1
38267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38270 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38271 cat >>confdefs.h
<<\_ACEOF
38272 #define wxUSE_SYSTEM_OPTIONS 1
38275 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38276 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38282 if test "$wxUSE_VALIDATORS" = "yes"; then
38283 cat >>confdefs.h
<<\_ACEOF
38284 #define wxUSE_VALIDATORS 1
38287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38290 if test "$wxUSE_PALETTE" = "yes" ; then
38291 cat >>confdefs.h
<<\_ACEOF
38292 #define wxUSE_PALETTE 1
38297 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38298 LIBS
=" -lunicows $LIBS"
38302 if test "$wxUSE_IMAGE" = "yes" ; then
38303 cat >>confdefs.h
<<\_ACEOF
38304 #define wxUSE_IMAGE 1
38308 if test "$wxUSE_GIF" = "yes" ; then
38309 cat >>confdefs.h
<<\_ACEOF
38310 #define wxUSE_GIF 1
38315 if test "$wxUSE_PCX" = "yes" ; then
38316 cat >>confdefs.h
<<\_ACEOF
38317 #define wxUSE_PCX 1
38322 if test "$wxUSE_IFF" = "yes" ; then
38323 cat >>confdefs.h
<<\_ACEOF
38324 #define wxUSE_IFF 1
38329 if test "$wxUSE_PNM" = "yes" ; then
38330 cat >>confdefs.h
<<\_ACEOF
38331 #define wxUSE_PNM 1
38336 if test "$wxUSE_XPM" = "yes" ; then
38337 cat >>confdefs.h
<<\_ACEOF
38338 #define wxUSE_XPM 1
38343 if test "$wxUSE_ICO_CUR" = "yes" ; then
38344 cat >>confdefs.h
<<\_ACEOF
38345 #define wxUSE_ICO_CUR 1
38352 if test "$wxUSE_CHOICEDLG" = "yes"; then
38353 cat >>confdefs.h
<<\_ACEOF
38354 #define wxUSE_CHOICEDLG 1
38359 if test "$wxUSE_COLOURDLG" = "yes"; then
38360 cat >>confdefs.h
<<\_ACEOF
38361 #define wxUSE_COLOURDLG 1
38366 if test "$wxUSE_FILEDLG" = "yes"; then
38367 cat >>confdefs.h
<<\_ACEOF
38368 #define wxUSE_FILEDLG 1
38373 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38374 cat >>confdefs.h
<<\_ACEOF
38375 #define wxUSE_FINDREPLDLG 1
38380 if test "$wxUSE_FONTDLG" = "yes"; then
38381 cat >>confdefs.h
<<\_ACEOF
38382 #define wxUSE_FONTDLG 1
38387 if test "$wxUSE_DIRDLG" = "yes"; then
38388 if test "$wxUSE_TREECTRL" != "yes"; then
38389 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38390 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38392 cat >>confdefs.h
<<\_ACEOF
38393 #define wxUSE_DIRDLG 1
38399 if test "$wxUSE_MSGDLG" = "yes"; then
38400 cat >>confdefs.h
<<\_ACEOF
38401 #define wxUSE_MSGDLG 1
38406 if test "$wxUSE_NUMBERDLG" = "yes"; then
38407 cat >>confdefs.h
<<\_ACEOF
38408 #define wxUSE_NUMBERDLG 1
38413 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38414 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38415 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38416 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38418 cat >>confdefs.h
<<\_ACEOF
38419 #define wxUSE_PROGRESSDLG 1
38425 if test "$wxUSE_SPLASH" = "yes"; then
38426 cat >>confdefs.h
<<\_ACEOF
38427 #define wxUSE_SPLASH 1
38430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
38433 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38434 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38435 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38436 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38438 cat >>confdefs.h
<<\_ACEOF
38439 #define wxUSE_STARTUP_TIPS 1
38445 if test "$wxUSE_TEXTDLG" = "yes"; then
38446 cat >>confdefs.h
<<\_ACEOF
38447 #define wxUSE_TEXTDLG 1
38452 if test "$wxUSE_WIZARDDLG" = "yes"; then
38453 cat >>confdefs.h
<<\_ACEOF
38454 #define wxUSE_WIZARDDLG 1
38457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38461 if test "$wxUSE_MEDIACTRL" = "yes"; then
38462 if test "$wxUSE_MSW" = 1; then
38463 wxUSE_DIRECTSHOW
="yes"
38465 for ac_header
in dshow.h
38467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38468 echo "$as_me:$LINENO: checking for $ac_header" >&5
38469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38471 echo $ECHO_N "(cached) $ECHO_C" >&6
38473 cat >conftest.
$ac_ext <<_ACEOF
38476 cat confdefs.h
>>conftest.
$ac_ext
38477 cat >>conftest.
$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38479 #include <windows.h>
38481 #include <$ac_header>
38483 rm -f conftest.
$ac_objext
38484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38485 (eval $ac_compile) 2>conftest.er1
38487 grep -v '^ *+' conftest.er1
>conftest.err
38489 cat conftest.err
>&5
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); } &&
38492 { ac_try
='test -z "$ac_c_werror_flag"
38493 || test ! -s conftest.err'
38494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38495 (eval $ac_try) 2>&5
38497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38498 (exit $ac_status); }; } &&
38499 { ac_try
='test -s conftest.$ac_objext'
38500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38501 (eval $ac_try) 2>&5
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); }; }; then
38505 eval "$as_ac_Header=yes"
38507 echo "$as_me: failed program was:" >&5
38508 sed 's/^/| /' conftest.
$ac_ext >&5
38510 eval "$as_ac_Header=no"
38512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38517 cat >>confdefs.h
<<_ACEOF
38518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38523 wxUSE_DIRECTSHOW
="no"
38524 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
38525 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
38532 if test "$wxUSE_DIRECTSHOW" = "yes"; then
38533 cat >>confdefs.h
<<\_ACEOF
38534 #define wxUSE_DIRECTSHOW 1
38537 LIBS
="$LIBS -lstrmiids"
38541 if test "$wxUSE_GTK" = 1; then
38542 wxUSE_GSTREAMER
="yes"
38547 if test -z "$PKG_CONFIG"; then
38548 # Extract the first word of "pkg-config", so it can be a program name with args.
38549 set dummy pkg
-config; ac_word
=$2
38550 echo "$as_me:$LINENO: checking for $ac_word" >&5
38551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38552 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38553 echo $ECHO_N "(cached) $ECHO_C" >&6
38555 case $PKG_CONFIG in
38557 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
38560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38561 for as_dir
in $PATH
38564 test -z "$as_dir" && as_dir
=.
38565 for ac_exec_ext
in '' $ac_executable_extensions; do
38566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38567 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38574 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
38578 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
38580 if test -n "$PKG_CONFIG"; then
38581 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38582 echo "${ECHO_T}$PKG_CONFIG" >&6
38584 echo "$as_me:$LINENO: result: no" >&5
38585 echo "${ECHO_T}no" >&6
38590 if test "$PKG_CONFIG" = "no" ; then
38591 echo "*** The pkg-config script could not be found. Make sure it is"
38592 echo "*** in your path, or set the PKG_CONFIG environment variable"
38593 echo "*** to the full path to pkg-config."
38594 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38596 PKG_CONFIG_MIN_VERSION
=0.9.0
38597 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38598 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
38599 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
38601 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
38602 echo "$as_me:$LINENO: result: yes" >&5
38603 echo "${ECHO_T}yes" >&6
38606 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
38607 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
38608 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
38609 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
38610 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
38612 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
38613 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
38614 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
38615 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
38616 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
38618 GSTREAMER_CFLAGS
=""
38620 ## If we have a custom action on failure, don't print errors, but
38621 ## do set a variable so people can do so.
38622 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
38629 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38630 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38634 if test $succeeded = yes; then
38636 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
38637 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
38641 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
38642 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
38643 wxUSE_GSTREAMER
="no"
38651 if test "x$GST_INSPECT" == "x"; then
38652 # Extract the first word of "gst-inspect", so it can be a program name with args.
38653 set dummy gst
-inspect; ac_word
=$2
38654 echo "$as_me:$LINENO: checking for $ac_word" >&5
38655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38656 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38657 echo $ECHO_N "(cached) $ECHO_C" >&6
38659 if test -n "$GST_INSPECT"; then
38660 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
38662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38663 for as_dir
in $PATH
38666 test -z "$as_dir" && as_dir
=.
38667 for ac_exec_ext
in '' $ac_executable_extensions; do
38668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38669 ac_cv_prog_GST_INSPECT
="gst-inspect"
38670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38678 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
38679 if test -n "$GST_INSPECT"; then
38680 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38681 echo "${ECHO_T}$GST_INSPECT" >&6
38683 echo "$as_me:$LINENO: result: no" >&5
38684 echo "${ECHO_T}no" >&6
38689 if test "x$GST_INSPECT" != "x"; then
38690 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
38691 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
38692 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
38693 echo "$as_me:$LINENO: result: found." >&5
38694 echo "${ECHO_T}found." >&6
38697 echo "$as_me:$LINENO: result: not found." >&5
38698 echo "${ECHO_T}not found." >&6
38700 wxUSE_GSTREAMER
="no"
38701 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
38702 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
38708 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
38709 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
38710 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
38711 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 cat >conftest.
$ac_ext <<_ACEOF
38716 cat confdefs.h
>>conftest.
$ac_ext
38717 cat >>conftest.
$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38719 #include <gst/gst.h>
38721 #include <gst/xoverlay/xoverlay.h>
38723 rm -f conftest.
$ac_objext
38724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38725 (eval $ac_compile) 2>conftest.er1
38727 grep -v '^ *+' conftest.er1
>conftest.err
38729 cat conftest.err
>&5
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); } &&
38732 { ac_try
='test -z "$ac_c_werror_flag"
38733 || test ! -s conftest.err'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; } &&
38739 { ac_try
='test -s conftest.$ac_objext'
38740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38741 (eval $ac_try) 2>&5
38743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744 (exit $ac_status); }; }; then
38745 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
38747 echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.
$ac_ext >&5
38750 ac_cv_header_gst_xoverlay_xoverlay_h
=no
38752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38754 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
38755 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
38756 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
38760 wxUSE_GSTREAMER
="no"
38761 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
38762 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
38768 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
38769 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
38772 for ac_dir
in $SEARCH_LIB /usr
/lib
;
38774 for ac_extension
in a so sl dylib
; do
38775 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
38776 ac_find_libraries
=$ac_dir
38783 if test "$ac_find_libraries" = "" ; then
38784 echo "$as_me:$LINENO: result: no" >&5
38785 echo "${ECHO_T}no" >&6
38786 wxUSE_GSTREAMER
="no"
38788 echo "$as_me:$LINENO: result: yes" >&5
38789 echo "${ECHO_T}yes" >&6
38792 if test "$wxUSE_GSTREAMER" = "yes"; then
38793 cat >>confdefs.h
<<\_ACEOF
38794 #define wxUSE_GSTREAMER 1
38797 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
38798 echo "${ECHO_T}GStreamer detection successful" >&6
38801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
38802 cat >>confdefs.h
<<\_ACEOF
38803 #define wxUSE_MEDIACTRL 1
38809 if test "$cross_compiling" = "yes"; then
38812 OSINFO
=`uname -s -r -m`
38813 OSINFO
="\"$OSINFO\""
38816 cat >>confdefs.h
<<_ACEOF
38817 #define WXWIN_OS_DESCRIPTION $OSINFO
38822 if test "x$prefix" != "xNONE"; then
38825 wxPREFIX
=$ac_default_prefix
38828 cat >>confdefs.h
<<_ACEOF
38829 #define wxINSTALL_PREFIX "$wxPREFIX"
38835 CORE_BASE_LIBS
="net base"
38836 CORE_GUI_LIBS
="adv core"
38838 if test "$wxUSE_XML" = "yes" ; then
38839 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38841 if test "$wxUSE_ODBC" != "no" ; then
38842 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38843 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38845 if test "$wxUSE_HTML" = "yes" ; then
38846 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38848 if test "$wxUSE_XRC" = "yes" ; then
38849 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
38852 if test "$wxUSE_GUI" != "yes"; then
38863 if test "$wxUSE_MAC" = 1 ; then
38864 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38865 if test "$USE_DARWIN" = 1; then
38866 LDFLAGS
="$LDFLAGS -framework QuickTime"
38868 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
38871 if test "$USE_DARWIN" = 1; then
38872 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38874 LDFLAGS
="$LDFLAGS -lCarbonLib"
38877 if test "$wxUSE_COCOA" = 1 ; then
38878 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
38879 if test "$wxUSE_MEDIACTRL" = "yes"; then
38880 LDFLAGS
="$LDFLAGS -framework QuickTime"
38885 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38893 echo "$as_me:$LINENO: checking for $ac_func" >&5
38894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38895 if eval "test \"\${$as_ac_var+set}\" = set"; then
38896 echo $ECHO_N "(cached) $ECHO_C" >&6
38898 cat >conftest.
$ac_ext <<_ACEOF
38901 cat confdefs.h
>>conftest.
$ac_ext
38902 cat >>conftest.
$ac_ext <<_ACEOF
38903 /* end confdefs.h. */
38904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38906 #define $ac_func innocuous_$ac_func
38908 /* System header to define __stub macros and hopefully few prototypes,
38909 which can conflict with char $ac_func (); below.
38910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38911 <limits.h> exists even on freestanding compilers. */
38914 # include <limits.h>
38916 # include <assert.h>
38921 /* Override any gcc2 internal prototype to avoid an error. */
38926 /* We use char because int might match the return type of a gcc2
38927 builtin and then its argument prototype would still apply. */
38929 /* The GNU C library defines this for functions which it implements
38930 to always fail with ENOSYS. Some functions are actually named
38931 something starting with __ and the normal name is an alias. */
38932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38935 char (*f) () = $ac_func;
38944 return f != $ac_func;
38949 rm -f conftest.
$ac_objext conftest
$ac_exeext
38950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38951 (eval $ac_link) 2>conftest.er1
38953 grep -v '^ *+' conftest.er1
>conftest.err
38955 cat conftest.err
>&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); } &&
38958 { ac_try
='test -z "$ac_c_werror_flag"
38959 || test ! -s conftest.err'
38960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38961 (eval $ac_try) 2>&5
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); }; } &&
38965 { ac_try
='test -s conftest$ac_exeext'
38966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38967 (eval $ac_try) 2>&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); }; }; then
38971 eval "$as_ac_var=yes"
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.
$ac_ext >&5
38976 eval "$as_ac_var=no"
38978 rm -f conftest.err conftest.
$ac_objext \
38979 conftest
$ac_exeext conftest.
$ac_ext
38981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38983 if test `eval echo '${'$as_ac_var'}'` = yes; then
38984 cat >>confdefs.h
<<_ACEOF
38985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38992 for ac_func
in floor
38994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38995 echo "$as_me:$LINENO: checking for $ac_func" >&5
38996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38997 if eval "test \"\${$as_ac_var+set}\" = set"; then
38998 echo $ECHO_N "(cached) $ECHO_C" >&6
39000 cat >conftest.
$ac_ext <<_ACEOF
39003 cat confdefs.h
>>conftest.
$ac_ext
39004 cat >>conftest.
$ac_ext <<_ACEOF
39005 /* end confdefs.h. */
39006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39008 #define $ac_func innocuous_$ac_func
39010 /* System header to define __stub macros and hopefully few prototypes,
39011 which can conflict with char $ac_func (); below.
39012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39013 <limits.h> exists even on freestanding compilers. */
39016 # include <limits.h>
39018 # include <assert.h>
39023 /* Override any gcc2 internal prototype to avoid an error. */
39028 /* We use char because int might match the return type of a gcc2
39029 builtin and then its argument prototype would still apply. */
39031 /* The GNU C library defines this for functions which it implements
39032 to always fail with ENOSYS. Some functions are actually named
39033 something starting with __ and the normal name is an alias. */
39034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39037 char (*f) () = $ac_func;
39046 return f != $ac_func;
39051 rm -f conftest.
$ac_objext conftest
$ac_exeext
39052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39053 (eval $ac_link) 2>conftest.er1
39055 grep -v '^ *+' conftest.er1
>conftest.err
39057 cat conftest.err
>&5
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); } &&
39060 { ac_try
='test -z "$ac_c_werror_flag"
39061 || test ! -s conftest.err'
39062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39063 (eval $ac_try) 2>&5
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); }; } &&
39067 { ac_try
='test -s conftest$ac_exeext'
39068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39069 (eval $ac_try) 2>&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); }; }; then
39073 eval "$as_ac_var=yes"
39075 echo "$as_me: failed program was:" >&5
39076 sed 's/^/| /' conftest.
$ac_ext >&5
39078 eval "$as_ac_var=no"
39080 rm -f conftest.err conftest.
$ac_objext \
39081 conftest
$ac_exeext conftest.
$ac_ext
39083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39085 if test `eval echo '${'$as_ac_var'}'` = yes; then
39086 cat >>confdefs.h
<<_ACEOF
39087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39093 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
39094 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
39095 if test "$have_cos" = 1 -a "$have_floor" = 1; then
39096 echo "$as_me:$LINENO: result: yes" >&5
39097 echo "${ECHO_T}yes" >&6
39099 echo "$as_me:$LINENO: result: no" >&5
39100 echo "${ECHO_T}no" >&6
39102 # use different functions to avoid configure caching
39108 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39109 echo "$as_me:$LINENO: checking for $ac_func" >&5
39110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39111 if eval "test \"\${$as_ac_var+set}\" = set"; then
39112 echo $ECHO_N "(cached) $ECHO_C" >&6
39114 cat >conftest.
$ac_ext <<_ACEOF
39117 cat confdefs.h
>>conftest.
$ac_ext
39118 cat >>conftest.
$ac_ext <<_ACEOF
39119 /* end confdefs.h. */
39120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39122 #define $ac_func innocuous_$ac_func
39124 /* System header to define __stub macros and hopefully few prototypes,
39125 which can conflict with char $ac_func (); below.
39126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39127 <limits.h> exists even on freestanding compilers. */
39130 # include <limits.h>
39132 # include <assert.h>
39137 /* Override any gcc2 internal prototype to avoid an error. */
39142 /* We use char because int might match the return type of a gcc2
39143 builtin and then its argument prototype would still apply. */
39145 /* The GNU C library defines this for functions which it implements
39146 to always fail with ENOSYS. Some functions are actually named
39147 something starting with __ and the normal name is an alias. */
39148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39151 char (*f) () = $ac_func;
39160 return f != $ac_func;
39165 rm -f conftest.
$ac_objext conftest
$ac_exeext
39166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39167 (eval $ac_link) 2>conftest.er1
39169 grep -v '^ *+' conftest.er1
>conftest.err
39171 cat conftest.err
>&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } &&
39174 { ac_try
='test -z "$ac_c_werror_flag"
39175 || test ! -s conftest.err'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; } &&
39181 { ac_try
='test -s conftest$ac_exeext'
39182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183 (eval $ac_try) 2>&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); }; }; then
39187 eval "$as_ac_var=yes"
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.
$ac_ext >&5
39192 eval "$as_ac_var=no"
39194 rm -f conftest.err conftest.
$ac_objext \
39195 conftest
$ac_exeext conftest.
$ac_ext
39197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39199 if test `eval echo '${'$as_ac_var'}'` = yes; then
39200 cat >>confdefs.h
<<_ACEOF
39201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39208 for ac_func
in ceil
39210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39211 echo "$as_me:$LINENO: checking for $ac_func" >&5
39212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39213 if eval "test \"\${$as_ac_var+set}\" = set"; then
39214 echo $ECHO_N "(cached) $ECHO_C" >&6
39216 cat >conftest.
$ac_ext <<_ACEOF
39219 cat confdefs.h
>>conftest.
$ac_ext
39220 cat >>conftest.
$ac_ext <<_ACEOF
39221 /* end confdefs.h. */
39222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39224 #define $ac_func innocuous_$ac_func
39226 /* System header to define __stub macros and hopefully few prototypes,
39227 which can conflict with char $ac_func (); below.
39228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39229 <limits.h> exists even on freestanding compilers. */
39232 # include <limits.h>
39234 # include <assert.h>
39239 /* Override any gcc2 internal prototype to avoid an error. */
39244 /* We use char because int might match the return type of a gcc2
39245 builtin and then its argument prototype would still apply. */
39247 /* The GNU C library defines this for functions which it implements
39248 to always fail with ENOSYS. Some functions are actually named
39249 something starting with __ and the normal name is an alias. */
39250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39253 char (*f) () = $ac_func;
39262 return f != $ac_func;
39267 rm -f conftest.
$ac_objext conftest
$ac_exeext
39268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39269 (eval $ac_link) 2>conftest.er1
39271 grep -v '^ *+' conftest.er1
>conftest.err
39273 cat conftest.err
>&5
39274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275 (exit $ac_status); } &&
39276 { ac_try
='test -z "$ac_c_werror_flag"
39277 || test ! -s conftest.err'
39278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279 (eval $ac_try) 2>&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); }; } &&
39283 { ac_try
='test -s conftest$ac_exeext'
39284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285 (eval $ac_try) 2>&5
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); }; }; then
39289 eval "$as_ac_var=yes"
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.
$ac_ext >&5
39294 eval "$as_ac_var=no"
39296 rm -f conftest.err conftest.
$ac_objext \
39297 conftest
$ac_exeext conftest.
$ac_ext
39299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39301 if test `eval echo '${'$as_ac_var'}'` = yes; then
39302 cat >>confdefs.h
<<_ACEOF
39303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39309 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
39310 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
39311 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
39312 echo "$as_me:$LINENO: result: yes" >&5
39313 echo "${ECHO_T}yes" >&6
39315 echo "$as_me:$LINENO: result: no" >&5
39316 echo "${ECHO_T}no" >&6
39317 # not sure we should warn the user, crash, etc.
39321 if test "$wxUSE_GUI" = "yes"; then
39324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
39325 drawing dynamic erase event exec font image \
39326 minimal propsize rotate shaped widgets render"
39328 if test "$wxUSE_MONOLITHIC" != "yes"; then
39329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
39332 SAMPLES_SUBDIRS
="console"
39336 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
39337 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
39339 if test "$GXX" = yes ; then
39341 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
39344 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
39346 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
39347 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
39348 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
39350 if test "x$MWCC" = "xyes"; then
39352 CC
="$CC -cwd source -I-"
39353 CXX
="$CXX -cwd source -I-"
39358 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
39359 EXTRALIBS_XML
="$EXPAT_LINK"
39360 EXTRALIBS_HTML
="$MSPACK_LINK"
39361 EXTRALIBS_ODBC
="$ODBC_LINK"
39362 if test "$wxUSE_GUI" = "yes"; then
39363 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
39365 if test "$wxUSE_OPENGL" = "yes"; then
39366 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
39369 LDFLAGS
="$LDFLAGS $PROFILE"
39371 if test "$wxUSE_GTK" = 1; then
39374 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
39377 WXCONFIG_EXTRALIBS
="$LIBS"
39379 if test "$wxUSE_REGEX" = "builtin" ; then
39380 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
39382 if test "$wxUSE_EXPAT" = "builtin" ; then
39383 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
39385 if test "$wxUSE_ODBC" = "builtin" ; then
39386 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
39388 if test "$wxUSE_LIBTIFF" = "builtin" ; then
39389 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
39391 if test "$wxUSE_LIBJPEG" = "builtin" ; then
39392 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
39394 if test "$wxUSE_LIBPNG" = "builtin" ; then
39395 wxconfig_3rdparty
="$wxconfig_3rdparty png"
39397 if test "$wxUSE_ZLIB" = "builtin" ; then
39398 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
39400 if test "$wxUSE_ODBC" = "builtin" ; then
39401 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
39404 for i
in $wxconfig_3rdparty ; do
39405 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
39409 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
39423 if test $wxUSE_MONOLITHIC = "yes" ; then
39429 if test $wxUSE_PLUGINS = "yes" ; then
39435 if test $wxUSE_ODBC != "no" ; then
39441 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
39469 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
39480 TOOLKIT_USER
="GTK+"
39481 if test "$WXGTK20" = 1; then
39482 TOOLKIT_USER
="$TOOLKIT_USER 2"
39487 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
39494 if test "x$BAKEFILE_HOST" = "x"; then
39495 BAKEFILE_HOST
="${host}"
39498 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
39500 if test -n "$ac_tool_prefix"; then
39501 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
39502 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
39503 echo "$as_me:$LINENO: checking for $ac_word" >&5
39504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39505 if test "${ac_cv_prog_RANLIB+set}" = set; then
39506 echo $ECHO_N "(cached) $ECHO_C" >&6
39508 if test -n "$RANLIB"; then
39509 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
39511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39512 for as_dir
in $PATH
39515 test -z "$as_dir" && as_dir
=.
39516 for ac_exec_ext
in '' $ac_executable_extensions; do
39517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39518 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
39519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39527 RANLIB
=$ac_cv_prog_RANLIB
39528 if test -n "$RANLIB"; then
39529 echo "$as_me:$LINENO: result: $RANLIB" >&5
39530 echo "${ECHO_T}$RANLIB" >&6
39532 echo "$as_me:$LINENO: result: no" >&5
39533 echo "${ECHO_T}no" >&6
39537 if test -z "$ac_cv_prog_RANLIB"; then
39538 ac_ct_RANLIB
=$RANLIB
39539 # Extract the first word of "ranlib", so it can be a program name with args.
39540 set dummy ranlib
; ac_word
=$2
39541 echo "$as_me:$LINENO: checking for $ac_word" >&5
39542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39543 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
39544 echo $ECHO_N "(cached) $ECHO_C" >&6
39546 if test -n "$ac_ct_RANLIB"; then
39547 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
39549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39550 for as_dir
in $PATH
39553 test -z "$as_dir" && as_dir
=.
39554 for ac_exec_ext
in '' $ac_executable_extensions; do
39555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39556 ac_cv_prog_ac_ct_RANLIB
="ranlib"
39557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39563 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39566 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39567 if test -n "$ac_ct_RANLIB"; then
39568 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39569 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39571 echo "$as_me:$LINENO: result: no" >&5
39572 echo "${ECHO_T}no" >&6
39575 RANLIB
=$ac_ct_RANLIB
39577 RANLIB
="$ac_cv_prog_RANLIB"
39580 # Find a good install program. We prefer a C program (faster),
39581 # so one script is as good as another. But avoid the broken or
39582 # incompatible versions:
39583 # SysV /etc/install, /usr/sbin/install
39584 # SunOS /usr/etc/install
39585 # IRIX /sbin/install
39587 # AmigaOS /C/install, which installs bootblocks on floppy discs
39588 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39589 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39590 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39591 # OS/2's system install, which has a completely different semantic
39592 # ./install, which can be erroneously created by make from ./install.sh.
39593 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39594 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39595 if test -z "$INSTALL"; then
39596 if test "${ac_cv_path_install+set}" = set; then
39597 echo $ECHO_N "(cached) $ECHO_C" >&6
39599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39600 for as_dir
in $PATH
39603 test -z "$as_dir" && as_dir
=.
39604 # Account for people who put trailing slashes in PATH elements.
39606 .
/ | .
// | /cC
/* | \
39607 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39608 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39611 # OSF1 and SCO ODT 3.0 have their own names for install.
39612 # Don't use installbsd from OSF since it installs stuff as root
39614 for ac_prog
in ginstall scoinst
install; do
39615 for ac_exec_ext
in '' $ac_executable_extensions; do
39616 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39617 if test $ac_prog = install &&
39618 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39619 # AIX install. It has an incompatible calling convention.
39621 elif test $ac_prog = install &&
39622 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39623 # program-specific install script used by HP pwplus--don't use.
39626 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39638 if test "${ac_cv_path_install+set}" = set; then
39639 INSTALL
=$ac_cv_path_install
39641 # As a last resort, use the slow shell script. We don't cache a
39642 # path for INSTALL within a source directory, because that will
39643 # break other packages using the cache if that directory is
39644 # removed, or if the path is relative.
39645 INSTALL
=$ac_install_sh
39648 echo "$as_me:$LINENO: result: $INSTALL" >&5
39649 echo "${ECHO_T}$INSTALL" >&6
39651 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39652 # It thinks the first close brace ends the variable substitution.
39653 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39655 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39657 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39659 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39660 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39662 if test "$LN_S" = "ln -s"; then
39663 echo "$as_me:$LINENO: result: yes" >&5
39664 echo "${ECHO_T}yes" >&6
39666 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39667 echo "${ECHO_T}no, using $LN_S" >&6
39671 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39672 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39673 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39674 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39675 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 cat >conftest.
make <<\_ACEOF
39679 @
echo 'ac_maketemp="$(MAKE)"'
39681 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39682 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39683 if test -n "$ac_maketemp"; then
39684 eval ac_cv_prog_make_
${ac_make}_set
=yes
39686 eval ac_cv_prog_make_
${ac_make}_set
=no
39688 rm -f conftest.
make
39690 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39691 echo "$as_me:$LINENO: result: yes" >&5
39692 echo "${ECHO_T}yes" >&6
39695 echo "$as_me:$LINENO: result: no" >&5
39696 echo "${ECHO_T}no" >&6
39697 SET_MAKE
="MAKE=${MAKE-make}"
39702 if test -n "$ac_tool_prefix"; then
39703 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39704 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39705 echo "$as_me:$LINENO: checking for $ac_word" >&5
39706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39707 if test "${ac_cv_prog_AR+set}" = set; then
39708 echo $ECHO_N "(cached) $ECHO_C" >&6
39710 if test -n "$AR"; then
39711 ac_cv_prog_AR
="$AR" # Let the user override the test.
39713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39714 for as_dir
in $PATH
39717 test -z "$as_dir" && as_dir
=.
39718 for ac_exec_ext
in '' $ac_executable_extensions; do
39719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39720 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39730 if test -n "$AR"; then
39731 echo "$as_me:$LINENO: result: $AR" >&5
39732 echo "${ECHO_T}$AR" >&6
39734 echo "$as_me:$LINENO: result: no" >&5
39735 echo "${ECHO_T}no" >&6
39739 if test -z "$ac_cv_prog_AR"; then
39741 # Extract the first word of "ar", so it can be a program name with args.
39742 set dummy
ar; ac_word
=$2
39743 echo "$as_me:$LINENO: checking for $ac_word" >&5
39744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39745 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39748 if test -n "$ac_ct_AR"; then
39749 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39752 for as_dir
in $PATH
39755 test -z "$as_dir" && as_dir
=.
39756 for ac_exec_ext
in '' $ac_executable_extensions; do
39757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39758 ac_cv_prog_ac_ct_AR
="ar"
39759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39765 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39768 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39769 if test -n "$ac_ct_AR"; then
39770 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39771 echo "${ECHO_T}$ac_ct_AR" >&6
39773 echo "$as_me:$LINENO: result: no" >&5
39774 echo "${ECHO_T}no" >&6
39779 AR
="$ac_cv_prog_AR"
39782 if test -n "$ac_tool_prefix"; then
39783 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39784 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39785 echo "$as_me:$LINENO: checking for $ac_word" >&5
39786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39787 if test "${ac_cv_prog_STRIP+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39790 if test -n "$STRIP"; then
39791 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39794 for as_dir
in $PATH
39797 test -z "$as_dir" && as_dir
=.
39798 for ac_exec_ext
in '' $ac_executable_extensions; do
39799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39800 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39809 STRIP
=$ac_cv_prog_STRIP
39810 if test -n "$STRIP"; then
39811 echo "$as_me:$LINENO: result: $STRIP" >&5
39812 echo "${ECHO_T}$STRIP" >&6
39814 echo "$as_me:$LINENO: result: no" >&5
39815 echo "${ECHO_T}no" >&6
39819 if test -z "$ac_cv_prog_STRIP"; then
39821 # Extract the first word of "strip", so it can be a program name with args.
39822 set dummy strip
; ac_word
=$2
39823 echo "$as_me:$LINENO: checking for $ac_word" >&5
39824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39825 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39826 echo $ECHO_N "(cached) $ECHO_C" >&6
39828 if test -n "$ac_ct_STRIP"; then
39829 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39832 for as_dir
in $PATH
39835 test -z "$as_dir" && as_dir
=.
39836 for ac_exec_ext
in '' $ac_executable_extensions; do
39837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39838 ac_cv_prog_ac_ct_STRIP
="strip"
39839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39845 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39848 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39849 if test -n "$ac_ct_STRIP"; then
39850 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39851 echo "${ECHO_T}$ac_ct_STRIP" >&6
39853 echo "$as_me:$LINENO: result: no" >&5
39854 echo "${ECHO_T}no" >&6
39859 STRIP
="$ac_cv_prog_STRIP"
39862 if test -n "$ac_tool_prefix"; then
39863 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39864 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39865 echo "$as_me:$LINENO: checking for $ac_word" >&5
39866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39867 if test "${ac_cv_prog_NM+set}" = set; then
39868 echo $ECHO_N "(cached) $ECHO_C" >&6
39870 if test -n "$NM"; then
39871 ac_cv_prog_NM
="$NM" # Let the user override the test.
39873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39874 for as_dir
in $PATH
39877 test -z "$as_dir" && as_dir
=.
39878 for ac_exec_ext
in '' $ac_executable_extensions; do
39879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39880 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39890 if test -n "$NM"; then
39891 echo "$as_me:$LINENO: result: $NM" >&5
39892 echo "${ECHO_T}$NM" >&6
39894 echo "$as_me:$LINENO: result: no" >&5
39895 echo "${ECHO_T}no" >&6
39899 if test -z "$ac_cv_prog_NM"; then
39901 # Extract the first word of "nm", so it can be a program name with args.
39902 set dummy nm
; ac_word
=$2
39903 echo "$as_me:$LINENO: checking for $ac_word" >&5
39904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39905 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39906 echo $ECHO_N "(cached) $ECHO_C" >&6
39908 if test -n "$ac_ct_NM"; then
39909 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39912 for as_dir
in $PATH
39915 test -z "$as_dir" && as_dir
=.
39916 for ac_exec_ext
in '' $ac_executable_extensions; do
39917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39918 ac_cv_prog_ac_ct_NM
="nm"
39919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39925 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39928 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39929 if test -n "$ac_ct_NM"; then
39930 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39931 echo "${ECHO_T}$ac_ct_NM" >&6
39933 echo "$as_me:$LINENO: result: no" >&5
39934 echo "${ECHO_T}no" >&6
39939 NM
="$ac_cv_prog_NM"
39943 case ${BAKEFILE_HOST} in
39945 INSTALL_DIR
="mkdir -p"
39947 *) INSTALL_DIR
="$INSTALL -d"
39953 case ${BAKEFILE_HOST} in
39954 *-*-cygwin* | *-*-mingw32* )
39955 LDFLAGS_GUI
="-mwindows"
39961 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39962 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39963 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39964 echo $ECHO_N "(cached) $ECHO_C" >&6
39967 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39968 egrep -s GNU
> /dev
/null
); then
39969 bakefile_cv_prog_makeisgnu
="yes"
39971 bakefile_cv_prog_makeisgnu
="no"
39975 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39976 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39978 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39995 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39996 case "${BAKEFILE_HOST}" in
39997 *-*-cygwin* | *-*-mingw32* )
40003 *-pc-os2_emx | *-pc-os2-emx )
40006 powerpc
-*-darwin* )
40013 powerpc
-apple-macos* )
40022 case "$BAKEFILE_FORCE_PLATFORM" in
40043 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
40044 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
40045 { (exit 1); exit 1; }; }
40060 # Check whether --enable-omf or --disable-omf was given.
40061 if test "${enable_omf+set}" = set; then
40062 enableval
="$enable_omf"
40063 bk_os2_use_omf
="$enableval"
40066 case "${BAKEFILE_HOST}" in
40068 CFLAGS
="$CFLAGS -fno-common"
40069 CXXFLAGS
="$CXXFLAGS -fno-common"
40072 *-pc-os2_emx | *-pc-os2-emx )
40073 if test "x$bk_os2_use_omf" = "xyes" ; then
40076 LDFLAGS
="-Zomf $LDFLAGS"
40077 CFLAGS
="-Zomf $CFLAGS"
40078 CXXFLAGS
="-Zomf $CXXFLAGS"
40086 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
40092 SO_SUFFIX_MODULE
="so"
40097 DLLPREFIX_MODULE
=""
40100 case "${BAKEFILE_HOST}" in
40103 SO_SUFFIX_MODULE
="sl"
40107 SO_SUFFIX_MODULE
="a"
40109 *-*-cygwin* | *-*-mingw32* )
40111 SO_SUFFIX_MODULE
="dll"
40112 DLLIMP_SUFFIX
="dll.a"
40120 *-pc-os2_emx | *-pc-os2-emx )
40122 SO_SUFFIX_MODULE
="dll"
40123 DLLIMP_SUFFIX
=$OS2_LIBEXT
40127 LIBEXT
=".$OS2_LIBEXT"
40129 powerpc
-*-darwin* )
40131 SO_SUFFIX_MODULE
="bundle"
40135 if test "x$DLLIMP_SUFFIX" = "x" ; then
40136 DLLIMP_SUFFIX
="$SO_SUFFIX"
40150 if test "x$GCC" = "xyes"; then
40154 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
40155 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
40157 case "${BAKEFILE_HOST}" in
40159 if test "x$GCC" != "xyes"; then
40160 LDFLAGS
="$LDFLAGS -L/usr/lib"
40162 SHARED_LD_CC
="${CC} -b -o"
40163 SHARED_LD_CXX
="${CXX} -b -o"
40169 if test "x$GCC" != "xyes"; then
40170 echo "$as_me:$LINENO: checking for Intel compiler" >&5
40171 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
40172 if test "${bakefile_cv_prog_icc+set}" = set; then
40173 echo $ECHO_N "(cached) $ECHO_C" >&6
40176 cat >conftest.
$ac_ext <<_ACEOF
40179 cat confdefs.h
>>conftest.
$ac_ext
40180 cat >>conftest.
$ac_ext <<_ACEOF
40181 /* end confdefs.h. */
40187 #ifndef __INTEL_COMPILER
40195 rm -f conftest.
$ac_objext
40196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40197 (eval $ac_compile) 2>conftest.er1
40199 grep -v '^ *+' conftest.er1
>conftest.err
40201 cat conftest.err
>&5
40202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203 (exit $ac_status); } &&
40204 { ac_try
='test -z "$ac_c_werror_flag"
40205 || test ! -s conftest.err'
40206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40207 (eval $ac_try) 2>&5
40209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210 (exit $ac_status); }; } &&
40211 { ac_try
='test -s conftest.$ac_objext'
40212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40213 (eval $ac_try) 2>&5
40215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216 (exit $ac_status); }; }; then
40217 bakefile_cv_prog_icc
=yes
40219 echo "$as_me: failed program was:" >&5
40220 sed 's/^/| /' conftest.
$ac_ext >&5
40222 bakefile_cv_prog_icc
=no
40225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40228 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
40229 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
40230 if test "$bakefile_cv_prog_icc" = "yes"; then
40237 if test "x$GCC" != xyes
; then
40238 SHARED_LD_CC
="${CC} -G -o"
40239 SHARED_LD_CXX
="${CXX} -G -o"
40246 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
40247 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
40248 if test "${wx_cv_gcc31+set}" = set; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40252 cat >conftest.
$ac_ext <<_ACEOF
40255 cat confdefs.h
>>conftest.
$ac_ext
40256 cat >>conftest.
$ac_ext <<_ACEOF
40257 /* end confdefs.h. */
40263 #if (__GNUC__ < 3) || \
40264 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
40272 rm -f conftest.
$ac_objext
40273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40274 (eval $ac_compile) 2>conftest.er1
40276 grep -v '^ *+' conftest.er1
>conftest.err
40278 cat conftest.err
>&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } &&
40281 { ac_try
='test -z "$ac_c_werror_flag"
40282 || test ! -s conftest.err'
40283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40284 (eval $ac_try) 2>&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); }; } &&
40288 { ac_try
='test -s conftest.$ac_objext'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; }; then
40298 echo "$as_me: failed program was:" >&5
40299 sed 's/^/| /' conftest.
$ac_ext >&5
40306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40309 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
40310 echo "${ECHO_T}$wx_cv_gcc31" >&6
40311 if test "$wx_cv_gcc31" = "no"; then
40314 cat <<EOF >shared-ld-sh
40316 #-----------------------------------------------------------------------------
40317 #-- Name: distrib/mac/shared-ld-sh
40318 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
40319 #-- Author: Gilles Depeyrot
40320 #-- Copyright: (c) 2002 Gilles Depeyrot
40321 #-- Licence: any use permitted
40322 #-----------------------------------------------------------------------------
40327 linking_flag="-dynamiclib"
40329 while test ${D}# -gt 0; do
40336 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
40337 # collect these options and values
40338 args="${D}{args} ${D}1 ${D}2"
40342 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
40343 # collect these options
40344 args="${D}{args} ${D}1"
40347 -dynamiclib|-bundle)
40348 linking_flag="${D}1"
40352 echo "shared-ld: unhandled option '${D}1'"
40356 *.o | *.a | *.dylib)
40357 # collect object files
40358 objects="${D}{objects} ${D}1"
40362 echo "shared-ld: unhandled argument '${D}1'"
40371 # Link one module containing all the others
40373 if test ${D}{verbose} = 1; then
40374 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
40376 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
40378 if test ${D}{status} != 0; then
40383 # Link the shared library from the single module created
40385 if test ${D}{verbose} = 1; then
40386 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
40388 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
40390 if test ${D}{status} != 0; then
40395 # Remove intermediate module
40397 rm -f master.${D}${D}.o
40402 chmod +x shared
-ld-sh
40404 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
40405 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
40406 SHARED_LD_CXX
="$SHARED_LD_CC"
40407 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
40409 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
40410 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
40411 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
40412 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
40415 PIC_FLAG
="-dynamic -fPIC"
40419 if test "x$GCC" != "xyes"; then
40420 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
40421 set dummy makeC
++SharedLib
; ac_word
=$2
40422 echo "$as_me:$LINENO: checking for $ac_word" >&5
40423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40424 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
40425 echo $ECHO_N "(cached) $ECHO_C" >&6
40427 if test -n "$AIX_CXX_LD"; then
40428 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
40430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40431 for as_dir
in $PATH
40434 test -z "$as_dir" && as_dir
=.
40435 for ac_exec_ext
in '' $ac_executable_extensions; do
40436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40437 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
40438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40444 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
40447 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
40448 if test -n "$AIX_CXX_LD"; then
40449 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
40450 echo "${ECHO_T}$AIX_CXX_LD" >&6
40452 echo "$as_me:$LINENO: result: no" >&5
40453 echo "${ECHO_T}no" >&6
40456 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
40457 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
40462 SHARED_LD_CC
="${LD} -nostart -o"
40463 SHARED_LD_CXX
="${LD} -nostart -o"
40467 if test "x$GCC" != "xyes"; then
40472 *-*-cygwin* | *-*-mingw32* )
40474 SHARED_LD_CC
="\$(CC) -shared -o"
40475 SHARED_LD_CXX
="\$(CXX) -shared -o"
40478 *-pc-os2_emx | *-pc-os2-emx )
40479 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40480 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40484 cat <<EOF >dllar.sh
40487 # dllar - a tool to build both a .dll and an .a file
40488 # from a set of object (.o) files for EMX/OS2.
40490 # Written by Andrew Zabolotny, bit@freya.etu.ru
40491 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
40493 # This script will accept a set of files on the command line.
40494 # All the public symbols from the .o files will be exported into
40495 # a .DEF file, then linker will be run (through gcc) against them to
40496 # build a shared library consisting of all given .o files. All libraries
40497 # (.a) will be first decompressed into component .o files then act as
40498 # described above. You can optionally give a description (-d "description")
40499 # which will be put into .DLL. To see the list of accepted options (as well
40500 # as command-line format) simply run this program without options. The .DLL
40501 # is built to be imported by name (there is no guarantee that new versions
40502 # of the library you build will have same ordinals for same symbols).
40504 # dllar is free software; you can redistribute it and/or modify
40505 # it under the terms of the GNU General Public License as published by
40506 # the Free Software Foundation; either version 2, or (at your option)
40507 # any later version.
40509 # dllar is distributed in the hope that it will be useful,
40510 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40511 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40512 # GNU General Public License for more details.
40514 # You should have received a copy of the GNU General Public License
40515 # along with dllar; see the file COPYING. If not, write to the Free
40516 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
40519 # To successfuly run this program you will need:
40520 # - Current drive should have LFN support (HPFS, ext2, network, etc)
40521 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
40523 # (used to build the .dll)
40525 # (used to create .def file from .o files)
40527 # (used to create .a file from .def file)
40528 # - GNU text utilites (cat, sort, uniq)
40529 # used to process emxexp output
40530 # - GNU file utilities (mv, rm)
40532 # - lxlite (optional, see flag below)
40533 # (used for general .dll cleanup)
40540 # basnam, variant of basename, which does _not_ remove the path, _iff_
40541 # second argument (suffix to remove) is given
40545 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
40548 echo ${D}1 | sed 's/'${D}2'${D}//'
40551 echo "error in basnam ${D}*"
40557 # Cleanup temporary files and output
40560 for i in ${D}inputFiles ; do
40563 rm -rf \`basnam ${D}i !\`
40570 # Kill result in case of failure as there is just to many stupid make/nmake
40571 # things out there which doesn't do this.
40572 if [ ${D}# -eq 0 ]; then
40573 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40577 # Print usage and exit script with rc=1.
40579 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40580 echo ' [-name-mangler-script script.sh]'
40581 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40582 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40583 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40584 echo ' [*.o] [*.a]'
40585 echo '*> "output_file" should have no extension.'
40586 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40587 echo ' The import library name is derived from this and is set to "name".a,'
40588 echo ' unless overridden by -import'
40589 echo '*> "importlib_name" should have no extension.'
40590 echo ' If it has the .o, or .a extension, it is automatically removed.'
40591 echo ' This name is used as the import library name and may be longer and'
40592 echo ' more descriptive than the DLL name which has to follow the old '
40593 echo ' 8.3 convention of FAT.'
40594 echo '*> "script.sh may be given to override the output_file name by a'
40595 echo ' different name. It is mainly useful if the regular make process'
40596 echo ' of some package does not take into account OS/2 restriction of'
40597 echo ' DLL name lengths. It takes the importlib name as input and is'
40598 echo ' supposed to procude a shorter name as output. The script should'
40599 echo ' expect to get importlib_name without extension and should produce'
40600 echo ' a (max.) 8 letter name without extension.'
40601 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40602 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40603 echo ' These flags will be put at the start of GCC command line.'
40604 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40605 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40606 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40607 echo ' If the last character of a symbol is "*", all symbols beginning'
40608 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40609 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40610 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40611 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40612 echo ' C runtime DLLs.'
40613 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40614 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40615 echo ' unchanged to GCC at the end of command line.'
40616 echo '*> If you create a DLL from a library and you do not specify -o,'
40617 echo ' the basename for DLL and import library will be set to library name,'
40618 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40619 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40620 echo ' library will be renamed into gcc_s.a.'
40623 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40624 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40629 # Execute a command.
40630 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40631 # @Uses Whatever CleanUp() uses.
40637 if [ ${D}rcCmd -ne 0 ]; then
40638 echo "command failed, exit code="${D}rcCmd
40653 CFLAGS="-s -Zcrtdll"
40655 EXPORT_BY_ORDINALS=0
40660 case ${D}curDirS in
40664 curDirS=${D}{curDirS}"/"
40667 # Parse commandline
40670 while [ ${D}1 ]; do
40673 EXPORT_BY_ORDINALS=1;
40683 -name-mangler-script)
40704 exclude_symbols=${D}{exclude_symbols}${D}1" "
40708 library_flags=${D}{library_flags}${D}1" "
40727 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40730 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40731 if [ ${D}omfLinking -eq 1 ]; then
40732 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40734 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40739 if [ ${D}libsToLink -ne 0 ]; then
40740 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40742 for file in ${D}1 ; do
40743 if [ -f ${D}file ]; then
40744 inputFiles="${D}{inputFiles} ${D}file"
40748 if [ ${D}found -eq 0 ]; then
40749 echo "ERROR: No file(s) found: "${D}1
40756 done # iterate cmdline words
40759 if [ -z "${D}inputFiles" ]; then
40760 echo "dllar: no input files"
40764 # Now extract all .o files from .a files
40766 for file in ${D}inputFiles ; do
40777 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40782 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40784 if [ ${D}? -ne 0 ]; then
40785 echo "Failed to create subdirectory ./${D}dirname"
40789 # Append '!' to indicate archive
40790 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40791 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40794 for subfile in ${D}dirname/*.o* ; do
40795 if [ -f ${D}subfile ]; then
40797 if [ -s ${D}subfile ]; then
40798 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40799 newInputFiles="${D}newInputFiles ${D}subfile"
40803 if [ ${D}found -eq 0 ]; then
40804 echo "WARNING: there are no files in archive \\'${D}file\\'"
40808 newInputFiles="${D}{newInputFiles} ${D}file"
40812 inputFiles="${D}newInputFiles"
40814 # Output filename(s).
40816 if [ -z ${D}outFile ]; then
40818 set outFile ${D}inputFiles; outFile=${D}2
40821 # If it is an archive, remove the '!' and the '_%' suffixes
40822 case ${D}outFile in
40824 outFile=\`basnam ${D}outFile _%!\`
40829 case ${D}outFile in
40831 outFile=\`basnam ${D}outFile .dll\`
40834 outFile=\`basnam ${D}outFile .DLL\`
40837 outFile=\`basnam ${D}outFile .o\`
40840 outFile=\`basnam ${D}outFile .obj\`
40843 outFile=\`basnam ${D}outFile .a\`
40846 outFile=\`basnam ${D}outFile .lib\`
40851 case ${D}outimpFile in
40853 outimpFile=\`basnam ${D}outimpFile .a\`
40856 outimpFile=\`basnam ${D}outimpFile .lib\`
40861 if [ -z ${D}outimpFile ]; then
40862 outimpFile=${D}outFile
40864 defFile="${D}{outFile}.def"
40865 arcFile="${D}{outimpFile}.a"
40866 arcFile2="${D}{outimpFile}.lib"
40868 #create ${D}dllFile as something matching 8.3 restrictions,
40869 if [ -z ${D}renameScript ] ; then
40870 dllFile="${D}outFile"
40872 dllFile=\`${D}renameScript ${D}outimpFile\`
40875 if [ ${D}do_backup -ne 0 ] ; then
40876 if [ -f ${D}arcFile ] ; then
40877 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40879 if [ -f ${D}arcFile2 ] ; then
40880 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40884 # Extract public symbols from all the object files.
40885 tmpdefFile=${D}{defFile}_%
40886 rm -f ${D}tmpdefFile
40887 for file in ${D}inputFiles ; do
40892 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40897 # Create the def file.
40899 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40900 dllFile="${D}{dllFile}.dll"
40901 if [ ! -z ${D}description ]; then
40902 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40904 echo "EXPORTS" >> ${D}defFile
40906 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40907 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40909 # Checks if the export is ok or not.
40910 for word in ${D}exclude_symbols; do
40911 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40912 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40916 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40917 sed "=" < ${D}tmpdefFile | \\
40921 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40923 ' > ${D}{tmpdefFile}%
40924 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40926 rm -f ${D}{tmpdefFile}%
40928 cat ${D}tmpdefFile >> ${D}defFile
40929 rm -f ${D}tmpdefFile
40931 # Do linking, create implib, and apply lxlite.
40933 for file in ${D}inputFiles ; do
40938 gccCmdl="${D}gccCmdl ${D}file"
40942 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40943 touch "${D}{outFile}.dll"
40945 doCommand "emximp -o ${D}arcFile ${D}defFile"
40946 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40948 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40951 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40953 doCommand "emxomf -s -l ${D}arcFile"
40963 powerpc
-apple-macos* | \
40964 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40972 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40973 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40974 { (exit 1); exit 1; }; }
40977 if test "x$PIC_FLAG" != "x" ; then
40978 PIC_FLAG
="$PIC_FLAG -DPIC"
40981 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40982 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40984 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40985 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
41002 case "${BAKEFILE_HOST}" in
41003 *-*-linux* | *-*-freebsd* )
41004 SONAME_FLAG
="-Wl,-soname,"
41032 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
41033 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
41036 if test "x$GCC" = "xyes"; then
41039 case "${BAKEFILE_HOST}" in
41040 powerpc
-*-darwin* )
41041 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
41044 DEPSFLAG_GCC
="-MMD"
41047 echo "$as_me:$LINENO: result: gcc" >&5
41048 echo "${ECHO_T}gcc" >&6
41049 elif test "x$MWCC" = "xyes"; then
41052 DEPSFLAG_MWCC
="-MM"
41053 echo "$as_me:$LINENO: result: mwcc" >&5
41054 echo "${ECHO_T}mwcc" >&6
41056 echo "$as_me:$LINENO: result: none" >&5
41057 echo "${ECHO_T}none" >&6
41060 if test $DEPS_TRACKING = 1 ; then
41066 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41067 # script. It is used to track C/C++ files dependencies in portable way.
41069 # Permission is given to use this file in any way.
41071 DEPSMODE=${DEPSMODE}
41073 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
41074 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
41076 mkdir -p ${D}DEPSDIR
41078 if test ${D}DEPSMODE = gcc ; then
41079 ${D}* ${D}{DEPSFLAG_GCC}
41081 if test ${D}{status} != 0 ; then
41084 # move created file to the location we want it in:
41085 while test ${D}# -gt 0; do
41099 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
41100 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
41101 if test -f ${D}depfile ; then
41102 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41105 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
41106 if test -f ${D}depfile ; then
41107 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41112 elif test ${D}DEPSMODE = mwcc ; then
41115 if test ${D}{status} != 0 ; then
41118 # Run mwcc again with -MM and redirect into the dep file we want
41119 # NOTE: We can't use shift here because we need ${D}* to be valid
41121 for arg in ${D}* ; do
41122 if test "${D}prevarg" = "-o"; then
41135 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
41152 case ${BAKEFILE_HOST} in
41153 *-*-cygwin* | *-*-mingw32* )
41154 if test "$build" != "$host" ; then
41155 RESCOMP
=$host_alias-windres
41157 # Extract the first word of "windres", so it can be a program name with args.
41158 set dummy windres
; ac_word
=$2
41159 echo "$as_me:$LINENO: checking for $ac_word" >&5
41160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41161 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41162 echo $ECHO_N "(cached) $ECHO_C" >&6
41164 if test -n "$RESCOMP"; then
41165 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
41167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41168 for as_dir
in $PATH
41171 test -z "$as_dir" && as_dir
=.
41172 for ac_exec_ext
in '' $ac_executable_extensions; do
41173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41174 ac_cv_prog_RESCOMP
="windres"
41175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41181 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
41184 RESCOMP
=$ac_cv_prog_RESCOMP
41185 if test -n "$RESCOMP"; then
41186 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41187 echo "${ECHO_T}$RESCOMP" >&6
41189 echo "$as_me:$LINENO: result: no" >&5
41190 echo "${ECHO_T}no" >&6
41196 *-*-darwin* | powerpc
-apple-macos* )
41197 # Extract the first word of "Rez", so it can be a program name with args.
41198 set dummy Rez
; ac_word
=$2
41199 echo "$as_me:$LINENO: checking for $ac_word" >&5
41200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41201 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41202 echo $ECHO_N "(cached) $ECHO_C" >&6
41204 if test -n "$RESCOMP"; then
41205 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
41207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41208 for as_dir
in $PATH
41211 test -z "$as_dir" && as_dir
=.
41212 for ac_exec_ext
in '' $ac_executable_extensions; do
41213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41214 ac_cv_prog_RESCOMP
="Rez"
41215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41221 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
41224 RESCOMP
=$ac_cv_prog_RESCOMP
41225 if test -n "$RESCOMP"; then
41226 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41227 echo "${ECHO_T}$RESCOMP" >&6
41229 echo "$as_me:$LINENO: result: no" >&5
41230 echo "${ECHO_T}no" >&6
41233 # Extract the first word of "SetFile", so it can be a program name with args.
41234 set dummy SetFile
; ac_word
=$2
41235 echo "$as_me:$LINENO: checking for $ac_word" >&5
41236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41237 if test "${ac_cv_prog_SETFILE+set}" = set; then
41238 echo $ECHO_N "(cached) $ECHO_C" >&6
41240 if test -n "$SETFILE"; then
41241 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
41243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41244 for as_dir
in $PATH
41247 test -z "$as_dir" && as_dir
=.
41248 for ac_exec_ext
in '' $ac_executable_extensions; do
41249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41250 ac_cv_prog_SETFILE
="SetFile"
41251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41257 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
41260 SETFILE
=$ac_cv_prog_SETFILE
41261 if test -n "$SETFILE"; then
41262 echo "$as_me:$LINENO: result: $SETFILE" >&5
41263 echo "${ECHO_T}$SETFILE" >&6
41265 echo "$as_me:$LINENO: result: no" >&5
41266 echo "${ECHO_T}no" >&6
41276 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.6"
41279 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.6"
41283 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
41284 if test "${enable_precomp_headers+set}" = set; then
41285 enableval
="$enable_precomp_headers"
41286 bk_use_pch
="$enableval"
41291 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
41292 if test "x$GCC" = "xyes"; then
41293 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
41294 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
41295 cat >conftest.
$ac_ext <<_ACEOF
41298 cat confdefs.h
>>conftest.
$ac_ext
41299 cat >>conftest.
$ac_ext <<_ACEOF
41300 /* end confdefs.h. */
41306 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
41307 #error "no pch support"
41310 #error "no pch support"
41312 #if (__GNUC__ == 3) && \
41313 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
41314 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
41315 #error "no pch support"
41322 rm -f conftest.
$ac_objext
41323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41324 (eval $ac_compile) 2>conftest.er1
41326 grep -v '^ *+' conftest.er1
>conftest.err
41328 cat conftest.err
>&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } &&
41331 { ac_try
='test -z "$ac_c_werror_flag"
41332 || test ! -s conftest.err'
41333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41334 (eval $ac_try) 2>&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); }; } &&
41338 { ac_try
='test -s conftest.$ac_objext'
41339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41340 (eval $ac_try) 2>&5
41342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41343 (exit $ac_status); }; }; then
41345 echo "$as_me:$LINENO: result: yes" >&5
41346 echo "${ECHO_T}yes" >&6
41350 echo "$as_me: failed program was:" >&5
41351 sed 's/^/| /' conftest.
$ac_ext >&5
41354 echo "$as_me:$LINENO: result: no" >&5
41355 echo "${ECHO_T}no" >&6
41358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41359 if test $GCC_PCH = 1 ; then
41362 cat <<EOF >bk-make-pch
41365 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41366 # script. It is used to generated precompiled headers.
41368 # Permission is given to use this file in any way.
41377 while test ${D}{#} -gt 0; do
41380 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
41381 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
41382 headerfile="${D}{incdir}/${D}{header}"
41386 compiler="${D}{compiler} ${D}{1}"
41390 if test "x${D}{headerfile}" = "x" ; then
41391 echo "error: can't find header ${D}{header} in include paths" >2
41393 if test -f ${D}{outfile} ; then
41394 rm -f ${D}{outfile}
41396 mkdir -p \`dirname ${D}{outfile}\`
41398 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
41400 # can do this because gcc is >= 3.4:
41401 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
41406 chmod +x bk
-make-pch
41413 COND_BUILD_DEBUG
="#"
41414 if test "x$BUILD" = "xdebug" ; then
41415 COND_BUILD_DEBUG
=""
41418 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41419 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41423 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41424 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41428 COND_BUILD_DEBUG_UNICODE_0
="#"
41429 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41430 COND_BUILD_DEBUG_UNICODE_0
=""
41433 COND_BUILD_DEBUG_UNICODE_1
="#"
41434 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41435 COND_BUILD_DEBUG_UNICODE_1
=""
41438 COND_BUILD_RELEASE
="#"
41439 if test "x$BUILD" = "xrelease" ; then
41440 COND_BUILD_RELEASE
=""
41443 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41444 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41445 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41448 COND_BUILD_RELEASE_UNICODE_0
="#"
41449 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41450 COND_BUILD_RELEASE_UNICODE_0
=""
41453 COND_BUILD_RELEASE_UNICODE_1
="#"
41454 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41455 COND_BUILD_RELEASE_UNICODE_1
=""
41458 COND_DEBUG_FLAG_1
="#"
41459 if test "x$DEBUG_FLAG" = "x1" ; then
41460 COND_DEBUG_FLAG_1
=""
41463 COND_DEBUG_INFO_0
="#"
41464 if test "x$DEBUG_INFO" = "x0" ; then
41465 COND_DEBUG_INFO_0
=""
41468 COND_DEBUG_INFO_1
="#"
41469 if test "x$DEBUG_INFO" = "x1" ; then
41470 COND_DEBUG_INFO_1
=""
41473 COND_DEPS_TRACKING_0
="#"
41474 if test "x$DEPS_TRACKING" = "x0" ; then
41475 COND_DEPS_TRACKING_0
=""
41478 COND_DEPS_TRACKING_1
="#"
41479 if test "x$DEPS_TRACKING" = "x1" ; then
41480 COND_DEPS_TRACKING_1
=""
41484 if test "x$GCC_PCH" = "x1" ; then
41488 COND_MONOLITHIC_0
="#"
41489 if test "x$MONOLITHIC" = "x0" ; then
41490 COND_MONOLITHIC_0
=""
41493 COND_MONOLITHIC_0_SHARED_0
="#"
41494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41495 COND_MONOLITHIC_0_SHARED_0
=""
41498 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41503 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
41504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41505 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
41508 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41510 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41513 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41515 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41518 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
41519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41520 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
41523 COND_MONOLITHIC_0_SHARED_1
="#"
41524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41525 COND_MONOLITHIC_0_SHARED_1
=""
41528 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41530 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41533 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
41534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41535 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
41538 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41543 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41545 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41548 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
41549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41550 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
41553 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41554 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41555 COND_MONOLITHIC_0_USE_ODBC_1
=""
41558 COND_MONOLITHIC_1
="#"
41559 if test "x$MONOLITHIC" = "x1" ; then
41560 COND_MONOLITHIC_1
=""
41563 COND_MONOLITHIC_1_SHARED_0
="#"
41564 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41565 COND_MONOLITHIC_1_SHARED_0
=""
41568 COND_MONOLITHIC_1_SHARED_1
="#"
41569 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41570 COND_MONOLITHIC_1_SHARED_1
=""
41573 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41574 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41575 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41578 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41579 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41580 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41583 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41584 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41585 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41588 COND_PLATFORM_MACOSX_1
="#"
41589 if test "x$PLATFORM_MACOSX" = "x1" ; then
41590 COND_PLATFORM_MACOSX_1
=""
41593 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
41594 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41595 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
41598 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41599 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41600 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41603 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41605 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41608 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41610 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41613 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
41614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41615 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
41618 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41620 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41623 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
41624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41625 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
41628 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
41629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41630 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
41633 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41635 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41638 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41640 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41643 COND_PLATFORM_MACOS_1
="#"
41644 if test "x$PLATFORM_MACOS" = "x1" ; then
41645 COND_PLATFORM_MACOS_1
=""
41648 COND_PLATFORM_MAC_1
="#"
41649 if test "x$PLATFORM_MAC" = "x1" ; then
41650 COND_PLATFORM_MAC_1
=""
41653 COND_PLATFORM_OS2_1
="#"
41654 if test "x$PLATFORM_OS2" = "x1" ; then
41655 COND_PLATFORM_OS2_1
=""
41658 COND_PLATFORM_UNIX_0
="#"
41659 if test "x$PLATFORM_UNIX" = "x0" ; then
41660 COND_PLATFORM_UNIX_0
=""
41663 COND_PLATFORM_UNIX_1
="#"
41664 if test "x$PLATFORM_UNIX" = "x1" ; then
41665 COND_PLATFORM_UNIX_1
=""
41668 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41669 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41670 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41673 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41674 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41675 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41678 COND_PLATFORM_WIN32_0
="#"
41679 if test "x$PLATFORM_WIN32" = "x0" ; then
41680 COND_PLATFORM_WIN32_0
=""
41683 COND_PLATFORM_WIN32_1
="#"
41684 if test "x$PLATFORM_WIN32" = "x1" ; then
41685 COND_PLATFORM_WIN32_1
=""
41689 if test "x$SHARED" = "x0" ; then
41693 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
41694 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41695 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
41698 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
41699 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41700 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
41703 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
41704 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41705 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
41708 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41709 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41710 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41713 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41714 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41715 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41718 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41719 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41720 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41723 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41724 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41725 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41728 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41729 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41730 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41733 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41734 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41735 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41738 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41739 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41740 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41743 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41744 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41745 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41749 if test "x$SHARED" = "x1" ; then
41753 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41754 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41755 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41759 if test "x$TOOLKIT" = "x" ; then
41763 COND_TOOLKIT_COCOA
="#"
41764 if test "x$TOOLKIT" = "xCOCOA" ; then
41765 COND_TOOLKIT_COCOA
=""
41768 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
41769 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41770 COND_TOOLKIT_COCOA_USE_GUI_1
=""
41773 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41774 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41775 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41778 COND_TOOLKIT_GTK
="#"
41779 if test "x$TOOLKIT" = "xGTK" ; then
41780 COND_TOOLKIT_GTK
=""
41783 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41784 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41785 COND_TOOLKIT_GTK_USE_GUI_1
=""
41788 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41789 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41790 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41793 COND_TOOLKIT_MAC
="#"
41794 if test "x$TOOLKIT" = "xMAC" ; then
41795 COND_TOOLKIT_MAC
=""
41798 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41799 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41800 COND_TOOLKIT_MAC_USE_GUI_1
=""
41803 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41804 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41805 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41808 COND_TOOLKIT_MGL
="#"
41809 if test "x$TOOLKIT" = "xMGL" ; then
41810 COND_TOOLKIT_MGL
=""
41813 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41814 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41815 COND_TOOLKIT_MGL_USE_GUI_1
=""
41818 COND_TOOLKIT_MOTIF
="#"
41819 if test "x$TOOLKIT" = "xMOTIF" ; then
41820 COND_TOOLKIT_MOTIF
=""
41823 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41824 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41825 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41828 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41829 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41830 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41833 COND_TOOLKIT_MSW
="#"
41834 if test "x$TOOLKIT" = "xMSW" ; then
41835 COND_TOOLKIT_MSW
=""
41838 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41839 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41840 COND_TOOLKIT_MSW_USE_GUI_1
=""
41843 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41844 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41845 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41848 COND_TOOLKIT_PM
="#"
41849 if test "x$TOOLKIT" = "xPM" ; then
41853 COND_TOOLKIT_PM_USE_GUI_1
="#"
41854 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41855 COND_TOOLKIT_PM_USE_GUI_1
=""
41858 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41859 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41860 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41863 COND_TOOLKIT_WINCE
="#"
41864 if test "x$TOOLKIT" = "xWINCE" ; then
41865 COND_TOOLKIT_WINCE
=""
41868 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41869 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41870 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41873 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41874 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41875 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41878 COND_TOOLKIT_X11
="#"
41879 if test "x$TOOLKIT" = "xX11" ; then
41880 COND_TOOLKIT_X11
=""
41883 COND_TOOLKIT_X11_USE_GUI_1
="#"
41884 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41885 COND_TOOLKIT_X11_USE_GUI_1
=""
41889 if test "x$UNICODE" = "x1" ; then
41893 COND_USE_EXCEPTIONS_0
="#"
41894 if test "x$USE_EXCEPTIONS" = "x0" ; then
41895 COND_USE_EXCEPTIONS_0
=""
41898 COND_USE_EXCEPTIONS_1
="#"
41899 if test "x$USE_EXCEPTIONS" = "x1" ; then
41900 COND_USE_EXCEPTIONS_1
=""
41904 if test "x$USE_GUI" = "x0" ; then
41909 if test "x$USE_GUI" = "x1" ; then
41913 COND_USE_GUI_1_WXUNIV_0
="#"
41914 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41915 COND_USE_GUI_1_WXUNIV_0
=""
41918 COND_USE_GUI_1_WXUNIV_1
="#"
41919 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41920 COND_USE_GUI_1_WXUNIV_1
=""
41923 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41924 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41925 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41928 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41929 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41930 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41933 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41934 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41935 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41938 COND_USE_ODBC_1
="#"
41939 if test "x$USE_ODBC" = "x1" ; then
41943 COND_USE_OPENGL_1
="#"
41944 if test "x$USE_OPENGL" = "x1" ; then
41945 COND_USE_OPENGL_1
=""
41948 COND_USE_PLUGINS_0
="#"
41949 if test "x$USE_PLUGINS" = "x0" ; then
41950 COND_USE_PLUGINS_0
=""
41953 COND_USE_SOSYMLINKS_1
="#"
41954 if test "x$USE_SOSYMLINKS" = "x1" ; then
41955 COND_USE_SOSYMLINKS_1
=""
41958 COND_USE_SOVERLINUX_1
="#"
41959 if test "x$USE_SOVERLINUX" = "x1" ; then
41960 COND_USE_SOVERLINUX_1
=""
41963 COND_USE_SOVERSION_0
="#"
41964 if test "x$USE_SOVERSION" = "x0" ; then
41965 COND_USE_SOVERSION_0
=""
41968 COND_USE_SOVERSOLARIS_1
="#"
41969 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41970 COND_USE_SOVERSOLARIS_1
=""
41974 if test "x$USE_XRC" = "x1" ; then
41978 COND_WITH_PLUGIN_SDL_1
="#"
41979 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41980 COND_WITH_PLUGIN_SDL_1
=""
41984 if test "x$WXUNIV" = "x0" ; then
41989 if test "x$WXUNIV" = "x1" ; then
41993 COND_WXUSE_EXPAT_BUILTIN
="#"
41994 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41995 COND_WXUSE_EXPAT_BUILTIN
=""
41998 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41999 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42000 COND_WXUSE_LIBJPEG_BUILTIN
=""
42003 COND_WXUSE_LIBPNG_BUILTIN
="#"
42004 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42005 COND_WXUSE_LIBPNG_BUILTIN
=""
42008 COND_WXUSE_LIBTIFF_BUILTIN
="#"
42009 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42010 COND_WXUSE_LIBTIFF_BUILTIN
=""
42013 COND_WXUSE_ODBC_BUILTIN
="#"
42014 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
42015 COND_WXUSE_ODBC_BUILTIN
=""
42018 COND_WXUSE_REGEX_BUILTIN
="#"
42019 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
42020 COND_WXUSE_REGEX_BUILTIN
=""
42023 COND_WXUSE_ZLIB_BUILTIN
="#"
42024 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
42025 COND_WXUSE_ZLIB_BUILTIN
=""
42030 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
42031 { { 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
42032 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;}
42033 { (exit 1); exit 1; }; }
42037 if test "$wxUSE_SHARED" = "yes"; then
42039 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
42040 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
42043 *-pc-os2_emx | *-pc-os2-emx )
42044 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42045 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42046 cp -p ${srcdir}/src
/os
2/dllnames.sh .
42047 cp -p ${srcdir}/src
/os
2/dllar.sh .
42052 EXE_LINKER
="$CXX -o"
42056 GCC_PRAGMA_FLAGS
=""
42058 if test $GCC_PCH = 1 ; then
42059 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42060 PCH_FLAGS
="-DWX_PRECOMP"
42063 powerpc
-*-darwin* )
42064 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42067 if test "$wxUSE_STL" = "yes" -o \
42068 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42069 "$wxUSE_NO_RTTI" != "yes"; then
42070 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42071 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42072 cat >conftest.
$ac_ext <<_ACEOF
42075 cat confdefs.h
>>conftest.
$ac_ext
42076 cat >>conftest.
$ac_ext <<_ACEOF
42077 /* end confdefs.h. */
42082 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42083 #error "Not GCC 3.2 or greater"
42090 rm -f conftest.
$ac_objext
42091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42092 (eval $ac_compile) 2>conftest.er1
42094 grep -v '^ *+' conftest.er1
>conftest.err
42096 cat conftest.err
>&5
42097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42098 (exit $ac_status); } &&
42099 { ac_try
='test -z "$ac_c_werror_flag"
42100 || test ! -s conftest.err'
42101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42102 (eval $ac_try) 2>&5
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); }; } &&
42106 { ac_try
='test -s conftest.$ac_objext'
42107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42108 (eval $ac_try) 2>&5
42110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42111 (exit $ac_status); }; }; then
42112 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42113 echo "$as_me:$LINENO: result: yes" >&5
42114 echo "${ECHO_T}yes" >&6
42116 echo "$as_me: failed program was:" >&5
42117 sed 's/^/| /' conftest.
$ac_ext >&5
42119 echo "$as_me:$LINENO: result: no" >&5
42120 echo "${ECHO_T}no" >&6
42122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42125 *-pc-os2_emx | *-pc-os2-emx )
42126 if test "$wxUSE_STL" = "yes"; then
42127 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
42128 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42129 cat >conftest.
$ac_ext <<_ACEOF
42132 cat confdefs.h
>>conftest.
$ac_ext
42133 cat >>conftest.
$ac_ext <<_ACEOF
42134 /* end confdefs.h. */
42139 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42140 #error "Not GCC 3.2 or greater"
42147 rm -f conftest.
$ac_objext
42148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42149 (eval $ac_compile) 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 { ac_try
='test -z "$ac_c_werror_flag"
42157 || test ! -s conftest.err'
42158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42159 (eval $ac_try) 2>&5
42161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42162 (exit $ac_status); }; } &&
42163 { ac_try
='test -s conftest.$ac_objext'
42164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42165 (eval $ac_try) 2>&5
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; }; then
42169 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42170 echo "$as_me:$LINENO: result: yes" >&5
42171 echo "${ECHO_T}yes" >&6
42173 echo "$as_me: failed program was:" >&5
42174 sed 's/^/| /' conftest.
$ac_ext >&5
42176 echo "$as_me:$LINENO: result: no" >&5
42177 echo "${ECHO_T}no" >&6
42179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42184 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
42187 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42251 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42252 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42253 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42254 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42255 echo $ECHO_N "(cached) $ECHO_C" >&6
42257 cat >conftest.
make <<\_ACEOF
42259 @
echo 'ac_maketemp="$(MAKE)"'
42261 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42262 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42263 if test -n "$ac_maketemp"; then
42264 eval ac_cv_prog_make_
${ac_make}_set
=yes
42266 eval ac_cv_prog_make_
${ac_make}_set
=no
42268 rm -f conftest.
make
42270 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42271 echo "$as_me:$LINENO: result: yes" >&5
42272 echo "${ECHO_T}yes" >&6
42275 echo "$as_me:$LINENO: result: no" >&5
42276 echo "${ECHO_T}no" >&6
42277 SET_MAKE
="MAKE=${MAKE-make}"
42282 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
42285 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
42288 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
42291 ac_config_files
="$ac_config_files version-script Makefile"
42294 ac_config_commands
="$ac_config_commands wx-config
42300 if test "$wxUSE_GUI" = "yes"; then
42301 SUBDIRS
="samples demos utils contrib"
42302 else SUBDIRS
="samples utils"
42307 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42308 if test "${with_cppunit_prefix+set}" = set; then
42309 withval
="$with_cppunit_prefix"
42310 cppunit_config_prefix
="$withval"
42312 cppunit_config_prefix
=""
42315 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42316 if test "${with_cppunit_exec_prefix+set}" = set; then
42317 withval
="$with_cppunit_exec_prefix"
42318 cppunit_config_exec_prefix
="$withval"
42320 cppunit_config_exec_prefix
=""
42323 if test x
$cppunit_config_exec_prefix != x
; then
42324 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42325 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42326 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
42329 if test x
$cppunit_config_prefix != x
; then
42330 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
42331 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42332 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
42336 # Extract the first word of "cppunit-config", so it can be a program name with args.
42337 set dummy cppunit
-config; ac_word
=$2
42338 echo "$as_me:$LINENO: checking for $ac_word" >&5
42339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42340 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42341 echo $ECHO_N "(cached) $ECHO_C" >&6
42343 case $CPPUNIT_CONFIG in
42345 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42349 for as_dir
in $PATH
42352 test -z "$as_dir" && as_dir
=.
42353 for ac_exec_ext
in '' $ac_executable_extensions; do
42354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42355 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42362 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42366 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42368 if test -n "$CPPUNIT_CONFIG"; then
42369 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42370 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42372 echo "$as_me:$LINENO: result: no" >&5
42373 echo "${ECHO_T}no" >&6
42376 cppunit_version_min
=1.8.0
42378 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42379 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42381 if test "$CPPUNIT_CONFIG" = "no" ; then
42384 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42385 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42386 cppunit_version
=`$CPPUNIT_CONFIG --version`
42388 cppunit_major_version
=`echo $cppunit_version | \
42389 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42390 cppunit_minor_version
=`echo $cppunit_version | \
42391 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42392 cppunit_micro_version
=`echo $cppunit_version | \
42393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42395 cppunit_major_min
=`echo $cppunit_version_min | \
42396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42397 cppunit_minor_min
=`echo $cppunit_version_min | \
42398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42399 cppunit_micro_min
=`echo $cppunit_version_min | \
42400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42402 cppunit_version_proper
=`expr \
42403 $cppunit_major_version \> $cppunit_major_min \| \
42404 $cppunit_major_version \= $cppunit_major_min \& \
42405 $cppunit_minor_version \> $cppunit_minor_min \| \
42406 $cppunit_major_version \= $cppunit_major_min \& \
42407 $cppunit_minor_version \= $cppunit_minor_min \& \
42408 $cppunit_micro_version \>= $cppunit_micro_min `
42410 if test "$cppunit_version_proper" = "1" ; then
42411 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42412 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42414 echo "$as_me:$LINENO: result: no" >&5
42415 echo "${ECHO_T}no" >&6
42420 if test "x$no_cppunit" = x
; then
42421 SUBDIRS
="$SUBDIRS tests"
42432 for subdir
in `echo $SUBDIRS`; do
42433 if test -d ${srcdir}/${subdir} ; then
42434 if test "$wxUSE_GUI" = "yes"; then
42435 if test ${subdir} = "samples"; then
42436 makefiles
="samples/Makefile.in $makefiles"
42437 for sample
in `echo $SAMPLES_SUBDIRS`; do
42438 if test -d $srcdir/samples
/$sample; then
42439 makefiles
="samples/$sample/Makefile.in $makefiles"
42442 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42444 else if test ${subdir} = "samples"; then
42445 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42446 elif test ${subdir} = "utils"; then
42448 for util
in HelpGen tex2rtf
; do
42449 if test -d $srcdir/utils
/$util ; then
42450 makefiles
="utils/$util/Makefile.in \
42451 utils/$util/src/Makefile.in \
42455 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42459 for mkin
in $makefiles ; do
42460 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42461 ac_config_files
="$ac_config_files $mk"
42468 cat >confcache
<<\_ACEOF
42469 # This file is a shell script that caches the results of configure
42470 # tests run on this system so they can be shared between configure
42471 # scripts and configure runs, see configure's option --config-cache.
42472 # It is not useful on other systems. If it contains results you don't
42473 # want to keep, you may remove or edit it.
42475 # config.status only pays attention to the cache file if you give it
42476 # the --recheck option to rerun configure.
42478 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42479 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42480 # following values.
42484 # The following way of writing the cache mishandles newlines in values,
42485 # but we know of no workaround that is simple, portable, and efficient.
42486 # So, don't put newlines in cache variables' values.
42487 # Ultrix sh set writes to stderr and can't be redirected directly,
42488 # and sets the high bit in the cache file unless we assign to the vars.
42491 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42493 # `set' does not quote correctly, so add quotes (double-quote
42494 # substitution turns \\\\ into \\, and sed turns \\ into \).
42497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42500 # `set' quotes correctly as required by POSIX, so do not add quotes.
42502 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42509 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42511 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42513 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42514 if test -w $cache_file; then
42515 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42516 cat confcache
>$cache_file
42518 echo "not updating unwritable cache $cache_file"
42523 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42524 # Let make expand exec_prefix.
42525 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42527 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42528 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42529 # trailing colons and then remove the whole line if VPATH becomes empty
42530 # (actually we leave an empty line to preserve line numbers).
42531 if test "x$srcdir" = x.
; then
42532 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42533 s/:*\$(srcdir):*/:/;
42534 s/:*\${srcdir}:*/:/;
42536 s/^\([^=]*=[ ]*\):*/\1/;
42542 DEFS
=-DHAVE_CONFIG_H
42546 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42547 # 1. Remove the extension, and $U if already installed.
42548 ac_i
=`echo "$ac_i" |
42549 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42551 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42552 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42554 LIBOBJS
=$ac_libobjs
42556 LTLIBOBJS
=$ac_ltlibobjs
42560 : ${CONFIG_STATUS=./config.status}
42561 ac_clean_files_save
=$ac_clean_files
42562 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42563 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42564 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42565 cat >$CONFIG_STATUS <<_ACEOF
42567 # Generated by $as_me.
42568 # Run this file to recreate the current configuration.
42569 # Compiler output produced by configure, useful for debugging
42570 # configure, is in config.log if it exists.
42573 ac_cs_recheck=false
42575 SHELL=\${CONFIG_SHELL-$SHELL}
42578 cat >>$CONFIG_STATUS <<\_ACEOF
42579 ## --------------------- ##
42580 ## M4sh Initialization. ##
42581 ## --------------------- ##
42583 # Be Bourne compatible
42584 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42587 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42588 # is contrary to our usage. Disable this feature.
42589 alias -g '${1+"$@"}'='"$@"'
42590 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42593 DUALCASE
=1; export DUALCASE
# for MKS sh
42595 # Support unset when possible.
42596 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42603 # Work around bugs in pre-3.0 UWIN ksh.
42604 $as_unset ENV MAIL MAILPATH
42611 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42612 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42613 LC_TELEPHONE LC_TIME
42615 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42616 eval $as_var=C
; export $as_var
42622 # Required to use basename.
42623 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42629 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42630 as_basename
=basename
42636 # Name of the executable.
42637 as_me
=`$as_basename "$0" ||
42638 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42639 X"$0" : 'X\(//\)$' \| \
42640 X"$0" : 'X\(/\)$' \| \
42641 . : '\(.\)' 2>/dev/null ||
42643 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42644 /^X\/\(\/\/\)$/{ s//\1/; q; }
42645 /^X\/\(\/\).*/{ s//\1/; q; }
42649 # PATH needs CR, and LINENO needs CR and PATH.
42650 # Avoid depending upon Character Ranges.
42651 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42652 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42653 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42654 as_cr_digits
='0123456789'
42655 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42657 # The user is always right.
42658 if test "${PATH_SEPARATOR+set}" != set; then
42659 echo "#! /bin/sh" >conf$$.sh
42660 echo "exit 0" >>conf$$.sh
42662 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42671 as_lineno_1
=$LINENO
42672 as_lineno_2
=$LINENO
42673 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42674 test "x$as_lineno_1" != "x$as_lineno_2" &&
42675 test "x$as_lineno_3" = "x$as_lineno_2" || {
42676 # Find who we are. Look in the path if we contain no path at all
42679 *[\\/]* ) as_myself
=$0 ;;
42680 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42681 for as_dir
in $PATH
42684 test -z "$as_dir" && as_dir
=.
42685 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42690 # We did not find ourselves, most probably we were run as `sh COMMAND'
42691 # in which case we are not to be found in the path.
42692 if test "x$as_myself" = x
; then
42695 if test ! -f "$as_myself"; then
42696 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42697 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42698 { (exit 1); exit 1; }; }
42700 case $CONFIG_SHELL in
42702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42703 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42706 test -z "$as_dir" && as_dir
=.
42707 for as_base
in sh bash ksh sh5
; do
42710 if ("$as_dir/$as_base" -c '
42711 as_lineno_1=$LINENO
42712 as_lineno_2=$LINENO
42713 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42714 test "x$as_lineno_1" != "x$as_lineno_2" &&
42715 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42716 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42717 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42718 CONFIG_SHELL
=$as_dir/$as_base
42719 export CONFIG_SHELL
42720 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42728 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42729 # uniformly replaced by the line number. The first 'sed' inserts a
42730 # line-number line before each line; the second 'sed' does the real
42731 # work. The second script uses 'N' to pair each line-number line
42732 # with the numbered line, and appends trailing '-' during
42733 # substitution so that $LINENO is not a special case at line end.
42734 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42735 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42736 sed '=' <$as_myself |
42741 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42744 s,^['$as_cr_digits']*\n,,
42745 ' >$as_me.lineno
&&
42746 chmod +x
$as_me.lineno
||
42747 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42748 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42749 { (exit 1); exit 1; }; }
42751 # Don't try to exec as it changes $[0], causing all sort of problems
42752 # (the dirname of $[0] is not the place where we might find the
42753 # original and so on. Autoconf is especially sensible to this).
42755 # Exit status is that of the last command.
42760 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42761 *c
*,-n*) ECHO_N
= ECHO_C
='
42763 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42764 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42767 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42773 rm -f conf$$ conf$$.exe conf$$.
file
42775 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42776 # We could just check for DJGPP; but this test a) works b) is more generic
42777 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42778 if test -f conf$$.exe
; then
42779 # Don't use ln at all; we don't have any links
42784 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42789 rm -f conf$$ conf$$.exe conf$$.
file
42791 if mkdir -p .
2>/dev
/null
; then
42794 test -d .
/-p && rmdir .
/-p
42798 as_executable_p
="test -f"
42800 # Sed expression to map a string onto a valid CPP name.
42801 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42803 # Sed expression to map a string onto a valid variable name.
42804 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42808 # We need space, tab and new line, in precisely that order.
42818 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42819 # report actual input values of CONFIG_FILES etc. instead of their
42820 # values after options handling. Logging --version etc. is OK.
42824 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42825 ## Running $as_me. ##
42830 This file was extended by wxWidgets $as_me 2.5.4, which was
42831 generated by GNU Autoconf 2.59. Invocation command line was
42833 CONFIG_FILES = $CONFIG_FILES
42834 CONFIG_HEADERS = $CONFIG_HEADERS
42835 CONFIG_LINKS = $CONFIG_LINKS
42836 CONFIG_COMMANDS = $CONFIG_COMMANDS
42840 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42844 # Files that config.status was made for.
42845 if test -n "$ac_config_files"; then
42846 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42849 if test -n "$ac_config_headers"; then
42850 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42853 if test -n "$ac_config_links"; then
42854 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42857 if test -n "$ac_config_commands"; then
42858 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42861 cat >>$CONFIG_STATUS <<\_ACEOF
42864 \`$as_me' instantiates files from templates according to the
42865 current configuration.
42867 Usage: $0 [OPTIONS] [FILE]...
42869 -h, --help print this help, then exit
42870 -V, --version print version number, then exit
42871 -q, --quiet do not print progress messages
42872 -d, --debug don't remove temporary files
42873 --recheck update $as_me by reconfiguring in the same conditions
42874 --file=FILE[:TEMPLATE]
42875 instantiate the configuration file FILE
42876 --header=FILE[:TEMPLATE]
42877 instantiate the configuration header FILE
42879 Configuration files:
42882 Configuration headers:
42885 Configuration commands:
42888 Report bugs to <bug-autoconf@gnu.org>."
42891 cat >>$CONFIG_STATUS <<_ACEOF
42893 wxWidgets config.status 2.5.4
42894 configured by $0, generated by GNU Autoconf 2.59,
42895 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42897 Copyright (C) 2003 Free Software Foundation, Inc.
42898 This config.status script is free software; the Free Software Foundation
42899 gives unlimited permission to copy, distribute and modify it."
42904 cat >>$CONFIG_STATUS <<\_ACEOF
42905 # If no file are specified by the user, then we need to provide default
42906 # value. By we need to know if files were specified by the user.
42912 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42913 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42921 *) # This is not an option, so the user has probably given explicit
42924 ac_need_defaults
=false
;;
42928 # Handling of the options.
42930 cat >>$CONFIG_STATUS <<\_ACEOF
42931 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42933 --version | --vers* | -V )
42934 echo "$ac_cs_version"; exit 0 ;;
42936 # Conflict between --help and --header
42937 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42938 Try \`$0 --help' for more information." >&5
42939 echo "$as_me: error: ambiguous option: $1
42940 Try \`$0 --help' for more information." >&2;}
42941 { (exit 1); exit 1; }; };;
42942 --help | --hel | -h )
42943 echo "$ac_cs_usage"; exit 0 ;;
42944 --debug | --d* | -d )
42946 --file | --fil | --fi | --f )
42948 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42949 ac_need_defaults
=false
;;
42950 --header | --heade | --head | --hea )
42952 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42953 ac_need_defaults
=false
;;
42954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42955 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42958 # This is an error.
42959 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42960 Try \`$0 --help' for more information." >&5
42961 echo "$as_me: error: unrecognized option: $1
42962 Try \`$0 --help' for more information." >&2;}
42963 { (exit 1); exit 1; }; } ;;
42965 *) ac_config_targets
="$ac_config_targets $1" ;;
42971 ac_configure_extra_args
=
42973 if $ac_cs_silent; then
42975 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42979 cat >>$CONFIG_STATUS <<_ACEOF
42980 if \$ac_cs_recheck; then
42981 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42982 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42987 cat >>$CONFIG_STATUS <<_ACEOF
42989 # INIT-COMMANDS section.
42992 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42993 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42994 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43002 cat >>$CONFIG_STATUS <<\_ACEOF
43003 for ac_config_target
in $ac_config_targets
43005 case "$ac_config_target" in
43006 # Handling of arguments.
43007 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
43008 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
43009 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
43010 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
43011 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
43012 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
43013 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
43014 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43015 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43016 { (exit 1); exit 1; }; };;
43020 # If the user did not use the arguments to specify the items to instantiate,
43021 # then the envvar interface is used. Set only those that are not.
43022 # We use the long form for the default assignment because of an extremely
43023 # bizarre bug on SunOS 4.1.3.
43024 if $ac_need_defaults; then
43025 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
43026 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
43027 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
43030 # Have a temporary directory for convenience. Make it in the build tree
43031 # simply because there is no reason to put it here, and in addition,
43032 # creating and moving files from /tmp can sometimes cause problems.
43033 # Create a temporary directory, and hook for its removal unless debugging.
43036 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43037 trap '{ (exit 1); exit 1; }' 1 2 13 15
43040 # Create a (secure) tmp directory for tmp files.
43043 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43044 test -n "$tmp" && test -d "$tmp"
43047 tmp
=.
/confstat$$
-$RANDOM
43048 (umask 077 && mkdir $tmp)
43051 echo "$me: cannot create a temporary directory in ." >&2
43052 { (exit 1); exit 1; }
43057 cat >>$CONFIG_STATUS <<_ACEOF
43060 # CONFIG_FILES section.
43063 # No need to generate the scripts if there are no CONFIG_FILES.
43064 # This happens for instance when ./config.status config.h
43065 if test -n "\$CONFIG_FILES"; then
43066 # Protect against being on the right side of a sed subst in config.status.
43067 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43068 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43069 s,@SHELL@,$SHELL,;t t
43070 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43071 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43072 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43073 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43074 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43075 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43076 s,@exec_prefix@,$exec_prefix,;t t
43077 s,@prefix@,$prefix,;t t
43078 s,@program_transform_name@,$program_transform_name,;t t
43079 s,@bindir@,$bindir,;t t
43080 s,@sbindir@,$sbindir,;t t
43081 s,@libexecdir@,$libexecdir,;t t
43082 s,@datadir@,$datadir,;t t
43083 s,@sysconfdir@,$sysconfdir,;t t
43084 s,@sharedstatedir@,$sharedstatedir,;t t
43085 s,@localstatedir@,$localstatedir,;t t
43086 s,@libdir@,$libdir,;t t
43087 s,@includedir@,$includedir,;t t
43088 s,@oldincludedir@,$oldincludedir,;t t
43089 s,@infodir@,$infodir,;t t
43090 s,@mandir@,$mandir,;t t
43091 s,@build_alias@,$build_alias,;t t
43092 s,@host_alias@,$host_alias,;t t
43093 s,@target_alias@,$target_alias,;t t
43094 s,@DEFS@,$DEFS,;t t
43095 s,@ECHO_C@,$ECHO_C,;t t
43096 s,@ECHO_N@,$ECHO_N,;t t
43097 s,@ECHO_T@,$ECHO_T,;t t
43098 s,@LIBS@,$LIBS,;t t
43099 s,@build@,$build,;t t
43100 s,@build_cpu@,$build_cpu,;t t
43101 s,@build_vendor@,$build_vendor,;t t
43102 s,@build_os@,$build_os,;t t
43103 s,@host@,$host,;t t
43104 s,@host_cpu@,$host_cpu,;t t
43105 s,@host_vendor@,$host_vendor,;t t
43106 s,@host_os@,$host_os,;t t
43107 s,@target@,$target,;t t
43108 s,@target_cpu@,$target_cpu,;t t
43109 s,@target_vendor@,$target_vendor,;t t
43110 s,@target_os@,$target_os,;t t
43112 s,@CFLAGS@,$CFLAGS,;t t
43113 s,@LDFLAGS@,$LDFLAGS,;t t
43114 s,@CPPFLAGS@,$CPPFLAGS,;t t
43115 s,@ac_ct_CC@,$ac_ct_CC,;t t
43116 s,@EXEEXT@,$EXEEXT,;t t
43117 s,@OBJEXT@,$OBJEXT,;t t
43119 s,@EGREP@,$EGREP,;t t
43121 s,@CXXFLAGS@,$CXXFLAGS,;t t
43122 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43123 s,@RANLIB@,$RANLIB,;t t
43124 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43126 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43127 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43128 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43129 s,@STRIP@,$STRIP,;t t
43130 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43131 s,@LN_S@,$LN_S,;t t
43132 s,@CXXCPP@,$CXXCPP,;t t
43133 s,@subdirs@,$subdirs,;t t
43134 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43135 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43136 s,@GTK_LIBS@,$GTK_LIBS,;t t
43137 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43138 s,@X_CFLAGS@,$X_CFLAGS,;t t
43139 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43140 s,@X_LIBS@,$X_LIBS,;t t
43141 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43142 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43143 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43144 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43145 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43146 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43147 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43148 s,@RESCOMP@,$RESCOMP,;t t
43149 s,@DEREZ@,$DEREZ,;t t
43150 s,@SETFILE@,$SETFILE,;t t
43151 s,@LIBICONV@,$LIBICONV,;t t
43152 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43153 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43154 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43155 s,@SDL_LIBS@,$SDL_LIBS,;t t
43156 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
43157 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
43158 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
43159 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
43160 s,@GST_INSPECT@,$GST_INSPECT,;t t
43161 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43162 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43163 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43164 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43165 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43166 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43167 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43168 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43169 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43170 s,@VENDOR@,$VENDOR,;t t
43171 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43172 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
43173 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
43174 s,@WXUNIV@,$WXUNIV,;t t
43175 s,@MONOLITHIC@,$MONOLITHIC,;t t
43176 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43177 s,@EXTRALIBS@,$EXTRALIBS,;t t
43178 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43179 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43180 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43181 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43182 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43183 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43184 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43185 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
43186 s,@UNICODE@,$UNICODE,;t t
43187 s,@BUILD@,$BUILD,;t t
43188 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43189 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43190 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43191 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43192 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43193 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43194 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43195 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43196 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43197 s,@SET_MAKE@,$SET_MAKE,;t t
43198 s,@MAKE_SET@,$MAKE_SET,;t t
43199 s,@ac_ct_AR@,$ac_ct_AR,;t t
43200 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43202 s,@ac_ct_NM@,$ac_ct_NM,;t t
43203 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43204 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43205 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43206 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43207 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43208 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43209 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
43210 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43211 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43212 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
43213 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43214 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43215 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43216 s,@LIBPREFIX@,$LIBPREFIX,;t t
43217 s,@LIBEXT@,$LIBEXT,;t t
43218 s,@DLLPREFIX@,$DLLPREFIX,;t t
43219 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43220 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43221 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43222 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43223 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43224 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43225 s,@PIC_FLAG@,$PIC_FLAG,;t t
43226 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43227 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43228 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43229 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43230 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43231 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43232 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43233 s,@GCC_PCH@,$GCC_PCH,;t t
43234 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43235 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43236 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43237 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43238 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43239 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43240 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43241 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43242 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43243 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43244 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43245 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43246 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43247 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43248 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43249 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43250 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43251 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43252 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
43253 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
43254 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43255 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
43256 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43257 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43258 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
43259 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
43260 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43261 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
43262 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43263 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43264 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43265 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43266 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43267 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43268 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43269 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43270 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
43271 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43272 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43273 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43274 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
43275 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43276 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
43277 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
43278 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43279 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43280 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
43281 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43282 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43283 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43284 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43285 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43286 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43287 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43288 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43289 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43290 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
43291 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
43292 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
43293 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43294 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43295 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43296 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43297 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43298 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43299 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43300 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43301 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43302 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43303 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
43304 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43305 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
43306 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43307 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43308 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43309 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43310 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43311 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43312 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43313 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43314 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43315 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43316 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43317 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43318 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43319 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43320 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43321 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43322 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43323 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43324 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43325 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43326 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43327 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43328 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43329 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43330 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43331 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43332 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43333 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43334 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43335 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43336 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43337 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43338 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43339 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43340 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43341 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43342 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43343 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43344 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43345 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43346 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43347 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43348 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
43349 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43350 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43351 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43352 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43353 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43354 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43355 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43356 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43357 s,@SHARED@,$SHARED,;t t
43358 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43359 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43360 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43361 s,@USE_GUI@,$USE_GUI,;t t
43362 s,@AFMINSTALL@,$AFMINSTALL,;t t
43363 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43364 s,@TOOLKIT@,$TOOLKIT,;t t
43365 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43366 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43367 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43368 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43369 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43370 s,@cross_compiling@,$cross_compiling,;t t
43371 s,@WIDGET_SET@,$WIDGET_SET,;t t
43372 s,@WX_RELEASE@,$WX_RELEASE,;t t
43373 s,@WX_VERSION@,$WX_VERSION,;t t
43374 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43375 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43376 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43377 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43378 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43379 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43380 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43381 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43382 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43383 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43384 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43385 s,@EXE_LINKER@,$EXE_LINKER,;t t
43386 s,@GUIDIST@,$GUIDIST,;t t
43387 s,@DISTDIR@,$DISTDIR,;t t
43388 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43389 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43390 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43391 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43392 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43393 s,@RESFLAGS@,$RESFLAGS,;t t
43394 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43395 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43396 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43397 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43398 s,@MACRESCOMP@,$MACRESCOMP,;t t
43399 s,@MACSETFILE@,$MACSETFILE,;t t
43400 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43402 s,@DLLTOOL@,$DLLTOOL,;t t
43403 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43404 s,@LIBOBJS@,$LIBOBJS,;t t
43405 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43410 cat >>$CONFIG_STATUS <<\_ACEOF
43411 # Split the substitutions into bite-sized pieces for seds with
43412 # small command number limits, like on Digital OSF/1 and HP-UX.
43413 ac_max_sed_lines
=48
43414 ac_sed_frag
=1 # Number of current file.
43415 ac_beg
=1 # First line for current file.
43416 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43419 while $ac_more_lines; do
43420 if test $ac_beg -gt 1; then
43421 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43423 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43425 if test ! -s $tmp/subs.frag
; then
43426 ac_more_lines
=false
43428 # The purpose of the label and of the branching condition is to
43429 # speed up the sed processing (if there are no `@' at all, there
43430 # is no need to browse any of the substitutions).
43431 # These are the two extra sed commands mentioned above.
43433 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43434 if test -z "$ac_sed_cmds"; then
43435 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43437 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43439 ac_sed_frag
=`expr $ac_sed_frag + 1`
43441 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43444 if test -z "$ac_sed_cmds"; then
43447 fi # test -n "$CONFIG_FILES"
43450 cat >>$CONFIG_STATUS <<\_ACEOF
43451 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43452 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43454 - | *:- | *:-:* ) # input from stdin
43456 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43457 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43458 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43459 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43460 * ) ac_file_in
=$ac_file.
in ;;
43463 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43464 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43466 X"$ac_file" : 'X\(//\)[^/]' \| \
43467 X"$ac_file" : 'X\(//\)$' \| \
43468 X"$ac_file" : 'X\(/\)' \| \
43469 . : '\(.\)' 2>/dev/null ||
43471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43473 /^X\(\/\/\)$/{ s//\1/; q; }
43474 /^X\(\/\).*/{ s//\1/; q; }
43476 { if $as_mkdir_p; then
43481 while test ! -d "$as_dir"; do
43482 as_dirs
="$as_dir $as_dirs"
43483 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43485 X"$as_dir" : 'X\(//\)[^/]' \| \
43486 X"$as_dir" : 'X\(//\)$' \| \
43487 X"$as_dir" : 'X\(/\)' \| \
43488 . : '\(.\)' 2>/dev/null ||
43490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43492 /^X\(\/\/\)$/{ s//\1/; q; }
43493 /^X\(\/\).*/{ s//\1/; q; }
43496 test ! -n "$as_dirs" || mkdir $as_dirs
43497 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43498 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43499 { (exit 1); exit 1; }; }; }
43503 if test "$ac_dir" != .
; then
43504 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43505 # A "../" for each directory in $ac_dir_suffix.
43506 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43508 ac_dir_suffix
= ac_top_builddir
=
43512 .
) # No --srcdir option. We are building in place.
43514 if test -z "$ac_top_builddir"; then
43517 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43519 [\\/]* | ?
:[\\/]* ) # Absolute path.
43520 ac_srcdir
=$srcdir$ac_dir_suffix;
43521 ac_top_srcdir
=$srcdir ;;
43522 *) # Relative path.
43523 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43524 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43527 # Do not use `cd foo && pwd` to compute absolute paths, because
43528 # the directories may not exist.
43530 .
) ac_abs_builddir
="$ac_dir";;
43533 .
) ac_abs_builddir
=`pwd`;;
43534 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43535 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43538 case $ac_abs_builddir in
43539 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43541 case ${ac_top_builddir}.
in
43542 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43543 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43544 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43547 case $ac_abs_builddir in
43548 .
) ac_abs_srcdir
=$ac_srcdir;;
43551 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43552 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43553 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43556 case $ac_abs_builddir in
43557 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43559 case $ac_top_srcdir in
43560 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43561 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43562 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43568 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43569 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43572 if test x
"$ac_file" != x
-; then
43573 { echo "$as_me:$LINENO: creating $ac_file" >&5
43574 echo "$as_me: creating $ac_file" >&6;}
43577 # Let's still pretend it is `configure' which instantiates (i.e., don't
43578 # use $as_me), people would be surprised to read:
43579 # /* config.h. Generated by config.status. */
43580 if test x
"$ac_file" = x
-; then
43583 configure_input
="$ac_file. "
43585 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43586 sed 's,.*/,,'` by configure."
43588 # First look for the input files in the build tree, otherwise in the
43590 ac_file_inputs
=`IFS=:
43591 for f in $ac_file_in; do
43593 -) echo $tmp/stdin ;;
43595 # Absolute (can't be DOS-style, as IFS=:)
43596 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43597 echo "$as_me: error: cannot find input file: $f" >&2;}
43598 { (exit 1); exit 1; }; }
43601 if test -f "$f"; then
43604 elif test -f "$srcdir/$f"; then
43609 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43610 echo "$as_me: error: cannot find input file: $f" >&2;}
43611 { (exit 1); exit 1; }; }
43614 done` || { (exit 1); exit 1; }
43616 cat >>$CONFIG_STATUS <<_ACEOF
43620 cat >>$CONFIG_STATUS <<\_ACEOF
43622 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43623 s
,@configure_input@
,$configure_input,;t t
43624 s
,@srcdir@
,$ac_srcdir,;t t
43625 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43626 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43627 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43628 s
,@builddir@
,$ac_builddir,;t t
43629 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43630 s
,@top_builddir@
,$ac_top_builddir,;t t
43631 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43632 s
,@INSTALL@
,$ac_INSTALL,;t t
43633 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43635 if test x"$ac_file" != x-; then
43636 mv $tmp/out $ac_file
43642 # Run the commands associated with the file.
43644 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43645 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43649 cat >>$CONFIG_STATUS <<\_ACEOF
43652 # CONFIG_HEADER section.
43655 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43656 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43658 # ac_d sets the value in "#define NAME VALUE" lines.
43659 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43660 ac_dB
='[ ].*$,\1#\2'
43663 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43664 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43665 ac_uB
='$,\1#\2define\3'
43669 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43670 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43672 - | *:- | *:-:* ) # input from stdin
43674 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43675 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43676 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43677 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43678 * ) ac_file_in
=$ac_file.
in ;;
43681 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43682 echo "$as_me: creating $ac_file" >&6;}
43684 # First look for the input files in the build tree, otherwise in the
43686 ac_file_inputs
=`IFS=:
43687 for f in $ac_file_in; do
43689 -) echo $tmp/stdin ;;
43691 # Absolute (can't be DOS-style, as IFS=:)
43692 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43693 echo "$as_me: error: cannot find input file: $f" >&2;}
43694 { (exit 1); exit 1; }; }
43695 # Do quote $f, to prevent DOS paths from being IFS'd.
43698 if test -f "$f"; then
43701 elif test -f "$srcdir/$f"; then
43706 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43707 echo "$as_me: error: cannot find input file: $f" >&2;}
43708 { (exit 1); exit 1; }; }
43711 done` || { (exit 1); exit 1; }
43712 # Remove the trailing spaces.
43713 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43717 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43718 # `conftest.undefs', that substitutes the proper values into
43719 # config.h.in to produce config.h. The first handles `#define'
43720 # templates, and the second `#undef' templates.
43721 # And first: Protect against being on the right side of a sed subst in
43722 # config.status. Protect against being in an unquoted here document
43723 # in config.status.
43724 rm -f conftest.defines conftest.undefs
43725 # Using a here document instead of a string reduces the quoting nightmare.
43726 # Putting comments in sed scripts is not portable.
43728 # `end' is used to avoid that the second main sed command (meant for
43729 # 0-ary CPP macros) applies to n-ary macro definitions.
43730 # See the Autoconf documentation for `clear'.
43731 cat >confdef2sed.
sed <<\_ACEOF
43736 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43738 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43741 # If some macros were called several times there might be several times
43742 # the same #defines, which is useless. Nevertheless, we may not want to
43743 # sort them, since we want the *last* AC-DEFINE to be honored.
43744 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43745 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43746 rm -f confdef2sed.sed
43748 # This sed command replaces #undef with comments. This is necessary, for
43749 # example, in the case of _POSIX_SOURCE, which is predefined and required
43750 # on some systems where configure will not decide to define it.
43751 cat >>conftest.undefs <<\_ACEOF
43752 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43755 # Break up conftest.defines because some shells have a limit on the size
43756 # of here documents, and old seds have small limits too (100 cmds).
43757 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43758 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43759 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43760 echo ' :' >>$CONFIG_STATUS
43761 rm -f conftest.tail
43762 while grep . conftest.defines >/dev/null
43764 # Write a limited-size here document to $tmp/defines.sed.
43765 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43766 # Speed up: don't consider the non `#define' lines.
43767 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43768 # Work around the forget-to-reset-the-flag bug.
43769 echo 't clr' >>$CONFIG_STATUS
43770 echo ': clr' >>$CONFIG_STATUS
43771 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43773 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43775 mv $tmp/out $tmp/in
43777 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43778 rm -f conftest.defines
43779 mv conftest.
tail conftest.defines
43781 rm -f conftest.defines
43782 echo ' fi # grep' >>$CONFIG_STATUS
43783 echo >>$CONFIG_STATUS
43785 # Break up conftest.undefs because some shells have a limit on the size
43786 # of here documents, and old seds have small limits too (100 cmds).
43787 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43788 rm -f conftest.
tail
43789 while grep . conftest.undefs
>/dev
/null
43791 # Write a limited-size here document to $tmp/undefs.sed.
43792 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43793 # Speed up: don't consider the non
`#undef'
43794 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43795 # Work around the forget-to-reset-the-flag bug.
43796 echo 't clr' >>$CONFIG_STATUS
43797 echo ': clr' >>$CONFIG_STATUS
43798 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43800 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43802 mv $tmp/out $tmp/in
43804 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43805 rm -f conftest.undefs
43806 mv conftest.tail conftest.undefs
43808 rm -f conftest.undefs
43810 cat >>$CONFIG_STATUS <<\_ACEOF
43811 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43812 # use $as_me), people would be surprised to read:
43813 # /* config.h. Generated by config.status. */
43814 if test x
"$ac_file" = x
-; then
43815 echo "/* Generated by configure. */" >$tmp/config.h
43817 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43819 cat $tmp/in >>$tmp/config.h
43821 if test x
"$ac_file" != x
-; then
43822 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43823 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43824 echo "$as_me: $ac_file is unchanged" >&6;}
43826 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43828 X"$ac_file" : 'X\(//\)[^/]' \| \
43829 X"$ac_file" : 'X\(//\)$' \| \
43830 X"$ac_file" : 'X\(/\)' \| \
43831 . : '\(.\)' 2>/dev/null ||
43833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43835 /^X\(\/\/\)$/{ s//\1/; q; }
43836 /^X\(\/\).*/{ s//\1/; q; }
43838 { if $as_mkdir_p; then
43843 while test ! -d "$as_dir"; do
43844 as_dirs
="$as_dir $as_dirs"
43845 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43847 X"$as_dir" : 'X\(//\)[^/]' \| \
43848 X"$as_dir" : 'X\(//\)$' \| \
43849 X"$as_dir" : 'X\(/\)' \| \
43850 . : '\(.\)' 2>/dev/null ||
43852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43854 /^X\(\/\/\)$/{ s//\1/; q; }
43855 /^X\(\/\).*/{ s//\1/; q; }
43858 test ! -n "$as_dirs" || mkdir $as_dirs
43859 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43860 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43861 { (exit 1); exit 1; }; }; }
43864 mv $tmp/config.h
$ac_file
43868 rm -f $tmp/config.h
43872 cat >>$CONFIG_STATUS <<\_ACEOF
43875 # CONFIG_COMMANDS section.
43877 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43878 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43879 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43880 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43881 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43882 X"$ac_dest" : 'X\(//\)[^/]' \| \
43883 X"$ac_dest" : 'X\(//\)$' \| \
43884 X"$ac_dest" : 'X\(/\)' \| \
43885 . : '\(.\)' 2>/dev/null ||
43887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43889 /^X\(\/\/\)$/{ s//\1/; q; }
43890 /^X\(\/\).*/{ s//\1/; q; }
43892 { if $as_mkdir_p; then
43897 while test ! -d "$as_dir"; do
43898 as_dirs
="$as_dir $as_dirs"
43899 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43901 X"$as_dir" : 'X\(//\)[^/]' \| \
43902 X"$as_dir" : 'X\(//\)$' \| \
43903 X"$as_dir" : 'X\(/\)' \| \
43904 . : '\(.\)' 2>/dev/null ||
43906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43907 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43908 /^X\(\/\/\)$/{ s//\1/; q; }
43909 /^X\(\/\).*/{ s//\1/; q; }
43912 test ! -n "$as_dirs" || mkdir $as_dirs
43913 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43914 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43915 { (exit 1); exit 1; }; }; }
43919 if test "$ac_dir" != .
; then
43920 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43921 # A "../" for each directory in $ac_dir_suffix.
43922 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43924 ac_dir_suffix
= ac_top_builddir
=
43928 .
) # No --srcdir option. We are building in place.
43930 if test -z "$ac_top_builddir"; then
43933 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43935 [\\/]* | ?
:[\\/]* ) # Absolute path.
43936 ac_srcdir
=$srcdir$ac_dir_suffix;
43937 ac_top_srcdir
=$srcdir ;;
43938 *) # Relative path.
43939 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43940 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43943 # Do not use `cd foo && pwd` to compute absolute paths, because
43944 # the directories may not exist.
43946 .
) ac_abs_builddir
="$ac_dir";;
43949 .
) ac_abs_builddir
=`pwd`;;
43950 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43951 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43954 case $ac_abs_builddir in
43955 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43957 case ${ac_top_builddir}.
in
43958 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43959 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43960 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43963 case $ac_abs_builddir in
43964 .
) ac_abs_srcdir
=$ac_srcdir;;
43967 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43968 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43969 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43972 case $ac_abs_builddir in
43973 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43975 case $ac_top_srcdir in
43976 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43977 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43978 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43983 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43984 echo "$as_me: executing $ac_dest commands" >&6;}
43986 wx
-config ) rm -f wx
-config
43987 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43993 cat >>$CONFIG_STATUS <<\_ACEOF
43995 { (exit 0); exit 0; }
43997 chmod +x
$CONFIG_STATUS
43998 ac_clean_files
=$ac_clean_files_save
44001 # configure is writing to config.log, and then calls config.status.
44002 # config.status does its own redirection, appending to config.log.
44003 # Unfortunately, on DOS this fails, as config.log is still kept open
44004 # by configure, so config.status won't be able to write to it; its
44005 # output is simply discarded. So we exec the FD to /dev/null,
44006 # effectively closing config.log, so it can be properly (re)opened and
44007 # appended to by config.status. When coming back to configure, we
44008 # need to make the FD available again.
44009 if test "$no_create" != yes; then
44011 ac_config_status_args
=
44012 test "$silent" = yes &&
44013 ac_config_status_args
="$ac_config_status_args --quiet"
44015 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
44017 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44018 # would make configure fail if this is the last instruction.
44019 $ac_cs_success || { (exit 1); exit 1; }
44023 # CONFIG_SUBDIRS section.
44025 if test "$no_recursion" != yes; then
44027 # Remove --cache-file and --srcdir arguments so they do not pile up.
44028 ac_sub_configure_args
=
44030 for ac_arg
in $ac_configure_args; do
44031 if test -n "$ac_prev"; then
44036 -cache-file | --cache-file | --cache-fil | --cache-fi \
44037 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
44038 ac_prev
=cache_file
;;
44039 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
44040 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
44043 --config-cache | -C)
44045 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
44047 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
44049 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
44051 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
44053 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
44057 # Always prepend --prefix to ensure using the same prefix
44058 # in subdir configurations.
44059 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
44062 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
44064 # Do not complain, so a configure script can configure whichever
44065 # parts of a large source tree are present.
44066 test -d $srcdir/$ac_dir || continue
44068 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44069 echo "$as_me: configuring in $ac_dir" >&6;}
44070 { if $as_mkdir_p; then
44075 while test ! -d "$as_dir"; do
44076 as_dirs
="$as_dir $as_dirs"
44077 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44079 X"$as_dir" : 'X\(//\)[^/]' \| \
44080 X"$as_dir" : 'X\(//\)$' \| \
44081 X"$as_dir" : 'X\(/\)' \| \
44082 . : '\(.\)' 2>/dev/null ||
44084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44086 /^X\(\/\/\)$/{ s//\1/; q; }
44087 /^X\(\/\).*/{ s//\1/; q; }
44090 test ! -n "$as_dirs" || mkdir $as_dirs
44091 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44092 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44093 { (exit 1); exit 1; }; }; }
44097 if test "$ac_dir" != .
; then
44098 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44099 # A "../" for each directory in $ac_dir_suffix.
44100 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44102 ac_dir_suffix
= ac_top_builddir
=
44106 .
) # No --srcdir option. We are building in place.
44108 if test -z "$ac_top_builddir"; then
44111 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44113 [\\/]* | ?
:[\\/]* ) # Absolute path.
44114 ac_srcdir
=$srcdir$ac_dir_suffix;
44115 ac_top_srcdir
=$srcdir ;;
44116 *) # Relative path.
44117 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44118 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44121 # Do not use `cd foo && pwd` to compute absolute paths, because
44122 # the directories may not exist.
44124 .
) ac_abs_builddir
="$ac_dir";;
44127 .
) ac_abs_builddir
=`pwd`;;
44128 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44129 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44132 case $ac_abs_builddir in
44133 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44135 case ${ac_top_builddir}.
in
44136 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44137 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44138 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44141 case $ac_abs_builddir in
44142 .
) ac_abs_srcdir
=$ac_srcdir;;
44145 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44146 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44147 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44150 case $ac_abs_builddir in
44151 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44153 case $ac_top_srcdir in
44154 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44155 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44156 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44163 # Check for guested configure; otherwise get Cygnus style configure.
44164 if test -f $ac_srcdir/configure.gnu
; then
44165 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
44166 elif test -f $ac_srcdir/configure
; then
44167 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
44168 elif test -f $ac_srcdir/configure.
in; then
44169 ac_sub_configure
=$ac_configure
44171 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44172 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44176 # The recursion is here.
44177 if test -n "$ac_sub_configure"; then
44178 # Make the cache file name correct relative to the subdirectory.
44179 case $cache_file in
44180 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
44181 *) # Relative path.
44182 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
44185 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44186 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44187 # The eval makes quoting arguments work.
44188 eval $ac_sub_configure $ac_sub_configure_args \
44189 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44190 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44191 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44192 { (exit 1); exit 1; }; }
44201 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44203 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
44204 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44206 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44207 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44208 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44210 echo " What level of wxWidgets compatibility should be enabled?"
44211 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44212 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44214 echo " Which libraries should wxWidgets use?"
44215 echo " jpeg ${wxUSE_LIBJPEG-none}"
44216 echo " png ${wxUSE_LIBPNG-none}"
44217 echo " regex ${wxUSE_REGEX}"
44218 echo " tiff ${wxUSE_LIBTIFF-none}"
44219 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44220 echo " xpm ${wxUSE_LIBXPM-none}"
44222 echo " zlib ${wxUSE_ZLIB}"
44223 echo " odbc ${wxUSE_ODBC}"
44224 echo " expat ${wxUSE_EXPAT}"
44225 echo " libmspack ${wxUSE_LIBMSPACK}"
44226 echo " sdl ${wxUSE_LIBSDL}"
44227 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"