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 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
(Linux only
)
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_ARCSTREAM
=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_ARCSTREAM
=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_ARCSTREAM=yes'
4686 ac_cv_use_arcstream
='wxUSE_ARCSTREAM=no'
4691 LINE
=`grep "wxUSE_ARCSTREAM" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x
; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_arcstream
='wxUSE_ARCSTREAM='$DEFAULT_wxUSE_ARCSTREAM
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_ARCSTREAM" = 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 cat >conftest.
$ac_ext <<_ACEOF
12716 cat confdefs.h
>>conftest.
$ac_ext
12717 cat >>conftest.
$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12732 rm -f conftest.
$ac_objext
12733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12734 (eval $ac_compile) 2>conftest.er1
12736 grep -v '^ *+' conftest.er1
>conftest.err
12738 cat conftest.err
>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } &&
12741 { ac_try
='test -z "$ac_c_werror_flag"
12742 || test ! -s conftest.err'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; } &&
12748 { ac_try
='test -s conftest.$ac_objext'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12755 cat >conftest.
$ac_ext <<_ACEOF
12758 cat confdefs.h
>>conftest.
$ac_ext
12759 cat >>conftest.
$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12766 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12767 #error intermediate gcc
12774 rm -f conftest.
$ac_objext
12775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12776 (eval $ac_compile) 2>conftest.er1
12778 grep -v '^ *+' conftest.er1
>conftest.err
12780 cat conftest.err
>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); } &&
12783 { ac_try
='test -z "$ac_c_werror_flag"
12784 || test ! -s conftest.err'
12785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12786 (eval $ac_try) 2>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); }; } &&
12790 { ac_try
='test -s conftest.$ac_objext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12797 wx_cv_gccversion
=Innotek
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.
$ac_ext >&5
12808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.
$ac_ext >&5
12819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12822 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12823 echo "${ECHO_T}$wx_cv_gccversion" >&6
12824 if test "$wx_cv_gccversion" = "2"; then
12825 LIBS
="$LIBS -lstdcpp"
12826 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12828 if test "$wx_cv_gccversion" = "3"; then
12829 LIBS
="$LIBS -lstdcxx"
12830 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12832 LIBS
="$LIBS -lstdc++"
12835 if test "$wxUSE_OMF" = "yes"; then
12836 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12844 ac_cpp
='$CXXCPP $CPPFLAGS'
12845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12850 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12851 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12852 if test "${ac_cv_string_strcasecmp+set}" = set; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 cat >conftest.
$ac_ext <<_ACEOF
12859 cat confdefs.h
>>conftest.
$ac_ext
12860 cat >>conftest.
$ac_ext <<_ACEOF
12861 /* end confdefs.h. */
12863 #include <string.h>
12869 strcasecmp("foo", "bar");
12875 rm -f conftest.
$ac_objext conftest
$ac_exeext
12876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12877 (eval $ac_link) 2>conftest.er1
12879 grep -v '^ *+' conftest.er1
>conftest.err
12881 cat conftest.err
>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } &&
12884 { ac_try
='test -z "$ac_cxx_werror_flag"
12885 || test ! -s conftest.err'
12886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12887 (eval $ac_try) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; } &&
12891 { ac_try
='test -s conftest$ac_exeext'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; }; then
12897 ac_cv_string_strcasecmp
=yes
12899 echo "$as_me: failed program was:" >&5
12900 sed 's/^/| /' conftest.
$ac_ext >&5
12902 ac_cv_string_strcasecmp
=no
12905 rm -f conftest.err conftest.
$ac_objext \
12906 conftest
$ac_exeext conftest.
$ac_ext
12909 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12910 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12912 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12913 cat >>confdefs.h
<<\_ACEOF
12914 #define HAVE_STRCASECMP_IN_STRING_H 1
12918 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12919 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12920 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 cat >conftest.
$ac_ext <<_ACEOF
12927 cat confdefs.h
>>conftest.
$ac_ext
12928 cat >>conftest.
$ac_ext <<_ACEOF
12929 /* end confdefs.h. */
12931 #include <strings.h>
12937 strcasecmp("foo", "bar");
12943 rm -f conftest.
$ac_objext conftest
$ac_exeext
12944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12945 (eval $ac_link) 2>conftest.er1
12947 grep -v '^ *+' conftest.er1
>conftest.err
12949 cat conftest.err
>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); } &&
12952 { ac_try
='test -z "$ac_cxx_werror_flag"
12953 || test ! -s conftest.err'
12954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955 (eval $ac_try) 2>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); }; } &&
12959 { ac_try
='test -s conftest$ac_exeext'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; }; then
12965 ac_cv_strings_strcasecmp
=yes
12967 echo "$as_me: failed program was:" >&5
12968 sed 's/^/| /' conftest.
$ac_ext >&5
12970 ac_cv_strings_strcasecmp
=no
12973 rm -f conftest.err conftest.
$ac_objext \
12974 conftest
$ac_exeext conftest.
$ac_ext
12977 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12978 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12980 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12981 cat >>confdefs.h
<<\_ACEOF
12982 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12986 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12987 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12988 { (exit 1); exit 1; }; }
12993 ac_cpp
='$CPP $CPPFLAGS'
12994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13002 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13003 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13004 if test "${ac_cv_header_stdc+set}" = set; then
13005 echo $ECHO_N "(cached) $ECHO_C" >&6
13007 cat >conftest.
$ac_ext <<_ACEOF
13010 cat confdefs.h
>>conftest.
$ac_ext
13011 cat >>conftest.
$ac_ext <<_ACEOF
13012 /* end confdefs.h. */
13013 #include <stdlib.h>
13014 #include <stdarg.h>
13015 #include <string.h>
13026 rm -f conftest.
$ac_objext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13028 (eval $ac_compile) 2>conftest.er1
13030 grep -v '^ *+' conftest.er1
>conftest.err
13032 cat conftest.err
>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } &&
13035 { ac_try
='test -z "$ac_c_werror_flag"
13036 || test ! -s conftest.err'
13037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13038 (eval $ac_try) 2>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); }; } &&
13042 { ac_try
='test -s conftest.$ac_objext'
13043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13044 (eval $ac_try) 2>&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); }; }; then
13048 ac_cv_header_stdc
=yes
13050 echo "$as_me: failed program was:" >&5
13051 sed 's/^/| /' conftest.
$ac_ext >&5
13053 ac_cv_header_stdc
=no
13055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13057 if test $ac_cv_header_stdc = yes; then
13058 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13059 cat >conftest.
$ac_ext <<_ACEOF
13062 cat confdefs.h
>>conftest.
$ac_ext
13063 cat >>conftest.
$ac_ext <<_ACEOF
13064 /* end confdefs.h. */
13065 #include <string.h>
13068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13069 $EGREP "memchr" >/dev
/null
2>&1; then
13072 ac_cv_header_stdc
=no
13078 if test $ac_cv_header_stdc = yes; then
13079 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13080 cat >conftest.
$ac_ext <<_ACEOF
13083 cat confdefs.h
>>conftest.
$ac_ext
13084 cat >>conftest.
$ac_ext <<_ACEOF
13085 /* end confdefs.h. */
13086 #include <stdlib.h>
13089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13090 $EGREP "free" >/dev
/null
2>&1; then
13093 ac_cv_header_stdc
=no
13099 if test $ac_cv_header_stdc = yes; then
13100 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13101 if test "$cross_compiling" = yes; then
13104 cat >conftest.
$ac_ext <<_ACEOF
13107 cat confdefs.h
>>conftest.
$ac_ext
13108 cat >>conftest.
$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13111 #if ((' ' & 0x0FF) == 0x020)
13112 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13113 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13115 # define ISLOWER(c) \
13116 (('a' <= (c) && (c) <= 'i') \
13117 || ('j' <= (c) && (c) <= 'r') \
13118 || ('s' <= (c) && (c) <= 'z'))
13119 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13122 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13127 for (i = 0; i < 256; i++)
13128 if (XOR (islower (i), ISLOWER (i))
13129 || toupper (i) != TOUPPER (i))
13134 rm -f conftest
$ac_exeext
13135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13136 (eval $ac_link) 2>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141 (eval $ac_try) 2>&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); }; }; then
13147 echo "$as_me: program exited with status $ac_status" >&5
13148 echo "$as_me: failed program was:" >&5
13149 sed 's/^/| /' conftest.
$ac_ext >&5
13151 ( exit $ac_status )
13152 ac_cv_header_stdc
=no
13154 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13159 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13160 if test $ac_cv_header_stdc = yes; then
13162 cat >>confdefs.h
<<\_ACEOF
13163 #define STDC_HEADERS 1
13168 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13178 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13179 inttypes.h stdint.h unistd.h
13181 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13182 echo "$as_me:$LINENO: checking for $ac_header" >&5
13183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 cat >conftest.
$ac_ext <<_ACEOF
13190 cat confdefs.h
>>conftest.
$ac_ext
13191 cat >>conftest.
$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 $ac_includes_default
13195 #include <$ac_header>
13197 rm -f conftest.
$ac_objext
13198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13199 (eval $ac_compile) 2>conftest.er1
13201 grep -v '^ *+' conftest.er1
>conftest.err
13203 cat conftest.err
>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } &&
13206 { ac_try
='test -z "$ac_c_werror_flag"
13207 || test ! -s conftest.err'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; } &&
13213 { ac_try
='test -s conftest.$ac_objext'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; }; then
13219 eval "$as_ac_Header=yes"
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.
$ac_ext >&5
13224 eval "$as_ac_Header=no"
13226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13231 cat >>confdefs.h
<<_ACEOF
13232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13241 for ac_header
in stdlib.h
13243 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13245 echo "$as_me:$LINENO: checking for $ac_header" >&5
13246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13253 # Is the header compilable?
13254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13256 cat >conftest.
$ac_ext <<_ACEOF
13259 cat confdefs.h
>>conftest.
$ac_ext
13260 cat >>conftest.
$ac_ext <<_ACEOF
13261 /* end confdefs.h. */
13262 $ac_includes_default
13263 #include <$ac_header>
13265 rm -f conftest.
$ac_objext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13267 (eval $ac_compile) 2>conftest.er1
13269 grep -v '^ *+' conftest.er1
>conftest.err
13271 cat conftest.err
>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); } &&
13274 { ac_try
='test -z "$ac_c_werror_flag"
13275 || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try
='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 ac_header_compiler
=yes
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13292 ac_header_compiler
=no
13294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13296 echo "${ECHO_T}$ac_header_compiler" >&6
13298 # Is the header present?
13299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13301 cat >conftest.
$ac_ext <<_ACEOF
13304 cat confdefs.h
>>conftest.
$ac_ext
13305 cat >>conftest.
$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 #include <$ac_header>
13309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13312 grep -v '^ *+' conftest.er1
>conftest.err
13314 cat conftest.err
>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } >/dev
/null
; then
13317 if test -s conftest.err
; then
13318 ac_cpp_err
=$ac_c_preproc_warn_flag
13319 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13326 if test -z "$ac_cpp_err"; then
13327 ac_header_preproc
=yes
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.
$ac_ext >&5
13332 ac_header_preproc
=no
13334 rm -f conftest.err conftest.
$ac_ext
13335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13336 echo "${ECHO_T}$ac_header_preproc" >&6
13338 # So? What about this header?
13339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13345 ac_header_preproc
=yes
13348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13362 ## ----------------------------------------- ##
13363 ## Report this to wx-dev@lists.wxwidgets.org ##
13364 ## ----------------------------------------- ##
13367 sed "s/^/$as_me: WARNING: /" >&2
13370 echo "$as_me:$LINENO: checking for $ac_header" >&5
13371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 eval "$as_ac_Header=\$ac_header_preproc"
13377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13382 cat >>confdefs.h
<<_ACEOF
13383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13391 for ac_header
in malloc.h
13393 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13395 echo "$as_me:$LINENO: checking for $ac_header" >&5
13396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13403 # Is the header compilable?
13404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13406 cat >conftest.
$ac_ext <<_ACEOF
13409 cat confdefs.h
>>conftest.
$ac_ext
13410 cat >>conftest.
$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 $ac_includes_default
13413 #include <$ac_header>
13415 rm -f conftest.
$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>conftest.er1
13419 grep -v '^ *+' conftest.er1
>conftest.err
13421 cat conftest.err
>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try
='test -z "$ac_c_werror_flag"
13425 || test ! -s conftest.err'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; } &&
13431 { ac_try
='test -s conftest.$ac_objext'
13432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13433 (eval $ac_try) 2>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); }; }; then
13437 ac_header_compiler
=yes
13439 echo "$as_me: failed program was:" >&5
13440 sed 's/^/| /' conftest.
$ac_ext >&5
13442 ac_header_compiler
=no
13444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13446 echo "${ECHO_T}$ac_header_compiler" >&6
13448 # Is the header present?
13449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13451 cat >conftest.
$ac_ext <<_ACEOF
13454 cat confdefs.h
>>conftest.
$ac_ext
13455 cat >>conftest.
$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13457 #include <$ac_header>
13459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13462 grep -v '^ *+' conftest.er1
>conftest.err
13464 cat conftest.err
>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } >/dev
/null
; then
13467 if test -s conftest.err
; then
13468 ac_cpp_err
=$ac_c_preproc_warn_flag
13469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13476 if test -z "$ac_cpp_err"; then
13477 ac_header_preproc
=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.
$ac_ext >&5
13482 ac_header_preproc
=no
13484 rm -f conftest.err conftest.
$ac_ext
13485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13486 echo "${ECHO_T}$ac_header_preproc" >&6
13488 # So? What about this header?
13489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13495 ac_header_preproc
=yes
13498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13512 ## ----------------------------------------- ##
13513 ## Report this to wx-dev@lists.wxwidgets.org ##
13514 ## ----------------------------------------- ##
13517 sed "s/^/$as_me: WARNING: /" >&2
13520 echo "$as_me:$LINENO: checking for $ac_header" >&5
13521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 eval "$as_ac_Header=\$ac_header_preproc"
13527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13532 cat >>confdefs.h
<<_ACEOF
13533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13541 for ac_header
in unistd.h
13543 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13545 echo "$as_me:$LINENO: checking for $ac_header" >&5
13546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13548 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13553 # Is the header compilable?
13554 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13556 cat >conftest.
$ac_ext <<_ACEOF
13559 cat confdefs.h
>>conftest.
$ac_ext
13560 cat >>conftest.
$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13562 $ac_includes_default
13563 #include <$ac_header>
13565 rm -f conftest.
$ac_objext
13566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13567 (eval $ac_compile) 2>conftest.er1
13569 grep -v '^ *+' conftest.er1
>conftest.err
13571 cat conftest.err
>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } &&
13574 { ac_try
='test -z "$ac_c_werror_flag"
13575 || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; } &&
13581 { ac_try
='test -s conftest.$ac_objext'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13587 ac_header_compiler
=yes
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.
$ac_ext >&5
13592 ac_header_compiler
=no
13594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13596 echo "${ECHO_T}$ac_header_compiler" >&6
13598 # Is the header present?
13599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <$ac_header>
13609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13612 grep -v '^ *+' conftest.er1
>conftest.err
13614 cat conftest.err
>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } >/dev
/null
; then
13617 if test -s conftest.err
; then
13618 ac_cpp_err
=$ac_c_preproc_warn_flag
13619 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13626 if test -z "$ac_cpp_err"; then
13627 ac_header_preproc
=yes
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.
$ac_ext >&5
13632 ac_header_preproc
=no
13634 rm -f conftest.err conftest.
$ac_ext
13635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13636 echo "${ECHO_T}$ac_header_preproc" >&6
13638 # So? What about this header?
13639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13645 ac_header_preproc
=yes
13648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13662 ## ----------------------------------------- ##
13663 ## Report this to wx-dev@lists.wxwidgets.org ##
13664 ## ----------------------------------------- ##
13667 sed "s/^/$as_me: WARNING: /" >&2
13670 echo "$as_me:$LINENO: checking for $ac_header" >&5
13671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13673 echo $ECHO_N "(cached) $ECHO_C" >&6
13675 eval "$as_ac_Header=\$ac_header_preproc"
13677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13682 cat >>confdefs.h
<<_ACEOF
13683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13691 for ac_header
in wchar.h
13693 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13695 echo "$as_me:$LINENO: checking for $ac_header" >&5
13696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13703 # Is the header compilable?
13704 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13705 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13706 cat >conftest.
$ac_ext <<_ACEOF
13709 cat confdefs.h
>>conftest.
$ac_ext
13710 cat >>conftest.
$ac_ext <<_ACEOF
13711 /* end confdefs.h. */
13712 $ac_includes_default
13713 #include <$ac_header>
13715 rm -f conftest.
$ac_objext
13716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13717 (eval $ac_compile) 2>conftest.er1
13719 grep -v '^ *+' conftest.er1
>conftest.err
13721 cat conftest.err
>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); } &&
13724 { ac_try
='test -z "$ac_c_werror_flag"
13725 || test ! -s conftest.err'
13726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13727 (eval $ac_try) 2>&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); }; } &&
13731 { ac_try
='test -s conftest.$ac_objext'
13732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733 (eval $ac_try) 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; }; then
13737 ac_header_compiler
=yes
13739 echo "$as_me: failed program was:" >&5
13740 sed 's/^/| /' conftest.
$ac_ext >&5
13742 ac_header_compiler
=no
13744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13746 echo "${ECHO_T}$ac_header_compiler" >&6
13748 # Is the header present?
13749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13751 cat >conftest.
$ac_ext <<_ACEOF
13754 cat confdefs.h
>>conftest.
$ac_ext
13755 cat >>conftest.
$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 #include <$ac_header>
13759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13762 grep -v '^ *+' conftest.er1
>conftest.err
13764 cat conftest.err
>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } >/dev
/null
; then
13767 if test -s conftest.err
; then
13768 ac_cpp_err
=$ac_c_preproc_warn_flag
13769 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13776 if test -z "$ac_cpp_err"; then
13777 ac_header_preproc
=yes
13779 echo "$as_me: failed program was:" >&5
13780 sed 's/^/| /' conftest.
$ac_ext >&5
13782 ac_header_preproc
=no
13784 rm -f conftest.err conftest.
$ac_ext
13785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13786 echo "${ECHO_T}$ac_header_preproc" >&6
13788 # So? What about this header?
13789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13795 ac_header_preproc
=yes
13798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13812 ## ----------------------------------------- ##
13813 ## Report this to wx-dev@lists.wxwidgets.org ##
13814 ## ----------------------------------------- ##
13817 sed "s/^/$as_me: WARNING: /" >&2
13820 echo "$as_me:$LINENO: checking for $ac_header" >&5
13821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 eval "$as_ac_Header=\$ac_header_preproc"
13827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13832 cat >>confdefs.h
<<_ACEOF
13833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13841 if test "$ac_cv_header_wchar_h" != "yes"; then
13843 for ac_header
in wcstr.h
13845 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13847 echo "$as_me:$LINENO: checking for $ac_header" >&5
13848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13855 # Is the header compilable?
13856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13858 cat >conftest.
$ac_ext <<_ACEOF
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 $ac_includes_default
13865 #include <$ac_header>
13867 rm -f conftest.
$ac_objext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13869 (eval $ac_compile) 2>conftest.er1
13871 grep -v '^ *+' conftest.er1
>conftest.err
13873 cat conftest.err
>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try
='test -z "$ac_c_werror_flag"
13877 || test ! -s conftest.err'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; } &&
13883 { ac_try
='test -s conftest.$ac_objext'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; }; then
13889 ac_header_compiler
=yes
13891 echo "$as_me: failed program was:" >&5
13892 sed 's/^/| /' conftest.
$ac_ext >&5
13894 ac_header_compiler
=no
13896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13898 echo "${ECHO_T}$ac_header_compiler" >&6
13900 # Is the header present?
13901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13903 cat >conftest.
$ac_ext <<_ACEOF
13906 cat confdefs.h
>>conftest.
$ac_ext
13907 cat >>conftest.
$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 #include <$ac_header>
13911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13912 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13914 grep -v '^ *+' conftest.er1
>conftest.err
13916 cat conftest.err
>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } >/dev
/null
; then
13919 if test -s conftest.err
; then
13920 ac_cpp_err
=$ac_c_preproc_warn_flag
13921 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13928 if test -z "$ac_cpp_err"; then
13929 ac_header_preproc
=yes
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.
$ac_ext >&5
13934 ac_header_preproc
=no
13936 rm -f conftest.err conftest.
$ac_ext
13937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13938 echo "${ECHO_T}$ac_header_preproc" >&6
13940 # So? What about this header?
13941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13947 ac_header_preproc
=yes
13950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13954 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13956 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13957 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13960 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13964 ## ----------------------------------------- ##
13965 ## Report this to wx-dev@lists.wxwidgets.org ##
13966 ## ----------------------------------------- ##
13969 sed "s/^/$as_me: WARNING: /" >&2
13972 echo "$as_me:$LINENO: checking for $ac_header" >&5
13973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 eval "$as_ac_Header=\$ac_header_preproc"
13979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13984 cat >>confdefs.h
<<_ACEOF
13985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13995 for ac_header
in fnmatch.h
13997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13999 echo "$as_me:$LINENO: checking for $ac_header" >&5
14000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14007 # Is the header compilable?
14008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14010 cat >conftest.
$ac_ext <<_ACEOF
14013 cat confdefs.h
>>conftest.
$ac_ext
14014 cat >>conftest.
$ac_ext <<_ACEOF
14015 /* end confdefs.h. */
14016 $ac_includes_default
14017 #include <$ac_header>
14019 rm -f conftest.
$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>conftest.er1
14023 grep -v '^ *+' conftest.er1
>conftest.err
14025 cat conftest.err
>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try
='test -z "$ac_c_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try
='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 ac_header_compiler
=yes
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.
$ac_ext >&5
14046 ac_header_compiler
=no
14048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14050 echo "${ECHO_T}$ac_header_compiler" >&6
14052 # Is the header present?
14053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14055 cat >conftest.
$ac_ext <<_ACEOF
14058 cat confdefs.h
>>conftest.
$ac_ext
14059 cat >>conftest.
$ac_ext <<_ACEOF
14060 /* end confdefs.h. */
14061 #include <$ac_header>
14063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14066 grep -v '^ *+' conftest.er1
>conftest.err
14068 cat conftest.err
>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } >/dev
/null
; then
14071 if test -s conftest.err
; then
14072 ac_cpp_err
=$ac_c_preproc_warn_flag
14073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14080 if test -z "$ac_cpp_err"; then
14081 ac_header_preproc
=yes
14083 echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.
$ac_ext >&5
14086 ac_header_preproc
=no
14088 rm -f conftest.err conftest.
$ac_ext
14089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14090 echo "${ECHO_T}$ac_header_preproc" >&6
14092 # So? What about this header?
14093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14099 ac_header_preproc
=yes
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14116 ## ----------------------------------------- ##
14117 ## Report this to wx-dev@lists.wxwidgets.org ##
14118 ## ----------------------------------------- ##
14121 sed "s/^/$as_me: WARNING: /" >&2
14124 echo "$as_me:$LINENO: checking for $ac_header" >&5
14125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14127 echo $ECHO_N "(cached) $ECHO_C" >&6
14129 eval "$as_ac_Header=\$ac_header_preproc"
14131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14136 cat >>confdefs.h
<<_ACEOF
14137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14145 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14147 for ac_func
in fnmatch
14149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14150 echo "$as_me:$LINENO: checking for $ac_func" >&5
14151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14152 if eval "test \"\${$as_ac_var+set}\" = set"; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 cat >conftest.
$ac_ext <<_ACEOF
14158 cat confdefs.h
>>conftest.
$ac_ext
14159 cat >>conftest.
$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14163 #define $ac_func innocuous_$ac_func
14165 /* System header to define __stub macros and hopefully few prototypes,
14166 which can conflict with char $ac_func (); below.
14167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14168 <limits.h> exists even on freestanding compilers. */
14171 # include <limits.h>
14173 # include <assert.h>
14178 /* Override any gcc2 internal prototype to avoid an error. */
14183 /* We use char because int might match the return type of a gcc2
14184 builtin and then its argument prototype would still apply. */
14186 /* The GNU C library defines this for functions which it implements
14187 to always fail with ENOSYS. Some functions are actually named
14188 something starting with __ and the normal name is an alias. */
14189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14192 char (*f) () = $ac_func;
14201 return f != $ac_func;
14206 rm -f conftest.
$ac_objext conftest
$ac_exeext
14207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14208 (eval $ac_link) 2>conftest.er1
14210 grep -v '^ *+' conftest.er1
>conftest.err
14212 cat conftest.err
>&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } &&
14215 { ac_try
='test -z "$ac_c_werror_flag"
14216 || test ! -s conftest.err'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; } &&
14222 { ac_try
='test -s conftest$ac_exeext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 eval "$as_ac_var=yes"
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.
$ac_ext >&5
14233 eval "$as_ac_var=no"
14235 rm -f conftest.err conftest.
$ac_objext \
14236 conftest
$ac_exeext conftest.
$ac_ext
14238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14240 if test `eval echo '${'$as_ac_var'}'` = yes; then
14241 cat >>confdefs.h
<<_ACEOF
14242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14251 for ac_header
in langinfo.h
14253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14255 echo "$as_me:$LINENO: checking for $ac_header" >&5
14256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14263 # Is the header compilable?
14264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14266 cat >conftest.
$ac_ext <<_ACEOF
14269 cat confdefs.h
>>conftest.
$ac_ext
14270 cat >>conftest.
$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14272 $ac_includes_default
14273 #include <$ac_header>
14275 rm -f conftest.
$ac_objext
14276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14277 (eval $ac_compile) 2>conftest.er1
14279 grep -v '^ *+' conftest.er1
>conftest.err
14281 cat conftest.err
>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try
='test -z "$ac_c_werror_flag"
14285 || test ! -s conftest.err'
14286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14287 (eval $ac_try) 2>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; } &&
14291 { ac_try
='test -s conftest.$ac_objext'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; }; then
14297 ac_header_compiler
=yes
14299 echo "$as_me: failed program was:" >&5
14300 sed 's/^/| /' conftest.
$ac_ext >&5
14302 ac_header_compiler
=no
14304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14306 echo "${ECHO_T}$ac_header_compiler" >&6
14308 # Is the header present?
14309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14311 cat >conftest.
$ac_ext <<_ACEOF
14314 cat confdefs.h
>>conftest.
$ac_ext
14315 cat >>conftest.
$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 #include <$ac_header>
14319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14322 grep -v '^ *+' conftest.er1
>conftest.err
14324 cat conftest.err
>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } >/dev
/null
; then
14327 if test -s conftest.err
; then
14328 ac_cpp_err
=$ac_c_preproc_warn_flag
14329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14336 if test -z "$ac_cpp_err"; then
14337 ac_header_preproc
=yes
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.
$ac_ext >&5
14342 ac_header_preproc
=no
14344 rm -f conftest.err conftest.
$ac_ext
14345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14346 echo "${ECHO_T}$ac_header_preproc" >&6
14348 # So? What about this header?
14349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14355 ac_header_preproc
=yes
14358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14372 ## ----------------------------------------- ##
14373 ## Report this to wx-dev@lists.wxwidgets.org ##
14374 ## ----------------------------------------- ##
14377 sed "s/^/$as_me: WARNING: /" >&2
14380 echo "$as_me:$LINENO: checking for $ac_header" >&5
14381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14383 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 eval "$as_ac_Header=\$ac_header_preproc"
14387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14392 cat >>confdefs.h
<<_ACEOF
14393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14402 *-pc-os2_emx | *-pc-os2-emx )
14403 if test $ac_cv_header_langinfo_h = "yes"; then
14404 LIBS
="$LIBS -lintl"
14409 if test "$wxUSE_GUI" = "yes"; then
14410 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14412 for ac_header
in X
11/Xlib.h
14414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14416 echo "$as_me:$LINENO: checking for $ac_header" >&5
14417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14424 # Is the header compilable?
14425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14427 cat >conftest.
$ac_ext <<_ACEOF
14430 cat confdefs.h
>>conftest.
$ac_ext
14431 cat >>conftest.
$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433 $ac_includes_default
14434 #include <$ac_header>
14436 rm -f conftest.
$ac_objext
14437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14438 (eval $ac_compile) 2>conftest.er1
14440 grep -v '^ *+' conftest.er1
>conftest.err
14442 cat conftest.err
>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try
='test -z "$ac_c_werror_flag"
14446 || test ! -s conftest.err'
14447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14448 (eval $ac_try) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; } &&
14452 { ac_try
='test -s conftest.$ac_objext'
14453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14454 (eval $ac_try) 2>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); }; }; then
14458 ac_header_compiler
=yes
14460 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.
$ac_ext >&5
14463 ac_header_compiler
=no
14465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14467 echo "${ECHO_T}$ac_header_compiler" >&6
14469 # Is the header present?
14470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14478 #include <$ac_header>
14480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14483 grep -v '^ *+' conftest.er1
>conftest.err
14485 cat conftest.err
>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); } >/dev
/null
; then
14488 if test -s conftest.err
; then
14489 ac_cpp_err
=$ac_c_preproc_warn_flag
14490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14497 if test -z "$ac_cpp_err"; then
14498 ac_header_preproc
=yes
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.
$ac_ext >&5
14503 ac_header_preproc
=no
14505 rm -f conftest.err conftest.
$ac_ext
14506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14507 echo "${ECHO_T}$ac_header_preproc" >&6
14509 # So? What about this header?
14510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14516 ac_header_preproc
=yes
14519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14533 ## ----------------------------------------- ##
14534 ## Report this to wx-dev@lists.wxwidgets.org ##
14535 ## ----------------------------------------- ##
14538 sed "s/^/$as_me: WARNING: /" >&2
14541 echo "$as_me:$LINENO: checking for $ac_header" >&5
14542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14544 echo $ECHO_N "(cached) $ECHO_C" >&6
14546 eval "$as_ac_Header=\$ac_header_preproc"
14548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14553 cat >>confdefs.h
<<_ACEOF
14554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14562 for ac_header
in X
11/XKBlib.h
14564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14565 echo "$as_me:$LINENO: checking for $ac_header" >&5
14566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 cat >conftest.
$ac_ext <<_ACEOF
14573 cat confdefs.h
>>conftest.
$ac_ext
14574 cat >>conftest.
$ac_ext <<_ACEOF
14575 /* end confdefs.h. */
14577 #if HAVE_X11_XLIB_H
14578 #include <X11/Xlib.h>
14582 #include <$ac_header>
14584 rm -f conftest.
$ac_objext
14585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14586 (eval $ac_compile) 2>conftest.er1
14588 grep -v '^ *+' conftest.er1
>conftest.err
14590 cat conftest.err
>&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); } &&
14593 { ac_try
='test -z "$ac_c_werror_flag"
14594 || test ! -s conftest.err'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; } &&
14600 { ac_try
='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14606 eval "$as_ac_Header=yes"
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.
$ac_ext >&5
14611 eval "$as_ac_Header=no"
14613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14618 cat >>confdefs.h
<<_ACEOF
14619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14630 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14631 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14632 if test "${ac_cv_c_const+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 cat >conftest.
$ac_ext <<_ACEOF
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14645 /* FIXME: Include the comments suggested by Paul. */
14646 #ifndef __cplusplus
14647 /* Ultrix mips cc rejects this. */
14648 typedef int charset[2];
14650 /* SunOS 4.1.1 cc rejects this. */
14651 char const *const *ccp;
14653 /* NEC SVR4.0.2 mips cc rejects this. */
14654 struct point {int x, y;};
14655 static struct point const zero = {0,0};
14656 /* AIX XL C 1.02.0.0 rejects this.
14657 It does not let you subtract one const X* pointer from another in
14658 an arm of an if-expression whose if-part is not a constant
14660 const char *g = "string";
14661 ccp = &g + (g ? g-g : 0);
14662 /* HPUX 7.0 cc rejects these. */
14665 ccp = (char const *const *) p;
14666 { /* SCO 3.2v4 cc rejects this. */
14668 char const *s = 0 ? (char *) 0 : (char const *) 0;
14672 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14673 int x[] = {25, 17};
14674 const int *foo = &x[0];
14677 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14678 typedef const int *iptr;
14682 { /* AIX XL C 1.02.0.0 rejects this saying
14683 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14684 struct s { int j; const int *ap[3]; };
14685 struct s *b; b->j = 5;
14687 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14688 const int foo = 10;
14696 rm -f conftest.
$ac_objext
14697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14698 (eval $ac_compile) 2>conftest.er1
14700 grep -v '^ *+' conftest.er1
>conftest.err
14702 cat conftest.err
>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } &&
14705 { ac_try
='test -z "$ac_c_werror_flag"
14706 || test ! -s conftest.err'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; } &&
14712 { ac_try
='test -s conftest.$ac_objext'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; }; then
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.
$ac_ext >&5
14725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14727 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14728 echo "${ECHO_T}$ac_cv_c_const" >&6
14729 if test $ac_cv_c_const = no
; then
14731 cat >>confdefs.h
<<\_ACEOF
14737 echo "$as_me:$LINENO: checking for inline" >&5
14738 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14739 if test "${ac_cv_c_inline+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14743 for ac_kw
in inline __inline__ __inline
; do
14744 cat >conftest.
$ac_ext <<_ACEOF
14747 cat confdefs.h
>>conftest.
$ac_ext
14748 cat >>conftest.
$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 #ifndef __cplusplus
14752 static $ac_kw foo_t static_foo () {return 0; }
14753 $ac_kw foo_t foo () {return 0; }
14757 rm -f conftest.
$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759 (eval $ac_compile) 2>conftest.er1
14761 grep -v '^ *+' conftest.er1
>conftest.err
14763 cat conftest.err
>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } &&
14766 { ac_try
='test -z "$ac_c_werror_flag"
14767 || test ! -s conftest.err'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; } &&
14773 { ac_try
='test -s conftest.$ac_objext'
14774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775 (eval $ac_try) 2>&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); }; }; then
14779 ac_cv_c_inline
=$ac_kw; break
14781 echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.
$ac_ext >&5
14785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14789 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14790 echo "${ECHO_T}$ac_cv_c_inline" >&6
14793 case $ac_cv_c_inline in
14796 case $ac_cv_c_inline in
14798 *) ac_val
=$ac_cv_c_inline;;
14800 cat >>confdefs.h
<<_ACEOF
14801 #ifndef __cplusplus
14802 #define inline $ac_val
14809 echo "$as_me:$LINENO: checking for char" >&5
14810 echo $ECHO_N "checking for char... $ECHO_C" >&6
14811 if test "${ac_cv_type_char+set}" = set; then
14812 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 cat >conftest.
$ac_ext <<_ACEOF
14817 cat confdefs.h
>>conftest.
$ac_ext
14818 cat >>conftest.
$ac_ext <<_ACEOF
14819 /* end confdefs.h. */
14820 $ac_includes_default
14832 rm -f conftest.
$ac_objext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>conftest.er1
14836 grep -v '^ *+' conftest.er1
>conftest.err
14838 cat conftest.err
>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } &&
14841 { ac_try
='test -z "$ac_c_werror_flag"
14842 || test ! -s conftest.err'
14843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14844 (eval $ac_try) 2>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); }; } &&
14848 { ac_try
='test -s conftest.$ac_objext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 ac_cv_type_char
=yes
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.
$ac_ext >&5
14861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14863 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14864 echo "${ECHO_T}$ac_cv_type_char" >&6
14866 echo "$as_me:$LINENO: checking size of char" >&5
14867 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14868 if test "${ac_cv_sizeof_char+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14871 if test "$ac_cv_type_char" = yes; then
14872 # The cast to unsigned long works around a bug in the HP C Compiler
14873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14875 # This bug is HP SR number 8606223364.
14876 if test "$cross_compiling" = yes; then
14877 # Depending upon the size, compute the lo and hi bounds.
14878 cat >conftest.
$ac_ext <<_ACEOF
14881 cat confdefs.h
>>conftest.
$ac_ext
14882 cat >>conftest.
$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 $ac_includes_default
14888 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14895 rm -f conftest.
$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>conftest.er1
14899 grep -v '^ *+' conftest.er1
>conftest.err
14901 cat conftest.err
>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try
='test -z "$ac_c_werror_flag"
14905 || test ! -s conftest.err'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; } &&
14911 { ac_try
='test -s conftest.$ac_objext'
14912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14913 (eval $ac_try) 2>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); }; }; then
14919 cat >conftest.
$ac_ext <<_ACEOF
14922 cat confdefs.h
>>conftest.
$ac_ext
14923 cat >>conftest.
$ac_ext <<_ACEOF
14924 /* end confdefs.h. */
14925 $ac_includes_default
14929 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14936 rm -f conftest.
$ac_objext
14937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14938 (eval $ac_compile) 2>conftest.er1
14940 grep -v '^ *+' conftest.er1
>conftest.err
14942 cat conftest.err
>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); } &&
14945 { ac_try
='test -z "$ac_c_werror_flag"
14946 || test ! -s conftest.err'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; } &&
14952 { ac_try
='test -s conftest.$ac_objext'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 ac_hi
=$ac_mid; break
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.
$ac_ext >&5
14963 ac_lo
=`expr $ac_mid + 1`
14964 if test $ac_lo -le $ac_mid; then
14968 ac_mid
=`expr 2 '*' $ac_mid + 1`
14970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14976 cat >conftest.
$ac_ext <<_ACEOF
14979 cat confdefs.h
>>conftest.
$ac_ext
14980 cat >>conftest.
$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 $ac_includes_default
14986 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14993 rm -f conftest.
$ac_objext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14995 (eval $ac_compile) 2>conftest.er1
14997 grep -v '^ *+' conftest.er1
>conftest.err
14999 cat conftest.err
>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try
='test -z "$ac_c_werror_flag"
15003 || test ! -s conftest.err'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; } &&
15009 { ac_try
='test -s conftest.$ac_objext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15017 cat >conftest.
$ac_ext <<_ACEOF
15020 cat confdefs.h
>>conftest.
$ac_ext
15021 cat >>conftest.
$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023 $ac_includes_default
15027 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15034 rm -f conftest.
$ac_objext
15035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15036 (eval $ac_compile) 2>conftest.er1
15038 grep -v '^ *+' conftest.er1
>conftest.err
15040 cat conftest.err
>&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); } &&
15043 { ac_try
='test -z "$ac_c_werror_flag"
15044 || test ! -s conftest.err'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; } &&
15050 { ac_try
='test -s conftest.$ac_objext'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; }; then
15056 ac_lo
=$ac_mid; break
15058 echo "$as_me: failed program was:" >&5
15059 sed 's/^/| /' conftest.
$ac_ext >&5
15061 ac_hi
=`expr '(' $ac_mid ')' - 1`
15062 if test $ac_mid -le $ac_hi; then
15066 ac_mid
=`expr 2 '*' $ac_mid`
15068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.
$ac_ext >&5
15076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15079 # Binary search between lo and hi bounds.
15080 while test "x$ac_lo" != "x$ac_hi"; do
15081 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15082 cat >conftest.
$ac_ext <<_ACEOF
15085 cat confdefs.h
>>conftest.
$ac_ext
15086 cat >>conftest.
$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15088 $ac_includes_default
15092 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15099 rm -f conftest.
$ac_objext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15101 (eval $ac_compile) 2>conftest.er1
15103 grep -v '^ *+' conftest.er1
>conftest.err
15105 cat conftest.err
>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try
='test -z "$ac_c_werror_flag"
15109 || test ! -s conftest.err'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; } &&
15115 { ac_try
='test -s conftest.$ac_objext'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; }; then
15123 echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.
$ac_ext >&5
15126 ac_lo
=`expr '(' $ac_mid ')' + 1`
15128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15131 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15133 See \`config.log' for more details." >&5
15134 echo "$as_me: error: cannot compute sizeof (char), 77
15135 See \`config.log' for more details." >&2;}
15136 { (exit 1); exit 1; }; } ;;
15139 if test "$cross_compiling" = yes; then
15140 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15141 See \`config.log' for more details." >&5
15142 echo "$as_me: error: cannot run test program while cross compiling
15143 See \`config.log' for more details." >&2;}
15144 { (exit 1); exit 1; }; }
15146 cat >conftest.
$ac_ext <<_ACEOF
15149 cat confdefs.h
>>conftest.
$ac_ext
15150 cat >>conftest.
$ac_ext <<_ACEOF
15151 /* end confdefs.h. */
15152 $ac_includes_default
15153 long longval () { return (long) (sizeof (char)); }
15154 unsigned long ulongval () { return (long) (sizeof (char)); }
15156 #include <stdlib.h>
15161 FILE *f = fopen ("conftest.val", "w");
15164 if (((long) (sizeof (char))) < 0)
15166 long i = longval ();
15167 if (i != ((long) (sizeof (char))))
15169 fprintf (f, "%ld\n", i);
15173 unsigned long i = ulongval ();
15174 if (i != ((long) (sizeof (char))))
15176 fprintf (f, "%lu\n", i);
15178 exit (ferror (f) || fclose (f) != 0);
15184 rm -f conftest
$ac_exeext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15186 (eval $ac_link) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_sizeof_char
=`cat conftest.val`
15197 echo "$as_me: program exited with status $ac_status" >&5
15198 echo "$as_me: failed program was:" >&5
15199 sed 's/^/| /' conftest.
$ac_ext >&5
15201 ( exit $ac_status )
15202 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15203 See \`config.log' for more details." >&5
15204 echo "$as_me: error: cannot compute sizeof (char), 77
15205 See \`config.log' for more details." >&2;}
15206 { (exit 1); exit 1; }; }
15208 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15213 ac_cv_sizeof_char
=0
15216 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15217 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15218 cat >>confdefs.h
<<_ACEOF
15219 #define SIZEOF_CHAR $ac_cv_sizeof_char
15223 echo "$as_me:$LINENO: checking for short" >&5
15224 echo $ECHO_N "checking for short... $ECHO_C" >&6
15225 if test "${ac_cv_type_short+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 cat >conftest.
$ac_ext <<_ACEOF
15231 cat confdefs.h
>>conftest.
$ac_ext
15232 cat >>conftest.
$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 $ac_includes_default
15240 if (sizeof (short))
15246 rm -f conftest.
$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>conftest.er1
15250 grep -v '^ *+' conftest.er1
>conftest.err
15252 cat conftest.err
>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try
='test -z "$ac_c_werror_flag"
15256 || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try
='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_cv_type_short
=yes
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.
$ac_ext >&5
15273 ac_cv_type_short
=no
15275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15277 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15278 echo "${ECHO_T}$ac_cv_type_short" >&6
15280 echo "$as_me:$LINENO: checking size of short" >&5
15281 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15282 if test "${ac_cv_sizeof_short+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 if test "$ac_cv_type_short" = yes; then
15286 # The cast to unsigned long works around a bug in the HP C Compiler
15287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15289 # This bug is HP SR number 8606223364.
15290 if test "$cross_compiling" = yes; then
15291 # Depending upon the size, compute the lo and hi bounds.
15292 cat >conftest.
$ac_ext <<_ACEOF
15295 cat confdefs.h
>>conftest.
$ac_ext
15296 cat >>conftest.
$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15298 $ac_includes_default
15302 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15309 rm -f conftest.
$ac_objext
15310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15311 (eval $ac_compile) 2>conftest.er1
15313 grep -v '^ *+' conftest.er1
>conftest.err
15315 cat conftest.err
>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -z "$ac_c_werror_flag"
15319 || test ! -s conftest.err'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; } &&
15325 { ac_try
='test -s conftest.$ac_objext'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; }; then
15333 cat >conftest.
$ac_ext <<_ACEOF
15336 cat confdefs.h
>>conftest.
$ac_ext
15337 cat >>conftest.
$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339 $ac_includes_default
15343 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15350 rm -f conftest.
$ac_objext
15351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15352 (eval $ac_compile) 2>conftest.er1
15354 grep -v '^ *+' conftest.er1
>conftest.err
15356 cat conftest.err
>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); } &&
15359 { ac_try
='test -z "$ac_c_werror_flag"
15360 || test ! -s conftest.err'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try
='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15372 ac_hi
=$ac_mid; break
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15377 ac_lo
=`expr $ac_mid + 1`
15378 if test $ac_lo -le $ac_mid; then
15382 ac_mid
=`expr 2 '*' $ac_mid + 1`
15384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.
$ac_ext >&5
15390 cat >conftest.
$ac_ext <<_ACEOF
15393 cat confdefs.h
>>conftest.
$ac_ext
15394 cat >>conftest.
$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15396 $ac_includes_default
15400 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15407 rm -f conftest.
$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409 (eval $ac_compile) 2>conftest.er1
15411 grep -v '^ *+' conftest.er1
>conftest.err
15413 cat conftest.err
>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } &&
15416 { ac_try
='test -z "$ac_c_werror_flag"
15417 || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try
='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15431 cat >conftest.
$ac_ext <<_ACEOF
15434 cat confdefs.h
>>conftest.
$ac_ext
15435 cat >>conftest.
$ac_ext <<_ACEOF
15436 /* end confdefs.h. */
15437 $ac_includes_default
15441 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15448 rm -f conftest.
$ac_objext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15450 (eval $ac_compile) 2>conftest.er1
15452 grep -v '^ *+' conftest.er1
>conftest.err
15454 cat conftest.err
>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try
='test -z "$ac_c_werror_flag"
15458 || test ! -s conftest.err'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; } &&
15464 { ac_try
='test -s conftest.$ac_objext'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; }; then
15470 ac_lo
=$ac_mid; break
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.
$ac_ext >&5
15475 ac_hi
=`expr '(' $ac_mid ')' - 1`
15476 if test $ac_mid -le $ac_hi; then
15480 ac_mid
=`expr 2 '*' $ac_mid`
15482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.
$ac_ext >&5
15490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15493 # Binary search between lo and hi bounds.
15494 while test "x$ac_lo" != "x$ac_hi"; do
15495 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15496 cat >conftest.
$ac_ext <<_ACEOF
15499 cat confdefs.h
>>conftest.
$ac_ext
15500 cat >>conftest.
$ac_ext <<_ACEOF
15501 /* end confdefs.h. */
15502 $ac_includes_default
15506 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15513 rm -f conftest.
$ac_objext
15514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15515 (eval $ac_compile) 2>conftest.er1
15517 grep -v '^ *+' conftest.er1
>conftest.err
15519 cat conftest.err
>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } &&
15522 { ac_try
='test -z "$ac_c_werror_flag"
15523 || test ! -s conftest.err'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; } &&
15529 { ac_try
='test -s conftest.$ac_objext'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.
$ac_ext >&5
15540 ac_lo
=`expr '(' $ac_mid ')' + 1`
15542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15545 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15546 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15547 See \`config.log' for more details." >&5
15548 echo "$as_me: error: cannot compute sizeof (short), 77
15549 See \`config.log' for more details." >&2;}
15550 { (exit 1); exit 1; }; } ;;
15553 if test "$cross_compiling" = yes; then
15554 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15555 See \`config.log' for more details." >&5
15556 echo "$as_me: error: cannot run test program while cross compiling
15557 See \`config.log' for more details." >&2;}
15558 { (exit 1); exit 1; }; }
15560 cat >conftest.
$ac_ext <<_ACEOF
15563 cat confdefs.h
>>conftest.
$ac_ext
15564 cat >>conftest.
$ac_ext <<_ACEOF
15565 /* end confdefs.h. */
15566 $ac_includes_default
15567 long longval () { return (long) (sizeof (short)); }
15568 unsigned long ulongval () { return (long) (sizeof (short)); }
15570 #include <stdlib.h>
15575 FILE *f = fopen ("conftest.val", "w");
15578 if (((long) (sizeof (short))) < 0)
15580 long i = longval ();
15581 if (i != ((long) (sizeof (short))))
15583 fprintf (f, "%ld\n", i);
15587 unsigned long i = ulongval ();
15588 if (i != ((long) (sizeof (short))))
15590 fprintf (f, "%lu\n", i);
15592 exit (ferror (f) || fclose (f) != 0);
15598 rm -f conftest
$ac_exeext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15600 (eval $ac_link) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; }; then
15609 ac_cv_sizeof_short
=`cat conftest.val`
15611 echo "$as_me: program exited with status $ac_status" >&5
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.
$ac_ext >&5
15615 ( exit $ac_status )
15616 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15617 See \`config.log' for more details." >&5
15618 echo "$as_me: error: cannot compute sizeof (short), 77
15619 See \`config.log' for more details." >&2;}
15620 { (exit 1); exit 1; }; }
15622 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15627 ac_cv_sizeof_short
=0
15630 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15631 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15632 cat >>confdefs.h
<<_ACEOF
15633 #define SIZEOF_SHORT $ac_cv_sizeof_short
15637 echo "$as_me:$LINENO: checking for void *" >&5
15638 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15639 if test "${ac_cv_type_void_p+set}" = set; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 cat >conftest.
$ac_ext <<_ACEOF
15645 cat confdefs.h
>>conftest.
$ac_ext
15646 cat >>conftest.
$ac_ext <<_ACEOF
15647 /* end confdefs.h. */
15648 $ac_includes_default
15654 if (sizeof (void *))
15660 rm -f conftest.
$ac_objext
15661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15662 (eval $ac_compile) 2>conftest.er1
15664 grep -v '^ *+' conftest.er1
>conftest.err
15666 cat conftest.err
>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try
='test -z "$ac_c_werror_flag"
15670 || test ! -s conftest.err'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; } &&
15676 { ac_try
='test -s conftest.$ac_objext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15682 ac_cv_type_void_p
=yes
15684 echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.
$ac_ext >&5
15687 ac_cv_type_void_p
=no
15689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15691 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15692 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15694 echo "$as_me:$LINENO: checking size of void *" >&5
15695 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15696 if test "${ac_cv_sizeof_void_p+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 if test "$ac_cv_type_void_p" = yes; then
15700 # The cast to unsigned long works around a bug in the HP C Compiler
15701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15702 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15703 # This bug is HP SR number 8606223364.
15704 if test "$cross_compiling" = yes; then
15705 # Depending upon the size, compute the lo and hi bounds.
15706 cat >conftest.
$ac_ext <<_ACEOF
15709 cat confdefs.h
>>conftest.
$ac_ext
15710 cat >>conftest.
$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15712 $ac_includes_default
15716 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15723 rm -f conftest.
$ac_objext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15725 (eval $ac_compile) 2>conftest.er1
15727 grep -v '^ *+' conftest.er1
>conftest.err
15729 cat conftest.err
>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try
='test -z "$ac_c_werror_flag"
15733 || test ! -s conftest.err'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try
='test -s conftest.$ac_objext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15747 cat >conftest.
$ac_ext <<_ACEOF
15750 cat confdefs.h
>>conftest.
$ac_ext
15751 cat >>conftest.
$ac_ext <<_ACEOF
15752 /* end confdefs.h. */
15753 $ac_includes_default
15757 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15764 rm -f conftest.
$ac_objext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15766 (eval $ac_compile) 2>conftest.er1
15768 grep -v '^ *+' conftest.er1
>conftest.err
15770 cat conftest.err
>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try
='test -z "$ac_c_werror_flag"
15774 || test ! -s conftest.err'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; } &&
15780 { ac_try
='test -s conftest.$ac_objext'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; }; then
15786 ac_hi
=$ac_mid; break
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.
$ac_ext >&5
15791 ac_lo
=`expr $ac_mid + 1`
15792 if test $ac_lo -le $ac_mid; then
15796 ac_mid
=`expr 2 '*' $ac_mid + 1`
15798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.
$ac_ext >&5
15804 cat >conftest.
$ac_ext <<_ACEOF
15807 cat confdefs.h
>>conftest.
$ac_ext
15808 cat >>conftest.
$ac_ext <<_ACEOF
15809 /* end confdefs.h. */
15810 $ac_includes_default
15814 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15821 rm -f conftest.
$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823 (eval $ac_compile) 2>conftest.er1
15825 grep -v '^ *+' conftest.er1
>conftest.err
15827 cat conftest.err
>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } &&
15830 { ac_try
='test -z "$ac_c_werror_flag"
15831 || test ! -s conftest.err'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; } &&
15837 { ac_try
='test -s conftest.$ac_objext'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15845 cat >conftest.
$ac_ext <<_ACEOF
15848 cat confdefs.h
>>conftest.
$ac_ext
15849 cat >>conftest.
$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 $ac_includes_default
15855 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15862 rm -f conftest.
$ac_objext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15864 (eval $ac_compile) 2>conftest.er1
15866 grep -v '^ *+' conftest.er1
>conftest.err
15868 cat conftest.err
>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); } &&
15871 { ac_try
='test -z "$ac_c_werror_flag"
15872 || test ! -s conftest.err'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; } &&
15878 { ac_try
='test -s conftest.$ac_objext'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; }; then
15884 ac_lo
=$ac_mid; break
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.
$ac_ext >&5
15889 ac_hi
=`expr '(' $ac_mid ')' - 1`
15890 if test $ac_mid -le $ac_hi; then
15894 ac_mid
=`expr 2 '*' $ac_mid`
15896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.
$ac_ext >&5
15904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15907 # Binary search between lo and hi bounds.
15908 while test "x$ac_lo" != "x$ac_hi"; do
15909 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15910 cat >conftest.
$ac_ext <<_ACEOF
15913 cat confdefs.h
>>conftest.
$ac_ext
15914 cat >>conftest.
$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 $ac_includes_default
15920 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15927 rm -f conftest.
$ac_objext
15928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15929 (eval $ac_compile) 2>conftest.er1
15931 grep -v '^ *+' conftest.er1
>conftest.err
15933 cat conftest.err
>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } &&
15936 { ac_try
='test -z "$ac_c_werror_flag"
15937 || test ! -s conftest.err'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; } &&
15943 { ac_try
='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.
$ac_ext >&5
15954 ac_lo
=`expr '(' $ac_mid ')' + 1`
15956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15959 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15960 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15961 See \`config.log' for more details." >&5
15962 echo "$as_me: error: cannot compute sizeof (void *), 77
15963 See \`config.log' for more details." >&2;}
15964 { (exit 1); exit 1; }; } ;;
15967 if test "$cross_compiling" = yes; then
15968 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15969 See \`config.log' for more details." >&5
15970 echo "$as_me: error: cannot run test program while cross compiling
15971 See \`config.log' for more details." >&2;}
15972 { (exit 1); exit 1; }; }
15974 cat >conftest.
$ac_ext <<_ACEOF
15977 cat confdefs.h
>>conftest.
$ac_ext
15978 cat >>conftest.
$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 $ac_includes_default
15981 long longval () { return (long) (sizeof (void *)); }
15982 unsigned long ulongval () { return (long) (sizeof (void *)); }
15984 #include <stdlib.h>
15989 FILE *f = fopen ("conftest.val", "w");
15992 if (((long) (sizeof (void *))) < 0)
15994 long i = longval ();
15995 if (i != ((long) (sizeof (void *))))
15997 fprintf (f, "%ld\n", i);
16001 unsigned long i = ulongval ();
16002 if (i != ((long) (sizeof (void *))))
16004 fprintf (f, "%lu\n", i);
16006 exit (ferror (f) || fclose (f) != 0);
16012 rm -f conftest
$ac_exeext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16014 (eval $ac_link) 2>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 ac_cv_sizeof_void_p
=`cat conftest.val`
16025 echo "$as_me: program exited with status $ac_status" >&5
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.
$ac_ext >&5
16029 ( exit $ac_status )
16030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16031 See \`config.log' for more details." >&5
16032 echo "$as_me: error: cannot compute sizeof (void *), 77
16033 See \`config.log' for more details." >&2;}
16034 { (exit 1); exit 1; }; }
16036 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16041 ac_cv_sizeof_void_p
=0
16044 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16045 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16046 cat >>confdefs.h
<<_ACEOF
16047 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16051 echo "$as_me:$LINENO: checking for int" >&5
16052 echo $ECHO_N "checking for int... $ECHO_C" >&6
16053 if test "${ac_cv_type_int+set}" = set; then
16054 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 cat >conftest.
$ac_ext <<_ACEOF
16059 cat confdefs.h
>>conftest.
$ac_ext
16060 cat >>conftest.
$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 $ac_includes_default
16074 rm -f conftest.
$ac_objext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16076 (eval $ac_compile) 2>conftest.er1
16078 grep -v '^ *+' conftest.er1
>conftest.err
16080 cat conftest.err
>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try
='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try
='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.
$ac_ext >&5
16103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16105 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16106 echo "${ECHO_T}$ac_cv_type_int" >&6
16108 echo "$as_me:$LINENO: checking size of int" >&5
16109 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16110 if test "${ac_cv_sizeof_int+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 if test "$ac_cv_type_int" = yes; then
16114 # The cast to unsigned long works around a bug in the HP C Compiler
16115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16117 # This bug is HP SR number 8606223364.
16118 if test "$cross_compiling" = yes; then
16119 # Depending upon the size, compute the lo and hi bounds.
16120 cat >conftest.
$ac_ext <<_ACEOF
16123 cat confdefs.h
>>conftest.
$ac_ext
16124 cat >>conftest.
$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 $ac_includes_default
16130 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16137 rm -f conftest.
$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16141 grep -v '^ *+' conftest.er1
>conftest.err
16143 cat conftest.err
>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try
='test -z "$ac_c_werror_flag"
16147 || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try
='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16161 cat >conftest.
$ac_ext <<_ACEOF
16164 cat confdefs.h
>>conftest.
$ac_ext
16165 cat >>conftest.
$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 $ac_includes_default
16171 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16178 rm -f conftest.
$ac_objext
16179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>conftest.er1
16182 grep -v '^ *+' conftest.er1
>conftest.err
16184 cat conftest.err
>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } &&
16187 { ac_try
='test -z "$ac_c_werror_flag"
16188 || test ! -s conftest.err'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; } &&
16194 { ac_try
='test -s conftest.$ac_objext'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; }; then
16200 ac_hi
=$ac_mid; break
16202 echo "$as_me: failed program was:" >&5
16203 sed 's/^/| /' conftest.
$ac_ext >&5
16205 ac_lo
=`expr $ac_mid + 1`
16206 if test $ac_lo -le $ac_mid; then
16210 ac_mid
=`expr 2 '*' $ac_mid + 1`
16212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.
$ac_ext >&5
16218 cat >conftest.
$ac_ext <<_ACEOF
16221 cat confdefs.h
>>conftest.
$ac_ext
16222 cat >>conftest.
$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 $ac_includes_default
16228 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16235 rm -f conftest.
$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>conftest.er1
16239 grep -v '^ *+' conftest.er1
>conftest.err
16241 cat conftest.err
>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try
='test -z "$ac_c_werror_flag"
16245 || test ! -s conftest.err'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; } &&
16251 { ac_try
='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16259 cat >conftest.
$ac_ext <<_ACEOF
16262 cat confdefs.h
>>conftest.
$ac_ext
16263 cat >>conftest.
$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16265 $ac_includes_default
16269 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16276 rm -f conftest.
$ac_objext
16277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16278 (eval $ac_compile) 2>conftest.er1
16280 grep -v '^ *+' conftest.er1
>conftest.err
16282 cat conftest.err
>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } &&
16285 { ac_try
='test -z "$ac_c_werror_flag"
16286 || test ! -s conftest.err'
16287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16288 (eval $ac_try) 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } &&
16292 { ac_try
='test -s conftest.$ac_objext'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; }; then
16298 ac_lo
=$ac_mid; break
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.
$ac_ext >&5
16303 ac_hi
=`expr '(' $ac_mid ')' - 1`
16304 if test $ac_mid -le $ac_hi; then
16308 ac_mid
=`expr 2 '*' $ac_mid`
16310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.
$ac_ext >&5
16318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16321 # Binary search between lo and hi bounds.
16322 while test "x$ac_lo" != "x$ac_hi"; do
16323 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16324 cat >conftest.
$ac_ext <<_ACEOF
16327 cat confdefs.h
>>conftest.
$ac_ext
16328 cat >>conftest.
$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 $ac_includes_default
16334 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16341 rm -f conftest.
$ac_objext
16342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16343 (eval $ac_compile) 2>conftest.er1
16345 grep -v '^ *+' conftest.er1
>conftest.err
16347 cat conftest.err
>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try
='test -z "$ac_c_werror_flag"
16351 || test ! -s conftest.err'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; } &&
16357 { ac_try
='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.
$ac_ext >&5
16368 ac_lo
=`expr '(' $ac_mid ')' + 1`
16370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16373 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16374 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16375 See \`config.log' for more details." >&5
16376 echo "$as_me: error: cannot compute sizeof (int), 77
16377 See \`config.log' for more details." >&2;}
16378 { (exit 1); exit 1; }; } ;;
16381 if test "$cross_compiling" = yes; then
16382 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16383 See \`config.log' for more details." >&5
16384 echo "$as_me: error: cannot run test program while cross compiling
16385 See \`config.log' for more details." >&2;}
16386 { (exit 1); exit 1; }; }
16388 cat >conftest.
$ac_ext <<_ACEOF
16391 cat confdefs.h
>>conftest.
$ac_ext
16392 cat >>conftest.
$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16394 $ac_includes_default
16395 long longval () { return (long) (sizeof (int)); }
16396 unsigned long ulongval () { return (long) (sizeof (int)); }
16398 #include <stdlib.h>
16403 FILE *f = fopen ("conftest.val", "w");
16406 if (((long) (sizeof (int))) < 0)
16408 long i = longval ();
16409 if (i != ((long) (sizeof (int))))
16411 fprintf (f, "%ld\n", i);
16415 unsigned long i = ulongval ();
16416 if (i != ((long) (sizeof (int))))
16418 fprintf (f, "%lu\n", i);
16420 exit (ferror (f) || fclose (f) != 0);
16426 rm -f conftest
$ac_exeext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16428 (eval $ac_link) 2>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_cv_sizeof_int
=`cat conftest.val`
16439 echo "$as_me: program exited with status $ac_status" >&5
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.
$ac_ext >&5
16443 ( exit $ac_status )
16444 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16445 See \`config.log' for more details." >&5
16446 echo "$as_me: error: cannot compute sizeof (int), 77
16447 See \`config.log' for more details." >&2;}
16448 { (exit 1); exit 1; }; }
16450 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16458 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16459 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16460 cat >>confdefs.h
<<_ACEOF
16461 #define SIZEOF_INT $ac_cv_sizeof_int
16465 echo "$as_me:$LINENO: checking for long" >&5
16466 echo $ECHO_N "checking for long... $ECHO_C" >&6
16467 if test "${ac_cv_type_long+set}" = set; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 cat >conftest.
$ac_ext <<_ACEOF
16473 cat confdefs.h
>>conftest.
$ac_ext
16474 cat >>conftest.
$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 $ac_includes_default
16488 rm -f conftest.
$ac_objext
16489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16490 (eval $ac_compile) 2>conftest.er1
16492 grep -v '^ *+' conftest.er1
>conftest.err
16494 cat conftest.err
>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } &&
16497 { ac_try
='test -z "$ac_c_werror_flag"
16498 || test ! -s conftest.err'
16499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16500 (eval $ac_try) 2>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); }; } &&
16504 { ac_try
='test -s conftest.$ac_objext'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; }; then
16510 ac_cv_type_long
=yes
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.
$ac_ext >&5
16517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16519 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16520 echo "${ECHO_T}$ac_cv_type_long" >&6
16522 echo "$as_me:$LINENO: checking size of long" >&5
16523 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16524 if test "${ac_cv_sizeof_long+set}" = set; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 if test "$ac_cv_type_long" = yes; then
16528 # The cast to unsigned long works around a bug in the HP C Compiler
16529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16531 # This bug is HP SR number 8606223364.
16532 if test "$cross_compiling" = yes; then
16533 # Depending upon the size, compute the lo and hi bounds.
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 $ac_includes_default
16544 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16551 rm -f conftest.
$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16555 grep -v '^ *+' conftest.er1
>conftest.err
16557 cat conftest.err
>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try
='test -z "$ac_c_werror_flag"
16561 || test ! -s conftest.err'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try
='test -s conftest.$ac_objext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16575 cat >conftest.
$ac_ext <<_ACEOF
16578 cat confdefs.h
>>conftest.
$ac_ext
16579 cat >>conftest.
$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 $ac_includes_default
16585 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16592 rm -f conftest.
$ac_objext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16594 (eval $ac_compile) 2>conftest.er1
16596 grep -v '^ *+' conftest.er1
>conftest.err
16598 cat conftest.err
>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try
='test -z "$ac_c_werror_flag"
16602 || test ! -s conftest.err'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; } &&
16608 { ac_try
='test -s conftest.$ac_objext'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; }; then
16614 ac_hi
=$ac_mid; break
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.
$ac_ext >&5
16619 ac_lo
=`expr $ac_mid + 1`
16620 if test $ac_lo -le $ac_mid; then
16624 ac_mid
=`expr 2 '*' $ac_mid + 1`
16626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.
$ac_ext >&5
16632 cat >conftest.
$ac_ext <<_ACEOF
16635 cat confdefs.h
>>conftest.
$ac_ext
16636 cat >>conftest.
$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 $ac_includes_default
16642 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16649 rm -f conftest.
$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16653 grep -v '^ *+' conftest.er1
>conftest.err
16655 cat conftest.err
>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try
='test -z "$ac_c_werror_flag"
16659 || test ! -s conftest.err'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; } &&
16665 { ac_try
='test -s conftest.$ac_objext'
16666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667 (eval $ac_try) 2>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); }; }; then
16673 cat >conftest.
$ac_ext <<_ACEOF
16676 cat confdefs.h
>>conftest.
$ac_ext
16677 cat >>conftest.
$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 $ac_includes_default
16683 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16690 rm -f conftest.
$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692 (eval $ac_compile) 2>conftest.er1
16694 grep -v '^ *+' conftest.er1
>conftest.err
16696 cat conftest.err
>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } &&
16699 { ac_try
='test -z "$ac_c_werror_flag"
16700 || test ! -s conftest.err'
16701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702 (eval $ac_try) 2>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; } &&
16706 { ac_try
='test -s conftest.$ac_objext'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; }; then
16712 ac_lo
=$ac_mid; break
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.
$ac_ext >&5
16717 ac_hi
=`expr '(' $ac_mid ')' - 1`
16718 if test $ac_mid -le $ac_hi; then
16722 ac_mid
=`expr 2 '*' $ac_mid`
16724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.
$ac_ext >&5
16732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16735 # Binary search between lo and hi bounds.
16736 while test "x$ac_lo" != "x$ac_hi"; do
16737 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16748 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16755 rm -f conftest.
$ac_objext
16756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16757 (eval $ac_compile) 2>conftest.er1
16759 grep -v '^ *+' conftest.er1
>conftest.err
16761 cat conftest.err
>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } &&
16764 { ac_try
='test -z "$ac_c_werror_flag"
16765 || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try
='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_lo
=`expr '(' $ac_mid ')' + 1`
16784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16787 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16788 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16789 See \`config.log' for more details." >&5
16790 echo "$as_me: error: cannot compute sizeof (long), 77
16791 See \`config.log' for more details." >&2;}
16792 { (exit 1); exit 1; }; } ;;
16795 if test "$cross_compiling" = yes; then
16796 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16797 See \`config.log' for more details." >&5
16798 echo "$as_me: error: cannot run test program while cross compiling
16799 See \`config.log' for more details." >&2;}
16800 { (exit 1); exit 1; }; }
16802 cat >conftest.
$ac_ext <<_ACEOF
16805 cat confdefs.h
>>conftest.
$ac_ext
16806 cat >>conftest.
$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16808 $ac_includes_default
16809 long longval () { return (long) (sizeof (long)); }
16810 unsigned long ulongval () { return (long) (sizeof (long)); }
16812 #include <stdlib.h>
16817 FILE *f = fopen ("conftest.val", "w");
16820 if (((long) (sizeof (long))) < 0)
16822 long i = longval ();
16823 if (i != ((long) (sizeof (long))))
16825 fprintf (f, "%ld\n", i);
16829 unsigned long i = ulongval ();
16830 if (i != ((long) (sizeof (long))))
16832 fprintf (f, "%lu\n", i);
16834 exit (ferror (f) || fclose (f) != 0);
16840 rm -f conftest
$ac_exeext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16842 (eval $ac_link) 2>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 ac_cv_sizeof_long
=`cat conftest.val`
16853 echo "$as_me: program exited with status $ac_status" >&5
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.
$ac_ext >&5
16857 ( exit $ac_status )
16858 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16859 See \`config.log' for more details." >&5
16860 echo "$as_me: error: cannot compute sizeof (long), 77
16861 See \`config.log' for more details." >&2;}
16862 { (exit 1); exit 1; }; }
16864 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16869 ac_cv_sizeof_long
=0
16872 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16873 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16874 cat >>confdefs.h
<<_ACEOF
16875 #define SIZEOF_LONG $ac_cv_sizeof_long
16879 echo "$as_me:$LINENO: checking for size_t" >&5
16880 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16881 if test "${ac_cv_type_size_t+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 cat >conftest.
$ac_ext <<_ACEOF
16887 cat confdefs.h
>>conftest.
$ac_ext
16888 cat >>conftest.
$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 $ac_includes_default
16896 if (sizeof (size_t))
16902 rm -f conftest.
$ac_objext
16903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16904 (eval $ac_compile) 2>conftest.er1
16906 grep -v '^ *+' conftest.er1
>conftest.err
16908 cat conftest.err
>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } &&
16911 { ac_try
='test -z "$ac_c_werror_flag"
16912 || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try
='test -s conftest.$ac_objext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16924 ac_cv_type_size_t
=yes
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.
$ac_ext >&5
16929 ac_cv_type_size_t
=no
16931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16933 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16934 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16936 echo "$as_me:$LINENO: checking size of size_t" >&5
16937 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16938 if test "${ac_cv_sizeof_size_t+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 if test "$ac_cv_type_size_t" = yes; then
16942 # The cast to unsigned long works around a bug in the HP C Compiler
16943 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16944 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16945 # This bug is HP SR number 8606223364.
16946 if test "$cross_compiling" = yes; then
16947 # Depending upon the size, compute the lo and hi bounds.
16948 cat >conftest.
$ac_ext <<_ACEOF
16951 cat confdefs.h
>>conftest.
$ac_ext
16952 cat >>conftest.
$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16958 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16965 rm -f conftest.
$ac_objext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16967 (eval $ac_compile) 2>conftest.er1
16969 grep -v '^ *+' conftest.er1
>conftest.err
16971 cat conftest.err
>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } &&
16974 { ac_try
='test -z "$ac_c_werror_flag"
16975 || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try
='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16989 cat >conftest.
$ac_ext <<_ACEOF
16992 cat confdefs.h
>>conftest.
$ac_ext
16993 cat >>conftest.
$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16999 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17006 rm -f conftest.
$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17010 grep -v '^ *+' conftest.er1
>conftest.err
17012 cat conftest.err
>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try
='test -z "$ac_c_werror_flag"
17016 || test ! -s conftest.err'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; } &&
17022 { ac_try
='test -s conftest.$ac_objext'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; }; then
17028 ac_hi
=$ac_mid; break
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.
$ac_ext >&5
17033 ac_lo
=`expr $ac_mid + 1`
17034 if test $ac_lo -le $ac_mid; then
17038 ac_mid
=`expr 2 '*' $ac_mid + 1`
17040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.
$ac_ext >&5
17046 cat >conftest.
$ac_ext <<_ACEOF
17049 cat confdefs.h
>>conftest.
$ac_ext
17050 cat >>conftest.
$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 $ac_includes_default
17056 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17063 rm -f conftest.
$ac_objext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17065 (eval $ac_compile) 2>conftest.er1
17067 grep -v '^ *+' conftest.er1
>conftest.err
17069 cat conftest.err
>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } &&
17072 { ac_try
='test -z "$ac_c_werror_flag"
17073 || test ! -s conftest.err'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; } &&
17079 { ac_try
='test -s conftest.$ac_objext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17087 cat >conftest.
$ac_ext <<_ACEOF
17090 cat confdefs.h
>>conftest.
$ac_ext
17091 cat >>conftest.
$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17093 $ac_includes_default
17097 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17104 rm -f conftest.
$ac_objext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106 (eval $ac_compile) 2>conftest.er1
17108 grep -v '^ *+' conftest.er1
>conftest.err
17110 cat conftest.err
>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try
='test -z "$ac_c_werror_flag"
17114 || test ! -s conftest.err'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; } &&
17120 { ac_try
='test -s conftest.$ac_objext'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; }; then
17126 ac_lo
=$ac_mid; break
17128 echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.
$ac_ext >&5
17131 ac_hi
=`expr '(' $ac_mid ')' - 1`
17132 if test $ac_mid -le $ac_hi; then
17136 ac_mid
=`expr 2 '*' $ac_mid`
17138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.
$ac_ext >&5
17146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17149 # Binary search between lo and hi bounds.
17150 while test "x$ac_lo" != "x$ac_hi"; do
17151 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17152 cat >conftest.
$ac_ext <<_ACEOF
17155 cat confdefs.h
>>conftest.
$ac_ext
17156 cat >>conftest.
$ac_ext <<_ACEOF
17157 /* end confdefs.h. */
17158 $ac_includes_default
17162 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17169 rm -f conftest.
$ac_objext
17170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17171 (eval $ac_compile) 2>conftest.er1
17173 grep -v '^ *+' conftest.er1
>conftest.err
17175 cat conftest.err
>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } &&
17178 { ac_try
='test -z "$ac_c_werror_flag"
17179 || test ! -s conftest.err'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; } &&
17185 { ac_try
='test -s conftest.$ac_objext'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; }; then
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.
$ac_ext >&5
17196 ac_lo
=`expr '(' $ac_mid ')' + 1`
17198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17201 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17202 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17203 See \`config.log' for more details." >&5
17204 echo "$as_me: error: cannot compute sizeof (size_t), 77
17205 See \`config.log' for more details." >&2;}
17206 { (exit 1); exit 1; }; } ;;
17209 if test "$cross_compiling" = yes; then
17210 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17211 See \`config.log' for more details." >&5
17212 echo "$as_me: error: cannot run test program while cross compiling
17213 See \`config.log' for more details." >&2;}
17214 { (exit 1); exit 1; }; }
17216 cat >conftest.
$ac_ext <<_ACEOF
17219 cat confdefs.h
>>conftest.
$ac_ext
17220 cat >>conftest.
$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 $ac_includes_default
17223 long longval () { return (long) (sizeof (size_t)); }
17224 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17226 #include <stdlib.h>
17231 FILE *f = fopen ("conftest.val", "w");
17234 if (((long) (sizeof (size_t))) < 0)
17236 long i = longval ();
17237 if (i != ((long) (sizeof (size_t))))
17239 fprintf (f, "%ld\n", i);
17243 unsigned long i = ulongval ();
17244 if (i != ((long) (sizeof (size_t))))
17246 fprintf (f, "%lu\n", i);
17248 exit (ferror (f) || fclose (f) != 0);
17254 rm -f conftest
$ac_exeext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17256 (eval $ac_link) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17265 ac_cv_sizeof_size_t
=`cat conftest.val`
17267 echo "$as_me: program exited with status $ac_status" >&5
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 ( exit $ac_status )
17272 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17273 See \`config.log' for more details." >&5
17274 echo "$as_me: error: cannot compute sizeof (size_t), 77
17275 See \`config.log' for more details." >&2;}
17276 { (exit 1); exit 1; }; }
17278 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17283 ac_cv_sizeof_size_t
=0
17286 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17287 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17288 cat >>confdefs.h
<<_ACEOF
17289 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17296 echo "$as_me:$LINENO: checking for long long" >&5
17297 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17298 if test "${ac_cv_type_long_long+set}" = set; then
17299 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 cat >conftest.
$ac_ext <<_ACEOF
17304 cat confdefs.h
>>conftest.
$ac_ext
17305 cat >>conftest.
$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 $ac_includes_default
17311 if ((long long *) 0)
17313 if (sizeof (long long))
17319 rm -f conftest.
$ac_objext
17320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17321 (eval $ac_compile) 2>conftest.er1
17323 grep -v '^ *+' conftest.er1
>conftest.err
17325 cat conftest.err
>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } &&
17328 { ac_try
='test -z "$ac_c_werror_flag"
17329 || test ! -s conftest.err'
17330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17331 (eval $ac_try) 2>&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); }; } &&
17335 { ac_try
='test -s conftest.$ac_objext'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; }; then
17341 ac_cv_type_long_long
=yes
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.
$ac_ext >&5
17346 ac_cv_type_long_long
=no
17348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17350 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17351 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17353 echo "$as_me:$LINENO: checking size of long long" >&5
17354 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17355 if test "${ac_cv_sizeof_long_long+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17358 if test "$ac_cv_type_long_long" = yes; then
17359 # The cast to unsigned long works around a bug in the HP C Compiler
17360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17362 # This bug is HP SR number 8606223364.
17363 if test "$cross_compiling" = yes; then
17364 # Depending upon the size, compute the lo and hi bounds.
17365 cat >conftest.
$ac_ext <<_ACEOF
17368 cat confdefs.h
>>conftest.
$ac_ext
17369 cat >>conftest.
$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 $ac_includes_default
17375 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17382 rm -f conftest.
$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17386 grep -v '^ *+' conftest.er1
>conftest.err
17388 cat conftest.err
>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try
='test -z "$ac_c_werror_flag"
17392 || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try
='test -s conftest.$ac_objext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17406 cat >conftest.
$ac_ext <<_ACEOF
17409 cat confdefs.h
>>conftest.
$ac_ext
17410 cat >>conftest.
$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412 $ac_includes_default
17416 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17423 rm -f conftest.
$ac_objext
17424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17425 (eval $ac_compile) 2>conftest.er1
17427 grep -v '^ *+' conftest.er1
>conftest.err
17429 cat conftest.err
>&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } &&
17432 { ac_try
='test -z "$ac_c_werror_flag"
17433 || test ! -s conftest.err'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; } &&
17439 { ac_try
='test -s conftest.$ac_objext'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; }; then
17445 ac_hi
=$ac_mid; break
17447 echo "$as_me: failed program was:" >&5
17448 sed 's/^/| /' conftest.
$ac_ext >&5
17450 ac_lo
=`expr $ac_mid + 1`
17451 if test $ac_lo -le $ac_mid; then
17455 ac_mid
=`expr 2 '*' $ac_mid + 1`
17457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.
$ac_ext >&5
17463 cat >conftest.
$ac_ext <<_ACEOF
17466 cat confdefs.h
>>conftest.
$ac_ext
17467 cat >>conftest.
$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 $ac_includes_default
17473 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17480 rm -f conftest.
$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17484 grep -v '^ *+' conftest.er1
>conftest.err
17486 cat conftest.err
>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try
='test -z "$ac_c_werror_flag"
17490 || test ! -s conftest.err'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; } &&
17496 { ac_try
='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17504 cat >conftest.
$ac_ext <<_ACEOF
17507 cat confdefs.h
>>conftest.
$ac_ext
17508 cat >>conftest.
$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 $ac_includes_default
17514 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17521 rm -f conftest.
$ac_objext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17523 (eval $ac_compile) 2>conftest.er1
17525 grep -v '^ *+' conftest.er1
>conftest.err
17527 cat conftest.err
>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try
='test -z "$ac_c_werror_flag"
17531 || test ! -s conftest.err'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; } &&
17537 { ac_try
='test -s conftest.$ac_objext'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; }; then
17543 ac_lo
=$ac_mid; break
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.
$ac_ext >&5
17548 ac_hi
=`expr '(' $ac_mid ')' - 1`
17549 if test $ac_mid -le $ac_hi; then
17553 ac_mid
=`expr 2 '*' $ac_mid`
17555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.
$ac_ext >&5
17563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 # Binary search between lo and hi bounds.
17567 while test "x$ac_lo" != "x$ac_hi"; do
17568 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17569 cat >conftest.
$ac_ext <<_ACEOF
17572 cat confdefs.h
>>conftest.
$ac_ext
17573 cat >>conftest.
$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 $ac_includes_default
17579 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17586 rm -f conftest.
$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>conftest.er1
17590 grep -v '^ *+' conftest.er1
>conftest.err
17592 cat conftest.err
>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } &&
17595 { ac_try
='test -z "$ac_c_werror_flag"
17596 || test ! -s conftest.err'
17597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598 (eval $ac_try) 2>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; } &&
17602 { ac_try
='test -s conftest.$ac_objext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 ac_lo
=`expr '(' $ac_mid ')' + 1`
17615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17618 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17619 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17620 See \`config.log' for more details." >&5
17621 echo "$as_me: error: cannot compute sizeof (long long), 77
17622 See \`config.log' for more details." >&2;}
17623 { (exit 1); exit 1; }; } ;;
17626 if test "$cross_compiling" = yes; then
17627 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17628 See \`config.log' for more details." >&5
17629 echo "$as_me: error: cannot run test program while cross compiling
17630 See \`config.log' for more details." >&2;}
17631 { (exit 1); exit 1; }; }
17633 cat >conftest.
$ac_ext <<_ACEOF
17636 cat confdefs.h
>>conftest.
$ac_ext
17637 cat >>conftest.
$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 $ac_includes_default
17640 long longval () { return (long) (sizeof (long long)); }
17641 unsigned long ulongval () { return (long) (sizeof (long long)); }
17643 #include <stdlib.h>
17648 FILE *f = fopen ("conftest.val", "w");
17651 if (((long) (sizeof (long long))) < 0)
17653 long i = longval ();
17654 if (i != ((long) (sizeof (long long))))
17656 fprintf (f, "%ld\n", i);
17660 unsigned long i = ulongval ();
17661 if (i != ((long) (sizeof (long long))))
17663 fprintf (f, "%lu\n", i);
17665 exit (ferror (f) || fclose (f) != 0);
17671 rm -f conftest
$ac_exeext
17672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17673 (eval $ac_link) 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; }; then
17682 ac_cv_sizeof_long_long
=`cat conftest.val`
17684 echo "$as_me: program exited with status $ac_status" >&5
17685 echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.
$ac_ext >&5
17688 ( exit $ac_status )
17689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17690 See \`config.log' for more details." >&5
17691 echo "$as_me: error: cannot compute sizeof (long long), 77
17692 See \`config.log' for more details." >&2;}
17693 { (exit 1); exit 1; }; }
17695 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17700 ac_cv_sizeof_long_long
=0
17703 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17704 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17705 cat >>confdefs.h
<<_ACEOF
17706 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17712 echo "$as_me:$LINENO: checking for long long" >&5
17713 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17714 if test "${ac_cv_type_long_long+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 cat >conftest.
$ac_ext <<_ACEOF
17720 cat confdefs.h
>>conftest.
$ac_ext
17721 cat >>conftest.
$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 $ac_includes_default
17727 if ((long long *) 0)
17729 if (sizeof (long long))
17735 rm -f conftest.
$ac_objext
17736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17737 (eval $ac_compile) 2>conftest.er1
17739 grep -v '^ *+' conftest.er1
>conftest.err
17741 cat conftest.err
>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } &&
17744 { ac_try
='test -z "$ac_c_werror_flag"
17745 || test ! -s conftest.err'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; } &&
17751 { ac_try
='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 ac_cv_type_long_long
=yes
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.
$ac_ext >&5
17762 ac_cv_type_long_long
=no
17764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17766 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17767 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17769 echo "$as_me:$LINENO: checking size of long long" >&5
17770 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17771 if test "${ac_cv_sizeof_long_long+set}" = set; then
17772 echo $ECHO_N "(cached) $ECHO_C" >&6
17774 if test "$ac_cv_type_long_long" = yes; then
17775 # The cast to unsigned long works around a bug in the HP C Compiler
17776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17778 # This bug is HP SR number 8606223364.
17779 if test "$cross_compiling" = yes; then
17780 # Depending upon the size, compute the lo and hi bounds.
17781 cat >conftest.
$ac_ext <<_ACEOF
17784 cat confdefs.h
>>conftest.
$ac_ext
17785 cat >>conftest.
$ac_ext <<_ACEOF
17786 /* end confdefs.h. */
17787 $ac_includes_default
17791 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17798 rm -f conftest.
$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17802 grep -v '^ *+' conftest.er1
>conftest.err
17804 cat conftest.err
>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try
='test -z "$ac_c_werror_flag"
17808 || test ! -s conftest.err'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; } &&
17814 { ac_try
='test -s conftest.$ac_objext'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; }; then
17822 cat >conftest.
$ac_ext <<_ACEOF
17825 cat confdefs.h
>>conftest.
$ac_ext
17826 cat >>conftest.
$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 $ac_includes_default
17832 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17839 rm -f conftest.
$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17843 grep -v '^ *+' conftest.er1
>conftest.err
17845 cat conftest.err
>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try
='test -z "$ac_c_werror_flag"
17849 || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try
='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_hi
=$ac_mid; break
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.
$ac_ext >&5
17866 ac_lo
=`expr $ac_mid + 1`
17867 if test $ac_lo -le $ac_mid; then
17871 ac_mid
=`expr 2 '*' $ac_mid + 1`
17873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.
$ac_ext >&5
17879 cat >conftest.
$ac_ext <<_ACEOF
17882 cat confdefs.h
>>conftest.
$ac_ext
17883 cat >>conftest.
$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 $ac_includes_default
17889 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17896 rm -f conftest.
$ac_objext
17897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17898 (eval $ac_compile) 2>conftest.er1
17900 grep -v '^ *+' conftest.er1
>conftest.err
17902 cat conftest.err
>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } &&
17905 { ac_try
='test -z "$ac_c_werror_flag"
17906 || test ! -s conftest.err'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; } &&
17912 { ac_try
='test -s conftest.$ac_objext'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; }; then
17920 cat >conftest.
$ac_ext <<_ACEOF
17923 cat confdefs.h
>>conftest.
$ac_ext
17924 cat >>conftest.
$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 $ac_includes_default
17930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17937 rm -f conftest.
$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17941 grep -v '^ *+' conftest.er1
>conftest.err
17943 cat conftest.err
>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try
='test -z "$ac_c_werror_flag"
17947 || test ! -s conftest.err'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; } &&
17953 { ac_try
='test -s conftest.$ac_objext'
17954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17955 (eval $ac_try) 2>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); }; }; then
17959 ac_lo
=$ac_mid; break
17961 echo "$as_me: failed program was:" >&5
17962 sed 's/^/| /' conftest.
$ac_ext >&5
17964 ac_hi
=`expr '(' $ac_mid ')' - 1`
17965 if test $ac_mid -le $ac_hi; then
17969 ac_mid
=`expr 2 '*' $ac_mid`
17971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.
$ac_ext >&5
17979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17982 # Binary search between lo and hi bounds.
17983 while test "x$ac_lo" != "x$ac_hi"; do
17984 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17985 cat >conftest.
$ac_ext <<_ACEOF
17988 cat confdefs.h
>>conftest.
$ac_ext
17989 cat >>conftest.
$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17991 $ac_includes_default
17995 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18002 rm -f conftest.
$ac_objext
18003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18004 (eval $ac_compile) 2>conftest.er1
18006 grep -v '^ *+' conftest.er1
>conftest.err
18008 cat conftest.err
>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try
='test -z "$ac_c_werror_flag"
18012 || test ! -s conftest.err'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; } &&
18018 { ac_try
='test -s conftest.$ac_objext'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; }; then
18026 echo "$as_me: failed program was:" >&5
18027 sed 's/^/| /' conftest.
$ac_ext >&5
18029 ac_lo
=`expr '(' $ac_mid ')' + 1`
18031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18034 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18035 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18036 See \`config.log' for more details." >&5
18037 echo "$as_me: error: cannot compute sizeof (long long), 77
18038 See \`config.log' for more details." >&2;}
18039 { (exit 1); exit 1; }; } ;;
18042 if test "$cross_compiling" = yes; then
18043 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18044 See \`config.log' for more details." >&5
18045 echo "$as_me: error: cannot run test program while cross compiling
18046 See \`config.log' for more details." >&2;}
18047 { (exit 1); exit 1; }; }
18049 cat >conftest.
$ac_ext <<_ACEOF
18052 cat confdefs.h
>>conftest.
$ac_ext
18053 cat >>conftest.
$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055 $ac_includes_default
18056 long longval () { return (long) (sizeof (long long)); }
18057 unsigned long ulongval () { return (long) (sizeof (long long)); }
18059 #include <stdlib.h>
18064 FILE *f = fopen ("conftest.val", "w");
18067 if (((long) (sizeof (long long))) < 0)
18069 long i = longval ();
18070 if (i != ((long) (sizeof (long long))))
18072 fprintf (f, "%ld\n", i);
18076 unsigned long i = ulongval ();
18077 if (i != ((long) (sizeof (long long))))
18079 fprintf (f, "%lu\n", i);
18081 exit (ferror (f) || fclose (f) != 0);
18087 rm -f conftest
$ac_exeext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18089 (eval $ac_link) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; }; then
18098 ac_cv_sizeof_long_long
=`cat conftest.val`
18100 echo "$as_me: program exited with status $ac_status" >&5
18101 echo "$as_me: failed program was:" >&5
18102 sed 's/^/| /' conftest.
$ac_ext >&5
18104 ( exit $ac_status )
18105 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18106 See \`config.log' for more details." >&5
18107 echo "$as_me: error: cannot compute sizeof (long long), 77
18108 See \`config.log' for more details." >&2;}
18109 { (exit 1); exit 1; }; }
18111 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18116 ac_cv_sizeof_long_long
=0
18119 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18120 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18121 cat >>confdefs.h
<<_ACEOF
18122 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18126 if test "$ac_cv_sizeof_long_long" != "0"; then
18127 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18131 echo "$as_me:$LINENO: checking for long long" >&5
18132 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18133 if test "${ac_cv_type_long_long+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 cat >conftest.
$ac_ext <<_ACEOF
18139 cat confdefs.h
>>conftest.
$ac_ext
18140 cat >>conftest.
$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 $ac_includes_default
18146 if ((long long *) 0)
18148 if (sizeof (long long))
18154 rm -f conftest.
$ac_objext
18155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18156 (eval $ac_compile) 2>conftest.er1
18158 grep -v '^ *+' conftest.er1
>conftest.err
18160 cat conftest.err
>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } &&
18163 { ac_try
='test -z "$ac_c_werror_flag"
18164 || test ! -s conftest.err'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; } &&
18170 { ac_try
='test -s conftest.$ac_objext'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; }; then
18176 ac_cv_type_long_long
=yes
18178 echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.
$ac_ext >&5
18181 ac_cv_type_long_long
=no
18183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18186 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18188 echo "$as_me:$LINENO: checking size of long long" >&5
18189 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18190 if test "${ac_cv_sizeof_long_long+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 if test "$ac_cv_type_long_long" = yes; then
18194 # The cast to unsigned long works around a bug in the HP C Compiler
18195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18197 # This bug is HP SR number 8606223364.
18198 if test "$cross_compiling" = yes; then
18199 # Depending upon the size, compute the lo and hi bounds.
18200 cat >conftest.
$ac_ext <<_ACEOF
18203 cat confdefs.h
>>conftest.
$ac_ext
18204 cat >>conftest.
$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 $ac_includes_default
18210 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18217 rm -f conftest.
$ac_objext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18219 (eval $ac_compile) 2>conftest.er1
18221 grep -v '^ *+' conftest.er1
>conftest.err
18223 cat conftest.err
>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } &&
18226 { ac_try
='test -z "$ac_c_werror_flag"
18227 || test ! -s conftest.err'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; } &&
18233 { ac_try
='test -s conftest.$ac_objext'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; }; then
18241 cat >conftest.
$ac_ext <<_ACEOF
18244 cat confdefs.h
>>conftest.
$ac_ext
18245 cat >>conftest.
$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247 $ac_includes_default
18251 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18258 rm -f conftest.
$ac_objext
18259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18260 (eval $ac_compile) 2>conftest.er1
18262 grep -v '^ *+' conftest.er1
>conftest.err
18264 cat conftest.err
>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } &&
18267 { ac_try
='test -z "$ac_c_werror_flag"
18268 || test ! -s conftest.err'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; } &&
18274 { ac_try
='test -s conftest.$ac_objext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_hi
=$ac_mid; break
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.
$ac_ext >&5
18285 ac_lo
=`expr $ac_mid + 1`
18286 if test $ac_lo -le $ac_mid; then
18290 ac_mid
=`expr 2 '*' $ac_mid + 1`
18292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 cat >conftest.
$ac_ext <<_ACEOF
18301 cat confdefs.h
>>conftest.
$ac_ext
18302 cat >>conftest.
$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304 $ac_includes_default
18308 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18315 rm -f conftest.
$ac_objext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18317 (eval $ac_compile) 2>conftest.er1
18319 grep -v '^ *+' conftest.er1
>conftest.err
18321 cat conftest.err
>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try
='test -z "$ac_c_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try
='test -s conftest.$ac_objext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18339 cat >conftest.
$ac_ext <<_ACEOF
18342 cat confdefs.h
>>conftest.
$ac_ext
18343 cat >>conftest.
$ac_ext <<_ACEOF
18344 /* end confdefs.h. */
18345 $ac_includes_default
18349 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18356 rm -f conftest.
$ac_objext
18357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18358 (eval $ac_compile) 2>conftest.er1
18360 grep -v '^ *+' conftest.er1
>conftest.err
18362 cat conftest.err
>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } &&
18365 { ac_try
='test -z "$ac_c_werror_flag"
18366 || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try
='test -s conftest.$ac_objext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_lo
=$ac_mid; break
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.
$ac_ext >&5
18383 ac_hi
=`expr '(' $ac_mid ')' - 1`
18384 if test $ac_mid -le $ac_hi; then
18388 ac_mid
=`expr 2 '*' $ac_mid`
18390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.
$ac_ext >&5
18398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18401 # Binary search between lo and hi bounds.
18402 while test "x$ac_lo" != "x$ac_hi"; do
18403 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18404 cat >conftest.
$ac_ext <<_ACEOF
18407 cat confdefs.h
>>conftest.
$ac_ext
18408 cat >>conftest.
$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 $ac_includes_default
18414 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18421 rm -f conftest.
$ac_objext
18422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18423 (eval $ac_compile) 2>conftest.er1
18425 grep -v '^ *+' conftest.er1
>conftest.err
18427 cat conftest.err
>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try
='test -z "$ac_c_werror_flag"
18431 || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try
='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.
$ac_ext >&5
18448 ac_lo
=`expr '(' $ac_mid ')' + 1`
18450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18453 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18455 See \`config.log' for more details." >&5
18456 echo "$as_me: error: cannot compute sizeof (long long), 77
18457 See \`config.log' for more details." >&2;}
18458 { (exit 1); exit 1; }; } ;;
18461 if test "$cross_compiling" = yes; then
18462 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18463 See \`config.log' for more details." >&5
18464 echo "$as_me: error: cannot run test program while cross compiling
18465 See \`config.log' for more details." >&2;}
18466 { (exit 1); exit 1; }; }
18468 cat >conftest.
$ac_ext <<_ACEOF
18471 cat confdefs.h
>>conftest.
$ac_ext
18472 cat >>conftest.
$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 $ac_includes_default
18475 long longval () { return (long) (sizeof (long long)); }
18476 unsigned long ulongval () { return (long) (sizeof (long long)); }
18478 #include <stdlib.h>
18483 FILE *f = fopen ("conftest.val", "w");
18486 if (((long) (sizeof (long long))) < 0)
18488 long i = longval ();
18489 if (i != ((long) (sizeof (long long))))
18491 fprintf (f, "%ld\n", i);
18495 unsigned long i = ulongval ();
18496 if (i != ((long) (sizeof (long long))))
18498 fprintf (f, "%lu\n", i);
18500 exit (ferror (f) || fclose (f) != 0);
18506 rm -f conftest
$ac_exeext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18508 (eval $ac_link) 2>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513 (eval $ac_try) 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; }; then
18517 ac_cv_sizeof_long_long
=`cat conftest.val`
18519 echo "$as_me: program exited with status $ac_status" >&5
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.
$ac_ext >&5
18523 ( exit $ac_status )
18524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18525 See \`config.log' for more details." >&5
18526 echo "$as_me: error: cannot compute sizeof (long long), 77
18527 See \`config.log' for more details." >&2;}
18528 { (exit 1); exit 1; }; }
18530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18535 ac_cv_sizeof_long_long
=0
18538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18539 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18540 cat >>confdefs.h
<<_ACEOF
18541 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18547 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18548 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18549 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 if test "$cross_compiling" = yes; then
18557 wx_cv_sizeof_wchar_t
=0
18560 wx_cv_sizeof_wchar_t
=4
18566 cat >conftest.
$ac_ext <<_ACEOF
18569 cat confdefs.h
>>conftest.
$ac_ext
18570 cat >>conftest.
$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18573 /* DJGPP only has fake wchar_t: */
18575 # error "fake wchar_t"
18577 #ifdef HAVE_WCHAR_H
18579 # include <stddef.h>
18581 # include <wchar.h>
18583 #ifdef HAVE_STDLIB_H
18584 # include <stdlib.h>
18589 FILE *f=fopen("conftestval", "w");
18591 fprintf(f, "%i", sizeof(wchar_t));
18596 rm -f conftest
$ac_exeext
18597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18598 (eval $ac_link) 2>&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603 (eval $ac_try) 2>&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; }; then
18607 wx_cv_sizeof_wchar_t
=`cat conftestval`
18609 echo "$as_me: program exited with status $ac_status" >&5
18610 echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.
$ac_ext >&5
18613 ( exit $ac_status )
18614 wx_cv_sizeof_wchar_t
=0
18616 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18620 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18621 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18623 cat >>confdefs.h
<<_ACEOF
18624 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18628 echo "$as_me:$LINENO: checking for va_copy" >&5
18629 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18630 if test "${wx_cv_func_va_copy+set}" = set; then
18631 echo $ECHO_N "(cached) $ECHO_C" >&6
18634 cat >conftest.
$ac_ext <<_ACEOF
18636 #include <stdarg.h>
18637 void foo(char *f, ...)
18651 rm -f conftest.
$ac_objext conftest
$ac_exeext
18652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18653 (eval $ac_link) 2>conftest.er1
18655 grep -v '^ *+' conftest.er1
>conftest.err
18657 cat conftest.err
>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } &&
18660 { ac_try
='test -z "$ac_c_werror_flag"
18661 || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try
='test -s conftest$ac_exeext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 wx_cv_func_va_copy
=yes
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 wx_cv_func_va_copy
=no
18681 rm -f conftest.err conftest.
$ac_objext \
18682 conftest
$ac_exeext conftest.
$ac_ext
18686 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18687 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18689 if test $wx_cv_func_va_copy = "yes"; then
18690 cat >>confdefs.h
<<\_ACEOF
18691 #define HAVE_VA_COPY 1
18695 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18696 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18697 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18701 if test "$cross_compiling" = yes; then
18702 wx_cv_type_va_list_lvalue
=yes
18705 cat >conftest.
$ac_ext <<_ACEOF
18707 #include <stdarg.h>
18708 int foo(char *f, ...)
18713 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18721 return foo("hi", 17);
18724 rm -f conftest
$ac_exeext
18725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18726 (eval $ac_link) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 wx_cv_type_va_list_lvalue
=yes
18737 echo "$as_me: program exited with status $ac_status" >&5
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18741 ( exit $ac_status )
18742 wx_cv_type_va_list_lvalue
=no
18744 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18749 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18750 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18752 if test $wx_cv_type_va_list_lvalue != "yes"; then
18753 cat >>confdefs.h
<<\_ACEOF
18754 #define VA_LIST_IS_ARRAY 1
18760 # Check whether --enable-largefile or --disable-largefile was given.
18761 if test "${enable_largefile+set}" = set; then
18762 enableval
="$enable_largefile"
18765 if test "$enable_largefile" != no
; then
18768 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18769 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18770 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 cat >conftest.
$ac_ext <<_ACEOF
18777 cat confdefs.h
>>conftest.
$ac_ext
18778 cat >>conftest.
$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 #define _FILE_OFFSET_BITS 64
18781 #include <sys/types.h>
18786 unsigned int field: sizeof(off_t) == 8;
18793 rm -f conftest.
$ac_objext
18794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18795 (eval $ac_compile) 2>conftest.er1
18797 grep -v '^ *+' conftest.er1
>conftest.err
18799 cat conftest.err
>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } &&
18802 { ac_try
='test -z "$ac_c_werror_flag"
18803 || test ! -s conftest.err'
18804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805 (eval $ac_try) 2>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); }; } &&
18809 { ac_try
='test -s conftest.$ac_objext'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; }; then
18815 ac_cv_sys_file_offset_bits
=64
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.
$ac_ext >&5
18820 ac_cv_sys_file_offset_bits
=no
18822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18826 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18827 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18829 if test "$ac_cv_sys_file_offset_bits" != no
; then
18831 cat >>confdefs.h
<<_ACEOF
18832 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18837 if test "x$wx_largefile" != "xyes"; then
18839 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18840 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18841 if test "${ac_cv_sys_large_files+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18845 cat >conftest.
$ac_ext <<_ACEOF
18848 cat confdefs.h
>>conftest.
$ac_ext
18849 cat >>conftest.
$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 #define _LARGE_FILES 1
18852 #include <sys/types.h>
18857 unsigned int field: sizeof(off_t) == 8;
18864 rm -f conftest.
$ac_objext
18865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18866 (eval $ac_compile) 2>conftest.er1
18868 grep -v '^ *+' conftest.er1
>conftest.err
18870 cat conftest.err
>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } &&
18873 { ac_try
='test -z "$ac_c_werror_flag"
18874 || test ! -s conftest.err'
18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18876 (eval $ac_try) 2>&5
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); }; } &&
18880 { ac_try
='test -s conftest.$ac_objext'
18881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18882 (eval $ac_try) 2>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); }; }; then
18886 ac_cv_sys_large_files
=1
18888 echo "$as_me: failed program was:" >&5
18889 sed 's/^/| /' conftest.
$ac_ext >&5
18891 ac_cv_sys_large_files
=no
18893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18897 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18898 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18900 if test "$ac_cv_sys_large_files" != no
; then
18902 cat >>confdefs.h
<<_ACEOF
18903 #define _LARGE_FILES $ac_cv_sys_large_files
18910 echo "$as_me:$LINENO: checking if large file support is available" >&5
18911 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18912 if test "x$wx_largefile" = "xyes"; then
18913 cat >>confdefs.h
<<\_ACEOF
18914 #define HAVE_LARGEFILE_SUPPORT 1
18918 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18919 echo "${ECHO_T}$wx_largefile" >&6
18923 if test "x$wx_largefile" = "xyes"; then
18924 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18925 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18927 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18929 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18930 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18931 if test "${ac_cv_sys_largefile_source+set}" = set; then
18932 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 ac_cv_sys_largefile_source
=no
18936 cat >conftest.
$ac_ext <<_ACEOF
18939 cat confdefs.h
>>conftest.
$ac_ext
18940 cat >>conftest.
$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18951 rm -f conftest.
$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18955 grep -v '^ *+' conftest.er1
>conftest.err
18957 cat conftest.err
>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try
='test -z "$ac_c_werror_flag"
18961 || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try
='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.
$ac_ext >&5
18979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18980 cat >conftest.
$ac_ext <<_ACEOF
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #define _LARGEFILE_SOURCE 1
18996 rm -f conftest.
$ac_objext
18997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18998 (eval $ac_compile) 2>conftest.er1
19000 grep -v '^ *+' conftest.er1
>conftest.err
19002 cat conftest.err
>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try
='test -z "$ac_c_werror_flag"
19006 || test ! -s conftest.err'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; } &&
19012 { ac_try
='test -s conftest.$ac_objext'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; }; then
19018 ac_cv_sys_largefile_source
=1; break
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.
$ac_ext >&5
19024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19028 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19029 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19030 if test "$ac_cv_sys_largefile_source" != no
; then
19032 cat >>confdefs.h
<<_ACEOF
19033 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19039 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19040 # in glibc 2.1.3, but that breaks too many other things.
19041 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19042 echo "$as_me:$LINENO: checking for fseeko" >&5
19043 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
19044 if test "${ac_cv_func_fseeko+set}" = set; then
19045 echo $ECHO_N "(cached) $ECHO_C" >&6
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19057 return fseeko && fseeko (stdin, 0, 0);
19062 rm -f conftest.
$ac_objext conftest
$ac_exeext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19064 (eval $ac_link) 2>conftest.er1
19066 grep -v '^ *+' conftest.er1
>conftest.err
19068 cat conftest.err
>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try
='test -z "$ac_c_werror_flag"
19072 || test ! -s conftest.err'
19073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19074 (eval $ac_try) 2>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; } &&
19078 { ac_try
='test -s conftest$ac_exeext'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; }; then
19084 ac_cv_func_fseeko
=yes
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.
$ac_ext >&5
19089 ac_cv_func_fseeko
=no
19091 rm -f conftest.err conftest.
$ac_objext \
19092 conftest
$ac_exeext conftest.
$ac_ext
19094 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
19095 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
19096 if test $ac_cv_func_fseeko = yes; then
19098 cat >>confdefs.h
<<\_ACEOF
19099 #define HAVE_FSEEKO 1
19104 if test "$ac_cv_sys_largefile_source" != no
; then
19105 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
19107 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
19110 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19111 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19112 if test "${ac_cv_c_bigendian+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 ac_cv_c_bigendian
=unknown
19116 # See if sys/param.h defines the BYTE_ORDER macro.
19117 cat >conftest.
$ac_ext <<_ACEOF
19120 cat confdefs.h
>>conftest.
$ac_ext
19121 cat >>conftest.
$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 #include <sys/types.h>
19124 #include <sys/param.h>
19129 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19130 bogus endian macros
19136 rm -f conftest.
$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19140 grep -v '^ *+' conftest.er1
>conftest.err
19142 cat conftest.err
>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try
='test -z "$ac_c_werror_flag"
19146 || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try
='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 # It does; now see whether it defined to BIG_ENDIAN or not.
19159 cat >conftest.
$ac_ext <<_ACEOF
19162 cat confdefs.h
>>conftest.
$ac_ext
19163 cat >>conftest.
$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <sys/types.h>
19166 #include <sys/param.h>
19171 #if BYTE_ORDER != BIG_ENDIAN
19178 rm -f conftest.
$ac_objext
19179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19180 (eval $ac_compile) 2>conftest.er1
19182 grep -v '^ *+' conftest.er1
>conftest.err
19184 cat conftest.err
>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try
='test -z "$ac_c_werror_flag"
19188 || test ! -s conftest.err'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; } &&
19194 { ac_try
='test -s conftest.$ac_objext'
19195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19196 (eval $ac_try) 2>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; }; then
19200 ac_cv_c_bigendian
=yes
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.
$ac_ext >&5
19205 ac_cv_c_bigendian
=no
19207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.
$ac_ext >&5
19213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19214 if test $ac_cv_c_bigendian = unknown
; then
19215 if test "$cross_compiling" = yes; then
19216 ac_cv_c_bigendian
=unknown
19218 cat >conftest.
$ac_ext <<_ACEOF
19221 cat confdefs.h
>>conftest.
$ac_ext
19222 cat >>conftest.
$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19225 /* Are we little or big endian? From Harbison&Steele. */
19229 char c[sizeof (long)];
19232 exit (u.c[sizeof (long) - 1] == 1);
19235 rm -f conftest
$ac_exeext
19236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19237 (eval $ac_link) 2>&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19246 ac_cv_c_bigendian
=no
19248 echo "$as_me: program exited with status $ac_status" >&5
19249 echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.
$ac_ext >&5
19252 ( exit $ac_status )
19253 ac_cv_c_bigendian
=yes
19255 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19259 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19260 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19261 if test $ac_cv_c_bigendian = unknown
; then
19262 { 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
19263 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;}
19265 if test $ac_cv_c_bigendian = yes; then
19266 cat >>confdefs.h
<<\_ACEOF
19267 #define WORDS_BIGENDIAN 1
19274 ac_cpp
='$CXXCPP $CPPFLAGS'
19275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19278 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19279 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19280 if test -z "$CXXCPP"; then
19281 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19284 # Double quotes because CXXCPP needs to be expanded
19285 for CXXCPP
in "$CXX -E" "/lib/cpp"
19287 ac_preproc_ok
=false
19288 for ac_cxx_preproc_warn_flag
in '' yes
19290 # Use a header file that comes with gcc, so configuring glibc
19291 # with a fresh cross-compiler works.
19292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19293 # <limits.h> exists even on freestanding compilers.
19294 # On the NeXT, cc -E runs the code through the compiler's parser,
19295 # not just through cpp. "Syntax error" is here to catch this case.
19296 cat >conftest.
$ac_ext <<_ACEOF
19299 cat confdefs.h
>>conftest.
$ac_ext
19300 cat >>conftest.
$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19303 # include <limits.h>
19305 # include <assert.h>
19309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19312 grep -v '^ *+' conftest.er1
>conftest.err
19314 cat conftest.err
>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } >/dev
/null
; then
19317 if test -s conftest.err
; then
19318 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19319 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19326 if test -z "$ac_cpp_err"; then
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.
$ac_ext >&5
19332 # Broken: fails on valid input.
19335 rm -f conftest.err conftest.
$ac_ext
19337 # OK, works on sane cases. Now check whether non-existent headers
19338 # can be detected and how.
19339 cat >conftest.
$ac_ext <<_ACEOF
19342 cat confdefs.h
>>conftest.
$ac_ext
19343 cat >>conftest.
$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <ac_nonexistent.h>
19347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19350 grep -v '^ *+' conftest.er1
>conftest.err
19352 cat conftest.err
>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } >/dev
/null
; then
19355 if test -s conftest.err
; then
19356 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19357 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19364 if test -z "$ac_cpp_err"; then
19365 # Broken: success on invalid input.
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.
$ac_ext >&5
19371 # Passes both tests.
19375 rm -f conftest.err conftest.
$ac_ext
19378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19379 rm -f conftest.err conftest.
$ac_ext
19380 if $ac_preproc_ok; then
19385 ac_cv_prog_CXXCPP
=$CXXCPP
19388 CXXCPP
=$ac_cv_prog_CXXCPP
19390 ac_cv_prog_CXXCPP
=$CXXCPP
19392 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19393 echo "${ECHO_T}$CXXCPP" >&6
19394 ac_preproc_ok
=false
19395 for ac_cxx_preproc_warn_flag
in '' yes
19397 # Use a header file that comes with gcc, so configuring glibc
19398 # with a fresh cross-compiler works.
19399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19400 # <limits.h> exists even on freestanding compilers.
19401 # On the NeXT, cc -E runs the code through the compiler's parser,
19402 # not just through cpp. "Syntax error" is here to catch this case.
19403 cat >conftest.
$ac_ext <<_ACEOF
19406 cat confdefs.h
>>conftest.
$ac_ext
19407 cat >>conftest.
$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19410 # include <limits.h>
19412 # include <assert.h>
19416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19419 grep -v '^ *+' conftest.er1
>conftest.err
19421 cat conftest.err
>&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } >/dev
/null
; then
19424 if test -s conftest.err
; then
19425 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19426 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19433 if test -z "$ac_cpp_err"; then
19436 echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.
$ac_ext >&5
19439 # Broken: fails on valid input.
19442 rm -f conftest.err conftest.
$ac_ext
19444 # OK, works on sane cases. Now check whether non-existent headers
19445 # can be detected and how.
19446 cat >conftest.
$ac_ext <<_ACEOF
19449 cat confdefs.h
>>conftest.
$ac_ext
19450 cat >>conftest.
$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19452 #include <ac_nonexistent.h>
19454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19457 grep -v '^ *+' conftest.er1
>conftest.err
19459 cat conftest.err
>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } >/dev
/null
; then
19462 if test -s conftest.err
; then
19463 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19464 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19471 if test -z "$ac_cpp_err"; then
19472 # Broken: success on invalid input.
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.
$ac_ext >&5
19478 # Passes both tests.
19482 rm -f conftest.err conftest.
$ac_ext
19485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19486 rm -f conftest.err conftest.
$ac_ext
19487 if $ac_preproc_ok; then
19490 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19491 See \`config.log' for more details." >&5
19492 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19493 See \`config.log' for more details." >&2;}
19494 { (exit 1); exit 1; }; }
19498 ac_cpp
='$CXXCPP $CPPFLAGS'
19499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19508 ac_cpp
='$CXXCPP $CPPFLAGS'
19509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19515 for ac_header
in iostream
19517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19519 echo "$as_me:$LINENO: checking for $ac_header" >&5
19520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19522 echo $ECHO_N "(cached) $ECHO_C" >&6
19524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19527 # Is the header compilable?
19528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19530 cat >conftest.
$ac_ext <<_ACEOF
19533 cat confdefs.h
>>conftest.
$ac_ext
19534 cat >>conftest.
$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 $ac_includes_default
19537 #include <$ac_header>
19539 rm -f conftest.
$ac_objext
19540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19541 (eval $ac_compile) 2>conftest.er1
19543 grep -v '^ *+' conftest.er1
>conftest.err
19545 cat conftest.err
>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } &&
19548 { ac_try
='test -z "$ac_cxx_werror_flag"
19549 || test ! -s conftest.err'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; } &&
19555 { ac_try
='test -s conftest.$ac_objext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_header_compiler
=yes
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.
$ac_ext >&5
19566 ac_header_compiler
=no
19568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19570 echo "${ECHO_T}$ac_header_compiler" >&6
19572 # Is the header present?
19573 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19575 cat >conftest.
$ac_ext <<_ACEOF
19578 cat confdefs.h
>>conftest.
$ac_ext
19579 cat >>conftest.
$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 #include <$ac_header>
19583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19586 grep -v '^ *+' conftest.er1
>conftest.err
19588 cat conftest.err
>&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); } >/dev
/null
; then
19591 if test -s conftest.err
; then
19592 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19593 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19600 if test -z "$ac_cpp_err"; then
19601 ac_header_preproc
=yes
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.
$ac_ext >&5
19606 ac_header_preproc
=no
19608 rm -f conftest.err conftest.
$ac_ext
19609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19610 echo "${ECHO_T}$ac_header_preproc" >&6
19612 # So? What about this header?
19613 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19619 ac_header_preproc
=yes
19622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19636 ## ----------------------------------------- ##
19637 ## Report this to wx-dev@lists.wxwidgets.org ##
19638 ## ----------------------------------------- ##
19641 sed "s/^/$as_me: WARNING: /" >&2
19644 echo "$as_me:$LINENO: checking for $ac_header" >&5
19645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19647 echo $ECHO_N "(cached) $ECHO_C" >&6
19649 eval "$as_ac_Header=\$ac_header_preproc"
19651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19656 cat >>confdefs.h
<<_ACEOF
19657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19665 if test "$ac_cv_header_iostream" = "yes" ; then
19668 cat >>confdefs.h
<<\_ACEOF
19669 #define wxUSE_IOSTREAMH 1
19675 ac_cpp
='$CPP $CPPFLAGS'
19676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19683 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19684 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19685 if test "${wx_cv_cpp_bool+set}" = set; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 ac_cpp
='$CXXCPP $CPPFLAGS'
19693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19698 cat >conftest.
$ac_ext <<_ACEOF
19701 cat confdefs.h
>>conftest.
$ac_ext
19702 cat >>conftest.
$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19718 rm -f conftest.
$ac_objext
19719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19720 (eval $ac_compile) 2>conftest.er1
19722 grep -v '^ *+' conftest.er1
>conftest.err
19724 cat conftest.err
>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } &&
19727 { ac_try
='test -z "$ac_cxx_werror_flag"
19728 || test ! -s conftest.err'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; } &&
19734 { ac_try
='test -s conftest.$ac_objext'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; }; then
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.
$ac_ext >&5
19752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19755 ac_cpp
='$CPP $CPPFLAGS'
19756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19762 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19763 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19765 if test "$wx_cv_cpp_bool" = "yes"; then
19766 cat >>confdefs.h
<<\_ACEOF
19767 #define HAVE_BOOL 1
19774 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19775 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19776 if test "${wx_cv_explicit+set}" = set; then
19777 echo $ECHO_N "(cached) $ECHO_C" >&6
19783 ac_cpp
='$CXXCPP $CPPFLAGS'
19784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19789 cat >conftest.
$ac_ext <<_ACEOF
19792 cat confdefs.h
>>conftest.
$ac_ext
19793 cat >>conftest.
$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19796 class Foo { public: explicit Foo(int) {} };
19808 rm -f conftest.
$ac_objext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19810 (eval $ac_compile) 2>conftest.er1
19812 grep -v '^ *+' conftest.er1
>conftest.err
19814 cat conftest.err
>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try
='test -z "$ac_cxx_werror_flag"
19818 || test ! -s conftest.err'
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); }; } &&
19824 { ac_try
='test -s conftest.$ac_objext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19831 cat >conftest.
$ac_ext <<_ACEOF
19834 cat confdefs.h
>>conftest.
$ac_ext
19835 cat >>conftest.
$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19838 class Foo { public: explicit Foo(int) {} };
19839 static void TakeFoo(const Foo& foo) { }
19852 rm -f conftest.
$ac_objext
19853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19854 (eval $ac_compile) 2>conftest.er1
19856 grep -v '^ *+' conftest.er1
>conftest.err
19858 cat conftest.err
>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } &&
19861 { ac_try
='test -z "$ac_cxx_werror_flag"
19862 || test ! -s conftest.err'
19863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19864 (eval $ac_try) 2>&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; } &&
19868 { ac_try
='test -s conftest.$ac_objext'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; }; then
19876 echo "$as_me: failed program was:" >&5
19877 sed 's/^/| /' conftest.
$ac_ext >&5
19882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19885 echo "$as_me: failed program was:" >&5
19886 sed 's/^/| /' conftest.
$ac_ext >&5
19891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19894 ac_cpp
='$CPP $CPPFLAGS'
19895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19901 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19902 echo "${ECHO_T}$wx_cv_explicit" >&6
19904 if test "$wx_cv_explicit" = "yes"; then
19905 cat >>confdefs.h
<<\_ACEOF
19906 #define HAVE_EXPLICIT 1
19912 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19913 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19914 if test "${ac_cv_cxx_const_cast+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19920 ac_cpp
='$CXXCPP $CPPFLAGS'
19921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19925 cat >conftest.
$ac_ext <<_ACEOF
19928 cat confdefs.h
>>conftest.
$ac_ext
19929 cat >>conftest.
$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19935 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19940 rm -f conftest.
$ac_objext
19941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19942 (eval $ac_compile) 2>conftest.er1
19944 grep -v '^ *+' conftest.er1
>conftest.err
19946 cat conftest.err
>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } &&
19949 { ac_try
='test -z "$ac_cxx_werror_flag"
19950 || test ! -s conftest.err'
19951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19952 (eval $ac_try) 2>&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); }; } &&
19956 { ac_try
='test -s conftest.$ac_objext'
19957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19958 (eval $ac_try) 2>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); }; }; then
19962 ac_cv_cxx_const_cast
=yes
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.
$ac_ext >&5
19967 ac_cv_cxx_const_cast
=no
19969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19971 ac_cpp
='$CPP $CPPFLAGS'
19972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19978 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19979 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19980 if test "$ac_cv_cxx_const_cast" = yes; then
19982 cat >>confdefs.h
<<\_ACEOF
19983 #define HAVE_CONST_CAST
19988 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19989 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19990 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19996 ac_cpp
='$CXXCPP $CPPFLAGS'
19997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20001 cat >conftest.
$ac_ext <<_ACEOF
20004 cat confdefs.h
>>conftest.
$ac_ext
20005 cat >>conftest.
$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 #include <typeinfo>
20008 class Base { public : Base () {} virtual void f () = 0;};
20009 class Derived : public Base { public : Derived () {} virtual void f () {} };
20010 class Unrelated { public : Unrelated () {} };
20011 int g (Unrelated&) { return 0; }
20016 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20021 rm -f conftest.
$ac_objext
20022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20023 (eval $ac_compile) 2>conftest.er1
20025 grep -v '^ *+' conftest.er1
>conftest.err
20027 cat conftest.err
>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } &&
20030 { ac_try
='test -z "$ac_cxx_werror_flag"
20031 || test ! -s conftest.err'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; } &&
20037 { ac_try
='test -s conftest.$ac_objext'
20038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 (eval $ac_try) 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; }; then
20043 ac_cv_cxx_reinterpret_cast
=yes
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.
$ac_ext >&5
20048 ac_cv_cxx_reinterpret_cast
=no
20050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20052 ac_cpp
='$CPP $CPPFLAGS'
20053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20059 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20060 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20061 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20063 cat >>confdefs.h
<<\_ACEOF
20064 #define HAVE_REINTERPRET_CAST
20069 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20070 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20071 if test "${ac_cv_cxx_static_cast+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20077 ac_cpp
='$CXXCPP $CPPFLAGS'
20078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20082 cat >conftest.
$ac_ext <<_ACEOF
20085 cat confdefs.h
>>conftest.
$ac_ext
20086 cat >>conftest.
$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 #include <typeinfo>
20089 class Base { public : Base () {} virtual void f () = 0; };
20090 class Derived : public Base { public : Derived () {} virtual void f () {} };
20091 int g (Derived&) { return 0; }
20096 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
20101 rm -f conftest.
$ac_objext
20102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20103 (eval $ac_compile) 2>conftest.er1
20105 grep -v '^ *+' conftest.er1
>conftest.err
20107 cat conftest.err
>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } &&
20110 { ac_try
='test -z "$ac_cxx_werror_flag"
20111 || test ! -s conftest.err'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; } &&
20117 { ac_try
='test -s conftest.$ac_objext'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; }; then
20123 ac_cv_cxx_static_cast
=yes
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.
$ac_ext >&5
20128 ac_cv_cxx_static_cast
=no
20130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20132 ac_cpp
='$CPP $CPPFLAGS'
20133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20139 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
20140 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
20141 if test "$ac_cv_cxx_static_cast" = yes; then
20143 cat >>confdefs.h
<<\_ACEOF
20144 #define HAVE_STATIC_CAST
20150 if test "$wxUSE_STL" = "yes"; then
20152 ac_cpp
='$CXXCPP $CPPFLAGS'
20153 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20154 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20155 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20158 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
20159 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
20160 cat >conftest.
$ac_ext <<_ACEOF
20163 cat confdefs.h
>>conftest.
$ac_ext
20164 cat >>conftest.
$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20167 #include <functional>
20168 #include <algorithm>
20174 std::vector<int> moo;
20175 std::list<int> foo;
20176 std::vector<int>::iterator it =
20177 std::find_if(moo.begin(), moo.end(),
20178 std::bind2nd(std::less<int>(), 3));
20183 rm -f conftest.
$ac_objext
20184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20185 (eval $ac_compile) 2>conftest.er1
20187 grep -v '^ *+' conftest.er1
>conftest.err
20189 cat conftest.err
>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } &&
20192 { ac_try
='test -z "$ac_cxx_werror_flag"
20193 || test ! -s conftest.err'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; } &&
20199 { ac_try
='test -s conftest.$ac_objext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20205 echo "$as_me:$LINENO: result: yes" >&5
20206 echo "${ECHO_T}yes" >&6
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.
$ac_ext >&5
20211 echo "$as_me:$LINENO: result: no" >&5
20212 echo "${ECHO_T}no" >&6
20213 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20214 echo "$as_me: error: Basic STL functionality missing" >&2;}
20215 { (exit 1); exit 1; }; }
20217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20219 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20220 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20221 cat >conftest.
$ac_ext <<_ACEOF
20224 cat confdefs.h
>>conftest.
$ac_ext
20225 cat >>conftest.
$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20236 rm -f conftest.
$ac_objext
20237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20238 (eval $ac_compile) 2>conftest.er1
20240 grep -v '^ *+' conftest.er1
>conftest.err
20242 cat conftest.err
>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } &&
20245 { ac_try
='test -z "$ac_cxx_werror_flag"
20246 || test ! -s conftest.err'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; } &&
20252 { ac_try
='test -s conftest.$ac_objext'
20253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20254 (eval $ac_try) 2>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); }; }; then
20258 echo "$as_me:$LINENO: result: yes" >&5
20259 echo "${ECHO_T}yes" >&6
20260 cat >>confdefs.h
<<\_ACEOF
20261 #define HAVE_STD_WSTRING 1
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.
$ac_ext >&5
20268 echo "$as_me:$LINENO: result: no" >&5
20269 echo "${ECHO_T}no" >&6
20271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20273 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20274 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20275 cat >conftest.
$ac_ext <<_ACEOF
20278 cat confdefs.h
>>conftest.
$ac_ext
20279 cat >>conftest.
$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20285 std::string foo, bar;
20287 foo.compare(1, 1, bar);
20288 foo.compare(1, 1, bar, 1, 1);
20290 foo.compare(1, 1, "");
20291 foo.compare(1, 1, "", 2);
20296 rm -f conftest.
$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20300 grep -v '^ *+' conftest.er1
>conftest.err
20302 cat conftest.err
>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try
='test -z "$ac_cxx_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try
='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 echo "$as_me:$LINENO: result: yes" >&5
20319 echo "${ECHO_T}yes" >&6
20320 cat >>confdefs.h
<<\_ACEOF
20321 #define HAVE_STD_STRING_COMPARE 1
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.
$ac_ext >&5
20328 echo "$as_me:$LINENO: result: no" >&5
20329 echo "${ECHO_T}no" >&6
20331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20333 if test "${ac_cv_header_hash_map+set}" = set; then
20334 echo "$as_me:$LINENO: checking for hash_map" >&5
20335 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20336 if test "${ac_cv_header_hash_map+set}" = set; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20340 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20342 # Is the header compilable?
20343 echo "$as_me:$LINENO: checking hash_map usability" >&5
20344 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20345 cat >conftest.
$ac_ext <<_ACEOF
20348 cat confdefs.h
>>conftest.
$ac_ext
20349 cat >>conftest.
$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20351 $ac_includes_default
20352 #include <hash_map>
20354 rm -f conftest.
$ac_objext
20355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20356 (eval $ac_compile) 2>conftest.er1
20358 grep -v '^ *+' conftest.er1
>conftest.err
20360 cat conftest.err
>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } &&
20363 { ac_try
='test -z "$ac_cxx_werror_flag"
20364 || test ! -s conftest.err'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; } &&
20370 { ac_try
='test -s conftest.$ac_objext'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_header_compiler
=yes
20378 echo "$as_me: failed program was:" >&5
20379 sed 's/^/| /' conftest.
$ac_ext >&5
20381 ac_header_compiler
=no
20383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20385 echo "${ECHO_T}$ac_header_compiler" >&6
20387 # Is the header present?
20388 echo "$as_me:$LINENO: checking hash_map presence" >&5
20389 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20390 cat >conftest.
$ac_ext <<_ACEOF
20393 cat confdefs.h
>>conftest.
$ac_ext
20394 cat >>conftest.
$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 #include <hash_map>
20398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20401 grep -v '^ *+' conftest.er1
>conftest.err
20403 cat conftest.err
>&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } >/dev
/null
; then
20406 if test -s conftest.err
; then
20407 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20408 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20415 if test -z "$ac_cpp_err"; then
20416 ac_header_preproc
=yes
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.
$ac_ext >&5
20421 ac_header_preproc
=no
20423 rm -f conftest.err conftest.
$ac_ext
20424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20425 echo "${ECHO_T}$ac_header_preproc" >&6
20427 # So? What about this header?
20428 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20430 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20431 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20432 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20433 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20434 ac_header_preproc
=yes
20437 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20438 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20439 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20440 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20441 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20442 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20443 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20444 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20445 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20446 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20447 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20448 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20451 ## ----------------------------------------- ##
20452 ## Report this to wx-dev@lists.wxwidgets.org ##
20453 ## ----------------------------------------- ##
20456 sed "s/^/$as_me: WARNING: /" >&2
20459 echo "$as_me:$LINENO: checking for hash_map" >&5
20460 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20461 if test "${ac_cv_header_hash_map+set}" = set; then
20462 echo $ECHO_N "(cached) $ECHO_C" >&6
20464 ac_cv_header_hash_map
=$ac_header_preproc
20466 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20467 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20470 if test $ac_cv_header_hash_map = yes; then
20471 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20472 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20473 cat >conftest.
$ac_ext <<_ACEOF
20476 cat confdefs.h
>>conftest.
$ac_ext
20477 cat >>conftest.
$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 #include <hash_map>
20480 #include <hash_set>
20484 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20485 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20490 rm -f conftest.
$ac_objext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20492 (eval $ac_compile) 2>conftest.er1
20494 grep -v '^ *+' conftest.er1
>conftest.err
20496 cat conftest.err
>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } &&
20499 { ac_try
='test -z "$ac_cxx_werror_flag"
20500 || test ! -s conftest.err'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; } &&
20506 { ac_try
='test -s conftest.$ac_objext'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; }; then
20512 echo "$as_me:$LINENO: result: yes" >&5
20513 echo "${ECHO_T}yes" >&6
20514 cat >>confdefs.h
<<\_ACEOF
20515 #define HAVE_HASH_MAP 1
20518 cat >>confdefs.h
<<\_ACEOF
20519 #define HAVE_STD_HASH_MAP 1
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.
$ac_ext >&5
20526 echo "$as_me:$LINENO: result: no" >&5
20527 echo "${ECHO_T}no" >&6
20529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20535 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20536 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20537 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20538 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20539 echo $ECHO_N "(cached) $ECHO_C" >&6
20541 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20542 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20544 # Is the header compilable?
20545 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20546 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20547 cat >conftest.
$ac_ext <<_ACEOF
20550 cat confdefs.h
>>conftest.
$ac_ext
20551 cat >>conftest.
$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 #include <ext/hash_map>
20556 rm -f conftest.
$ac_objext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20558 (eval $ac_compile) 2>conftest.er1
20560 grep -v '^ *+' conftest.er1
>conftest.err
20562 cat conftest.err
>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } &&
20565 { ac_try
='test -z "$ac_cxx_werror_flag"
20566 || test ! -s conftest.err'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; } &&
20572 { ac_try
='test -s conftest.$ac_objext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20578 ac_header_compiler
=yes
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.
$ac_ext >&5
20583 ac_header_compiler
=no
20585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20587 echo "${ECHO_T}$ac_header_compiler" >&6
20589 # Is the header present?
20590 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20591 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20592 cat >conftest.
$ac_ext <<_ACEOF
20595 cat confdefs.h
>>conftest.
$ac_ext
20596 cat >>conftest.
$ac_ext <<_ACEOF
20597 /* end confdefs.h. */
20598 #include <ext/hash_map>
20600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20603 grep -v '^ *+' conftest.er1
>conftest.err
20605 cat conftest.err
>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } >/dev
/null
; then
20608 if test -s conftest.err
; then
20609 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20610 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20617 if test -z "$ac_cpp_err"; then
20618 ac_header_preproc
=yes
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.
$ac_ext >&5
20623 ac_header_preproc
=no
20625 rm -f conftest.err conftest.
$ac_ext
20626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20627 echo "${ECHO_T}$ac_header_preproc" >&6
20629 # So? What about this header?
20630 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20632 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20633 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20634 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20635 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20636 ac_header_preproc
=yes
20639 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20640 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20641 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20642 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20643 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20644 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20645 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20646 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20647 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20648 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20649 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20650 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20653 ## ----------------------------------------- ##
20654 ## Report this to wx-dev@lists.wxwidgets.org ##
20655 ## ----------------------------------------- ##
20658 sed "s/^/$as_me: WARNING: /" >&2
20661 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20662 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20663 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20664 echo $ECHO_N "(cached) $ECHO_C" >&6
20666 ac_cv_header_ext_hash_map
=$ac_header_preproc
20668 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20669 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20672 if test $ac_cv_header_ext_hash_map = yes; then
20673 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20674 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20675 cat >conftest.
$ac_ext <<_ACEOF
20678 cat confdefs.h
>>conftest.
$ac_ext
20679 cat >>conftest.
$ac_ext <<_ACEOF
20680 /* end confdefs.h. */
20681 #include <ext/hash_map>
20682 #include <ext/hash_set>
20686 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20687 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20692 rm -f conftest.
$ac_objext
20693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20694 (eval $ac_compile) 2>conftest.er1
20696 grep -v '^ *+' conftest.er1
>conftest.err
20698 cat conftest.err
>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } &&
20701 { ac_try
='test -z "$ac_cxx_werror_flag"
20702 || test ! -s conftest.err'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; } &&
20708 { ac_try
='test -s conftest.$ac_objext'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; }; then
20714 echo "$as_me:$LINENO: result: yes" >&5
20715 echo "${ECHO_T}yes" >&6
20716 cat >>confdefs.h
<<\_ACEOF
20717 #define HAVE_EXT_HASH_MAP 1
20720 cat >>confdefs.h
<<\_ACEOF
20721 #define HAVE_GNU_CXX_HASH_MAP 1
20725 echo "$as_me: failed program was:" >&5
20726 sed 's/^/| /' conftest.
$ac_ext >&5
20728 echo "$as_me:$LINENO: result: no" >&5
20729 echo "${ECHO_T}no" >&6
20731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20738 ac_cpp
='$CPP $CPPFLAGS'
20739 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20740 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20741 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20747 /usr/local/include \
20749 /usr/Motif-2.1/include \
20750 /usr/Motif-1.2/include \
20751 /usr/include/Motif1.2 \
20752 /opt/xpm/include/X11 \
20753 /opt/GBxpm/include/ \
20754 /opt/GBxpm/X11/include/ \
20757 /usr/openwin/include \
20761 /usr/X11R6/include \
20762 /usr/X11R6.4/include \
20763 /usr/X11R5/include \
20764 /usr/X11R4/include \
20766 /usr/include/X11R6 \
20767 /usr/include/X11R5 \
20768 /usr/include/X11R4 \
20770 /usr/local/X11R6/include \
20771 /usr/local/X11R5/include \
20772 /usr/local/X11R4/include \
20774 /usr/local/include/X11R6 \
20775 /usr/local/include/X11R5 \
20776 /usr/local/include/X11R4 \
20780 /usr/local/X11/include \
20781 /usr/local/include/X11 \
20783 /usr/X386/include \
20784 /usr/x386/include \
20785 /usr/XFree86/include/X11 \
20787 X:/XFree86/include \
20788 X:/XFree86/include/X11 \
20791 /usr/local/include/gtk \
20792 /usr/include/glib \
20793 /usr/local/include/glib \
20796 /usr/local/include/qt \
20798 /usr/local/arm/3.3.2/include \
20800 /usr/include/windows \
20801 /usr/include/wine \
20802 /usr/local/include/wine \
20804 /usr/unsupported/include \
20805 /usr/athena/include \
20806 /usr/local/x11r5/include \
20807 /usr/lpp/Xamples/include \
20809 /usr/openwin/share/include"
20811 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20814 cat >confcache
<<\_ACEOF
20815 # This file is a shell script that caches the results of configure
20816 # tests run on this system so they can be shared between configure
20817 # scripts and configure runs, see configure's option --config-cache.
20818 # It is not useful on other systems. If it contains results you don't
20819 # want to keep, you may remove or edit it.
20821 # config.status only pays attention to the cache file if you give it
20822 # the --recheck option to rerun configure.
20824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20826 # following values.
20830 # The following way of writing the cache mishandles newlines in values,
20831 # but we know of no workaround that is simple, portable, and efficient.
20832 # So, don't put newlines in cache variables' values.
20833 # Ultrix sh set writes to stderr and can't be redirected directly,
20834 # and sets the high bit in the cache file unless we assign to the vars.
20837 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20839 # `set' does not quote correctly, so add quotes (double-quote
20840 # substitution turns \\\\ into \\, and sed turns \\ into \).
20843 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20846 # `set' quotes correctly as required by POSIX, so do not add quotes.
20848 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20855 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20857 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20859 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20860 if test -w $cache_file; then
20861 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20862 cat confcache
>$cache_file
20864 echo "not updating unwritable cache $cache_file"
20869 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20870 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20871 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20872 if test "${wx_cv_lib_glibc21+set}" = set; then
20873 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 cat >conftest.
$ac_ext <<_ACEOF
20879 cat confdefs.h
>>conftest.
$ac_ext
20880 cat >>conftest.
$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 #include <features.h>
20887 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20888 #error not glibc2.1
20895 rm -f conftest.
$ac_objext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20897 (eval $ac_compile) 2>conftest.er1
20899 grep -v '^ *+' conftest.er1
>conftest.err
20901 cat conftest.err
>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); } &&
20904 { ac_try
='test -z "$ac_c_werror_flag"
20905 || test ! -s conftest.err'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; } &&
20911 { ac_try
='test -s conftest.$ac_objext'
20912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913 (eval $ac_try) 2>&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; }; then
20918 wx_cv_lib_glibc21
=yes
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.
$ac_ext >&5
20925 wx_cv_lib_glibc21
=no
20929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20932 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20933 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20934 if test "$wx_cv_lib_glibc21" = "yes"; then
20935 cat >>confdefs.h
<<\_ACEOF
20936 #define wxHAVE_GLIBC2 1
20942 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20943 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20944 cat >>confdefs.h
<<\_ACEOF
20945 #define _GNU_SOURCE 1
20953 if test "$wxUSE_REGEX" != "no"; then
20954 cat >>confdefs.h
<<\_ACEOF
20955 #define wxUSE_REGEX 1
20959 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20960 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20961 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20962 wxUSE_REGEX
=builtin
20965 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20966 if test "${ac_cv_header_regex_h+set}" = set; then
20967 echo "$as_me:$LINENO: checking for regex.h" >&5
20968 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20969 if test "${ac_cv_header_regex_h+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20973 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20975 # Is the header compilable?
20976 echo "$as_me:$LINENO: checking regex.h usability" >&5
20977 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20978 cat >conftest.
$ac_ext <<_ACEOF
20981 cat confdefs.h
>>conftest.
$ac_ext
20982 cat >>conftest.
$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20987 rm -f conftest.
$ac_objext
20988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20989 (eval $ac_compile) 2>conftest.er1
20991 grep -v '^ *+' conftest.er1
>conftest.err
20993 cat conftest.err
>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); } &&
20996 { ac_try
='test -z "$ac_c_werror_flag"
20997 || test ! -s conftest.err'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; } &&
21003 { ac_try
='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_header_compiler
=yes
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.
$ac_ext >&5
21014 ac_header_compiler
=no
21016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21018 echo "${ECHO_T}$ac_header_compiler" >&6
21020 # Is the header present?
21021 echo "$as_me:$LINENO: checking regex.h presence" >&5
21022 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21023 cat >conftest.
$ac_ext <<_ACEOF
21026 cat confdefs.h
>>conftest.
$ac_ext
21027 cat >>conftest.
$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21034 grep -v '^ *+' conftest.er1
>conftest.err
21036 cat conftest.err
>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } >/dev
/null
; then
21039 if test -s conftest.err
; then
21040 ac_cpp_err
=$ac_c_preproc_warn_flag
21041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21048 if test -z "$ac_cpp_err"; then
21049 ac_header_preproc
=yes
21051 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.
$ac_ext >&5
21054 ac_header_preproc
=no
21056 rm -f conftest.err conftest.
$ac_ext
21057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21058 echo "${ECHO_T}$ac_header_preproc" >&6
21060 # So? What about this header?
21061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21063 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21064 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21065 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21066 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21067 ac_header_preproc
=yes
21070 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21071 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21072 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21073 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21074 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21075 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21076 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21077 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21078 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21079 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21080 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21081 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21084 ## ----------------------------------------- ##
21085 ## Report this to wx-dev@lists.wxwidgets.org ##
21086 ## ----------------------------------------- ##
21089 sed "s/^/$as_me: WARNING: /" >&2
21092 echo "$as_me:$LINENO: checking for regex.h" >&5
21093 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21094 if test "${ac_cv_header_regex_h+set}" = set; then
21095 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 ac_cv_header_regex_h
=$ac_header_preproc
21099 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21100 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21103 if test $ac_cv_header_regex_h = yes; then
21105 for ac_func
in regcomp
21107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21108 echo "$as_me:$LINENO: checking for $ac_func" >&5
21109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21110 if eval "test \"\${$as_ac_var+set}\" = set"; then
21111 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 cat >conftest.
$ac_ext <<_ACEOF
21116 cat confdefs.h
>>conftest.
$ac_ext
21117 cat >>conftest.
$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21121 #define $ac_func innocuous_$ac_func
21123 /* System header to define __stub macros and hopefully few prototypes,
21124 which can conflict with char $ac_func (); below.
21125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21126 <limits.h> exists even on freestanding compilers. */
21129 # include <limits.h>
21131 # include <assert.h>
21136 /* Override any gcc2 internal prototype to avoid an error. */
21141 /* We use char because int might match the return type of a gcc2
21142 builtin and then its argument prototype would still apply. */
21144 /* The GNU C library defines this for functions which it implements
21145 to always fail with ENOSYS. Some functions are actually named
21146 something starting with __ and the normal name is an alias. */
21147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21150 char (*f) () = $ac_func;
21159 return f != $ac_func;
21164 rm -f conftest.
$ac_objext conftest
$ac_exeext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21166 (eval $ac_link) 2>conftest.er1
21168 grep -v '^ *+' conftest.er1
>conftest.err
21170 cat conftest.err
>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try
='test -z "$ac_c_werror_flag"
21174 || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try
='test -s conftest$ac_exeext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 eval "$as_ac_var=yes"
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 eval "$as_ac_var=no"
21193 rm -f conftest.err conftest.
$ac_objext \
21194 conftest
$ac_exeext conftest.
$ac_ext
21196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21198 if test `eval echo '${'$as_ac_var'}'` = yes; then
21199 cat >>confdefs.h
<<_ACEOF
21200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21210 if test "x$ac_cv_func_regcomp" != "xyes"; then
21211 if test "$wxUSE_REGEX" = "sys" ; then
21212 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21213 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21214 { (exit 1); exit 1; }; }
21216 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21217 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21218 wxUSE_REGEX
=builtin
21222 cat >>confdefs.h
<<\_ACEOF
21223 #define WX_NO_REGEX_ADVANCED 1
21232 if test "$wxUSE_ZLIB" != "no" ; then
21233 cat >>confdefs.h
<<\_ACEOF
21234 #define wxUSE_ZLIB 1
21238 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21239 if test "$USE_DARWIN" = 1; then
21240 system_zlib_h_ok
="yes"
21242 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21243 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21244 if test "${ac_cv_header_zlib_h+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21247 if test "$cross_compiling" = yes; then
21248 unset ac_cv_header_zlib_h
21251 cat >conftest.
$ac_ext <<_ACEOF
21254 cat confdefs.h
>>conftest.
$ac_ext
21255 cat >>conftest.
$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21263 FILE *f=fopen("conftestval", "w");
21266 ZLIB_VERSION[0] == '1' &&
21267 (ZLIB_VERSION[2] > '1' ||
21268 (ZLIB_VERSION[2] == '1' &&
21269 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21274 rm -f conftest
$ac_exeext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21276 (eval $ac_link) 2>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 ac_cv_header_zlib_h
=`cat conftestval`
21287 echo "$as_me: program exited with status $ac_status" >&5
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.
$ac_ext >&5
21291 ( exit $ac_status )
21292 ac_cv_header_zlib_h
=no
21294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21298 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21299 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21300 if test "${ac_cv_header_zlib_h+set}" = set; then
21301 echo "$as_me:$LINENO: checking for zlib.h" >&5
21302 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21303 if test "${ac_cv_header_zlib_h+set}" = set; then
21304 echo $ECHO_N "(cached) $ECHO_C" >&6
21306 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21307 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21309 # Is the header compilable?
21310 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21311 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21312 cat >conftest.
$ac_ext <<_ACEOF
21315 cat confdefs.h
>>conftest.
$ac_ext
21316 cat >>conftest.
$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 $ac_includes_default
21321 rm -f conftest.
$ac_objext
21322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21323 (eval $ac_compile) 2>conftest.er1
21325 grep -v '^ *+' conftest.er1
>conftest.err
21327 cat conftest.err
>&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } &&
21330 { ac_try
='test -z "$ac_c_werror_flag"
21331 || test ! -s conftest.err'
21332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21333 (eval $ac_try) 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); }; } &&
21337 { ac_try
='test -s conftest.$ac_objext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 ac_header_compiler
=yes
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.
$ac_ext >&5
21348 ac_header_compiler
=no
21350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21352 echo "${ECHO_T}$ac_header_compiler" >&6
21354 # Is the header present?
21355 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21356 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21357 cat >conftest.
$ac_ext <<_ACEOF
21360 cat confdefs.h
>>conftest.
$ac_ext
21361 cat >>conftest.
$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21368 grep -v '^ *+' conftest.er1
>conftest.err
21370 cat conftest.err
>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } >/dev
/null
; then
21373 if test -s conftest.err
; then
21374 ac_cpp_err
=$ac_c_preproc_warn_flag
21375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21382 if test -z "$ac_cpp_err"; then
21383 ac_header_preproc
=yes
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.
$ac_ext >&5
21388 ac_header_preproc
=no
21390 rm -f conftest.err conftest.
$ac_ext
21391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21392 echo "${ECHO_T}$ac_header_preproc" >&6
21394 # So? What about this header?
21395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21397 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21398 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21399 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21400 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21401 ac_header_preproc
=yes
21404 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21405 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21406 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21407 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21408 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21409 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21410 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21411 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21412 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21413 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21414 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21415 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21418 ## ----------------------------------------- ##
21419 ## Report this to wx-dev@lists.wxwidgets.org ##
21420 ## ----------------------------------------- ##
21423 sed "s/^/$as_me: WARNING: /" >&2
21426 echo "$as_me:$LINENO: checking for zlib.h" >&5
21427 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21428 if test "${ac_cv_header_zlib_h+set}" = set; then
21429 echo $ECHO_N "(cached) $ECHO_C" >&6
21431 ac_cv_header_zlib_h
=$ac_header_preproc
21433 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21434 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21440 system_zlib_h_ok
=$ac_cv_header_zlib_h
21443 if test "$system_zlib_h_ok" = "yes"; then
21444 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21445 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21446 if test "${ac_cv_lib_z_deflate+set}" = set; then
21447 echo $ECHO_N "(cached) $ECHO_C" >&6
21449 ac_check_lib_save_LIBS
=$LIBS
21451 cat >conftest.
$ac_ext <<_ACEOF
21454 cat confdefs.h
>>conftest.
$ac_ext
21455 cat >>conftest.
$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21458 /* Override any gcc2 internal prototype to avoid an error. */
21462 /* We use char because int might match the return type of a gcc2
21463 builtin and then its argument prototype would still apply. */
21473 rm -f conftest.
$ac_objext conftest
$ac_exeext
21474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21475 (eval $ac_link) 2>conftest.er1
21477 grep -v '^ *+' conftest.er1
>conftest.err
21479 cat conftest.err
>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } &&
21482 { ac_try
='test -z "$ac_c_werror_flag"
21483 || test ! -s conftest.err'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; } &&
21489 { ac_try
='test -s conftest$ac_exeext'
21490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491 (eval $ac_try) 2>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); }; }; then
21495 ac_cv_lib_z_deflate
=yes
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.
$ac_ext >&5
21500 ac_cv_lib_z_deflate
=no
21502 rm -f conftest.err conftest.
$ac_objext \
21503 conftest
$ac_exeext conftest.
$ac_ext
21504 LIBS
=$ac_check_lib_save_LIBS
21506 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21507 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21508 if test $ac_cv_lib_z_deflate = yes; then
21514 if test "x$ZLIB_LINK" = "x" ; then
21515 if test "$wxUSE_ZLIB" = "sys" ; then
21516 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21517 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21518 { (exit 1); exit 1; }; }
21520 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21521 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21532 if test "$wxUSE_LIBPNG" != "no" ; then
21533 cat >>confdefs.h
<<\_ACEOF
21534 #define wxUSE_LIBPNG 1
21538 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21539 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21540 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21544 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21545 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21546 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21547 wxUSE_LIBPNG
=builtin
21550 if test "$wxUSE_MGL" != 1 ; then
21551 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21552 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21553 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21554 if test "${ac_cv_header_png_h+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 if test "$cross_compiling" = yes; then
21558 unset ac_cv_header_png_h
21561 cat >conftest.
$ac_ext <<_ACEOF
21564 cat confdefs.h
>>conftest.
$ac_ext
21565 cat >>conftest.
$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21573 FILE *f=fopen("conftestval", "w");
21576 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21581 rm -f conftest
$ac_exeext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21583 (eval $ac_link) 2>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; }; then
21592 ac_cv_header_png_h
=`cat conftestval`
21594 echo "$as_me: program exited with status $ac_status" >&5
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.
$ac_ext >&5
21598 ( exit $ac_status )
21599 ac_cv_header_png_h
=no
21601 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21605 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21606 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21607 if test "${ac_cv_header_png_h+set}" = set; then
21608 echo "$as_me:$LINENO: checking for png.h" >&5
21609 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21610 if test "${ac_cv_header_png_h+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21614 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21616 # Is the header compilable?
21617 echo "$as_me:$LINENO: checking png.h usability" >&5
21618 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21619 cat >conftest.
$ac_ext <<_ACEOF
21622 cat confdefs.h
>>conftest.
$ac_ext
21623 cat >>conftest.
$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625 $ac_includes_default
21628 rm -f conftest.
$ac_objext
21629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21630 (eval $ac_compile) 2>conftest.er1
21632 grep -v '^ *+' conftest.er1
>conftest.err
21634 cat conftest.err
>&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } &&
21637 { ac_try
='test -z "$ac_c_werror_flag"
21638 || test ! -s conftest.err'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; } &&
21644 { ac_try
='test -s conftest.$ac_objext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_header_compiler
=yes
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.
$ac_ext >&5
21655 ac_header_compiler
=no
21657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21659 echo "${ECHO_T}$ac_header_compiler" >&6
21661 # Is the header present?
21662 echo "$as_me:$LINENO: checking png.h presence" >&5
21663 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21664 cat >conftest.
$ac_ext <<_ACEOF
21667 cat confdefs.h
>>conftest.
$ac_ext
21668 cat >>conftest.
$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21675 grep -v '^ *+' conftest.er1
>conftest.err
21677 cat conftest.err
>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } >/dev
/null
; then
21680 if test -s conftest.err
; then
21681 ac_cpp_err
=$ac_c_preproc_warn_flag
21682 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21689 if test -z "$ac_cpp_err"; then
21690 ac_header_preproc
=yes
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.
$ac_ext >&5
21695 ac_header_preproc
=no
21697 rm -f conftest.err conftest.
$ac_ext
21698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21699 echo "${ECHO_T}$ac_header_preproc" >&6
21701 # So? What about this header?
21702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21704 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21705 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21706 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21707 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21708 ac_header_preproc
=yes
21711 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21712 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21713 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21714 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21715 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21716 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21717 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21718 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21719 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21720 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21721 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21722 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21725 ## ----------------------------------------- ##
21726 ## Report this to wx-dev@lists.wxwidgets.org ##
21727 ## ----------------------------------------- ##
21730 sed "s/^/$as_me: WARNING: /" >&2
21733 echo "$as_me:$LINENO: checking for png.h" >&5
21734 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21735 if test "${ac_cv_header_png_h+set}" = set; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21738 ac_cv_header_png_h
=$ac_header_preproc
21740 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21741 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21747 if test "$ac_cv_header_png_h" = "yes"; then
21748 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21749 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21750 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 ac_check_lib_save_LIBS
=$LIBS
21754 LIBS
="-lpng -lz -lm $LIBS"
21755 cat >conftest.
$ac_ext <<_ACEOF
21758 cat confdefs.h
>>conftest.
$ac_ext
21759 cat >>conftest.
$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21762 /* Override any gcc2 internal prototype to avoid an error. */
21766 /* We use char because int might match the return type of a gcc2
21767 builtin and then its argument prototype would still apply. */
21768 char png_check_sig ();
21777 rm -f conftest.
$ac_objext conftest
$ac_exeext
21778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21779 (eval $ac_link) 2>conftest.er1
21781 grep -v '^ *+' conftest.er1
>conftest.err
21783 cat conftest.err
>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } &&
21786 { ac_try
='test -z "$ac_c_werror_flag"
21787 || test ! -s conftest.err'
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21789 (eval $ac_try) 2>&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; } &&
21793 { ac_try
='test -s conftest$ac_exeext'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; }; then
21799 ac_cv_lib_png_png_check_sig
=yes
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.
$ac_ext >&5
21804 ac_cv_lib_png_png_check_sig
=no
21806 rm -f conftest.err conftest.
$ac_objext \
21807 conftest
$ac_exeext conftest.
$ac_ext
21808 LIBS
=$ac_check_lib_save_LIBS
21810 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21811 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21812 if test $ac_cv_lib_png_png_check_sig = yes; then
21813 PNG_LINK
=" -lpng -lz"
21818 if test "x$PNG_LINK" = "x" ; then
21819 if test "$wxUSE_LIBPNG" = "sys" ; then
21820 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21821 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21822 { (exit 1); exit 1; }; }
21824 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21825 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21826 wxUSE_LIBPNG
=builtin
21834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21839 if test "$wxUSE_LIBJPEG" != "no" ; then
21840 cat >>confdefs.h
<<\_ACEOF
21841 #define wxUSE_LIBJPEG 1
21845 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21846 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21847 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21851 if test "$wxUSE_MGL" != 1 ; then
21852 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21853 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21854 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21855 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21856 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 cat >conftest.
$ac_ext <<_ACEOF
21861 cat confdefs.h
>>conftest.
$ac_ext
21862 cat >>conftest.
$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21865 #undef HAVE_STDLIB_H
21867 #include <jpeglib.h>
21878 rm -f conftest.
$ac_objext
21879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21880 (eval $ac_compile) 2>conftest.er1
21882 grep -v '^ *+' conftest.er1
>conftest.err
21884 cat conftest.err
>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } &&
21887 { ac_try
='test -z "$ac_c_werror_flag"
21888 || test ! -s conftest.err'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; } &&
21894 { ac_try
='test -s conftest.$ac_objext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 ac_cv_header_jpeglib_h
=yes
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.
$ac_ext >&5
21905 ac_cv_header_jpeglib_h
=no
21908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21912 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21913 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21915 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21916 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21917 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21918 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21919 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 ac_check_lib_save_LIBS
=$LIBS
21922 LIBS
="-ljpeg $LIBS"
21923 cat >conftest.
$ac_ext <<_ACEOF
21926 cat confdefs.h
>>conftest.
$ac_ext
21927 cat >>conftest.
$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21930 /* Override any gcc2 internal prototype to avoid an error. */
21934 /* We use char because int might match the return type of a gcc2
21935 builtin and then its argument prototype would still apply. */
21936 char jpeg_read_header ();
21940 jpeg_read_header ();
21945 rm -f conftest.
$ac_objext conftest
$ac_exeext
21946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21947 (eval $ac_link) 2>conftest.er1
21949 grep -v '^ *+' conftest.er1
>conftest.err
21951 cat conftest.err
>&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } &&
21954 { ac_try
='test -z "$ac_c_werror_flag"
21955 || test ! -s conftest.err'
21956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21957 (eval $ac_try) 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; } &&
21961 { ac_try
='test -s conftest$ac_exeext'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; }; then
21967 ac_cv_lib_jpeg_jpeg_read_header
=yes
21969 echo "$as_me: failed program was:" >&5
21970 sed 's/^/| /' conftest.
$ac_ext >&5
21972 ac_cv_lib_jpeg_jpeg_read_header
=no
21974 rm -f conftest.err conftest.
$ac_objext \
21975 conftest
$ac_exeext conftest.
$ac_ext
21976 LIBS
=$ac_check_lib_save_LIBS
21978 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21979 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21980 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21981 JPEG_LINK
=" -ljpeg"
21986 if test "x$JPEG_LINK" = "x" ; then
21987 if test "$wxUSE_LIBJPEG" = "sys" ; then
21988 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21989 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21990 { (exit 1); exit 1; }; }
21992 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21993 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21994 wxUSE_LIBJPEG
=builtin
22005 TIFF_PREREQ_LINKS
=-lm
22006 if test "$wxUSE_LIBTIFF" != "no" ; then
22007 cat >>confdefs.h
<<\_ACEOF
22008 #define wxUSE_LIBTIFF 1
22012 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22013 if test "$wxUSE_LIBJPEG" = "sys"; then
22014 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22016 if test "$wxUSE_ZLIB" = "sys"; then
22017 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22019 if test "${ac_cv_header_tiffio_h+set}" = set; then
22020 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22021 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22022 if test "${ac_cv_header_tiffio_h+set}" = set; then
22023 echo $ECHO_N "(cached) $ECHO_C" >&6
22025 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22026 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22028 # Is the header compilable?
22029 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22030 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22031 cat >conftest.
$ac_ext <<_ACEOF
22034 cat confdefs.h
>>conftest.
$ac_ext
22035 cat >>conftest.
$ac_ext <<_ACEOF
22036 /* end confdefs.h. */
22037 $ac_includes_default
22038 #include <tiffio.h>
22040 rm -f conftest.
$ac_objext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22042 (eval $ac_compile) 2>conftest.er1
22044 grep -v '^ *+' conftest.er1
>conftest.err
22046 cat conftest.err
>&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try
='test -z "$ac_c_werror_flag"
22050 || test ! -s conftest.err'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; } &&
22056 { ac_try
='test -s conftest.$ac_objext'
22057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058 (eval $ac_try) 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; }; then
22062 ac_header_compiler
=yes
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.
$ac_ext >&5
22067 ac_header_compiler
=no
22069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22071 echo "${ECHO_T}$ac_header_compiler" >&6
22073 # Is the header present?
22074 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22075 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22076 cat >conftest.
$ac_ext <<_ACEOF
22079 cat confdefs.h
>>conftest.
$ac_ext
22080 cat >>conftest.
$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 #include <tiffio.h>
22084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22087 grep -v '^ *+' conftest.er1
>conftest.err
22089 cat conftest.err
>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } >/dev
/null
; then
22092 if test -s conftest.err
; then
22093 ac_cpp_err
=$ac_c_preproc_warn_flag
22094 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22101 if test -z "$ac_cpp_err"; then
22102 ac_header_preproc
=yes
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.
$ac_ext >&5
22107 ac_header_preproc
=no
22109 rm -f conftest.err conftest.
$ac_ext
22110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22111 echo "${ECHO_T}$ac_header_preproc" >&6
22113 # So? What about this header?
22114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22116 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
22117 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22118 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
22119 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
22120 ac_header_preproc
=yes
22123 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
22124 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
22125 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
22126 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
22127 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
22128 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
22129 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
22130 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
22131 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
22132 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
22133 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
22134 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
22137 ## ----------------------------------------- ##
22138 ## Report this to wx-dev@lists.wxwidgets.org ##
22139 ## ----------------------------------------- ##
22142 sed "s/^/$as_me: WARNING: /" >&2
22145 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22146 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22147 if test "${ac_cv_header_tiffio_h+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22150 ac_cv_header_tiffio_h
=$ac_header_preproc
22152 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22153 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22156 if test $ac_cv_header_tiffio_h = yes; then
22158 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
22159 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
22160 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 ac_check_lib_save_LIBS
=$LIBS
22164 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22165 cat >conftest.
$ac_ext <<_ACEOF
22168 cat confdefs.h
>>conftest.
$ac_ext
22169 cat >>conftest.
$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22172 /* Override any gcc2 internal prototype to avoid an error. */
22176 /* We use char because int might match the return type of a gcc2
22177 builtin and then its argument prototype would still apply. */
22187 rm -f conftest.
$ac_objext conftest
$ac_exeext
22188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22189 (eval $ac_link) 2>conftest.er1
22191 grep -v '^ *+' conftest.er1
>conftest.err
22193 cat conftest.err
>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try
='test -z "$ac_c_werror_flag"
22197 || test ! -s conftest.err'
22198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22199 (eval $ac_try) 2>&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); }; } &&
22203 { ac_try
='test -s conftest$ac_exeext'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; }; then
22209 ac_cv_lib_tiff_TIFFError
=yes
22211 echo "$as_me: failed program was:" >&5
22212 sed 's/^/| /' conftest.
$ac_ext >&5
22214 ac_cv_lib_tiff_TIFFError
=no
22216 rm -f conftest.err conftest.
$ac_objext \
22217 conftest
$ac_exeext conftest.
$ac_ext
22218 LIBS
=$ac_check_lib_save_LIBS
22220 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22221 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22222 if test $ac_cv_lib_tiff_TIFFError = yes; then
22223 TIFF_LINK
=" -ltiff"
22232 if test "x$TIFF_LINK" = "x" ; then
22233 if test "$wxUSE_LIBTIFF" = "sys" ; then
22234 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22235 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22236 { (exit 1); exit 1; }; }
22238 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22239 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22240 wxUSE_LIBTIFF
=builtin
22249 if test "$wxUSE_EXPAT" != "no"; then
22251 cat >>confdefs.h
<<\_ACEOF
22252 #define wxUSE_EXPAT 1
22255 cat >>confdefs.h
<<\_ACEOF
22256 #define wxUSE_XML 1
22260 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22261 if test "${ac_cv_header_expat_h+set}" = set; then
22262 echo "$as_me:$LINENO: checking for expat.h" >&5
22263 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22264 if test "${ac_cv_header_expat_h+set}" = set; then
22265 echo $ECHO_N "(cached) $ECHO_C" >&6
22267 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22268 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22270 # Is the header compilable?
22271 echo "$as_me:$LINENO: checking expat.h usability" >&5
22272 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22273 cat >conftest.
$ac_ext <<_ACEOF
22276 cat confdefs.h
>>conftest.
$ac_ext
22277 cat >>conftest.
$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 $ac_includes_default
22282 rm -f conftest.
$ac_objext
22283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22284 (eval $ac_compile) 2>conftest.er1
22286 grep -v '^ *+' conftest.er1
>conftest.err
22288 cat conftest.err
>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } &&
22291 { ac_try
='test -z "$ac_c_werror_flag"
22292 || test ! -s conftest.err'
22293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22294 (eval $ac_try) 2>&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); }; } &&
22298 { ac_try
='test -s conftest.$ac_objext'
22299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22300 (eval $ac_try) 2>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); }; }; then
22304 ac_header_compiler
=yes
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.
$ac_ext >&5
22309 ac_header_compiler
=no
22311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22313 echo "${ECHO_T}$ac_header_compiler" >&6
22315 # Is the header present?
22316 echo "$as_me:$LINENO: checking expat.h presence" >&5
22317 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22318 cat >conftest.
$ac_ext <<_ACEOF
22321 cat confdefs.h
>>conftest.
$ac_ext
22322 cat >>conftest.
$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22329 grep -v '^ *+' conftest.er1
>conftest.err
22331 cat conftest.err
>&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); } >/dev
/null
; then
22334 if test -s conftest.err
; then
22335 ac_cpp_err
=$ac_c_preproc_warn_flag
22336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22343 if test -z "$ac_cpp_err"; then
22344 ac_header_preproc
=yes
22346 echo "$as_me: failed program was:" >&5
22347 sed 's/^/| /' conftest.
$ac_ext >&5
22349 ac_header_preproc
=no
22351 rm -f conftest.err conftest.
$ac_ext
22352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22353 echo "${ECHO_T}$ac_header_preproc" >&6
22355 # So? What about this header?
22356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22358 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22359 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22360 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22361 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22362 ac_header_preproc
=yes
22365 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22366 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22367 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22368 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22369 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22370 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22371 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22372 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22373 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22374 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22375 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22376 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22379 ## ----------------------------------------- ##
22380 ## Report this to wx-dev@lists.wxwidgets.org ##
22381 ## ----------------------------------------- ##
22384 sed "s/^/$as_me: WARNING: /" >&2
22387 echo "$as_me:$LINENO: checking for expat.h" >&5
22388 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22389 if test "${ac_cv_header_expat_h+set}" = set; then
22390 echo $ECHO_N "(cached) $ECHO_C" >&6
22392 ac_cv_header_expat_h
=$ac_header_preproc
22394 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22395 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22398 if test $ac_cv_header_expat_h = yes; then
22403 if test "x$found_expat_h" = "x1"; then
22404 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22405 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22406 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22413 ac_cpp
='$CXXCPP $CPPFLAGS'
22414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22418 cat >conftest.
$ac_ext <<_ACEOF
22421 cat confdefs.h
>>conftest.
$ac_ext
22422 cat >>conftest.
$ac_ext <<_ACEOF
22423 /* end confdefs.h. */
22433 rm -f conftest.
$ac_objext
22434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22435 (eval $ac_compile) 2>conftest.er1
22437 grep -v '^ *+' conftest.er1
>conftest.err
22439 cat conftest.err
>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try
='test -z "$ac_cxx_werror_flag"
22443 || test ! -s conftest.err'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; } &&
22449 { ac_try
='test -s conftest.$ac_objext'
22450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22451 (eval $ac_try) 2>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; }; then
22455 wx_cv_expat_is_not_broken
=yes
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.
$ac_ext >&5
22460 wx_cv_expat_is_not_broken
=no
22463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22465 ac_cpp
='$CPP $CPPFLAGS'
22466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22473 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22474 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22475 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22476 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22477 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22478 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22479 echo $ECHO_N "(cached) $ECHO_C" >&6
22481 ac_check_lib_save_LIBS
=$LIBS
22482 LIBS
="-lexpat $LIBS"
22483 cat >conftest.
$ac_ext <<_ACEOF
22486 cat confdefs.h
>>conftest.
$ac_ext
22487 cat >>conftest.
$ac_ext <<_ACEOF
22488 /* end confdefs.h. */
22490 /* Override any gcc2 internal prototype to avoid an error. */
22494 /* We use char because int might match the return type of a gcc2
22495 builtin and then its argument prototype would still apply. */
22496 char XML_ParserCreate ();
22500 XML_ParserCreate ();
22505 rm -f conftest.
$ac_objext conftest
$ac_exeext
22506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22507 (eval $ac_link) 2>conftest.er1
22509 grep -v '^ *+' conftest.er1
>conftest.err
22511 cat conftest.err
>&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } &&
22514 { ac_try
='test -z "$ac_c_werror_flag"
22515 || test ! -s conftest.err'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; } &&
22521 { ac_try
='test -s conftest$ac_exeext'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; }; then
22527 ac_cv_lib_expat_XML_ParserCreate
=yes
22529 echo "$as_me: failed program was:" >&5
22530 sed 's/^/| /' conftest.
$ac_ext >&5
22532 ac_cv_lib_expat_XML_ParserCreate
=no
22534 rm -f conftest.err conftest.
$ac_objext \
22535 conftest
$ac_exeext conftest.
$ac_ext
22536 LIBS
=$ac_check_lib_save_LIBS
22538 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22539 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22540 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22541 EXPAT_LINK
=" -lexpat"
22546 if test "x$EXPAT_LINK" = "x" ; then
22547 if test "$wxUSE_EXPAT" = "sys" ; then
22548 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22549 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22550 { (exit 1); exit 1; }; }
22552 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22553 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22554 wxUSE_EXPAT
=builtin
22560 if test "$wxUSE_EXPAT" = "builtin" ; then
22563 subdirs
="$subdirs src/expat"
22570 if test "$wxUSE_LIBMSPACK" != "no"; then
22571 if test "${ac_cv_header_mspack_h+set}" = set; then
22572 echo "$as_me:$LINENO: checking for mspack.h" >&5
22573 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22574 if test "${ac_cv_header_mspack_h+set}" = set; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22577 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22578 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22580 # Is the header compilable?
22581 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22582 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22583 cat >conftest.
$ac_ext <<_ACEOF
22586 cat confdefs.h
>>conftest.
$ac_ext
22587 cat >>conftest.
$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 $ac_includes_default
22590 #include <mspack.h>
22592 rm -f conftest.
$ac_objext
22593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22594 (eval $ac_compile) 2>conftest.er1
22596 grep -v '^ *+' conftest.er1
>conftest.err
22598 cat conftest.err
>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } &&
22601 { ac_try
='test -z "$ac_c_werror_flag"
22602 || test ! -s conftest.err'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; } &&
22608 { ac_try
='test -s conftest.$ac_objext'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 ac_header_compiler
=yes
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.
$ac_ext >&5
22619 ac_header_compiler
=no
22621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22623 echo "${ECHO_T}$ac_header_compiler" >&6
22625 # Is the header present?
22626 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22627 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22628 cat >conftest.
$ac_ext <<_ACEOF
22631 cat confdefs.h
>>conftest.
$ac_ext
22632 cat >>conftest.
$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 #include <mspack.h>
22636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22639 grep -v '^ *+' conftest.er1
>conftest.err
22641 cat conftest.err
>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } >/dev
/null
; then
22644 if test -s conftest.err
; then
22645 ac_cpp_err
=$ac_c_preproc_warn_flag
22646 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22653 if test -z "$ac_cpp_err"; then
22654 ac_header_preproc
=yes
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.
$ac_ext >&5
22659 ac_header_preproc
=no
22661 rm -f conftest.err conftest.
$ac_ext
22662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22663 echo "${ECHO_T}$ac_header_preproc" >&6
22665 # So? What about this header?
22666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22668 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22669 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22671 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22672 ac_header_preproc
=yes
22675 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22676 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22677 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22678 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22680 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22682 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22684 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22686 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22689 ## ----------------------------------------- ##
22690 ## Report this to wx-dev@lists.wxwidgets.org ##
22691 ## ----------------------------------------- ##
22694 sed "s/^/$as_me: WARNING: /" >&2
22697 echo "$as_me:$LINENO: checking for mspack.h" >&5
22698 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22699 if test "${ac_cv_header_mspack_h+set}" = set; then
22700 echo $ECHO_N "(cached) $ECHO_C" >&6
22702 ac_cv_header_mspack_h
=$ac_header_preproc
22704 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22705 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22708 if test $ac_cv_header_mspack_h = yes; then
22713 if test "x$found_mspack_h" = "x1"; then
22714 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22715 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22716 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22717 echo $ECHO_N "(cached) $ECHO_C" >&6
22719 ac_check_lib_save_LIBS
=$LIBS
22720 LIBS
="-lmspack $LIBS"
22721 cat >conftest.
$ac_ext <<_ACEOF
22724 cat confdefs.h
>>conftest.
$ac_ext
22725 cat >>conftest.
$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22728 /* Override any gcc2 internal prototype to avoid an error. */
22732 /* We use char because int might match the return type of a gcc2
22733 builtin and then its argument prototype would still apply. */
22734 char mspack_create_chm_decompressor ();
22738 mspack_create_chm_decompressor ();
22743 rm -f conftest.
$ac_objext conftest
$ac_exeext
22744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22745 (eval $ac_link) 2>conftest.er1
22747 grep -v '^ *+' conftest.er1
>conftest.err
22749 cat conftest.err
>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } &&
22752 { ac_try
='test -z "$ac_c_werror_flag"
22753 || test ! -s conftest.err'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; } &&
22759 { ac_try
='test -s conftest$ac_exeext'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22767 echo "$as_me: failed program was:" >&5
22768 sed 's/^/| /' conftest.
$ac_ext >&5
22770 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22772 rm -f conftest.err conftest.
$ac_objext \
22773 conftest
$ac_exeext conftest.
$ac_ext
22774 LIBS
=$ac_check_lib_save_LIBS
22776 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22777 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22778 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22779 MSPACK_LINK
=" -lmspack"
22783 if test "x$MSPACK_LINK" = "x" ; then
22788 if test "$wxUSE_LIBMSPACK" != "no"; then
22789 cat >>confdefs.h
<<\_ACEOF
22790 #define wxUSE_LIBMSPACK 1
22804 if test "$USE_WIN32" = 1 ; then
22806 for ac_header
in w32api.h
22808 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22810 echo "$as_me:$LINENO: checking for $ac_header" >&5
22811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22813 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22818 # Is the header compilable?
22819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22821 cat >conftest.
$ac_ext <<_ACEOF
22824 cat confdefs.h
>>conftest.
$ac_ext
22825 cat >>conftest.
$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 #include <$ac_header>
22830 rm -f conftest.
$ac_objext
22831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22832 (eval $ac_compile) 2>conftest.er1
22834 grep -v '^ *+' conftest.er1
>conftest.err
22836 cat conftest.err
>&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } &&
22839 { ac_try
='test -z "$ac_c_werror_flag"
22840 || test ! -s conftest.err'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; } &&
22846 { ac_try
='test -s conftest.$ac_objext'
22847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848 (eval $ac_try) 2>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; }; then
22852 ac_header_compiler
=yes
22854 echo "$as_me: failed program was:" >&5
22855 sed 's/^/| /' conftest.
$ac_ext >&5
22857 ac_header_compiler
=no
22859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22861 echo "${ECHO_T}$ac_header_compiler" >&6
22863 # Is the header present?
22864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22866 cat >conftest.
$ac_ext <<_ACEOF
22869 cat confdefs.h
>>conftest.
$ac_ext
22870 cat >>conftest.
$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872 #include <$ac_header>
22874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22875 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22877 grep -v '^ *+' conftest.er1
>conftest.err
22879 cat conftest.err
>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } >/dev
/null
; then
22882 if test -s conftest.err
; then
22883 ac_cpp_err
=$ac_c_preproc_warn_flag
22884 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22891 if test -z "$ac_cpp_err"; then
22892 ac_header_preproc
=yes
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.
$ac_ext >&5
22897 ac_header_preproc
=no
22899 rm -f conftest.err conftest.
$ac_ext
22900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22901 echo "${ECHO_T}$ac_header_preproc" >&6
22903 # So? What about this header?
22904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22910 ac_header_preproc
=yes
22913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22927 ## ----------------------------------------- ##
22928 ## Report this to wx-dev@lists.wxwidgets.org ##
22929 ## ----------------------------------------- ##
22932 sed "s/^/$as_me: WARNING: /" >&2
22935 echo "$as_me:$LINENO: checking for $ac_header" >&5
22936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22938 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 eval "$as_ac_Header=\$ac_header_preproc"
22942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22947 cat >>confdefs.h
<<_ACEOF
22948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22955 if test "${ac_cv_header_windows_h+set}" = set; then
22956 echo "$as_me:$LINENO: checking for windows.h" >&5
22957 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22958 if test "${ac_cv_header_windows_h+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22961 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22962 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22964 # Is the header compilable?
22965 echo "$as_me:$LINENO: checking windows.h usability" >&5
22966 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22967 cat >conftest.
$ac_ext <<_ACEOF
22970 cat confdefs.h
>>conftest.
$ac_ext
22971 cat >>conftest.
$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 $ac_includes_default
22974 #include <windows.h>
22976 rm -f conftest.
$ac_objext
22977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22978 (eval $ac_compile) 2>conftest.er1
22980 grep -v '^ *+' conftest.er1
>conftest.err
22982 cat conftest.err
>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try
='test -z "$ac_c_werror_flag"
22986 || test ! -s conftest.err'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; } &&
22992 { ac_try
='test -s conftest.$ac_objext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_header_compiler
=yes
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23003 ac_header_compiler
=no
23005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23007 echo "${ECHO_T}$ac_header_compiler" >&6
23009 # Is the header present?
23010 echo "$as_me:$LINENO: checking windows.h presence" >&5
23011 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23012 cat >conftest.
$ac_ext <<_ACEOF
23015 cat confdefs.h
>>conftest.
$ac_ext
23016 cat >>conftest.
$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 #include <windows.h>
23020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23023 grep -v '^ *+' conftest.er1
>conftest.err
23025 cat conftest.err
>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } >/dev
/null
; then
23028 if test -s conftest.err
; then
23029 ac_cpp_err
=$ac_c_preproc_warn_flag
23030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23037 if test -z "$ac_cpp_err"; then
23038 ac_header_preproc
=yes
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.
$ac_ext >&5
23043 ac_header_preproc
=no
23045 rm -f conftest.err conftest.
$ac_ext
23046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23047 echo "${ECHO_T}$ac_header_preproc" >&6
23049 # So? What about this header?
23050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23052 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23053 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23054 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23055 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23056 ac_header_preproc
=yes
23059 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23060 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23062 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23064 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23066 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23067 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23068 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23069 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23070 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23073 ## ----------------------------------------- ##
23074 ## Report this to wx-dev@lists.wxwidgets.org ##
23075 ## ----------------------------------------- ##
23078 sed "s/^/$as_me: WARNING: /" >&2
23081 echo "$as_me:$LINENO: checking for windows.h" >&5
23082 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23083 if test "${ac_cv_header_windows_h+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23086 ac_cv_header_windows_h
=$ac_header_preproc
23088 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23089 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23092 if test $ac_cv_header_windows_h = yes; then
23096 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23097 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23098 { (exit 1); exit 1; }; }
23104 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23106 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23107 LIBS
="$LIBS -loleacc"
23112 LIBS
="$LIBS -lkernel32 -luser32"
23113 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
23116 if test "$wxUSE_ODBC" = "sys" ; then
23119 if test "$wxUSE_ODBC" = "yes" ; then
23120 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
23121 cat >>confdefs.h
<<\_ACEOF
23122 #define wxUSE_ODBC 1
23127 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
23128 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23130 WIN32INSTALL
=win32install
23133 if test "$wxUSE_GUI" = "yes"; then
23143 if test "$wxUSE_COCOA" = 1 ; then
23144 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23145 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23146 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23147 wxUSE_PRINTING_ARCHITECTURE
=no
23149 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23150 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23151 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23152 wxUSE_DRAG_AND_DROP
=no
23154 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23155 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
23156 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
23161 if test "$wxUSE_MSW" = 1 ; then
23167 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23171 if test "$wxUSE_GTK" = 1; then
23172 echo "$as_me:$LINENO: checking for GTK+ version" >&5
23173 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
23175 gtk_version_cached
=1
23176 if test "${wx_cv_lib_gtk+set}" = set; then
23177 echo $ECHO_N "(cached) $ECHO_C" >&6
23180 gtk_version_cached
=0
23181 echo "$as_me:$LINENO: result: " >&5
23182 echo "${ECHO_T}" >&6
23185 if test "$wxUSE_THREADS" = "yes"; then
23186 GTK_MODULES
=gthread
23190 if test "x$wxUSE_GTK2" = "xyes"; then
23191 # Check whether --enable-gtktest or --disable-gtktest was given.
23192 if test "${enable_gtktest+set}" = set; then
23193 enableval
="$enable_gtktest"
23199 pkg_config_args
=gtk
+-2.0
23200 for module
in .
$GTK_MODULES
23204 pkg_config_args
="$pkg_config_args gthread-2.0"
23211 # Extract the first word of "pkg-config", so it can be a program name with args.
23212 set dummy pkg
-config; ac_word
=$2
23213 echo "$as_me:$LINENO: checking for $ac_word" >&5
23214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23215 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23216 echo $ECHO_N "(cached) $ECHO_C" >&6
23218 case $PKG_CONFIG in
23220 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23224 for as_dir
in $PATH
23227 test -z "$as_dir" && as_dir
=.
23228 for ac_exec_ext
in '' $ac_executable_extensions; do
23229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23230 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23237 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23241 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23243 if test -n "$PKG_CONFIG"; then
23244 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23245 echo "${ECHO_T}$PKG_CONFIG" >&6
23247 echo "$as_me:$LINENO: result: no" >&5
23248 echo "${ECHO_T}no" >&6
23252 if test x
$PKG_CONFIG != xno
; then
23253 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23256 echo "*** pkg-config too old; version 0.7 or better required."
23264 min_gtk_version
=2.0.0
23265 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23266 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23268 if test x
$PKG_CONFIG != xno
; then
23269 ## don't try to run the test against uninstalled libtool libs
23270 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23271 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23275 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23282 if test x
"$no_gtk" = x
; then
23283 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23284 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23285 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23287 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23288 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23289 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23290 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23291 if test "x$enable_gtktest" = "xyes" ; then
23292 ac_save_CFLAGS
="$CFLAGS"
23293 ac_save_LIBS
="$LIBS"
23294 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23295 LIBS
="$GTK_LIBS $LIBS"
23297 if test "$cross_compiling" = yes; then
23298 echo $ac_n "cross compiling; assumed OK... $ac_c"
23300 cat >conftest.
$ac_ext <<_ACEOF
23303 cat confdefs.h
>>conftest.
$ac_ext
23304 cat >>conftest.
$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23307 #include <gtk/gtk.h>
23309 #include <stdlib.h>
23314 int major, minor, micro;
23317 system ("touch conf.gtktest");
23319 /* HP/UX 9 (%@#!) writes to sscanf strings */
23320 tmp_version = g_strdup("$min_gtk_version");
23321 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23322 printf("%s, bad version string\n", "$min_gtk_version");
23326 if ((gtk_major_version != $gtk_config_major_version) ||
23327 (gtk_minor_version != $gtk_config_minor_version) ||
23328 (gtk_micro_version != $gtk_config_micro_version))
23330 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23331 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23332 gtk_major_version, gtk_minor_version, gtk_micro_version);
23333 printf ("*** was found! If pkg-config was correct, then it is best\n");
23334 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23335 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23336 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23337 printf("*** required on your system.\n");
23338 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23339 printf("*** to point to the correct configuration files\n");
23341 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23342 (gtk_minor_version != GTK_MINOR_VERSION) ||
23343 (gtk_micro_version != GTK_MICRO_VERSION))
23345 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23346 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23347 printf("*** library (version %d.%d.%d)\n",
23348 gtk_major_version, gtk_minor_version, gtk_micro_version);
23352 if ((gtk_major_version > major) ||
23353 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23354 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23360 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23361 gtk_major_version, gtk_minor_version, gtk_micro_version);
23362 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23363 major, minor, micro);
23364 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23366 printf("*** If you have already installed a sufficiently new version, this error\n");
23367 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23368 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23369 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23370 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23371 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23372 printf("*** so that the correct libraries are found at run-time))\n");
23379 rm -f conftest
$ac_exeext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23381 (eval $ac_link) 2>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; }; then
23392 echo "$as_me: program exited with status $ac_status" >&5
23393 echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.
$ac_ext >&5
23396 ( exit $ac_status )
23399 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23401 CFLAGS
="$ac_save_CFLAGS"
23402 LIBS
="$ac_save_LIBS"
23405 if test "x$no_gtk" = x
; then
23406 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23407 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23410 echo "$as_me:$LINENO: result: no" >&5
23411 echo "${ECHO_T}no" >&6
23412 if test "$PKG_CONFIG" = "no" ; then
23413 echo "*** A new enough version of pkg-config was not found."
23414 echo "*** See http://pkgconfig.sourceforge.net"
23416 if test -f conf.gtktest
; then
23419 echo "*** Could not run GTK+ test program, checking why..."
23420 ac_save_CFLAGS
="$CFLAGS"
23421 ac_save_LIBS
="$LIBS"
23422 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23423 LIBS
="$LIBS $GTK_LIBS"
23424 cat >conftest.
$ac_ext <<_ACEOF
23427 cat confdefs.h
>>conftest.
$ac_ext
23428 cat >>conftest.
$ac_ext <<_ACEOF
23429 /* end confdefs.h. */
23431 #include <gtk/gtk.h>
23437 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23442 rm -f conftest.
$ac_objext conftest
$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444 (eval $ac_link) 2>conftest.er1
23446 grep -v '^ *+' conftest.er1
>conftest.err
23448 cat conftest.err
>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try
='test -z "$ac_c_werror_flag"
23452 || test ! -s conftest.err'
23453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454 (eval $ac_try) 2>&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); }; } &&
23458 { ac_try
='test -s conftest$ac_exeext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464 echo "*** The test program compiled, but did not run. This usually means"
23465 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23466 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23467 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23468 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23469 echo "*** is required on your system"
23471 echo "*** If you have an old version installed, it is best to remove it, although"
23472 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23474 echo "$as_me: failed program was:" >&5
23475 sed 's/^/| /' conftest.
$ac_ext >&5
23477 echo "*** The test program failed to compile or link. See the file config.log for the"
23478 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23480 rm -f conftest.err conftest.
$ac_objext \
23481 conftest
$ac_exeext conftest.
$ac_ext
23482 CFLAGS
="$ac_save_CFLAGS"
23483 LIBS
="$ac_save_LIBS"
23496 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23497 if test "${with_gtk_prefix+set}" = set; then
23498 withval
="$with_gtk_prefix"
23499 gtk_config_prefix
="$withval"
23501 gtk_config_prefix
=""
23504 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23505 if test "${with_gtk_exec_prefix+set}" = set; then
23506 withval
="$with_gtk_exec_prefix"
23507 gtk_config_exec_prefix
="$withval"
23509 gtk_config_exec_prefix
=""
23511 # Check whether --enable-gtktest or --disable-gtktest was given.
23512 if test "${enable_gtktest+set}" = set; then
23513 enableval
="$enable_gtktest"
23519 for module
in .
$GTK_MODULES
23523 gtk_config_args
="$gtk_config_args gthread"
23528 if test x
$gtk_config_exec_prefix != x
; then
23529 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23530 if test x
${GTK_CONFIG+set} != xset
; then
23531 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23534 if test x
$gtk_config_prefix != x
; then
23535 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23536 if test x
${GTK_CONFIG+set} != xset
; then
23537 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23541 # Extract the first word of "gtk-config", so it can be a program name with args.
23542 set dummy gtk
-config; ac_word
=$2
23543 echo "$as_me:$LINENO: checking for $ac_word" >&5
23544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23545 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 case $GTK_CONFIG in
23550 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23554 for as_dir
in $PATH
23557 test -z "$as_dir" && as_dir
=.
23558 for ac_exec_ext
in '' $ac_executable_extensions; do
23559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23560 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23567 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23571 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23573 if test -n "$GTK_CONFIG"; then
23574 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23575 echo "${ECHO_T}$GTK_CONFIG" >&6
23577 echo "$as_me:$LINENO: result: no" >&5
23578 echo "${ECHO_T}no" >&6
23581 min_gtk_version
=1.2.7
23582 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23583 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23585 if test "$GTK_CONFIG" = "no" ; then
23588 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23589 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23590 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23591 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23592 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23594 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23596 if test "x$enable_gtktest" = "xyes" ; then
23597 ac_save_CFLAGS
="$CFLAGS"
23598 ac_save_LIBS
="$LIBS"
23599 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23600 LIBS
="$GTK_LIBS $LIBS"
23602 if test "$cross_compiling" = yes; then
23603 echo $ac_n "cross compiling; assumed OK... $ac_c"
23605 cat >conftest.
$ac_ext <<_ACEOF
23608 cat confdefs.h
>>conftest.
$ac_ext
23609 cat >>conftest.
$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23612 #include <gtk/gtk.h>
23614 #include <stdlib.h>
23619 int major, minor, micro;
23622 system ("touch conf.gtktest");
23624 /* HP/UX 9 (%@#!) writes to sscanf strings */
23625 tmp_version = g_strdup("$min_gtk_version");
23626 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23627 printf("%s, bad version string\n", "$min_gtk_version");
23631 if ((gtk_major_version != $gtk_config_major_version) ||
23632 (gtk_minor_version != $gtk_config_minor_version) ||
23633 (gtk_micro_version != $gtk_config_micro_version))
23635 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23636 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23637 gtk_major_version, gtk_minor_version, gtk_micro_version);
23638 printf ("*** was found! If gtk-config was correct, then it is best\n");
23639 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23640 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23641 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23642 printf("*** required on your system.\n");
23643 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23644 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23645 printf("*** before re-running configure\n");
23647 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23648 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23649 (gtk_minor_version != GTK_MINOR_VERSION) ||
23650 (gtk_micro_version != GTK_MICRO_VERSION))
23652 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23653 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23654 printf("*** library (version %d.%d.%d)\n",
23655 gtk_major_version, gtk_minor_version, gtk_micro_version);
23657 #endif /* defined (GTK_MAJOR_VERSION) ... */
23660 if ((gtk_major_version > major) ||
23661 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23662 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23668 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23669 gtk_major_version, gtk_minor_version, gtk_micro_version);
23670 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23671 major, minor, micro);
23672 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23674 printf("*** If you have already installed a sufficiently new version, this error\n");
23675 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23676 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23677 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23678 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23679 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23680 printf("*** so that the correct libraries are found at run-time))\n");
23687 rm -f conftest
$ac_exeext
23688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23689 (eval $ac_link) 2>&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694 (eval $ac_try) 2>&5
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); }; }; then
23700 echo "$as_me: program exited with status $ac_status" >&5
23701 echo "$as_me: failed program was:" >&5
23702 sed 's/^/| /' conftest.
$ac_ext >&5
23704 ( exit $ac_status )
23707 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23709 CFLAGS
="$ac_save_CFLAGS"
23710 LIBS
="$ac_save_LIBS"
23713 if test "x$no_gtk" = x
; then
23714 echo "$as_me:$LINENO: result: yes" >&5
23715 echo "${ECHO_T}yes" >&6
23716 wx_cv_lib_gtk
=1.2.7
23718 echo "$as_me:$LINENO: result: no" >&5
23719 echo "${ECHO_T}no" >&6
23720 if test "$GTK_CONFIG" = "no" ; then
23721 echo "*** The gtk-config script installed by GTK could not be found"
23722 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23723 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23724 echo "*** full path to gtk-config."
23726 if test -f conf.gtktest
; then
23729 echo "*** Could not run GTK test program, checking why..."
23730 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23731 LIBS
="$LIBS $GTK_LIBS"
23732 cat >conftest.
$ac_ext <<_ACEOF
23735 cat confdefs.h
>>conftest.
$ac_ext
23736 cat >>conftest.
$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23739 #include <gtk/gtk.h>
23745 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23750 rm -f conftest.
$ac_objext conftest
$ac_exeext
23751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23752 (eval $ac_link) 2>conftest.er1
23754 grep -v '^ *+' conftest.er1
>conftest.err
23756 cat conftest.err
>&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); } &&
23759 { ac_try
='test -z "$ac_c_werror_flag"
23760 || test ! -s conftest.err'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; } &&
23766 { ac_try
='test -s conftest$ac_exeext'
23767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23768 (eval $ac_try) 2>&5
23770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23771 (exit $ac_status); }; }; then
23772 echo "*** The test program compiled, but did not run. This usually means"
23773 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23774 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23775 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23776 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23777 echo "*** is required on your system"
23779 echo "*** If you have an old version installed, it is best to remove it, although"
23780 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23782 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23783 echo "*** came with the system with the command"
23785 echo "*** rpm --erase --nodeps gtk gtk-devel"
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.
$ac_ext >&5
23790 echo "*** The test program failed to compile or link. See the file config.log for the"
23791 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23792 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23793 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23795 rm -f conftest.err conftest.
$ac_objext \
23796 conftest
$ac_exeext conftest.
$ac_ext
23797 CFLAGS
="$ac_save_CFLAGS"
23798 LIBS
="$ac_save_LIBS"
23810 if test -z "$wx_cv_lib_gtk"; then
23812 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23813 if test "${with_gtk_prefix+set}" = set; then
23814 withval
="$with_gtk_prefix"
23815 gtk_config_prefix
="$withval"
23817 gtk_config_prefix
=""
23820 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23821 if test "${with_gtk_exec_prefix+set}" = set; then
23822 withval
="$with_gtk_exec_prefix"
23823 gtk_config_exec_prefix
="$withval"
23825 gtk_config_exec_prefix
=""
23827 # Check whether --enable-gtktest or --disable-gtktest was given.
23828 if test "${enable_gtktest+set}" = set; then
23829 enableval
="$enable_gtktest"
23835 for module
in .
$GTK_MODULES
23839 gtk_config_args
="$gtk_config_args gthread"
23844 if test x
$gtk_config_exec_prefix != x
; then
23845 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23846 if test x
${GTK_CONFIG+set} != xset
; then
23847 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23850 if test x
$gtk_config_prefix != x
; then
23851 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23852 if test x
${GTK_CONFIG+set} != xset
; then
23853 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23857 # Extract the first word of "gtk-config", so it can be a program name with args.
23858 set dummy gtk
-config; ac_word
=$2
23859 echo "$as_me:$LINENO: checking for $ac_word" >&5
23860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23861 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23862 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 case $GTK_CONFIG in
23866 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23870 for as_dir
in $PATH
23873 test -z "$as_dir" && as_dir
=.
23874 for ac_exec_ext
in '' $ac_executable_extensions; do
23875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23876 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23883 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23887 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23889 if test -n "$GTK_CONFIG"; then
23890 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23891 echo "${ECHO_T}$GTK_CONFIG" >&6
23893 echo "$as_me:$LINENO: result: no" >&5
23894 echo "${ECHO_T}no" >&6
23897 min_gtk_version
=1.2.3
23898 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23899 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23901 if test "$GTK_CONFIG" = "no" ; then
23904 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23905 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23906 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23907 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23908 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23909 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23910 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23912 if test "x$enable_gtktest" = "xyes" ; then
23913 ac_save_CFLAGS
="$CFLAGS"
23914 ac_save_LIBS
="$LIBS"
23915 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23916 LIBS
="$GTK_LIBS $LIBS"
23918 if test "$cross_compiling" = yes; then
23919 echo $ac_n "cross compiling; assumed OK... $ac_c"
23921 cat >conftest.
$ac_ext <<_ACEOF
23924 cat confdefs.h
>>conftest.
$ac_ext
23925 cat >>conftest.
$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23928 #include <gtk/gtk.h>
23930 #include <stdlib.h>
23935 int major, minor, micro;
23938 system ("touch conf.gtktest");
23940 /* HP/UX 9 (%@#!) writes to sscanf strings */
23941 tmp_version = g_strdup("$min_gtk_version");
23942 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23943 printf("%s, bad version string\n", "$min_gtk_version");
23947 if ((gtk_major_version != $gtk_config_major_version) ||
23948 (gtk_minor_version != $gtk_config_minor_version) ||
23949 (gtk_micro_version != $gtk_config_micro_version))
23951 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23952 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23953 gtk_major_version, gtk_minor_version, gtk_micro_version);
23954 printf ("*** was found! If gtk-config was correct, then it is best\n");
23955 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23956 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23957 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23958 printf("*** required on your system.\n");
23959 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23960 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23961 printf("*** before re-running configure\n");
23963 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23964 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23965 (gtk_minor_version != GTK_MINOR_VERSION) ||
23966 (gtk_micro_version != GTK_MICRO_VERSION))
23968 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23969 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23970 printf("*** library (version %d.%d.%d)\n",
23971 gtk_major_version, gtk_minor_version, gtk_micro_version);
23973 #endif /* defined (GTK_MAJOR_VERSION) ... */
23976 if ((gtk_major_version > major) ||
23977 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23978 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23984 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23985 gtk_major_version, gtk_minor_version, gtk_micro_version);
23986 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23987 major, minor, micro);
23988 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23990 printf("*** If you have already installed a sufficiently new version, this error\n");
23991 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23992 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23993 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23994 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23995 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23996 printf("*** so that the correct libraries are found at run-time))\n");
24003 rm -f conftest
$ac_exeext
24004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24005 (eval $ac_link) 2>&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24016 echo "$as_me: program exited with status $ac_status" >&5
24017 echo "$as_me: failed program was:" >&5
24018 sed 's/^/| /' conftest.
$ac_ext >&5
24020 ( exit $ac_status )
24023 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24025 CFLAGS
="$ac_save_CFLAGS"
24026 LIBS
="$ac_save_LIBS"
24029 if test "x$no_gtk" = x
; then
24030 echo "$as_me:$LINENO: result: yes" >&5
24031 echo "${ECHO_T}yes" >&6
24032 wx_cv_lib_gtk
=1.2.3
24034 echo "$as_me:$LINENO: result: no" >&5
24035 echo "${ECHO_T}no" >&6
24036 if test "$GTK_CONFIG" = "no" ; then
24037 echo "*** The gtk-config script installed by GTK could not be found"
24038 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24039 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24040 echo "*** full path to gtk-config."
24042 if test -f conf.gtktest
; then
24045 echo "*** Could not run GTK test program, checking why..."
24046 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24047 LIBS
="$LIBS $GTK_LIBS"
24048 cat >conftest.
$ac_ext <<_ACEOF
24051 cat confdefs.h
>>conftest.
$ac_ext
24052 cat >>conftest.
$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24055 #include <gtk/gtk.h>
24061 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24066 rm -f conftest.
$ac_objext conftest
$ac_exeext
24067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24068 (eval $ac_link) 2>conftest.er1
24070 grep -v '^ *+' conftest.er1
>conftest.err
24072 cat conftest.err
>&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); } &&
24075 { ac_try
='test -z "$ac_c_werror_flag"
24076 || test ! -s conftest.err'
24077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24078 (eval $ac_try) 2>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); }; } &&
24082 { ac_try
='test -s conftest$ac_exeext'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; }; then
24088 echo "*** The test program compiled, but did not run. This usually means"
24089 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24090 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24091 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24092 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24093 echo "*** is required on your system"
24095 echo "*** If you have an old version installed, it is best to remove it, although"
24096 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24098 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24099 echo "*** came with the system with the command"
24101 echo "*** rpm --erase --nodeps gtk gtk-devel"
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.
$ac_ext >&5
24106 echo "*** The test program failed to compile or link. See the file config.log for the"
24107 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24108 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24109 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24111 rm -f conftest.err conftest.
$ac_objext \
24112 conftest
$ac_exeext conftest.
$ac_ext
24113 CFLAGS
="$ac_save_CFLAGS"
24114 LIBS
="$ac_save_LIBS"
24128 if test -z "$wx_cv_lib_gtk"; then
24131 wx_cv_cflags_gtk
=$GTK_CFLAGS
24132 wx_cv_libs_gtk
=$GTK_LIBS
24139 if test "$gtk_version_cached" = 1; then
24140 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
24141 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
24144 case "$wx_cv_lib_gtk" in
24153 *) { { echo "$as_me:$LINENO: error:
24154 Please check that gtk-config is in path, the directory
24155 where GTK+ libraries are installed (returned by
24156 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24157 equivalent variable and GTK+ is version 1.2.3 or above.
24159 echo "$as_me: error:
24160 Please check that gtk-config is in path, the directory
24161 where GTK+ libraries are installed (returned by
24162 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24163 equivalent variable and GTK+ is version 1.2.3 or above.
24165 { (exit 1); exit 1; }; }
24169 if test "$WXGTK20" = 1; then
24170 save_CFLAGS
="$CFLAGS"
24172 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24173 LIBS
="$LIBS $GTK_LIBS"
24176 for ac_func
in pango_font_family_is_monospace
24178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24179 echo "$as_me:$LINENO: checking for $ac_func" >&5
24180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24181 if eval "test \"\${$as_ac_var+set}\" = set"; then
24182 echo $ECHO_N "(cached) $ECHO_C" >&6
24184 cat >conftest.
$ac_ext <<_ACEOF
24187 cat confdefs.h
>>conftest.
$ac_ext
24188 cat >>conftest.
$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24192 #define $ac_func innocuous_$ac_func
24194 /* System header to define __stub macros and hopefully few prototypes,
24195 which can conflict with char $ac_func (); below.
24196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24197 <limits.h> exists even on freestanding compilers. */
24200 # include <limits.h>
24202 # include <assert.h>
24207 /* Override any gcc2 internal prototype to avoid an error. */
24212 /* We use char because int might match the return type of a gcc2
24213 builtin and then its argument prototype would still apply. */
24215 /* The GNU C library defines this for functions which it implements
24216 to always fail with ENOSYS. Some functions are actually named
24217 something starting with __ and the normal name is an alias. */
24218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24221 char (*f) () = $ac_func;
24230 return f != $ac_func;
24235 rm -f conftest.
$ac_objext conftest
$ac_exeext
24236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24237 (eval $ac_link) 2>conftest.er1
24239 grep -v '^ *+' conftest.er1
>conftest.err
24241 cat conftest.err
>&5
24242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243 (exit $ac_status); } &&
24244 { ac_try
='test -z "$ac_c_werror_flag"
24245 || test ! -s conftest.err'
24246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24247 (eval $ac_try) 2>&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); }; } &&
24251 { ac_try
='test -s conftest$ac_exeext'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; }; then
24257 eval "$as_ac_var=yes"
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.
$ac_ext >&5
24262 eval "$as_ac_var=no"
24264 rm -f conftest.err conftest.
$ac_objext \
24265 conftest
$ac_exeext conftest.
$ac_ext
24267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24269 if test `eval echo '${'$as_ac_var'}'` = yes; then
24270 cat >>confdefs.h
<<_ACEOF
24271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24278 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24279 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24280 cat >conftest.
$ac_ext <<_ACEOF
24283 cat confdefs.h
>>conftest.
$ac_ext
24284 cat >>conftest.
$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24287 #include <gtk/gtk.h>
24293 #if !GTK_CHECK_VERSION(2,4,0)
24294 #error "Not GTK+ 2.4"
24301 rm -f conftest.
$ac_objext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24303 (eval $ac_compile) 2>conftest.er1
24305 grep -v '^ *+' conftest.er1
>conftest.err
24307 cat conftest.err
>&5
24308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24309 (exit $ac_status); } &&
24310 { ac_try
='test -z "$ac_c_werror_flag"
24311 || test ! -s conftest.err'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; } &&
24317 { ac_try
='test -s conftest.$ac_objext'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; }; then
24324 cat >>confdefs.h
<<\_ACEOF
24325 #define __WXGTK24__ 1
24328 echo "$as_me:$LINENO: result: yes" >&5
24329 echo "${ECHO_T}yes" >&6
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.
$ac_ext >&5
24336 echo "$as_me:$LINENO: result: no" >&5
24337 echo "${ECHO_T}no" >&6
24340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24342 CFLAGS
="$save_CFLAGS"
24345 if test "$wxUSE_UNICODE" = "yes"; then
24346 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24347 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24352 if test "$USE_DARWIN" != 1; then
24354 for ac_func
in poll
24356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24357 echo "$as_me:$LINENO: checking for $ac_func" >&5
24358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24359 if eval "test \"\${$as_ac_var+set}\" = set"; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24362 cat >conftest.
$ac_ext <<_ACEOF
24365 cat confdefs.h
>>conftest.
$ac_ext
24366 cat >>conftest.
$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24370 #define $ac_func innocuous_$ac_func
24372 /* System header to define __stub macros and hopefully few prototypes,
24373 which can conflict with char $ac_func (); below.
24374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24375 <limits.h> exists even on freestanding compilers. */
24378 # include <limits.h>
24380 # include <assert.h>
24385 /* Override any gcc2 internal prototype to avoid an error. */
24390 /* We use char because int might match the return type of a gcc2
24391 builtin and then its argument prototype would still apply. */
24393 /* The GNU C library defines this for functions which it implements
24394 to always fail with ENOSYS. Some functions are actually named
24395 something starting with __ and the normal name is an alias. */
24396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24399 char (*f) () = $ac_func;
24408 return f != $ac_func;
24413 rm -f conftest.
$ac_objext conftest
$ac_exeext
24414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24415 (eval $ac_link) 2>conftest.er1
24417 grep -v '^ *+' conftest.er1
>conftest.err
24419 cat conftest.err
>&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } &&
24422 { ac_try
='test -z "$ac_c_werror_flag"
24423 || test ! -s conftest.err'
24424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425 (eval $ac_try) 2>&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; } &&
24429 { ac_try
='test -s conftest$ac_exeext'
24430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24431 (eval $ac_try) 2>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); }; }; then
24435 eval "$as_ac_var=yes"
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.
$ac_ext >&5
24440 eval "$as_ac_var=no"
24442 rm -f conftest.err conftest.
$ac_objext \
24443 conftest
$ac_exeext conftest.
$ac_ext
24445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24447 if test `eval echo '${'$as_ac_var'}'` = yes; then
24448 cat >>confdefs.h
<<_ACEOF
24449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24457 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24458 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24460 AFMINSTALL
=afminstall
24464 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24465 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24466 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 ac_check_lib_save_LIBS
=$LIBS
24471 cat >conftest.
$ac_ext <<_ACEOF
24474 cat confdefs.h
>>conftest.
$ac_ext
24475 cat >>conftest.
$ac_ext <<_ACEOF
24476 /* end confdefs.h. */
24478 /* Override any gcc2 internal prototype to avoid an error. */
24482 /* We use char because int might match the return type of a gcc2
24483 builtin and then its argument prototype would still apply. */
24484 char gdk_im_open ();
24493 rm -f conftest.
$ac_objext conftest
$ac_exeext
24494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24495 (eval $ac_link) 2>conftest.er1
24497 grep -v '^ *+' conftest.er1
>conftest.err
24499 cat conftest.err
>&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } &&
24502 { ac_try
='test -z "$ac_c_werror_flag"
24503 || test ! -s conftest.err'
24504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24505 (eval $ac_try) 2>&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); }; } &&
24509 { ac_try
='test -s conftest$ac_exeext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 ac_cv_lib_gdk_gdk_im_open
=yes
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.
$ac_ext >&5
24520 ac_cv_lib_gdk_gdk_im_open
=no
24522 rm -f conftest.err conftest.
$ac_objext \
24523 conftest
$ac_exeext conftest.
$ac_ext
24524 LIBS
=$ac_check_lib_save_LIBS
24526 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24527 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24528 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24529 cat >>confdefs.h
<<\_ACEOF
24537 if test "$wxUSE_GPE" = "yes"; then
24538 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24539 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24542 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24544 for ac_extension
in a so sl dylib
; do
24545 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24546 ac_find_libraries
=$ac_dir
24552 if test "$ac_find_libraries" != "" ; then
24554 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24556 if test $result = 0; then
24559 ac_path_to_link
=" -L$ac_find_libraries"
24562 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24564 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24565 echo "${ECHO_T}found at $ac_find_libraries" >&6
24567 echo "$as_me:$LINENO: result: not found" >&5
24568 echo "${ECHO_T}not found" >&6
24574 if test "$wxUSE_MGL" = 1; then
24575 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24576 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24577 if test "x$MGL_ROOT" = x
; then
24578 echo "$as_me:$LINENO: result: not found" >&5
24579 echo "${ECHO_T}not found" >&6
24580 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24581 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24582 { (exit 1); exit 1; }; }
24584 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24585 echo "${ECHO_T}$MGL_ROOT" >&6
24588 echo "$as_me:$LINENO: checking for libmgl location" >&5
24589 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24592 if test "x$wxUSE_SHARED" = xyes
; then
24593 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24595 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24599 mgl_os_candidates
="dos32/dj2"
24602 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24603 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24604 { (exit 1); exit 1; }; }
24610 for mgl_os_i
in $mgl_os_candidates ; do
24611 if test "x$mgl_os" = x
; then
24612 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24613 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24614 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24619 if test "x$mgl_lib_type" = x
; then
24620 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24621 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24622 mgl_lib_type
=release
24629 if test "x$mgl_os" = x
; then
24630 echo "$as_me:$LINENO: result: not found" >&5
24631 echo "${ECHO_T}not found" >&6
24632 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24633 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24634 { (exit 1); exit 1; }; }
24636 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24637 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24639 wxUSE_UNIVERSAL
="yes"
24641 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24642 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24644 AFMINSTALL
=afminstall
24649 if test "$wxUSE_MICROWIN" = 1; then
24650 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24651 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24652 if test "x$MICROWINDOWS" = x
; then
24653 echo "$as_me:$LINENO: result: not found" >&5
24654 echo "${ECHO_T}not found" >&6
24655 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24656 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24657 { (exit 1); exit 1; }; }
24659 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24660 echo "${ECHO_T}$MICROWINDOWS" >&6
24663 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24664 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24665 echo "${ECHO_T}MicroWindows' libraries found." >&6
24667 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24668 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24669 { (exit 1); exit 1; }; }
24672 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24673 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24675 wxUSE_UNIVERSAL
="yes"
24677 AFMINSTALL
=afminstall
24679 GUIDIST
=MICROWIN_DIST
24681 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24684 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24685 echo "$as_me:$LINENO: checking for X" >&5
24686 echo $ECHO_N "checking for X... $ECHO_C" >&6
24689 # Check whether --with-x or --without-x was given.
24690 if test "${with_x+set}" = set; then
24694 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24695 if test "x$with_x" = xno
; then
24696 # The user explicitly disabled X.
24699 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24700 # Both variables are already set.
24703 if test "${ac_cv_have_x+set}" = set; then
24704 echo $ECHO_N "(cached) $ECHO_C" >&6
24706 # One or both of the vars are not set, and there is no cached value.
24707 ac_x_includes
=no ac_x_libraries
=no
24708 rm -fr conftest.dir
24709 if mkdir conftest.dir
; then
24711 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24712 cat >Imakefile
<<'_ACEOF'
24714 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24716 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24718 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24720 for ac_extension
in a so sl
; do
24721 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24722 test -f $ac_im_libdir/libX11.
$ac_extension; then
24723 ac_im_usrlibdir
=$ac_im_libdir; break
24726 # Screen out bogus values from the imake configuration. They are
24727 # bogus both because they are the default anyway, and because
24728 # using them would break gcc on systems where it needs fixed includes.
24729 case $ac_im_incroot in
24731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24733 case $ac_im_usrlibdir in
24734 /usr
/lib
| /lib
) ;;
24735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24739 rm -fr conftest.dir
24742 # Standard set of common directories for X headers.
24743 # Check X11 before X11Rn because it is often a symlink to the current release.
24755 /usr/local/X11/include
24756 /usr/local/X11R6/include
24757 /usr/local/X11R5/include
24758 /usr/local/X11R4/include
24760 /usr/local/include/X11
24761 /usr/local/include/X11R6
24762 /usr/local/include/X11R5
24763 /usr/local/include/X11R4
24767 /usr/XFree86/include/X11
24771 /usr/unsupported/include
24772 /usr/athena/include
24773 /usr/local/x11r5/include
24774 /usr/lpp/Xamples/include
24776 /usr/openwin/include
24777 /usr/openwin/share/include'
24779 if test "$ac_x_includes" = no
; then
24780 # Guess where to find include files, by looking for Intrinsic.h.
24781 # First, try using that file with no special directory specified.
24782 cat >conftest.
$ac_ext <<_ACEOF
24785 cat confdefs.h
>>conftest.
$ac_ext
24786 cat >>conftest.
$ac_ext <<_ACEOF
24787 /* end confdefs.h. */
24788 #include <X11/Intrinsic.h>
24790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24793 grep -v '^ *+' conftest.er1
>conftest.err
24795 cat conftest.err
>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } >/dev
/null
; then
24798 if test -s conftest.err
; then
24799 ac_cpp_err
=$ac_c_preproc_warn_flag
24800 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24807 if test -z "$ac_cpp_err"; then
24808 # We can compile using X headers with no special include directory.
24811 echo "$as_me: failed program was:" >&5
24812 sed 's/^/| /' conftest.
$ac_ext >&5
24814 for ac_dir
in $ac_x_header_dirs; do
24815 if test -r "$ac_dir/X11/Intrinsic.h"; then
24816 ac_x_includes
=$ac_dir
24821 rm -f conftest.err conftest.
$ac_ext
24822 fi # $ac_x_includes = no
24824 if test "$ac_x_libraries" = no
; then
24825 # Check for the libraries.
24826 # See if we find them without any special options.
24827 # Don't add to $LIBS permanently.
24830 cat >conftest.
$ac_ext <<_ACEOF
24833 cat confdefs.h
>>conftest.
$ac_ext
24834 cat >>conftest.
$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 #include <X11/Intrinsic.h>
24845 rm -f conftest.
$ac_objext conftest
$ac_exeext
24846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24847 (eval $ac_link) 2>conftest.er1
24849 grep -v '^ *+' conftest.er1
>conftest.err
24851 cat conftest.err
>&5
24852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); } &&
24854 { ac_try
='test -z "$ac_c_werror_flag"
24855 || test ! -s conftest.err'
24856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857 (eval $ac_try) 2>&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); }; } &&
24861 { ac_try
='test -s conftest$ac_exeext'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; }; then
24868 # We can link X programs with no special library path.
24871 echo "$as_me: failed program was:" >&5
24872 sed 's/^/| /' conftest.
$ac_ext >&5
24875 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24877 # Don't even attempt the hair of trying to link an X program!
24878 for ac_extension
in a so sl
; do
24879 if test -r $ac_dir/libXt.
$ac_extension; then
24880 ac_x_libraries
=$ac_dir
24886 rm -f conftest.err conftest.
$ac_objext \
24887 conftest
$ac_exeext conftest.
$ac_ext
24888 fi # $ac_x_libraries = no
24890 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24891 # Didn't find X anywhere. Cache the known absence of X.
24892 ac_cv_have_x
="have_x=no"
24894 # Record where we found X for the cache.
24895 ac_cv_have_x
="have_x=yes \
24896 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24901 eval "$ac_cv_have_x"
24904 if test "$have_x" != yes; then
24905 echo "$as_me:$LINENO: result: $have_x" >&5
24906 echo "${ECHO_T}$have_x" >&6
24909 # If each of the values was on the command line, it overrides each guess.
24910 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24911 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24912 # Update the cache value to reflect the command line values.
24913 ac_cv_have_x
="have_x=yes \
24914 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24915 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24919 if test "$no_x" = yes; then
24920 # Not all programs may use this symbol, but it does not hurt to define it.
24922 cat >>confdefs.h
<<\_ACEOF
24923 #define X_DISPLAY_MISSING 1
24926 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24928 if test -n "$x_includes"; then
24929 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24932 # It would also be nice to do this for all -L options, not just this one.
24933 if test -n "$x_libraries"; then
24934 X_LIBS
="$X_LIBS -L$x_libraries"
24935 # For Solaris; some versions of Sun CC require a space after -R and
24936 # others require no space. Words are not sufficient . . . .
24937 case `(uname -sr) 2>/dev/null` in
24939 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24940 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24941 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24942 cat >conftest.
$ac_ext <<_ACEOF
24945 cat confdefs.h
>>conftest.
$ac_ext
24946 cat >>conftest.
$ac_ext <<_ACEOF
24947 /* end confdefs.h. */
24957 rm -f conftest.
$ac_objext conftest
$ac_exeext
24958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24959 (eval $ac_link) 2>conftest.er1
24961 grep -v '^ *+' conftest.er1
>conftest.err
24963 cat conftest.err
>&5
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); } &&
24966 { ac_try
='test -z "$ac_c_werror_flag"
24967 || test ! -s conftest.err'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; } &&
24973 { ac_try
='test -s conftest$ac_exeext'
24974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24975 (eval $ac_try) 2>&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); }; }; then
24981 echo "$as_me: failed program was:" >&5
24982 sed 's/^/| /' conftest.
$ac_ext >&5
24986 rm -f conftest.err conftest.
$ac_objext \
24987 conftest
$ac_exeext conftest.
$ac_ext
24988 if test $ac_R_nospace = yes; then
24989 echo "$as_me:$LINENO: result: no" >&5
24990 echo "${ECHO_T}no" >&6
24991 X_LIBS
="$X_LIBS -R$x_libraries"
24993 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24994 cat >conftest.
$ac_ext <<_ACEOF
24997 cat confdefs.h
>>conftest.
$ac_ext
24998 cat >>conftest.
$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25009 rm -f conftest.
$ac_objext conftest
$ac_exeext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25011 (eval $ac_link) 2>conftest.er1
25013 grep -v '^ *+' conftest.er1
>conftest.err
25015 cat conftest.err
>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } &&
25018 { ac_try
='test -z "$ac_c_werror_flag"
25019 || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try
='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.
$ac_ext >&5
25038 rm -f conftest.err conftest.
$ac_objext \
25039 conftest
$ac_exeext conftest.
$ac_ext
25040 if test $ac_R_space = yes; then
25041 echo "$as_me:$LINENO: result: yes" >&5
25042 echo "${ECHO_T}yes" >&6
25043 X_LIBS
="$X_LIBS -R $x_libraries"
25045 echo "$as_me:$LINENO: result: neither works" >&5
25046 echo "${ECHO_T}neither works" >&6
25049 LIBS
=$ac_xsave_LIBS
25053 # Check for system-dependent libraries X programs must link with.
25054 # Do this before checking for the system-independent R6 libraries
25055 # (-lICE), since we may need -lsocket or whatever for X linking.
25057 if test "$ISC" = yes; then
25058 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25060 # Martyn Johnson says this is needed for Ultrix, if the X
25061 # libraries were built with DECnet support. And Karl Berry says
25062 # the Alpha needs dnet_stub (dnet does not exist).
25063 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25064 cat >conftest.
$ac_ext <<_ACEOF
25067 cat confdefs.h
>>conftest.
$ac_ext
25068 cat >>conftest.
$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25071 /* Override any gcc2 internal prototype to avoid an error. */
25075 /* We use char because int might match the return type of a gcc2
25076 builtin and then its argument prototype would still apply. */
25077 char XOpenDisplay ();
25086 rm -f conftest.
$ac_objext conftest
$ac_exeext
25087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25088 (eval $ac_link) 2>conftest.er1
25090 grep -v '^ *+' conftest.er1
>conftest.err
25092 cat conftest.err
>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); } &&
25095 { ac_try
='test -z "$ac_c_werror_flag"
25096 || test ! -s conftest.err'
25097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25098 (eval $ac_try) 2>&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; } &&
25102 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
25110 echo "$as_me: failed program was:" >&5
25111 sed 's/^/| /' conftest.
$ac_ext >&5
25113 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25118 ac_check_lib_save_LIBS
=$LIBS
25119 LIBS
="-ldnet $LIBS"
25120 cat >conftest.
$ac_ext <<_ACEOF
25123 cat confdefs.h
>>conftest.
$ac_ext
25124 cat >>conftest.
$ac_ext <<_ACEOF
25125 /* end confdefs.h. */
25127 /* Override any gcc2 internal prototype to avoid an error. */
25131 /* We use char because int might match the return type of a gcc2
25132 builtin and then its argument prototype would still apply. */
25142 rm -f conftest.
$ac_objext conftest
$ac_exeext
25143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25144 (eval $ac_link) 2>conftest.er1
25146 grep -v '^ *+' conftest.er1
>conftest.err
25148 cat conftest.err
>&5
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); } &&
25151 { ac_try
='test -z "$ac_c_werror_flag"
25152 || test ! -s conftest.err'
25153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154 (eval $ac_try) 2>&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); }; } &&
25158 { ac_try
='test -s conftest$ac_exeext'
25159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160 (eval $ac_try) 2>&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); }; }; then
25164 ac_cv_lib_dnet_dnet_ntoa
=yes
25166 echo "$as_me: failed program was:" >&5
25167 sed 's/^/| /' conftest.
$ac_ext >&5
25169 ac_cv_lib_dnet_dnet_ntoa
=no
25171 rm -f conftest.err conftest.
$ac_objext \
25172 conftest
$ac_exeext conftest.
$ac_ext
25173 LIBS
=$ac_check_lib_save_LIBS
25175 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25176 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25177 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25181 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25182 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25183 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25184 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 ac_check_lib_save_LIBS
=$LIBS
25188 LIBS
="-ldnet_stub $LIBS"
25189 cat >conftest.
$ac_ext <<_ACEOF
25192 cat confdefs.h
>>conftest.
$ac_ext
25193 cat >>conftest.
$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25196 /* Override any gcc2 internal prototype to avoid an error. */
25200 /* We use char because int might match the return type of a gcc2
25201 builtin and then its argument prototype would still apply. */
25211 rm -f conftest.
$ac_objext conftest
$ac_exeext
25212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25213 (eval $ac_link) 2>conftest.er1
25215 grep -v '^ *+' conftest.er1
>conftest.err
25217 cat conftest.err
>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } &&
25220 { ac_try
='test -z "$ac_c_werror_flag"
25221 || test ! -s conftest.err'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; } &&
25227 { ac_try
='test -s conftest$ac_exeext'
25228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25229 (eval $ac_try) 2>&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); }; }; then
25233 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25235 echo "$as_me: failed program was:" >&5
25236 sed 's/^/| /' conftest.
$ac_ext >&5
25238 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25240 rm -f conftest.err conftest.
$ac_objext \
25241 conftest
$ac_exeext conftest.
$ac_ext
25242 LIBS
=$ac_check_lib_save_LIBS
25244 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25245 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25246 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25247 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25252 rm -f conftest.err conftest.
$ac_objext \
25253 conftest
$ac_exeext conftest.
$ac_ext
25254 LIBS
="$ac_xsave_LIBS"
25256 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25257 # to get the SysV transport functions.
25258 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25260 # The nsl library prevents programs from opening the X display
25261 # on Irix 5.2, according to T.E. Dickey.
25262 # The functions gethostbyname, getservbyname, and inet_addr are
25263 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25264 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25265 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25266 if test "${ac_cv_func_gethostbyname+set}" = set; then
25267 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 cat >conftest.
$ac_ext <<_ACEOF
25272 cat confdefs.h
>>conftest.
$ac_ext
25273 cat >>conftest.
$ac_ext <<_ACEOF
25274 /* end confdefs.h. */
25275 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25277 #define gethostbyname innocuous_gethostbyname
25279 /* System header to define __stub macros and hopefully few prototypes,
25280 which can conflict with char gethostbyname (); below.
25281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25282 <limits.h> exists even on freestanding compilers. */
25285 # include <limits.h>
25287 # include <assert.h>
25290 #undef gethostbyname
25292 /* Override any gcc2 internal prototype to avoid an error. */
25297 /* We use char because int might match the return type of a gcc2
25298 builtin and then its argument prototype would still apply. */
25299 char gethostbyname ();
25300 /* The GNU C library defines this for functions which it implements
25301 to always fail with ENOSYS. Some functions are actually named
25302 something starting with __ and the normal name is an alias. */
25303 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25306 char (*f) () = gethostbyname;
25315 return f != gethostbyname;
25320 rm -f conftest.
$ac_objext conftest
$ac_exeext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25322 (eval $ac_link) 2>conftest.er1
25324 grep -v '^ *+' conftest.er1
>conftest.err
25326 cat conftest.err
>&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } &&
25329 { ac_try
='test -z "$ac_c_werror_flag"
25330 || test ! -s conftest.err'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; } &&
25336 { ac_try
='test -s conftest$ac_exeext'
25337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338 (eval $ac_try) 2>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; }; then
25342 ac_cv_func_gethostbyname
=yes
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.
$ac_ext >&5
25347 ac_cv_func_gethostbyname
=no
25349 rm -f conftest.err conftest.
$ac_objext \
25350 conftest
$ac_exeext conftest.
$ac_ext
25352 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25353 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25355 if test $ac_cv_func_gethostbyname = no
; then
25356 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25357 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25358 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25359 echo $ECHO_N "(cached) $ECHO_C" >&6
25361 ac_check_lib_save_LIBS
=$LIBS
25363 cat >conftest.
$ac_ext <<_ACEOF
25366 cat confdefs.h
>>conftest.
$ac_ext
25367 cat >>conftest.
$ac_ext <<_ACEOF
25368 /* end confdefs.h. */
25370 /* Override any gcc2 internal prototype to avoid an error. */
25374 /* We use char because int might match the return type of a gcc2
25375 builtin and then its argument prototype would still apply. */
25376 char gethostbyname ();
25385 rm -f conftest.
$ac_objext conftest
$ac_exeext
25386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25387 (eval $ac_link) 2>conftest.er1
25389 grep -v '^ *+' conftest.er1
>conftest.err
25391 cat conftest.err
>&5
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); } &&
25394 { ac_try
='test -z "$ac_c_werror_flag"
25395 || test ! -s conftest.err'
25396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25397 (eval $ac_try) 2>&5
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); }; } &&
25401 { ac_try
='test -s conftest$ac_exeext'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; }; then
25407 ac_cv_lib_nsl_gethostbyname
=yes
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.
$ac_ext >&5
25412 ac_cv_lib_nsl_gethostbyname
=no
25414 rm -f conftest.err conftest.
$ac_objext \
25415 conftest
$ac_exeext conftest.
$ac_ext
25416 LIBS
=$ac_check_lib_save_LIBS
25418 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25419 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25420 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25421 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25424 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25425 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25426 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25427 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25428 echo $ECHO_N "(cached) $ECHO_C" >&6
25430 ac_check_lib_save_LIBS
=$LIBS
25432 cat >conftest.
$ac_ext <<_ACEOF
25435 cat confdefs.h
>>conftest.
$ac_ext
25436 cat >>conftest.
$ac_ext <<_ACEOF
25437 /* end confdefs.h. */
25439 /* Override any gcc2 internal prototype to avoid an error. */
25443 /* We use char because int might match the return type of a gcc2
25444 builtin and then its argument prototype would still apply. */
25445 char gethostbyname ();
25454 rm -f conftest.
$ac_objext conftest
$ac_exeext
25455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25456 (eval $ac_link) 2>conftest.er1
25458 grep -v '^ *+' conftest.er1
>conftest.err
25460 cat conftest.err
>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } &&
25463 { ac_try
='test -z "$ac_c_werror_flag"
25464 || test ! -s conftest.err'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; } &&
25470 { ac_try
='test -s conftest$ac_exeext'
25471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25472 (eval $ac_try) 2>&5
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); }; }; then
25476 ac_cv_lib_bsd_gethostbyname
=yes
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.
$ac_ext >&5
25481 ac_cv_lib_bsd_gethostbyname
=no
25483 rm -f conftest.err conftest.
$ac_objext \
25484 conftest
$ac_exeext conftest.
$ac_ext
25485 LIBS
=$ac_check_lib_save_LIBS
25487 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25488 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25489 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25490 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25496 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25497 # socket/setsockopt and other routines are undefined under SCO ODT
25498 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25499 # on later versions), says Simon Leinen: it contains gethostby*
25500 # variants that don't use the name server (or something). -lsocket
25501 # must be given before -lnsl if both are needed. We assume that
25502 # if connect needs -lnsl, so does gethostbyname.
25503 echo "$as_me:$LINENO: checking for connect" >&5
25504 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25505 if test "${ac_cv_func_connect+set}" = set; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 cat >conftest.
$ac_ext <<_ACEOF
25511 cat confdefs.h
>>conftest.
$ac_ext
25512 cat >>conftest.
$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25514 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25516 #define connect innocuous_connect
25518 /* System header to define __stub macros and hopefully few prototypes,
25519 which can conflict with char connect (); below.
25520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25521 <limits.h> exists even on freestanding compilers. */
25524 # include <limits.h>
25526 # include <assert.h>
25531 /* Override any gcc2 internal prototype to avoid an error. */
25536 /* We use char because int might match the return type of a gcc2
25537 builtin and then its argument prototype would still apply. */
25539 /* The GNU C library defines this for functions which it implements
25540 to always fail with ENOSYS. Some functions are actually named
25541 something starting with __ and the normal name is an alias. */
25542 #if defined (__stub_connect) || defined (__stub___connect)
25545 char (*f) () = connect;
25554 return f != connect;
25559 rm -f conftest.
$ac_objext conftest
$ac_exeext
25560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25561 (eval $ac_link) 2>conftest.er1
25563 grep -v '^ *+' conftest.er1
>conftest.err
25565 cat conftest.err
>&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } &&
25568 { ac_try
='test -z "$ac_c_werror_flag"
25569 || test ! -s conftest.err'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; } &&
25575 { ac_try
='test -s conftest$ac_exeext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25581 ac_cv_func_connect
=yes
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.
$ac_ext >&5
25586 ac_cv_func_connect
=no
25588 rm -f conftest.err conftest.
$ac_objext \
25589 conftest
$ac_exeext conftest.
$ac_ext
25591 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25592 echo "${ECHO_T}$ac_cv_func_connect" >&6
25594 if test $ac_cv_func_connect = no
; then
25595 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25596 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25597 if test "${ac_cv_lib_socket_connect+set}" = set; then
25598 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 ac_check_lib_save_LIBS
=$LIBS
25601 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25602 cat >conftest.
$ac_ext <<_ACEOF
25605 cat confdefs.h
>>conftest.
$ac_ext
25606 cat >>conftest.
$ac_ext <<_ACEOF
25607 /* end confdefs.h. */
25609 /* Override any gcc2 internal prototype to avoid an error. */
25613 /* We use char because int might match the return type of a gcc2
25614 builtin and then its argument prototype would still apply. */
25624 rm -f conftest.
$ac_objext conftest
$ac_exeext
25625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25626 (eval $ac_link) 2>conftest.er1
25628 grep -v '^ *+' conftest.er1
>conftest.err
25630 cat conftest.err
>&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } &&
25633 { ac_try
='test -z "$ac_c_werror_flag"
25634 || test ! -s conftest.err'
25635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25636 (eval $ac_try) 2>&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); }; } &&
25640 { ac_try
='test -s conftest$ac_exeext'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; }; then
25646 ac_cv_lib_socket_connect
=yes
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.
$ac_ext >&5
25651 ac_cv_lib_socket_connect
=no
25653 rm -f conftest.err conftest.
$ac_objext \
25654 conftest
$ac_exeext conftest.
$ac_ext
25655 LIBS
=$ac_check_lib_save_LIBS
25657 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25658 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25659 if test $ac_cv_lib_socket_connect = yes; then
25660 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25665 # Guillermo Gomez says -lposix is necessary on A/UX.
25666 echo "$as_me:$LINENO: checking for remove" >&5
25667 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25668 if test "${ac_cv_func_remove+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 cat >conftest.
$ac_ext <<_ACEOF
25674 cat confdefs.h
>>conftest.
$ac_ext
25675 cat >>conftest.
$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25679 #define remove innocuous_remove
25681 /* System header to define __stub macros and hopefully few prototypes,
25682 which can conflict with char remove (); below.
25683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25684 <limits.h> exists even on freestanding compilers. */
25687 # include <limits.h>
25689 # include <assert.h>
25694 /* Override any gcc2 internal prototype to avoid an error. */
25699 /* We use char because int might match the return type of a gcc2
25700 builtin and then its argument prototype would still apply. */
25702 /* The GNU C library defines this for functions which it implements
25703 to always fail with ENOSYS. Some functions are actually named
25704 something starting with __ and the normal name is an alias. */
25705 #if defined (__stub_remove) || defined (__stub___remove)
25708 char (*f) () = remove;
25717 return f != remove;
25722 rm -f conftest.
$ac_objext conftest
$ac_exeext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25724 (eval $ac_link) 2>conftest.er1
25726 grep -v '^ *+' conftest.er1
>conftest.err
25728 cat conftest.err
>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } &&
25731 { ac_try
='test -z "$ac_c_werror_flag"
25732 || test ! -s conftest.err'
25733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734 (eval $ac_try) 2>&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); }; } &&
25738 { ac_try
='test -s conftest$ac_exeext'
25739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25740 (eval $ac_try) 2>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); }; }; then
25744 ac_cv_func_remove
=yes
25746 echo "$as_me: failed program was:" >&5
25747 sed 's/^/| /' conftest.
$ac_ext >&5
25749 ac_cv_func_remove
=no
25751 rm -f conftest.err conftest.
$ac_objext \
25752 conftest
$ac_exeext conftest.
$ac_ext
25754 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25755 echo "${ECHO_T}$ac_cv_func_remove" >&6
25757 if test $ac_cv_func_remove = no
; then
25758 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25759 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25760 if test "${ac_cv_lib_posix_remove+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 ac_check_lib_save_LIBS
=$LIBS
25764 LIBS
="-lposix $LIBS"
25765 cat >conftest.
$ac_ext <<_ACEOF
25768 cat confdefs.h
>>conftest.
$ac_ext
25769 cat >>conftest.
$ac_ext <<_ACEOF
25770 /* end confdefs.h. */
25772 /* Override any gcc2 internal prototype to avoid an error. */
25776 /* We use char because int might match the return type of a gcc2
25777 builtin and then its argument prototype would still apply. */
25787 rm -f conftest.
$ac_objext conftest
$ac_exeext
25788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25789 (eval $ac_link) 2>conftest.er1
25791 grep -v '^ *+' conftest.er1
>conftest.err
25793 cat conftest.err
>&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } &&
25796 { ac_try
='test -z "$ac_c_werror_flag"
25797 || test ! -s conftest.err'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; } &&
25803 { ac_try
='test -s conftest$ac_exeext'
25804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805 (eval $ac_try) 2>&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; }; then
25809 ac_cv_lib_posix_remove
=yes
25811 echo "$as_me: failed program was:" >&5
25812 sed 's/^/| /' conftest.
$ac_ext >&5
25814 ac_cv_lib_posix_remove
=no
25816 rm -f conftest.err conftest.
$ac_objext \
25817 conftest
$ac_exeext conftest.
$ac_ext
25818 LIBS
=$ac_check_lib_save_LIBS
25820 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25821 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25822 if test $ac_cv_lib_posix_remove = yes; then
25823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25828 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25829 echo "$as_me:$LINENO: checking for shmat" >&5
25830 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25831 if test "${ac_cv_func_shmat+set}" = set; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25834 cat >conftest.
$ac_ext <<_ACEOF
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25842 #define shmat innocuous_shmat
25844 /* System header to define __stub macros and hopefully few prototypes,
25845 which can conflict with char shmat (); below.
25846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25847 <limits.h> exists even on freestanding compilers. */
25850 # include <limits.h>
25852 # include <assert.h>
25857 /* Override any gcc2 internal prototype to avoid an error. */
25862 /* We use char because int might match the return type of a gcc2
25863 builtin and then its argument prototype would still apply. */
25865 /* The GNU C library defines this for functions which it implements
25866 to always fail with ENOSYS. Some functions are actually named
25867 something starting with __ and the normal name is an alias. */
25868 #if defined (__stub_shmat) || defined (__stub___shmat)
25871 char (*f) () = shmat;
25885 rm -f conftest.
$ac_objext conftest
$ac_exeext
25886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25887 (eval $ac_link) 2>conftest.er1
25889 grep -v '^ *+' conftest.er1
>conftest.err
25891 cat conftest.err
>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } &&
25894 { ac_try
='test -z "$ac_c_werror_flag"
25895 || test ! -s conftest.err'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; } &&
25901 { ac_try
='test -s conftest$ac_exeext'
25902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25903 (eval $ac_try) 2>&5
25905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906 (exit $ac_status); }; }; then
25907 ac_cv_func_shmat
=yes
25909 echo "$as_me: failed program was:" >&5
25910 sed 's/^/| /' conftest.
$ac_ext >&5
25912 ac_cv_func_shmat
=no
25914 rm -f conftest.err conftest.
$ac_objext \
25915 conftest
$ac_exeext conftest.
$ac_ext
25917 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25918 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25920 if test $ac_cv_func_shmat = no
; then
25921 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25922 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25923 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 ac_check_lib_save_LIBS
=$LIBS
25928 cat >conftest.
$ac_ext <<_ACEOF
25931 cat confdefs.h
>>conftest.
$ac_ext
25932 cat >>conftest.
$ac_ext <<_ACEOF
25933 /* end confdefs.h. */
25935 /* Override any gcc2 internal prototype to avoid an error. */
25939 /* We use char because int might match the return type of a gcc2
25940 builtin and then its argument prototype would still apply. */
25950 rm -f conftest.
$ac_objext conftest
$ac_exeext
25951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25952 (eval $ac_link) 2>conftest.er1
25954 grep -v '^ *+' conftest.er1
>conftest.err
25956 cat conftest.err
>&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } &&
25959 { ac_try
='test -z "$ac_c_werror_flag"
25960 || test ! -s conftest.err'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; } &&
25966 { ac_try
='test -s conftest$ac_exeext'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; }; then
25972 ac_cv_lib_ipc_shmat
=yes
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.
$ac_ext >&5
25977 ac_cv_lib_ipc_shmat
=no
25979 rm -f conftest.err conftest.
$ac_objext \
25980 conftest
$ac_exeext conftest.
$ac_ext
25981 LIBS
=$ac_check_lib_save_LIBS
25983 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25984 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25985 if test $ac_cv_lib_ipc_shmat = yes; then
25986 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25992 # Check for libraries that X11R6 Xt/Xaw programs need.
25993 ac_save_LDFLAGS
=$LDFLAGS
25994 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25995 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25996 # check for ICE first), but we must link in the order -lSM -lICE or
25997 # we get undefined symbols. So assume we have SM if we have ICE.
25998 # These have to be linked with before -lX11, unlike the other
25999 # libraries we check for below, so use a different variable.
26000 # John Interrante, Karl Berry
26001 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26002 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26003 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26004 echo $ECHO_N "(cached) $ECHO_C" >&6
26006 ac_check_lib_save_LIBS
=$LIBS
26007 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26008 cat >conftest.
$ac_ext <<_ACEOF
26011 cat confdefs.h
>>conftest.
$ac_ext
26012 cat >>conftest.
$ac_ext <<_ACEOF
26013 /* end confdefs.h. */
26015 /* Override any gcc2 internal prototype to avoid an error. */
26019 /* We use char because int might match the return type of a gcc2
26020 builtin and then its argument prototype would still apply. */
26021 char IceConnectionNumber ();
26025 IceConnectionNumber ();
26030 rm -f conftest.
$ac_objext conftest
$ac_exeext
26031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26032 (eval $ac_link) 2>conftest.er1
26034 grep -v '^ *+' conftest.er1
>conftest.err
26036 cat conftest.err
>&5
26037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 (exit $ac_status); } &&
26039 { ac_try
='test -z "$ac_c_werror_flag"
26040 || test ! -s conftest.err'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; } &&
26046 { ac_try
='test -s conftest$ac_exeext'
26047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26048 (eval $ac_try) 2>&5
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); }; }; then
26052 ac_cv_lib_ICE_IceConnectionNumber
=yes
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.
$ac_ext >&5
26057 ac_cv_lib_ICE_IceConnectionNumber
=no
26059 rm -f conftest.err conftest.
$ac_objext \
26060 conftest
$ac_exeext conftest.
$ac_ext
26061 LIBS
=$ac_check_lib_save_LIBS
26063 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26064 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26065 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26066 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26069 LDFLAGS
=$ac_save_LDFLAGS
26074 if test "$no_x" = "yes"; then
26075 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26076 echo "$as_me: error: X11 not found" >&2;}
26077 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26080 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26081 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26082 AFMINSTALL
=afminstall
26083 COMPILED_X_PROGRAM
=0
26087 if test "$wxUSE_X11" = 1; then
26088 if test "$wxUSE_NANOX" = "yes"; then
26089 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26090 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26091 if test "x$MICROWIN" = x
; then
26092 echo "$as_me:$LINENO: result: not found" >&5
26093 echo "${ECHO_T}not found" >&6
26094 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26095 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26096 { (exit 1); exit 1; }; }
26098 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26099 echo "${ECHO_T}$MICROWIN" >&6
26100 cat >>confdefs.h
<<\_ACEOF
26101 #define wxUSE_NANOX 1
26107 if test "$wxUSE_UNICODE" = "yes"; then
26111 if test -z "$PKG_CONFIG"; then
26112 # Extract the first word of "pkg-config", so it can be a program name with args.
26113 set dummy pkg
-config; ac_word
=$2
26114 echo "$as_me:$LINENO: checking for $ac_word" >&5
26115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26116 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26117 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 case $PKG_CONFIG in
26121 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26125 for as_dir
in $PATH
26128 test -z "$as_dir" && as_dir
=.
26129 for ac_exec_ext
in '' $ac_executable_extensions; do
26130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26131 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26138 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26142 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26144 if test -n "$PKG_CONFIG"; then
26145 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26146 echo "${ECHO_T}$PKG_CONFIG" >&6
26148 echo "$as_me:$LINENO: result: no" >&5
26149 echo "${ECHO_T}no" >&6
26154 if test "$PKG_CONFIG" = "no" ; then
26155 echo "*** The pkg-config script could not be found. Make sure it is"
26156 echo "*** in your path, or set the PKG_CONFIG environment variable"
26157 echo "*** to the full path to pkg-config."
26158 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26160 PKG_CONFIG_MIN_VERSION
=0.9.0
26161 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26162 echo "$as_me:$LINENO: checking for pangox" >&5
26163 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
26165 if $PKG_CONFIG --exists "pangox" ; then
26166 echo "$as_me:$LINENO: result: yes" >&5
26167 echo "${ECHO_T}yes" >&6
26170 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
26171 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
26172 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
26173 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
26174 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
26176 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
26177 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
26178 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
26179 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
26180 echo "${ECHO_T}$PANGOX_LIBS" >&6
26184 ## If we have a custom action on failure, don't print errors, but
26185 ## do set a variable so people can do so.
26186 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
26193 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26194 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26198 if test $succeeded = yes; then
26200 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
26201 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
26205 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26206 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26207 { (exit 1); exit 1; }; }
26215 if test -z "$PKG_CONFIG"; then
26216 # Extract the first word of "pkg-config", so it can be a program name with args.
26217 set dummy pkg
-config; ac_word
=$2
26218 echo "$as_me:$LINENO: checking for $ac_word" >&5
26219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26220 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26223 case $PKG_CONFIG in
26225 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26229 for as_dir
in $PATH
26232 test -z "$as_dir" && as_dir
=.
26233 for ac_exec_ext
in '' $ac_executable_extensions; do
26234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26235 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26242 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26246 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26248 if test -n "$PKG_CONFIG"; then
26249 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26250 echo "${ECHO_T}$PKG_CONFIG" >&6
26252 echo "$as_me:$LINENO: result: no" >&5
26253 echo "${ECHO_T}no" >&6
26258 if test "$PKG_CONFIG" = "no" ; then
26259 echo "*** The pkg-config script could not be found. Make sure it is"
26260 echo "*** in your path, or set the PKG_CONFIG environment variable"
26261 echo "*** to the full path to pkg-config."
26262 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26264 PKG_CONFIG_MIN_VERSION
=0.9.0
26265 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26266 echo "$as_me:$LINENO: checking for pangoft2" >&5
26267 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26269 if $PKG_CONFIG --exists "pangoft2" ; then
26270 echo "$as_me:$LINENO: result: yes" >&5
26271 echo "${ECHO_T}yes" >&6
26274 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26275 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26276 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
26277 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26278 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26280 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26281 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26282 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
26283 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26284 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26288 ## If we have a custom action on failure, don't print errors, but
26289 ## do set a variable so people can do so.
26290 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26297 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26298 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26302 if test $succeeded = yes; then
26304 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
26305 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26309 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26310 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26311 wxUSE_PRINTING_ARCHITECTURE
="no"
26319 if test -z "$PKG_CONFIG"; then
26320 # Extract the first word of "pkg-config", so it can be a program name with args.
26321 set dummy pkg
-config; ac_word
=$2
26322 echo "$as_me:$LINENO: checking for $ac_word" >&5
26323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26324 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26325 echo $ECHO_N "(cached) $ECHO_C" >&6
26327 case $PKG_CONFIG in
26329 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26333 for as_dir
in $PATH
26336 test -z "$as_dir" && as_dir
=.
26337 for ac_exec_ext
in '' $ac_executable_extensions; do
26338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26339 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26346 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26350 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26352 if test -n "$PKG_CONFIG"; then
26353 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26354 echo "${ECHO_T}$PKG_CONFIG" >&6
26356 echo "$as_me:$LINENO: result: no" >&5
26357 echo "${ECHO_T}no" >&6
26362 if test "$PKG_CONFIG" = "no" ; then
26363 echo "*** The pkg-config script could not be found. Make sure it is"
26364 echo "*** in your path, or set the PKG_CONFIG environment variable"
26365 echo "*** to the full path to pkg-config."
26366 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26368 PKG_CONFIG_MIN_VERSION
=0.9.0
26369 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26370 echo "$as_me:$LINENO: checking for pangoxft" >&5
26371 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26373 if $PKG_CONFIG --exists "pangoxft" ; then
26374 echo "$as_me:$LINENO: result: yes" >&5
26375 echo "${ECHO_T}yes" >&6
26378 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26379 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26380 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
26381 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26382 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26384 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26385 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26386 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
26387 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26388 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26392 ## If we have a custom action on failure, don't print errors, but
26393 ## do set a variable so people can do so.
26394 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26401 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26402 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26406 if test $succeeded = yes; then
26408 cat >>confdefs.h
<<\_ACEOF
26409 #define HAVE_PANGO_XFT 1
26412 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26413 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26417 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26418 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26423 save_CFLAGS
="$CFLAGS"
26425 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26426 LIBS
="$LIBS $PANGOX_LIBS"
26428 for ac_func
in pango_font_family_is_monospace
26430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26431 echo "$as_me:$LINENO: checking for $ac_func" >&5
26432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26433 if eval "test \"\${$as_ac_var+set}\" = set"; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26436 cat >conftest.
$ac_ext <<_ACEOF
26439 cat confdefs.h
>>conftest.
$ac_ext
26440 cat >>conftest.
$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26444 #define $ac_func innocuous_$ac_func
26446 /* System header to define __stub macros and hopefully few prototypes,
26447 which can conflict with char $ac_func (); below.
26448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26449 <limits.h> exists even on freestanding compilers. */
26452 # include <limits.h>
26454 # include <assert.h>
26459 /* Override any gcc2 internal prototype to avoid an error. */
26464 /* We use char because int might match the return type of a gcc2
26465 builtin and then its argument prototype would still apply. */
26467 /* The GNU C library defines this for functions which it implements
26468 to always fail with ENOSYS. Some functions are actually named
26469 something starting with __ and the normal name is an alias. */
26470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26473 char (*f) () = $ac_func;
26482 return f != $ac_func;
26487 rm -f conftest.
$ac_objext conftest
$ac_exeext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26489 (eval $ac_link) 2>conftest.er1
26491 grep -v '^ *+' conftest.er1
>conftest.err
26493 cat conftest.err
>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try
='test -z "$ac_c_werror_flag"
26497 || test ! -s conftest.err'
26498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26499 (eval $ac_try) 2>&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); }; } &&
26503 { ac_try
='test -s conftest$ac_exeext'
26504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505 (eval $ac_try) 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); }; }; then
26509 eval "$as_ac_var=yes"
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.
$ac_ext >&5
26514 eval "$as_ac_var=no"
26516 rm -f conftest.err conftest.
$ac_objext \
26517 conftest
$ac_exeext conftest.
$ac_ext
26519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26521 if test `eval echo '${'$as_ac_var'}'` = yes; then
26522 cat >>confdefs.h
<<_ACEOF
26523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26529 CFLAGS
="$save_CFLAGS"
26533 wxUSE_UNIVERSAL
="yes"
26535 if test "$wxUSE_NANOX" = "yes"; then
26536 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26537 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"
26538 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26540 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26547 if test "$wxUSE_MOTIF" = 1; then
26548 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26549 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26552 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26554 if test -f "$ac_dir/Xm/Xm.h"; then
26555 ac_find_includes
=$ac_dir
26560 if test "$ac_find_includes" != "" ; then
26561 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26562 echo "${ECHO_T}found in $ac_find_includes" >&6
26564 if test "x$ac_find_includes" = "x/usr/include"; then
26565 ac_path_to_include
=""
26567 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26569 if test $result = 0; then
26570 ac_path_to_include
=""
26572 ac_path_to_include
=" -I$ac_find_includes"
26576 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26578 cat >conftest.
$ac_ext <<_ACEOF
26581 cat confdefs.h
>>conftest.
$ac_ext
26582 cat >>conftest.
$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26592 version = xmUseVersion;
26598 rm -f conftest.
$ac_objext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26600 (eval $ac_compile) 2>conftest.er1
26602 grep -v '^ *+' conftest.er1
>conftest.err
26604 cat conftest.err
>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try
='test -z "$ac_c_werror_flag"
26608 || test ! -s conftest.err'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; } &&
26614 { ac_try
='test -s conftest.$ac_objext'
26615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616 (eval $ac_try) 2>&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26621 echo "$as_me:$LINENO: result: found in default search path" >&5
26622 echo "${ECHO_T}found in default search path" >&6
26623 COMPILED_X_PROGRAM
=1
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.
$ac_ext >&5
26630 echo "$as_me:$LINENO: result: no" >&5
26631 echo "${ECHO_T}no" >&6
26632 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26633 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26634 { (exit 1); exit 1; }; }
26638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26641 if test "$COMPILED_X_PROGRAM" = 0; then
26642 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26643 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26646 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26648 for ac_extension
in a so sl dylib
; do
26649 if test -f "$ac_dir/libXm.$ac_extension"; then
26650 ac_find_libraries
=$ac_dir
26656 if test "$ac_find_libraries" != "" ; then
26657 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26658 echo "${ECHO_T}found at $ac_find_libraries" >&6
26661 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26663 if test $result = 0; then
26666 ac_path_to_link
=" -L$ac_find_libraries"
26669 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26671 save_CFLAGS
=$CFLAGS
26672 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26674 cat >conftest.
$ac_ext <<_ACEOF
26677 cat confdefs.h
>>conftest.
$ac_ext
26678 cat >>conftest.
$ac_ext <<_ACEOF
26679 /* end confdefs.h. */
26688 version = xmUseVersion;
26694 rm -f conftest.
$ac_objext
26695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26696 (eval $ac_compile) 2>conftest.er1
26698 grep -v '^ *+' conftest.er1
>conftest.err
26700 cat conftest.err
>&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } &&
26703 { ac_try
='test -z "$ac_c_werror_flag"
26704 || test ! -s conftest.err'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; } &&
26710 { ac_try
='test -s conftest.$ac_objext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26717 echo "$as_me:$LINENO: result: found in default search path" >&5
26718 echo "${ECHO_T}found in default search path" >&6
26719 COMPILED_X_PROGRAM
=1
26722 echo "$as_me: failed program was:" >&5
26723 sed 's/^/| /' conftest.
$ac_ext >&5
26726 echo "$as_me:$LINENO: result: no" >&5
26727 echo "${ECHO_T}no" >&6
26728 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26729 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26730 { (exit 1); exit 1; }; }
26734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26736 CFLAGS
=$save_CFLAGS
26740 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26741 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26745 for libp
in "" " -lXp"; do
26746 if test "$libs_found" = "0"; then
26747 for libsm_ice
in "" " -lSM -lICE"; do
26748 if test "$libs_found" = "0"; then
26750 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26751 save_CFLAGS
=$CFLAGS
26752 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26754 cat >conftest.
$ac_ext <<_ACEOF
26757 cat confdefs.h
>>conftest.
$ac_ext
26758 cat >>conftest.
$ac_ext <<_ACEOF
26759 /* end confdefs.h. */
26762 #include <Xm/List.h>
26768 XmString string = NULL;
26771 XmListAddItem(w, string, position);
26777 rm -f conftest.
$ac_objext conftest
$ac_exeext
26778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26779 (eval $ac_link) 2>conftest.er1
26781 grep -v '^ *+' conftest.er1
>conftest.err
26783 cat conftest.err
>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try
='test -z "$ac_c_werror_flag"
26787 || test ! -s conftest.err'
26788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26789 (eval $ac_try) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); }; } &&
26793 { ac_try
='test -s conftest$ac_exeext'
26794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795 (eval $ac_try) 2>&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); }; }; then
26801 libsm_ice_link
="$libsm_ice"
26802 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26803 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.
$ac_ext >&5
26813 rm -f conftest.err conftest.
$ac_objext \
26814 conftest
$ac_exeext conftest.
$ac_ext
26817 CFLAGS
=$save_CFLAGS
26823 if test "$libs_found" = "0"; then
26824 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26825 echo "${ECHO_T}can't find the right libraries" >&6
26826 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26827 echo "$as_me: error: can't link a simple motif program" >&2;}
26828 { (exit 1); exit 1; }; }
26831 save_CFLAGS
=$CFLAGS
26832 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26833 echo "$as_me:$LINENO: checking for Motif 2" >&5
26834 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26835 cat >conftest.
$ac_ext <<_ACEOF
26838 cat confdefs.h
>>conftest.
$ac_ext
26839 cat >>conftest.
$ac_ext <<_ACEOF
26840 /* end confdefs.h. */
26848 #if XmVersion < 2000
26849 #error "Not Motif 2"
26856 rm -f conftest.
$ac_objext
26857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26858 (eval $ac_compile) 2>conftest.er1
26860 grep -v '^ *+' conftest.er1
>conftest.err
26862 cat conftest.err
>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } &&
26865 { ac_try
='test -z "$ac_c_werror_flag"
26866 || test ! -s conftest.err'
26867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26868 (eval $ac_try) 2>&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); }; } &&
26872 { ac_try
='test -s conftest.$ac_objext'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; }; then
26879 cat >>confdefs.h
<<\_ACEOF
26880 #define __WXMOTIF20__ 1
26883 echo "$as_me:$LINENO: result: found" >&5
26884 echo "${ECHO_T}found" >&6
26887 echo "$as_me: failed program was:" >&5
26888 sed 's/^/| /' conftest.
$ac_ext >&5
26891 cat >>confdefs.h
<<\_ACEOF
26892 #define __WXMOTIF20__ 0
26895 echo "$as_me:$LINENO: result: not found" >&5
26896 echo "${ECHO_T}not found" >&6
26899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26900 CFLAGS
=$save_CFLAGS
26902 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26907 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26908 if test "$wxUSE_LIBXPM" = "sys"; then
26909 echo "$as_me:$LINENO: checking for Xpm library" >&5
26910 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26913 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26915 for ac_extension
in a so sl dylib
; do
26916 if test -f "$ac_dir/libXpm.$ac_extension"; then
26917 ac_find_libraries
=$ac_dir
26923 if test "$ac_find_libraries" != "" ; then
26925 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26927 if test $result = 0; then
26930 ac_path_to_link
=" -L$ac_find_libraries"
26933 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26934 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26935 echo "${ECHO_T}found at $ac_find_libraries" >&6
26937 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26938 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26939 if test "${wx_cv_x11_xpm_h+set}" = set; then
26940 echo $ECHO_N "(cached) $ECHO_C" >&6
26943 save_CFLAGS
=$CFLAGS
26944 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26946 cat >conftest.
$ac_ext <<_ACEOF
26949 cat confdefs.h
>>conftest.
$ac_ext
26950 cat >>conftest.
$ac_ext <<_ACEOF
26951 /* end confdefs.h. */
26953 #include <X11/xpm.h>
26960 version = XpmLibraryVersion();
26966 rm -f conftest.
$ac_objext
26967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26968 (eval $ac_compile) 2>conftest.er1
26970 grep -v '^ *+' conftest.er1
>conftest.err
26972 cat conftest.err
>&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } &&
26975 { ac_try
='test -z "$ac_c_werror_flag"
26976 || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try
='test -s conftest.$ac_objext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 wx_cv_x11_xpm_h
=yes
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.
$ac_ext >&5
26996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26998 CFLAGS
=$save_CFLAGS
27002 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27003 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27005 if test $wx_cv_x11_xpm_h = "yes"; then
27006 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27007 cat >>confdefs.h
<<\_ACEOF
27008 #define wxHAVE_LIB_XPM 1
27012 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27013 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27019 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27020 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27021 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27022 echo $ECHO_N "(cached) $ECHO_C" >&6
27024 ac_check_lib_save_LIBS
=$LIBS
27025 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27026 cat >conftest.
$ac_ext <<_ACEOF
27029 cat confdefs.h
>>conftest.
$ac_ext
27030 cat >>conftest.
$ac_ext <<_ACEOF
27031 /* end confdefs.h. */
27033 /* Override any gcc2 internal prototype to avoid an error. */
27037 /* We use char because int might match the return type of a gcc2
27038 builtin and then its argument prototype would still apply. */
27039 char XShapeQueryExtension ();
27043 XShapeQueryExtension ();
27048 rm -f conftest.
$ac_objext conftest
$ac_exeext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27050 (eval $ac_link) 2>conftest.er1
27052 grep -v '^ *+' conftest.er1
>conftest.err
27054 cat conftest.err
>&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try
='test -z "$ac_c_werror_flag"
27058 || test ! -s conftest.err'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; } &&
27064 { ac_try
='test -s conftest$ac_exeext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.
$ac_ext >&5
27075 ac_cv_lib_Xext_XShapeQueryExtension
=no
27077 rm -f conftest.err conftest.
$ac_objext \
27078 conftest
$ac_exeext conftest.
$ac_ext
27079 LIBS
=$ac_check_lib_save_LIBS
27081 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27082 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27083 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27085 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27091 if test "$wxHAVE_XEXT_LIB" = 1; then
27092 save_CFLAGS
="$CFLAGS"
27093 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27095 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27096 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27097 cat >conftest.
$ac_ext <<_ACEOF
27100 cat confdefs.h
>>conftest.
$ac_ext
27101 cat >>conftest.
$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27104 #include <X11/Xlib.h>
27105 #include <X11/extensions/shape.h>
27111 int dummy1, dummy2;
27112 XShapeQueryExtension((Display*)NULL,
27113 (int*)NULL, (int*)NULL);
27119 rm -f conftest.
$ac_objext
27120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27121 (eval $ac_compile) 2>conftest.er1
27123 grep -v '^ *+' conftest.er1
>conftest.err
27125 cat conftest.err
>&5
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); } &&
27128 { ac_try
='test -z "$ac_c_werror_flag"
27129 || test ! -s conftest.err'
27130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131 (eval $ac_try) 2>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; } &&
27135 { ac_try
='test -s conftest.$ac_objext'
27136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27137 (eval $ac_try) 2>&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); }; }; then
27142 cat >>confdefs.h
<<\_ACEOF
27143 #define HAVE_XSHAPE 1
27146 echo "$as_me:$LINENO: result: found" >&5
27147 echo "${ECHO_T}found" >&6
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.
$ac_ext >&5
27154 echo "$as_me:$LINENO: result: not found" >&5
27155 echo "${ECHO_T}not found" >&6
27158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27159 CFLAGS
="$save_CFLAGS"
27164 if test "$wxUSE_MAC" = 1; then
27165 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27166 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27167 if test "$GCC" = yes; then
27168 echo "$as_me:$LINENO: result: gcc" >&5
27169 echo "${ECHO_T}gcc" >&6
27170 CPPFLAGS_PASCAL
="-fpascal-strings"
27171 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27172 echo "$as_me:$LINENO: result: xlc" >&5
27173 echo "${ECHO_T}xlc" >&6
27174 CPPFLAGS_PASCAL
="-qmacpstr"
27176 echo "$as_me:$LINENO: result: none" >&5
27177 echo "${ECHO_T}none" >&6
27180 if test "x$wxUSE_UNIX" = "xyes"; then
27181 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27183 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
27188 WXBASEPORT
="_carbon"
27191 if test "$wxUSE_COCOA" = 1; then
27196 if test "$wxUSE_PM" = 1; then
27199 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27200 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27201 if test "${wx_cv_spbcdata+set}" = set; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27205 cat >conftest.
$ac_ext <<_ACEOF
27208 cat confdefs.h
>>conftest.
$ac_ext
27209 cat >>conftest.
$ac_ext <<_ACEOF
27210 /* end confdefs.h. */
27225 rm -f conftest.
$ac_objext
27226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27227 (eval $ac_compile) 2>conftest.er1
27229 grep -v '^ *+' conftest.er1
>conftest.err
27231 cat conftest.err
>&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); } &&
27234 { ac_try
='test -z "$ac_c_werror_flag"
27235 || test ! -s conftest.err'
27236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237 (eval $ac_try) 2>&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); }; } &&
27241 { ac_try
='test -s conftest.$ac_objext'
27242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27243 (eval $ac_try) 2>&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); }; }; then
27249 echo "$as_me: failed program was:" >&5
27250 sed 's/^/| /' conftest.
$ac_ext >&5
27255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27259 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27260 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27262 if test $wx_cv_spbcdata = "yes"; then
27263 cat >>confdefs.h
<<\_ACEOF
27264 #define HAVE_SPBCDATA 1
27270 if test "$TOOLKIT" = "PM" ; then
27273 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27276 if test "$wxUSE_UNIVERSAL" = "yes"; then
27277 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27281 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27282 DISTDIR
="wx\$(TOOLKIT)"
27288 if test "$USE_WIN32" = 1 ; then
27292 GUIDIST
="BASE_DIST"
27302 if test "$TOOLKIT" != "MSW" ; then
27304 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27306 if test "${ac_cv_header_sql_h+set}" = set; then
27307 echo "$as_me:$LINENO: checking for sql.h" >&5
27308 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27309 if test "${ac_cv_header_sql_h+set}" = set; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27313 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27315 # Is the header compilable?
27316 echo "$as_me:$LINENO: checking sql.h usability" >&5
27317 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27318 cat >conftest.
$ac_ext <<_ACEOF
27321 cat confdefs.h
>>conftest.
$ac_ext
27322 cat >>conftest.
$ac_ext <<_ACEOF
27323 /* end confdefs.h. */
27324 $ac_includes_default
27327 rm -f conftest.
$ac_objext
27328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27329 (eval $ac_compile) 2>conftest.er1
27331 grep -v '^ *+' conftest.er1
>conftest.err
27333 cat conftest.err
>&5
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); } &&
27336 { ac_try
='test -z "$ac_c_werror_flag"
27337 || test ! -s conftest.err'
27338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27339 (eval $ac_try) 2>&5
27341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342 (exit $ac_status); }; } &&
27343 { ac_try
='test -s conftest.$ac_objext'
27344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27345 (eval $ac_try) 2>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); }; }; then
27349 ac_header_compiler
=yes
27351 echo "$as_me: failed program was:" >&5
27352 sed 's/^/| /' conftest.
$ac_ext >&5
27354 ac_header_compiler
=no
27356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27358 echo "${ECHO_T}$ac_header_compiler" >&6
27360 # Is the header present?
27361 echo "$as_me:$LINENO: checking sql.h presence" >&5
27362 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27363 cat >conftest.
$ac_ext <<_ACEOF
27366 cat confdefs.h
>>conftest.
$ac_ext
27367 cat >>conftest.
$ac_ext <<_ACEOF
27368 /* end confdefs.h. */
27371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27374 grep -v '^ *+' conftest.er1
>conftest.err
27376 cat conftest.err
>&5
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); } >/dev
/null
; then
27379 if test -s conftest.err
; then
27380 ac_cpp_err
=$ac_c_preproc_warn_flag
27381 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27388 if test -z "$ac_cpp_err"; then
27389 ac_header_preproc
=yes
27391 echo "$as_me: failed program was:" >&5
27392 sed 's/^/| /' conftest.
$ac_ext >&5
27394 ac_header_preproc
=no
27396 rm -f conftest.err conftest.
$ac_ext
27397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27398 echo "${ECHO_T}$ac_header_preproc" >&6
27400 # So? What about this header?
27401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27403 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27404 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27405 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27406 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27407 ac_header_preproc
=yes
27410 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27411 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27412 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27413 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27414 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27415 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27416 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27417 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27418 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27419 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27420 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27421 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27424 ## ----------------------------------------- ##
27425 ## Report this to wx-dev@lists.wxwidgets.org ##
27426 ## ----------------------------------------- ##
27429 sed "s/^/$as_me: WARNING: /" >&2
27432 echo "$as_me:$LINENO: checking for sql.h" >&5
27433 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27434 if test "${ac_cv_header_sql_h+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27437 ac_cv_header_sql_h
=$ac_header_preproc
27439 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27440 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27443 if test $ac_cv_header_sql_h = yes; then
27448 if test "x$found_sql_h" = "x1" ; then
27449 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27450 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27451 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27452 echo $ECHO_N "(cached) $ECHO_C" >&6
27454 ac_check_lib_save_LIBS
=$LIBS
27455 LIBS
="-liodbc $LIBS"
27456 cat >conftest.
$ac_ext <<_ACEOF
27459 cat confdefs.h
>>conftest.
$ac_ext
27460 cat >>conftest.
$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27463 /* Override any gcc2 internal prototype to avoid an error. */
27467 /* We use char because int might match the return type of a gcc2
27468 builtin and then its argument prototype would still apply. */
27469 char SQLAllocEnv ();
27478 rm -f conftest.
$ac_objext conftest
$ac_exeext
27479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27480 (eval $ac_link) 2>conftest.er1
27482 grep -v '^ *+' conftest.er1
>conftest.err
27484 cat conftest.err
>&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } &&
27487 { ac_try
='test -z "$ac_c_werror_flag"
27488 || test ! -s conftest.err'
27489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27490 (eval $ac_try) 2>&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; } &&
27494 { ac_try
='test -s conftest$ac_exeext'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; }; then
27500 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.
$ac_ext >&5
27505 ac_cv_lib_iodbc_SQLAllocEnv
=no
27507 rm -f conftest.err conftest.
$ac_objext \
27508 conftest
$ac_exeext conftest.
$ac_ext
27509 LIBS
=$ac_check_lib_save_LIBS
27511 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27512 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27513 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27514 ODBC_LINK
=" -liodbc"
27517 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27518 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27519 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27520 echo $ECHO_N "(cached) $ECHO_C" >&6
27522 ac_check_lib_save_LIBS
=$LIBS
27523 LIBS
="-lunixodbc $LIBS"
27524 cat >conftest.
$ac_ext <<_ACEOF
27527 cat confdefs.h
>>conftest.
$ac_ext
27528 cat >>conftest.
$ac_ext <<_ACEOF
27529 /* end confdefs.h. */
27531 /* Override any gcc2 internal prototype to avoid an error. */
27535 /* We use char because int might match the return type of a gcc2
27536 builtin and then its argument prototype would still apply. */
27537 char SQLAllocEnv ();
27546 rm -f conftest.
$ac_objext conftest
$ac_exeext
27547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27548 (eval $ac_link) 2>conftest.er1
27550 grep -v '^ *+' conftest.er1
>conftest.err
27552 cat conftest.err
>&5
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); } &&
27555 { ac_try
='test -z "$ac_c_werror_flag"
27556 || test ! -s conftest.err'
27557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27558 (eval $ac_try) 2>&5
27560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27561 (exit $ac_status); }; } &&
27562 { ac_try
='test -s conftest$ac_exeext'
27563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27564 (eval $ac_try) 2>&5
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); }; }; then
27568 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27570 echo "$as_me: failed program was:" >&5
27571 sed 's/^/| /' conftest.
$ac_ext >&5
27573 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27575 rm -f conftest.err conftest.
$ac_objext \
27576 conftest
$ac_exeext conftest.
$ac_ext
27577 LIBS
=$ac_check_lib_save_LIBS
27579 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27580 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27581 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27582 ODBC_LINK
=" -lunixodbc"
27585 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27586 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27587 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 ac_check_lib_save_LIBS
=$LIBS
27591 LIBS
="-lodbc $LIBS"
27592 cat >conftest.
$ac_ext <<_ACEOF
27595 cat confdefs.h
>>conftest.
$ac_ext
27596 cat >>conftest.
$ac_ext <<_ACEOF
27597 /* end confdefs.h. */
27599 /* Override any gcc2 internal prototype to avoid an error. */
27603 /* We use char because int might match the return type of a gcc2
27604 builtin and then its argument prototype would still apply. */
27605 char SQLAllocEnv ();
27614 rm -f conftest.
$ac_objext conftest
$ac_exeext
27615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27616 (eval $ac_link) 2>conftest.er1
27618 grep -v '^ *+' conftest.er1
>conftest.err
27620 cat conftest.err
>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); } &&
27623 { ac_try
='test -z "$ac_c_werror_flag"
27624 || test ! -s conftest.err'
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; } &&
27630 { ac_try
='test -s conftest$ac_exeext'
27631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27632 (eval $ac_try) 2>&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); }; }; then
27636 ac_cv_lib_odbc_SQLAllocEnv
=yes
27638 echo "$as_me: failed program was:" >&5
27639 sed 's/^/| /' conftest.
$ac_ext >&5
27641 ac_cv_lib_odbc_SQLAllocEnv
=no
27643 rm -f conftest.err conftest.
$ac_objext \
27644 conftest
$ac_exeext conftest.
$ac_ext
27645 LIBS
=$ac_check_lib_save_LIBS
27647 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27648 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27649 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27650 ODBC_LINK
=" -lodbc"
27660 if test "x$ODBC_LINK" = "x" ; then
27661 if test "$wxUSE_ODBC" = "sys" ; then
27662 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27663 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27664 { (exit 1); exit 1; }; }
27666 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27667 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27674 if test "$wxUSE_ODBC" != "no" ; then
27675 cat >>confdefs.h
<<\_ACEOF
27676 #define wxUSE_ODBC 1
27679 if test "$wxUSE_ODBC" = "builtin" ; then
27680 cat >>confdefs.h
<<\_ACEOF
27681 #define wxUSE_BUILTIN_IODBC 1
27685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27687 WXODBCFLAG
="-D_IODBC_"
27693 if test "$wxUSE_DISPLAY" = "yes"; then
27694 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27695 echo "$as_me:$LINENO: checking for Xinerama" >&5
27696 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27699 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27701 for ac_extension
in a so sl dylib
; do
27702 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27703 ac_find_libraries
=$ac_dir
27709 if test "$ac_find_libraries" != "" ; then
27711 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27713 if test $result = 0; then
27716 ac_path_to_link
=" -L$ac_find_libraries"
27719 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27720 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27722 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27723 echo "$as_me:$LINENO: result: yes" >&5
27724 echo "${ECHO_T}yes" >&6
27726 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27727 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27730 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27732 for ac_extension
in a so sl dylib
; do
27733 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27734 ac_find_libraries
=$ac_dir
27740 if test "$ac_find_libraries" != "" ; then
27741 echo "$as_me:$LINENO: result: yes" >&5
27742 echo "${ECHO_T}yes" >&6
27744 for ac_header
in X
11/extensions
/xf86vmode.h
27746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27747 echo "$as_me:$LINENO: checking for $ac_header" >&5
27748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27752 cat >conftest.
$ac_ext <<_ACEOF
27755 cat confdefs.h
>>conftest.
$ac_ext
27756 cat >>conftest.
$ac_ext <<_ACEOF
27757 /* end confdefs.h. */
27759 #if HAVE_X11_XLIB_H
27760 #include <X11/Xlib.h>
27764 #include <$ac_header>
27766 rm -f conftest.
$ac_objext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27768 (eval $ac_compile) 2>conftest.er1
27770 grep -v '^ *+' conftest.er1
>conftest.err
27772 cat conftest.err
>&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); } &&
27775 { ac_try
='test -z "$ac_c_werror_flag"
27776 || test ! -s conftest.err'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; } &&
27782 { ac_try
='test -s conftest.$ac_objext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 eval "$as_ac_Header=yes"
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.
$ac_ext >&5
27793 eval "$as_ac_Header=no"
27795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27800 cat >>confdefs.h
<<_ACEOF
27801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27804 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27811 echo "$as_me:$LINENO: result: no" >&5
27812 echo "${ECHO_T}no" >&6
27816 echo "$as_me:$LINENO: result: no" >&5
27817 echo "${ECHO_T}no" >&6
27818 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27819 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27822 elif test "$wxUSE_MSW" = 1; then
27825 for ac_header
in multimon.h ddraw.h
27827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27828 echo "$as_me:$LINENO: checking for $ac_header" >&5
27829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27833 cat >conftest.
$ac_ext <<_ACEOF
27836 cat confdefs.h
>>conftest.
$ac_ext
27837 cat >>conftest.
$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839 #include <windows.h>
27841 #include <$ac_header>
27843 rm -f conftest.
$ac_objext
27844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27845 (eval $ac_compile) 2>conftest.er1
27847 grep -v '^ *+' conftest.er1
>conftest.err
27849 cat conftest.err
>&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); } &&
27852 { ac_try
='test -z "$ac_c_werror_flag"
27853 || test ! -s conftest.err'
27854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855 (eval $ac_try) 2>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); }; } &&
27859 { ac_try
='test -s conftest.$ac_objext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27865 eval "$as_ac_Header=yes"
27867 echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.
$ac_ext >&5
27870 eval "$as_ac_Header=no"
27872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27877 cat >>confdefs.h
<<_ACEOF
27878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27884 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27885 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27895 if test "$wxUSE_MEDIACTRL" = "yes"; then
27896 if test "$wxUSE_MSW" = 1; then
27897 wxUSE_DIRECTSHOW
="yes"
27899 for ac_header
in dshow.h
27901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27902 echo "$as_me:$LINENO: checking for $ac_header" >&5
27903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 cat >conftest.
$ac_ext <<_ACEOF
27910 cat confdefs.h
>>conftest.
$ac_ext
27911 cat >>conftest.
$ac_ext <<_ACEOF
27912 /* end confdefs.h. */
27913 #include <windows.h>
27915 #include <$ac_header>
27917 rm -f conftest.
$ac_objext
27918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27919 (eval $ac_compile) 2>conftest.er1
27921 grep -v '^ *+' conftest.er1
>conftest.err
27923 cat conftest.err
>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } &&
27926 { ac_try
='test -z "$ac_c_werror_flag"
27927 || test ! -s conftest.err'
27928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27929 (eval $ac_try) 2>&5
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); }; } &&
27933 { ac_try
='test -s conftest.$ac_objext'
27934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27935 (eval $ac_try) 2>&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; }; then
27939 eval "$as_ac_Header=yes"
27941 echo "$as_me: failed program was:" >&5
27942 sed 's/^/| /' conftest.
$ac_ext >&5
27944 eval "$as_ac_Header=no"
27946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27951 cat >>confdefs.h
<<_ACEOF
27952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27957 wxUSE_DIRECTSHOW
="no"
27958 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27959 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27966 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27967 cat >>confdefs.h
<<\_ACEOF
27968 #define wxUSE_DIRECTSHOW 1
27971 LIBS
="$LIBS -lstrmiids"
27975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27976 cat >>confdefs.h
<<\_ACEOF
27977 #define wxUSE_MEDIACTRL 1
27984 if test "$wxUSE_OPENGL" = "yes"; then
27985 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27986 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27987 elif test "$wxUSE_MSW" = 1; then
27988 OPENGL_LIBS
="-lopengl32 -lglu32"
27993 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27995 if test -f "$ac_dir/GL/gl.h"; then
27996 ac_find_includes
=$ac_dir
28001 if test "$ac_find_includes" != "" ; then
28002 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28003 echo "${ECHO_T}found in $ac_find_includes" >&6
28005 if test "x$ac_find_includes" = "x/usr/include"; then
28006 ac_path_to_include
=""
28008 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28010 if test $result = 0; then
28011 ac_path_to_include
=""
28013 ac_path_to_include
=" -I$ac_find_includes"
28017 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28020 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28021 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28022 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28023 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28024 echo $ECHO_N "(cached) $ECHO_C" >&6
28026 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28027 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28029 # Is the header compilable?
28030 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28031 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28032 cat >conftest.
$ac_ext <<_ACEOF
28035 cat confdefs.h
>>conftest.
$ac_ext
28036 cat >>conftest.
$ac_ext <<_ACEOF
28037 /* end confdefs.h. */
28038 $ac_includes_default
28041 rm -f conftest.
$ac_objext
28042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28043 (eval $ac_compile) 2>conftest.er1
28045 grep -v '^ *+' conftest.er1
>conftest.err
28047 cat conftest.err
>&5
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); } &&
28050 { ac_try
='test -z "$ac_c_werror_flag"
28051 || test ! -s conftest.err'
28052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053 (eval $ac_try) 2>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); }; } &&
28057 { ac_try
='test -s conftest.$ac_objext'
28058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; }; then
28063 ac_header_compiler
=yes
28065 echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.
$ac_ext >&5
28068 ac_header_compiler
=no
28070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28072 echo "${ECHO_T}$ac_header_compiler" >&6
28074 # Is the header present?
28075 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28076 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28077 cat >conftest.
$ac_ext <<_ACEOF
28080 cat confdefs.h
>>conftest.
$ac_ext
28081 cat >>conftest.
$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28088 grep -v '^ *+' conftest.er1
>conftest.err
28090 cat conftest.err
>&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } >/dev
/null
; then
28093 if test -s conftest.err
; then
28094 ac_cpp_err
=$ac_c_preproc_warn_flag
28095 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28102 if test -z "$ac_cpp_err"; then
28103 ac_header_preproc
=yes
28105 echo "$as_me: failed program was:" >&5
28106 sed 's/^/| /' conftest.
$ac_ext >&5
28108 ac_header_preproc
=no
28110 rm -f conftest.err conftest.
$ac_ext
28111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28112 echo "${ECHO_T}$ac_header_preproc" >&6
28114 # So? What about this header?
28115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28117 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28118 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28119 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28120 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28121 ac_header_preproc
=yes
28124 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28125 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28126 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28127 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28128 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28129 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28130 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28131 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28132 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28133 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28134 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28135 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28138 ## ----------------------------------------- ##
28139 ## Report this to wx-dev@lists.wxwidgets.org ##
28140 ## ----------------------------------------- ##
28143 sed "s/^/$as_me: WARNING: /" >&2
28146 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28147 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28148 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28149 echo $ECHO_N "(cached) $ECHO_C" >&6
28151 ac_cv_header_GL_gl_h
=$ac_header_preproc
28153 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28154 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28157 if test $ac_cv_header_GL_gl_h = yes; then
28161 echo "$as_me:$LINENO: checking for -lGL" >&5
28162 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28165 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28167 for ac_extension
in a so sl dylib
; do
28168 if test -f "$ac_dir/libGL.$ac_extension"; then
28169 ac_find_libraries
=$ac_dir
28175 if test "$ac_find_libraries" != "" ; then
28177 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28179 if test $result = 0; then
28182 ac_path_to_link
=" -L$ac_find_libraries"
28185 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28186 LDFLAGS_GL
="$ac_path_to_link"
28191 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28193 for ac_extension
in a so sl dylib
; do
28194 if test -f "$ac_dir/libGLU.$ac_extension"; then
28195 ac_find_libraries
=$ac_dir
28201 if test "$ac_find_libraries" != "" ; then
28203 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28205 if test $result = 0; then
28208 ac_path_to_link
=" -L$ac_find_libraries"
28211 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28212 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28213 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28217 OPENGL_LIBS
="-lGL -lGLU"
28218 echo "$as_me:$LINENO: result: yes" >&5
28219 echo "${ECHO_T}yes" >&6
28223 if test "$found_gl" != 1; then
28224 echo "$as_me:$LINENO: result: no" >&5
28225 echo "${ECHO_T}no" >&6
28226 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28227 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28230 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28232 for ac_extension
in a so sl dylib
; do
28233 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28234 ac_find_libraries
=$ac_dir
28240 if test "$ac_find_libraries" != "" ; then
28242 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28244 if test $result = 0; then
28247 ac_path_to_link
=" -L$ac_find_libraries"
28250 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28251 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28252 echo "$as_me:$LINENO: result: yes" >&5
28253 echo "${ECHO_T}yes" >&6
28255 echo "$as_me:$LINENO: result: no" >&5
28256 echo "${ECHO_T}no" >&6
28264 if test "x$OPENGL_LIBS" = "x"; then
28265 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28266 echo "$as_me: error: OpenGL libraries not available" >&2;}
28267 { (exit 1); exit 1; }; }
28271 if test "$wxUSE_OPENGL" = "yes"; then
28273 cat >>confdefs.h
<<\_ACEOF
28274 #define wxUSE_OPENGL 1
28277 cat >>confdefs.h
<<\_ACEOF
28278 #define wxUSE_GLCANVAS 1
28281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28286 if test -n "$TOOLKIT" ; then
28287 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28292 if test "$wxUSE_SHARED" = "yes"; then
28296 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28297 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28302 if test "$wxUSE_SHARED" = "yes"; then
28305 found_versioning
=no
28308 if test $found_versioning = no
; then
28309 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28310 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28311 if test "${wx_cv_version_script+set}" = set; then
28312 echo $ECHO_N "(cached) $ECHO_C" >&6
28315 echo "VER_1 { *; };" >conftest.sym
28316 echo "int main() { return 0; }" >conftest.cpp
28319 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28320 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; } ; then
28326 if test -s conftest.stderr
; then
28327 wx_cv_version_script
=no
28329 wx_cv_version_script
=yes
28332 wx_cv_version_script
=no
28334 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28337 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28338 echo "${ECHO_T}$wx_cv_version_script" >&6
28339 if test $wx_cv_version_script = yes ; then
28340 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28346 *-*-linux* | *-*-gnu* )
28347 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28348 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28352 if test "$GCC" = yes ; then
28353 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28355 saveLdflags
="$LDFLAGS"
28356 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28357 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28358 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28359 cat >conftest.
$ac_ext <<_ACEOF
28362 cat confdefs.h
>>conftest.
$ac_ext
28363 cat >>conftest.
$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28374 rm -f conftest.
$ac_objext conftest
$ac_exeext
28375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28376 (eval $ac_link) 2>conftest.er1
28378 grep -v '^ *+' conftest.er1
>conftest.err
28380 cat conftest.err
>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } &&
28383 { ac_try
='test -z "$ac_c_werror_flag"
28384 || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try
='test -s conftest$ac_exeext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28397 echo "$as_me:$LINENO: result: yes" >&5
28398 echo "${ECHO_T}yes" >&6
28399 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28400 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.
$ac_ext >&5
28407 echo "$as_me:$LINENO: result: no" >&5
28408 echo "${ECHO_T}no" >&6
28409 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28410 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28411 LDFLAGS
="$saveLdflags -Wl,-R,/"
28412 cat >conftest.
$ac_ext <<_ACEOF
28415 cat confdefs.h
>>conftest.
$ac_ext
28416 cat >>conftest.
$ac_ext <<_ACEOF
28417 /* end confdefs.h. */
28427 rm -f conftest.
$ac_objext conftest
$ac_exeext
28428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28429 (eval $ac_link) 2>conftest.er1
28431 grep -v '^ *+' conftest.er1
>conftest.err
28433 cat conftest.err
>&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); } &&
28436 { ac_try
='test -z "$ac_c_werror_flag"
28437 || test ! -s conftest.err'
28438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28439 (eval $ac_try) 2>&5
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); }; } &&
28443 { ac_try
='test -s conftest$ac_exeext'
28444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445 (eval $ac_try) 2>&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); }; }; then
28450 echo "$as_me:$LINENO: result: yes" >&5
28451 echo "${ECHO_T}yes" >&6
28452 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28453 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28456 echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.
$ac_ext >&5
28460 echo "$as_me:$LINENO: result: no" >&5
28461 echo "${ECHO_T}no" >&6
28464 rm -f conftest.err conftest.
$ac_objext \
28465 conftest
$ac_exeext conftest.
$ac_ext
28468 rm -f conftest.err conftest.
$ac_objext \
28469 conftest
$ac_exeext conftest.
$ac_ext
28470 LDFLAGS
="$saveLdflags"
28472 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28473 WXCONFIG_RPATH
="-R\$libdir"
28477 powerpc
-*-darwin* )
28478 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28479 cat <<EOF >change-install-names
28481 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28482 inst_cmd="install_name_tool "
28483 for i in \${libnames} ; do
28484 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28488 chmod +x change
-install-names
28491 *-*-cygwin* | *-*-mingw32* )
28492 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28496 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
28497 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
28502 if test $wxUSE_RPATH = "no"; then
28503 SAMPLES_RPATH_FLAG
=''
28504 SAMPLES_RPATH_POSTLINK
=''
28512 config_linkage_component
="-static"
28519 lib_unicode_suffix
=
28521 if test "$wxUSE_UNICODE" = "yes"; then
28522 lib_unicode_suffix
=u
28523 WX_CHARTYPE
="unicode"
28528 WX_DEBUGTYPE
="release"
28530 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28532 WX_DEBUGTYPE
="debug"
28536 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28537 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28540 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28544 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28546 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28548 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28550 if test "$cross_compiling" = "yes"; then
28551 HOST_SUFFIX
="-$host_alias"
28552 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28553 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28556 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28557 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28561 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28562 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28563 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28565 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28567 # Extract the first word of "Rez", so it can be a program name with args.
28568 set dummy Rez
; ac_word
=$2
28569 echo "$as_me:$LINENO: checking for $ac_word" >&5
28570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28571 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28574 if test -n "$RESCOMP"; then
28575 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28578 for as_dir
in $PATH
28581 test -z "$as_dir" && as_dir
=.
28582 for ac_exec_ext
in '' $ac_executable_extensions; do
28583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28584 ac_cv_prog_RESCOMP
="Rez"
28585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28591 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28594 RESCOMP
=$ac_cv_prog_RESCOMP
28595 if test -n "$RESCOMP"; then
28596 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28597 echo "${ECHO_T}$RESCOMP" >&6
28599 echo "$as_me:$LINENO: result: no" >&5
28600 echo "${ECHO_T}no" >&6
28603 # Extract the first word of "DeRez", so it can be a program name with args.
28604 set dummy DeRez
; ac_word
=$2
28605 echo "$as_me:$LINENO: checking for $ac_word" >&5
28606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28607 if test "${ac_cv_prog_DEREZ+set}" = set; then
28608 echo $ECHO_N "(cached) $ECHO_C" >&6
28610 if test -n "$DEREZ"; then
28611 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28614 for as_dir
in $PATH
28617 test -z "$as_dir" && as_dir
=.
28618 for ac_exec_ext
in '' $ac_executable_extensions; do
28619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28620 ac_cv_prog_DEREZ
="DeRez"
28621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28627 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28630 DEREZ
=$ac_cv_prog_DEREZ
28631 if test -n "$DEREZ"; then
28632 echo "$as_me:$LINENO: result: $DEREZ" >&5
28633 echo "${ECHO_T}$DEREZ" >&6
28635 echo "$as_me:$LINENO: result: no" >&5
28636 echo "${ECHO_T}no" >&6
28639 # Extract the first word of "SetFile", so it can be a program name with args.
28640 set dummy SetFile
; ac_word
=$2
28641 echo "$as_me:$LINENO: checking for $ac_word" >&5
28642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28643 if test "${ac_cv_prog_SETFILE+set}" = set; then
28644 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 if test -n "$SETFILE"; then
28647 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28650 for as_dir
in $PATH
28653 test -z "$as_dir" && as_dir
=.
28654 for ac_exec_ext
in '' $ac_executable_extensions; do
28655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28656 ac_cv_prog_SETFILE
="SetFile"
28657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28663 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28666 SETFILE
=$ac_cv_prog_SETFILE
28667 if test -n "$SETFILE"; then
28668 echo "$as_me:$LINENO: result: $SETFILE" >&5
28669 echo "${ECHO_T}$SETFILE" >&6
28671 echo "$as_me:$LINENO: result: no" >&5
28672 echo "${ECHO_T}no" >&6
28676 MACSETFILE
="\$(SETFILE)"
28678 if test "$wxUSE_MAC" = 1; then
28679 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28681 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28683 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28684 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28688 MACRESWXCONFIG
="@true"
28690 if test "$wxUSE_PM" = 1; then
28691 MACRESCOMP
="emxbind -ep"
28699 echo "$as_me:$LINENO: checking for mode_t" >&5
28700 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28701 if test "${ac_cv_type_mode_t+set}" = set; then
28702 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 cat >conftest.
$ac_ext <<_ACEOF
28707 cat confdefs.h
>>conftest.
$ac_ext
28708 cat >>conftest.
$ac_ext <<_ACEOF
28709 /* end confdefs.h. */
28710 $ac_includes_default
28716 if (sizeof (mode_t))
28722 rm -f conftest.
$ac_objext
28723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28724 (eval $ac_compile) 2>conftest.er1
28726 grep -v '^ *+' conftest.er1
>conftest.err
28728 cat conftest.err
>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); } &&
28731 { ac_try
='test -z "$ac_c_werror_flag"
28732 || test ! -s conftest.err'
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); }; } &&
28738 { ac_try
='test -s conftest.$ac_objext'
28739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28740 (eval $ac_try) 2>&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); }; }; then
28744 ac_cv_type_mode_t
=yes
28746 echo "$as_me: failed program was:" >&5
28747 sed 's/^/| /' conftest.
$ac_ext >&5
28749 ac_cv_type_mode_t
=no
28751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28753 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28754 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28755 if test $ac_cv_type_mode_t = yes; then
28759 cat >>confdefs.h
<<_ACEOF
28765 echo "$as_me:$LINENO: checking for off_t" >&5
28766 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28767 if test "${ac_cv_type_off_t+set}" = set; then
28768 echo $ECHO_N "(cached) $ECHO_C" >&6
28770 cat >conftest.
$ac_ext <<_ACEOF
28773 cat confdefs.h
>>conftest.
$ac_ext
28774 cat >>conftest.
$ac_ext <<_ACEOF
28775 /* end confdefs.h. */
28776 $ac_includes_default
28782 if (sizeof (off_t))
28788 rm -f conftest.
$ac_objext
28789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28790 (eval $ac_compile) 2>conftest.er1
28792 grep -v '^ *+' conftest.er1
>conftest.err
28794 cat conftest.err
>&5
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); } &&
28797 { ac_try
='test -z "$ac_c_werror_flag"
28798 || test ! -s conftest.err'
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); }; } &&
28804 { ac_try
='test -s conftest.$ac_objext'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; }; then
28810 ac_cv_type_off_t
=yes
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.
$ac_ext >&5
28815 ac_cv_type_off_t
=no
28817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28819 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28820 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28821 if test $ac_cv_type_off_t = yes; then
28825 cat >>confdefs.h
<<_ACEOF
28831 echo "$as_me:$LINENO: checking for pid_t" >&5
28832 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28833 if test "${ac_cv_type_pid_t+set}" = set; then
28834 echo $ECHO_N "(cached) $ECHO_C" >&6
28836 cat >conftest.
$ac_ext <<_ACEOF
28839 cat confdefs.h
>>conftest.
$ac_ext
28840 cat >>conftest.
$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28842 $ac_includes_default
28848 if (sizeof (pid_t))
28854 rm -f conftest.
$ac_objext
28855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28856 (eval $ac_compile) 2>conftest.er1
28858 grep -v '^ *+' conftest.er1
>conftest.err
28860 cat conftest.err
>&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); } &&
28863 { ac_try
='test -z "$ac_c_werror_flag"
28864 || test ! -s conftest.err'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; } &&
28870 { ac_try
='test -s conftest.$ac_objext'
28871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28872 (eval $ac_try) 2>&5
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); }; }; then
28876 ac_cv_type_pid_t
=yes
28878 echo "$as_me: failed program was:" >&5
28879 sed 's/^/| /' conftest.
$ac_ext >&5
28881 ac_cv_type_pid_t
=no
28883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28885 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28886 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28887 if test $ac_cv_type_pid_t = yes; then
28891 cat >>confdefs.h
<<_ACEOF
28897 echo "$as_me:$LINENO: checking for size_t" >&5
28898 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28899 if test "${ac_cv_type_size_t+set}" = set; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28902 cat >conftest.
$ac_ext <<_ACEOF
28905 cat confdefs.h
>>conftest.
$ac_ext
28906 cat >>conftest.
$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28908 $ac_includes_default
28914 if (sizeof (size_t))
28920 rm -f conftest.
$ac_objext
28921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28922 (eval $ac_compile) 2>conftest.er1
28924 grep -v '^ *+' conftest.er1
>conftest.err
28926 cat conftest.err
>&5
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); } &&
28929 { ac_try
='test -z "$ac_c_werror_flag"
28930 || test ! -s conftest.err'
28931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28932 (eval $ac_try) 2>&5
28934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28935 (exit $ac_status); }; } &&
28936 { ac_try
='test -s conftest.$ac_objext'
28937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28938 (eval $ac_try) 2>&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); }; }; then
28942 ac_cv_type_size_t
=yes
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.
$ac_ext >&5
28947 ac_cv_type_size_t
=no
28949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28951 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28952 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28953 if test $ac_cv_type_size_t = yes; then
28957 cat >>confdefs.h
<<_ACEOF
28958 #define size_t unsigned
28963 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28964 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28965 if test "${ac_cv_type_uid_t+set}" = set; then
28966 echo $ECHO_N "(cached) $ECHO_C" >&6
28968 cat >conftest.
$ac_ext <<_ACEOF
28971 cat confdefs.h
>>conftest.
$ac_ext
28972 cat >>conftest.
$ac_ext <<_ACEOF
28973 /* end confdefs.h. */
28974 #include <sys/types.h>
28977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28978 $EGREP "uid_t" >/dev
/null
2>&1; then
28979 ac_cv_type_uid_t
=yes
28981 ac_cv_type_uid_t
=no
28986 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28987 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28988 if test $ac_cv_type_uid_t = no
; then
28990 cat >>confdefs.h
<<\_ACEOF
28995 cat >>confdefs.h
<<\_ACEOF
29002 echo "$as_me:$LINENO: checking for ssize_t" >&5
29003 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29004 if test "${ac_cv_type_ssize_t+set}" = set; then
29005 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 cat >conftest.
$ac_ext <<_ACEOF
29010 cat confdefs.h
>>conftest.
$ac_ext
29011 cat >>conftest.
$ac_ext <<_ACEOF
29012 /* end confdefs.h. */
29013 $ac_includes_default
29019 if (sizeof (ssize_t))
29025 rm -f conftest.
$ac_objext
29026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29027 (eval $ac_compile) 2>conftest.er1
29029 grep -v '^ *+' conftest.er1
>conftest.err
29031 cat conftest.err
>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } &&
29034 { ac_try
='test -z "$ac_c_werror_flag"
29035 || test ! -s conftest.err'
29036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29037 (eval $ac_try) 2>&5
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); }; } &&
29041 { ac_try
='test -s conftest.$ac_objext'
29042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29043 (eval $ac_try) 2>&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); }; }; then
29047 ac_cv_type_ssize_t
=yes
29049 echo "$as_me: failed program was:" >&5
29050 sed 's/^/| /' conftest.
$ac_ext >&5
29052 ac_cv_type_ssize_t
=no
29054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29056 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29057 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29058 if test $ac_cv_type_ssize_t = yes; then
29060 cat >>confdefs.h
<<_ACEOF
29061 #define HAVE_SSIZE_T 1
29071 ac_cpp
='$CXXCPP $CPPFLAGS'
29072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29076 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29077 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29078 if test "${wx_cv_size_t_is_uint+set}" = set; then
29079 echo $ECHO_N "(cached) $ECHO_C" >&6
29082 cat >conftest.
$ac_ext <<_ACEOF
29085 cat confdefs.h
>>conftest.
$ac_ext
29086 cat >>conftest.
$ac_ext <<_ACEOF
29087 /* end confdefs.h. */
29088 #include <stddef.h>
29095 struct Foo { void foo(size_t); void foo(unsigned int); };
29103 rm -f conftest.
$ac_objext
29104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29105 (eval $ac_compile) 2>conftest.er1
29107 grep -v '^ *+' conftest.er1
>conftest.err
29109 cat conftest.err
>&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); } &&
29112 { ac_try
='test -z "$ac_cxx_werror_flag"
29113 || test ! -s conftest.err'
29114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29115 (eval $ac_try) 2>&5
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); }; } &&
29119 { ac_try
='test -s conftest.$ac_objext'
29120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29121 (eval $ac_try) 2>&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); }; }; then
29125 wx_cv_size_t_is_uint
=no
29127 echo "$as_me: failed program was:" >&5
29128 sed 's/^/| /' conftest.
$ac_ext >&5
29130 wx_cv_size_t_is_uint
=yes
29133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29137 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29138 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29140 if test "$wx_cv_size_t_is_uint" = "yes"; then
29141 cat >>confdefs.h
<<\_ACEOF
29142 #define wxSIZE_T_IS_UINT 1
29146 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29147 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29148 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29149 echo $ECHO_N "(cached) $ECHO_C" >&6
29151 cat >conftest.
$ac_ext <<_ACEOF
29154 cat confdefs.h
>>conftest.
$ac_ext
29155 cat >>conftest.
$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29157 #include <stddef.h>
29164 struct Foo { void foo(size_t); void foo(unsigned long); };
29172 rm -f conftest.
$ac_objext
29173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29174 (eval $ac_compile) 2>conftest.er1
29176 grep -v '^ *+' conftest.er1
>conftest.err
29178 cat conftest.err
>&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } &&
29181 { ac_try
='test -z "$ac_cxx_werror_flag"
29182 || test ! -s conftest.err'
29183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184 (eval $ac_try) 2>&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); }; } &&
29188 { ac_try
='test -s conftest.$ac_objext'
29189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29190 (eval $ac_try) 2>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; }; then
29194 wx_cv_size_t_is_ulong
=no
29196 echo "$as_me: failed program was:" >&5
29197 sed 's/^/| /' conftest.
$ac_ext >&5
29199 wx_cv_size_t_is_ulong
=yes
29202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29205 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29206 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29208 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29209 cat >>confdefs.h
<<\_ACEOF
29210 #define wxSIZE_T_IS_ULONG 1
29217 ac_cpp
='$CPP $CPPFLAGS'
29218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29224 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29225 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29226 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29227 echo $ECHO_N "(cached) $ECHO_C" >&6
29230 cat >conftest.
$ac_ext <<_ACEOF
29233 cat confdefs.h
>>conftest.
$ac_ext
29234 cat >>conftest.
$ac_ext <<_ACEOF
29235 /* end confdefs.h. */
29249 rm -f conftest.
$ac_objext
29250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29251 (eval $ac_compile) 2>conftest.er1
29253 grep -v '^ *+' conftest.er1
>conftest.err
29255 cat conftest.err
>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try
='test -z "$ac_c_werror_flag"
29259 || test ! -s conftest.err'
29260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 (eval $ac_try) 2>&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); }; } &&
29265 { ac_try
='test -s conftest.$ac_objext'
29266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29267 (eval $ac_try) 2>&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); }; }; then
29272 wx_cv_struct_pw_gecos
=yes
29275 echo "$as_me: failed program was:" >&5
29276 sed 's/^/| /' conftest.
$ac_ext >&5
29279 wx_cv_struct_pw_gecos
=no
29283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29287 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29288 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29290 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29291 cat >>confdefs.h
<<\_ACEOF
29292 #define HAVE_PW_GECOS 1
29298 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29299 cat >>confdefs.h
<<\_ACEOF
29300 #define wxUSE_WCHAR_T 1
29307 for ac_func
in wcslen
29309 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29310 echo "$as_me:$LINENO: checking for $ac_func" >&5
29311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29312 if eval "test \"\${$as_ac_var+set}\" = set"; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 cat >conftest.
$ac_ext <<_ACEOF
29318 cat confdefs.h
>>conftest.
$ac_ext
29319 cat >>conftest.
$ac_ext <<_ACEOF
29320 /* end confdefs.h. */
29321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29323 #define $ac_func innocuous_$ac_func
29325 /* System header to define __stub macros and hopefully few prototypes,
29326 which can conflict with char $ac_func (); below.
29327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29328 <limits.h> exists even on freestanding compilers. */
29331 # include <limits.h>
29333 # include <assert.h>
29338 /* Override any gcc2 internal prototype to avoid an error. */
29343 /* We use char because int might match the return type of a gcc2
29344 builtin and then its argument prototype would still apply. */
29346 /* The GNU C library defines this for functions which it implements
29347 to always fail with ENOSYS. Some functions are actually named
29348 something starting with __ and the normal name is an alias. */
29349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29352 char (*f) () = $ac_func;
29361 return f != $ac_func;
29366 rm -f conftest.
$ac_objext conftest
$ac_exeext
29367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29368 (eval $ac_link) 2>conftest.er1
29370 grep -v '^ *+' conftest.er1
>conftest.err
29372 cat conftest.err
>&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } &&
29375 { ac_try
='test -z "$ac_c_werror_flag"
29376 || test ! -s conftest.err'
29377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378 (eval $ac_try) 2>&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); }; } &&
29382 { ac_try
='test -s conftest$ac_exeext'
29383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29384 (eval $ac_try) 2>&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); }; }; then
29388 eval "$as_ac_var=yes"
29390 echo "$as_me: failed program was:" >&5
29391 sed 's/^/| /' conftest.
$ac_ext >&5
29393 eval "$as_ac_var=no"
29395 rm -f conftest.err conftest.
$ac_objext \
29396 conftest
$ac_exeext conftest.
$ac_ext
29398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29400 if test `eval echo '${'$as_ac_var'}'` = yes; then
29401 cat >>confdefs.h
<<_ACEOF
29402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29409 if test "$WCSLEN_FOUND" = 0; then
29410 if test "$TOOLKIT" = "MSW"; then
29411 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29412 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29413 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29414 echo $ECHO_N "(cached) $ECHO_C" >&6
29416 ac_check_lib_save_LIBS
=$LIBS
29417 LIBS
="-lmsvcrt $LIBS"
29418 cat >conftest.
$ac_ext <<_ACEOF
29421 cat confdefs.h
>>conftest.
$ac_ext
29422 cat >>conftest.
$ac_ext <<_ACEOF
29423 /* end confdefs.h. */
29425 /* Override any gcc2 internal prototype to avoid an error. */
29429 /* We use char because int might match the return type of a gcc2
29430 builtin and then its argument prototype would still apply. */
29440 rm -f conftest.
$ac_objext conftest
$ac_exeext
29441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29442 (eval $ac_link) 2>conftest.er1
29444 grep -v '^ *+' conftest.er1
>conftest.err
29446 cat conftest.err
>&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); } &&
29449 { ac_try
='test -z "$ac_c_werror_flag"
29450 || test ! -s conftest.err'
29451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29452 (eval $ac_try) 2>&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); }; } &&
29456 { ac_try
='test -s conftest$ac_exeext'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; }; then
29462 ac_cv_lib_msvcrt_wcslen
=yes
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.
$ac_ext >&5
29467 ac_cv_lib_msvcrt_wcslen
=no
29469 rm -f conftest.err conftest.
$ac_objext \
29470 conftest
$ac_exeext conftest.
$ac_ext
29471 LIBS
=$ac_check_lib_save_LIBS
29473 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29474 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29475 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29480 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29481 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29482 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29483 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 ac_check_lib_save_LIBS
=$LIBS
29487 cat >conftest.
$ac_ext <<_ACEOF
29490 cat confdefs.h
>>conftest.
$ac_ext
29491 cat >>conftest.
$ac_ext <<_ACEOF
29492 /* end confdefs.h. */
29494 /* Override any gcc2 internal prototype to avoid an error. */
29498 /* We use char because int might match the return type of a gcc2
29499 builtin and then its argument prototype would still apply. */
29509 rm -f conftest.
$ac_objext conftest
$ac_exeext
29510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29511 (eval $ac_link) 2>conftest.er1
29513 grep -v '^ *+' conftest.er1
>conftest.err
29515 cat conftest.err
>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } &&
29518 { ac_try
='test -z "$ac_c_werror_flag"
29519 || test ! -s conftest.err'
29520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29521 (eval $ac_try) 2>&5
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); }; } &&
29525 { ac_try
='test -s conftest$ac_exeext'
29526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29527 (eval $ac_try) 2>&5
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); }; }; then
29531 ac_cv_lib_w_wcslen
=yes
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.
$ac_ext >&5
29536 ac_cv_lib_w_wcslen
=no
29538 rm -f conftest.err conftest.
$ac_objext \
29539 conftest
$ac_exeext conftest.
$ac_ext
29540 LIBS
=$ac_check_lib_save_LIBS
29542 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29543 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29544 if test $ac_cv_lib_w_wcslen = yes; then
29554 if test "$WCSLEN_FOUND" = 1; then
29555 cat >>confdefs.h
<<\_ACEOF
29556 #define HAVE_WCSLEN 1
29561 if test "$USE_HPUX" = 1; then
29562 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29566 for ac_func
in wcsrtombs
29568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29569 echo "$as_me:$LINENO: checking for $ac_func" >&5
29570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29571 if eval "test \"\${$as_ac_var+set}\" = set"; then
29572 echo $ECHO_N "(cached) $ECHO_C" >&6
29574 cat >conftest.
$ac_ext <<_ACEOF
29577 cat confdefs.h
>>conftest.
$ac_ext
29578 cat >>conftest.
$ac_ext <<_ACEOF
29579 /* end confdefs.h. */
29580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29582 #define $ac_func innocuous_$ac_func
29584 /* System header to define __stub macros and hopefully few prototypes,
29585 which can conflict with char $ac_func (); below.
29586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29587 <limits.h> exists even on freestanding compilers. */
29590 # include <limits.h>
29592 # include <assert.h>
29597 /* Override any gcc2 internal prototype to avoid an error. */
29602 /* We use char because int might match the return type of a gcc2
29603 builtin and then its argument prototype would still apply. */
29605 /* The GNU C library defines this for functions which it implements
29606 to always fail with ENOSYS. Some functions are actually named
29607 something starting with __ and the normal name is an alias. */
29608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29611 char (*f) () = $ac_func;
29620 return f != $ac_func;
29625 rm -f conftest.
$ac_objext conftest
$ac_exeext
29626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29627 (eval $ac_link) 2>conftest.er1
29629 grep -v '^ *+' conftest.er1
>conftest.err
29631 cat conftest.err
>&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } &&
29634 { ac_try
='test -z "$ac_c_werror_flag"
29635 || test ! -s conftest.err'
29636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29637 (eval $ac_try) 2>&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); }; } &&
29641 { ac_try
='test -s conftest$ac_exeext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29647 eval "$as_ac_var=yes"
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.
$ac_ext >&5
29652 eval "$as_ac_var=no"
29654 rm -f conftest.err conftest.
$ac_objext \
29655 conftest
$ac_exeext conftest.
$ac_ext
29657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29659 if test `eval echo '${'$as_ac_var'}'` = yes; then
29660 cat >>confdefs.h
<<_ACEOF
29661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29668 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29669 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29675 ac_cpp
='$CXXCPP $CPPFLAGS'
29676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29682 for ac_func
in vsnprintf
29684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29685 echo "$as_me:$LINENO: checking for $ac_func" >&5
29686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29687 if eval "test \"\${$as_ac_var+set}\" = set"; then
29688 echo $ECHO_N "(cached) $ECHO_C" >&6
29690 cat >conftest.
$ac_ext <<_ACEOF
29693 cat confdefs.h
>>conftest.
$ac_ext
29694 cat >>conftest.
$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29698 #define $ac_func innocuous_$ac_func
29700 /* System header to define __stub macros and hopefully few prototypes,
29701 which can conflict with char $ac_func (); below.
29702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29703 <limits.h> exists even on freestanding compilers. */
29706 # include <limits.h>
29708 # include <assert.h>
29713 /* Override any gcc2 internal prototype to avoid an error. */
29718 /* We use char because int might match the return type of a gcc2
29719 builtin and then its argument prototype would still apply. */
29721 /* The GNU C library defines this for functions which it implements
29722 to always fail with ENOSYS. Some functions are actually named
29723 something starting with __ and the normal name is an alias. */
29724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29727 char (*f) () = $ac_func;
29736 return f != $ac_func;
29741 rm -f conftest.
$ac_objext conftest
$ac_exeext
29742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29743 (eval $ac_link) 2>conftest.er1
29745 grep -v '^ *+' conftest.er1
>conftest.err
29747 cat conftest.err
>&5
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); } &&
29750 { ac_try
='test -z "$ac_cxx_werror_flag"
29751 || test ! -s conftest.err'
29752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29753 (eval $ac_try) 2>&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); }; } &&
29757 { ac_try
='test -s conftest$ac_exeext'
29758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29759 (eval $ac_try) 2>&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); }; }; then
29763 eval "$as_ac_var=yes"
29765 echo "$as_me: failed program was:" >&5
29766 sed 's/^/| /' conftest.
$ac_ext >&5
29768 eval "$as_ac_var=no"
29770 rm -f conftest.err conftest.
$ac_objext \
29771 conftest
$ac_exeext conftest.
$ac_ext
29773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29775 if test `eval echo '${'$as_ac_var'}'` = yes; then
29776 cat >>confdefs.h
<<_ACEOF
29777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29784 if test "$ac_cv_func_vsnprintf" = "yes"; then
29785 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29786 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29787 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29788 echo $ECHO_N "(cached) $ECHO_C" >&6
29791 cat >conftest.
$ac_ext <<_ACEOF
29794 cat confdefs.h
>>conftest.
$ac_ext
29795 cat >>conftest.
$ac_ext <<_ACEOF
29796 /* end confdefs.h. */
29799 #include <stdarg.h>
29807 vsnprintf(buf, 10u, "%s", ap);
29813 rm -f conftest.
$ac_objext
29814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29815 (eval $ac_compile) 2>conftest.er1
29817 grep -v '^ *+' conftest.er1
>conftest.err
29819 cat conftest.err
>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); } &&
29822 { ac_try
='test -z "$ac_cxx_werror_flag"
29823 || test ! -s conftest.err'
29824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29825 (eval $ac_try) 2>&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; } &&
29829 { ac_try
='test -s conftest.$ac_objext'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; }; then
29835 wx_cv_func_vsnprintf_decl
=yes
29837 echo "$as_me: failed program was:" >&5
29838 sed 's/^/| /' conftest.
$ac_ext >&5
29841 cat >conftest.
$ac_ext <<_ACEOF
29844 cat confdefs.h
>>conftest.
$ac_ext
29845 cat >>conftest.
$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29849 #include <stdarg.h>
29850 using namespace std;
29858 vsnprintf(buf, 10u, "%s", ap);
29864 rm -f conftest.
$ac_objext
29865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29866 (eval $ac_compile) 2>conftest.er1
29868 grep -v '^ *+' conftest.er1
>conftest.err
29870 cat conftest.err
>&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); } &&
29873 { ac_try
='test -z "$ac_cxx_werror_flag"
29874 || test ! -s conftest.err'
29875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29876 (eval $ac_try) 2>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; } &&
29880 { ac_try
='test -s conftest.$ac_objext'
29881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882 (eval $ac_try) 2>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; }; then
29886 wx_cv_func_vsnprintf_decl
=yes
29888 echo "$as_me: failed program was:" >&5
29889 sed 's/^/| /' conftest.
$ac_ext >&5
29891 wx_cv_func_vsnprintf_decl
=no
29894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29902 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29903 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29905 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29906 cat >>confdefs.h
<<\_ACEOF
29907 #define HAVE_VSNPRINTF_DECL 1
29913 if test "$wxUSE_UNICODE" = yes; then
29920 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29923 echo "$as_me:$LINENO: checking for $ac_func" >&5
29924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29925 if eval "test \"\${$as_ac_var+set}\" = set"; then
29926 echo $ECHO_N "(cached) $ECHO_C" >&6
29928 cat >conftest.
$ac_ext <<_ACEOF
29931 cat confdefs.h
>>conftest.
$ac_ext
29932 cat >>conftest.
$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29936 #define $ac_func innocuous_$ac_func
29938 /* System header to define __stub macros and hopefully few prototypes,
29939 which can conflict with char $ac_func (); below.
29940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29941 <limits.h> exists even on freestanding compilers. */
29944 # include <limits.h>
29946 # include <assert.h>
29951 /* Override any gcc2 internal prototype to avoid an error. */
29956 /* We use char because int might match the return type of a gcc2
29957 builtin and then its argument prototype would still apply. */
29959 /* The GNU C library defines this for functions which it implements
29960 to always fail with ENOSYS. Some functions are actually named
29961 something starting with __ and the normal name is an alias. */
29962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29965 char (*f) () = $ac_func;
29974 return f != $ac_func;
29979 rm -f conftest.
$ac_objext conftest
$ac_exeext
29980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29981 (eval $ac_link) 2>conftest.er1
29983 grep -v '^ *+' conftest.er1
>conftest.err
29985 cat conftest.err
>&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } &&
29988 { ac_try
='test -z "$ac_cxx_werror_flag"
29989 || test ! -s conftest.err'
29990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29991 (eval $ac_try) 2>&5
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); }; } &&
29995 { ac_try
='test -s conftest$ac_exeext'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; }; then
30001 eval "$as_ac_var=yes"
30003 echo "$as_me: failed program was:" >&5
30004 sed 's/^/| /' conftest.
$ac_ext >&5
30006 eval "$as_ac_var=no"
30008 rm -f conftest.err conftest.
$ac_objext \
30009 conftest
$ac_exeext conftest.
$ac_ext
30011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30013 if test `eval echo '${'$as_ac_var'}'` = yes; then
30014 cat >>confdefs.h
<<_ACEOF
30015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30022 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30023 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30024 cat >conftest.
$ac_ext <<_ACEOF
30027 cat confdefs.h
>>conftest.
$ac_ext
30028 cat >>conftest.
$ac_ext <<_ACEOF
30029 /* end confdefs.h. */
30039 rm -f conftest.
$ac_objext
30040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30041 (eval $ac_compile) 2>conftest.er1
30043 grep -v '^ *+' conftest.er1
>conftest.err
30045 cat conftest.err
>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } &&
30048 { ac_try
='test -z "$ac_cxx_werror_flag"
30049 || test ! -s conftest.err'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; } &&
30055 { ac_try
='test -s conftest.$ac_objext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 echo "$as_me:$LINENO: result: yes" >&5
30062 echo "${ECHO_T}yes" >&6
30063 cat >>confdefs.h
<<\_ACEOF
30064 #define HAVE__VSNWPRINTF 1
30068 echo "$as_me: failed program was:" >&5
30069 sed 's/^/| /' conftest.
$ac_ext >&5
30071 echo "$as_me:$LINENO: result: no" >&5
30072 echo "${ECHO_T}no" >&6
30074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30078 ac_cpp
='$CPP $CPPFLAGS'
30079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30086 if test "$TOOLKIT" != "MSW"; then
30092 ac_cpp
='$CXXCPP $CPPFLAGS'
30093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30100 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30101 if test "${with_libiconv_prefix+set}" = set; then
30102 withval
="$with_libiconv_prefix"
30104 for dir
in `echo "$withval" | tr : ' '`; do
30105 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30106 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30111 echo "$as_me:$LINENO: checking for iconv" >&5
30112 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30113 if test "${am_cv_func_iconv+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30117 am_cv_func_iconv
="no, consider installing GNU libiconv"
30119 cat >conftest.
$ac_ext <<_ACEOF
30122 cat confdefs.h
>>conftest.
$ac_ext
30123 cat >>conftest.
$ac_ext <<_ACEOF
30124 /* end confdefs.h. */
30125 #include <stdlib.h>
30130 iconv_t cd = iconv_open("","");
30131 iconv(cd,NULL,NULL,NULL,NULL);
30137 rm -f conftest.
$ac_objext conftest
$ac_exeext
30138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30139 (eval $ac_link) 2>conftest.er1
30141 grep -v '^ *+' conftest.er1
>conftest.err
30143 cat conftest.err
>&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } &&
30146 { ac_try
='test -z "$ac_cxx_werror_flag"
30147 || test ! -s conftest.err'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; } &&
30153 { ac_try
='test -s conftest$ac_exeext'
30154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30155 (eval $ac_try) 2>&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); }; }; then
30159 am_cv_func_iconv
=yes
30161 echo "$as_me: failed program was:" >&5
30162 sed 's/^/| /' conftest.
$ac_ext >&5
30165 rm -f conftest.err conftest.
$ac_objext \
30166 conftest
$ac_exeext conftest.
$ac_ext
30167 if test "$am_cv_func_iconv" != yes; then
30168 am_save_LIBS
="$LIBS"
30169 LIBS
="$LIBS -liconv"
30170 cat >conftest.
$ac_ext <<_ACEOF
30173 cat confdefs.h
>>conftest.
$ac_ext
30174 cat >>conftest.
$ac_ext <<_ACEOF
30175 /* end confdefs.h. */
30176 #include <stdlib.h>
30181 iconv_t cd = iconv_open("","");
30182 iconv(cd,NULL,NULL,NULL,NULL);
30188 rm -f conftest.
$ac_objext conftest
$ac_exeext
30189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30190 (eval $ac_link) 2>conftest.er1
30192 grep -v '^ *+' conftest.er1
>conftest.err
30194 cat conftest.err
>&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } &&
30197 { ac_try
='test -z "$ac_cxx_werror_flag"
30198 || test ! -s conftest.err'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; } &&
30204 { ac_try
='test -s conftest$ac_exeext'
30205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30206 (eval $ac_try) 2>&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); }; }; then
30210 am_cv_lib_iconv
=yes
30211 am_cv_func_iconv
=yes
30213 echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.
$ac_ext >&5
30217 rm -f conftest.err conftest.
$ac_objext \
30218 conftest
$ac_exeext conftest.
$ac_ext
30219 LIBS
="$am_save_LIBS"
30223 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30224 echo "${ECHO_T}$am_cv_func_iconv" >&6
30225 if test "$am_cv_func_iconv" = yes; then
30227 cat >>confdefs.h
<<\_ACEOF
30228 #define HAVE_ICONV 1
30231 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30232 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30233 if test "${wx_cv_func_iconv_const+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30236 cat >conftest.
$ac_ext <<_ACEOF
30239 cat confdefs.h
>>conftest.
$ac_ext
30240 cat >>conftest.
$ac_ext <<_ACEOF
30241 /* end confdefs.h. */
30243 #include <stdlib.h>
30249 #if defined(__STDC__) || defined(__cplusplus)
30250 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30263 rm -f conftest.
$ac_objext
30264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30265 (eval $ac_compile) 2>conftest.er1
30267 grep -v '^ *+' conftest.er1
>conftest.err
30269 cat conftest.err
>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } &&
30272 { ac_try
='test -z "$ac_cxx_werror_flag"
30273 || test ! -s conftest.err'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; } &&
30279 { ac_try
='test -s conftest.$ac_objext'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30285 wx_cv_func_iconv_const
="no"
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.
$ac_ext >&5
30290 wx_cv_func_iconv_const
="yes"
30293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30296 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30297 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30300 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30301 iconv_const
="const"
30305 cat >>confdefs.h
<<_ACEOF
30306 #define ICONV_CONST $iconv_const
30311 if test "$am_cv_lib_iconv" = yes; then
30316 LIBS
="$LIBICONV $LIBS"
30318 ac_cpp
='$CPP $CPPFLAGS'
30319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30324 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30326 for ac_func
in sigaction
30328 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30329 echo "$as_me:$LINENO: checking for $ac_func" >&5
30330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30331 if eval "test \"\${$as_ac_var+set}\" = set"; then
30332 echo $ECHO_N "(cached) $ECHO_C" >&6
30334 cat >conftest.
$ac_ext <<_ACEOF
30337 cat confdefs.h
>>conftest.
$ac_ext
30338 cat >>conftest.
$ac_ext <<_ACEOF
30339 /* end confdefs.h. */
30340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30342 #define $ac_func innocuous_$ac_func
30344 /* System header to define __stub macros and hopefully few prototypes,
30345 which can conflict with char $ac_func (); below.
30346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30347 <limits.h> exists even on freestanding compilers. */
30350 # include <limits.h>
30352 # include <assert.h>
30357 /* Override any gcc2 internal prototype to avoid an error. */
30362 /* We use char because int might match the return type of a gcc2
30363 builtin and then its argument prototype would still apply. */
30365 /* The GNU C library defines this for functions which it implements
30366 to always fail with ENOSYS. Some functions are actually named
30367 something starting with __ and the normal name is an alias. */
30368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30371 char (*f) () = $ac_func;
30380 return f != $ac_func;
30385 rm -f conftest.
$ac_objext conftest
$ac_exeext
30386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30387 (eval $ac_link) 2>conftest.er1
30389 grep -v '^ *+' conftest.er1
>conftest.err
30391 cat conftest.err
>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); } &&
30394 { ac_try
='test -z "$ac_c_werror_flag"
30395 || test ! -s conftest.err'
30396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30397 (eval $ac_try) 2>&5
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); }; } &&
30401 { ac_try
='test -s conftest$ac_exeext'
30402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30403 (eval $ac_try) 2>&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); }; }; then
30407 eval "$as_ac_var=yes"
30409 echo "$as_me: failed program was:" >&5
30410 sed 's/^/| /' conftest.
$ac_ext >&5
30412 eval "$as_ac_var=no"
30414 rm -f conftest.err conftest.
$ac_objext \
30415 conftest
$ac_exeext conftest.
$ac_ext
30417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30419 if test `eval echo '${'$as_ac_var'}'` = yes; then
30420 cat >>confdefs.h
<<_ACEOF
30421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30428 if test "$ac_cv_func_sigaction" = "no"; then
30429 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30430 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30431 wxUSE_ON_FATAL_EXCEPTION
=no
30434 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30438 ac_cpp
='$CXXCPP $CPPFLAGS'
30439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30444 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30445 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30446 if test "${wx_cv_type_sa_handler+set}" = set; then
30447 echo $ECHO_N "(cached) $ECHO_C" >&6
30450 cat >conftest.
$ac_ext <<_ACEOF
30453 cat confdefs.h
>>conftest.
$ac_ext
30454 cat >>conftest.
$ac_ext <<_ACEOF
30455 /* end confdefs.h. */
30456 #include <signal.h>
30461 extern void testSigHandler(int);
30463 struct sigaction sa;
30464 sa.sa_handler = testSigHandler;
30470 rm -f conftest.
$ac_objext
30471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30472 (eval $ac_compile) 2>conftest.er1
30474 grep -v '^ *+' conftest.er1
>conftest.err
30476 cat conftest.err
>&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } &&
30479 { ac_try
='test -z "$ac_cxx_werror_flag"
30480 || test ! -s conftest.err'
30481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30482 (eval $ac_try) 2>&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); }; } &&
30486 { ac_try
='test -s conftest.$ac_objext'
30487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30488 (eval $ac_try) 2>&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); }; }; then
30493 wx_cv_type_sa_handler
=int
30496 echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.
$ac_ext >&5
30500 wx_cv_type_sa_handler
=void
30503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30506 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30507 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30510 ac_cpp
='$CPP $CPPFLAGS'
30511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30516 cat >>confdefs.h
<<_ACEOF
30517 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30523 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30527 ac_cpp
='$CXXCPP $CPPFLAGS'
30528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30533 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30534 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30535 if test "${wx_cv_func_backtrace+set}" = set; then
30536 echo $ECHO_N "(cached) $ECHO_C" >&6
30539 cat >conftest.
$ac_ext <<_ACEOF
30542 cat confdefs.h
>>conftest.
$ac_ext
30543 cat >>conftest.
$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30545 #include <execinfo.h>
30553 backtrace(trace, 1);
30554 messages = backtrace_symbols(trace, 1);
30560 rm -f conftest.
$ac_objext
30561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30562 (eval $ac_compile) 2>conftest.er1
30564 grep -v '^ *+' conftest.er1
>conftest.err
30566 cat conftest.err
>&5
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); } &&
30569 { ac_try
='test -z "$ac_cxx_werror_flag"
30570 || test ! -s conftest.err'
30571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30572 (eval $ac_try) 2>&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); }; } &&
30576 { ac_try
='test -s conftest.$ac_objext'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; }; then
30582 wx_cv_func_backtrace
=yes
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.
$ac_ext >&5
30587 wx_cv_func_backtrace
=no
30590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30594 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30595 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30598 if test "$wx_cv_func_backtrace" = "no"; then
30599 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30600 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30601 wxUSE_STACKWALKER
=no
30603 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30604 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30605 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 cat >conftest.
$ac_ext <<_ACEOF
30612 cat confdefs.h
>>conftest.
$ac_ext
30613 cat >>conftest.
$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 #include <cxxabi.h>
30621 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30627 rm -f conftest.
$ac_objext
30628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30629 (eval $ac_compile) 2>conftest.er1
30631 grep -v '^ *+' conftest.er1
>conftest.err
30633 cat conftest.err
>&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); } &&
30636 { ac_try
='test -z "$ac_cxx_werror_flag"
30637 || test ! -s conftest.err'
30638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30639 (eval $ac_try) 2>&5
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); }; } &&
30643 { ac_try
='test -s conftest.$ac_objext'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; }; then
30649 wx_cv_func_cxa_demangle
=yes
30651 echo "$as_me: failed program was:" >&5
30652 sed 's/^/| /' conftest.
$ac_ext >&5
30654 wx_cv_func_cxa_demangle
=no
30657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30661 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30662 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30664 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30665 cat >>confdefs.h
<<\_ACEOF
30666 #define HAVE_CXA_DEMANGLE 1
30673 ac_cpp
='$CPP $CPPFLAGS'
30674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30682 for ac_func
in mkstemp mktemp
30684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30685 echo "$as_me:$LINENO: checking for $ac_func" >&5
30686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30687 if eval "test \"\${$as_ac_var+set}\" = set"; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 cat >conftest.
$ac_ext <<_ACEOF
30693 cat confdefs.h
>>conftest.
$ac_ext
30694 cat >>conftest.
$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30698 #define $ac_func innocuous_$ac_func
30700 /* System header to define __stub macros and hopefully few prototypes,
30701 which can conflict with char $ac_func (); below.
30702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30703 <limits.h> exists even on freestanding compilers. */
30706 # include <limits.h>
30708 # include <assert.h>
30713 /* Override any gcc2 internal prototype to avoid an error. */
30718 /* We use char because int might match the return type of a gcc2
30719 builtin and then its argument prototype would still apply. */
30721 /* The GNU C library defines this for functions which it implements
30722 to always fail with ENOSYS. Some functions are actually named
30723 something starting with __ and the normal name is an alias. */
30724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30727 char (*f) () = $ac_func;
30736 return f != $ac_func;
30741 rm -f conftest.
$ac_objext conftest
$ac_exeext
30742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30743 (eval $ac_link) 2>conftest.er1
30745 grep -v '^ *+' conftest.er1
>conftest.err
30747 cat conftest.err
>&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); } &&
30750 { ac_try
='test -z "$ac_c_werror_flag"
30751 || test ! -s conftest.err'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; } &&
30757 { ac_try
='test -s conftest$ac_exeext'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; }; then
30763 eval "$as_ac_var=yes"
30765 echo "$as_me: failed program was:" >&5
30766 sed 's/^/| /' conftest.
$ac_ext >&5
30768 eval "$as_ac_var=no"
30770 rm -f conftest.err conftest.
$ac_objext \
30771 conftest
$ac_exeext conftest.
$ac_ext
30773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30775 if test `eval echo '${'$as_ac_var'}'` = yes; then
30776 cat >>confdefs.h
<<_ACEOF
30777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30784 echo "$as_me:$LINENO: checking for statfs" >&5
30785 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30786 if test "${wx_cv_func_statfs+set}" = set; then
30787 echo $ECHO_N "(cached) $ECHO_C" >&6
30789 cat >conftest.
$ac_ext <<_ACEOF
30792 cat confdefs.h
>>conftest.
$ac_ext
30793 cat >>conftest.
$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30796 #if defined(__BSD__)
30797 #include <sys/param.h>
30798 #include <sys/mount.h>
30800 #include <sys/vfs.h>
30818 rm -f conftest.
$ac_objext
30819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30820 (eval $ac_compile) 2>conftest.er1
30822 grep -v '^ *+' conftest.er1
>conftest.err
30824 cat conftest.err
>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } &&
30827 { ac_try
='test -z "$ac_c_werror_flag"
30828 || test ! -s conftest.err'
30829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30830 (eval $ac_try) 2>&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); }; } &&
30834 { ac_try
='test -s conftest.$ac_objext'
30835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30836 (eval $ac_try) 2>&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); }; }; then
30841 wx_cv_func_statfs
=yes
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.
$ac_ext >&5
30848 wx_cv_func_statfs
=no
30852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30855 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30856 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30858 if test "$wx_cv_func_statfs" = "yes"; then
30859 wx_cv_type_statvfs_t
="struct statfs"
30860 cat >>confdefs.h
<<\_ACEOF
30861 #define HAVE_STATFS 1
30865 echo "$as_me:$LINENO: checking for statvfs" >&5
30866 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30867 if test "${wx_cv_func_statvfs+set}" = set; then
30868 echo $ECHO_N "(cached) $ECHO_C" >&6
30870 cat >conftest.
$ac_ext <<_ACEOF
30873 cat confdefs.h
>>conftest.
$ac_ext
30874 cat >>conftest.
$ac_ext <<_ACEOF
30875 /* end confdefs.h. */
30877 #include <stddef.h>
30878 #include <sys/statvfs.h>
30884 statvfs("/", NULL);
30890 rm -f conftest.
$ac_objext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30892 (eval $ac_compile) 2>conftest.er1
30894 grep -v '^ *+' conftest.er1
>conftest.err
30896 cat conftest.err
>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } &&
30899 { ac_try
='test -z "$ac_c_werror_flag"
30900 || test ! -s conftest.err'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; } &&
30906 { ac_try
='test -s conftest.$ac_objext'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; }; then
30912 wx_cv_func_statvfs
=yes
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.
$ac_ext >&5
30917 wx_cv_func_statvfs
=no
30920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30923 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30924 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30926 if test "$wx_cv_func_statvfs" = "yes"; then
30930 ac_cpp
='$CXXCPP $CPPFLAGS'
30931 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30936 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30937 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30938 if test "${wx_cv_type_statvfs_t+set}" = set; then
30939 echo $ECHO_N "(cached) $ECHO_C" >&6
30941 cat >conftest.
$ac_ext <<_ACEOF
30944 cat confdefs.h
>>conftest.
$ac_ext
30945 cat >>conftest.
$ac_ext <<_ACEOF
30946 /* end confdefs.h. */
30948 #include <sys/statvfs.h>
30965 rm -f conftest.
$ac_objext
30966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30967 (eval $ac_compile) 2>conftest.er1
30969 grep -v '^ *+' conftest.er1
>conftest.err
30971 cat conftest.err
>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); } &&
30974 { ac_try
='test -z "$ac_cxx_werror_flag"
30975 || test ! -s conftest.err'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; } &&
30981 { ac_try
='test -s conftest.$ac_objext'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; }; then
30987 wx_cv_type_statvfs_t
=statvfs_t
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.
$ac_ext >&5
30993 cat >conftest.
$ac_ext <<_ACEOF
30996 cat confdefs.h
>>conftest.
$ac_ext
30997 cat >>conftest.
$ac_ext <<_ACEOF
30998 /* end confdefs.h. */
31000 #include <sys/statvfs.h>
31017 rm -f conftest.
$ac_objext
31018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31019 (eval $ac_compile) 2>conftest.er1
31021 grep -v '^ *+' conftest.er1
>conftest.err
31023 cat conftest.err
>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } &&
31026 { ac_try
='test -z "$ac_cxx_werror_flag"
31027 || test ! -s conftest.err'
31028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029 (eval $ac_try) 2>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; } &&
31033 { ac_try
='test -s conftest.$ac_objext'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; }; then
31039 wx_cv_type_statvfs_t
="struct statvfs"
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.
$ac_ext >&5
31044 wx_cv_type_statvfs_t
="unknown"
31047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31054 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31055 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31058 ac_cpp
='$CPP $CPPFLAGS'
31059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31064 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31065 cat >>confdefs.h
<<\_ACEOF
31066 #define HAVE_STATVFS 1
31071 wx_cv_type_statvfs_t
="unknown"
31075 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31076 cat >>confdefs.h
<<_ACEOF
31077 #define WX_STATFS_T $wx_cv_type_statvfs_t
31081 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31082 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31085 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31088 for ac_func
in fcntl flock
31090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31091 echo "$as_me:$LINENO: checking for $ac_func" >&5
31092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31093 if eval "test \"\${$as_ac_var+set}\" = set"; then
31094 echo $ECHO_N "(cached) $ECHO_C" >&6
31096 cat >conftest.
$ac_ext <<_ACEOF
31099 cat confdefs.h
>>conftest.
$ac_ext
31100 cat >>conftest.
$ac_ext <<_ACEOF
31101 /* end confdefs.h. */
31102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31104 #define $ac_func innocuous_$ac_func
31106 /* System header to define __stub macros and hopefully few prototypes,
31107 which can conflict with char $ac_func (); below.
31108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31109 <limits.h> exists even on freestanding compilers. */
31112 # include <limits.h>
31114 # include <assert.h>
31119 /* Override any gcc2 internal prototype to avoid an error. */
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31127 /* The GNU C library defines this for functions which it implements
31128 to always fail with ENOSYS. Some functions are actually named
31129 something starting with __ and the normal name is an alias. */
31130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31133 char (*f) () = $ac_func;
31142 return f != $ac_func;
31147 rm -f conftest.
$ac_objext conftest
$ac_exeext
31148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31149 (eval $ac_link) 2>conftest.er1
31151 grep -v '^ *+' conftest.er1
>conftest.err
31153 cat conftest.err
>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } &&
31156 { ac_try
='test -z "$ac_c_werror_flag"
31157 || test ! -s conftest.err'
31158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31159 (eval $ac_try) 2>&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); }; } &&
31163 { ac_try
='test -s conftest$ac_exeext'
31164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31165 (eval $ac_try) 2>&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; }; then
31169 eval "$as_ac_var=yes"
31171 echo "$as_me: failed program was:" >&5
31172 sed 's/^/| /' conftest.
$ac_ext >&5
31174 eval "$as_ac_var=no"
31176 rm -f conftest.err conftest.
$ac_objext \
31177 conftest
$ac_exeext conftest.
$ac_ext
31179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31181 if test `eval echo '${'$as_ac_var'}'` = yes; then
31182 cat >>confdefs.h
<<_ACEOF
31183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31190 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31191 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31192 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31193 wxUSE_SNGLINST_CHECKER
=no
31198 for ac_func
in timegm
31200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31201 echo "$as_me:$LINENO: checking for $ac_func" >&5
31202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31203 if eval "test \"\${$as_ac_var+set}\" = set"; then
31204 echo $ECHO_N "(cached) $ECHO_C" >&6
31206 cat >conftest.
$ac_ext <<_ACEOF
31209 cat confdefs.h
>>conftest.
$ac_ext
31210 cat >>conftest.
$ac_ext <<_ACEOF
31211 /* end confdefs.h. */
31212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31214 #define $ac_func innocuous_$ac_func
31216 /* System header to define __stub macros and hopefully few prototypes,
31217 which can conflict with char $ac_func (); below.
31218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31219 <limits.h> exists even on freestanding compilers. */
31222 # include <limits.h>
31224 # include <assert.h>
31229 /* Override any gcc2 internal prototype to avoid an error. */
31234 /* We use char because int might match the return type of a gcc2
31235 builtin and then its argument prototype would still apply. */
31237 /* The GNU C library defines this for functions which it implements
31238 to always fail with ENOSYS. Some functions are actually named
31239 something starting with __ and the normal name is an alias. */
31240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31243 char (*f) () = $ac_func;
31252 return f != $ac_func;
31257 rm -f conftest.
$ac_objext conftest
$ac_exeext
31258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31259 (eval $ac_link) 2>conftest.er1
31261 grep -v '^ *+' conftest.er1
>conftest.err
31263 cat conftest.err
>&5
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); } &&
31266 { ac_try
='test -z "$ac_c_werror_flag"
31267 || test ! -s conftest.err'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; } &&
31273 { ac_try
='test -s conftest$ac_exeext'
31274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31275 (eval $ac_try) 2>&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); }; }; then
31279 eval "$as_ac_var=yes"
31281 echo "$as_me: failed program was:" >&5
31282 sed 's/^/| /' conftest.
$ac_ext >&5
31284 eval "$as_ac_var=no"
31286 rm -f conftest.err conftest.
$ac_objext \
31287 conftest
$ac_exeext conftest.
$ac_ext
31289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31291 if test `eval echo '${'$as_ac_var'}'` = yes; then
31292 cat >>confdefs.h
<<_ACEOF
31293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31302 for ac_func
in putenv setenv
31304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31305 echo "$as_me:$LINENO: checking for $ac_func" >&5
31306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31307 if eval "test \"\${$as_ac_var+set}\" = set"; then
31308 echo $ECHO_N "(cached) $ECHO_C" >&6
31310 cat >conftest.
$ac_ext <<_ACEOF
31313 cat confdefs.h
>>conftest.
$ac_ext
31314 cat >>conftest.
$ac_ext <<_ACEOF
31315 /* end confdefs.h. */
31316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31318 #define $ac_func innocuous_$ac_func
31320 /* System header to define __stub macros and hopefully few prototypes,
31321 which can conflict with char $ac_func (); below.
31322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31323 <limits.h> exists even on freestanding compilers. */
31326 # include <limits.h>
31328 # include <assert.h>
31333 /* Override any gcc2 internal prototype to avoid an error. */
31338 /* We use char because int might match the return type of a gcc2
31339 builtin and then its argument prototype would still apply. */
31341 /* The GNU C library defines this for functions which it implements
31342 to always fail with ENOSYS. Some functions are actually named
31343 something starting with __ and the normal name is an alias. */
31344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31347 char (*f) () = $ac_func;
31356 return f != $ac_func;
31361 rm -f conftest.
$ac_objext conftest
$ac_exeext
31362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31363 (eval $ac_link) 2>conftest.er1
31365 grep -v '^ *+' conftest.er1
>conftest.err
31367 cat conftest.err
>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); } &&
31370 { ac_try
='test -z "$ac_c_werror_flag"
31371 || test ! -s conftest.err'
31372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31373 (eval $ac_try) 2>&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); }; } &&
31377 { ac_try
='test -s conftest$ac_exeext'
31378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31379 (eval $ac_try) 2>&5
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); }; }; then
31383 eval "$as_ac_var=yes"
31385 echo "$as_me: failed program was:" >&5
31386 sed 's/^/| /' conftest.
$ac_ext >&5
31388 eval "$as_ac_var=no"
31390 rm -f conftest.err conftest.
$ac_objext \
31391 conftest
$ac_exeext conftest.
$ac_ext
31393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31395 if test `eval echo '${'$as_ac_var'}'` = yes; then
31396 cat >>confdefs.h
<<_ACEOF
31397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31404 HAVE_SOME_SLEEP_FUNC
=0
31405 if test "$USE_BEOS" = 1; then
31406 cat >>confdefs.h
<<\_ACEOF
31407 #define HAVE_SLEEP 1
31410 HAVE_SOME_SLEEP_FUNC
=1
31413 if test "$USE_DARWIN" = 1; then
31414 cat >>confdefs.h
<<\_ACEOF
31415 #define HAVE_USLEEP 1
31418 HAVE_SOME_SLEEP_FUNC
=1
31421 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31424 for ac_func
in nanosleep
31426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31427 echo "$as_me:$LINENO: checking for $ac_func" >&5
31428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31429 if eval "test \"\${$as_ac_var+set}\" = set"; then
31430 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 cat >conftest.
$ac_ext <<_ACEOF
31435 cat confdefs.h
>>conftest.
$ac_ext
31436 cat >>conftest.
$ac_ext <<_ACEOF
31437 /* end confdefs.h. */
31438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31440 #define $ac_func innocuous_$ac_func
31442 /* System header to define __stub macros and hopefully few prototypes,
31443 which can conflict with char $ac_func (); below.
31444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31445 <limits.h> exists even on freestanding compilers. */
31448 # include <limits.h>
31450 # include <assert.h>
31455 /* Override any gcc2 internal prototype to avoid an error. */
31460 /* We use char because int might match the return type of a gcc2
31461 builtin and then its argument prototype would still apply. */
31463 /* The GNU C library defines this for functions which it implements
31464 to always fail with ENOSYS. Some functions are actually named
31465 something starting with __ and the normal name is an alias. */
31466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31469 char (*f) () = $ac_func;
31478 return f != $ac_func;
31483 rm -f conftest.
$ac_objext conftest
$ac_exeext
31484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31485 (eval $ac_link) 2>conftest.er1
31487 grep -v '^ *+' conftest.er1
>conftest.err
31489 cat conftest.err
>&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); } &&
31492 { ac_try
='test -z "$ac_c_werror_flag"
31493 || test ! -s conftest.err'
31494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31495 (eval $ac_try) 2>&5
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; } &&
31499 { ac_try
='test -s conftest$ac_exeext'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; }; then
31505 eval "$as_ac_var=yes"
31507 echo "$as_me: failed program was:" >&5
31508 sed 's/^/| /' conftest.
$ac_ext >&5
31510 eval "$as_ac_var=no"
31512 rm -f conftest.err conftest.
$ac_objext \
31513 conftest
$ac_exeext conftest.
$ac_ext
31515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31517 if test `eval echo '${'$as_ac_var'}'` = yes; then
31518 cat >>confdefs.h
<<_ACEOF
31519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31521 cat >>confdefs.h
<<\_ACEOF
31522 #define HAVE_NANOSLEEP 1
31527 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31528 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31529 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31530 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 ac_check_lib_save_LIBS
=$LIBS
31533 LIBS
="-lposix4 $LIBS"
31534 cat >conftest.
$ac_ext <<_ACEOF
31537 cat confdefs.h
>>conftest.
$ac_ext
31538 cat >>conftest.
$ac_ext <<_ACEOF
31539 /* end confdefs.h. */
31541 /* Override any gcc2 internal prototype to avoid an error. */
31545 /* We use char because int might match the return type of a gcc2
31546 builtin and then its argument prototype would still apply. */
31556 rm -f conftest.
$ac_objext conftest
$ac_exeext
31557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31558 (eval $ac_link) 2>conftest.er1
31560 grep -v '^ *+' conftest.er1
>conftest.err
31562 cat conftest.err
>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); } &&
31565 { ac_try
='test -z "$ac_c_werror_flag"
31566 || test ! -s conftest.err'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; } &&
31572 { ac_try
='test -s conftest$ac_exeext'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; }; then
31578 ac_cv_lib_posix4_nanosleep
=yes
31580 echo "$as_me: failed program was:" >&5
31581 sed 's/^/| /' conftest.
$ac_ext >&5
31583 ac_cv_lib_posix4_nanosleep
=no
31585 rm -f conftest.err conftest.
$ac_objext \
31586 conftest
$ac_exeext conftest.
$ac_ext
31587 LIBS
=$ac_check_lib_save_LIBS
31589 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31590 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31591 if test $ac_cv_lib_posix4_nanosleep = yes; then
31593 cat >>confdefs.h
<<\_ACEOF
31594 #define HAVE_NANOSLEEP 1
31597 POSIX4_LINK
=" -lposix4"
31602 for ac_func
in usleep
31604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31605 echo "$as_me:$LINENO: checking for $ac_func" >&5
31606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31607 if eval "test \"\${$as_ac_var+set}\" = set"; then
31608 echo $ECHO_N "(cached) $ECHO_C" >&6
31610 cat >conftest.
$ac_ext <<_ACEOF
31613 cat confdefs.h
>>conftest.
$ac_ext
31614 cat >>conftest.
$ac_ext <<_ACEOF
31615 /* end confdefs.h. */
31616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31618 #define $ac_func innocuous_$ac_func
31620 /* System header to define __stub macros and hopefully few prototypes,
31621 which can conflict with char $ac_func (); below.
31622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31623 <limits.h> exists even on freestanding compilers. */
31626 # include <limits.h>
31628 # include <assert.h>
31633 /* Override any gcc2 internal prototype to avoid an error. */
31638 /* We use char because int might match the return type of a gcc2
31639 builtin and then its argument prototype would still apply. */
31641 /* The GNU C library defines this for functions which it implements
31642 to always fail with ENOSYS. Some functions are actually named
31643 something starting with __ and the normal name is an alias. */
31644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31647 char (*f) () = $ac_func;
31656 return f != $ac_func;
31661 rm -f conftest.
$ac_objext conftest
$ac_exeext
31662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31663 (eval $ac_link) 2>conftest.er1
31665 grep -v '^ *+' conftest.er1
>conftest.err
31667 cat conftest.err
>&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); } &&
31670 { ac_try
='test -z "$ac_c_werror_flag"
31671 || test ! -s conftest.err'
31672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31673 (eval $ac_try) 2>&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); }; } &&
31677 { ac_try
='test -s conftest$ac_exeext'
31678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31679 (eval $ac_try) 2>&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); }; }; then
31683 eval "$as_ac_var=yes"
31685 echo "$as_me: failed program was:" >&5
31686 sed 's/^/| /' conftest.
$ac_ext >&5
31688 eval "$as_ac_var=no"
31690 rm -f conftest.err conftest.
$ac_objext \
31691 conftest
$ac_exeext conftest.
$ac_ext
31693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31695 if test `eval echo '${'$as_ac_var'}'` = yes; then
31696 cat >>confdefs.h
<<_ACEOF
31697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31699 cat >>confdefs.h
<<\_ACEOF
31700 #define HAVE_USLEEP 1
31704 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31705 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31723 for ac_func
in uname gethostname
31725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31726 echo "$as_me:$LINENO: checking for $ac_func" >&5
31727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31728 if eval "test \"\${$as_ac_var+set}\" = set"; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 cat >conftest.
$ac_ext <<_ACEOF
31734 cat confdefs.h
>>conftest.
$ac_ext
31735 cat >>conftest.
$ac_ext <<_ACEOF
31736 /* end confdefs.h. */
31737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31739 #define $ac_func innocuous_$ac_func
31741 /* System header to define __stub macros and hopefully few prototypes,
31742 which can conflict with char $ac_func (); below.
31743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31744 <limits.h> exists even on freestanding compilers. */
31747 # include <limits.h>
31749 # include <assert.h>
31754 /* Override any gcc2 internal prototype to avoid an error. */
31759 /* We use char because int might match the return type of a gcc2
31760 builtin and then its argument prototype would still apply. */
31762 /* The GNU C library defines this for functions which it implements
31763 to always fail with ENOSYS. Some functions are actually named
31764 something starting with __ and the normal name is an alias. */
31765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31768 char (*f) () = $ac_func;
31777 return f != $ac_func;
31782 rm -f conftest.
$ac_objext conftest
$ac_exeext
31783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31784 (eval $ac_link) 2>conftest.er1
31786 grep -v '^ *+' conftest.er1
>conftest.err
31788 cat conftest.err
>&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); } &&
31791 { ac_try
='test -z "$ac_c_werror_flag"
31792 || test ! -s conftest.err'
31793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31794 (eval $ac_try) 2>&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); }; } &&
31798 { ac_try
='test -s conftest$ac_exeext'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; }; then
31804 eval "$as_ac_var=yes"
31806 echo "$as_me: failed program was:" >&5
31807 sed 's/^/| /' conftest.
$ac_ext >&5
31809 eval "$as_ac_var=no"
31811 rm -f conftest.err conftest.
$ac_objext \
31812 conftest
$ac_exeext conftest.
$ac_ext
31814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31816 if test `eval echo '${'$as_ac_var'}'` = yes; then
31817 cat >>confdefs.h
<<_ACEOF
31818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31828 ac_cpp
='$CXXCPP $CPPFLAGS'
31829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31835 for ac_func
in strtok_r
31837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31838 echo "$as_me:$LINENO: checking for $ac_func" >&5
31839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31840 if eval "test \"\${$as_ac_var+set}\" = set"; then
31841 echo $ECHO_N "(cached) $ECHO_C" >&6
31843 cat >conftest.
$ac_ext <<_ACEOF
31846 cat confdefs.h
>>conftest.
$ac_ext
31847 cat >>conftest.
$ac_ext <<_ACEOF
31848 /* end confdefs.h. */
31849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31851 #define $ac_func innocuous_$ac_func
31853 /* System header to define __stub macros and hopefully few prototypes,
31854 which can conflict with char $ac_func (); below.
31855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31856 <limits.h> exists even on freestanding compilers. */
31859 # include <limits.h>
31861 # include <assert.h>
31866 /* Override any gcc2 internal prototype to avoid an error. */
31871 /* We use char because int might match the return type of a gcc2
31872 builtin and then its argument prototype would still apply. */
31874 /* The GNU C library defines this for functions which it implements
31875 to always fail with ENOSYS. Some functions are actually named
31876 something starting with __ and the normal name is an alias. */
31877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31880 char (*f) () = $ac_func;
31889 return f != $ac_func;
31894 rm -f conftest.
$ac_objext conftest
$ac_exeext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31896 (eval $ac_link) 2>conftest.er1
31898 grep -v '^ *+' conftest.er1
>conftest.err
31900 cat conftest.err
>&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } &&
31903 { ac_try
='test -z "$ac_cxx_werror_flag"
31904 || test ! -s conftest.err'
31905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31906 (eval $ac_try) 2>&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); }; } &&
31910 { ac_try
='test -s conftest$ac_exeext'
31911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912 (eval $ac_try) 2>&5
31914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915 (exit $ac_status); }; }; then
31916 eval "$as_ac_var=yes"
31918 echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.
$ac_ext >&5
31921 eval "$as_ac_var=no"
31923 rm -f conftest.err conftest.
$ac_objext \
31924 conftest
$ac_exeext conftest.
$ac_ext
31926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31928 if test `eval echo '${'$as_ac_var'}'` = yes; then
31929 cat >>confdefs.h
<<_ACEOF
31930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31938 ac_cpp
='$CPP $CPPFLAGS'
31939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31946 for ac_func
in inet_addr
31948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31949 echo "$as_me:$LINENO: checking for $ac_func" >&5
31950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31951 if eval "test \"\${$as_ac_var+set}\" = set"; then
31952 echo $ECHO_N "(cached) $ECHO_C" >&6
31954 cat >conftest.
$ac_ext <<_ACEOF
31957 cat confdefs.h
>>conftest.
$ac_ext
31958 cat >>conftest.
$ac_ext <<_ACEOF
31959 /* end confdefs.h. */
31960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31962 #define $ac_func innocuous_$ac_func
31964 /* System header to define __stub macros and hopefully few prototypes,
31965 which can conflict with char $ac_func (); below.
31966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31967 <limits.h> exists even on freestanding compilers. */
31970 # include <limits.h>
31972 # include <assert.h>
31977 /* Override any gcc2 internal prototype to avoid an error. */
31982 /* We use char because int might match the return type of a gcc2
31983 builtin and then its argument prototype would still apply. */
31985 /* The GNU C library defines this for functions which it implements
31986 to always fail with ENOSYS. Some functions are actually named
31987 something starting with __ and the normal name is an alias. */
31988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31991 char (*f) () = $ac_func;
32000 return f != $ac_func;
32005 rm -f conftest.
$ac_objext conftest
$ac_exeext
32006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32007 (eval $ac_link) 2>conftest.er1
32009 grep -v '^ *+' conftest.er1
>conftest.err
32011 cat conftest.err
>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); } &&
32014 { ac_try
='test -z "$ac_c_werror_flag"
32015 || test ! -s conftest.err'
32016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32017 (eval $ac_try) 2>&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); }; } &&
32021 { ac_try
='test -s conftest$ac_exeext'
32022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32023 (eval $ac_try) 2>&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); }; }; then
32027 eval "$as_ac_var=yes"
32029 echo "$as_me: failed program was:" >&5
32030 sed 's/^/| /' conftest.
$ac_ext >&5
32032 eval "$as_ac_var=no"
32034 rm -f conftest.err conftest.
$ac_objext \
32035 conftest
$ac_exeext conftest.
$ac_ext
32037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32039 if test `eval echo '${'$as_ac_var'}'` = yes; then
32040 cat >>confdefs.h
<<_ACEOF
32041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32043 cat >>confdefs.h
<<\_ACEOF
32044 #define HAVE_INET_ADDR 1
32049 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32050 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32051 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32052 echo $ECHO_N "(cached) $ECHO_C" >&6
32054 ac_check_lib_save_LIBS
=$LIBS
32056 cat >conftest.
$ac_ext <<_ACEOF
32059 cat confdefs.h
>>conftest.
$ac_ext
32060 cat >>conftest.
$ac_ext <<_ACEOF
32061 /* end confdefs.h. */
32063 /* Override any gcc2 internal prototype to avoid an error. */
32067 /* We use char because int might match the return type of a gcc2
32068 builtin and then its argument prototype would still apply. */
32078 rm -f conftest.
$ac_objext conftest
$ac_exeext
32079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32080 (eval $ac_link) 2>conftest.er1
32082 grep -v '^ *+' conftest.er1
>conftest.err
32084 cat conftest.err
>&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); } &&
32087 { ac_try
='test -z "$ac_c_werror_flag"
32088 || test ! -s conftest.err'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; } &&
32094 { ac_try
='test -s conftest$ac_exeext'
32095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32096 (eval $ac_try) 2>&5
32098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099 (exit $ac_status); }; }; then
32100 ac_cv_lib_nsl_inet_addr
=yes
32102 echo "$as_me: failed program was:" >&5
32103 sed 's/^/| /' conftest.
$ac_ext >&5
32105 ac_cv_lib_nsl_inet_addr
=no
32107 rm -f conftest.err conftest.
$ac_objext \
32108 conftest
$ac_exeext conftest.
$ac_ext
32109 LIBS
=$ac_check_lib_save_LIBS
32111 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32112 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32113 if test $ac_cv_lib_nsl_inet_addr = yes; then
32117 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32118 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32119 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32120 echo $ECHO_N "(cached) $ECHO_C" >&6
32122 ac_check_lib_save_LIBS
=$LIBS
32123 LIBS
="-lresolv $LIBS"
32124 cat >conftest.
$ac_ext <<_ACEOF
32127 cat confdefs.h
>>conftest.
$ac_ext
32128 cat >>conftest.
$ac_ext <<_ACEOF
32129 /* end confdefs.h. */
32131 /* Override any gcc2 internal prototype to avoid an error. */
32135 /* We use char because int might match the return type of a gcc2
32136 builtin and then its argument prototype would still apply. */
32146 rm -f conftest.
$ac_objext conftest
$ac_exeext
32147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32148 (eval $ac_link) 2>conftest.er1
32150 grep -v '^ *+' conftest.er1
>conftest.err
32152 cat conftest.err
>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } &&
32155 { ac_try
='test -z "$ac_c_werror_flag"
32156 || test ! -s conftest.err'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try
='test -s conftest$ac_exeext'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32168 ac_cv_lib_resolv_inet_addr
=yes
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.
$ac_ext >&5
32173 ac_cv_lib_resolv_inet_addr
=no
32175 rm -f conftest.err conftest.
$ac_objext \
32176 conftest
$ac_exeext conftest.
$ac_ext
32177 LIBS
=$ac_check_lib_save_LIBS
32179 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32180 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32181 if test $ac_cv_lib_resolv_inet_addr = yes; then
32185 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32186 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32187 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32188 echo $ECHO_N "(cached) $ECHO_C" >&6
32190 ac_check_lib_save_LIBS
=$LIBS
32191 LIBS
="-lsocket $LIBS"
32192 cat >conftest.
$ac_ext <<_ACEOF
32195 cat confdefs.h
>>conftest.
$ac_ext
32196 cat >>conftest.
$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32199 /* Override any gcc2 internal prototype to avoid an error. */
32203 /* We use char because int might match the return type of a gcc2
32204 builtin and then its argument prototype would still apply. */
32214 rm -f conftest.
$ac_objext conftest
$ac_exeext
32215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32216 (eval $ac_link) 2>conftest.er1
32218 grep -v '^ *+' conftest.er1
>conftest.err
32220 cat conftest.err
>&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); } &&
32223 { ac_try
='test -z "$ac_c_werror_flag"
32224 || test ! -s conftest.err'
32225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32226 (eval $ac_try) 2>&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); }; } &&
32230 { ac_try
='test -s conftest$ac_exeext'
32231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232 (eval $ac_try) 2>&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); }; }; then
32236 ac_cv_lib_socket_inet_addr
=yes
32238 echo "$as_me: failed program was:" >&5
32239 sed 's/^/| /' conftest.
$ac_ext >&5
32241 ac_cv_lib_socket_inet_addr
=no
32243 rm -f conftest.err conftest.
$ac_objext \
32244 conftest
$ac_exeext conftest.
$ac_ext
32245 LIBS
=$ac_check_lib_save_LIBS
32247 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32248 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32249 if test $ac_cv_lib_socket_inet_addr = yes; then
32269 for ac_func
in inet_aton
32271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32272 echo "$as_me:$LINENO: checking for $ac_func" >&5
32273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32274 if eval "test \"\${$as_ac_var+set}\" = set"; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32277 cat >conftest.
$ac_ext <<_ACEOF
32280 cat confdefs.h
>>conftest.
$ac_ext
32281 cat >>conftest.
$ac_ext <<_ACEOF
32282 /* end confdefs.h. */
32283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32285 #define $ac_func innocuous_$ac_func
32287 /* System header to define __stub macros and hopefully few prototypes,
32288 which can conflict with char $ac_func (); below.
32289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32290 <limits.h> exists even on freestanding compilers. */
32293 # include <limits.h>
32295 # include <assert.h>
32300 /* Override any gcc2 internal prototype to avoid an error. */
32305 /* We use char because int might match the return type of a gcc2
32306 builtin and then its argument prototype would still apply. */
32308 /* The GNU C library defines this for functions which it implements
32309 to always fail with ENOSYS. Some functions are actually named
32310 something starting with __ and the normal name is an alias. */
32311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32314 char (*f) () = $ac_func;
32323 return f != $ac_func;
32328 rm -f conftest.
$ac_objext conftest
$ac_exeext
32329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32330 (eval $ac_link) 2>conftest.er1
32332 grep -v '^ *+' conftest.er1
>conftest.err
32334 cat conftest.err
>&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); } &&
32337 { ac_try
='test -z "$ac_c_werror_flag"
32338 || test ! -s conftest.err'
32339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32340 (eval $ac_try) 2>&5
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); }; } &&
32344 { ac_try
='test -s conftest$ac_exeext'
32345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346 (eval $ac_try) 2>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; }; then
32350 eval "$as_ac_var=yes"
32352 echo "$as_me: failed program was:" >&5
32353 sed 's/^/| /' conftest.
$ac_ext >&5
32355 eval "$as_ac_var=no"
32357 rm -f conftest.err conftest.
$ac_objext \
32358 conftest
$ac_exeext conftest.
$ac_ext
32360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32362 if test `eval echo '${'$as_ac_var'}'` = yes; then
32363 cat >>confdefs.h
<<_ACEOF
32364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32366 cat >>confdefs.h
<<\_ACEOF
32367 #define HAVE_INET_ATON 1
32372 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32373 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32374 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32375 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32376 echo $ECHO_N "(cached) $ECHO_C" >&6
32378 ac_check_lib_save_LIBS
=$LIBS
32379 LIBS
="-l$INET_LINK $LIBS"
32380 cat >conftest.
$ac_ext <<_ACEOF
32383 cat confdefs.h
>>conftest.
$ac_ext
32384 cat >>conftest.
$ac_ext <<_ACEOF
32385 /* end confdefs.h. */
32387 /* Override any gcc2 internal prototype to avoid an error. */
32391 /* We use char because int might match the return type of a gcc2
32392 builtin and then its argument prototype would still apply. */
32402 rm -f conftest.
$ac_objext conftest
$ac_exeext
32403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32404 (eval $ac_link) 2>conftest.er1
32406 grep -v '^ *+' conftest.er1
>conftest.err
32408 cat conftest.err
>&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } &&
32411 { ac_try
='test -z "$ac_c_werror_flag"
32412 || test ! -s conftest.err'
32413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32414 (eval $ac_try) 2>&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); }; } &&
32418 { ac_try
='test -s conftest$ac_exeext'
32419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32420 (eval $ac_try) 2>&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); }; }; then
32424 eval "$as_ac_Lib=yes"
32426 echo "$as_me: failed program was:" >&5
32427 sed 's/^/| /' conftest.
$ac_ext >&5
32429 eval "$as_ac_Lib=no"
32431 rm -f conftest.err conftest.
$ac_objext \
32432 conftest
$ac_exeext conftest.
$ac_ext
32433 LIBS
=$ac_check_lib_save_LIBS
32435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32436 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32437 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32438 cat >>confdefs.h
<<\_ACEOF
32439 #define HAVE_INET_ATON 1
32449 if test "x$INET_LINK" != "x"; then
32450 cat >>confdefs.h
<<\_ACEOF
32451 #define HAVE_INET_ADDR 1
32454 INET_LINK
=" -l$INET_LINK"
32462 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32463 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32464 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32467 ac_check_lib_save_LIBS
=$LIBS
32469 cat >conftest.
$ac_ext <<_ACEOF
32472 cat confdefs.h
>>conftest.
$ac_ext
32473 cat >>conftest.
$ac_ext <<_ACEOF
32474 /* end confdefs.h. */
32476 /* Override any gcc2 internal prototype to avoid an error. */
32480 /* We use char because int might match the return type of a gcc2
32481 builtin and then its argument prototype would still apply. */
32491 rm -f conftest.
$ac_objext conftest
$ac_exeext
32492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32493 (eval $ac_link) 2>conftest.er1
32495 grep -v '^ *+' conftest.er1
>conftest.err
32497 cat conftest.err
>&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } &&
32500 { ac_try
='test -z "$ac_c_werror_flag"
32501 || test ! -s conftest.err'
32502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32503 (eval $ac_try) 2>&5
32505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32506 (exit $ac_status); }; } &&
32507 { ac_try
='test -s conftest$ac_exeext'
32508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32509 (eval $ac_try) 2>&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); }; }; then
32513 ac_cv_lib_esd_esd_close
=yes
32515 echo "$as_me: failed program was:" >&5
32516 sed 's/^/| /' conftest.
$ac_ext >&5
32518 ac_cv_lib_esd_esd_close
=no
32520 rm -f conftest.err conftest.
$ac_objext \
32521 conftest
$ac_exeext conftest.
$ac_ext
32522 LIBS
=$ac_check_lib_save_LIBS
32524 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32525 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32526 if test $ac_cv_lib_esd_esd_close = yes; then
32529 for ac_header
in esd.h
32531 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32533 echo "$as_me:$LINENO: checking for $ac_header" >&5
32534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32541 # Is the header compilable?
32542 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32544 cat >conftest.
$ac_ext <<_ACEOF
32547 cat confdefs.h
>>conftest.
$ac_ext
32548 cat >>conftest.
$ac_ext <<_ACEOF
32549 /* end confdefs.h. */
32550 $ac_includes_default
32551 #include <$ac_header>
32553 rm -f conftest.
$ac_objext
32554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32555 (eval $ac_compile) 2>conftest.er1
32557 grep -v '^ *+' conftest.er1
>conftest.err
32559 cat conftest.err
>&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); } &&
32562 { ac_try
='test -z "$ac_c_werror_flag"
32563 || test ! -s conftest.err'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; } &&
32569 { ac_try
='test -s conftest.$ac_objext'
32570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32571 (eval $ac_try) 2>&5
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); }; }; then
32575 ac_header_compiler
=yes
32577 echo "$as_me: failed program was:" >&5
32578 sed 's/^/| /' conftest.
$ac_ext >&5
32580 ac_header_compiler
=no
32582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32584 echo "${ECHO_T}$ac_header_compiler" >&6
32586 # Is the header present?
32587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32589 cat >conftest.
$ac_ext <<_ACEOF
32592 cat confdefs.h
>>conftest.
$ac_ext
32593 cat >>conftest.
$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595 #include <$ac_header>
32597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32598 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32600 grep -v '^ *+' conftest.er1
>conftest.err
32602 cat conftest.err
>&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } >/dev
/null
; then
32605 if test -s conftest.err
; then
32606 ac_cpp_err
=$ac_c_preproc_warn_flag
32607 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32614 if test -z "$ac_cpp_err"; then
32615 ac_header_preproc
=yes
32617 echo "$as_me: failed program was:" >&5
32618 sed 's/^/| /' conftest.
$ac_ext >&5
32620 ac_header_preproc
=no
32622 rm -f conftest.err conftest.
$ac_ext
32623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32624 echo "${ECHO_T}$ac_header_preproc" >&6
32626 # So? What about this header?
32627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32633 ac_header_preproc
=yes
32636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32650 ## ----------------------------------------- ##
32651 ## Report this to wx-dev@lists.wxwidgets.org ##
32652 ## ----------------------------------------- ##
32655 sed "s/^/$as_me: WARNING: /" >&2
32658 echo "$as_me:$LINENO: checking for $ac_header" >&5
32659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32663 eval "$as_ac_Header=\$ac_header_preproc"
32665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32670 cat >>confdefs.h
<<_ACEOF
32671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32674 EXTRALIBS_ESD
="-lesd"
32685 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32686 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32687 cat >conftest.
$ac_ext <<_ACEOF
32690 cat confdefs.h
>>conftest.
$ac_ext
32691 cat >>conftest.
$ac_ext <<_ACEOF
32692 /* end confdefs.h. */
32694 #include <linux/cdrom.h>
32697 #include <sys/cdio.h>
32703 struct cdrom_tocentry entry, old_entry;
32708 rm -f conftest.
$ac_objext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32710 (eval $ac_compile) 2>conftest.er1
32712 grep -v '^ *+' conftest.er1
>conftest.err
32714 cat conftest.err
>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } &&
32717 { ac_try
='test -z "$ac_c_werror_flag"
32718 || test ! -s conftest.err'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; } &&
32724 { ac_try
='test -s conftest.$ac_objext'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; }; then
32730 echo "$as_me:$LINENO: result: yes" >&5
32731 echo "${ECHO_T}yes" >&6
32732 cat >>confdefs.h
<<\_ACEOF
32733 #define HAVE_KNOWN_CDROM_INTERFACE 1
32737 echo "$as_me: failed program was:" >&5
32738 sed 's/^/| /' conftest.
$ac_ext >&5
32740 echo "$as_me:$LINENO: result: no" >&5
32741 echo "${ECHO_T}no" >&6
32743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32746 cat >confcache
<<\_ACEOF
32747 # This file is a shell script that caches the results of configure
32748 # tests run on this system so they can be shared between configure
32749 # scripts and configure runs, see configure's option --config-cache.
32750 # It is not useful on other systems. If it contains results you don't
32751 # want to keep, you may remove or edit it.
32753 # config.status only pays attention to the cache file if you give it
32754 # the --recheck option to rerun configure.
32756 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32757 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32758 # following values.
32762 # The following way of writing the cache mishandles newlines in values,
32763 # but we know of no workaround that is simple, portable, and efficient.
32764 # So, don't put newlines in cache variables' values.
32765 # Ultrix sh set writes to stderr and can't be redirected directly,
32766 # and sets the high bit in the cache file unless we assign to the vars.
32769 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32771 # `set' does not quote correctly, so add quotes (double-quote
32772 # substitution turns \\\\ into \\, and sed turns \\ into \).
32775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32778 # `set' quotes correctly as required by POSIX, so do not add quotes.
32780 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32787 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32789 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32791 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32792 if test -w $cache_file; then
32793 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32794 cat confcache
>$cache_file
32796 echo "not updating unwritable cache $cache_file"
32803 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32809 if test "$wxUSE_THREADS" = "yes" ; then
32810 if test "$USE_BEOS" = 1; then
32811 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32812 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32817 if test "$wxUSE_THREADS" = "yes" ; then
32820 THREAD_OPTS
="-pthread"
32822 *-*-solaris2* | *-*-sunos4* )
32823 if test "x$GCC" = "xyes"; then
32824 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32826 THREAD_OPTS
="-mt $THREAD_OPTS"
32830 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32832 *-*-darwin* | *-*-cygwin* )
32836 THREAD_OPTS
="pthreads"
32839 if test "x$GCC" != "xyes"; then
32845 if test "x$GCC" = "xyes"; then
32851 if test "x$GCC" != "xyes"; then
32852 THREAD_OPTS
="-Ethread"
32857 THREAD_OPTS
="$THREAD_OPTS pthread none"
32860 for flag
in $THREAD_OPTS; do
32863 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32864 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32868 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32869 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32870 THREADS_CFLAGS
="$flag"
32874 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32875 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32876 THREADS_LINK
="-l$flag"
32881 save_CFLAGS
="$CFLAGS"
32882 LIBS
="$THREADS_LINK $LIBS"
32883 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32885 cat >conftest.
$ac_ext <<_ACEOF
32888 cat confdefs.h
>>conftest.
$ac_ext
32889 cat >>conftest.
$ac_ext <<_ACEOF
32890 /* end confdefs.h. */
32891 #include <pthread.h>
32895 pthread_create(0,0,0,0);
32900 rm -f conftest.
$ac_objext conftest
$ac_exeext
32901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32902 (eval $ac_link) 2>conftest.er1
32904 grep -v '^ *+' conftest.er1
>conftest.err
32906 cat conftest.err
>&5
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); } &&
32909 { ac_try
='test -z "$ac_c_werror_flag"
32910 || test ! -s conftest.err'
32911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 (eval $ac_try) 2>&5
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; } &&
32916 { ac_try
='test -s conftest$ac_exeext'
32917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32918 (eval $ac_try) 2>&5
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); }; }; then
32924 echo "$as_me: failed program was:" >&5
32925 sed 's/^/| /' conftest.
$ac_ext >&5
32928 rm -f conftest.err conftest.
$ac_objext \
32929 conftest
$ac_exeext conftest.
$ac_ext
32932 CFLAGS
="$save_CFLAGS"
32934 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32935 echo "${ECHO_T}$THREADS_OK" >&6
32936 if test "x$THREADS_OK" = "xyes"; then
32944 if test "x$THREADS_OK" != "xyes"; then
32946 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32947 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32949 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32950 LIBS
="$THREADS_LINK $LIBS"
32952 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32953 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32957 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32958 flag
="-D_THREAD_SAFE"
32961 flag
="-D_THREAD_SAFE"
32964 flag
="-D_REENTRANT"
32965 if test "x$GCC" != "xyes"; then
32966 flag
="$flag -D_RWSTD_MULTI_THREAD"
32969 *solaris
* | alpha
*-osf*)
32970 flag
="-D_REENTRANT"
32973 echo "$as_me:$LINENO: result: ${flag}" >&5
32974 echo "${ECHO_T}${flag}" >&6
32975 if test "x$flag" != xno
; then
32976 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32979 if test "x$THREADS_CFLAGS" != "x"; then
32980 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32981 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32986 if test "$wxUSE_THREADS" = "yes" ; then
32988 for ac_func
in thr_setconcurrency
32990 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32991 echo "$as_me:$LINENO: checking for $ac_func" >&5
32992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32993 if eval "test \"\${$as_ac_var+set}\" = set"; then
32994 echo $ECHO_N "(cached) $ECHO_C" >&6
32996 cat >conftest.
$ac_ext <<_ACEOF
32999 cat confdefs.h
>>conftest.
$ac_ext
33000 cat >>conftest.
$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33004 #define $ac_func innocuous_$ac_func
33006 /* System header to define __stub macros and hopefully few prototypes,
33007 which can conflict with char $ac_func (); below.
33008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33009 <limits.h> exists even on freestanding compilers. */
33012 # include <limits.h>
33014 # include <assert.h>
33019 /* Override any gcc2 internal prototype to avoid an error. */
33024 /* We use char because int might match the return type of a gcc2
33025 builtin and then its argument prototype would still apply. */
33027 /* The GNU C library defines this for functions which it implements
33028 to always fail with ENOSYS. Some functions are actually named
33029 something starting with __ and the normal name is an alias. */
33030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33033 char (*f) () = $ac_func;
33042 return f != $ac_func;
33047 rm -f conftest.
$ac_objext conftest
$ac_exeext
33048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33049 (eval $ac_link) 2>conftest.er1
33051 grep -v '^ *+' conftest.er1
>conftest.err
33053 cat conftest.err
>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } &&
33056 { ac_try
='test -z "$ac_c_werror_flag"
33057 || test ! -s conftest.err'
33058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33059 (eval $ac_try) 2>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); }; } &&
33063 { ac_try
='test -s conftest$ac_exeext'
33064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33065 (eval $ac_try) 2>&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); }; }; then
33069 eval "$as_ac_var=yes"
33071 echo "$as_me: failed program was:" >&5
33072 sed 's/^/| /' conftest.
$ac_ext >&5
33074 eval "$as_ac_var=no"
33076 rm -f conftest.err conftest.
$ac_objext \
33077 conftest
$ac_exeext conftest.
$ac_ext
33079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33081 if test `eval echo '${'$as_ac_var'}'` = yes; then
33082 cat >>confdefs.h
<<_ACEOF
33083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33091 for ac_header
in sched.h
33093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33095 echo "$as_me:$LINENO: checking for $ac_header" >&5
33096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33103 # Is the header compilable?
33104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 $ac_includes_default
33113 #include <$ac_header>
33115 rm -f conftest.
$ac_objext
33116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33117 (eval $ac_compile) 2>conftest.er1
33119 grep -v '^ *+' conftest.er1
>conftest.err
33121 cat conftest.err
>&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } &&
33124 { ac_try
='test -z "$ac_c_werror_flag"
33125 || test ! -s conftest.err'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; } &&
33131 { ac_try
='test -s conftest.$ac_objext'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; }; then
33137 ac_header_compiler
=yes
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.
$ac_ext >&5
33142 ac_header_compiler
=no
33144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33146 echo "${ECHO_T}$ac_header_compiler" >&6
33148 # Is the header present?
33149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33151 cat >conftest.
$ac_ext <<_ACEOF
33154 cat confdefs.h
>>conftest.
$ac_ext
33155 cat >>conftest.
$ac_ext <<_ACEOF
33156 /* end confdefs.h. */
33157 #include <$ac_header>
33159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33160 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33162 grep -v '^ *+' conftest.er1
>conftest.err
33164 cat conftest.err
>&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); } >/dev
/null
; then
33167 if test -s conftest.err
; then
33168 ac_cpp_err
=$ac_c_preproc_warn_flag
33169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33176 if test -z "$ac_cpp_err"; then
33177 ac_header_preproc
=yes
33179 echo "$as_me: failed program was:" >&5
33180 sed 's/^/| /' conftest.
$ac_ext >&5
33182 ac_header_preproc
=no
33184 rm -f conftest.err conftest.
$ac_ext
33185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33186 echo "${ECHO_T}$ac_header_preproc" >&6
33188 # So? What about this header?
33189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33195 ac_header_preproc
=yes
33198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33212 ## ----------------------------------------- ##
33213 ## Report this to wx-dev@lists.wxwidgets.org ##
33214 ## ----------------------------------------- ##
33217 sed "s/^/$as_me: WARNING: /" >&2
33220 echo "$as_me:$LINENO: checking for $ac_header" >&5
33221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33223 echo $ECHO_N "(cached) $ECHO_C" >&6
33225 eval "$as_ac_Header=\$ac_header_preproc"
33227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33232 cat >>confdefs.h
<<_ACEOF
33233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33240 if test "$ac_cv_header_sched_h" = "yes"; then
33241 echo "$as_me:$LINENO: checking for sched_yield" >&5
33242 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33243 if test "${ac_cv_func_sched_yield+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33246 cat >conftest.
$ac_ext <<_ACEOF
33249 cat confdefs.h
>>conftest.
$ac_ext
33250 cat >>conftest.
$ac_ext <<_ACEOF
33251 /* end confdefs.h. */
33252 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33254 #define sched_yield innocuous_sched_yield
33256 /* System header to define __stub macros and hopefully few prototypes,
33257 which can conflict with char sched_yield (); below.
33258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33259 <limits.h> exists even on freestanding compilers. */
33262 # include <limits.h>
33264 # include <assert.h>
33269 /* Override any gcc2 internal prototype to avoid an error. */
33274 /* We use char because int might match the return type of a gcc2
33275 builtin and then its argument prototype would still apply. */
33276 char sched_yield ();
33277 /* The GNU C library defines this for functions which it implements
33278 to always fail with ENOSYS. Some functions are actually named
33279 something starting with __ and the normal name is an alias. */
33280 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33283 char (*f) () = sched_yield;
33292 return f != sched_yield;
33297 rm -f conftest.
$ac_objext conftest
$ac_exeext
33298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33299 (eval $ac_link) 2>conftest.er1
33301 grep -v '^ *+' conftest.er1
>conftest.err
33303 cat conftest.err
>&5
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); } &&
33306 { ac_try
='test -z "$ac_c_werror_flag"
33307 || test ! -s conftest.err'
33308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33309 (eval $ac_try) 2>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; } &&
33313 { ac_try
='test -s conftest$ac_exeext'
33314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33315 (eval $ac_try) 2>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); }; }; then
33319 ac_cv_func_sched_yield
=yes
33321 echo "$as_me: failed program was:" >&5
33322 sed 's/^/| /' conftest.
$ac_ext >&5
33324 ac_cv_func_sched_yield
=no
33326 rm -f conftest.err conftest.
$ac_objext \
33327 conftest
$ac_exeext conftest.
$ac_ext
33329 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33330 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33331 if test $ac_cv_func_sched_yield = yes; then
33332 cat >>confdefs.h
<<\_ACEOF
33333 #define HAVE_SCHED_YIELD 1
33338 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33339 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33340 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 ac_check_lib_save_LIBS
=$LIBS
33344 LIBS
="-lposix4 $LIBS"
33345 cat >conftest.
$ac_ext <<_ACEOF
33348 cat confdefs.h
>>conftest.
$ac_ext
33349 cat >>conftest.
$ac_ext <<_ACEOF
33350 /* end confdefs.h. */
33352 /* Override any gcc2 internal prototype to avoid an error. */
33356 /* We use char because int might match the return type of a gcc2
33357 builtin and then its argument prototype would still apply. */
33358 char sched_yield ();
33367 rm -f conftest.
$ac_objext conftest
$ac_exeext
33368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33369 (eval $ac_link) 2>conftest.er1
33371 grep -v '^ *+' conftest.er1
>conftest.err
33373 cat conftest.err
>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } &&
33376 { ac_try
='test -z "$ac_c_werror_flag"
33377 || test ! -s conftest.err'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; } &&
33383 { ac_try
='test -s conftest$ac_exeext'
33384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33385 (eval $ac_try) 2>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; }; then
33389 ac_cv_lib_posix4_sched_yield
=yes
33391 echo "$as_me: failed program was:" >&5
33392 sed 's/^/| /' conftest.
$ac_ext >&5
33394 ac_cv_lib_posix4_sched_yield
=no
33396 rm -f conftest.err conftest.
$ac_objext \
33397 conftest
$ac_exeext conftest.
$ac_ext
33398 LIBS
=$ac_check_lib_save_LIBS
33400 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33401 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33402 if test $ac_cv_lib_posix4_sched_yield = yes; then
33403 cat >>confdefs.h
<<\_ACEOF
33404 #define HAVE_SCHED_YIELD 1
33406 POSIX4_LINK
=" -lposix4"
33408 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33409 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33420 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33421 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33422 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33423 echo $ECHO_N "(cached) $ECHO_C" >&6
33425 cat >conftest.
$ac_ext <<_ACEOF
33428 cat confdefs.h
>>conftest.
$ac_ext
33429 cat >>conftest.
$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33431 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33433 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33435 /* System header to define __stub macros and hopefully few prototypes,
33436 which can conflict with char pthread_attr_getschedpolicy (); below.
33437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33438 <limits.h> exists even on freestanding compilers. */
33441 # include <limits.h>
33443 # include <assert.h>
33446 #undef pthread_attr_getschedpolicy
33448 /* Override any gcc2 internal prototype to avoid an error. */
33453 /* We use char because int might match the return type of a gcc2
33454 builtin and then its argument prototype would still apply. */
33455 char pthread_attr_getschedpolicy ();
33456 /* The GNU C library defines this for functions which it implements
33457 to always fail with ENOSYS. Some functions are actually named
33458 something starting with __ and the normal name is an alias. */
33459 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33462 char (*f) () = pthread_attr_getschedpolicy;
33471 return f != pthread_attr_getschedpolicy;
33476 rm -f conftest.
$ac_objext conftest
$ac_exeext
33477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33478 (eval $ac_link) 2>conftest.er1
33480 grep -v '^ *+' conftest.er1
>conftest.err
33482 cat conftest.err
>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } &&
33485 { ac_try
='test -z "$ac_c_werror_flag"
33486 || test ! -s conftest.err'
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; } &&
33492 { ac_try
='test -s conftest$ac_exeext'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; }; then
33498 ac_cv_func_pthread_attr_getschedpolicy
=yes
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.
$ac_ext >&5
33503 ac_cv_func_pthread_attr_getschedpolicy
=no
33505 rm -f conftest.err conftest.
$ac_objext \
33506 conftest
$ac_exeext conftest.
$ac_ext
33508 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33509 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33510 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33511 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33512 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33513 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33514 echo $ECHO_N "(cached) $ECHO_C" >&6
33516 cat >conftest.
$ac_ext <<_ACEOF
33519 cat confdefs.h
>>conftest.
$ac_ext
33520 cat >>conftest.
$ac_ext <<_ACEOF
33521 /* end confdefs.h. */
33522 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33524 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33526 /* System header to define __stub macros and hopefully few prototypes,
33527 which can conflict with char pthread_attr_setschedparam (); below.
33528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33529 <limits.h> exists even on freestanding compilers. */
33532 # include <limits.h>
33534 # include <assert.h>
33537 #undef pthread_attr_setschedparam
33539 /* Override any gcc2 internal prototype to avoid an error. */
33544 /* We use char because int might match the return type of a gcc2
33545 builtin and then its argument prototype would still apply. */
33546 char pthread_attr_setschedparam ();
33547 /* The GNU C library defines this for functions which it implements
33548 to always fail with ENOSYS. Some functions are actually named
33549 something starting with __ and the normal name is an alias. */
33550 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33553 char (*f) () = pthread_attr_setschedparam;
33562 return f != pthread_attr_setschedparam;
33567 rm -f conftest.
$ac_objext conftest
$ac_exeext
33568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33569 (eval $ac_link) 2>conftest.er1
33571 grep -v '^ *+' conftest.er1
>conftest.err
33573 cat conftest.err
>&5
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); } &&
33576 { ac_try
='test -z "$ac_c_werror_flag"
33577 || test ! -s conftest.err'
33578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33579 (eval $ac_try) 2>&5
33581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33582 (exit $ac_status); }; } &&
33583 { ac_try
='test -s conftest$ac_exeext'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; }; then
33589 ac_cv_func_pthread_attr_setschedparam
=yes
33591 echo "$as_me: failed program was:" >&5
33592 sed 's/^/| /' conftest.
$ac_ext >&5
33594 ac_cv_func_pthread_attr_setschedparam
=no
33596 rm -f conftest.err conftest.
$ac_objext \
33597 conftest
$ac_exeext conftest.
$ac_ext
33599 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33600 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33601 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33602 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33603 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33604 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 cat >conftest.
$ac_ext <<_ACEOF
33610 cat confdefs.h
>>conftest.
$ac_ext
33611 cat >>conftest.
$ac_ext <<_ACEOF
33612 /* end confdefs.h. */
33613 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33615 #define sched_get_priority_max innocuous_sched_get_priority_max
33617 /* System header to define __stub macros and hopefully few prototypes,
33618 which can conflict with char sched_get_priority_max (); below.
33619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33620 <limits.h> exists even on freestanding compilers. */
33623 # include <limits.h>
33625 # include <assert.h>
33628 #undef sched_get_priority_max
33630 /* Override any gcc2 internal prototype to avoid an error. */
33635 /* We use char because int might match the return type of a gcc2
33636 builtin and then its argument prototype would still apply. */
33637 char sched_get_priority_max ();
33638 /* The GNU C library defines this for functions which it implements
33639 to always fail with ENOSYS. Some functions are actually named
33640 something starting with __ and the normal name is an alias. */
33641 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33644 char (*f) () = sched_get_priority_max;
33653 return f != sched_get_priority_max;
33658 rm -f conftest.
$ac_objext conftest
$ac_exeext
33659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33660 (eval $ac_link) 2>conftest.er1
33662 grep -v '^ *+' conftest.er1
>conftest.err
33664 cat conftest.err
>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); } &&
33667 { ac_try
='test -z "$ac_c_werror_flag"
33668 || test ! -s conftest.err'
33669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33670 (eval $ac_try) 2>&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); }; } &&
33674 { ac_try
='test -s conftest$ac_exeext'
33675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33676 (eval $ac_try) 2>&5
33678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33679 (exit $ac_status); }; }; then
33680 ac_cv_func_sched_get_priority_max
=yes
33682 echo "$as_me: failed program was:" >&5
33683 sed 's/^/| /' conftest.
$ac_ext >&5
33685 ac_cv_func_sched_get_priority_max
=no
33687 rm -f conftest.err conftest.
$ac_objext \
33688 conftest
$ac_exeext conftest.
$ac_ext
33690 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33691 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33692 if test $ac_cv_func_sched_get_priority_max = yes; then
33695 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33696 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33697 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33698 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 ac_check_lib_save_LIBS
=$LIBS
33701 LIBS
="-lposix4 $LIBS"
33702 cat >conftest.
$ac_ext <<_ACEOF
33705 cat confdefs.h
>>conftest.
$ac_ext
33706 cat >>conftest.
$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33709 /* Override any gcc2 internal prototype to avoid an error. */
33713 /* We use char because int might match the return type of a gcc2
33714 builtin and then its argument prototype would still apply. */
33715 char sched_get_priority_max ();
33719 sched_get_priority_max ();
33724 rm -f conftest.
$ac_objext conftest
$ac_exeext
33725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33726 (eval $ac_link) 2>conftest.er1
33728 grep -v '^ *+' conftest.er1
>conftest.err
33730 cat conftest.err
>&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); } &&
33733 { ac_try
='test -z "$ac_c_werror_flag"
33734 || test ! -s conftest.err'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; } &&
33740 { ac_try
='test -s conftest$ac_exeext'
33741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33742 (eval $ac_try) 2>&5
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); }; }; then
33746 ac_cv_lib_posix4_sched_get_priority_max
=yes
33748 echo "$as_me: failed program was:" >&5
33749 sed 's/^/| /' conftest.
$ac_ext >&5
33751 ac_cv_lib_posix4_sched_get_priority_max
=no
33753 rm -f conftest.err conftest.
$ac_objext \
33754 conftest
$ac_exeext conftest.
$ac_ext
33755 LIBS
=$ac_check_lib_save_LIBS
33757 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33758 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33759 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33762 POSIX4_LINK
=" -lposix4"
33776 if test "$HAVE_PRIOR_FUNCS" = 1; then
33777 cat >>confdefs.h
<<\_ACEOF
33778 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33782 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33783 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33786 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33787 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33788 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33789 echo $ECHO_N "(cached) $ECHO_C" >&6
33791 cat >conftest.
$ac_ext <<_ACEOF
33794 cat confdefs.h
>>conftest.
$ac_ext
33795 cat >>conftest.
$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33799 #define pthread_cancel innocuous_pthread_cancel
33801 /* System header to define __stub macros and hopefully few prototypes,
33802 which can conflict with char pthread_cancel (); below.
33803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33804 <limits.h> exists even on freestanding compilers. */
33807 # include <limits.h>
33809 # include <assert.h>
33812 #undef pthread_cancel
33814 /* Override any gcc2 internal prototype to avoid an error. */
33819 /* We use char because int might match the return type of a gcc2
33820 builtin and then its argument prototype would still apply. */
33821 char pthread_cancel ();
33822 /* The GNU C library defines this for functions which it implements
33823 to always fail with ENOSYS. Some functions are actually named
33824 something starting with __ and the normal name is an alias. */
33825 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33828 char (*f) () = pthread_cancel;
33837 return f != pthread_cancel;
33842 rm -f conftest.
$ac_objext conftest
$ac_exeext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33844 (eval $ac_link) 2>conftest.er1
33846 grep -v '^ *+' conftest.er1
>conftest.err
33848 cat conftest.err
>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } &&
33851 { ac_try
='test -z "$ac_c_werror_flag"
33852 || test ! -s conftest.err'
33853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33854 (eval $ac_try) 2>&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); }; } &&
33858 { ac_try
='test -s conftest$ac_exeext'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; }; then
33864 ac_cv_func_pthread_cancel
=yes
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.
$ac_ext >&5
33869 ac_cv_func_pthread_cancel
=no
33871 rm -f conftest.err conftest.
$ac_objext \
33872 conftest
$ac_exeext conftest.
$ac_ext
33874 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33875 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33876 if test $ac_cv_func_pthread_cancel = yes; then
33877 cat >>confdefs.h
<<\_ACEOF
33878 #define HAVE_PTHREAD_CANCEL 1
33882 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33883 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33889 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33890 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33891 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33892 echo $ECHO_N "(cached) $ECHO_C" >&6
33895 cat >conftest.
$ac_ext <<_ACEOF
33898 cat confdefs.h
>>conftest.
$ac_ext
33899 cat >>conftest.
$ac_ext <<_ACEOF
33900 /* end confdefs.h. */
33901 #include <pthread.h>
33906 pthread_mutexattr_t attr;
33907 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33913 rm -f conftest.
$ac_objext
33914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33915 (eval $ac_compile) 2>conftest.er1
33917 grep -v '^ *+' conftest.er1
>conftest.err
33919 cat conftest.err
>&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); } &&
33922 { ac_try
='test -z "$ac_c_werror_flag"
33923 || test ! -s conftest.err'
33924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33925 (eval $ac_try) 2>&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); }; } &&
33929 { ac_try
='test -s conftest.$ac_objext'
33930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33931 (eval $ac_try) 2>&5
33933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934 (exit $ac_status); }; }; then
33936 wx_cv_type_pthread_mutexattr_t
=yes
33939 echo "$as_me: failed program was:" >&5
33940 sed 's/^/| /' conftest.
$ac_ext >&5
33943 wx_cv_type_pthread_mutexattr_t
=no
33947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33950 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33951 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33953 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33954 cat >>confdefs.h
<<\_ACEOF
33955 #define HAVE_PTHREAD_MUTEXATTR_T 1
33959 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33960 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33961 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33962 echo $ECHO_N "(cached) $ECHO_C" >&6
33965 cat >conftest.
$ac_ext <<_ACEOF
33968 cat confdefs.h
>>conftest.
$ac_ext
33969 cat >>conftest.
$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33971 #include <pthread.h>
33976 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33982 rm -f conftest.
$ac_objext
33983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33984 (eval $ac_compile) 2>conftest.er1
33986 grep -v '^ *+' conftest.er1
>conftest.err
33988 cat conftest.err
>&5
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); } &&
33991 { ac_try
='test -z "$ac_c_werror_flag"
33992 || test ! -s conftest.err'
33993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33994 (eval $ac_try) 2>&5
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); }; } &&
33998 { ac_try
='test -s conftest.$ac_objext'
33999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34000 (eval $ac_try) 2>&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); }; }; then
34005 wx_cv_type_pthread_rec_mutex_init
=yes
34008 echo "$as_me: failed program was:" >&5
34009 sed 's/^/| /' conftest.
$ac_ext >&5
34012 wx_cv_type_pthread_rec_mutex_init
=no
34016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34019 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34020 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34021 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34022 cat >>confdefs.h
<<\_ACEOF
34023 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34027 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34028 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34034 if test "$wxUSE_THREADS" = "yes" ; then
34037 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34038 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34039 if test "${wx_cv_cflags_mthread+set}" = set; then
34040 echo $ECHO_N "(cached) $ECHO_C" >&6
34043 CFLAGS_OLD
="$CFLAGS"
34044 CFLAGS
="$CFLAGS -mthreads"
34045 cat >conftest.
$ac_ext <<_ACEOF
34048 cat confdefs.h
>>conftest.
$ac_ext
34049 cat >>conftest.
$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34060 rm -f conftest.
$ac_objext
34061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34062 (eval $ac_compile) 2>conftest.er1
34064 grep -v '^ *+' conftest.er1
>conftest.err
34066 cat conftest.err
>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } &&
34069 { ac_try
='test -z "$ac_c_werror_flag"
34070 || test ! -s conftest.err'
34071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34072 (eval $ac_try) 2>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; } &&
34076 { ac_try
='test -s conftest.$ac_objext'
34077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34078 (eval $ac_try) 2>&5
34080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34081 (exit $ac_status); }; }; then
34082 wx_cv_cflags_mthread
=yes
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.
$ac_ext >&5
34087 wx_cv_cflags_mthread
=no
34090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34094 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34095 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34097 if test "$wx_cv_cflags_mthread" = "yes"; then
34098 CXXFLAGS
="$CXXFLAGS -mthreads"
34099 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34100 LDFLAGS
="$LDFLAGS -mthreads"
34102 CFLAGS
="$CFLAGS_OLD"
34106 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34107 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34108 LDFLAGS
="$LDFLAGS -Zmt"
34114 if test "$wxUSE_THREADS" = "yes"; then
34115 cat >>confdefs.h
<<\_ACEOF
34116 #define wxUSE_THREADS 1
34120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34122 if test "$ac_cv_func_strtok_r" = "yes"; then
34123 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34124 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34125 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34126 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34127 echo "$as_me:$LINENO: result: yes" >&5
34128 echo "${ECHO_T}yes" >&6
34130 echo "$as_me:$LINENO: result: no" >&5
34131 echo "${ECHO_T}no" >&6
34136 if test "$WXGTK20" = 1 ; then
34137 cat >>confdefs.h
<<_ACEOF
34138 #define __WXGTK20__ $WXGTK20
34144 if test "$WXGTK12" = 1 ; then
34145 cat >>confdefs.h
<<_ACEOF
34146 #define __WXGTK12__ $WXGTK12
34151 if test "$WXGTK127" = 1 ; then
34152 cat >>confdefs.h
<<_ACEOF
34153 #define __WXGTK127__ $WXGTK127
34158 if test "$WXGPE" = 1 ; then
34159 cat >>confdefs.h
<<_ACEOF
34160 #define __WXGPE__ $WXGPE
34167 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34172 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34173 wxUSE_DEBUG_INFO
=yes
34177 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34178 cat >>confdefs.h
<<\_ACEOF
34182 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34184 if test "$wxUSE_GTK" = 1 ; then
34185 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34189 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34190 cat >>confdefs.h
<<\_ACEOF
34191 #define wxUSE_MEMORY_TRACING 1
34194 cat >>confdefs.h
<<\_ACEOF
34195 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34198 cat >>confdefs.h
<<\_ACEOF
34199 #define wxUSE_DEBUG_NEW_ALWAYS 1
34202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34205 if test "$wxUSE_DMALLOC" = "yes" ; then
34206 DMALLOC_LIBS
="-ldmalloc"
34210 if test "$wxUSE_PROFILE" = "yes" ; then
34215 CODE_GEN_FLAGS_CXX
=
34216 if test "$GCC" = "yes" ; then
34217 if test "$wxUSE_NO_RTTI" = "yes" ; then
34218 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34220 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34221 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34223 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34224 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34229 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34232 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34238 if test "$wxUSE_OPTIMISE" = "no" ; then
34239 if test "$GCC" = yes ; then
34243 if test "$GCC" = yes ; then
34247 i586
-*-*|i686
-*-* )
34248 OPTIMISE
="${OPTIMISE} "
34257 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34258 cat >>confdefs.h
<<\_ACEOF
34259 #define WXWIN_COMPATIBILITY_2_2 1
34263 WXWIN_COMPATIBILITY_2_4
="yes"
34266 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34267 cat >>confdefs.h
<<\_ACEOF
34268 #define WXWIN_COMPATIBILITY_2_4 1
34274 if test "$wxUSE_GUI" = "yes"; then
34275 cat >>confdefs.h
<<\_ACEOF
34276 #define wxUSE_GUI 1
34283 if test "$wxUSE_UNIX" = "yes"; then
34284 cat >>confdefs.h
<<\_ACEOF
34285 #define wxUSE_UNIX 1
34291 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34295 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34296 if test "$USE_DARWIN" = 1; then
34300 for ac_func
in dlopen
34302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34303 echo "$as_me:$LINENO: checking for $ac_func" >&5
34304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34305 if eval "test \"\${$as_ac_var+set}\" = set"; then
34306 echo $ECHO_N "(cached) $ECHO_C" >&6
34308 cat >conftest.
$ac_ext <<_ACEOF
34311 cat confdefs.h
>>conftest.
$ac_ext
34312 cat >>conftest.
$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34316 #define $ac_func innocuous_$ac_func
34318 /* System header to define __stub macros and hopefully few prototypes,
34319 which can conflict with char $ac_func (); below.
34320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34321 <limits.h> exists even on freestanding compilers. */
34324 # include <limits.h>
34326 # include <assert.h>
34331 /* Override any gcc2 internal prototype to avoid an error. */
34336 /* We use char because int might match the return type of a gcc2
34337 builtin and then its argument prototype would still apply. */
34339 /* The GNU C library defines this for functions which it implements
34340 to always fail with ENOSYS. Some functions are actually named
34341 something starting with __ and the normal name is an alias. */
34342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34345 char (*f) () = $ac_func;
34354 return f != $ac_func;
34359 rm -f conftest.
$ac_objext conftest
$ac_exeext
34360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34361 (eval $ac_link) 2>conftest.er1
34363 grep -v '^ *+' conftest.er1
>conftest.err
34365 cat conftest.err
>&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); } &&
34368 { ac_try
='test -z "$ac_c_werror_flag"
34369 || test ! -s conftest.err'
34370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371 (eval $ac_try) 2>&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); }; } &&
34375 { ac_try
='test -s conftest$ac_exeext'
34376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34377 (eval $ac_try) 2>&5
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); }; }; then
34381 eval "$as_ac_var=yes"
34383 echo "$as_me: failed program was:" >&5
34384 sed 's/^/| /' conftest.
$ac_ext >&5
34386 eval "$as_ac_var=no"
34388 rm -f conftest.err conftest.
$ac_objext \
34389 conftest
$ac_exeext conftest.
$ac_ext
34391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34393 if test `eval echo '${'$as_ac_var'}'` = yes; then
34394 cat >>confdefs.h
<<_ACEOF
34395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34398 cat >>confdefs.h
<<\_ACEOF
34399 #define HAVE_DLOPEN 1
34406 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34407 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34408 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34409 echo $ECHO_N "(cached) $ECHO_C" >&6
34411 ac_check_lib_save_LIBS
=$LIBS
34413 cat >conftest.
$ac_ext <<_ACEOF
34416 cat confdefs.h
>>conftest.
$ac_ext
34417 cat >>conftest.
$ac_ext <<_ACEOF
34418 /* end confdefs.h. */
34420 /* Override any gcc2 internal prototype to avoid an error. */
34424 /* We use char because int might match the return type of a gcc2
34425 builtin and then its argument prototype would still apply. */
34435 rm -f conftest.
$ac_objext conftest
$ac_exeext
34436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34437 (eval $ac_link) 2>conftest.er1
34439 grep -v '^ *+' conftest.er1
>conftest.err
34441 cat conftest.err
>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } &&
34444 { ac_try
='test -z "$ac_c_werror_flag"
34445 || test ! -s conftest.err'
34446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34447 (eval $ac_try) 2>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); }; } &&
34451 { ac_try
='test -s conftest$ac_exeext'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; }; then
34457 ac_cv_lib_dl_dlopen
=yes
34459 echo "$as_me: failed program was:" >&5
34460 sed 's/^/| /' conftest.
$ac_ext >&5
34462 ac_cv_lib_dl_dlopen
=no
34464 rm -f conftest.err conftest.
$ac_objext \
34465 conftest
$ac_exeext conftest.
$ac_ext
34466 LIBS
=$ac_check_lib_save_LIBS
34468 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34469 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34470 if test $ac_cv_lib_dl_dlopen = yes; then
34472 cat >>confdefs.h
<<\_ACEOF
34473 #define HAVE_DLOPEN 1
34477 DL_LINK
=" -ldl$DL_LINK"
34482 for ac_func
in shl_load
34484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34485 echo "$as_me:$LINENO: checking for $ac_func" >&5
34486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34487 if eval "test \"\${$as_ac_var+set}\" = set"; then
34488 echo $ECHO_N "(cached) $ECHO_C" >&6
34490 cat >conftest.
$ac_ext <<_ACEOF
34493 cat confdefs.h
>>conftest.
$ac_ext
34494 cat >>conftest.
$ac_ext <<_ACEOF
34495 /* end confdefs.h. */
34496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34498 #define $ac_func innocuous_$ac_func
34500 /* System header to define __stub macros and hopefully few prototypes,
34501 which can conflict with char $ac_func (); below.
34502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34503 <limits.h> exists even on freestanding compilers. */
34506 # include <limits.h>
34508 # include <assert.h>
34513 /* Override any gcc2 internal prototype to avoid an error. */
34518 /* We use char because int might match the return type of a gcc2
34519 builtin and then its argument prototype would still apply. */
34521 /* The GNU C library defines this for functions which it implements
34522 to always fail with ENOSYS. Some functions are actually named
34523 something starting with __ and the normal name is an alias. */
34524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34527 char (*f) () = $ac_func;
34536 return f != $ac_func;
34541 rm -f conftest.
$ac_objext conftest
$ac_exeext
34542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34543 (eval $ac_link) 2>conftest.er1
34545 grep -v '^ *+' conftest.er1
>conftest.err
34547 cat conftest.err
>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try
='test -z "$ac_c_werror_flag"
34551 || test ! -s conftest.err'
34552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34553 (eval $ac_try) 2>&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); }; } &&
34557 { ac_try
='test -s conftest$ac_exeext'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; }; then
34563 eval "$as_ac_var=yes"
34565 echo "$as_me: failed program was:" >&5
34566 sed 's/^/| /' conftest.
$ac_ext >&5
34568 eval "$as_ac_var=no"
34570 rm -f conftest.err conftest.
$ac_objext \
34571 conftest
$ac_exeext conftest.
$ac_ext
34573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34575 if test `eval echo '${'$as_ac_var'}'` = yes; then
34576 cat >>confdefs.h
<<_ACEOF
34577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34580 cat >>confdefs.h
<<\_ACEOF
34581 #define HAVE_SHL_LOAD 1
34588 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34589 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34590 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34593 ac_check_lib_save_LIBS
=$LIBS
34594 LIBS
="-lshl_load $LIBS"
34595 cat >conftest.
$ac_ext <<_ACEOF
34598 cat confdefs.h
>>conftest.
$ac_ext
34599 cat >>conftest.
$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34602 /* Override any gcc2 internal prototype to avoid an error. */
34606 /* We use char because int might match the return type of a gcc2
34607 builtin and then its argument prototype would still apply. */
34617 rm -f conftest.
$ac_objext conftest
$ac_exeext
34618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34619 (eval $ac_link) 2>conftest.er1
34621 grep -v '^ *+' conftest.er1
>conftest.err
34623 cat conftest.err
>&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); } &&
34626 { ac_try
='test -z "$ac_c_werror_flag"
34627 || test ! -s conftest.err'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; } &&
34633 { ac_try
='test -s conftest$ac_exeext'
34634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34635 (eval $ac_try) 2>&5
34637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638 (exit $ac_status); }; }; then
34639 ac_cv_lib_shl_load_dld
=yes
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.
$ac_ext >&5
34644 ac_cv_lib_shl_load_dld
=no
34646 rm -f conftest.err conftest.
$ac_objext \
34647 conftest
$ac_exeext conftest.
$ac_ext
34648 LIBS
=$ac_check_lib_save_LIBS
34650 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34651 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34652 if test $ac_cv_lib_shl_load_dld = yes; then
34655 DL_LINK
=" -ldld$DL_LINK"
34671 if test "$HAVE_DL_FUNCS" = 1; then
34673 for ac_func
in dlerror
34675 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34676 echo "$as_me:$LINENO: checking for $ac_func" >&5
34677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34678 if eval "test \"\${$as_ac_var+set}\" = set"; then
34679 echo $ECHO_N "(cached) $ECHO_C" >&6
34681 cat >conftest.
$ac_ext <<_ACEOF
34684 cat confdefs.h
>>conftest.
$ac_ext
34685 cat >>conftest.
$ac_ext <<_ACEOF
34686 /* end confdefs.h. */
34687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34689 #define $ac_func innocuous_$ac_func
34691 /* System header to define __stub macros and hopefully few prototypes,
34692 which can conflict with char $ac_func (); below.
34693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34694 <limits.h> exists even on freestanding compilers. */
34697 # include <limits.h>
34699 # include <assert.h>
34704 /* Override any gcc2 internal prototype to avoid an error. */
34709 /* We use char because int might match the return type of a gcc2
34710 builtin and then its argument prototype would still apply. */
34712 /* The GNU C library defines this for functions which it implements
34713 to always fail with ENOSYS. Some functions are actually named
34714 something starting with __ and the normal name is an alias. */
34715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34718 char (*f) () = $ac_func;
34727 return f != $ac_func;
34732 rm -f conftest.
$ac_objext conftest
$ac_exeext
34733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34734 (eval $ac_link) 2>conftest.er1
34736 grep -v '^ *+' conftest.er1
>conftest.err
34738 cat conftest.err
>&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } &&
34741 { ac_try
='test -z "$ac_c_werror_flag"
34742 || test ! -s conftest.err'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; } &&
34748 { ac_try
='test -s conftest$ac_exeext'
34749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34750 (eval $ac_try) 2>&5
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); }; }; then
34754 eval "$as_ac_var=yes"
34756 echo "$as_me: failed program was:" >&5
34757 sed 's/^/| /' conftest.
$ac_ext >&5
34759 eval "$as_ac_var=no"
34761 rm -f conftest.err conftest.
$ac_objext \
34762 conftest
$ac_exeext conftest.
$ac_ext
34764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34766 if test `eval echo '${'$as_ac_var'}'` = yes; then
34767 cat >>confdefs.h
<<_ACEOF
34768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34770 cat >>confdefs.h
<<\_ACEOF
34771 #define HAVE_DLERROR 1
34776 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34777 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34778 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34779 echo $ECHO_N "(cached) $ECHO_C" >&6
34781 ac_check_lib_save_LIBS
=$LIBS
34783 cat >conftest.
$ac_ext <<_ACEOF
34786 cat confdefs.h
>>conftest.
$ac_ext
34787 cat >>conftest.
$ac_ext <<_ACEOF
34788 /* end confdefs.h. */
34790 /* Override any gcc2 internal prototype to avoid an error. */
34794 /* We use char because int might match the return type of a gcc2
34795 builtin and then its argument prototype would still apply. */
34805 rm -f conftest.
$ac_objext conftest
$ac_exeext
34806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34807 (eval $ac_link) 2>conftest.er1
34809 grep -v '^ *+' conftest.er1
>conftest.err
34811 cat conftest.err
>&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } &&
34814 { ac_try
='test -z "$ac_c_werror_flag"
34815 || test ! -s conftest.err'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; } &&
34821 { ac_try
='test -s conftest$ac_exeext'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; }; then
34827 ac_cv_lib_dl_dlerror
=yes
34829 echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.
$ac_ext >&5
34832 ac_cv_lib_dl_dlerror
=no
34834 rm -f conftest.err conftest.
$ac_objext \
34835 conftest
$ac_exeext conftest.
$ac_ext
34836 LIBS
=$ac_check_lib_save_LIBS
34838 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34839 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34840 if test $ac_cv_lib_dl_dlerror = yes; then
34841 cat >>confdefs.h
<<\_ACEOF
34842 #define HAVE_DLERROR 1
34855 if test "$HAVE_DL_FUNCS" = 0; then
34856 if test "$HAVE_SHL_FUNCS" = 0; then
34857 if test "$USE_UNIX" = 1; then
34858 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34859 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34860 wxUSE_DYNAMIC_LOADER
=no
34861 wxUSE_DYNLIB_CLASS
=no
34863 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34864 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34871 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34872 cat >>confdefs.h
<<\_ACEOF
34873 #define wxUSE_DYNAMIC_LOADER 1
34877 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34878 cat >>confdefs.h
<<\_ACEOF
34879 #define wxUSE_DYNLIB_CLASS 1
34886 if test "$wxUSE_PLUGINS" = "yes" ; then
34887 if test "$wxUSE_SHARED" = "no" ; then
34888 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34889 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34892 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34893 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34894 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34897 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34898 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34899 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34902 if test "$wxUSE_PLUGINS" = "yes" ; then
34903 cat >>confdefs.h
<<\_ACEOF
34904 #define wxUSE_PLUGINS 1
34911 if test "$wxUSE_STL" = "yes"; then
34912 cat >>confdefs.h
<<\_ACEOF
34913 #define wxUSE_STL 1
34918 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34919 cat >>confdefs.h
<<\_ACEOF
34920 #define wxUSE_APPLE_IEEE 1
34925 if test "$wxUSE_TIMER" = "yes"; then
34926 cat >>confdefs.h
<<\_ACEOF
34927 #define wxUSE_TIMER 1
34933 if test "$wxUSE_SOUND" = "yes"; then
34934 if test "$USE_UNIX" = "1" ; then
34936 for ac_header
in sys
/soundcard.h
34938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34940 echo "$as_me:$LINENO: checking for $ac_header" >&5
34941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34948 # Is the header compilable?
34949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34951 cat >conftest.
$ac_ext <<_ACEOF
34954 cat confdefs.h
>>conftest.
$ac_ext
34955 cat >>conftest.
$ac_ext <<_ACEOF
34956 /* end confdefs.h. */
34957 $ac_includes_default
34958 #include <$ac_header>
34960 rm -f conftest.
$ac_objext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34962 (eval $ac_compile) 2>conftest.er1
34964 grep -v '^ *+' conftest.er1
>conftest.err
34966 cat conftest.err
>&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } &&
34969 { ac_try
='test -z "$ac_c_werror_flag"
34970 || test ! -s conftest.err'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; } &&
34976 { ac_try
='test -s conftest.$ac_objext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34982 ac_header_compiler
=yes
34984 echo "$as_me: failed program was:" >&5
34985 sed 's/^/| /' conftest.
$ac_ext >&5
34987 ac_header_compiler
=no
34989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34991 echo "${ECHO_T}$ac_header_compiler" >&6
34993 # Is the header present?
34994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34996 cat >conftest.
$ac_ext <<_ACEOF
34999 cat confdefs.h
>>conftest.
$ac_ext
35000 cat >>conftest.
$ac_ext <<_ACEOF
35001 /* end confdefs.h. */
35002 #include <$ac_header>
35004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35007 grep -v '^ *+' conftest.er1
>conftest.err
35009 cat conftest.err
>&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); } >/dev
/null
; then
35012 if test -s conftest.err
; then
35013 ac_cpp_err
=$ac_c_preproc_warn_flag
35014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35021 if test -z "$ac_cpp_err"; then
35022 ac_header_preproc
=yes
35024 echo "$as_me: failed program was:" >&5
35025 sed 's/^/| /' conftest.
$ac_ext >&5
35027 ac_header_preproc
=no
35029 rm -f conftest.err conftest.
$ac_ext
35030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35031 echo "${ECHO_T}$ac_header_preproc" >&6
35033 # So? What about this header?
35034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35040 ac_header_preproc
=yes
35043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35057 ## ----------------------------------------- ##
35058 ## Report this to wx-dev@lists.wxwidgets.org ##
35059 ## ----------------------------------------- ##
35062 sed "s/^/$as_me: WARNING: /" >&2
35065 echo "$as_me:$LINENO: checking for $ac_header" >&5
35066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 eval "$as_ac_Header=\$ac_header_preproc"
35072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35077 cat >>confdefs.h
<<_ACEOF
35078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35086 if test "$wxUSE_LIBSDL" != "no"; then
35088 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35089 if test "${with_sdl_prefix+set}" = set; then
35090 withval
="$with_sdl_prefix"
35091 sdl_prefix
="$withval"
35096 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35097 if test "${with_sdl_exec_prefix+set}" = set; then
35098 withval
="$with_sdl_exec_prefix"
35099 sdl_exec_prefix
="$withval"
35103 # Check whether --enable-sdltest or --disable-sdltest was given.
35104 if test "${enable_sdltest+set}" = set; then
35105 enableval
="$enable_sdltest"
35111 if test x
$sdl_exec_prefix != x
; then
35112 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35113 if test x
${SDL_CONFIG+set} != xset
; then
35114 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35117 if test x
$sdl_prefix != x
; then
35118 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35119 if test x
${SDL_CONFIG+set} != xset
; then
35120 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35125 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35126 # Extract the first word of "sdl-config", so it can be a program name with args.
35127 set dummy sdl
-config; ac_word
=$2
35128 echo "$as_me:$LINENO: checking for $ac_word" >&5
35129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35130 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 case $SDL_CONFIG in
35135 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35139 for as_dir
in $PATH
35142 test -z "$as_dir" && as_dir
=.
35143 for ac_exec_ext
in '' $ac_executable_extensions; do
35144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35145 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35152 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35156 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35158 if test -n "$SDL_CONFIG"; then
35159 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35160 echo "${ECHO_T}$SDL_CONFIG" >&6
35162 echo "$as_me:$LINENO: result: no" >&5
35163 echo "${ECHO_T}no" >&6
35166 min_sdl_version
=1.2.0
35167 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35168 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35170 if test "$SDL_CONFIG" = "no" ; then
35173 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35174 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35176 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35178 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35180 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35182 if test "x$enable_sdltest" = "xyes" ; then
35183 ac_save_CFLAGS
="$CFLAGS"
35184 ac_save_LIBS
="$LIBS"
35185 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35186 LIBS
="$LIBS $SDL_LIBS"
35188 if test "$cross_compiling" = yes; then
35189 echo $ac_n "cross compiling; assumed OK... $ac_c"
35191 cat >conftest.
$ac_ext <<_ACEOF
35194 cat confdefs.h
>>conftest.
$ac_ext
35195 cat >>conftest.
$ac_ext <<_ACEOF
35196 /* end confdefs.h. */
35199 #include <stdlib.h>
35200 #include <string.h>
35204 my_strdup (char *str)
35210 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35211 strcpy (new_str, str);
35219 int main (int argc, char *argv[])
35221 int major, minor, micro;
35224 /* This hangs on some systems (?)
35225 system ("touch conf.sdltest");
35227 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35229 /* HP/UX 9 (%@#!) writes to sscanf strings */
35230 tmp_version = my_strdup("$min_sdl_version");
35231 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35232 printf("%s, bad version string\n", "$min_sdl_version");
35236 if (($sdl_major_version > major) ||
35237 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35238 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35244 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35245 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35246 printf("*** best to upgrade to the required version.\n");
35247 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35248 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35249 printf("*** config.cache before re-running configure\n");
35256 rm -f conftest
$ac_exeext
35257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35258 (eval $ac_link) 2>&5
35260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35263 (eval $ac_try) 2>&5
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); }; }; then
35269 echo "$as_me: program exited with status $ac_status" >&5
35270 echo "$as_me: failed program was:" >&5
35271 sed 's/^/| /' conftest.
$ac_ext >&5
35273 ( exit $ac_status )
35276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35278 CFLAGS
="$ac_save_CFLAGS"
35279 LIBS
="$ac_save_LIBS"
35282 if test "x$no_sdl" = x
; then
35283 echo "$as_me:$LINENO: result: yes" >&5
35284 echo "${ECHO_T}yes" >&6
35286 EXTRALIBS_SDL
="$SDL_LIBS"
35287 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35288 cat >>confdefs.h
<<\_ACEOF
35289 #define wxUSE_LIBSDL 1
35294 echo "$as_me:$LINENO: result: no" >&5
35295 echo "${ECHO_T}no" >&6
35296 if test "$SDL_CONFIG" = "no" ; then
35297 echo "*** The sdl-config script installed by SDL could not be found"
35298 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35299 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35300 echo "*** full path to sdl-config."
35302 if test -f conf.sdltest
; then
35305 echo "*** Could not run SDL test program, checking why..."
35306 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35307 LIBS
="$LIBS $SDL_LIBS"
35308 cat >conftest.
$ac_ext <<_ACEOF
35311 cat confdefs.h
>>conftest.
$ac_ext
35312 cat >>conftest.
$ac_ext <<_ACEOF
35313 /* end confdefs.h. */
35318 int main(int argc, char *argv[])
35321 #define main K_and_R_C_main
35331 rm -f conftest.
$ac_objext conftest
$ac_exeext
35332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35333 (eval $ac_link) 2>conftest.er1
35335 grep -v '^ *+' conftest.er1
>conftest.err
35337 cat conftest.err
>&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } &&
35340 { ac_try
='test -z "$ac_c_werror_flag"
35341 || test ! -s conftest.err'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; } &&
35347 { ac_try
='test -s conftest$ac_exeext'
35348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35349 (eval $ac_try) 2>&5
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); }; }; then
35353 echo "*** The test program compiled, but did not run. This usually means"
35354 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35355 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35358 echo "*** is required on your system"
35360 echo "*** If you have an old version installed, it is best to remove it, although"
35361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.
$ac_ext >&5
35366 echo "*** The test program failed to compile or link. See the file config.log for the"
35367 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35368 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35369 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35371 rm -f conftest.err conftest.
$ac_objext \
35372 conftest
$ac_exeext conftest.
$ac_ext
35373 CFLAGS
="$ac_save_CFLAGS"
35374 LIBS
="$ac_save_LIBS"
35385 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35391 cat >>confdefs.h
<<\_ACEOF
35392 #define wxUSE_SOUND 1
35395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35398 if test "$WXGTK20" = 1; then
35399 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35400 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35405 if test -z "$PKG_CONFIG"; then
35406 # Extract the first word of "pkg-config", so it can be a program name with args.
35407 set dummy pkg
-config; ac_word
=$2
35408 echo "$as_me:$LINENO: checking for $ac_word" >&5
35409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35410 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35413 case $PKG_CONFIG in
35415 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35419 for as_dir
in $PATH
35422 test -z "$as_dir" && as_dir
=.
35423 for ac_exec_ext
in '' $ac_executable_extensions; do
35424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35425 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35432 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
35436 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35438 if test -n "$PKG_CONFIG"; then
35439 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35440 echo "${ECHO_T}$PKG_CONFIG" >&6
35442 echo "$as_me:$LINENO: result: no" >&5
35443 echo "${ECHO_T}no" >&6
35448 if test "$PKG_CONFIG" = "no" ; then
35449 echo "*** The pkg-config script could not be found. Make sure it is"
35450 echo "*** in your path, or set the PKG_CONFIG environment variable"
35451 echo "*** to the full path to pkg-config."
35452 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35454 PKG_CONFIG_MIN_VERSION
=0.9.0
35455 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35456 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35457 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35459 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35460 echo "$as_me:$LINENO: result: yes" >&5
35461 echo "${ECHO_T}yes" >&6
35464 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35465 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35466 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35467 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35468 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35470 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35471 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35472 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35473 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35474 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35476 LIBGNOMEPRINTUI_CFLAGS
=""
35477 LIBGNOMEPRINTUI_LIBS
=""
35478 ## If we have a custom action on failure, don't print errors, but
35479 ## do set a variable so people can do so.
35480 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35487 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35488 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35492 if test $succeeded = yes; then
35494 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35495 cat >>confdefs.h
<<\_ACEOF
35496 #define wxUSE_LIBGNOMEPRINT 1
35502 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35503 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35504 wxUSE_LIBGNOMEPRINT
="no"
35514 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35515 cat >>confdefs.h
<<\_ACEOF
35516 #define wxUSE_CMDLINE_PARSER 1
35521 if test "$wxUSE_STOPWATCH" = "yes"; then
35522 cat >>confdefs.h
<<\_ACEOF
35523 #define wxUSE_STOPWATCH 1
35528 if test "$wxUSE_DATETIME" = "yes"; then
35529 cat >>confdefs.h
<<\_ACEOF
35530 #define wxUSE_DATETIME 1
35535 if test "$wxUSE_FILE" = "yes"; then
35536 cat >>confdefs.h
<<\_ACEOF
35537 #define wxUSE_FILE 1
35542 if test "$wxUSE_FFILE" = "yes"; then
35543 cat >>confdefs.h
<<\_ACEOF
35544 #define wxUSE_FFILE 1
35549 if test "$wxUSE_FILESYSTEM" = "yes"; then
35550 cat >>confdefs.h
<<\_ACEOF
35551 #define wxUSE_FILESYSTEM 1
35556 if test "$wxUSE_FS_ZIP" = "yes"; then
35557 cat >>confdefs.h
<<\_ACEOF
35558 #define wxUSE_FS_ZIP 1
35563 if test "$wxUSE_ARCSTREAM" = "yes"; then
35564 cat >>confdefs.h
<<\_ACEOF
35565 #define wxUSE_ARCSTREAM 1
35570 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35571 if test "$wxUSE_ARCSTREAM" != "yes"; then
35572 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
35573 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
35574 elif test "$wxUSE_ZLIB" = "no"; then
35575 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
35576 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
35578 cat >>confdefs.h
<<\_ACEOF
35579 #define wxUSE_ZIPSTREAM 1
35585 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35586 cat >>confdefs.h
<<\_ACEOF
35587 #define wxUSE_ON_FATAL_EXCEPTION 1
35592 if test "$wxUSE_STACKWALKER" = "yes"; then
35593 cat >>confdefs.h
<<\_ACEOF
35594 #define wxUSE_STACKWALKER 1
35599 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35600 cat >>confdefs.h
<<\_ACEOF
35601 #define wxUSE_SNGLINST_CHECKER 1
35606 if test "$wxUSE_BUSYINFO" = "yes"; then
35607 cat >>confdefs.h
<<\_ACEOF
35608 #define wxUSE_BUSYINFO 1
35613 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35614 cat >>confdefs.h
<<\_ACEOF
35615 #define wxUSE_STD_IOSTREAM 1
35620 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35621 cat >>confdefs.h
<<\_ACEOF
35622 #define wxUSE_TEXTBUFFER 1
35627 if test "$wxUSE_TEXTFILE" = "yes"; then
35628 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35629 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35630 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35632 cat >>confdefs.h
<<\_ACEOF
35633 #define wxUSE_TEXTFILE 1
35639 if test "$wxUSE_CONFIG" = "yes" ; then
35640 if test "$wxUSE_TEXTFILE" != "yes"; then
35641 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35642 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35644 cat >>confdefs.h
<<\_ACEOF
35645 #define wxUSE_CONFIG 1
35648 cat >>confdefs.h
<<\_ACEOF
35649 #define wxUSE_CONFIG_NATIVE 1
35652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35656 if test "$wxUSE_INTL" = "yes" ; then
35657 if test "$wxUSE_FILE" != "yes"; then
35658 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35659 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35661 cat >>confdefs.h
<<\_ACEOF
35662 #define wxUSE_INTL 1
35665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35666 GUIDIST
="$GUIDIST INTL_DIST"
35670 if test "$wxUSE_LOG" = "yes"; then
35671 cat >>confdefs.h
<<\_ACEOF
35672 #define wxUSE_LOG 1
35676 if test "$wxUSE_LOGGUI" = "yes"; then
35677 cat >>confdefs.h
<<\_ACEOF
35678 #define wxUSE_LOGGUI 1
35683 if test "$wxUSE_LOGWINDOW" = "yes"; then
35684 cat >>confdefs.h
<<\_ACEOF
35685 #define wxUSE_LOGWINDOW 1
35690 if test "$wxUSE_LOGDIALOG" = "yes"; then
35691 cat >>confdefs.h
<<\_ACEOF
35692 #define wxUSE_LOG_DIALOG 1
35698 if test "$wxUSE_LONGLONG" = "yes"; then
35699 cat >>confdefs.h
<<\_ACEOF
35700 #define wxUSE_LONGLONG 1
35705 if test "$wxUSE_GEOMETRY" = "yes"; then
35706 cat >>confdefs.h
<<\_ACEOF
35707 #define wxUSE_GEOMETRY 1
35712 if test "$wxUSE_STREAMS" = "yes" ; then
35713 cat >>confdefs.h
<<\_ACEOF
35714 #define wxUSE_STREAMS 1
35720 if test "$wxUSE_DATETIME" = "yes"; then
35722 for ac_func
in strptime
35724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35725 echo "$as_me:$LINENO: checking for $ac_func" >&5
35726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35727 if eval "test \"\${$as_ac_var+set}\" = set"; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 cat >conftest.
$ac_ext <<_ACEOF
35733 cat confdefs.h
>>conftest.
$ac_ext
35734 cat >>conftest.
$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35738 #define $ac_func innocuous_$ac_func
35740 /* System header to define __stub macros and hopefully few prototypes,
35741 which can conflict with char $ac_func (); below.
35742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35743 <limits.h> exists even on freestanding compilers. */
35746 # include <limits.h>
35748 # include <assert.h>
35753 /* Override any gcc2 internal prototype to avoid an error. */
35758 /* We use char because int might match the return type of a gcc2
35759 builtin and then its argument prototype would still apply. */
35761 /* The GNU C library defines this for functions which it implements
35762 to always fail with ENOSYS. Some functions are actually named
35763 something starting with __ and the normal name is an alias. */
35764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35767 char (*f) () = $ac_func;
35776 return f != $ac_func;
35781 rm -f conftest.
$ac_objext conftest
$ac_exeext
35782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35783 (eval $ac_link) 2>conftest.er1
35785 grep -v '^ *+' conftest.er1
>conftest.err
35787 cat conftest.err
>&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } &&
35790 { ac_try
='test -z "$ac_c_werror_flag"
35791 || test ! -s conftest.err'
35792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35793 (eval $ac_try) 2>&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); }; } &&
35797 { ac_try
='test -s conftest$ac_exeext'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; }; then
35803 eval "$as_ac_var=yes"
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.
$ac_ext >&5
35808 eval "$as_ac_var=no"
35810 rm -f conftest.err conftest.
$ac_objext \
35811 conftest
$ac_exeext conftest.
$ac_ext
35813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35815 if test `eval echo '${'$as_ac_var'}'` = yes; then
35816 cat >>confdefs.h
<<_ACEOF
35817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35824 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35825 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35826 if test "${wx_cv_var_timezone+set}" = set; then
35827 echo $ECHO_N "(cached) $ECHO_C" >&6
35830 cat >conftest.
$ac_ext <<_ACEOF
35833 cat confdefs.h
>>conftest.
$ac_ext
35834 cat >>conftest.
$ac_ext <<_ACEOF
35835 /* end confdefs.h. */
35850 rm -f conftest.
$ac_objext
35851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35852 (eval $ac_compile) 2>conftest.er1
35854 grep -v '^ *+' conftest.er1
>conftest.err
35856 cat conftest.err
>&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); } &&
35859 { ac_try
='test -z "$ac_c_werror_flag"
35860 || test ! -s conftest.err'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; } &&
35866 { ac_try
='test -s conftest.$ac_objext'
35867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868 (eval $ac_try) 2>&5
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); }; }; then
35873 wx_cv_var_timezone
=timezone
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.
$ac_ext >&5
35880 cat >conftest.
$ac_ext <<_ACEOF
35883 cat confdefs.h
>>conftest.
$ac_ext
35884 cat >>conftest.
$ac_ext <<_ACEOF
35885 /* end confdefs.h. */
35900 rm -f conftest.
$ac_objext
35901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35902 (eval $ac_compile) 2>conftest.er1
35904 grep -v '^ *+' conftest.er1
>conftest.err
35906 cat conftest.err
>&5
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); } &&
35909 { ac_try
='test -z "$ac_c_werror_flag"
35910 || test ! -s conftest.err'
35911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35912 (eval $ac_try) 2>&5
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); }; } &&
35916 { ac_try
='test -s conftest.$ac_objext'
35917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35918 (eval $ac_try) 2>&5
35920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35921 (exit $ac_status); }; }; then
35923 wx_cv_var_timezone
=_timezone
35926 echo "$as_me: failed program was:" >&5
35927 sed 's/^/| /' conftest.
$ac_ext >&5
35930 cat >conftest.
$ac_ext <<_ACEOF
35933 cat confdefs.h
>>conftest.
$ac_ext
35934 cat >>conftest.
$ac_ext <<_ACEOF
35935 /* end confdefs.h. */
35950 rm -f conftest.
$ac_objext
35951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35952 (eval $ac_compile) 2>conftest.er1
35954 grep -v '^ *+' conftest.er1
>conftest.err
35956 cat conftest.err
>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } &&
35959 { ac_try
='test -z "$ac_c_werror_flag"
35960 || test ! -s conftest.err'
35961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35962 (eval $ac_try) 2>&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); }; } &&
35966 { ac_try
='test -s conftest.$ac_objext'
35967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35968 (eval $ac_try) 2>&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); }; }; then
35973 wx_cv_var_timezone
=__timezone
35976 echo "$as_me: failed program was:" >&5
35977 sed 's/^/| /' conftest.
$ac_ext >&5
35980 if test "$USE_DOS" = 0 ; then
35981 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35982 echo "$as_me: WARNING: no timezone variable" >&2;}
35987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35999 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36000 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36002 if test "x$wx_cv_var_timezone" != x
; then
36003 cat >>confdefs.h
<<_ACEOF
36004 #define WX_TIMEZONE $wx_cv_var_timezone
36010 for ac_func
in localtime
36012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36013 echo "$as_me:$LINENO: checking for $ac_func" >&5
36014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36015 if eval "test \"\${$as_ac_var+set}\" = set"; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 cat >conftest.
$ac_ext <<_ACEOF
36021 cat confdefs.h
>>conftest.
$ac_ext
36022 cat >>conftest.
$ac_ext <<_ACEOF
36023 /* end confdefs.h. */
36024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36026 #define $ac_func innocuous_$ac_func
36028 /* System header to define __stub macros and hopefully few prototypes,
36029 which can conflict with char $ac_func (); below.
36030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36031 <limits.h> exists even on freestanding compilers. */
36034 # include <limits.h>
36036 # include <assert.h>
36041 /* Override any gcc2 internal prototype to avoid an error. */
36046 /* We use char because int might match the return type of a gcc2
36047 builtin and then its argument prototype would still apply. */
36049 /* The GNU C library defines this for functions which it implements
36050 to always fail with ENOSYS. Some functions are actually named
36051 something starting with __ and the normal name is an alias. */
36052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36055 char (*f) () = $ac_func;
36064 return f != $ac_func;
36069 rm -f conftest.
$ac_objext conftest
$ac_exeext
36070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36071 (eval $ac_link) 2>conftest.er1
36073 grep -v '^ *+' conftest.er1
>conftest.err
36075 cat conftest.err
>&5
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); } &&
36078 { ac_try
='test -z "$ac_c_werror_flag"
36079 || test ! -s conftest.err'
36080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36081 (eval $ac_try) 2>&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); }; } &&
36085 { ac_try
='test -s conftest$ac_exeext'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; }; then
36091 eval "$as_ac_var=yes"
36093 echo "$as_me: failed program was:" >&5
36094 sed 's/^/| /' conftest.
$ac_ext >&5
36096 eval "$as_ac_var=no"
36098 rm -f conftest.err conftest.
$ac_objext \
36099 conftest
$ac_exeext conftest.
$ac_ext
36101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36103 if test `eval echo '${'$as_ac_var'}'` = yes; then
36104 cat >>confdefs.h
<<_ACEOF
36105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36112 if test "$ac_cv_func_localtime" = "yes"; then
36113 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36114 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36115 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36116 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 cat >conftest.
$ac_ext <<_ACEOF
36122 cat confdefs.h
>>conftest.
$ac_ext
36123 cat >>conftest.
$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36139 rm -f conftest.
$ac_objext
36140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36141 (eval $ac_compile) 2>conftest.er1
36143 grep -v '^ *+' conftest.er1
>conftest.err
36145 cat conftest.err
>&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); } &&
36148 { ac_try
='test -z "$ac_c_werror_flag"
36149 || test ! -s conftest.err'
36150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36151 (eval $ac_try) 2>&5
36153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36154 (exit $ac_status); }; } &&
36155 { ac_try
='test -s conftest.$ac_objext'
36156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36157 (eval $ac_try) 2>&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); }; }; then
36162 wx_cv_struct_tm_has_gmtoff
=yes
36165 echo "$as_me: failed program was:" >&5
36166 sed 's/^/| /' conftest.
$ac_ext >&5
36168 wx_cv_struct_tm_has_gmtoff
=no
36171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36174 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36175 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36178 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36179 cat >>confdefs.h
<<\_ACEOF
36180 #define WX_GMTOFF_IN_TM 1
36187 for ac_func
in gettimeofday ftime
36189 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36190 echo "$as_me:$LINENO: checking for $ac_func" >&5
36191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36192 if eval "test \"\${$as_ac_var+set}\" = set"; then
36193 echo $ECHO_N "(cached) $ECHO_C" >&6
36195 cat >conftest.
$ac_ext <<_ACEOF
36198 cat confdefs.h
>>conftest.
$ac_ext
36199 cat >>conftest.
$ac_ext <<_ACEOF
36200 /* end confdefs.h. */
36201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36203 #define $ac_func innocuous_$ac_func
36205 /* System header to define __stub macros and hopefully few prototypes,
36206 which can conflict with char $ac_func (); below.
36207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36208 <limits.h> exists even on freestanding compilers. */
36211 # include <limits.h>
36213 # include <assert.h>
36218 /* Override any gcc2 internal prototype to avoid an error. */
36223 /* We use char because int might match the return type of a gcc2
36224 builtin and then its argument prototype would still apply. */
36226 /* The GNU C library defines this for functions which it implements
36227 to always fail with ENOSYS. Some functions are actually named
36228 something starting with __ and the normal name is an alias. */
36229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36232 char (*f) () = $ac_func;
36241 return f != $ac_func;
36246 rm -f conftest.
$ac_objext conftest
$ac_exeext
36247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36248 (eval $ac_link) 2>conftest.er1
36250 grep -v '^ *+' conftest.er1
>conftest.err
36252 cat conftest.err
>&5
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); } &&
36255 { ac_try
='test -z "$ac_c_werror_flag"
36256 || test ! -s conftest.err'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; } &&
36262 { ac_try
='test -s conftest$ac_exeext'
36263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36264 (eval $ac_try) 2>&5
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); }; }; then
36268 eval "$as_ac_var=yes"
36270 echo "$as_me: failed program was:" >&5
36271 sed 's/^/| /' conftest.
$ac_ext >&5
36273 eval "$as_ac_var=no"
36275 rm -f conftest.err conftest.
$ac_objext \
36276 conftest
$ac_exeext conftest.
$ac_ext
36278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36280 if test `eval echo '${'$as_ac_var'}'` = yes; then
36281 cat >>confdefs.h
<<_ACEOF
36282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36289 if test "$ac_cv_func_gettimeofday" = "yes"; then
36290 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36291 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36292 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36299 ac_cpp
='$CXXCPP $CPPFLAGS'
36300 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36305 cat >conftest.
$ac_ext <<_ACEOF
36308 cat confdefs.h
>>conftest.
$ac_ext
36309 cat >>conftest.
$ac_ext <<_ACEOF
36310 /* end confdefs.h. */
36312 #include <sys/time.h>
36313 #include <unistd.h>
36320 gettimeofday(&tv, NULL);
36326 rm -f conftest.
$ac_objext
36327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36328 (eval $ac_compile) 2>conftest.er1
36330 grep -v '^ *+' conftest.er1
>conftest.err
36332 cat conftest.err
>&5
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); } &&
36335 { ac_try
='test -z "$ac_cxx_werror_flag"
36336 || test ! -s conftest.err'
36337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36338 (eval $ac_try) 2>&5
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); }; } &&
36342 { ac_try
='test -s conftest.$ac_objext'
36343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344 (eval $ac_try) 2>&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); }; }; then
36348 wx_cv_func_gettimeofday_has_2_args
=yes
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.
$ac_ext >&5
36353 cat >conftest.
$ac_ext <<_ACEOF
36356 cat confdefs.h
>>conftest.
$ac_ext
36357 cat >>conftest.
$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36360 #include <sys/time.h>
36361 #include <unistd.h>
36374 rm -f conftest.
$ac_objext
36375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36376 (eval $ac_compile) 2>conftest.er1
36378 grep -v '^ *+' conftest.er1
>conftest.err
36380 cat conftest.err
>&5
36381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382 (exit $ac_status); } &&
36383 { ac_try
='test -z "$ac_cxx_werror_flag"
36384 || test ! -s conftest.err'
36385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36386 (eval $ac_try) 2>&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); }; } &&
36390 { ac_try
='test -s conftest.$ac_objext'
36391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36392 (eval $ac_try) 2>&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); }; }; then
36396 wx_cv_func_gettimeofday_has_2_args
=no
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.
$ac_ext >&5
36402 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36403 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36404 wx_cv_func_gettimeofday_has_2_args
=unknown
36408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36413 ac_cpp
='$CPP $CPPFLAGS'
36414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36420 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36421 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36423 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36424 cat >>confdefs.h
<<\_ACEOF
36425 #define WX_GETTIMEOFDAY_NO_TZ 1
36431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36435 if test "$wxUSE_SOCKETS" = "yes"; then
36436 if test "$wxUSE_MGL" = "1"; then
36437 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36438 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36443 if test "$wxUSE_SOCKETS" = "yes"; then
36444 if test "$TOOLKIT" != "MSW"; then
36445 echo "$as_me:$LINENO: checking for socket" >&5
36446 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36447 if test "${ac_cv_func_socket+set}" = set; then
36448 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 cat >conftest.
$ac_ext <<_ACEOF
36453 cat confdefs.h
>>conftest.
$ac_ext
36454 cat >>conftest.
$ac_ext <<_ACEOF
36455 /* end confdefs.h. */
36456 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36458 #define socket innocuous_socket
36460 /* System header to define __stub macros and hopefully few prototypes,
36461 which can conflict with char socket (); below.
36462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36463 <limits.h> exists even on freestanding compilers. */
36466 # include <limits.h>
36468 # include <assert.h>
36473 /* Override any gcc2 internal prototype to avoid an error. */
36478 /* We use char because int might match the return type of a gcc2
36479 builtin and then its argument prototype would still apply. */
36481 /* The GNU C library defines this for functions which it implements
36482 to always fail with ENOSYS. Some functions are actually named
36483 something starting with __ and the normal name is an alias. */
36484 #if defined (__stub_socket) || defined (__stub___socket)
36487 char (*f) () = socket;
36496 return f != socket;
36501 rm -f conftest.
$ac_objext conftest
$ac_exeext
36502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36503 (eval $ac_link) 2>conftest.er1
36505 grep -v '^ *+' conftest.er1
>conftest.err
36507 cat conftest.err
>&5
36508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36509 (exit $ac_status); } &&
36510 { ac_try
='test -z "$ac_c_werror_flag"
36511 || test ! -s conftest.err'
36512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36513 (eval $ac_try) 2>&5
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); }; } &&
36517 { ac_try
='test -s conftest$ac_exeext'
36518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36519 (eval $ac_try) 2>&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); }; }; then
36523 ac_cv_func_socket
=yes
36525 echo "$as_me: failed program was:" >&5
36526 sed 's/^/| /' conftest.
$ac_ext >&5
36528 ac_cv_func_socket
=no
36530 rm -f conftest.err conftest.
$ac_objext \
36531 conftest
$ac_exeext conftest.
$ac_ext
36533 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36534 echo "${ECHO_T}$ac_cv_func_socket" >&6
36535 if test $ac_cv_func_socket = yes; then
36539 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36540 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36541 if test "${ac_cv_lib_socket_socket+set}" = set; then
36542 echo $ECHO_N "(cached) $ECHO_C" >&6
36544 ac_check_lib_save_LIBS
=$LIBS
36545 LIBS
="-lsocket $LIBS"
36546 cat >conftest.
$ac_ext <<_ACEOF
36549 cat confdefs.h
>>conftest.
$ac_ext
36550 cat >>conftest.
$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36553 /* Override any gcc2 internal prototype to avoid an error. */
36557 /* We use char because int might match the return type of a gcc2
36558 builtin and then its argument prototype would still apply. */
36568 rm -f conftest.
$ac_objext conftest
$ac_exeext
36569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36570 (eval $ac_link) 2>conftest.er1
36572 grep -v '^ *+' conftest.er1
>conftest.err
36574 cat conftest.err
>&5
36575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576 (exit $ac_status); } &&
36577 { ac_try
='test -z "$ac_c_werror_flag"
36578 || test ! -s conftest.err'
36579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36580 (eval $ac_try) 2>&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); }; } &&
36584 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36590 ac_cv_lib_socket_socket
=yes
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.
$ac_ext >&5
36595 ac_cv_lib_socket_socket
=no
36597 rm -f conftest.err conftest.
$ac_objext \
36598 conftest
$ac_exeext conftest.
$ac_ext
36599 LIBS
=$ac_check_lib_save_LIBS
36601 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36602 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36603 if test $ac_cv_lib_socket_socket = yes; then
36604 if test "$INET_LINK" != " -lsocket"; then
36605 INET_LINK
="$INET_LINK -lsocket"
36609 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36610 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36623 if test "$wxUSE_SOCKETS" = "yes" ; then
36624 if test "$TOOLKIT" != "MSW"; then
36626 ac_cpp
='$CXXCPP $CPPFLAGS'
36627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36631 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36632 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36633 if test "${wx_cv_type_getsockname3+set}" = set; then
36634 echo $ECHO_N "(cached) $ECHO_C" >&6
36637 cat >conftest.
$ac_ext <<_ACEOF
36640 cat confdefs.h
>>conftest.
$ac_ext
36641 cat >>conftest.
$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36644 #include <sys/types.h>
36645 #include <sys/socket.h>
36652 getsockname(0, 0, &len);
36658 rm -f conftest.
$ac_objext
36659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36660 (eval $ac_compile) 2>conftest.er1
36662 grep -v '^ *+' conftest.er1
>conftest.err
36664 cat conftest.err
>&5
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); } &&
36667 { ac_try
='test -z "$ac_cxx_werror_flag"
36668 || test ! -s conftest.err'
36669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36670 (eval $ac_try) 2>&5
36672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36673 (exit $ac_status); }; } &&
36674 { ac_try
='test -s conftest.$ac_objext'
36675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36676 (eval $ac_try) 2>&5
36678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36679 (exit $ac_status); }; }; then
36680 wx_cv_type_getsockname3
=socklen_t
36682 echo "$as_me: failed program was:" >&5
36683 sed 's/^/| /' conftest.
$ac_ext >&5
36686 CFLAGS_OLD
="$CFLAGS"
36687 if test "$GCC" = yes ; then
36688 CFLAGS
="$CFLAGS -Werror"
36691 cat >conftest.
$ac_ext <<_ACEOF
36694 cat confdefs.h
>>conftest.
$ac_ext
36695 cat >>conftest.
$ac_ext <<_ACEOF
36696 /* end confdefs.h. */
36698 #include <sys/types.h>
36699 #include <sys/socket.h>
36706 getsockname(0, 0, &len);
36712 rm -f conftest.
$ac_objext
36713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36714 (eval $ac_compile) 2>conftest.er1
36716 grep -v '^ *+' conftest.er1
>conftest.err
36718 cat conftest.err
>&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); } &&
36721 { ac_try
='test -z "$ac_cxx_werror_flag"
36722 || test ! -s conftest.err'
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; } &&
36728 { ac_try
='test -s conftest.$ac_objext'
36729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730 (eval $ac_try) 2>&5
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); }; }; then
36734 wx_cv_type_getsockname3
=size_t
36736 echo "$as_me: failed program was:" >&5
36737 sed 's/^/| /' conftest.
$ac_ext >&5
36739 cat >conftest.
$ac_ext <<_ACEOF
36742 cat confdefs.h
>>conftest.
$ac_ext
36743 cat >>conftest.
$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36746 #include <sys/types.h>
36747 #include <sys/socket.h>
36754 getsockname(0, 0, &len);
36760 rm -f conftest.
$ac_objext
36761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36762 (eval $ac_compile) 2>conftest.er1
36764 grep -v '^ *+' conftest.er1
>conftest.err
36766 cat conftest.err
>&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); } &&
36769 { ac_try
='test -z "$ac_cxx_werror_flag"
36770 || test ! -s conftest.err'
36771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36772 (eval $ac_try) 2>&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); }; } &&
36776 { ac_try
='test -s conftest.$ac_objext'
36777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778 (eval $ac_try) 2>&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; }; then
36782 wx_cv_type_getsockname3
=int
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.
$ac_ext >&5
36787 wx_cv_type_getsockname3
=unknown
36790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36795 CFLAGS
="$CFLAGS_OLD"
36799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36802 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36803 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36805 if test "$wx_cv_type_getsockname3" = "unknown"; then
36807 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36808 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36810 cat >>confdefs.h
<<_ACEOF
36811 #define SOCKLEN_T $wx_cv_type_getsockname3
36815 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36816 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36817 if test "${wx_cv_type_getsockopt5+set}" = set; then
36818 echo $ECHO_N "(cached) $ECHO_C" >&6
36821 cat >conftest.
$ac_ext <<_ACEOF
36824 cat confdefs.h
>>conftest.
$ac_ext
36825 cat >>conftest.
$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36828 #include <sys/types.h>
36829 #include <sys/socket.h>
36836 getsockopt(0, 0, 0, 0, &len);
36842 rm -f conftest.
$ac_objext
36843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36844 (eval $ac_compile) 2>conftest.er1
36846 grep -v '^ *+' conftest.er1
>conftest.err
36848 cat conftest.err
>&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } &&
36851 { ac_try
='test -z "$ac_cxx_werror_flag"
36852 || test ! -s conftest.err'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; } &&
36858 { ac_try
='test -s conftest.$ac_objext'
36859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36860 (eval $ac_try) 2>&5
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); }; }; then
36864 wx_cv_type_getsockopt5
=socklen_t
36866 echo "$as_me: failed program was:" >&5
36867 sed 's/^/| /' conftest.
$ac_ext >&5
36870 CFLAGS_OLD
="$CFLAGS"
36871 if test "$GCC" = yes ; then
36872 CFLAGS
="$CFLAGS -Werror"
36875 cat >conftest.
$ac_ext <<_ACEOF
36878 cat confdefs.h
>>conftest.
$ac_ext
36879 cat >>conftest.
$ac_ext <<_ACEOF
36880 /* end confdefs.h. */
36882 #include <sys/types.h>
36883 #include <sys/socket.h>
36890 getsockopt(0, 0, 0, 0, &len);
36896 rm -f conftest.
$ac_objext
36897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36898 (eval $ac_compile) 2>conftest.er1
36900 grep -v '^ *+' conftest.er1
>conftest.err
36902 cat conftest.err
>&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); } &&
36905 { ac_try
='test -z "$ac_cxx_werror_flag"
36906 || test ! -s conftest.err'
36907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36908 (eval $ac_try) 2>&5
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); }; } &&
36912 { ac_try
='test -s conftest.$ac_objext'
36913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36914 (eval $ac_try) 2>&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); }; }; then
36918 wx_cv_type_getsockopt5
=size_t
36920 echo "$as_me: failed program was:" >&5
36921 sed 's/^/| /' conftest.
$ac_ext >&5
36923 cat >conftest.
$ac_ext <<_ACEOF
36926 cat confdefs.h
>>conftest.
$ac_ext
36927 cat >>conftest.
$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36930 #include <sys/types.h>
36931 #include <sys/socket.h>
36938 getsockopt(0, 0, 0, 0, &len);
36944 rm -f conftest.
$ac_objext
36945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36946 (eval $ac_compile) 2>conftest.er1
36948 grep -v '^ *+' conftest.er1
>conftest.err
36950 cat conftest.err
>&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); } &&
36953 { ac_try
='test -z "$ac_cxx_werror_flag"
36954 || test ! -s conftest.err'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; } &&
36960 { ac_try
='test -s conftest.$ac_objext'
36961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36962 (eval $ac_try) 2>&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); }; }; then
36966 wx_cv_type_getsockopt5
=int
36968 echo "$as_me: failed program was:" >&5
36969 sed 's/^/| /' conftest.
$ac_ext >&5
36971 wx_cv_type_getsockopt5
=unknown
36974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36979 CFLAGS
="$CFLAGS_OLD"
36983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36986 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36987 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36989 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36991 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36992 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36994 cat >>confdefs.h
<<_ACEOF
36995 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37000 ac_cpp
='$CPP $CPPFLAGS'
37001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37008 if test "$wxUSE_SOCKETS" = "yes" ; then
37009 cat >>confdefs.h
<<\_ACEOF
37010 #define wxUSE_SOCKETS 1
37013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37016 if test "$wxUSE_PROTOCOL" = "yes"; then
37017 if test "$wxUSE_SOCKETS" != "yes"; then
37018 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37019 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37024 if test "$wxUSE_PROTOCOL" = "yes"; then
37025 cat >>confdefs.h
<<\_ACEOF
37026 #define wxUSE_PROTOCOL 1
37030 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37031 cat >>confdefs.h
<<\_ACEOF
37032 #define wxUSE_PROTOCOL_HTTP 1
37036 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37037 cat >>confdefs.h
<<\_ACEOF
37038 #define wxUSE_PROTOCOL_FTP 1
37042 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37043 cat >>confdefs.h
<<\_ACEOF
37044 #define wxUSE_PROTOCOL_FILE 1
37049 if test "$wxUSE_FS_INET" = "yes"; then
37050 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37051 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37056 if test "$wxUSE_URL" = "yes"; then
37057 if test "$wxUSE_PROTOCOL" != "yes"; then
37058 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37059 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37062 if test "$wxUSE_URL" = "yes"; then
37063 cat >>confdefs.h
<<\_ACEOF
37064 #define wxUSE_URL 1
37070 if test "$wxUSE_FS_INET" = "yes"; then
37071 cat >>confdefs.h
<<\_ACEOF
37072 #define wxUSE_FS_INET 1
37078 if test "$wxUSE_GUI" = "yes"; then
37080 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
37081 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
37082 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
37086 if test "$TOOLKIT" != "MSW"; then
37087 if test "$wxUSE_JOYSTICK" = "yes"; then
37089 for ac_header
in linux
/joystick.h
37091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37093 echo "$as_me:$LINENO: checking for $ac_header" >&5
37094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37096 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37101 # Is the header compilable?
37102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37104 cat >conftest.
$ac_ext <<_ACEOF
37107 cat confdefs.h
>>conftest.
$ac_ext
37108 cat >>conftest.
$ac_ext <<_ACEOF
37109 /* end confdefs.h. */
37110 $ac_includes_default
37111 #include <$ac_header>
37113 rm -f conftest.
$ac_objext
37114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37115 (eval $ac_compile) 2>conftest.er1
37117 grep -v '^ *+' conftest.er1
>conftest.err
37119 cat conftest.err
>&5
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); } &&
37122 { ac_try
='test -z "$ac_c_werror_flag"
37123 || test ! -s conftest.err'
37124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125 (eval $ac_try) 2>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); }; } &&
37129 { ac_try
='test -s conftest.$ac_objext'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; }; then
37135 ac_header_compiler
=yes
37137 echo "$as_me: failed program was:" >&5
37138 sed 's/^/| /' conftest.
$ac_ext >&5
37140 ac_header_compiler
=no
37142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37144 echo "${ECHO_T}$ac_header_compiler" >&6
37146 # Is the header present?
37147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37149 cat >conftest.
$ac_ext <<_ACEOF
37152 cat confdefs.h
>>conftest.
$ac_ext
37153 cat >>conftest.
$ac_ext <<_ACEOF
37154 /* end confdefs.h. */
37155 #include <$ac_header>
37157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37160 grep -v '^ *+' conftest.er1
>conftest.err
37162 cat conftest.err
>&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); } >/dev
/null
; then
37165 if test -s conftest.err
; then
37166 ac_cpp_err
=$ac_c_preproc_warn_flag
37167 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37174 if test -z "$ac_cpp_err"; then
37175 ac_header_preproc
=yes
37177 echo "$as_me: failed program was:" >&5
37178 sed 's/^/| /' conftest.
$ac_ext >&5
37180 ac_header_preproc
=no
37182 rm -f conftest.err conftest.
$ac_ext
37183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37184 echo "${ECHO_T}$ac_header_preproc" >&6
37186 # So? What about this header?
37187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37193 ac_header_preproc
=yes
37196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37210 ## ----------------------------------------- ##
37211 ## Report this to wx-dev@lists.wxwidgets.org ##
37212 ## ----------------------------------------- ##
37215 sed "s/^/$as_me: WARNING: /" >&2
37218 echo "$as_me:$LINENO: checking for $ac_header" >&5
37219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37221 echo $ECHO_N "(cached) $ECHO_C" >&6
37223 eval "$as_ac_Header=\$ac_header_preproc"
37225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37230 cat >>confdefs.h
<<_ACEOF
37231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37238 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37240 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37241 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37246 if test "$wxUSE_JOYSTICK" = "yes"; then
37247 cat >>confdefs.h
<<\_ACEOF
37248 #define wxUSE_JOYSTICK 1
37251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37257 if test "$wxUSE_FONTMAP" = "yes" ; then
37258 cat >>confdefs.h
<<\_ACEOF
37259 #define wxUSE_FONTMAP 1
37264 if test "$wxUSE_UNICODE" = "yes" ; then
37265 cat >>confdefs.h
<<\_ACEOF
37266 #define wxUSE_UNICODE 1
37270 if test "$USE_WIN32" != 1; then
37271 wxUSE_UNICODE_MSLU
=no
37274 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37275 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37276 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37277 if test "${ac_cv_lib_unicows_main+set}" = set; then
37278 echo $ECHO_N "(cached) $ECHO_C" >&6
37280 ac_check_lib_save_LIBS
=$LIBS
37281 LIBS
="-lunicows $LIBS"
37282 cat >conftest.
$ac_ext <<_ACEOF
37285 cat confdefs.h
>>conftest.
$ac_ext
37286 cat >>conftest.
$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37298 rm -f conftest.
$ac_objext conftest
$ac_exeext
37299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37300 (eval $ac_link) 2>conftest.er1
37302 grep -v '^ *+' conftest.er1
>conftest.err
37304 cat conftest.err
>&5
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); } &&
37307 { ac_try
='test -z "$ac_c_werror_flag"
37308 || test ! -s conftest.err'
37309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37310 (eval $ac_try) 2>&5
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); }; } &&
37314 { ac_try
='test -s conftest$ac_exeext'
37315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37316 (eval $ac_try) 2>&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); }; }; then
37320 ac_cv_lib_unicows_main
=yes
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.
$ac_ext >&5
37325 ac_cv_lib_unicows_main
=no
37327 rm -f conftest.err conftest.
$ac_objext \
37328 conftest
$ac_exeext conftest.
$ac_ext
37329 LIBS
=$ac_check_lib_save_LIBS
37331 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37332 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37333 if test $ac_cv_lib_unicows_main = yes; then
37335 cat >>confdefs.h
<<\_ACEOF
37336 #define wxUSE_UNICODE_MSLU 1
37342 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37343 Applications will only run on Windows NT/2000/XP!" >&5
37344 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37345 Applications will only run on Windows NT/2000/XP!" >&2;}
37346 wxUSE_UNICODE_MSLU
=no
37353 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37354 cat >>confdefs.h
<<\_ACEOF
37355 #define wxUSE_EXPERIMENTAL_PRINTF 1
37361 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37362 cat >>confdefs.h
<<\_ACEOF
37363 #define wxUSE_POSTSCRIPT 1
37368 cat >>confdefs.h
<<\_ACEOF
37369 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37373 cat >>confdefs.h
<<\_ACEOF
37374 #define wxUSE_NORMALIZED_PS_FONTS 1
37379 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37380 cat >>confdefs.h
<<\_ACEOF
37381 #define wxUSE_CONSTRAINTS 1
37384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37387 if test "$wxUSE_MDI" = "yes"; then
37388 cat >>confdefs.h
<<\_ACEOF
37389 #define wxUSE_MDI 1
37393 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37394 cat >>confdefs.h
<<\_ACEOF
37395 #define wxUSE_MDI_ARCHITECTURE 1
37398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37402 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37403 cat >>confdefs.h
<<\_ACEOF
37404 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37408 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37413 if test "$wxUSE_HELP" = "yes"; then
37414 cat >>confdefs.h
<<\_ACEOF
37415 #define wxUSE_HELP 1
37418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37420 if test "$wxUSE_MSW" = 1; then
37421 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37422 cat >>confdefs.h
<<\_ACEOF
37423 #define wxUSE_MS_HTML_HELP 1
37429 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37430 if test "$wxUSE_HTML" = "yes"; then
37431 cat >>confdefs.h
<<\_ACEOF
37432 #define wxUSE_WXHTML_HELP 1
37436 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37437 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37438 wxUSE_WXHTML_HELP
=no
37443 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37444 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37445 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37446 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37448 cat >>confdefs.h
<<\_ACEOF
37449 #define wxUSE_PRINTING_ARCHITECTURE 1
37453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37456 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37457 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37458 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37459 { (exit 1); exit 1; }; }
37463 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37464 -o "$wxUSE_CLIPBOARD" = "yes" \
37465 -o "$wxUSE_OLE" = "yes" \
37466 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37468 for ac_header
in ole2.h
37470 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37472 echo "$as_me:$LINENO: checking for $ac_header" >&5
37473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37480 # Is the header compilable?
37481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37483 cat >conftest.
$ac_ext <<_ACEOF
37486 cat confdefs.h
>>conftest.
$ac_ext
37487 cat >>conftest.
$ac_ext <<_ACEOF
37488 /* end confdefs.h. */
37489 $ac_includes_default
37490 #include <$ac_header>
37492 rm -f conftest.
$ac_objext
37493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37494 (eval $ac_compile) 2>conftest.er1
37496 grep -v '^ *+' conftest.er1
>conftest.err
37498 cat conftest.err
>&5
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); } &&
37501 { ac_try
='test -z "$ac_c_werror_flag"
37502 || test ! -s conftest.err'
37503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504 (eval $ac_try) 2>&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); }; } &&
37508 { ac_try
='test -s conftest.$ac_objext'
37509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37510 (eval $ac_try) 2>&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); }; }; then
37514 ac_header_compiler
=yes
37516 echo "$as_me: failed program was:" >&5
37517 sed 's/^/| /' conftest.
$ac_ext >&5
37519 ac_header_compiler
=no
37521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37523 echo "${ECHO_T}$ac_header_compiler" >&6
37525 # Is the header present?
37526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37528 cat >conftest.
$ac_ext <<_ACEOF
37531 cat confdefs.h
>>conftest.
$ac_ext
37532 cat >>conftest.
$ac_ext <<_ACEOF
37533 /* end confdefs.h. */
37534 #include <$ac_header>
37536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37539 grep -v '^ *+' conftest.er1
>conftest.err
37541 cat conftest.err
>&5
37542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543 (exit $ac_status); } >/dev
/null
; then
37544 if test -s conftest.err
; then
37545 ac_cpp_err
=$ac_c_preproc_warn_flag
37546 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37553 if test -z "$ac_cpp_err"; then
37554 ac_header_preproc
=yes
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.
$ac_ext >&5
37559 ac_header_preproc
=no
37561 rm -f conftest.err conftest.
$ac_ext
37562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37563 echo "${ECHO_T}$ac_header_preproc" >&6
37565 # So? What about this header?
37566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37572 ac_header_preproc
=yes
37575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37589 ## ----------------------------------------- ##
37590 ## Report this to wx-dev@lists.wxwidgets.org ##
37591 ## ----------------------------------------- ##
37594 sed "s/^/$as_me: WARNING: /" >&2
37597 echo "$as_me:$LINENO: checking for $ac_header" >&5
37598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37600 echo $ECHO_N "(cached) $ECHO_C" >&6
37602 eval "$as_ac_Header=\$ac_header_preproc"
37604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37609 cat >>confdefs.h
<<_ACEOF
37610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37618 if test "$ac_cv_header_ole2_h" = "yes" ; then
37619 if test "$GCC" = yes ; then
37623 ac_cpp
='$CXXCPP $CPPFLAGS'
37624 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37625 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37626 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37629 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37630 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37631 cat >conftest.
$ac_ext <<_ACEOF
37634 cat confdefs.h
>>conftest.
$ac_ext
37635 cat >>conftest.
$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 #include <windows.h>
37647 rm -f conftest.
$ac_objext
37648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37649 (eval $ac_compile) 2>conftest.er1
37651 grep -v '^ *+' conftest.er1
>conftest.err
37653 cat conftest.err
>&5
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); } &&
37656 { ac_try
='test -z "$ac_cxx_werror_flag"
37657 || test ! -s conftest.err'
37658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37659 (eval $ac_try) 2>&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); }; } &&
37663 { ac_try
='test -s conftest.$ac_objext'
37664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37665 (eval $ac_try) 2>&5
37667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37668 (exit $ac_status); }; }; then
37669 echo "$as_me:$LINENO: result: no" >&5
37670 echo "${ECHO_T}no" >&6
37672 echo "$as_me: failed program was:" >&5
37673 sed 's/^/| /' conftest.
$ac_ext >&5
37675 echo "$as_me:$LINENO: result: yes" >&5
37676 echo "${ECHO_T}yes" >&6
37677 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37681 ac_cpp
='$CPP $CPPFLAGS'
37682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37686 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37687 if test "$wxUSE_OLE" = "yes" ; then
37688 cat >>confdefs.h
<<\_ACEOF
37689 #define wxUSE_OLE 1
37695 if test "$wxUSE_DATAOBJ" = "yes" ; then
37696 cat >>confdefs.h
<<\_ACEOF
37697 #define wxUSE_DATAOBJ 1
37702 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37703 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37706 wxUSE_DRAG_AND_DROP
=no
37711 if test "$wxUSE_METAFILE" = "yes"; then
37712 cat >>confdefs.h
<<\_ACEOF
37713 #define wxUSE_METAFILE 1
37717 cat >>confdefs.h
<<\_ACEOF
37718 #define wxUSE_ENH_METAFILE 1
37724 if test "$wxUSE_IPC" = "yes"; then
37725 if test "$wxUSE_SOCKETS" != "yes"; then
37726 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37727 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37730 cat >>confdefs.h
<<\_ACEOF
37731 #define wxUSE_IPC 1
37736 if test "$wxUSE_CLIPBOARD" = "yes"; then
37737 if test "$wxUSE_MGL" = 1; then
37738 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37739 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37743 if test "$wxUSE_CLIPBOARD" = "yes"; then
37744 cat >>confdefs.h
<<\_ACEOF
37745 #define wxUSE_CLIPBOARD 1
37749 cat >>confdefs.h
<<\_ACEOF
37750 #define wxUSE_DATAOBJ 1
37756 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37757 if test "$wxUSE_GTK" = 1; then
37758 if test "$WXGTK12" != 1; then
37759 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37760 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37761 wxUSE_DRAG_AND_DROP
=no
37765 if test "$wxUSE_MOTIF" = 1; then
37766 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37767 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37768 wxUSE_DRAG_AND_DROP
=no
37771 if test "$wxUSE_X11" = 1; then
37772 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37773 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37774 wxUSE_DRAG_AND_DROP
=no
37777 if test "$wxUSE_MGL" = 1; then
37778 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37779 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37780 wxUSE_DRAG_AND_DROP
=no
37783 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37784 cat >>confdefs.h
<<\_ACEOF
37785 #define wxUSE_DRAG_AND_DROP 1
37792 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37796 if test "$wxUSE_SPLINES" = "yes" ; then
37797 cat >>confdefs.h
<<\_ACEOF
37798 #define wxUSE_SPLINES 1
37805 if test "$wxUSE_CONTROLS" = "yes"; then
37809 if test "$wxUSE_ACCEL" = "yes"; then
37810 cat >>confdefs.h
<<\_ACEOF
37811 #define wxUSE_ACCEL 1
37817 if test "$wxUSE_BUTTON" = "yes"; then
37818 cat >>confdefs.h
<<\_ACEOF
37819 #define wxUSE_BUTTON 1
37825 if test "$wxUSE_BMPBUTTON" = "yes"; then
37826 cat >>confdefs.h
<<\_ACEOF
37827 #define wxUSE_BMPBUTTON 1
37833 if test "$wxUSE_CALCTRL" = "yes"; then
37834 cat >>confdefs.h
<<\_ACEOF
37835 #define wxUSE_CALENDARCTRL 1
37839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37842 if test "$wxUSE_CARET" = "yes"; then
37843 cat >>confdefs.h
<<\_ACEOF
37844 #define wxUSE_CARET 1
37848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37851 if test "$wxUSE_COMBOBOX" = "yes"; then
37852 cat >>confdefs.h
<<\_ACEOF
37853 #define wxUSE_COMBOBOX 1
37859 if test "$wxUSE_CHOICE" = "yes"; then
37860 cat >>confdefs.h
<<\_ACEOF
37861 #define wxUSE_CHOICE 1
37867 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37868 cat >>confdefs.h
<<\_ACEOF
37869 #define wxUSE_CHOICEBOOK 1
37875 if test "$wxUSE_CHECKBOX" = "yes"; then
37876 cat >>confdefs.h
<<\_ACEOF
37877 #define wxUSE_CHECKBOX 1
37883 if test "$wxUSE_CHECKLST" = "yes"; then
37884 cat >>confdefs.h
<<\_ACEOF
37885 #define wxUSE_CHECKLISTBOX 1
37889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37892 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37893 cat >>confdefs.h
<<\_ACEOF
37894 #define wxUSE_DATEPICKCTRL 1
37900 if test "$wxUSE_DISPLAY" = "yes"; then
37901 cat >>confdefs.h
<<\_ACEOF
37902 #define wxUSE_DISPLAY 1
37905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37908 if test "$wxUSE_GAUGE" = "yes"; then
37909 cat >>confdefs.h
<<\_ACEOF
37910 #define wxUSE_GAUGE 1
37916 if test "$wxUSE_GRID" = "yes"; then
37917 cat >>confdefs.h
<<\_ACEOF
37918 #define wxUSE_GRID 1
37922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37925 if test "$wxUSE_IMAGLIST" = "yes"; then
37926 cat >>confdefs.h
<<\_ACEOF
37927 #define wxUSE_IMAGLIST 1
37932 if test "$wxUSE_LISTBOOK" = "yes"; then
37933 cat >>confdefs.h
<<\_ACEOF
37934 #define wxUSE_LISTBOOK 1
37940 if test "$wxUSE_LISTBOX" = "yes"; then
37941 cat >>confdefs.h
<<\_ACEOF
37942 #define wxUSE_LISTBOX 1
37948 if test "$wxUSE_LISTCTRL" = "yes"; then
37949 if test "$wxUSE_IMAGLIST" = "yes"; then
37950 cat >>confdefs.h
<<\_ACEOF
37951 #define wxUSE_LISTCTRL 1
37955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37957 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37958 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37962 if test "$wxUSE_NOTEBOOK" = "yes"; then
37963 cat >>confdefs.h
<<\_ACEOF
37964 #define wxUSE_NOTEBOOK 1
37968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37972 if test "$wxUSE_RADIOBOX" = "yes"; then
37973 cat >>confdefs.h
<<\_ACEOF
37974 #define wxUSE_RADIOBOX 1
37980 if test "$wxUSE_RADIOBTN" = "yes"; then
37981 cat >>confdefs.h
<<\_ACEOF
37982 #define wxUSE_RADIOBTN 1
37988 if test "$wxUSE_SASH" = "yes"; then
37989 cat >>confdefs.h
<<\_ACEOF
37990 #define wxUSE_SASH 1
37993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37996 if test "$wxUSE_SCROLLBAR" = "yes"; then
37997 cat >>confdefs.h
<<\_ACEOF
37998 #define wxUSE_SCROLLBAR 1
38002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38005 if test "$wxUSE_SLIDER" = "yes"; then
38006 cat >>confdefs.h
<<\_ACEOF
38007 #define wxUSE_SLIDER 1
38013 if test "$wxUSE_SPINBTN" = "yes"; then
38014 cat >>confdefs.h
<<\_ACEOF
38015 #define wxUSE_SPINBTN 1
38021 if test "$wxUSE_SPINCTRL" = "yes"; then
38022 cat >>confdefs.h
<<\_ACEOF
38023 #define wxUSE_SPINCTRL 1
38029 if test "$wxUSE_SPLITTER" = "yes"; then
38030 cat >>confdefs.h
<<\_ACEOF
38031 #define wxUSE_SPLITTER 1
38034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38037 if test "$wxUSE_STATBMP" = "yes"; then
38038 cat >>confdefs.h
<<\_ACEOF
38039 #define wxUSE_STATBMP 1
38045 if test "$wxUSE_STATBOX" = "yes"; then
38046 cat >>confdefs.h
<<\_ACEOF
38047 #define wxUSE_STATBOX 1
38053 if test "$wxUSE_STATTEXT" = "yes"; then
38054 cat >>confdefs.h
<<\_ACEOF
38055 #define wxUSE_STATTEXT 1
38061 if test "$wxUSE_STATLINE" = "yes"; then
38062 cat >>confdefs.h
<<\_ACEOF
38063 #define wxUSE_STATLINE 1
38069 if test "$wxUSE_STATUSBAR" = "yes"; then
38070 cat >>confdefs.h
<<\_ACEOF
38071 #define wxUSE_NATIVE_STATUSBAR 1
38074 cat >>confdefs.h
<<\_ACEOF
38075 #define wxUSE_STATUSBAR 1
38080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
38083 if test "$wxUSE_TABDIALOG" = "yes"; then
38084 cat >>confdefs.h
<<\_ACEOF
38085 #define wxUSE_TAB_DIALOG 1
38090 if test "$wxUSE_TEXTCTRL" = "yes"; then
38091 cat >>confdefs.h
<<\_ACEOF
38092 #define wxUSE_TEXTCTRL 1
38096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
38099 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38100 if test "$wxUSE_COCOA" = 1 ; then
38101 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38102 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38105 if test "$wxUSE_PM" = 1; then
38106 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38107 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38111 if test "$wxUSE_UNIVERSAL" = "yes"; then
38112 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38113 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38117 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38118 cat >>confdefs.h
<<\_ACEOF
38119 #define wxUSE_TOGGLEBTN 1
38126 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38127 cat >>confdefs.h
<<\_ACEOF
38128 #define wxUSE_TOOLBAR_SIMPLE 1
38131 wxUSE_TOOLBAR
="yes"
38135 if test "$wxUSE_TOOLBAR" = "yes"; then
38136 cat >>confdefs.h
<<\_ACEOF
38137 #define wxUSE_TOOLBAR 1
38142 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38143 wxUSE_TOOLBAR_NATIVE
="yes"
38146 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38147 cat >>confdefs.h
<<\_ACEOF
38148 #define wxUSE_TOOLBAR_NATIVE 1
38154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
38157 if test "$wxUSE_TOOLTIPS" = "yes"; then
38158 if test "$wxUSE_MOTIF" = 1; then
38159 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38160 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38162 if test "$wxUSE_UNIVERSAL" = "yes"; then
38163 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38164 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38166 cat >>confdefs.h
<<\_ACEOF
38167 #define wxUSE_TOOLTIPS 1
38174 if test "$wxUSE_TREECTRL" = "yes"; then
38175 if test "$wxUSE_IMAGLIST" = "yes"; then
38176 cat >>confdefs.h
<<\_ACEOF
38177 #define wxUSE_TREECTRL 1
38181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
38183 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38184 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38188 if test "$wxUSE_POPUPWIN" = "yes"; then
38189 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38190 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38191 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38193 if test "$wxUSE_PM" = 1; then
38194 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38195 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38197 cat >>confdefs.h
<<\_ACEOF
38198 #define wxUSE_POPUPWIN 1
38207 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38208 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38209 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38210 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38212 cat >>confdefs.h
<<\_ACEOF
38213 #define wxUSE_DIALUP_MANAGER 1
38216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
38220 if test "$wxUSE_TIPWINDOW" = "yes"; then
38221 if test "$wxUSE_PM" = 1; then
38222 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38223 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38225 cat >>confdefs.h
<<\_ACEOF
38226 #define wxUSE_TIPWINDOW 1
38232 if test "$USES_CONTROLS" = 1; then
38233 cat >>confdefs.h
<<\_ACEOF
38234 #define wxUSE_CONTROLS 1
38240 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38241 cat >>confdefs.h
<<\_ACEOF
38242 #define wxUSE_ACCESSIBILITY 1
38245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38248 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38249 cat >>confdefs.h
<<\_ACEOF
38250 #define wxUSE_DRAGIMAGE 1
38253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38256 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38257 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38258 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38259 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38261 cat >>confdefs.h
<<\_ACEOF
38262 #define wxUSE_EXCEPTIONS 1
38265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
38270 if test "$wxUSE_HTML" = "yes"; then
38271 cat >>confdefs.h
<<\_ACEOF
38272 #define wxUSE_HTML 1
38276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38277 if test "$wxUSE_MAC" = 1; then
38278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38281 if test "$wxUSE_WEBKIT" = "yes"; then
38282 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38283 old_CPPFLAGS
="$CPPFLAGS"
38284 CPPFLAGS
="$CPPFLAGS -x objective-c++"
38285 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38286 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38287 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38288 echo $ECHO_N "(cached) $ECHO_C" >&6
38290 cat >conftest.
$ac_ext <<_ACEOF
38293 cat confdefs.h
>>conftest.
$ac_ext
38294 cat >>conftest.
$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38296 #include <Carbon/Carbon.h>
38298 #include <WebKit/HIWebView.h>
38300 rm -f conftest.
$ac_objext
38301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38302 (eval $ac_compile) 2>conftest.er1
38304 grep -v '^ *+' conftest.er1
>conftest.err
38306 cat conftest.err
>&5
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); } &&
38309 { ac_try
='test -z "$ac_c_werror_flag"
38310 || test ! -s conftest.err'
38311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38312 (eval $ac_try) 2>&5
38314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38315 (exit $ac_status); }; } &&
38316 { ac_try
='test -s conftest.$ac_objext'
38317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38318 (eval $ac_try) 2>&5
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); }; }; then
38322 ac_cv_header_WebKit_HIWebView_h
=yes
38324 echo "$as_me: failed program was:" >&5
38325 sed 's/^/| /' conftest.
$ac_ext >&5
38327 ac_cv_header_WebKit_HIWebView_h
=no
38329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38331 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38332 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38333 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38335 cat >>confdefs.h
<<\_ACEOF
38336 #define wxUSE_WEBKIT 1
38339 WEBKIT_LINK
="-framework WebKit"
38343 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38344 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38350 CPPFLAGS
="$old_CPPFLAGS"
38351 elif test "$wxUSE_COCOA" = 1; then
38352 cat >>confdefs.h
<<\_ACEOF
38353 #define wxUSE_WEBKIT 1
38362 if test "$wxUSE_XRC" = "yes"; then
38363 if test "$wxUSE_XML" != "yes"; then
38364 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38365 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38368 cat >>confdefs.h
<<\_ACEOF
38369 #define wxUSE_XRC 1
38373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
38377 if test "$wxUSE_MENUS" = "yes"; then
38378 cat >>confdefs.h
<<\_ACEOF
38379 #define wxUSE_MENUS 1
38382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38385 if test "$wxUSE_METAFILE" = "yes"; then
38386 cat >>confdefs.h
<<\_ACEOF
38387 #define wxUSE_METAFILE 1
38392 if test "$wxUSE_MIMETYPE" = "yes"; then
38393 cat >>confdefs.h
<<\_ACEOF
38394 #define wxUSE_MIMETYPE 1
38399 if test "$wxUSE_MINIFRAME" = "yes"; then
38400 cat >>confdefs.h
<<\_ACEOF
38401 #define wxUSE_MINIFRAME 1
38404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38407 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38408 cat >>confdefs.h
<<\_ACEOF
38409 #define wxUSE_SYSTEM_OPTIONS 1
38412 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38413 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38419 if test "$wxUSE_VALIDATORS" = "yes"; then
38420 cat >>confdefs.h
<<\_ACEOF
38421 #define wxUSE_VALIDATORS 1
38424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38427 if test "$wxUSE_PALETTE" = "yes" ; then
38428 cat >>confdefs.h
<<\_ACEOF
38429 #define wxUSE_PALETTE 1
38434 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38435 LIBS
=" -lunicows $LIBS"
38439 if test "$wxUSE_IMAGE" = "yes" ; then
38440 cat >>confdefs.h
<<\_ACEOF
38441 #define wxUSE_IMAGE 1
38445 if test "$wxUSE_GIF" = "yes" ; then
38446 cat >>confdefs.h
<<\_ACEOF
38447 #define wxUSE_GIF 1
38452 if test "$wxUSE_PCX" = "yes" ; then
38453 cat >>confdefs.h
<<\_ACEOF
38454 #define wxUSE_PCX 1
38459 if test "$wxUSE_IFF" = "yes" ; then
38460 cat >>confdefs.h
<<\_ACEOF
38461 #define wxUSE_IFF 1
38466 if test "$wxUSE_PNM" = "yes" ; then
38467 cat >>confdefs.h
<<\_ACEOF
38468 #define wxUSE_PNM 1
38473 if test "$wxUSE_XPM" = "yes" ; then
38474 cat >>confdefs.h
<<\_ACEOF
38475 #define wxUSE_XPM 1
38480 if test "$wxUSE_ICO_CUR" = "yes" ; then
38481 cat >>confdefs.h
<<\_ACEOF
38482 #define wxUSE_ICO_CUR 1
38489 if test "$wxUSE_CHOICEDLG" = "yes"; then
38490 cat >>confdefs.h
<<\_ACEOF
38491 #define wxUSE_CHOICEDLG 1
38496 if test "$wxUSE_COLOURDLG" = "yes"; then
38497 cat >>confdefs.h
<<\_ACEOF
38498 #define wxUSE_COLOURDLG 1
38503 if test "$wxUSE_FILEDLG" = "yes"; then
38504 cat >>confdefs.h
<<\_ACEOF
38505 #define wxUSE_FILEDLG 1
38510 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38511 cat >>confdefs.h
<<\_ACEOF
38512 #define wxUSE_FINDREPLDLG 1
38517 if test "$wxUSE_FONTDLG" = "yes"; then
38518 cat >>confdefs.h
<<\_ACEOF
38519 #define wxUSE_FONTDLG 1
38524 if test "$wxUSE_DIRDLG" = "yes"; then
38525 if test "$wxUSE_TREECTRL" != "yes"; then
38526 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38527 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38529 cat >>confdefs.h
<<\_ACEOF
38530 #define wxUSE_DIRDLG 1
38536 if test "$wxUSE_MSGDLG" = "yes"; then
38537 cat >>confdefs.h
<<\_ACEOF
38538 #define wxUSE_MSGDLG 1
38543 if test "$wxUSE_NUMBERDLG" = "yes"; then
38544 cat >>confdefs.h
<<\_ACEOF
38545 #define wxUSE_NUMBERDLG 1
38550 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38551 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38552 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38553 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38555 cat >>confdefs.h
<<\_ACEOF
38556 #define wxUSE_PROGRESSDLG 1
38562 if test "$wxUSE_SPLASH" = "yes"; then
38563 cat >>confdefs.h
<<\_ACEOF
38564 #define wxUSE_SPLASH 1
38567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
38570 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38571 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38572 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38573 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38575 cat >>confdefs.h
<<\_ACEOF
38576 #define wxUSE_STARTUP_TIPS 1
38582 if test "$wxUSE_TEXTDLG" = "yes"; then
38583 cat >>confdefs.h
<<\_ACEOF
38584 #define wxUSE_TEXTDLG 1
38589 if test "$wxUSE_WIZARDDLG" = "yes"; then
38590 cat >>confdefs.h
<<\_ACEOF
38591 #define wxUSE_WIZARDDLG 1
38594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38598 if test "$cross_compiling" = "yes"; then
38601 OSINFO
=`uname -s -r -m`
38602 OSINFO
="\"$OSINFO\""
38605 cat >>confdefs.h
<<_ACEOF
38606 #define WXWIN_OS_DESCRIPTION $OSINFO
38611 if test "x$prefix" != "xNONE"; then
38614 wxPREFIX
=$ac_default_prefix
38617 cat >>confdefs.h
<<_ACEOF
38618 #define wxINSTALL_PREFIX "$wxPREFIX"
38624 CORE_BASE_LIBS
="net base"
38625 CORE_GUI_LIBS
="adv core"
38627 if test "$wxUSE_XML" = "yes" ; then
38628 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38630 if test "$wxUSE_ODBC" != "no" ; then
38631 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38632 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38634 if test "$wxUSE_HTML" = "yes" ; then
38635 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38637 if test "$wxUSE_XRC" = "yes" ; then
38638 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
38641 if test "$wxUSE_GUI" != "yes"; then
38652 if test "$wxUSE_MAC" = 1 ; then
38653 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38654 if test "$USE_DARWIN" = 1; then
38655 LDFLAGS
="$LDFLAGS -framework QuickTime"
38657 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
38660 if test "$USE_DARWIN" = 1; then
38661 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38663 LDFLAGS
="$LDFLAGS -lCarbonLib"
38666 if test "$wxUSE_COCOA" = 1 ; then
38667 LDFLAGS
="$LDFLAGS -framework Cocoa"
38668 if test "$wxUSE_MEDIACTRL" = "yes"; then
38669 LDFLAGS
="$LDFLAGS -framework QuickTime"
38674 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38682 echo "$as_me:$LINENO: checking for $ac_func" >&5
38683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38684 if eval "test \"\${$as_ac_var+set}\" = set"; then
38685 echo $ECHO_N "(cached) $ECHO_C" >&6
38687 cat >conftest.
$ac_ext <<_ACEOF
38690 cat confdefs.h
>>conftest.
$ac_ext
38691 cat >>conftest.
$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38695 #define $ac_func innocuous_$ac_func
38697 /* System header to define __stub macros and hopefully few prototypes,
38698 which can conflict with char $ac_func (); below.
38699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38700 <limits.h> exists even on freestanding compilers. */
38703 # include <limits.h>
38705 # include <assert.h>
38710 /* Override any gcc2 internal prototype to avoid an error. */
38715 /* We use char because int might match the return type of a gcc2
38716 builtin and then its argument prototype would still apply. */
38718 /* The GNU C library defines this for functions which it implements
38719 to always fail with ENOSYS. Some functions are actually named
38720 something starting with __ and the normal name is an alias. */
38721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38724 char (*f) () = $ac_func;
38733 return f != $ac_func;
38738 rm -f conftest.
$ac_objext conftest
$ac_exeext
38739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38740 (eval $ac_link) 2>conftest.er1
38742 grep -v '^ *+' conftest.er1
>conftest.err
38744 cat conftest.err
>&5
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); } &&
38747 { ac_try
='test -z "$ac_c_werror_flag"
38748 || test ! -s conftest.err'
38749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38750 (eval $ac_try) 2>&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); }; } &&
38754 { ac_try
='test -s conftest$ac_exeext'
38755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38756 (eval $ac_try) 2>&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; }; then
38760 eval "$as_ac_var=yes"
38762 echo "$as_me: failed program was:" >&5
38763 sed 's/^/| /' conftest.
$ac_ext >&5
38765 eval "$as_ac_var=no"
38767 rm -f conftest.err conftest.
$ac_objext \
38768 conftest
$ac_exeext conftest.
$ac_ext
38770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38772 if test `eval echo '${'$as_ac_var'}'` = yes; then
38773 cat >>confdefs.h
<<_ACEOF
38774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38781 for ac_func
in floor
38783 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38784 echo "$as_me:$LINENO: checking for $ac_func" >&5
38785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38786 if eval "test \"\${$as_ac_var+set}\" = set"; then
38787 echo $ECHO_N "(cached) $ECHO_C" >&6
38789 cat >conftest.
$ac_ext <<_ACEOF
38792 cat confdefs.h
>>conftest.
$ac_ext
38793 cat >>conftest.
$ac_ext <<_ACEOF
38794 /* end confdefs.h. */
38795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38797 #define $ac_func innocuous_$ac_func
38799 /* System header to define __stub macros and hopefully few prototypes,
38800 which can conflict with char $ac_func (); below.
38801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38802 <limits.h> exists even on freestanding compilers. */
38805 # include <limits.h>
38807 # include <assert.h>
38812 /* Override any gcc2 internal prototype to avoid an error. */
38817 /* We use char because int might match the return type of a gcc2
38818 builtin and then its argument prototype would still apply. */
38820 /* The GNU C library defines this for functions which it implements
38821 to always fail with ENOSYS. Some functions are actually named
38822 something starting with __ and the normal name is an alias. */
38823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38826 char (*f) () = $ac_func;
38835 return f != $ac_func;
38840 rm -f conftest.
$ac_objext conftest
$ac_exeext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38842 (eval $ac_link) 2>conftest.er1
38844 grep -v '^ *+' conftest.er1
>conftest.err
38846 cat conftest.err
>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try
='test -z "$ac_c_werror_flag"
38850 || test ! -s conftest.err'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; } &&
38856 { ac_try
='test -s conftest$ac_exeext'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; }; then
38862 eval "$as_ac_var=yes"
38864 echo "$as_me: failed program was:" >&5
38865 sed 's/^/| /' conftest.
$ac_ext >&5
38867 eval "$as_ac_var=no"
38869 rm -f conftest.err conftest.
$ac_objext \
38870 conftest
$ac_exeext conftest.
$ac_ext
38872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38874 if test `eval echo '${'$as_ac_var'}'` = yes; then
38875 cat >>confdefs.h
<<_ACEOF
38876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38882 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38883 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38884 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38885 echo "$as_me:$LINENO: result: yes" >&5
38886 echo "${ECHO_T}yes" >&6
38888 echo "$as_me:$LINENO: result: no" >&5
38889 echo "${ECHO_T}no" >&6
38891 # use different functions to avoid configure caching
38897 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38898 echo "$as_me:$LINENO: checking for $ac_func" >&5
38899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38900 if eval "test \"\${$as_ac_var+set}\" = set"; then
38901 echo $ECHO_N "(cached) $ECHO_C" >&6
38903 cat >conftest.
$ac_ext <<_ACEOF
38906 cat confdefs.h
>>conftest.
$ac_ext
38907 cat >>conftest.
$ac_ext <<_ACEOF
38908 /* end confdefs.h. */
38909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38911 #define $ac_func innocuous_$ac_func
38913 /* System header to define __stub macros and hopefully few prototypes,
38914 which can conflict with char $ac_func (); below.
38915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38916 <limits.h> exists even on freestanding compilers. */
38919 # include <limits.h>
38921 # include <assert.h>
38926 /* Override any gcc2 internal prototype to avoid an error. */
38931 /* We use char because int might match the return type of a gcc2
38932 builtin and then its argument prototype would still apply. */
38934 /* The GNU C library defines this for functions which it implements
38935 to always fail with ENOSYS. Some functions are actually named
38936 something starting with __ and the normal name is an alias. */
38937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38940 char (*f) () = $ac_func;
38949 return f != $ac_func;
38954 rm -f conftest.
$ac_objext conftest
$ac_exeext
38955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38956 (eval $ac_link) 2>conftest.er1
38958 grep -v '^ *+' conftest.er1
>conftest.err
38960 cat conftest.err
>&5
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); } &&
38963 { ac_try
='test -z "$ac_c_werror_flag"
38964 || test ! -s conftest.err'
38965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38966 (eval $ac_try) 2>&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); }; } &&
38970 { ac_try
='test -s conftest$ac_exeext'
38971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38972 (eval $ac_try) 2>&5
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); }; }; then
38976 eval "$as_ac_var=yes"
38978 echo "$as_me: failed program was:" >&5
38979 sed 's/^/| /' conftest.
$ac_ext >&5
38981 eval "$as_ac_var=no"
38983 rm -f conftest.err conftest.
$ac_objext \
38984 conftest
$ac_exeext conftest.
$ac_ext
38986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38988 if test `eval echo '${'$as_ac_var'}'` = yes; then
38989 cat >>confdefs.h
<<_ACEOF
38990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38997 for ac_func
in ceil
38999 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39000 echo "$as_me:$LINENO: checking for $ac_func" >&5
39001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39002 if eval "test \"\${$as_ac_var+set}\" = set"; then
39003 echo $ECHO_N "(cached) $ECHO_C" >&6
39005 cat >conftest.
$ac_ext <<_ACEOF
39008 cat confdefs.h
>>conftest.
$ac_ext
39009 cat >>conftest.
$ac_ext <<_ACEOF
39010 /* end confdefs.h. */
39011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39013 #define $ac_func innocuous_$ac_func
39015 /* System header to define __stub macros and hopefully few prototypes,
39016 which can conflict with char $ac_func (); below.
39017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39018 <limits.h> exists even on freestanding compilers. */
39021 # include <limits.h>
39023 # include <assert.h>
39028 /* Override any gcc2 internal prototype to avoid an error. */
39033 /* We use char because int might match the return type of a gcc2
39034 builtin and then its argument prototype would still apply. */
39036 /* The GNU C library defines this for functions which it implements
39037 to always fail with ENOSYS. Some functions are actually named
39038 something starting with __ and the normal name is an alias. */
39039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39042 char (*f) () = $ac_func;
39051 return f != $ac_func;
39056 rm -f conftest.
$ac_objext conftest
$ac_exeext
39057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39058 (eval $ac_link) 2>conftest.er1
39060 grep -v '^ *+' conftest.er1
>conftest.err
39062 cat conftest.err
>&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); } &&
39065 { ac_try
='test -z "$ac_c_werror_flag"
39066 || test ! -s conftest.err'
39067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39068 (eval $ac_try) 2>&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); }; } &&
39072 { ac_try
='test -s conftest$ac_exeext'
39073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39074 (eval $ac_try) 2>&5
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); }; }; then
39078 eval "$as_ac_var=yes"
39080 echo "$as_me: failed program was:" >&5
39081 sed 's/^/| /' conftest.
$ac_ext >&5
39083 eval "$as_ac_var=no"
39085 rm -f conftest.err conftest.
$ac_objext \
39086 conftest
$ac_exeext conftest.
$ac_ext
39088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39090 if test `eval echo '${'$as_ac_var'}'` = yes; then
39091 cat >>confdefs.h
<<_ACEOF
39092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39098 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
39099 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
39100 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
39101 echo "$as_me:$LINENO: result: yes" >&5
39102 echo "${ECHO_T}yes" >&6
39104 echo "$as_me:$LINENO: result: no" >&5
39105 echo "${ECHO_T}no" >&6
39106 # not sure we should warn the user, crash, etc.
39110 if test "$wxUSE_GUI" = "yes"; then
39113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
39114 drawing dynamic erase event exec font image \
39115 minimal propsize rotate shaped widgets render"
39117 if test "$wxUSE_MONOLITHIC" != "yes"; then
39118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
39121 SAMPLES_SUBDIRS
="console"
39125 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
39126 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
39128 if test "$GXX" = yes ; then
39130 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
39133 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
39135 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
39136 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
39137 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
39139 if test "x$MWCC" = "xyes"; then
39141 CC
="$CC -cwd source -I-"
39142 CXX
="$CXX -cwd source -I-"
39147 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
39148 EXTRALIBS_XML
="$EXPAT_LINK"
39149 EXTRALIBS_HTML
="$MSPACK_LINK"
39150 EXTRALIBS_ODBC
="$ODBC_LINK"
39151 if test "$wxUSE_GUI" = "yes"; then
39152 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
39154 if test "$wxUSE_OPENGL" = "yes"; then
39155 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
39158 LDFLAGS
="$LDFLAGS $PROFILE"
39160 if test "$wxUSE_GTK" = 1; then
39163 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
39166 WXCONFIG_EXTRALIBS
="$LIBS"
39168 if test "$wxUSE_REGEX" = "builtin" ; then
39169 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
39171 if test "$wxUSE_EXPAT" = "builtin" ; then
39172 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
39174 if test "$wxUSE_ODBC" = "builtin" ; then
39175 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
39177 if test "$wxUSE_LIBTIFF" = "builtin" ; then
39178 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
39180 if test "$wxUSE_LIBJPEG" = "builtin" ; then
39181 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
39183 if test "$wxUSE_LIBPNG" = "builtin" ; then
39184 wxconfig_3rdparty
="$wxconfig_3rdparty png"
39186 if test "$wxUSE_ZLIB" = "builtin" ; then
39187 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
39189 if test "$wxUSE_ODBC" = "builtin" ; then
39190 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
39193 for i
in $wxconfig_3rdparty ; do
39194 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
39198 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
39212 if test $wxUSE_MONOLITHIC = "yes" ; then
39218 if test $wxUSE_PLUGINS = "yes" ; then
39224 if test $wxUSE_ODBC != "no" ; then
39230 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
39258 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
39269 TOOLKIT_USER
="GTK+"
39270 if test "$WXGTK20" = 1; then
39271 TOOLKIT_USER
="$TOOLKIT_USER 2"
39276 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
39283 if test "x$BAKEFILE_HOST" = "x"; then
39284 BAKEFILE_HOST
="${host}"
39287 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
39289 if test -n "$ac_tool_prefix"; then
39290 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
39291 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
39292 echo "$as_me:$LINENO: checking for $ac_word" >&5
39293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39294 if test "${ac_cv_prog_RANLIB+set}" = set; then
39295 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 if test -n "$RANLIB"; then
39298 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
39300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39301 for as_dir
in $PATH
39304 test -z "$as_dir" && as_dir
=.
39305 for ac_exec_ext
in '' $ac_executable_extensions; do
39306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39307 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
39308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39316 RANLIB
=$ac_cv_prog_RANLIB
39317 if test -n "$RANLIB"; then
39318 echo "$as_me:$LINENO: result: $RANLIB" >&5
39319 echo "${ECHO_T}$RANLIB" >&6
39321 echo "$as_me:$LINENO: result: no" >&5
39322 echo "${ECHO_T}no" >&6
39326 if test -z "$ac_cv_prog_RANLIB"; then
39327 ac_ct_RANLIB
=$RANLIB
39328 # Extract the first word of "ranlib", so it can be a program name with args.
39329 set dummy ranlib
; ac_word
=$2
39330 echo "$as_me:$LINENO: checking for $ac_word" >&5
39331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39332 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
39333 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 if test -n "$ac_ct_RANLIB"; then
39336 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
39338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39339 for as_dir
in $PATH
39342 test -z "$as_dir" && as_dir
=.
39343 for ac_exec_ext
in '' $ac_executable_extensions; do
39344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39345 ac_cv_prog_ac_ct_RANLIB
="ranlib"
39346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39352 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39355 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39356 if test -n "$ac_ct_RANLIB"; then
39357 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39358 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39360 echo "$as_me:$LINENO: result: no" >&5
39361 echo "${ECHO_T}no" >&6
39364 RANLIB
=$ac_ct_RANLIB
39366 RANLIB
="$ac_cv_prog_RANLIB"
39369 # Find a good install program. We prefer a C program (faster),
39370 # so one script is as good as another. But avoid the broken or
39371 # incompatible versions:
39372 # SysV /etc/install, /usr/sbin/install
39373 # SunOS /usr/etc/install
39374 # IRIX /sbin/install
39376 # AmigaOS /C/install, which installs bootblocks on floppy discs
39377 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39378 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39379 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39380 # OS/2's system install, which has a completely different semantic
39381 # ./install, which can be erroneously created by make from ./install.sh.
39382 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39383 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39384 if test -z "$INSTALL"; then
39385 if test "${ac_cv_path_install+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39389 for as_dir
in $PATH
39392 test -z "$as_dir" && as_dir
=.
39393 # Account for people who put trailing slashes in PATH elements.
39395 .
/ | .
// | /cC
/* | \
39396 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39397 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39400 # OSF1 and SCO ODT 3.0 have their own names for install.
39401 # Don't use installbsd from OSF since it installs stuff as root
39403 for ac_prog
in ginstall scoinst
install; do
39404 for ac_exec_ext
in '' $ac_executable_extensions; do
39405 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39406 if test $ac_prog = install &&
39407 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39408 # AIX install. It has an incompatible calling convention.
39410 elif test $ac_prog = install &&
39411 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39412 # program-specific install script used by HP pwplus--don't use.
39415 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39427 if test "${ac_cv_path_install+set}" = set; then
39428 INSTALL
=$ac_cv_path_install
39430 # As a last resort, use the slow shell script. We don't cache a
39431 # path for INSTALL within a source directory, because that will
39432 # break other packages using the cache if that directory is
39433 # removed, or if the path is relative.
39434 INSTALL
=$ac_install_sh
39437 echo "$as_me:$LINENO: result: $INSTALL" >&5
39438 echo "${ECHO_T}$INSTALL" >&6
39440 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39441 # It thinks the first close brace ends the variable substitution.
39442 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39444 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39446 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39448 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39449 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39451 if test "$LN_S" = "ln -s"; then
39452 echo "$as_me:$LINENO: result: yes" >&5
39453 echo "${ECHO_T}yes" >&6
39455 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39456 echo "${ECHO_T}no, using $LN_S" >&6
39460 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39461 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39462 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39463 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39466 cat >conftest.
make <<\_ACEOF
39468 @
echo 'ac_maketemp="$(MAKE)"'
39470 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39471 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39472 if test -n "$ac_maketemp"; then
39473 eval ac_cv_prog_make_
${ac_make}_set
=yes
39475 eval ac_cv_prog_make_
${ac_make}_set
=no
39477 rm -f conftest.
make
39479 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39480 echo "$as_me:$LINENO: result: yes" >&5
39481 echo "${ECHO_T}yes" >&6
39484 echo "$as_me:$LINENO: result: no" >&5
39485 echo "${ECHO_T}no" >&6
39486 SET_MAKE
="MAKE=${MAKE-make}"
39491 if test -n "$ac_tool_prefix"; then
39492 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39493 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39494 echo "$as_me:$LINENO: checking for $ac_word" >&5
39495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39496 if test "${ac_cv_prog_AR+set}" = set; then
39497 echo $ECHO_N "(cached) $ECHO_C" >&6
39499 if test -n "$AR"; then
39500 ac_cv_prog_AR
="$AR" # Let the user override the test.
39502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39503 for as_dir
in $PATH
39506 test -z "$as_dir" && as_dir
=.
39507 for ac_exec_ext
in '' $ac_executable_extensions; do
39508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39509 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39519 if test -n "$AR"; then
39520 echo "$as_me:$LINENO: result: $AR" >&5
39521 echo "${ECHO_T}$AR" >&6
39523 echo "$as_me:$LINENO: result: no" >&5
39524 echo "${ECHO_T}no" >&6
39528 if test -z "$ac_cv_prog_AR"; then
39530 # Extract the first word of "ar", so it can be a program name with args.
39531 set dummy
ar; ac_word
=$2
39532 echo "$as_me:$LINENO: checking for $ac_word" >&5
39533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39534 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39535 echo $ECHO_N "(cached) $ECHO_C" >&6
39537 if test -n "$ac_ct_AR"; then
39538 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39541 for as_dir
in $PATH
39544 test -z "$as_dir" && as_dir
=.
39545 for ac_exec_ext
in '' $ac_executable_extensions; do
39546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39547 ac_cv_prog_ac_ct_AR
="ar"
39548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39554 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39557 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39558 if test -n "$ac_ct_AR"; then
39559 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39560 echo "${ECHO_T}$ac_ct_AR" >&6
39562 echo "$as_me:$LINENO: result: no" >&5
39563 echo "${ECHO_T}no" >&6
39568 AR
="$ac_cv_prog_AR"
39571 if test -n "$ac_tool_prefix"; then
39572 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39573 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39574 echo "$as_me:$LINENO: checking for $ac_word" >&5
39575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39576 if test "${ac_cv_prog_STRIP+set}" = set; then
39577 echo $ECHO_N "(cached) $ECHO_C" >&6
39579 if test -n "$STRIP"; then
39580 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39583 for as_dir
in $PATH
39586 test -z "$as_dir" && as_dir
=.
39587 for ac_exec_ext
in '' $ac_executable_extensions; do
39588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39589 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39598 STRIP
=$ac_cv_prog_STRIP
39599 if test -n "$STRIP"; then
39600 echo "$as_me:$LINENO: result: $STRIP" >&5
39601 echo "${ECHO_T}$STRIP" >&6
39603 echo "$as_me:$LINENO: result: no" >&5
39604 echo "${ECHO_T}no" >&6
39608 if test -z "$ac_cv_prog_STRIP"; then
39610 # Extract the first word of "strip", so it can be a program name with args.
39611 set dummy strip
; ac_word
=$2
39612 echo "$as_me:$LINENO: checking for $ac_word" >&5
39613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39614 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39615 echo $ECHO_N "(cached) $ECHO_C" >&6
39617 if test -n "$ac_ct_STRIP"; then
39618 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39621 for as_dir
in $PATH
39624 test -z "$as_dir" && as_dir
=.
39625 for ac_exec_ext
in '' $ac_executable_extensions; do
39626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39627 ac_cv_prog_ac_ct_STRIP
="strip"
39628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39634 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39637 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39638 if test -n "$ac_ct_STRIP"; then
39639 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39640 echo "${ECHO_T}$ac_ct_STRIP" >&6
39642 echo "$as_me:$LINENO: result: no" >&5
39643 echo "${ECHO_T}no" >&6
39648 STRIP
="$ac_cv_prog_STRIP"
39651 if test -n "$ac_tool_prefix"; then
39652 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39653 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39654 echo "$as_me:$LINENO: checking for $ac_word" >&5
39655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39656 if test "${ac_cv_prog_NM+set}" = set; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39659 if test -n "$NM"; then
39660 ac_cv_prog_NM
="$NM" # Let the user override the test.
39662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39663 for as_dir
in $PATH
39666 test -z "$as_dir" && as_dir
=.
39667 for ac_exec_ext
in '' $ac_executable_extensions; do
39668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39669 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39679 if test -n "$NM"; then
39680 echo "$as_me:$LINENO: result: $NM" >&5
39681 echo "${ECHO_T}$NM" >&6
39683 echo "$as_me:$LINENO: result: no" >&5
39684 echo "${ECHO_T}no" >&6
39688 if test -z "$ac_cv_prog_NM"; then
39690 # Extract the first word of "nm", so it can be a program name with args.
39691 set dummy nm
; ac_word
=$2
39692 echo "$as_me:$LINENO: checking for $ac_word" >&5
39693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39694 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39695 echo $ECHO_N "(cached) $ECHO_C" >&6
39697 if test -n "$ac_ct_NM"; then
39698 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39701 for as_dir
in $PATH
39704 test -z "$as_dir" && as_dir
=.
39705 for ac_exec_ext
in '' $ac_executable_extensions; do
39706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39707 ac_cv_prog_ac_ct_NM
="nm"
39708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39714 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39717 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39718 if test -n "$ac_ct_NM"; then
39719 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39720 echo "${ECHO_T}$ac_ct_NM" >&6
39722 echo "$as_me:$LINENO: result: no" >&5
39723 echo "${ECHO_T}no" >&6
39728 NM
="$ac_cv_prog_NM"
39732 case ${BAKEFILE_HOST} in
39734 INSTALL_DIR
="mkdir -p"
39736 *) INSTALL_DIR
="$INSTALL -d"
39742 case ${BAKEFILE_HOST} in
39743 *-*-cygwin* | *-*-mingw32* )
39744 LDFLAGS_GUI
="-mwindows"
39750 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39751 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39752 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39753 echo $ECHO_N "(cached) $ECHO_C" >&6
39756 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39757 egrep -s GNU
> /dev
/null
); then
39758 bakefile_cv_prog_makeisgnu
="yes"
39760 bakefile_cv_prog_makeisgnu
="no"
39764 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39765 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39767 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39784 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39785 case "${BAKEFILE_HOST}" in
39786 *-*-cygwin* | *-*-mingw32* )
39792 *-pc-os2_emx | *-pc-os2-emx )
39795 powerpc
-*-darwin* )
39802 powerpc
-apple-macos* )
39811 case "$BAKEFILE_FORCE_PLATFORM" in
39832 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39833 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39834 { (exit 1); exit 1; }; }
39849 # Check whether --enable-omf or --disable-omf was given.
39850 if test "${enable_omf+set}" = set; then
39851 enableval
="$enable_omf"
39852 bk_os2_use_omf
="$enableval"
39855 case "${BAKEFILE_HOST}" in
39857 CFLAGS
="$CFLAGS -fno-common"
39858 CXXFLAGS
="$CXXFLAGS -fno-common"
39861 *-pc-os2_emx | *-pc-os2-emx )
39862 if test "x$bk_os2_use_omf" = "xyes" ; then
39865 LDFLAGS
="-Zomf $LDFLAGS"
39866 CFLAGS
="-Zomf $CFLAGS"
39867 CXXFLAGS
="-Zomf $CXXFLAGS"
39875 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39881 SO_SUFFIX_MODULE
="so"
39886 DLLPREFIX_MODULE
=""
39889 case "${BAKEFILE_HOST}" in
39892 SO_SUFFIX_MODULE
="sl"
39896 SO_SUFFIX_MODULE
="a"
39898 *-*-cygwin* | *-*-mingw32* )
39900 SO_SUFFIX_MODULE
="dll"
39901 DLLIMP_SUFFIX
="dll.a"
39909 *-pc-os2_emx | *-pc-os2-emx )
39911 SO_SUFFIX_MODULE
="dll"
39912 DLLIMP_SUFFIX
=$OS2_LIBEXT
39916 LIBEXT
=".$OS2_LIBEXT"
39918 powerpc
-*-darwin* )
39920 SO_SUFFIX_MODULE
="bundle"
39924 if test "x$DLLIMP_SUFFIX" = "x" ; then
39925 DLLIMP_SUFFIX
="$SO_SUFFIX"
39939 if test "x$GCC" = "xyes"; then
39943 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39944 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39946 case "${BAKEFILE_HOST}" in
39948 if test "x$GCC" != "xyes"; then
39949 LDFLAGS
="$LDFLAGS -L/usr/lib"
39951 SHARED_LD_CC
="${CC} -b -o"
39952 SHARED_LD_CXX
="${CXX} -b -o"
39958 if test "x$GCC" != "xyes"; then
39959 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39960 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39961 if test "${bakefile_cv_prog_icc+set}" = set; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39965 cat >conftest.
$ac_ext <<_ACEOF
39968 cat confdefs.h
>>conftest.
$ac_ext
39969 cat >>conftest.
$ac_ext <<_ACEOF
39970 /* end confdefs.h. */
39976 #ifndef __INTEL_COMPILER
39984 rm -f conftest.
$ac_objext
39985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39986 (eval $ac_compile) 2>conftest.er1
39988 grep -v '^ *+' conftest.er1
>conftest.err
39990 cat conftest.err
>&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } &&
39993 { ac_try
='test -z "$ac_c_werror_flag"
39994 || test ! -s conftest.err'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; } &&
40000 { ac_try
='test -s conftest.$ac_objext'
40001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40002 (eval $ac_try) 2>&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); }; }; then
40006 bakefile_cv_prog_icc
=yes
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.
$ac_ext >&5
40011 bakefile_cv_prog_icc
=no
40014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40017 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
40018 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
40019 if test "$bakefile_cv_prog_icc" = "yes"; then
40026 if test "x$GCC" != xyes
; then
40027 SHARED_LD_CC
="${CC} -G -o"
40028 SHARED_LD_CXX
="${CXX} -G -o"
40035 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
40036 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
40037 if test "${wx_cv_gcc31+set}" = set; then
40038 echo $ECHO_N "(cached) $ECHO_C" >&6
40041 cat >conftest.
$ac_ext <<_ACEOF
40044 cat confdefs.h
>>conftest.
$ac_ext
40045 cat >>conftest.
$ac_ext <<_ACEOF
40046 /* end confdefs.h. */
40052 #if (__GNUC__ < 3) || \
40053 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
40061 rm -f conftest.
$ac_objext
40062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40063 (eval $ac_compile) 2>conftest.er1
40065 grep -v '^ *+' conftest.er1
>conftest.err
40067 cat conftest.err
>&5
40068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40069 (exit $ac_status); } &&
40070 { ac_try
='test -z "$ac_c_werror_flag"
40071 || test ! -s conftest.err'
40072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40073 (eval $ac_try) 2>&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); }; } &&
40077 { ac_try
='test -s conftest.$ac_objext'
40078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40079 (eval $ac_try) 2>&5
40081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40082 (exit $ac_status); }; }; then
40087 echo "$as_me: failed program was:" >&5
40088 sed 's/^/| /' conftest.
$ac_ext >&5
40095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40098 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
40099 echo "${ECHO_T}$wx_cv_gcc31" >&6
40100 if test "$wx_cv_gcc31" = "no"; then
40103 cat <<EOF >shared-ld-sh
40105 #-----------------------------------------------------------------------------
40106 #-- Name: distrib/mac/shared-ld-sh
40107 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
40108 #-- Author: Gilles Depeyrot
40109 #-- Copyright: (c) 2002 Gilles Depeyrot
40110 #-- Licence: any use permitted
40111 #-----------------------------------------------------------------------------
40116 linking_flag="-dynamiclib"
40118 while test ${D}# -gt 0; do
40125 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
40126 # collect these options and values
40127 args="${D}{args} ${D}1 ${D}2"
40131 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
40132 # collect these options
40133 args="${D}{args} ${D}1"
40136 -dynamiclib|-bundle)
40137 linking_flag="${D}1"
40141 echo "shared-ld: unhandled option '${D}1'"
40145 *.o | *.a | *.dylib)
40146 # collect object files
40147 objects="${D}{objects} ${D}1"
40151 echo "shared-ld: unhandled argument '${D}1'"
40160 # Link one module containing all the others
40162 if test ${D}{verbose} = 1; then
40163 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
40165 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
40167 if test ${D}{status} != 0; then
40172 # Link the shared library from the single module created
40174 if test ${D}{verbose} = 1; then
40175 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
40177 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
40179 if test ${D}{status} != 0; then
40184 # Remove intermediate module
40186 rm -f master.${D}${D}.o
40191 chmod +x shared
-ld-sh
40193 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
40194 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
40195 SHARED_LD_CXX
="$SHARED_LD_CC"
40196 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
40198 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
40199 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
40200 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
40201 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
40204 PIC_FLAG
="-dynamic -fPIC"
40208 if test "x$GCC" != "xyes"; then
40209 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
40210 set dummy makeC
++SharedLib
; ac_word
=$2
40211 echo "$as_me:$LINENO: checking for $ac_word" >&5
40212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40213 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 if test -n "$AIX_CXX_LD"; then
40217 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
40219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40220 for as_dir
in $PATH
40223 test -z "$as_dir" && as_dir
=.
40224 for ac_exec_ext
in '' $ac_executable_extensions; do
40225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40226 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
40227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40233 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
40236 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
40237 if test -n "$AIX_CXX_LD"; then
40238 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
40239 echo "${ECHO_T}$AIX_CXX_LD" >&6
40241 echo "$as_me:$LINENO: result: no" >&5
40242 echo "${ECHO_T}no" >&6
40245 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
40246 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
40251 SHARED_LD_CC
="${LD} -nostart -o"
40252 SHARED_LD_CXX
="${LD} -nostart -o"
40256 if test "x$GCC" != "xyes"; then
40261 *-*-cygwin* | *-*-mingw32* )
40263 SHARED_LD_CC
="\$(CC) -shared -o"
40264 SHARED_LD_CXX
="\$(CXX) -shared -o"
40267 *-pc-os2_emx | *-pc-os2-emx )
40268 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40269 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40273 cat <<EOF >dllar.sh
40276 # dllar - a tool to build both a .dll and an .a file
40277 # from a set of object (.o) files for EMX/OS2.
40279 # Written by Andrew Zabolotny, bit@freya.etu.ru
40280 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
40282 # This script will accept a set of files on the command line.
40283 # All the public symbols from the .o files will be exported into
40284 # a .DEF file, then linker will be run (through gcc) against them to
40285 # build a shared library consisting of all given .o files. All libraries
40286 # (.a) will be first decompressed into component .o files then act as
40287 # described above. You can optionally give a description (-d "description")
40288 # which will be put into .DLL. To see the list of accepted options (as well
40289 # as command-line format) simply run this program without options. The .DLL
40290 # is built to be imported by name (there is no guarantee that new versions
40291 # of the library you build will have same ordinals for same symbols).
40293 # dllar is free software; you can redistribute it and/or modify
40294 # it under the terms of the GNU General Public License as published by
40295 # the Free Software Foundation; either version 2, or (at your option)
40296 # any later version.
40298 # dllar is distributed in the hope that it will be useful,
40299 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40300 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40301 # GNU General Public License for more details.
40303 # You should have received a copy of the GNU General Public License
40304 # along with dllar; see the file COPYING. If not, write to the Free
40305 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
40308 # To successfuly run this program you will need:
40309 # - Current drive should have LFN support (HPFS, ext2, network, etc)
40310 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
40312 # (used to build the .dll)
40314 # (used to create .def file from .o files)
40316 # (used to create .a file from .def file)
40317 # - GNU text utilites (cat, sort, uniq)
40318 # used to process emxexp output
40319 # - GNU file utilities (mv, rm)
40321 # - lxlite (optional, see flag below)
40322 # (used for general .dll cleanup)
40329 # basnam, variant of basename, which does _not_ remove the path, _iff_
40330 # second argument (suffix to remove) is given
40334 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
40337 echo ${D}1 | sed 's/'${D}2'${D}//'
40340 echo "error in basnam ${D}*"
40346 # Cleanup temporary files and output
40349 for i in ${D}inputFiles ; do
40352 rm -rf \`basnam ${D}i !\`
40359 # Kill result in case of failure as there is just to many stupid make/nmake
40360 # things out there which doesn't do this.
40361 if [ ${D}# -eq 0 ]; then
40362 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40366 # Print usage and exit script with rc=1.
40368 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40369 echo ' [-name-mangler-script script.sh]'
40370 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40371 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40372 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40373 echo ' [*.o] [*.a]'
40374 echo '*> "output_file" should have no extension.'
40375 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40376 echo ' The import library name is derived from this and is set to "name".a,'
40377 echo ' unless overridden by -import'
40378 echo '*> "importlib_name" should have no extension.'
40379 echo ' If it has the .o, or .a extension, it is automatically removed.'
40380 echo ' This name is used as the import library name and may be longer and'
40381 echo ' more descriptive than the DLL name which has to follow the old '
40382 echo ' 8.3 convention of FAT.'
40383 echo '*> "script.sh may be given to override the output_file name by a'
40384 echo ' different name. It is mainly useful if the regular make process'
40385 echo ' of some package does not take into account OS/2 restriction of'
40386 echo ' DLL name lengths. It takes the importlib name as input and is'
40387 echo ' supposed to procude a shorter name as output. The script should'
40388 echo ' expect to get importlib_name without extension and should produce'
40389 echo ' a (max.) 8 letter name without extension.'
40390 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40391 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40392 echo ' These flags will be put at the start of GCC command line.'
40393 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40394 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40395 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40396 echo ' If the last character of a symbol is "*", all symbols beginning'
40397 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40398 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40399 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40400 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40401 echo ' C runtime DLLs.'
40402 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40403 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40404 echo ' unchanged to GCC at the end of command line.'
40405 echo '*> If you create a DLL from a library and you do not specify -o,'
40406 echo ' the basename for DLL and import library will be set to library name,'
40407 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40408 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40409 echo ' library will be renamed into gcc_s.a.'
40412 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40413 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40418 # Execute a command.
40419 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40420 # @Uses Whatever CleanUp() uses.
40426 if [ ${D}rcCmd -ne 0 ]; then
40427 echo "command failed, exit code="${D}rcCmd
40442 CFLAGS="-s -Zcrtdll"
40444 EXPORT_BY_ORDINALS=0
40449 case ${D}curDirS in
40453 curDirS=${D}{curDirS}"/"
40456 # Parse commandline
40459 while [ ${D}1 ]; do
40462 EXPORT_BY_ORDINALS=1;
40472 -name-mangler-script)
40493 exclude_symbols=${D}{exclude_symbols}${D}1" "
40497 library_flags=${D}{library_flags}${D}1" "
40516 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40519 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40520 if [ ${D}omfLinking -eq 1 ]; then
40521 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40523 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40528 if [ ${D}libsToLink -ne 0 ]; then
40529 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40531 for file in ${D}1 ; do
40532 if [ -f ${D}file ]; then
40533 inputFiles="${D}{inputFiles} ${D}file"
40537 if [ ${D}found -eq 0 ]; then
40538 echo "ERROR: No file(s) found: "${D}1
40545 done # iterate cmdline words
40548 if [ -z "${D}inputFiles" ]; then
40549 echo "dllar: no input files"
40553 # Now extract all .o files from .a files
40555 for file in ${D}inputFiles ; do
40566 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40571 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40573 if [ ${D}? -ne 0 ]; then
40574 echo "Failed to create subdirectory ./${D}dirname"
40578 # Append '!' to indicate archive
40579 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40580 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40583 for subfile in ${D}dirname/*.o* ; do
40584 if [ -f ${D}subfile ]; then
40586 if [ -s ${D}subfile ]; then
40587 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40588 newInputFiles="${D}newInputFiles ${D}subfile"
40592 if [ ${D}found -eq 0 ]; then
40593 echo "WARNING: there are no files in archive \\'${D}file\\'"
40597 newInputFiles="${D}{newInputFiles} ${D}file"
40601 inputFiles="${D}newInputFiles"
40603 # Output filename(s).
40605 if [ -z ${D}outFile ]; then
40607 set outFile ${D}inputFiles; outFile=${D}2
40610 # If it is an archive, remove the '!' and the '_%' suffixes
40611 case ${D}outFile in
40613 outFile=\`basnam ${D}outFile _%!\`
40618 case ${D}outFile in
40620 outFile=\`basnam ${D}outFile .dll\`
40623 outFile=\`basnam ${D}outFile .DLL\`
40626 outFile=\`basnam ${D}outFile .o\`
40629 outFile=\`basnam ${D}outFile .obj\`
40632 outFile=\`basnam ${D}outFile .a\`
40635 outFile=\`basnam ${D}outFile .lib\`
40640 case ${D}outimpFile in
40642 outimpFile=\`basnam ${D}outimpFile .a\`
40645 outimpFile=\`basnam ${D}outimpFile .lib\`
40650 if [ -z ${D}outimpFile ]; then
40651 outimpFile=${D}outFile
40653 defFile="${D}{outFile}.def"
40654 arcFile="${D}{outimpFile}.a"
40655 arcFile2="${D}{outimpFile}.lib"
40657 #create ${D}dllFile as something matching 8.3 restrictions,
40658 if [ -z ${D}renameScript ] ; then
40659 dllFile="${D}outFile"
40661 dllFile=\`${D}renameScript ${D}outimpFile\`
40664 if [ ${D}do_backup -ne 0 ] ; then
40665 if [ -f ${D}arcFile ] ; then
40666 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40668 if [ -f ${D}arcFile2 ] ; then
40669 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40673 # Extract public symbols from all the object files.
40674 tmpdefFile=${D}{defFile}_%
40675 rm -f ${D}tmpdefFile
40676 for file in ${D}inputFiles ; do
40681 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40686 # Create the def file.
40688 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40689 dllFile="${D}{dllFile}.dll"
40690 if [ ! -z ${D}description ]; then
40691 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40693 echo "EXPORTS" >> ${D}defFile
40695 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40696 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40698 # Checks if the export is ok or not.
40699 for word in ${D}exclude_symbols; do
40700 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40701 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40705 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40706 sed "=" < ${D}tmpdefFile | \\
40710 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40712 ' > ${D}{tmpdefFile}%
40713 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40715 rm -f ${D}{tmpdefFile}%
40717 cat ${D}tmpdefFile >> ${D}defFile
40718 rm -f ${D}tmpdefFile
40720 # Do linking, create implib, and apply lxlite.
40722 for file in ${D}inputFiles ; do
40727 gccCmdl="${D}gccCmdl ${D}file"
40731 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40732 touch "${D}{outFile}.dll"
40734 doCommand "emximp -o ${D}arcFile ${D}defFile"
40735 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40737 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40740 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40742 doCommand "emxomf -s -l ${D}arcFile"
40752 powerpc
-apple-macos* | \
40753 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40761 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40762 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40763 { (exit 1); exit 1; }; }
40766 if test "x$PIC_FLAG" != "x" ; then
40767 PIC_FLAG
="$PIC_FLAG -DPIC"
40770 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40771 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40773 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40774 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40791 case "${BAKEFILE_HOST}" in
40792 *-*-linux* | *-*-freebsd* )
40793 SONAME_FLAG
="-Wl,-soname,"
40821 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40822 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40825 if test "x$GCC" = "xyes"; then
40828 case "${BAKEFILE_HOST}" in
40829 powerpc
-*-darwin* )
40830 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40833 DEPSFLAG_GCC
="-MMD"
40836 echo "$as_me:$LINENO: result: gcc" >&5
40837 echo "${ECHO_T}gcc" >&6
40838 elif test "x$MWCC" = "xyes"; then
40841 DEPSFLAG_MWCC
="-MM"
40842 echo "$as_me:$LINENO: result: mwcc" >&5
40843 echo "${ECHO_T}mwcc" >&6
40845 echo "$as_me:$LINENO: result: none" >&5
40846 echo "${ECHO_T}none" >&6
40849 if test $DEPS_TRACKING = 1 ; then
40855 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40856 # script. It is used to track C/C++ files dependencies in portable way.
40858 # Permission is given to use this file in any way.
40860 DEPSMODE=${DEPSMODE}
40862 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40863 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
40865 mkdir -p ${D}DEPSDIR
40867 if test ${D}DEPSMODE = gcc ; then
40868 ${D}* ${D}{DEPSFLAG_GCC}
40870 if test ${D}{status} != 0 ; then
40873 # move created file to the location we want it in:
40874 while test ${D}# -gt 0; do
40888 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40889 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40890 if test -f ${D}depfile ; then
40891 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40894 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40895 if test -f ${D}depfile ; then
40896 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40901 elif test ${D}DEPSMODE = mwcc ; then
40904 if test ${D}{status} != 0 ; then
40907 # Run mwcc again with -MM and redirect into the dep file we want
40908 # NOTE: We can't use shift here because we need ${D}* to be valid
40910 for arg in ${D}* ; do
40911 if test "${D}prevarg" = "-o"; then
40924 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
40941 case ${BAKEFILE_HOST} in
40942 *-*-cygwin* | *-*-mingw32* )
40943 if test "$build" != "$host" ; then
40944 RESCOMP
=$host_alias-windres
40946 # Extract the first word of "windres", so it can be a program name with args.
40947 set dummy windres
; ac_word
=$2
40948 echo "$as_me:$LINENO: checking for $ac_word" >&5
40949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40950 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40951 echo $ECHO_N "(cached) $ECHO_C" >&6
40953 if test -n "$RESCOMP"; then
40954 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40957 for as_dir
in $PATH
40960 test -z "$as_dir" && as_dir
=.
40961 for ac_exec_ext
in '' $ac_executable_extensions; do
40962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40963 ac_cv_prog_RESCOMP
="windres"
40964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40970 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40973 RESCOMP
=$ac_cv_prog_RESCOMP
40974 if test -n "$RESCOMP"; then
40975 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40976 echo "${ECHO_T}$RESCOMP" >&6
40978 echo "$as_me:$LINENO: result: no" >&5
40979 echo "${ECHO_T}no" >&6
40985 *-*-darwin* | powerpc
-apple-macos* )
40986 # Extract the first word of "Rez", so it can be a program name with args.
40987 set dummy Rez
; ac_word
=$2
40988 echo "$as_me:$LINENO: checking for $ac_word" >&5
40989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40990 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40993 if test -n "$RESCOMP"; then
40994 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40997 for as_dir
in $PATH
41000 test -z "$as_dir" && as_dir
=.
41001 for ac_exec_ext
in '' $ac_executable_extensions; do
41002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41003 ac_cv_prog_RESCOMP
="Rez"
41004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41010 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
41013 RESCOMP
=$ac_cv_prog_RESCOMP
41014 if test -n "$RESCOMP"; then
41015 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41016 echo "${ECHO_T}$RESCOMP" >&6
41018 echo "$as_me:$LINENO: result: no" >&5
41019 echo "${ECHO_T}no" >&6
41022 # Extract the first word of "SetFile", so it can be a program name with args.
41023 set dummy SetFile
; ac_word
=$2
41024 echo "$as_me:$LINENO: checking for $ac_word" >&5
41025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41026 if test "${ac_cv_prog_SETFILE+set}" = set; then
41027 echo $ECHO_N "(cached) $ECHO_C" >&6
41029 if test -n "$SETFILE"; then
41030 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
41032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41033 for as_dir
in $PATH
41036 test -z "$as_dir" && as_dir
=.
41037 for ac_exec_ext
in '' $ac_executable_extensions; do
41038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41039 ac_cv_prog_SETFILE
="SetFile"
41040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41046 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
41049 SETFILE
=$ac_cv_prog_SETFILE
41050 if test -n "$SETFILE"; then
41051 echo "$as_me:$LINENO: result: $SETFILE" >&5
41052 echo "${ECHO_T}$SETFILE" >&6
41054 echo "$as_me:$LINENO: result: no" >&5
41055 echo "${ECHO_T}no" >&6
41065 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.6"
41068 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.6"
41072 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
41073 if test "${enable_precomp_headers+set}" = set; then
41074 enableval
="$enable_precomp_headers"
41075 bk_use_pch
="$enableval"
41080 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
41081 if test "x$GCC" = "xyes"; then
41082 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
41083 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
41084 cat >conftest.
$ac_ext <<_ACEOF
41087 cat confdefs.h
>>conftest.
$ac_ext
41088 cat >>conftest.
$ac_ext <<_ACEOF
41089 /* end confdefs.h. */
41095 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
41096 #error "no pch support"
41099 #error "no pch support"
41101 #if (__GNUC__ == 3) && \
41102 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
41103 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
41104 #error "no pch support"
41111 rm -f conftest.
$ac_objext
41112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41113 (eval $ac_compile) 2>conftest.er1
41115 grep -v '^ *+' conftest.er1
>conftest.err
41117 cat conftest.err
>&5
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); } &&
41120 { ac_try
='test -z "$ac_c_werror_flag"
41121 || test ! -s conftest.err'
41122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41123 (eval $ac_try) 2>&5
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); }; } &&
41127 { ac_try
='test -s conftest.$ac_objext'
41128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41129 (eval $ac_try) 2>&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); }; }; then
41134 echo "$as_me:$LINENO: result: yes" >&5
41135 echo "${ECHO_T}yes" >&6
41139 echo "$as_me: failed program was:" >&5
41140 sed 's/^/| /' conftest.
$ac_ext >&5
41143 echo "$as_me:$LINENO: result: no" >&5
41144 echo "${ECHO_T}no" >&6
41147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41148 if test $GCC_PCH = 1 ; then
41151 cat <<EOF >bk-make-pch
41154 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41155 # script. It is used to generated precompiled headers.
41157 # Permission is given to use this file in any way.
41166 while test ${D}{#} -gt 0; do
41169 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
41170 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
41171 headerfile="${D}{incdir}/${D}{header}"
41175 compiler="${D}{compiler} ${D}{1}"
41179 if test "x${D}{headerfile}" = "x" ; then
41180 echo "error: can't find header ${D}{header} in include paths" >2
41182 if test -f ${D}{outfile} ; then
41183 rm -f ${D}{outfile}
41185 mkdir -p \`dirname ${D}{outfile}\`
41187 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
41189 # can do this because gcc is >= 3.4:
41190 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
41195 chmod +x bk
-make-pch
41202 COND_BUILD_DEBUG
="#"
41203 if test "x$BUILD" = "xdebug" ; then
41204 COND_BUILD_DEBUG
=""
41207 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41208 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41209 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41212 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41213 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41214 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41217 COND_BUILD_DEBUG_UNICODE_0
="#"
41218 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41219 COND_BUILD_DEBUG_UNICODE_0
=""
41222 COND_BUILD_DEBUG_UNICODE_1
="#"
41223 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41224 COND_BUILD_DEBUG_UNICODE_1
=""
41227 COND_BUILD_RELEASE
="#"
41228 if test "x$BUILD" = "xrelease" ; then
41229 COND_BUILD_RELEASE
=""
41232 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41233 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41234 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41237 COND_BUILD_RELEASE_UNICODE_0
="#"
41238 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41239 COND_BUILD_RELEASE_UNICODE_0
=""
41242 COND_BUILD_RELEASE_UNICODE_1
="#"
41243 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41244 COND_BUILD_RELEASE_UNICODE_1
=""
41247 COND_DEBUG_FLAG_1
="#"
41248 if test "x$DEBUG_FLAG" = "x1" ; then
41249 COND_DEBUG_FLAG_1
=""
41252 COND_DEBUG_INFO_0
="#"
41253 if test "x$DEBUG_INFO" = "x0" ; then
41254 COND_DEBUG_INFO_0
=""
41257 COND_DEBUG_INFO_1
="#"
41258 if test "x$DEBUG_INFO" = "x1" ; then
41259 COND_DEBUG_INFO_1
=""
41262 COND_DEPS_TRACKING_0
="#"
41263 if test "x$DEPS_TRACKING" = "x0" ; then
41264 COND_DEPS_TRACKING_0
=""
41267 COND_DEPS_TRACKING_1
="#"
41268 if test "x$DEPS_TRACKING" = "x1" ; then
41269 COND_DEPS_TRACKING_1
=""
41273 if test "x$GCC_PCH" = "x1" ; then
41277 COND_MONOLITHIC_0
="#"
41278 if test "x$MONOLITHIC" = "x0" ; then
41279 COND_MONOLITHIC_0
=""
41282 COND_MONOLITHIC_0_SHARED_0
="#"
41283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41284 COND_MONOLITHIC_0_SHARED_0
=""
41287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
41293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
41297 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41299 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41302 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41304 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41307 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
41308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41309 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
41312 COND_MONOLITHIC_0_SHARED_1
="#"
41313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41314 COND_MONOLITHIC_0_SHARED_1
=""
41317 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41319 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
41323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41324 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
41327 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41329 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41332 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41334 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41337 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
41338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41339 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
41342 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41343 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41344 COND_MONOLITHIC_0_USE_ODBC_1
=""
41347 COND_MONOLITHIC_1
="#"
41348 if test "x$MONOLITHIC" = "x1" ; then
41349 COND_MONOLITHIC_1
=""
41352 COND_MONOLITHIC_1_SHARED_0
="#"
41353 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41354 COND_MONOLITHIC_1_SHARED_0
=""
41357 COND_MONOLITHIC_1_SHARED_1
="#"
41358 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41359 COND_MONOLITHIC_1_SHARED_1
=""
41362 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41363 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41364 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41367 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41368 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41369 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41372 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41373 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41374 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41377 COND_PLATFORM_MACOSX_1
="#"
41378 if test "x$PLATFORM_MACOSX" = "x1" ; then
41379 COND_PLATFORM_MACOSX_1
=""
41382 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
41383 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41384 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
41387 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41388 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41389 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41392 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41393 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41394 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41397 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41398 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41399 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41402 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
41403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41404 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
41407 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41409 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41412 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
41413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41414 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
41417 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
41418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41419 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
41422 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41424 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41427 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41429 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41432 COND_PLATFORM_MACOS_1
="#"
41433 if test "x$PLATFORM_MACOS" = "x1" ; then
41434 COND_PLATFORM_MACOS_1
=""
41437 COND_PLATFORM_MAC_1
="#"
41438 if test "x$PLATFORM_MAC" = "x1" ; then
41439 COND_PLATFORM_MAC_1
=""
41442 COND_PLATFORM_OS2_1
="#"
41443 if test "x$PLATFORM_OS2" = "x1" ; then
41444 COND_PLATFORM_OS2_1
=""
41447 COND_PLATFORM_UNIX_0
="#"
41448 if test "x$PLATFORM_UNIX" = "x0" ; then
41449 COND_PLATFORM_UNIX_0
=""
41452 COND_PLATFORM_UNIX_1
="#"
41453 if test "x$PLATFORM_UNIX" = "x1" ; then
41454 COND_PLATFORM_UNIX_1
=""
41457 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41458 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41459 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41462 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41463 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41464 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41467 COND_PLATFORM_WIN32_0
="#"
41468 if test "x$PLATFORM_WIN32" = "x0" ; then
41469 COND_PLATFORM_WIN32_0
=""
41472 COND_PLATFORM_WIN32_1
="#"
41473 if test "x$PLATFORM_WIN32" = "x1" ; then
41474 COND_PLATFORM_WIN32_1
=""
41478 if test "x$SHARED" = "x0" ; then
41482 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
41483 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41484 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
41487 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
41488 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41489 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
41492 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
41493 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41494 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
41497 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41498 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41499 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41502 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41503 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41504 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41507 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41508 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41509 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41512 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41513 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41514 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41517 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41518 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41519 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41522 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41523 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41524 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41527 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41528 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41529 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41532 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41533 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41534 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41538 if test "x$SHARED" = "x1" ; then
41542 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41543 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41544 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41548 if test "x$TOOLKIT" = "x" ; then
41552 COND_TOOLKIT_COCOA
="#"
41553 if test "x$TOOLKIT" = "xCOCOA" ; then
41554 COND_TOOLKIT_COCOA
=""
41557 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
41558 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41559 COND_TOOLKIT_COCOA_USE_GUI_1
=""
41562 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41563 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41564 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41567 COND_TOOLKIT_GTK
="#"
41568 if test "x$TOOLKIT" = "xGTK" ; then
41569 COND_TOOLKIT_GTK
=""
41572 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41573 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41574 COND_TOOLKIT_GTK_USE_GUI_1
=""
41577 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41578 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41579 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41582 COND_TOOLKIT_MAC
="#"
41583 if test "x$TOOLKIT" = "xMAC" ; then
41584 COND_TOOLKIT_MAC
=""
41587 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41588 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41589 COND_TOOLKIT_MAC_USE_GUI_1
=""
41592 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41593 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41594 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41597 COND_TOOLKIT_MGL
="#"
41598 if test "x$TOOLKIT" = "xMGL" ; then
41599 COND_TOOLKIT_MGL
=""
41602 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41603 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41604 COND_TOOLKIT_MGL_USE_GUI_1
=""
41607 COND_TOOLKIT_MOTIF
="#"
41608 if test "x$TOOLKIT" = "xMOTIF" ; then
41609 COND_TOOLKIT_MOTIF
=""
41612 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41613 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41614 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41617 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41618 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41619 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41622 COND_TOOLKIT_MSW
="#"
41623 if test "x$TOOLKIT" = "xMSW" ; then
41624 COND_TOOLKIT_MSW
=""
41627 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41628 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41629 COND_TOOLKIT_MSW_USE_GUI_1
=""
41632 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41633 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41634 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41637 COND_TOOLKIT_PM
="#"
41638 if test "x$TOOLKIT" = "xPM" ; then
41642 COND_TOOLKIT_PM_USE_GUI_1
="#"
41643 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41644 COND_TOOLKIT_PM_USE_GUI_1
=""
41647 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41648 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41649 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41652 COND_TOOLKIT_WINCE
="#"
41653 if test "x$TOOLKIT" = "xWINCE" ; then
41654 COND_TOOLKIT_WINCE
=""
41657 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41658 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41659 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41662 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41663 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41664 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41667 COND_TOOLKIT_X11
="#"
41668 if test "x$TOOLKIT" = "xX11" ; then
41669 COND_TOOLKIT_X11
=""
41672 COND_TOOLKIT_X11_USE_GUI_1
="#"
41673 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41674 COND_TOOLKIT_X11_USE_GUI_1
=""
41678 if test "x$UNICODE" = "x1" ; then
41682 COND_USE_EXCEPTIONS_0
="#"
41683 if test "x$USE_EXCEPTIONS" = "x0" ; then
41684 COND_USE_EXCEPTIONS_0
=""
41687 COND_USE_EXCEPTIONS_1
="#"
41688 if test "x$USE_EXCEPTIONS" = "x1" ; then
41689 COND_USE_EXCEPTIONS_1
=""
41693 if test "x$USE_GUI" = "x0" ; then
41698 if test "x$USE_GUI" = "x1" ; then
41702 COND_USE_GUI_1_WXUNIV_0
="#"
41703 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41704 COND_USE_GUI_1_WXUNIV_0
=""
41707 COND_USE_GUI_1_WXUNIV_1
="#"
41708 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41709 COND_USE_GUI_1_WXUNIV_1
=""
41712 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41713 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41714 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41717 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41718 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41719 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41722 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41723 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41724 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41727 COND_USE_ODBC_1
="#"
41728 if test "x$USE_ODBC" = "x1" ; then
41732 COND_USE_OPENGL_1
="#"
41733 if test "x$USE_OPENGL" = "x1" ; then
41734 COND_USE_OPENGL_1
=""
41737 COND_USE_PLUGINS_0
="#"
41738 if test "x$USE_PLUGINS" = "x0" ; then
41739 COND_USE_PLUGINS_0
=""
41742 COND_USE_SOSYMLINKS_1
="#"
41743 if test "x$USE_SOSYMLINKS" = "x1" ; then
41744 COND_USE_SOSYMLINKS_1
=""
41747 COND_USE_SOVERLINUX_1
="#"
41748 if test "x$USE_SOVERLINUX" = "x1" ; then
41749 COND_USE_SOVERLINUX_1
=""
41752 COND_USE_SOVERSION_0
="#"
41753 if test "x$USE_SOVERSION" = "x0" ; then
41754 COND_USE_SOVERSION_0
=""
41757 COND_USE_SOVERSOLARIS_1
="#"
41758 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41759 COND_USE_SOVERSOLARIS_1
=""
41763 if test "x$USE_XRC" = "x1" ; then
41767 COND_WITH_PLUGIN_SDL_1
="#"
41768 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41769 COND_WITH_PLUGIN_SDL_1
=""
41773 if test "x$WXUNIV" = "x0" ; then
41778 if test "x$WXUNIV" = "x1" ; then
41782 COND_WXUSE_EXPAT_BUILTIN
="#"
41783 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41784 COND_WXUSE_EXPAT_BUILTIN
=""
41787 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41788 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41789 COND_WXUSE_LIBJPEG_BUILTIN
=""
41792 COND_WXUSE_LIBPNG_BUILTIN
="#"
41793 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41794 COND_WXUSE_LIBPNG_BUILTIN
=""
41797 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41798 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41799 COND_WXUSE_LIBTIFF_BUILTIN
=""
41802 COND_WXUSE_ODBC_BUILTIN
="#"
41803 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41804 COND_WXUSE_ODBC_BUILTIN
=""
41807 COND_WXUSE_REGEX_BUILTIN
="#"
41808 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41809 COND_WXUSE_REGEX_BUILTIN
=""
41812 COND_WXUSE_ZLIB_BUILTIN
="#"
41813 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41814 COND_WXUSE_ZLIB_BUILTIN
=""
41819 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41820 { { 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
41821 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;}
41822 { (exit 1); exit 1; }; }
41826 if test "$wxUSE_SHARED" = "yes"; then
41828 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41829 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41832 *-pc-os2_emx | *-pc-os2-emx )
41833 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41834 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41835 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41836 cp -p ${srcdir}/src
/os
2/dllar.sh .
41841 EXE_LINKER
="$CXX -o"
41845 GCC_PRAGMA_FLAGS
=""
41847 if test $GCC_PCH = 1 ; then
41848 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41849 PCH_FLAGS
="-DWX_PRECOMP"
41852 powerpc
-*-darwin* )
41853 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41856 if test "$wxUSE_STL" = "yes" -o \
41857 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41858 "$wxUSE_NO_RTTI" != "yes"; then
41859 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41860 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41861 cat >conftest.
$ac_ext <<_ACEOF
41864 cat confdefs.h
>>conftest.
$ac_ext
41865 cat >>conftest.
$ac_ext <<_ACEOF
41866 /* end confdefs.h. */
41871 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41872 #error "Not GCC 3.2 or greater"
41879 rm -f conftest.
$ac_objext
41880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41881 (eval $ac_compile) 2>conftest.er1
41883 grep -v '^ *+' conftest.er1
>conftest.err
41885 cat conftest.err
>&5
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); } &&
41888 { ac_try
='test -z "$ac_c_werror_flag"
41889 || test ! -s conftest.err'
41890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41891 (eval $ac_try) 2>&5
41893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41894 (exit $ac_status); }; } &&
41895 { ac_try
='test -s conftest.$ac_objext'
41896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41897 (eval $ac_try) 2>&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); }; }; then
41901 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41902 echo "$as_me:$LINENO: result: yes" >&5
41903 echo "${ECHO_T}yes" >&6
41905 echo "$as_me: failed program was:" >&5
41906 sed 's/^/| /' conftest.
$ac_ext >&5
41908 echo "$as_me:$LINENO: result: no" >&5
41909 echo "${ECHO_T}no" >&6
41911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41914 *-pc-os2_emx | *-pc-os2-emx )
41915 if test "$wxUSE_STL" = "yes"; then
41916 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41917 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41918 cat >conftest.
$ac_ext <<_ACEOF
41921 cat confdefs.h
>>conftest.
$ac_ext
41922 cat >>conftest.
$ac_ext <<_ACEOF
41923 /* end confdefs.h. */
41928 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41929 #error "Not GCC 3.2 or greater"
41936 rm -f conftest.
$ac_objext
41937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41938 (eval $ac_compile) 2>conftest.er1
41940 grep -v '^ *+' conftest.er1
>conftest.err
41942 cat conftest.err
>&5
41943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41944 (exit $ac_status); } &&
41945 { ac_try
='test -z "$ac_c_werror_flag"
41946 || test ! -s conftest.err'
41947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41948 (eval $ac_try) 2>&5
41950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41951 (exit $ac_status); }; } &&
41952 { ac_try
='test -s conftest.$ac_objext'
41953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41954 (eval $ac_try) 2>&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); }; }; then
41958 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41959 echo "$as_me:$LINENO: result: yes" >&5
41960 echo "${ECHO_T}yes" >&6
41962 echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.
$ac_ext >&5
41965 echo "$as_me:$LINENO: result: no" >&5
41966 echo "${ECHO_T}no" >&6
41968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41973 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41976 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42040 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42041 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42042 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42043 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42044 echo $ECHO_N "(cached) $ECHO_C" >&6
42046 cat >conftest.
make <<\_ACEOF
42048 @
echo 'ac_maketemp="$(MAKE)"'
42050 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42051 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42052 if test -n "$ac_maketemp"; then
42053 eval ac_cv_prog_make_
${ac_make}_set
=yes
42055 eval ac_cv_prog_make_
${ac_make}_set
=no
42057 rm -f conftest.
make
42059 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42060 echo "$as_me:$LINENO: result: yes" >&5
42061 echo "${ECHO_T}yes" >&6
42064 echo "$as_me:$LINENO: result: no" >&5
42065 echo "${ECHO_T}no" >&6
42066 SET_MAKE
="MAKE=${MAKE-make}"
42071 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
42074 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
42077 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
42080 ac_config_files
="$ac_config_files version-script Makefile"
42083 ac_config_commands
="$ac_config_commands wx-config
42089 if test "$wxUSE_GUI" = "yes"; then
42090 SUBDIRS
="samples demos utils contrib"
42091 else SUBDIRS
="samples utils"
42096 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42097 if test "${with_cppunit_prefix+set}" = set; then
42098 withval
="$with_cppunit_prefix"
42099 cppunit_config_prefix
="$withval"
42101 cppunit_config_prefix
=""
42104 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42105 if test "${with_cppunit_exec_prefix+set}" = set; then
42106 withval
="$with_cppunit_exec_prefix"
42107 cppunit_config_exec_prefix
="$withval"
42109 cppunit_config_exec_prefix
=""
42112 if test x
$cppunit_config_exec_prefix != x
; then
42113 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42114 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42115 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
42118 if test x
$cppunit_config_prefix != x
; then
42119 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
42120 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42121 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
42125 # Extract the first word of "cppunit-config", so it can be a program name with args.
42126 set dummy cppunit
-config; ac_word
=$2
42127 echo "$as_me:$LINENO: checking for $ac_word" >&5
42128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42129 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42130 echo $ECHO_N "(cached) $ECHO_C" >&6
42132 case $CPPUNIT_CONFIG in
42134 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42138 for as_dir
in $PATH
42141 test -z "$as_dir" && as_dir
=.
42142 for ac_exec_ext
in '' $ac_executable_extensions; do
42143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42144 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42151 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42155 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42157 if test -n "$CPPUNIT_CONFIG"; then
42158 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42159 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42161 echo "$as_me:$LINENO: result: no" >&5
42162 echo "${ECHO_T}no" >&6
42165 cppunit_version_min
=1.8.0
42167 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42168 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42170 if test "$CPPUNIT_CONFIG" = "no" ; then
42173 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42174 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42175 cppunit_version
=`$CPPUNIT_CONFIG --version`
42177 cppunit_major_version
=`echo $cppunit_version | \
42178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42179 cppunit_minor_version
=`echo $cppunit_version | \
42180 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42181 cppunit_micro_version
=`echo $cppunit_version | \
42182 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42184 cppunit_major_min
=`echo $cppunit_version_min | \
42185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42186 cppunit_minor_min
=`echo $cppunit_version_min | \
42187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42188 cppunit_micro_min
=`echo $cppunit_version_min | \
42189 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42191 cppunit_version_proper
=`expr \
42192 $cppunit_major_version \> $cppunit_major_min \| \
42193 $cppunit_major_version \= $cppunit_major_min \& \
42194 $cppunit_minor_version \> $cppunit_minor_min \| \
42195 $cppunit_major_version \= $cppunit_major_min \& \
42196 $cppunit_minor_version \= $cppunit_minor_min \& \
42197 $cppunit_micro_version \>= $cppunit_micro_min `
42199 if test "$cppunit_version_proper" = "1" ; then
42200 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42201 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42203 echo "$as_me:$LINENO: result: no" >&5
42204 echo "${ECHO_T}no" >&6
42209 if test "x$no_cppunit" = x
; then
42210 SUBDIRS
="$SUBDIRS tests"
42221 for subdir
in `echo $SUBDIRS`; do
42222 if test -d ${srcdir}/${subdir} ; then
42223 if test "$wxUSE_GUI" = "yes"; then
42224 if test ${subdir} = "samples"; then
42225 makefiles
="samples/Makefile.in $makefiles"
42226 for sample
in `echo $SAMPLES_SUBDIRS`; do
42227 if test -d $srcdir/samples
/$sample; then
42228 makefiles
="samples/$sample/Makefile.in $makefiles"
42231 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42233 else if test ${subdir} = "samples"; then
42234 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42235 elif test ${subdir} = "utils"; then
42237 for util
in HelpGen tex2rtf
; do
42238 if test -d $srcdir/utils
/$util ; then
42239 makefiles
="utils/$util/Makefile.in \
42240 utils/$util/src/Makefile.in \
42244 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42248 for mkin
in $makefiles ; do
42249 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42250 ac_config_files
="$ac_config_files $mk"
42257 cat >confcache
<<\_ACEOF
42258 # This file is a shell script that caches the results of configure
42259 # tests run on this system so they can be shared between configure
42260 # scripts and configure runs, see configure's option --config-cache.
42261 # It is not useful on other systems. If it contains results you don't
42262 # want to keep, you may remove or edit it.
42264 # config.status only pays attention to the cache file if you give it
42265 # the --recheck option to rerun configure.
42267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42269 # following values.
42273 # The following way of writing the cache mishandles newlines in values,
42274 # but we know of no workaround that is simple, portable, and efficient.
42275 # So, don't put newlines in cache variables' values.
42276 # Ultrix sh set writes to stderr and can't be redirected directly,
42277 # and sets the high bit in the cache file unless we assign to the vars.
42280 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42282 # `set' does not quote correctly, so add quotes (double-quote
42283 # substitution turns \\\\ into \\, and sed turns \\ into \).
42286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42289 # `set' quotes correctly as required by POSIX, so do not add quotes.
42291 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42298 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42300 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42302 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42303 if test -w $cache_file; then
42304 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42305 cat confcache
>$cache_file
42307 echo "not updating unwritable cache $cache_file"
42312 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42313 # Let make expand exec_prefix.
42314 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42316 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42317 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42318 # trailing colons and then remove the whole line if VPATH becomes empty
42319 # (actually we leave an empty line to preserve line numbers).
42320 if test "x$srcdir" = x.
; then
42321 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42322 s/:*\$(srcdir):*/:/;
42323 s/:*\${srcdir}:*/:/;
42325 s/^\([^=]*=[ ]*\):*/\1/;
42331 DEFS
=-DHAVE_CONFIG_H
42335 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42336 # 1. Remove the extension, and $U if already installed.
42337 ac_i
=`echo "$ac_i" |
42338 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42340 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42341 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42343 LIBOBJS
=$ac_libobjs
42345 LTLIBOBJS
=$ac_ltlibobjs
42349 : ${CONFIG_STATUS=./config.status}
42350 ac_clean_files_save
=$ac_clean_files
42351 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42352 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42353 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42354 cat >$CONFIG_STATUS <<_ACEOF
42356 # Generated by $as_me.
42357 # Run this file to recreate the current configuration.
42358 # Compiler output produced by configure, useful for debugging
42359 # configure, is in config.log if it exists.
42362 ac_cs_recheck=false
42364 SHELL=\${CONFIG_SHELL-$SHELL}
42367 cat >>$CONFIG_STATUS <<\_ACEOF
42368 ## --------------------- ##
42369 ## M4sh Initialization. ##
42370 ## --------------------- ##
42372 # Be Bourne compatible
42373 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42376 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42377 # is contrary to our usage. Disable this feature.
42378 alias -g '${1+"$@"}'='"$@"'
42379 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42382 DUALCASE
=1; export DUALCASE
# for MKS sh
42384 # Support unset when possible.
42385 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42392 # Work around bugs in pre-3.0 UWIN ksh.
42393 $as_unset ENV MAIL MAILPATH
42400 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42401 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42402 LC_TELEPHONE LC_TIME
42404 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42405 eval $as_var=C
; export $as_var
42411 # Required to use basename.
42412 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42418 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42419 as_basename
=basename
42425 # Name of the executable.
42426 as_me
=`$as_basename "$0" ||
42427 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42428 X"$0" : 'X\(//\)$' \| \
42429 X"$0" : 'X\(/\)$' \| \
42430 . : '\(.\)' 2>/dev/null ||
42432 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42433 /^X\/\(\/\/\)$/{ s//\1/; q; }
42434 /^X\/\(\/\).*/{ s//\1/; q; }
42438 # PATH needs CR, and LINENO needs CR and PATH.
42439 # Avoid depending upon Character Ranges.
42440 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42441 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42442 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42443 as_cr_digits
='0123456789'
42444 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42446 # The user is always right.
42447 if test "${PATH_SEPARATOR+set}" != set; then
42448 echo "#! /bin/sh" >conf$$.sh
42449 echo "exit 0" >>conf$$.sh
42451 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42460 as_lineno_1
=$LINENO
42461 as_lineno_2
=$LINENO
42462 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42463 test "x$as_lineno_1" != "x$as_lineno_2" &&
42464 test "x$as_lineno_3" = "x$as_lineno_2" || {
42465 # Find who we are. Look in the path if we contain no path at all
42468 *[\\/]* ) as_myself
=$0 ;;
42469 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42470 for as_dir
in $PATH
42473 test -z "$as_dir" && as_dir
=.
42474 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42479 # We did not find ourselves, most probably we were run as `sh COMMAND'
42480 # in which case we are not to be found in the path.
42481 if test "x$as_myself" = x
; then
42484 if test ! -f "$as_myself"; then
42485 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42486 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42487 { (exit 1); exit 1; }; }
42489 case $CONFIG_SHELL in
42491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42492 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42495 test -z "$as_dir" && as_dir
=.
42496 for as_base
in sh bash ksh sh5
; do
42499 if ("$as_dir/$as_base" -c '
42500 as_lineno_1=$LINENO
42501 as_lineno_2=$LINENO
42502 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42503 test "x$as_lineno_1" != "x$as_lineno_2" &&
42504 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42505 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42506 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42507 CONFIG_SHELL
=$as_dir/$as_base
42508 export CONFIG_SHELL
42509 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42517 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42518 # uniformly replaced by the line number. The first 'sed' inserts a
42519 # line-number line before each line; the second 'sed' does the real
42520 # work. The second script uses 'N' to pair each line-number line
42521 # with the numbered line, and appends trailing '-' during
42522 # substitution so that $LINENO is not a special case at line end.
42523 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42524 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42525 sed '=' <$as_myself |
42530 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42533 s,^['$as_cr_digits']*\n,,
42534 ' >$as_me.lineno
&&
42535 chmod +x
$as_me.lineno
||
42536 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42537 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42538 { (exit 1); exit 1; }; }
42540 # Don't try to exec as it changes $[0], causing all sort of problems
42541 # (the dirname of $[0] is not the place where we might find the
42542 # original and so on. Autoconf is especially sensible to this).
42544 # Exit status is that of the last command.
42549 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42550 *c
*,-n*) ECHO_N
= ECHO_C
='
42552 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42553 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42556 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42562 rm -f conf$$ conf$$.exe conf$$.
file
42564 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42565 # We could just check for DJGPP; but this test a) works b) is more generic
42566 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42567 if test -f conf$$.exe
; then
42568 # Don't use ln at all; we don't have any links
42573 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42578 rm -f conf$$ conf$$.exe conf$$.
file
42580 if mkdir -p .
2>/dev
/null
; then
42583 test -d .
/-p && rmdir .
/-p
42587 as_executable_p
="test -f"
42589 # Sed expression to map a string onto a valid CPP name.
42590 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42592 # Sed expression to map a string onto a valid variable name.
42593 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42597 # We need space, tab and new line, in precisely that order.
42607 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42608 # report actual input values of CONFIG_FILES etc. instead of their
42609 # values after options handling. Logging --version etc. is OK.
42613 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42614 ## Running $as_me. ##
42619 This file was extended by wxWidgets $as_me 2.5.4, which was
42620 generated by GNU Autoconf 2.59. Invocation command line was
42622 CONFIG_FILES = $CONFIG_FILES
42623 CONFIG_HEADERS = $CONFIG_HEADERS
42624 CONFIG_LINKS = $CONFIG_LINKS
42625 CONFIG_COMMANDS = $CONFIG_COMMANDS
42629 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42633 # Files that config.status was made for.
42634 if test -n "$ac_config_files"; then
42635 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42638 if test -n "$ac_config_headers"; then
42639 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42642 if test -n "$ac_config_links"; then
42643 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42646 if test -n "$ac_config_commands"; then
42647 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42650 cat >>$CONFIG_STATUS <<\_ACEOF
42653 \`$as_me' instantiates files from templates according to the
42654 current configuration.
42656 Usage: $0 [OPTIONS] [FILE]...
42658 -h, --help print this help, then exit
42659 -V, --version print version number, then exit
42660 -q, --quiet do not print progress messages
42661 -d, --debug don't remove temporary files
42662 --recheck update $as_me by reconfiguring in the same conditions
42663 --file=FILE[:TEMPLATE]
42664 instantiate the configuration file FILE
42665 --header=FILE[:TEMPLATE]
42666 instantiate the configuration header FILE
42668 Configuration files:
42671 Configuration headers:
42674 Configuration commands:
42677 Report bugs to <bug-autoconf@gnu.org>."
42680 cat >>$CONFIG_STATUS <<_ACEOF
42682 wxWidgets config.status 2.5.4
42683 configured by $0, generated by GNU Autoconf 2.59,
42684 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42686 Copyright (C) 2003 Free Software Foundation, Inc.
42687 This config.status script is free software; the Free Software Foundation
42688 gives unlimited permission to copy, distribute and modify it."
42693 cat >>$CONFIG_STATUS <<\_ACEOF
42694 # If no file are specified by the user, then we need to provide default
42695 # value. By we need to know if files were specified by the user.
42701 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42702 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42710 *) # This is not an option, so the user has probably given explicit
42713 ac_need_defaults
=false
;;
42717 # Handling of the options.
42719 cat >>$CONFIG_STATUS <<\_ACEOF
42720 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42722 --version | --vers* | -V )
42723 echo "$ac_cs_version"; exit 0 ;;
42725 # Conflict between --help and --header
42726 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42727 Try \`$0 --help' for more information." >&5
42728 echo "$as_me: error: ambiguous option: $1
42729 Try \`$0 --help' for more information." >&2;}
42730 { (exit 1); exit 1; }; };;
42731 --help | --hel | -h )
42732 echo "$ac_cs_usage"; exit 0 ;;
42733 --debug | --d* | -d )
42735 --file | --fil | --fi | --f )
42737 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42738 ac_need_defaults
=false
;;
42739 --header | --heade | --head | --hea )
42741 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42742 ac_need_defaults
=false
;;
42743 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42744 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42747 # This is an error.
42748 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42749 Try \`$0 --help' for more information." >&5
42750 echo "$as_me: error: unrecognized option: $1
42751 Try \`$0 --help' for more information." >&2;}
42752 { (exit 1); exit 1; }; } ;;
42754 *) ac_config_targets
="$ac_config_targets $1" ;;
42760 ac_configure_extra_args
=
42762 if $ac_cs_silent; then
42764 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42768 cat >>$CONFIG_STATUS <<_ACEOF
42769 if \$ac_cs_recheck; then
42770 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42771 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42776 cat >>$CONFIG_STATUS <<_ACEOF
42778 # INIT-COMMANDS section.
42781 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42782 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42783 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42791 cat >>$CONFIG_STATUS <<\_ACEOF
42792 for ac_config_target
in $ac_config_targets
42794 case "$ac_config_target" in
42795 # Handling of arguments.
42796 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42797 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42798 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42799 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42800 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42801 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42802 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42803 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42804 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42805 { (exit 1); exit 1; }; };;
42809 # If the user did not use the arguments to specify the items to instantiate,
42810 # then the envvar interface is used. Set only those that are not.
42811 # We use the long form for the default assignment because of an extremely
42812 # bizarre bug on SunOS 4.1.3.
42813 if $ac_need_defaults; then
42814 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42815 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42816 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42819 # Have a temporary directory for convenience. Make it in the build tree
42820 # simply because there is no reason to put it here, and in addition,
42821 # creating and moving files from /tmp can sometimes cause problems.
42822 # Create a temporary directory, and hook for its removal unless debugging.
42825 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42826 trap '{ (exit 1); exit 1; }' 1 2 13 15
42829 # Create a (secure) tmp directory for tmp files.
42832 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42833 test -n "$tmp" && test -d "$tmp"
42836 tmp
=.
/confstat$$
-$RANDOM
42837 (umask 077 && mkdir $tmp)
42840 echo "$me: cannot create a temporary directory in ." >&2
42841 { (exit 1); exit 1; }
42846 cat >>$CONFIG_STATUS <<_ACEOF
42849 # CONFIG_FILES section.
42852 # No need to generate the scripts if there are no CONFIG_FILES.
42853 # This happens for instance when ./config.status config.h
42854 if test -n "\$CONFIG_FILES"; then
42855 # Protect against being on the right side of a sed subst in config.status.
42856 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42857 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42858 s,@SHELL@,$SHELL,;t t
42859 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42860 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42861 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42862 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42863 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42864 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42865 s,@exec_prefix@,$exec_prefix,;t t
42866 s,@prefix@,$prefix,;t t
42867 s,@program_transform_name@,$program_transform_name,;t t
42868 s,@bindir@,$bindir,;t t
42869 s,@sbindir@,$sbindir,;t t
42870 s,@libexecdir@,$libexecdir,;t t
42871 s,@datadir@,$datadir,;t t
42872 s,@sysconfdir@,$sysconfdir,;t t
42873 s,@sharedstatedir@,$sharedstatedir,;t t
42874 s,@localstatedir@,$localstatedir,;t t
42875 s,@libdir@,$libdir,;t t
42876 s,@includedir@,$includedir,;t t
42877 s,@oldincludedir@,$oldincludedir,;t t
42878 s,@infodir@,$infodir,;t t
42879 s,@mandir@,$mandir,;t t
42880 s,@build_alias@,$build_alias,;t t
42881 s,@host_alias@,$host_alias,;t t
42882 s,@target_alias@,$target_alias,;t t
42883 s,@DEFS@,$DEFS,;t t
42884 s,@ECHO_C@,$ECHO_C,;t t
42885 s,@ECHO_N@,$ECHO_N,;t t
42886 s,@ECHO_T@,$ECHO_T,;t t
42887 s,@LIBS@,$LIBS,;t t
42888 s,@build@,$build,;t t
42889 s,@build_cpu@,$build_cpu,;t t
42890 s,@build_vendor@,$build_vendor,;t t
42891 s,@build_os@,$build_os,;t t
42892 s,@host@,$host,;t t
42893 s,@host_cpu@,$host_cpu,;t t
42894 s,@host_vendor@,$host_vendor,;t t
42895 s,@host_os@,$host_os,;t t
42896 s,@target@,$target,;t t
42897 s,@target_cpu@,$target_cpu,;t t
42898 s,@target_vendor@,$target_vendor,;t t
42899 s,@target_os@,$target_os,;t t
42901 s,@CFLAGS@,$CFLAGS,;t t
42902 s,@LDFLAGS@,$LDFLAGS,;t t
42903 s,@CPPFLAGS@,$CPPFLAGS,;t t
42904 s,@ac_ct_CC@,$ac_ct_CC,;t t
42905 s,@EXEEXT@,$EXEEXT,;t t
42906 s,@OBJEXT@,$OBJEXT,;t t
42908 s,@EGREP@,$EGREP,;t t
42910 s,@CXXFLAGS@,$CXXFLAGS,;t t
42911 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42912 s,@RANLIB@,$RANLIB,;t t
42913 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42915 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42916 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42917 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42918 s,@STRIP@,$STRIP,;t t
42919 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42920 s,@LN_S@,$LN_S,;t t
42921 s,@CXXCPP@,$CXXCPP,;t t
42922 s,@subdirs@,$subdirs,;t t
42923 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42924 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42925 s,@GTK_LIBS@,$GTK_LIBS,;t t
42926 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42927 s,@X_CFLAGS@,$X_CFLAGS,;t t
42928 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42929 s,@X_LIBS@,$X_LIBS,;t t
42930 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42931 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42932 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42933 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42934 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42935 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42936 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42937 s,@RESCOMP@,$RESCOMP,;t t
42938 s,@DEREZ@,$DEREZ,;t t
42939 s,@SETFILE@,$SETFILE,;t t
42940 s,@LIBICONV@,$LIBICONV,;t t
42941 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42942 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42943 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42944 s,@SDL_LIBS@,$SDL_LIBS,;t t
42945 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42946 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42947 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42948 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42949 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42950 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42951 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42952 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42953 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42954 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42955 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42956 s,@VENDOR@,$VENDOR,;t t
42957 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42958 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42959 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42960 s,@WXUNIV@,$WXUNIV,;t t
42961 s,@MONOLITHIC@,$MONOLITHIC,;t t
42962 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42963 s,@EXTRALIBS@,$EXTRALIBS,;t t
42964 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42965 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42966 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42967 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42968 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42969 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42970 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42971 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42972 s,@UNICODE@,$UNICODE,;t t
42973 s,@BUILD@,$BUILD,;t t
42974 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42975 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42976 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42977 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42978 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42979 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42980 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42981 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42982 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42983 s,@SET_MAKE@,$SET_MAKE,;t t
42984 s,@MAKE_SET@,$MAKE_SET,;t t
42985 s,@ac_ct_AR@,$ac_ct_AR,;t t
42986 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42988 s,@ac_ct_NM@,$ac_ct_NM,;t t
42989 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42990 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42991 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42992 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42993 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42994 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42995 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42996 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42997 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42998 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42999 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43000 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43001 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43002 s,@LIBPREFIX@,$LIBPREFIX,;t t
43003 s,@LIBEXT@,$LIBEXT,;t t
43004 s,@DLLPREFIX@,$DLLPREFIX,;t t
43005 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43006 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43007 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43008 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43009 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43010 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43011 s,@PIC_FLAG@,$PIC_FLAG,;t t
43012 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43013 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43014 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43015 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43016 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43017 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43018 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43019 s,@GCC_PCH@,$GCC_PCH,;t t
43020 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43021 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43022 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43023 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43024 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43025 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43026 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43027 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43028 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43029 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43030 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43031 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43032 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43033 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43034 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43035 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43036 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43037 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43038 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
43039 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
43040 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43041 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
43042 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43043 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43044 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
43045 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
43046 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43047 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
43048 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43049 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43050 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43051 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43052 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43053 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43054 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43055 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43056 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
43057 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43058 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43059 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43060 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
43061 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
43062 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
43063 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
43064 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43065 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43066 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
43067 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43068 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43069 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43070 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43071 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43072 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43073 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43074 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43075 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43076 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
43077 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
43078 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
43079 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43080 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43081 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43082 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43083 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43084 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43085 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43086 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43087 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43088 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43089 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
43090 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43091 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
43092 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43093 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43094 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43095 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43096 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43097 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43098 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43099 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43100 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43101 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43102 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43103 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43104 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43105 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43106 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43107 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43108 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43109 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43110 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43111 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43112 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43113 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43114 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43115 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43116 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43117 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43118 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43119 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43120 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43121 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43122 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43123 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43124 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43125 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43126 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43127 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43128 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43129 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43130 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43131 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43132 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43133 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43134 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
43135 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43136 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43137 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43138 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43139 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43140 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43141 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43142 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43143 s,@SHARED@,$SHARED,;t t
43144 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43145 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43146 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43147 s,@USE_GUI@,$USE_GUI,;t t
43148 s,@AFMINSTALL@,$AFMINSTALL,;t t
43149 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43150 s,@TOOLKIT@,$TOOLKIT,;t t
43151 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43152 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43153 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43154 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43155 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43156 s,@cross_compiling@,$cross_compiling,;t t
43157 s,@WIDGET_SET@,$WIDGET_SET,;t t
43158 s,@WX_RELEASE@,$WX_RELEASE,;t t
43159 s,@WX_VERSION@,$WX_VERSION,;t t
43160 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43161 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43162 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43163 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43164 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43165 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43166 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43167 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43168 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43169 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43170 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43171 s,@EXE_LINKER@,$EXE_LINKER,;t t
43172 s,@GUIDIST@,$GUIDIST,;t t
43173 s,@DISTDIR@,$DISTDIR,;t t
43174 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43175 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43176 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43177 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43178 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43179 s,@RESFLAGS@,$RESFLAGS,;t t
43180 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43181 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43182 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43183 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43184 s,@MACRESCOMP@,$MACRESCOMP,;t t
43185 s,@MACSETFILE@,$MACSETFILE,;t t
43186 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43188 s,@DLLTOOL@,$DLLTOOL,;t t
43189 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43190 s,@LIBOBJS@,$LIBOBJS,;t t
43191 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43196 cat >>$CONFIG_STATUS <<\_ACEOF
43197 # Split the substitutions into bite-sized pieces for seds with
43198 # small command number limits, like on Digital OSF/1 and HP-UX.
43199 ac_max_sed_lines
=48
43200 ac_sed_frag
=1 # Number of current file.
43201 ac_beg
=1 # First line for current file.
43202 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43205 while $ac_more_lines; do
43206 if test $ac_beg -gt 1; then
43207 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43209 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43211 if test ! -s $tmp/subs.frag
; then
43212 ac_more_lines
=false
43214 # The purpose of the label and of the branching condition is to
43215 # speed up the sed processing (if there are no `@' at all, there
43216 # is no need to browse any of the substitutions).
43217 # These are the two extra sed commands mentioned above.
43219 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43220 if test -z "$ac_sed_cmds"; then
43221 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43223 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43225 ac_sed_frag
=`expr $ac_sed_frag + 1`
43227 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43230 if test -z "$ac_sed_cmds"; then
43233 fi # test -n "$CONFIG_FILES"
43236 cat >>$CONFIG_STATUS <<\_ACEOF
43237 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43238 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43240 - | *:- | *:-:* ) # input from stdin
43242 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43243 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43244 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43245 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43246 * ) ac_file_in
=$ac_file.
in ;;
43249 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43250 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43252 X"$ac_file" : 'X\(//\)[^/]' \| \
43253 X"$ac_file" : 'X\(//\)$' \| \
43254 X"$ac_file" : 'X\(/\)' \| \
43255 . : '\(.\)' 2>/dev/null ||
43257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43259 /^X\(\/\/\)$/{ s//\1/; q; }
43260 /^X\(\/\).*/{ s//\1/; q; }
43262 { if $as_mkdir_p; then
43267 while test ! -d "$as_dir"; do
43268 as_dirs
="$as_dir $as_dirs"
43269 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43271 X"$as_dir" : 'X\(//\)[^/]' \| \
43272 X"$as_dir" : 'X\(//\)$' \| \
43273 X"$as_dir" : 'X\(/\)' \| \
43274 . : '\(.\)' 2>/dev/null ||
43276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43278 /^X\(\/\/\)$/{ s//\1/; q; }
43279 /^X\(\/\).*/{ s//\1/; q; }
43282 test ! -n "$as_dirs" || mkdir $as_dirs
43283 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43284 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43285 { (exit 1); exit 1; }; }; }
43289 if test "$ac_dir" != .
; then
43290 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43291 # A "../" for each directory in $ac_dir_suffix.
43292 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43294 ac_dir_suffix
= ac_top_builddir
=
43298 .
) # No --srcdir option. We are building in place.
43300 if test -z "$ac_top_builddir"; then
43303 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43305 [\\/]* | ?
:[\\/]* ) # Absolute path.
43306 ac_srcdir
=$srcdir$ac_dir_suffix;
43307 ac_top_srcdir
=$srcdir ;;
43308 *) # Relative path.
43309 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43310 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43313 # Do not use `cd foo && pwd` to compute absolute paths, because
43314 # the directories may not exist.
43316 .
) ac_abs_builddir
="$ac_dir";;
43319 .
) ac_abs_builddir
=`pwd`;;
43320 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43321 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43324 case $ac_abs_builddir in
43325 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43327 case ${ac_top_builddir}.
in
43328 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43329 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43330 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43333 case $ac_abs_builddir in
43334 .
) ac_abs_srcdir
=$ac_srcdir;;
43337 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43338 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43339 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43342 case $ac_abs_builddir in
43343 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43345 case $ac_top_srcdir in
43346 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43347 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43348 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43354 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43355 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43358 if test x
"$ac_file" != x
-; then
43359 { echo "$as_me:$LINENO: creating $ac_file" >&5
43360 echo "$as_me: creating $ac_file" >&6;}
43363 # Let's still pretend it is `configure' which instantiates (i.e., don't
43364 # use $as_me), people would be surprised to read:
43365 # /* config.h. Generated by config.status. */
43366 if test x
"$ac_file" = x
-; then
43369 configure_input
="$ac_file. "
43371 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43372 sed 's,.*/,,'` by configure."
43374 # First look for the input files in the build tree, otherwise in the
43376 ac_file_inputs
=`IFS=:
43377 for f in $ac_file_in; do
43379 -) echo $tmp/stdin ;;
43381 # Absolute (can't be DOS-style, as IFS=:)
43382 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43383 echo "$as_me: error: cannot find input file: $f" >&2;}
43384 { (exit 1); exit 1; }; }
43387 if test -f "$f"; then
43390 elif test -f "$srcdir/$f"; then
43395 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43396 echo "$as_me: error: cannot find input file: $f" >&2;}
43397 { (exit 1); exit 1; }; }
43400 done` || { (exit 1); exit 1; }
43402 cat >>$CONFIG_STATUS <<_ACEOF
43406 cat >>$CONFIG_STATUS <<\_ACEOF
43408 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43409 s
,@configure_input@
,$configure_input,;t t
43410 s
,@srcdir@
,$ac_srcdir,;t t
43411 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43412 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43413 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43414 s
,@builddir@
,$ac_builddir,;t t
43415 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43416 s
,@top_builddir@
,$ac_top_builddir,;t t
43417 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43418 s
,@INSTALL@
,$ac_INSTALL,;t t
43419 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43421 if test x"$ac_file" != x-; then
43422 mv $tmp/out $ac_file
43428 # Run the commands associated with the file.
43430 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43431 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43435 cat >>$CONFIG_STATUS <<\_ACEOF
43438 # CONFIG_HEADER section.
43441 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43442 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43444 # ac_d sets the value in "#define NAME VALUE" lines.
43445 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43446 ac_dB
='[ ].*$,\1#\2'
43449 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43450 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43451 ac_uB
='$,\1#\2define\3'
43455 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43456 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43458 - | *:- | *:-:* ) # input from stdin
43460 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43461 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43462 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43463 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43464 * ) ac_file_in
=$ac_file.
in ;;
43467 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43468 echo "$as_me: creating $ac_file" >&6;}
43470 # First look for the input files in the build tree, otherwise in the
43472 ac_file_inputs
=`IFS=:
43473 for f in $ac_file_in; do
43475 -) echo $tmp/stdin ;;
43477 # Absolute (can't be DOS-style, as IFS=:)
43478 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43479 echo "$as_me: error: cannot find input file: $f" >&2;}
43480 { (exit 1); exit 1; }; }
43481 # Do quote $f, to prevent DOS paths from being IFS'd.
43484 if test -f "$f"; then
43487 elif test -f "$srcdir/$f"; then
43492 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43493 echo "$as_me: error: cannot find input file: $f" >&2;}
43494 { (exit 1); exit 1; }; }
43497 done` || { (exit 1); exit 1; }
43498 # Remove the trailing spaces.
43499 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43503 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43504 # `conftest.undefs', that substitutes the proper values into
43505 # config.h.in to produce config.h. The first handles `#define'
43506 # templates, and the second `#undef' templates.
43507 # And first: Protect against being on the right side of a sed subst in
43508 # config.status. Protect against being in an unquoted here document
43509 # in config.status.
43510 rm -f conftest.defines conftest.undefs
43511 # Using a here document instead of a string reduces the quoting nightmare.
43512 # Putting comments in sed scripts is not portable.
43514 # `end' is used to avoid that the second main sed command (meant for
43515 # 0-ary CPP macros) applies to n-ary macro definitions.
43516 # See the Autoconf documentation for `clear'.
43517 cat >confdef2sed.
sed <<\_ACEOF
43522 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43524 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43527 # If some macros were called several times there might be several times
43528 # the same #defines, which is useless. Nevertheless, we may not want to
43529 # sort them, since we want the *last* AC-DEFINE to be honored.
43530 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43531 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43532 rm -f confdef2sed.sed
43534 # This sed command replaces #undef with comments. This is necessary, for
43535 # example, in the case of _POSIX_SOURCE, which is predefined and required
43536 # on some systems where configure will not decide to define it.
43537 cat >>conftest.undefs <<\_ACEOF
43538 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43541 # Break up conftest.defines because some shells have a limit on the size
43542 # of here documents, and old seds have small limits too (100 cmds).
43543 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43544 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43545 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43546 echo ' :' >>$CONFIG_STATUS
43547 rm -f conftest.tail
43548 while grep . conftest.defines >/dev/null
43550 # Write a limited-size here document to $tmp/defines.sed.
43551 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43552 # Speed up: don't consider the non `#define' lines.
43553 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43554 # Work around the forget-to-reset-the-flag bug.
43555 echo 't clr' >>$CONFIG_STATUS
43556 echo ': clr' >>$CONFIG_STATUS
43557 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43559 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43561 mv $tmp/out $tmp/in
43563 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43564 rm -f conftest.defines
43565 mv conftest.
tail conftest.defines
43567 rm -f conftest.defines
43568 echo ' fi # grep' >>$CONFIG_STATUS
43569 echo >>$CONFIG_STATUS
43571 # Break up conftest.undefs because some shells have a limit on the size
43572 # of here documents, and old seds have small limits too (100 cmds).
43573 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43574 rm -f conftest.
tail
43575 while grep . conftest.undefs
>/dev
/null
43577 # Write a limited-size here document to $tmp/undefs.sed.
43578 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43579 # Speed up: don't consider the non
`#undef'
43580 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43581 # Work around the forget-to-reset-the-flag bug.
43582 echo 't clr' >>$CONFIG_STATUS
43583 echo ': clr' >>$CONFIG_STATUS
43584 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43586 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43588 mv $tmp/out $tmp/in
43590 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43591 rm -f conftest.undefs
43592 mv conftest.tail conftest.undefs
43594 rm -f conftest.undefs
43596 cat >>$CONFIG_STATUS <<\_ACEOF
43597 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43598 # use $as_me), people would be surprised to read:
43599 # /* config.h. Generated by config.status. */
43600 if test x
"$ac_file" = x
-; then
43601 echo "/* Generated by configure. */" >$tmp/config.h
43603 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43605 cat $tmp/in >>$tmp/config.h
43607 if test x
"$ac_file" != x
-; then
43608 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43609 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43610 echo "$as_me: $ac_file is unchanged" >&6;}
43612 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43614 X"$ac_file" : 'X\(//\)[^/]' \| \
43615 X"$ac_file" : 'X\(//\)$' \| \
43616 X"$ac_file" : 'X\(/\)' \| \
43617 . : '\(.\)' 2>/dev/null ||
43619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43620 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43621 /^X\(\/\/\)$/{ s//\1/; q; }
43622 /^X\(\/\).*/{ s//\1/; q; }
43624 { if $as_mkdir_p; then
43629 while test ! -d "$as_dir"; do
43630 as_dirs
="$as_dir $as_dirs"
43631 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43633 X"$as_dir" : 'X\(//\)[^/]' \| \
43634 X"$as_dir" : 'X\(//\)$' \| \
43635 X"$as_dir" : 'X\(/\)' \| \
43636 . : '\(.\)' 2>/dev/null ||
43638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43640 /^X\(\/\/\)$/{ s//\1/; q; }
43641 /^X\(\/\).*/{ s//\1/; q; }
43644 test ! -n "$as_dirs" || mkdir $as_dirs
43645 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43646 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43647 { (exit 1); exit 1; }; }; }
43650 mv $tmp/config.h
$ac_file
43654 rm -f $tmp/config.h
43658 cat >>$CONFIG_STATUS <<\_ACEOF
43661 # CONFIG_COMMANDS section.
43663 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43664 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43665 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43666 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43667 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43668 X"$ac_dest" : 'X\(//\)[^/]' \| \
43669 X"$ac_dest" : 'X\(//\)$' \| \
43670 X"$ac_dest" : 'X\(/\)' \| \
43671 . : '\(.\)' 2>/dev/null ||
43673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43674 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43675 /^X\(\/\/\)$/{ s//\1/; q; }
43676 /^X\(\/\).*/{ s//\1/; q; }
43678 { if $as_mkdir_p; then
43683 while test ! -d "$as_dir"; do
43684 as_dirs
="$as_dir $as_dirs"
43685 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43686 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43687 X"$as_dir" : 'X\(//\)[^/]' \| \
43688 X"$as_dir" : 'X\(//\)$' \| \
43689 X"$as_dir" : 'X\(/\)' \| \
43690 . : '\(.\)' 2>/dev/null ||
43692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43693 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43694 /^X\(\/\/\)$/{ s//\1/; q; }
43695 /^X\(\/\).*/{ s//\1/; q; }
43698 test ! -n "$as_dirs" || mkdir $as_dirs
43699 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43700 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43701 { (exit 1); exit 1; }; }; }
43705 if test "$ac_dir" != .
; then
43706 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43707 # A "../" for each directory in $ac_dir_suffix.
43708 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43710 ac_dir_suffix
= ac_top_builddir
=
43714 .
) # No --srcdir option. We are building in place.
43716 if test -z "$ac_top_builddir"; then
43719 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43721 [\\/]* | ?
:[\\/]* ) # Absolute path.
43722 ac_srcdir
=$srcdir$ac_dir_suffix;
43723 ac_top_srcdir
=$srcdir ;;
43724 *) # Relative path.
43725 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43726 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43729 # Do not use `cd foo && pwd` to compute absolute paths, because
43730 # the directories may not exist.
43732 .
) ac_abs_builddir
="$ac_dir";;
43735 .
) ac_abs_builddir
=`pwd`;;
43736 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43737 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43740 case $ac_abs_builddir in
43741 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43743 case ${ac_top_builddir}.
in
43744 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43745 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43746 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43749 case $ac_abs_builddir in
43750 .
) ac_abs_srcdir
=$ac_srcdir;;
43753 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43754 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43755 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43758 case $ac_abs_builddir in
43759 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43761 case $ac_top_srcdir in
43762 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43763 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43764 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43769 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43770 echo "$as_me: executing $ac_dest commands" >&6;}
43772 wx
-config ) rm -f wx
-config
43773 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43779 cat >>$CONFIG_STATUS <<\_ACEOF
43781 { (exit 0); exit 0; }
43783 chmod +x
$CONFIG_STATUS
43784 ac_clean_files
=$ac_clean_files_save
43787 # configure is writing to config.log, and then calls config.status.
43788 # config.status does its own redirection, appending to config.log.
43789 # Unfortunately, on DOS this fails, as config.log is still kept open
43790 # by configure, so config.status won't be able to write to it; its
43791 # output is simply discarded. So we exec the FD to /dev/null,
43792 # effectively closing config.log, so it can be properly (re)opened and
43793 # appended to by config.status. When coming back to configure, we
43794 # need to make the FD available again.
43795 if test "$no_create" != yes; then
43797 ac_config_status_args
=
43798 test "$silent" = yes &&
43799 ac_config_status_args
="$ac_config_status_args --quiet"
43801 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43803 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43804 # would make configure fail if this is the last instruction.
43805 $ac_cs_success || { (exit 1); exit 1; }
43809 # CONFIG_SUBDIRS section.
43811 if test "$no_recursion" != yes; then
43813 # Remove --cache-file and --srcdir arguments so they do not pile up.
43814 ac_sub_configure_args
=
43816 for ac_arg
in $ac_configure_args; do
43817 if test -n "$ac_prev"; then
43822 -cache-file | --cache-file | --cache-fil | --cache-fi \
43823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43824 ac_prev
=cache_file
;;
43825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43829 --config-cache | -C)
43831 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43833 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43835 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43837 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43839 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43843 # Always prepend --prefix to ensure using the same prefix
43844 # in subdir configurations.
43845 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43848 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43850 # Do not complain, so a configure script can configure whichever
43851 # parts of a large source tree are present.
43852 test -d $srcdir/$ac_dir || continue
43854 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43855 echo "$as_me: configuring in $ac_dir" >&6;}
43856 { if $as_mkdir_p; then
43861 while test ! -d "$as_dir"; do
43862 as_dirs
="$as_dir $as_dirs"
43863 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43864 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43865 X"$as_dir" : 'X\(//\)[^/]' \| \
43866 X"$as_dir" : 'X\(//\)$' \| \
43867 X"$as_dir" : 'X\(/\)' \| \
43868 . : '\(.\)' 2>/dev/null ||
43870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43872 /^X\(\/\/\)$/{ s//\1/; q; }
43873 /^X\(\/\).*/{ s//\1/; q; }
43876 test ! -n "$as_dirs" || mkdir $as_dirs
43877 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43878 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43879 { (exit 1); exit 1; }; }; }
43883 if test "$ac_dir" != .
; then
43884 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43885 # A "../" for each directory in $ac_dir_suffix.
43886 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43888 ac_dir_suffix
= ac_top_builddir
=
43892 .
) # No --srcdir option. We are building in place.
43894 if test -z "$ac_top_builddir"; then
43897 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43899 [\\/]* | ?
:[\\/]* ) # Absolute path.
43900 ac_srcdir
=$srcdir$ac_dir_suffix;
43901 ac_top_srcdir
=$srcdir ;;
43902 *) # Relative path.
43903 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43904 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43907 # Do not use `cd foo && pwd` to compute absolute paths, because
43908 # the directories may not exist.
43910 .
) ac_abs_builddir
="$ac_dir";;
43913 .
) ac_abs_builddir
=`pwd`;;
43914 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43915 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43918 case $ac_abs_builddir in
43919 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43921 case ${ac_top_builddir}.
in
43922 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43923 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43924 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43927 case $ac_abs_builddir in
43928 .
) ac_abs_srcdir
=$ac_srcdir;;
43931 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43932 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43933 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43936 case $ac_abs_builddir in
43937 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43939 case $ac_top_srcdir in
43940 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43941 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43942 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43949 # Check for guested configure; otherwise get Cygnus style configure.
43950 if test -f $ac_srcdir/configure.gnu
; then
43951 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43952 elif test -f $ac_srcdir/configure
; then
43953 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43954 elif test -f $ac_srcdir/configure.
in; then
43955 ac_sub_configure
=$ac_configure
43957 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43962 # The recursion is here.
43963 if test -n "$ac_sub_configure"; then
43964 # Make the cache file name correct relative to the subdirectory.
43965 case $cache_file in
43966 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43967 *) # Relative path.
43968 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43971 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43972 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43973 # The eval makes quoting arguments work.
43974 eval $ac_sub_configure $ac_sub_configure_args \
43975 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43976 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43977 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43978 { (exit 1); exit 1; }; }
43987 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43989 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43990 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43992 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43993 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43994 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43996 echo " What level of wxWidgets compatibility should be enabled?"
43997 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43998 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44000 echo " Which libraries should wxWidgets use?"
44001 echo " jpeg ${wxUSE_LIBJPEG-none}"
44002 echo " png ${wxUSE_LIBPNG-none}"
44003 echo " regex ${wxUSE_REGEX}"
44004 echo " tiff ${wxUSE_LIBTIFF-none}"
44005 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44006 echo " xpm ${wxUSE_LIBXPM-none}"
44008 echo " zlib ${wxUSE_ZLIB}"
44009 echo " odbc ${wxUSE_ODBC}"
44010 echo " expat ${wxUSE_EXPAT}"
44011 echo " libmspack ${wxUSE_LIBMSPACK}"
44012 echo " sdl ${wxUSE_LIBSDL}"
44013 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"