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.3.
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.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
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 PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_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 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_MACOSX PLATFORM_OS2 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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_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_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_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_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_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 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 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.3 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.3:";;
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-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-xrc use XRC resources sub
-library
948 --enable-constraints use layout
-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-mdidoc use docview architecture with MDI
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
955 --enable-webkit use wxWebKitCtrl
(Mac
)
956 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
957 --enable-prologio not available
; see contrib
958 --enable-resources not available
; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag
'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
970 --enable-choice use wxChoice class
971 --enable-choicebook use wxChoicebook class
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick
(Linux only
)
1024 --enable-metafiles use wxMetaFile
(Windows only
)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images
(GIF
file format
)
1030 --enable-pcx use pcx images
(PCX
file format
)
1031 --enable-iff use iff images
(IFF
file format
)
1032 --enable-pnm use pnm images
(PNM
file format
)
1033 --enable-xpm use xpm images
(XPM
file format
)
1034 --enable-icocur use Windows ICO and CUR formats
1035 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1036 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1037 --disable-largefile omit support
for large files
1038 --disable-gtktest do not try to compile and run a
test GTK
+ program
1039 --disable-gtktest Do not try to compile and run a
test GTK program
1040 --disable-sdltest Do not try to compile and run a
test SDL program
1041 --enable-omf use OMF object format
(OS
/2)
1042 --disable-precomp-headers
1043 don
't use precompiled headers even if compiler can
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
1064 --with-opengl use OpenGL (or Mesa)
1065 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1066 --with-regex enable support for wxRegEx class
1067 --with-zlib use zlib for LZW compression
1068 --with-odbc use the IODBC and wxODBC classes
1069 --with-expat enable XML support using expat parser
1070 --with-flavour=NAME specify a name to identify this build
1071 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1072 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1073 --with-x use the X Window System
1074 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1075 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1076 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1077 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1078 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1080 Some influential environment variables:
1081 CC C compiler command
1082 CFLAGS C compiler flags
1083 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1084 nonstandard directory <lib dir>
1085 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1086 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CXXCPP C++ preprocessor
1092 Use these variables to override the choices made by `configure' or to
help
1093 it to
find libraries and programs with nonstandard names
/locations.
1095 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1102 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1103 test -d $ac_dir || continue
1106 if test "$ac_dir" != .
; then
1107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111 ac_dir_suffix
= ac_top_builddir
=
1115 .
) # No --srcdir option. We are building in place.
1117 if test -z "$ac_top_builddir"; then
1120 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1122 [\\/]* | ?
:[\\/]* ) # Absolute path.
1123 ac_srcdir
=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir
=$srcdir ;;
1126 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1133 .
) ac_abs_builddir
="$ac_dir";;
1136 .
) ac_abs_builddir
=`pwd`;;
1137 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1138 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1141 case $ac_abs_builddir in
1142 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1144 case ${ac_top_builddir}.
in
1145 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1147 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_srcdir
=$ac_srcdir;;
1154 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1156 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu
; then
1173 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1174 elif test -f $ac_srcdir/configure
; then
1176 $SHELL $ac_srcdir/configure
--help=recursive
1177 elif test -f $ac_srcdir/configure.ac
||
1178 test -f $ac_srcdir/configure.
in; then
1180 $ac_configure --help
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1191 wxWidgets configure
2.5.3
1192 generated by GNU Autoconf
2.59
1194 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1195 This configure
script is free software
; the Free Software Foundation
1196 gives unlimited permission to copy
, distribute and modify it.
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by wxWidgets $as_me 2.5.3, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1240 test -z "$as_dir" && as_dir
=.
1241 echo "PATH: $as_dir"
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_must_keep_next
=false
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true
; then
1283 ac_must_keep_next
=false
# Got value, back to normal.
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1294 -* ) ac_must_keep_next
=true
;;
1297 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1304 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1305 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1323 # The following way of writing the cache mishandles newlines in values,
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1353 if test -n "$ac_subst_files"; then
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1368 if test -s confdefs.h; then
1375 sed "/^$/d" confdefs.h | sort
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1386 for ac_signal
in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest
* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h
<<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE
; then
1427 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1429 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file
in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1448 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1449 *) . .
/$cache_file;;
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1458 # Check that the precious variables saved in the cache have kept the same
1460 ac_cache_corrupted
=false
1461 for ac_var
in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1464 eval ac_new_set
=\
$ac_env_${ac_var}_set
1465 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val
="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted
=: ;;
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted
=: ;;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted
=:
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg
=$ac_var=$ac_new_val ;;
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1510 ac_cpp
='$CPP $CPPFLAGS'
1511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1545 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1546 if test -f $ac_dir/install-sh; then
1548 ac_install_sh
="$ac_aux_dir/install-sh -c"
1550 elif test -f $ac_dir/install.sh
; then
1552 ac_install_sh
="$ac_aux_dir/install.sh -c"
1554 elif test -f $ac_dir/shtool
; then
1556 ac_install_sh
="$ac_aux_dir/shtool install -c"
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1565 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_build_alias
=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias
=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1596 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 ac_cv_host_alias
=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias
=$ac_cv_build_alias
1609 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1618 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 echo "$as_me:$LINENO: checking target system type" >&5
1624 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1625 if test "${ac_cv_target+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_target_alias
=$target_alias
1629 test "x$ac_cv_target_alias" = "x" &&
1630 ac_cv_target_alias
=$ac_cv_host_alias
1631 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1638 echo "${ECHO_T}$ac_cv_target" >&6
1639 target
=$ac_cv_target
1640 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645 # The aliases save the names the user supplied, while $host etc.
1646 # will get canonicalized.
1647 test -n "$target_alias" &&
1648 test "$program_prefix$program_suffix$program_transform_name" = \
1650 program_prefix
=${target_alias}-
1654 wx_major_version_number
=2
1655 wx_minor_version_number
=5
1657 wx_subrelease_number
=1
1659 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1660 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1661 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1663 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1679 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1685 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1691 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1693 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1695 DEFAULT_wxUSE_COCOA
=0
1699 DEFAULT_wxUSE_MICROWIN
=0
1700 DEFAULT_wxUSE_MOTIF
=0
1705 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_DEFAULT_wxUSE_GTK
=0
1707 DEFAULT_DEFAULT_wxUSE_MAC
=0
1708 DEFAULT_DEFAULT_wxUSE_MGL
=0
1709 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1710 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1711 DEFAULT_DEFAULT_wxUSE_MSW
=0
1712 DEFAULT_DEFAULT_wxUSE_PM
=0
1713 DEFAULT_DEFAULT_wxUSE_X11
=0
1718 SAMPLES_RPATH_POSTLINK
=
1723 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1724 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1726 cat >>confdefs.h
<<\_ACEOF
1733 cat >>confdefs.h
<<\_ACEOF
1738 if test "x$TMP" = "xalpha"; then
1740 cat >>confdefs.h
<<\_ACEOF
1745 DEFAULT_DEFAULT_wxUSE_GTK
=1
1747 *-*-gnu* | *-*-k*bsd
*-gnu )
1750 if test "x$TMP" = "xalpha"; then
1752 cat >>confdefs.h
<<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_GTK
=1
1759 *-*-irix5* | *-*-irix6* )
1762 cat >>confdefs.h
<<\_ACEOF
1766 cat >>confdefs.h
<<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1776 cat >>confdefs.h
<<\_ACEOF
1780 cat >>confdefs.h
<<\_ACEOF
1781 #define __SOLARIS__ 1
1784 cat >>confdefs.h
<<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1789 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1795 cat >>confdefs.h
<<\_ACEOF
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1807 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1812 cat >>confdefs.h
<<\_ACEOF
1813 #define __FREEBSD__ 1
1816 cat >>confdefs.h
<<\_ACEOF
1820 DEFAULT_DEFAULT_wxUSE_GTK
=1
1825 cat >>confdefs.h
<<\_ACEOF
1826 #define __OPENBSD__ 1
1829 cat >>confdefs.h
<<\_ACEOF
1833 DEFAULT_DEFAULT_wxUSE_GTK
=1
1838 cat >>confdefs.h
<<\_ACEOF
1839 #define __NETBSD__ 1
1842 cat >>confdefs.h
<<\_ACEOF
1846 DEFAULT_DEFAULT_wxUSE_GTK
=1
1851 cat >>confdefs.h
<<\_ACEOF
1855 cat >>confdefs.h
<<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1860 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1865 cat >>confdefs.h
<<\_ACEOF
1869 cat >>confdefs.h
<<\_ACEOF
1873 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1878 cat >>confdefs.h
<<\_ACEOF
1882 cat >>confdefs.h
<<\_ACEOF
1886 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1893 cat >>confdefs.h
<<\_ACEOF
1897 cat >>confdefs.h
<<\_ACEOF
1901 cat >>confdefs.h
<<\_ACEOF
1905 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1913 #define __UNIXWARE__ 1
1918 *-*-cygwin* | *-*-mingw32* )
1922 DEFAULT_DEFAULT_wxUSE_MSW
=1
1928 cat >>confdefs.h
<<\_ACEOF
1933 DEFAULT_DEFAULT_wxUSE_MGL
=1
1934 LIBS
="$LIBS -lstdc++"
1937 *-pc-os2_emx | *-pc-os2-emx )
1938 cat >>confdefs.h
<<\_ACEOF
1943 cat >>confdefs.h
<<\_ACEOF
1948 DEFAULT_DEFAULT_wxUSE_PM
=1
1950 LDFLAGS
="$LDFLAGS -Zcrtdll"
1951 ac_executable_extensions
=".exe"
1952 export ac_executable_extensions
1956 for ac_dir
in $PATH; do
1958 if test -z "$ac_TEMP_PATH"; then
1959 ac_TEMP_PATH
="$ac_dir"
1961 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1964 export PATH
="$ac_TEMP_PATH"
1972 cat >>confdefs.h
<<\_ACEOF
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define __DARWIN__ 1
1980 cat >>confdefs.h
<<\_ACEOF
1981 #define __POWERPC__ 1
1984 cat >>confdefs.h
<<\_ACEOF
1985 #define TARGET_CARBON 1
1988 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 cat >>confdefs.h
<<\_ACEOF
2000 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2001 echo "$as_me: error: unknown system type ${host}." >&2;}
2002 { (exit 1); exit 1; }; }
2008 wx_arg_cache_file
="configarg.cache"
2009 echo "loading argument cache $wx_arg_cache_file"
2010 rm -f ${wx_arg_cache_file}.tmp
2011 touch ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}
2016 if test $DEBUG_CONFIGURE = 1; then
2017 DEFAULT_wxUSE_UNIVERSAL
=no
2018 DEFAULT_wxUSE_STL
=no
2020 DEFAULT_wxUSE_NANOX
=no
2022 DEFAULT_wxUSE_THREADS
=yes
2024 DEFAULT_wxUSE_SHARED
=yes
2025 DEFAULT_wxUSE_OPTIMISE
=no
2026 DEFAULT_wxUSE_PROFILE
=no
2027 DEFAULT_wxUSE_NO_DEPS
=no
2028 DEFAULT_wxUSE_NO_RTTI
=no
2029 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2030 DEFAULT_wxUSE_RPATH
=yes
2031 DEFAULT_wxUSE_PERMISSIVE
=no
2032 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2033 DEFAULT_wxUSE_DEBUG_INFO
=yes
2034 DEFAULT_wxUSE_DEBUG_GDB
=yes
2035 DEFAULT_wxUSE_MEM_TRACING
=no
2036 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2037 DEFAULT_wxUSE_DMALLOC
=no
2038 DEFAULT_wxUSE_APPLE_IEEE
=no
2040 DEFAULT_wxUSE_EXCEPTIONS
=no
2041 DEFAULT_wxUSE_LOG
=yes
2042 DEFAULT_wxUSE_LOGWINDOW
=no
2043 DEFAULT_wxUSE_LOGGUI
=no
2044 DEFAULT_wxUSE_LOGDIALOG
=no
2046 DEFAULT_wxUSE_GUI
=yes
2047 DEFAULT_wxUSE_CONTROLS
=no
2049 DEFAULT_wxUSE_REGEX
=no
2050 DEFAULT_wxUSE_XML
=no
2051 DEFAULT_wxUSE_EXPAT
=no
2052 DEFAULT_wxUSE_ZLIB
=no
2053 DEFAULT_wxUSE_LIBPNG
=no
2054 DEFAULT_wxUSE_LIBJPEG
=no
2055 DEFAULT_wxUSE_LIBTIFF
=no
2056 DEFAULT_wxUSE_LIBXPM
=no
2057 DEFAULT_wxUSE_LIBMSPACK
=no
2058 DEFAULT_wxUSE_LIBSDL
=no
2059 DEFAULT_wxUSE_ODBC
=no
2060 DEFAULT_wxUSE_OPENGL
=no
2062 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2063 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2064 DEFAULT_wxUSE_STD_IOSTREAM
=no
2065 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2066 DEFAULT_wxUSE_DATETIME
=no
2067 DEFAULT_wxUSE_TIMER
=no
2068 DEFAULT_wxUSE_STOPWATCH
=no
2069 DEFAULT_wxUSE_FILE
=no
2070 DEFAULT_wxUSE_FFILE
=no
2071 DEFAULT_wxUSE_TEXTBUFFER
=no
2072 DEFAULT_wxUSE_TEXTFILE
=no
2073 DEFAULT_wxUSE_SOUND
=no
2074 DEFAULT_wxUSE_INTL
=no
2075 DEFAULT_wxUSE_CONFIG
=no
2076 DEFAULT_wxUSE_FONTMAP
=no
2077 DEFAULT_wxUSE_STREAMS
=no
2078 DEFAULT_wxUSE_SOCKETS
=no
2079 DEFAULT_wxUSE_OLE
=no
2080 DEFAULT_wxUSE_DATAOBJ
=no
2081 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2082 DEFAULT_wxUSE_JOYSTICK
=no
2083 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2084 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2085 DEFAULT_wxUSE_LONGLONG
=no
2086 DEFAULT_wxUSE_GEOMETRY
=no
2088 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2089 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2090 DEFAULT_wxUSE_POSTSCRIPT
=no
2092 DEFAULT_wxUSE_CLIPBOARD
=no
2093 DEFAULT_wxUSE_TOOLTIPS
=no
2094 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2095 DEFAULT_wxUSE_DRAGIMAGE
=no
2096 DEFAULT_wxUSE_SPLINES
=no
2098 DEFAULT_wxUSE_MDI
=no
2099 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2100 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2101 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2103 DEFAULT_wxUSE_RESOURCES
=no
2104 DEFAULT_wxUSE_CONSTRAINTS
=no
2105 DEFAULT_wxUSE_IPC
=no
2106 DEFAULT_wxUSE_HELP
=no
2107 DEFAULT_wxUSE_MS_HTML_HELP
=no
2108 DEFAULT_wxUSE_WXHTML_HELP
=no
2109 DEFAULT_wxUSE_TREELAYOUT
=no
2110 DEFAULT_wxUSE_METAFILE
=no
2111 DEFAULT_wxUSE_MIMETYPE
=no
2112 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2113 DEFAULT_wxUSE_PROTOCOL
=no
2114 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2115 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2116 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2117 DEFAULT_wxUSE_URL
=no
2119 DEFAULT_wxUSE_COMMONDLGS
=no
2120 DEFAULT_wxUSE_CHOICEDLG
=no
2121 DEFAULT_wxUSE_COLOURDLG
=no
2122 DEFAULT_wxUSE_DIRDLG
=no
2123 DEFAULT_wxUSE_FILEDLG
=no
2124 DEFAULT_wxUSE_FINDREPLDLG
=no
2125 DEFAULT_wxUSE_FONTDLG
=no
2126 DEFAULT_wxUSE_MSGDLG
=no
2127 DEFAULT_wxUSE_NUMBERDLG
=no
2128 DEFAULT_wxUSE_TEXTDLG
=no
2129 DEFAULT_wxUSE_SPLASH
=no
2130 DEFAULT_wxUSE_STARTUP_TIPS
=no
2131 DEFAULT_wxUSE_PROGRESSDLG
=no
2132 DEFAULT_wxUSE_WIZARDDLG
=no
2134 DEFAULT_wxUSE_MENUS
=no
2135 DEFAULT_wxUSE_MINIFRAME
=no
2136 DEFAULT_wxUSE_HTML
=no
2137 DEFAULT_wxUSE_XRC
=no
2138 DEFAULT_wxUSE_WEBKIT
=no
2139 DEFAULT_wxUSE_FILESYSTEM
=no
2140 DEFAULT_wxUSE_FS_INET
=no
2141 DEFAULT_wxUSE_FS_ZIP
=no
2142 DEFAULT_wxUSE_BUSYINFO
=no
2143 DEFAULT_wxUSE_ZIPSTREAM
=no
2144 DEFAULT_wxUSE_VALIDATORS
=no
2146 DEFAULT_wxUSE_ACCEL
=no
2147 DEFAULT_wxUSE_BUTTON
=no
2148 DEFAULT_wxUSE_BMPBUTTON
=no
2149 DEFAULT_wxUSE_CALCTRL
=no
2150 DEFAULT_wxUSE_CARET
=no
2151 DEFAULT_wxUSE_CHECKBOX
=no
2152 DEFAULT_wxUSE_CHECKLST
=no
2153 DEFAULT_wxUSE_CHOICE
=no
2154 DEFAULT_wxUSE_CHOICEBOOK
=no
2155 DEFAULT_wxUSE_COMBOBOX
=no
2156 DEFAULT_wxUSE_DISPLAY
=no
2157 DEFAULT_wxUSE_GAUGE
=no
2158 DEFAULT_wxUSE_GRID
=no
2159 DEFAULT_wxUSE_IMAGLIST
=no
2160 DEFAULT_wxUSE_LISTBOOK
=no
2161 DEFAULT_wxUSE_LISTBOX
=no
2162 DEFAULT_wxUSE_LISTCTRL
=no
2163 DEFAULT_wxUSE_NOTEBOOK
=no
2164 DEFAULT_wxUSE_RADIOBOX
=no
2165 DEFAULT_wxUSE_RADIOBTN
=no
2166 DEFAULT_wxUSE_SASH
=no
2167 DEFAULT_wxUSE_SCROLLBAR
=no
2168 DEFAULT_wxUSE_SLIDER
=no
2169 DEFAULT_wxUSE_SPINBTN
=no
2170 DEFAULT_wxUSE_SPINCTRL
=no
2171 DEFAULT_wxUSE_SPLITTER
=no
2172 DEFAULT_wxUSE_STATBMP
=no
2173 DEFAULT_wxUSE_STATBOX
=no
2174 DEFAULT_wxUSE_STATLINE
=no
2175 DEFAULT_wxUSE_STATTEXT
=no
2176 DEFAULT_wxUSE_STATUSBAR
=yes
2177 DEFAULT_wxUSE_TABDIALOG
=no
2178 DEFAULT_wxUSE_TEXTCTRL
=no
2179 DEFAULT_wxUSE_TOGGLEBTN
=no
2180 DEFAULT_wxUSE_TOOLBAR
=no
2181 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2182 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2183 DEFAULT_wxUSE_TREECTRL
=no
2184 DEFAULT_wxUSE_POPUPWIN
=no
2185 DEFAULT_wxUSE_TIPWINDOW
=no
2187 DEFAULT_wxUSE_UNICODE
=no
2188 DEFAULT_wxUSE_UNICODE_MSLU
=no
2189 DEFAULT_wxUSE_WCSRTOMBS
=no
2191 DEFAULT_wxUSE_PALETTE
=no
2192 DEFAULT_wxUSE_IMAGE
=no
2193 DEFAULT_wxUSE_GIF
=no
2194 DEFAULT_wxUSE_PCX
=no
2195 DEFAULT_wxUSE_PNM
=no
2196 DEFAULT_wxUSE_IFF
=no
2197 DEFAULT_wxUSE_XPM
=no
2198 DEFAULT_wxUSE_ICO_CUR
=no
2199 DEFAULT_wxUSE_ACCESSIBILITY
=no
2201 DEFAULT_wxUSE_MONOLITHIC
=no
2202 DEFAULT_wxUSE_PLUGINS
=no
2203 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2205 DEFAULT_wxUSE_UNIVERSAL
=no
2206 DEFAULT_wxUSE_STL
=no
2208 DEFAULT_wxUSE_NANOX
=no
2210 DEFAULT_wxUSE_THREADS
=yes
2212 DEFAULT_wxUSE_SHARED
=yes
2213 DEFAULT_wxUSE_OPTIMISE
=yes
2214 DEFAULT_wxUSE_PROFILE
=no
2215 DEFAULT_wxUSE_NO_DEPS
=no
2216 DEFAULT_wxUSE_NO_RTTI
=no
2217 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2218 DEFAULT_wxUSE_RPATH
=yes
2219 DEFAULT_wxUSE_PERMISSIVE
=no
2220 DEFAULT_wxUSE_DEBUG_FLAG
=no
2221 DEFAULT_wxUSE_DEBUG_INFO
=no
2222 DEFAULT_wxUSE_DEBUG_GDB
=no
2223 DEFAULT_wxUSE_MEM_TRACING
=no
2224 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2225 DEFAULT_wxUSE_DMALLOC
=no
2226 DEFAULT_wxUSE_APPLE_IEEE
=yes
2228 DEFAULT_wxUSE_EXCEPTIONS
=yes
2229 DEFAULT_wxUSE_LOG
=yes
2230 DEFAULT_wxUSE_LOGWINDOW
=yes
2231 DEFAULT_wxUSE_LOGGUI
=yes
2232 DEFAULT_wxUSE_LOGDIALOG
=yes
2234 DEFAULT_wxUSE_GUI
=yes
2236 DEFAULT_wxUSE_REGEX
=yes
2237 DEFAULT_wxUSE_XML
=yes
2238 DEFAULT_wxUSE_EXPAT
=yes
2239 DEFAULT_wxUSE_ZLIB
=yes
2240 DEFAULT_wxUSE_LIBPNG
=yes
2241 DEFAULT_wxUSE_LIBJPEG
=yes
2242 DEFAULT_wxUSE_LIBTIFF
=yes
2243 DEFAULT_wxUSE_LIBXPM
=yes
2244 DEFAULT_wxUSE_LIBMSPACK
=yes
2245 DEFAULT_wxUSE_LIBSDL
=no
2246 DEFAULT_wxUSE_ODBC
=no
2247 DEFAULT_wxUSE_OPENGL
=no
2249 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2250 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2251 DEFAULT_wxUSE_STD_IOSTREAM
=no
2252 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2253 DEFAULT_wxUSE_DATETIME
=yes
2254 DEFAULT_wxUSE_TIMER
=yes
2255 DEFAULT_wxUSE_STOPWATCH
=yes
2256 DEFAULT_wxUSE_FILE
=yes
2257 DEFAULT_wxUSE_FFILE
=yes
2258 DEFAULT_wxUSE_TEXTBUFFER
=yes
2259 DEFAULT_wxUSE_TEXTFILE
=yes
2260 DEFAULT_wxUSE_SOUND
=yes
2261 DEFAULT_wxUSE_INTL
=yes
2262 DEFAULT_wxUSE_CONFIG
=yes
2263 DEFAULT_wxUSE_FONTMAP
=yes
2264 DEFAULT_wxUSE_STREAMS
=yes
2265 DEFAULT_wxUSE_SOCKETS
=yes
2266 DEFAULT_wxUSE_OLE
=yes
2267 DEFAULT_wxUSE_DATAOBJ
=yes
2268 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2269 DEFAULT_wxUSE_JOYSTICK
=yes
2270 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2271 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2272 DEFAULT_wxUSE_LONGLONG
=yes
2273 DEFAULT_wxUSE_GEOMETRY
=yes
2275 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2276 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2277 DEFAULT_wxUSE_POSTSCRIPT
=yes
2279 DEFAULT_wxUSE_CLIPBOARD
=yes
2280 DEFAULT_wxUSE_TOOLTIPS
=yes
2281 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2282 DEFAULT_wxUSE_DRAGIMAGE
=yes
2283 DEFAULT_wxUSE_SPLINES
=yes
2285 DEFAULT_wxUSE_MDI
=yes
2286 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2287 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2288 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2290 DEFAULT_wxUSE_RESOURCES
=no
2291 DEFAULT_wxUSE_CONSTRAINTS
=yes
2292 DEFAULT_wxUSE_IPC
=yes
2293 DEFAULT_wxUSE_HELP
=yes
2294 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2295 DEFAULT_wxUSE_WXHTML_HELP
=yes
2296 DEFAULT_wxUSE_TREELAYOUT
=yes
2297 DEFAULT_wxUSE_METAFILE
=yes
2298 DEFAULT_wxUSE_MIMETYPE
=yes
2299 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2300 DEFAULT_wxUSE_PROTOCOL
=yes
2301 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2302 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2303 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2304 DEFAULT_wxUSE_URL
=yes
2306 DEFAULT_wxUSE_COMMONDLGS
=yes
2307 DEFAULT_wxUSE_CHOICEDLG
=yes
2308 DEFAULT_wxUSE_COLOURDLG
=yes
2309 DEFAULT_wxUSE_DIRDLG
=yes
2310 DEFAULT_wxUSE_FILEDLG
=yes
2311 DEFAULT_wxUSE_FINDREPLDLG
=yes
2312 DEFAULT_wxUSE_FONTDLG
=yes
2313 DEFAULT_wxUSE_MSGDLG
=yes
2314 DEFAULT_wxUSE_NUMBERDLG
=yes
2315 DEFAULT_wxUSE_TEXTDLG
=yes
2316 DEFAULT_wxUSE_SPLASH
=yes
2317 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2318 DEFAULT_wxUSE_PROGRESSDLG
=yes
2319 DEFAULT_wxUSE_WIZARDDLG
=yes
2321 DEFAULT_wxUSE_MENUS
=yes
2322 DEFAULT_wxUSE_MINIFRAME
=yes
2323 DEFAULT_wxUSE_HTML
=yes
2324 DEFAULT_wxUSE_XRC
=yes
2325 DEFAULT_wxUSE_WEBKIT
=yes
2326 DEFAULT_wxUSE_FILESYSTEM
=yes
2327 DEFAULT_wxUSE_FS_INET
=yes
2328 DEFAULT_wxUSE_FS_ZIP
=yes
2329 DEFAULT_wxUSE_BUSYINFO
=yes
2330 DEFAULT_wxUSE_ZIPSTREAM
=yes
2331 DEFAULT_wxUSE_VALIDATORS
=yes
2333 DEFAULT_wxUSE_ACCEL
=yes
2334 DEFAULT_wxUSE_BUTTON
=yes
2335 DEFAULT_wxUSE_BMPBUTTON
=yes
2336 DEFAULT_wxUSE_CALCTRL
=yes
2337 DEFAULT_wxUSE_CARET
=yes
2338 DEFAULT_wxUSE_CHECKBOX
=yes
2339 DEFAULT_wxUSE_CHECKLST
=yes
2340 DEFAULT_wxUSE_CHOICE
=yes
2341 DEFAULT_wxUSE_CHOICEBOOK
=yes
2342 DEFAULT_wxUSE_COMBOBOX
=yes
2343 DEFAULT_wxUSE_DISPLAY
=yes
2344 DEFAULT_wxUSE_GAUGE
=yes
2345 DEFAULT_wxUSE_GRID
=yes
2346 DEFAULT_wxUSE_IMAGLIST
=yes
2347 DEFAULT_wxUSE_LISTBOOK
=yes
2348 DEFAULT_wxUSE_LISTBOX
=yes
2349 DEFAULT_wxUSE_LISTCTRL
=yes
2350 DEFAULT_wxUSE_NOTEBOOK
=yes
2351 DEFAULT_wxUSE_RADIOBOX
=yes
2352 DEFAULT_wxUSE_RADIOBTN
=yes
2353 DEFAULT_wxUSE_SASH
=yes
2354 DEFAULT_wxUSE_SCROLLBAR
=yes
2355 DEFAULT_wxUSE_SLIDER
=yes
2356 DEFAULT_wxUSE_SPINBTN
=yes
2357 DEFAULT_wxUSE_SPINCTRL
=yes
2358 DEFAULT_wxUSE_SPLITTER
=yes
2359 DEFAULT_wxUSE_STATBMP
=yes
2360 DEFAULT_wxUSE_STATBOX
=yes
2361 DEFAULT_wxUSE_STATLINE
=yes
2362 DEFAULT_wxUSE_STATTEXT
=yes
2363 DEFAULT_wxUSE_STATUSBAR
=yes
2364 DEFAULT_wxUSE_TABDIALOG
=no
2365 DEFAULT_wxUSE_TEXTCTRL
=yes
2366 DEFAULT_wxUSE_TOGGLEBTN
=yes
2367 DEFAULT_wxUSE_TOOLBAR
=yes
2368 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2369 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2370 DEFAULT_wxUSE_TREECTRL
=yes
2371 DEFAULT_wxUSE_POPUPWIN
=yes
2372 DEFAULT_wxUSE_TIPWINDOW
=yes
2374 DEFAULT_wxUSE_UNICODE
=no
2375 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2376 DEFAULT_wxUSE_WCSRTOMBS
=no
2378 DEFAULT_wxUSE_PALETTE
=yes
2379 DEFAULT_wxUSE_IMAGE
=yes
2380 DEFAULT_wxUSE_GIF
=yes
2381 DEFAULT_wxUSE_PCX
=yes
2382 DEFAULT_wxUSE_IFF
=no
2383 DEFAULT_wxUSE_PNM
=yes
2384 DEFAULT_wxUSE_XPM
=yes
2385 DEFAULT_wxUSE_ICO_CUR
=yes
2386 DEFAULT_wxUSE_ACCESSIBILITY
=no
2388 DEFAULT_wxUSE_MONOLITHIC
=no
2389 DEFAULT_wxUSE_PLUGINS
=no
2390 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2392 DEFAULT_wxUSE_GTK2
=yes
2397 for toolkit
in `echo $ALL_TOOLKITS`; do
2398 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2399 if test "x$LINE" != "x" ; then
2400 has_toolkit_in_cache
=1
2401 eval "DEFAULT_$LINE"
2402 eval "CACHE_$toolkit=1"
2409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2410 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2412 # Check whether --enable-gui or --disable-gui was given.
2413 if test "${enable_gui+set}" = set; then
2414 enableval
="$enable_gui"
2416 if test "$enableval" = yes; then
2417 ac_cv_use_gui
='wxUSE_GUI=yes'
2419 ac_cv_use_gui
='wxUSE_GUI=no'
2424 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2425 if test "x$LINE" != x
; then
2426 eval "DEFAULT_$LINE"
2431 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2435 eval "$ac_cv_use_gui"
2436 if test "$no_cache" != 1; then
2437 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2440 if test "$wxUSE_GUI" = yes; then
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6
2450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2451 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2453 # Check whether --enable-monolithic or --disable-monolithic was given.
2454 if test "${enable_monolithic+set}" = set; then
2455 enableval
="$enable_monolithic"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2460 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2465 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2476 eval "$ac_cv_use_monolithic"
2477 if test "$no_cache" != 1; then
2478 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2481 if test "$wxUSE_MONOLITHIC" = yes; then
2482 echo "$as_me:$LINENO: result: yes" >&5
2483 echo "${ECHO_T}yes" >&6
2485 echo "$as_me:$LINENO: result: no" >&5
2486 echo "${ECHO_T}no" >&6
2491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2492 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2494 # Check whether --enable-plugins or --disable-plugins was given.
2495 if test "${enable_plugins+set}" = set; then
2496 enableval
="$enable_plugins"
2498 if test "$enableval" = yes; then
2499 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2501 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2506 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x
; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2517 eval "$ac_cv_use_plugins"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2522 if test "$wxUSE_PLUGINS" = yes; then
2523 echo "$as_me:$LINENO: result: yes" >&5
2524 echo "${ECHO_T}yes" >&6
2526 echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6
2531 if test "$wxUSE_GUI" = "yes"; then
2535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2536 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2538 # Check whether --enable-universal or --disable-universal was given.
2539 if test "${enable_universal+set}" = set; then
2540 enableval
="$enable_universal"
2542 if test "$enableval" = yes; then
2543 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2545 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2550 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2551 if test "x$LINE" != x
; then
2552 eval "DEFAULT_$LINE"
2557 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2561 eval "$ac_cv_use_universal"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2566 if test "$wxUSE_UNIVERSAL" = yes; then
2567 echo "$as_me:$LINENO: result: yes" >&5
2568 echo "${ECHO_T}yes" >&6
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2575 # Check whether --with-gtk or --without-gtk was given.
2576 if test "${with_gtk+set}" = set; then
2578 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2581 # Check whether --with-motif or --without-motif was given.
2582 if test "${with_motif+set}" = set; then
2583 withval
="$with_motif"
2584 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2587 # Check whether --with-mac or --without-mac was given.
2588 if test "${with_mac+set}" = set; then
2590 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2593 # Check whether --with-cocoa or --without-cocoa was given.
2594 if test "${with_cocoa+set}" = set; then
2595 withval
="$with_cocoa"
2596 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2599 # Check whether --with-wine or --without-wine was given.
2600 if test "${with_wine+set}" = set; then
2601 withval
="$with_wine"
2602 wxUSE_WINE
="$withval" CACHE_WINE
=1
2605 # Check whether --with-msw or --without-msw was given.
2606 if test "${with_msw+set}" = set; then
2608 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2611 # Check whether --with-pm or --without-pm was given.
2612 if test "${with_pm+set}" = set; then
2614 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2617 # Check whether --with-mgl or --without-mgl was given.
2618 if test "${with_mgl+set}" = set; then
2620 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2623 # Check whether --with-microwin or --without-microwin was given.
2624 if test "${with_microwin+set}" = set; then
2625 withval
="$with_microwin"
2626 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2629 # Check whether --with-x11 or --without-x11 was given.
2630 if test "${with_x11+set}" = set; then
2632 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2637 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2639 # Check whether --enable-nanox or --disable-nanox was given.
2640 if test "${enable_nanox+set}" = set; then
2641 enableval
="$enable_nanox"
2643 if test "$enableval" = yes; then
2644 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2646 ac_cv_use_nanox
='wxUSE_NANOX=no'
2651 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2652 if test "x$LINE" != x
; then
2653 eval "DEFAULT_$LINE"
2658 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2662 eval "$ac_cv_use_nanox"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2667 if test "$wxUSE_NANOX" = yes; then
2668 echo "$as_me:$LINENO: result: yes" >&5
2669 echo "${ECHO_T}yes" >&6
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2679 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2681 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2682 if test "${enable_gtk2+set}" = set; then
2683 enableval
="$enable_gtk2"
2685 if test "$enableval" = yes; then
2686 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2688 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2693 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x
; then
2695 eval "DEFAULT_$LINE"
2700 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2704 eval "$ac_cv_use_gtk2"
2705 if test "$no_cache" != 1; then
2706 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2709 if test "$wxUSE_GTK2" = yes; then
2710 echo "$as_me:$LINENO: result: yes" >&5
2711 echo "${ECHO_T}yes" >&6
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2720 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2722 # Check whether --enable-gpe or --disable-gpe was given.
2723 if test "${enable_gpe+set}" = set; then
2724 enableval
="$enable_gpe"
2726 if test "$enableval" = yes; then
2727 ac_cv_use_gpe
='wxUSE_GPE=yes'
2729 ac_cv_use_gpe
='wxUSE_GPE=no'
2734 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x
; then
2736 eval "DEFAULT_$LINE"
2741 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2745 eval "$ac_cv_use_gpe"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2750 if test "$wxUSE_GPE" = yes; then
2751 echo "$as_me:$LINENO: result: yes" >&5
2752 echo "${ECHO_T}yes" >&6
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2760 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2761 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2764 # Check whether --with-libpng or --without-libpng was given.
2765 if test "${with_libpng+set}" = set; then
2766 withval
="$with_libpng"
2768 if test "$withval" = yes; then
2769 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2770 elif test "$withval" = no
; then
2771 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2772 elif test "$withval" = sys
; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2774 elif test "$withval" = builtin; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2778 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2779 { (exit 1); exit 1; }; }
2784 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x
; then
2786 eval "DEFAULT_$LINE"
2791 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2795 eval "$ac_cv_use_libpng"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2800 if test "$wxUSE_LIBPNG" = yes; then
2801 echo "$as_me:$LINENO: result: yes" >&5
2802 echo "${ECHO_T}yes" >&6
2803 elif test "$wxUSE_LIBPNG" = no
; then
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 elif test "$wxUSE_LIBPNG" = sys
; then
2807 echo "$as_me:$LINENO: result: system version" >&5
2808 echo "${ECHO_T}system version" >&6
2809 elif test "$wxUSE_LIBPNG" = builtin; then
2810 echo "$as_me:$LINENO: result: builtin version" >&5
2811 echo "${ECHO_T}builtin version" >&6
2813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2814 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2815 { (exit 1); exit 1; }; }
2819 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2820 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2823 # Check whether --with-libjpeg or --without-libjpeg was given.
2824 if test "${with_libjpeg+set}" = set; then
2825 withval
="$with_libjpeg"
2827 if test "$withval" = yes; then
2828 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2829 elif test "$withval" = no
; then
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2831 elif test "$withval" = sys
; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2833 elif test "$withval" = builtin; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2843 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x
; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2854 eval "$ac_cv_use_libjpeg"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2859 if test "$wxUSE_LIBJPEG" = yes; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2862 elif test "$wxUSE_LIBJPEG" = no
; then
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 elif test "$wxUSE_LIBJPEG" = sys
; then
2866 echo "$as_me:$LINENO: result: system version" >&5
2867 echo "${ECHO_T}system version" >&6
2868 elif test "$wxUSE_LIBJPEG" = builtin; then
2869 echo "$as_me:$LINENO: result: builtin version" >&5
2870 echo "${ECHO_T}builtin version" >&6
2872 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2873 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2874 { (exit 1); exit 1; }; }
2878 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2879 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2882 # Check whether --with-libtiff or --without-libtiff was given.
2883 if test "${with_libtiff+set}" = set; then
2884 withval
="$with_libtiff"
2886 if test "$withval" = yes; then
2887 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2888 elif test "$withval" = no
; then
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2890 elif test "$withval" = sys
; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2892 elif test "$withval" = builtin; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2902 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2913 eval "$ac_cv_use_libtiff"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2918 if test "$wxUSE_LIBTIFF" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 elif test "$wxUSE_LIBTIFF" = no
; then
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 elif test "$wxUSE_LIBTIFF" = sys
; then
2925 echo "$as_me:$LINENO: result: system version" >&5
2926 echo "${ECHO_T}system version" >&6
2927 elif test "$wxUSE_LIBTIFF" = builtin; then
2928 echo "$as_me:$LINENO: result: builtin version" >&5
2929 echo "${ECHO_T}builtin version" >&6
2931 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2932 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2933 { (exit 1); exit 1; }; }
2937 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2938 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2941 # Check whether --with-libxpm or --without-libxpm was given.
2942 if test "${with_libxpm+set}" = set; then
2943 withval
="$with_libxpm"
2945 if test "$withval" = yes; then
2946 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2947 elif test "$withval" = no
; then
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2949 elif test "$withval" = sys
; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2951 elif test "$withval" = builtin; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2961 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x
; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2972 eval "$ac_cv_use_libxpm"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2977 if test "$wxUSE_LIBXPM" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6
2980 elif test "$wxUSE_LIBXPM" = no
; then
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2983 elif test "$wxUSE_LIBXPM" = sys
; then
2984 echo "$as_me:$LINENO: result: system version" >&5
2985 echo "${ECHO_T}system version" >&6
2986 elif test "$wxUSE_LIBXPM" = builtin; then
2987 echo "$as_me:$LINENO: result: builtin version" >&5
2988 echo "${ECHO_T}builtin version" >&6
2990 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2991 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2992 { (exit 1); exit 1; }; }
2996 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2997 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3000 # Check whether --with-libmspack or --without-libmspack was given.
3001 if test "${with_libmspack+set}" = set; then
3002 withval
="$with_libmspack"
3004 if test "$withval" = yes; then
3005 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3007 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3012 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3013 if test "x$LINE" != x
; then
3014 eval "DEFAULT_$LINE"
3019 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3023 eval "$ac_cv_use_libmspack"
3024 if test "$no_cache" != 1; then
3025 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3028 if test "$wxUSE_LIBMSPACK" = yes; then
3029 echo "$as_me:$LINENO: result: yes" >&5
3030 echo "${ECHO_T}yes" >&6
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3037 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3038 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3041 # Check whether --with-sdl or --without-sdl was given.
3042 if test "${with_sdl+set}" = set; then
3045 if test "$withval" = yes; then
3046 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3048 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3053 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x
; then
3055 eval "DEFAULT_$LINE"
3060 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3064 eval "$ac_cv_use_sdl"
3065 if test "$no_cache" != 1; then
3066 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3069 if test "$wxUSE_LIBSDL" = yes; then
3070 echo "$as_me:$LINENO: result: yes" >&5
3071 echo "${ECHO_T}yes" >&6
3073 echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3078 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3079 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3082 # Check whether --with-opengl or --without-opengl was given.
3083 if test "${with_opengl+set}" = set; then
3084 withval
="$with_opengl"
3086 if test "$withval" = yes; then
3087 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3089 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3094 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x
; then
3096 eval "DEFAULT_$LINE"
3101 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3105 eval "$ac_cv_use_opengl"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3110 if test "$wxUSE_OPENGL" = yes; then
3111 echo "$as_me:$LINENO: result: yes" >&5
3112 echo "${ECHO_T}yes" >&6
3114 echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6
3122 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3123 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3126 # Check whether --with-dmalloc or --without-dmalloc was given.
3127 if test "${with_dmalloc+set}" = set; then
3128 withval
="$with_dmalloc"
3130 if test "$withval" = yes; then
3131 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3133 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3138 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3149 eval "$ac_cv_use_dmalloc"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_DMALLOC" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3163 echo "$as_me:$LINENO: checking for --with-regex" >&5
3164 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3167 # Check whether --with-regex or --without-regex was given.
3168 if test "${with_regex+set}" = set; then
3169 withval
="$with_regex"
3171 if test "$withval" = yes; then
3172 ac_cv_use_regex
='wxUSE_REGEX=yes'
3173 elif test "$withval" = no
; then
3174 ac_cv_use_regex
='wxUSE_REGEX=no'
3175 elif test "$withval" = sys
; then
3176 ac_cv_use_regex
='wxUSE_REGEX=sys'
3177 elif test "$withval" = builtin; then
3178 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3187 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x
; then
3189 eval "DEFAULT_$LINE"
3194 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3198 eval "$ac_cv_use_regex"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3203 if test "$wxUSE_REGEX" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 elif test "$wxUSE_REGEX" = no
; then
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3209 elif test "$wxUSE_REGEX" = sys
; then
3210 echo "$as_me:$LINENO: result: system version" >&5
3211 echo "${ECHO_T}system version" >&6
3212 elif test "$wxUSE_REGEX" = builtin; then
3213 echo "$as_me:$LINENO: result: builtin version" >&5
3214 echo "${ECHO_T}builtin version" >&6
3216 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3217 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3218 { (exit 1); exit 1; }; }
3222 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3223 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3226 # Check whether --with-zlib or --without-zlib was given.
3227 if test "${with_zlib+set}" = set; then
3228 withval
="$with_zlib"
3230 if test "$withval" = yes; then
3231 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3232 elif test "$withval" = no
; then
3233 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3234 elif test "$withval" = sys
; then
3235 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3236 elif test "$withval" = builtin; then
3237 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3246 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x
; then
3248 eval "DEFAULT_$LINE"
3253 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3257 eval "$ac_cv_use_zlib"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3262 if test "$wxUSE_ZLIB" = yes; then
3263 echo "$as_me:$LINENO: result: yes" >&5
3264 echo "${ECHO_T}yes" >&6
3265 elif test "$wxUSE_ZLIB" = no
; then
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3268 elif test "$wxUSE_ZLIB" = sys
; then
3269 echo "$as_me:$LINENO: result: system version" >&5
3270 echo "${ECHO_T}system version" >&6
3271 elif test "$wxUSE_ZLIB" = builtin; then
3272 echo "$as_me:$LINENO: result: builtin version" >&5
3273 echo "${ECHO_T}builtin version" >&6
3275 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3276 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3277 { (exit 1); exit 1; }; }
3281 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3282 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3285 # Check whether --with-odbc or --without-odbc was given.
3286 if test "${with_odbc+set}" = set; then
3287 withval
="$with_odbc"
3289 if test "$withval" = yes; then
3290 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3291 elif test "$withval" = no
; then
3292 ac_cv_use_odbc
='wxUSE_ODBC=no'
3293 elif test "$withval" = sys
; then
3294 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3305 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3316 eval "$ac_cv_use_odbc"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_ODBC" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_ODBC" = no
; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_ODBC" = sys
; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_ODBC" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3340 echo "$as_me:$LINENO: checking for --with-expat" >&5
3341 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3344 # Check whether --with-expat or --without-expat was given.
3345 if test "${with_expat+set}" = set; then
3346 withval
="$with_expat"
3348 if test "$withval" = yes; then
3349 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3350 elif test "$withval" = no
; then
3351 ac_cv_use_expat
='wxUSE_EXPAT=no'
3352 elif test "$withval" = sys
; then
3353 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3354 elif test "$withval" = builtin; then
3355 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3357 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3358 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3359 { (exit 1); exit 1; }; }
3364 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3375 eval "$ac_cv_use_expat"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_EXPAT" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3383 elif test "$wxUSE_EXPAT" = no
; then
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3386 elif test "$wxUSE_EXPAT" = sys
; then
3387 echo "$as_me:$LINENO: result: system version" >&5
3388 echo "${ECHO_T}system version" >&6
3389 elif test "$wxUSE_EXPAT" = builtin; then
3390 echo "$as_me:$LINENO: result: builtin version" >&5
3391 echo "${ECHO_T}builtin version" >&6
3393 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3394 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3395 { (exit 1); exit 1; }; }
3402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3403 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3405 # Check whether --enable-shared or --disable-shared was given.
3406 if test "${enable_shared+set}" = set; then
3407 enableval
="$enable_shared"
3409 if test "$enableval" = yes; then
3410 ac_cv_use_shared
='wxUSE_SHARED=yes'
3412 ac_cv_use_shared
='wxUSE_SHARED=no'
3417 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x
; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3428 eval "$ac_cv_use_shared"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_SHARED" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3444 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3446 # Check whether --enable-optimise or --disable-optimise was given.
3447 if test "${enable_optimise+set}" = set; then
3448 enableval
="$enable_optimise"
3450 if test "$enableval" = yes; then
3451 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3453 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3458 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x
; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3469 eval "$ac_cv_use_optimise"
3470 if test "$no_cache" != 1; then
3471 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3474 if test "$wxUSE_OPTIMISE" = yes; then
3475 echo "$as_me:$LINENO: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3485 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3487 # Check whether --enable-debug or --disable-debug was given.
3488 if test "${enable_debug+set}" = set; then
3489 enableval
="$enable_debug"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3494 ac_cv_use_debug
='wxUSE_DEBUG=no'
3499 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3510 eval "$ac_cv_use_debug"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_DEBUG" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3528 # Check whether --enable-stl or --disable-stl was given.
3529 if test "${enable_stl+set}" = set; then
3530 enableval
="$enable_stl"
3532 if test "$enableval" = yes; then
3533 ac_cv_use_stl
='wxUSE_STL=yes'
3535 ac_cv_use_stl
='wxUSE_STL=no'
3540 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3541 if test "x$LINE" != x
; then
3542 eval "DEFAULT_$LINE"
3547 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3551 eval "$ac_cv_use_stl"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3556 if test "$wxUSE_STL" = yes; then
3557 echo "$as_me:$LINENO: result: yes" >&5
3558 echo "${ECHO_T}yes" >&6
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3564 if test "$USE_OS2" = "1"; then
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3570 # Check whether --enable-omf or --disable-omf was given.
3571 if test "${enable_omf+set}" = set; then
3572 enableval
="$enable_omf"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_omf
='wxUSE_OMF=yes'
3577 ac_cv_use_omf
='wxUSE_OMF=no'
3582 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3593 eval "$ac_cv_use_omf"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_OMF" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3608 if test "$wxUSE_DEBUG" = "yes"; then
3609 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3610 DEFAULT_wxUSE_DEBUG_INFO
=yes
3612 elif test "$wxUSE_DEBUG" = "no"; then
3613 DEFAULT_wxUSE_DEBUG_FLAG
=no
3614 DEFAULT_wxUSE_DEBUG_INFO
=no
3620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3621 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3623 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3624 if test "${enable_debug_flag+set}" = set; then
3625 enableval
="$enable_debug_flag"
3627 if test "$enableval" = yes; then
3628 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3630 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3635 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x
; then
3637 eval "DEFAULT_$LINE"
3642 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3646 eval "$ac_cv_use_debug_flag"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3651 if test "$wxUSE_DEBUG_FLAG" = yes; then
3652 echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6
3655 echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3662 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3664 # Check whether --enable-debug_info or --disable-debug_info was given.
3665 if test "${enable_debug_info+set}" = set; then
3666 enableval
="$enable_debug_info"
3668 if test "$enableval" = yes; then
3669 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3671 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3676 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x
; then
3678 eval "DEFAULT_$LINE"
3683 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3687 eval "$ac_cv_use_debug_info"
3688 if test "$no_cache" != 1; then
3689 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3692 if test "$wxUSE_DEBUG_INFO" = yes; then
3693 echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6
3696 echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3703 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3705 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3706 if test "${enable_debug_gdb+set}" = set; then
3707 enableval
="$enable_debug_gdb"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3712 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3717 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3728 eval "$ac_cv_use_debug_gdb"
3729 if test "$no_cache" != 1; then
3730 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3733 if test "$wxUSE_DEBUG_GDB" = yes; then
3734 echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6
3737 echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6
3743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3744 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3746 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3747 if test "${enable_debug_cntxt+set}" = set; then
3748 enableval
="$enable_debug_cntxt"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3753 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3758 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3769 eval "$ac_cv_use_debug_cntxt"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3785 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3787 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3788 if test "${enable_mem_tracing+set}" = set; then
3789 enableval
="$enable_mem_tracing"
3791 if test "$enableval" = yes; then
3792 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3794 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3799 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x
; then
3801 eval "DEFAULT_$LINE"
3806 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3810 eval "$ac_cv_use_mem_tracing"
3811 if test "$no_cache" != 1; then
3812 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3815 if test "$wxUSE_MEM_TRACING" = yes; then
3816 echo "$as_me:$LINENO: result: yes" >&5
3817 echo "${ECHO_T}yes" >&6
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3826 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3828 # Check whether --enable-profile or --disable-profile was given.
3829 if test "${enable_profile+set}" = set; then
3830 enableval
="$enable_profile"
3832 if test "$enableval" = yes; then
3833 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3835 ac_cv_use_profile
='wxUSE_PROFILE=no'
3840 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x
; then
3842 eval "DEFAULT_$LINE"
3847 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3851 eval "$ac_cv_use_profile"
3852 if test "$no_cache" != 1; then
3853 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3856 if test "$wxUSE_PROFILE" = yes; then
3857 echo "$as_me:$LINENO: result: yes" >&5
3858 echo "${ECHO_T}yes" >&6
3860 echo "$as_me:$LINENO: result: no" >&5
3861 echo "${ECHO_T}no" >&6
3866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3867 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3869 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3870 if test "${enable_no_rtti+set}" = set; then
3871 enableval
="$enable_no_rtti"
3873 if test "$enableval" = yes; then
3874 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3876 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3881 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x
; then
3883 eval "DEFAULT_$LINE"
3888 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3892 eval "$ac_cv_use_no_rtti"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3897 if test "$wxUSE_NO_RTTI" = yes; then
3898 echo "$as_me:$LINENO: result: yes" >&5
3899 echo "${ECHO_T}yes" >&6
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3910 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3911 if test "${enable_no_exceptions+set}" = set; then
3912 enableval
="$enable_no_exceptions"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3917 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3922 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3933 eval "$ac_cv_use_no_exceptions"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3951 # Check whether --enable-permissive or --disable-permissive was given.
3952 if test "${enable_permissive+set}" = set; then
3953 enableval
="$enable_permissive"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3958 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3963 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3974 eval "$ac_cv_use_permissive"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3979 if test "$wxUSE_PERMISSIVE" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3990 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3992 # Check whether --enable-no_deps or --disable-no_deps was given.
3993 if test "${enable_no_deps+set}" = set; then
3994 enableval
="$enable_no_deps"
3996 if test "$enableval" = yes; then
3997 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3999 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4004 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x
; then
4006 eval "DEFAULT_$LINE"
4011 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4015 eval "$ac_cv_use_no_deps"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_NO_DEPS" = yes; then
4021 echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4032 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4034 # Check whether --enable-compat22 or --disable-compat22 was given.
4035 if test "${enable_compat22+set}" = set; then
4036 enableval
="$enable_compat22"
4038 if test "$enableval" = yes; then
4039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4041 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4046 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4047 if test "x$LINE" != x
; then
4048 eval "DEFAULT_$LINE"
4053 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4057 eval "$ac_cv_use_compat22"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4062 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4063 echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6
4066 echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4071 enablestring
=disable
4072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4073 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4075 # Check whether --enable-compat24 or --disable-compat24 was given.
4076 if test "${enable_compat24+set}" = set; then
4077 enableval
="$enable_compat24"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4082 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4087 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4098 eval "$ac_cv_use_compat24"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4103 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4104 echo "$as_me:$LINENO: result: yes" >&5
4105 echo "${ECHO_T}yes" >&6
4107 echo "$as_me:$LINENO: result: no" >&5
4108 echo "${ECHO_T}no" >&6
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4117 # Check whether --enable-rpath or --disable-rpath was given.
4118 if test "${enable_rpath+set}" = set; then
4119 enableval
="$enable_rpath"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4124 ac_cv_use_rpath
='wxUSE_RPATH=no'
4129 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x
; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4140 eval "$ac_cv_use_rpath"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_RPATH" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4161 # Check whether --enable-intl or --disable-intl was given.
4162 if test "${enable_intl+set}" = set; then
4163 enableval
="$enable_intl"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_intl
='wxUSE_INTL=yes'
4168 ac_cv_use_intl
='wxUSE_INTL=no'
4173 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4184 eval "$ac_cv_use_intl"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_INTL" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4200 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4202 # Check whether --enable-config or --disable-config was given.
4203 if test "${enable_config+set}" = set; then
4204 enableval
="$enable_config"
4206 if test "$enableval" = yes; then
4207 ac_cv_use_config
='wxUSE_CONFIG=yes'
4209 ac_cv_use_config
='wxUSE_CONFIG=no'
4214 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4215 if test "x$LINE" != x
; then
4216 eval "DEFAULT_$LINE"
4221 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4225 eval "$ac_cv_use_config"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4230 if test "$wxUSE_CONFIG" = yes; then
4231 echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6
4234 echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4244 # Check whether --enable-protocols or --disable-protocols was given.
4245 if test "${enable_protocols+set}" = set; then
4246 enableval
="$enable_protocols"
4248 if test "$enableval" = yes; then
4249 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4251 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4256 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x
; then
4258 eval "DEFAULT_$LINE"
4263 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4267 eval "$ac_cv_use_protocols"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_PROTOCOL" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4285 # Check whether --enable-ftp or --disable-ftp was given.
4286 if test "${enable_ftp+set}" = set; then
4287 enableval
="$enable_ftp"
4289 if test "$enableval" = yes; then
4290 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4292 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4297 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x
; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4308 eval "$ac_cv_use_ftp"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4326 # Check whether --enable-http or --disable-http was given.
4327 if test "${enable_http+set}" = set; then
4328 enableval
="$enable_http"
4330 if test "$enableval" = yes; then
4331 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4333 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4338 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x
; then
4340 eval "DEFAULT_$LINE"
4345 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4349 eval "$ac_cv_use_http"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4354 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4367 # Check whether --enable-fileproto or --disable-fileproto was given.
4368 if test "${enable_fileproto+set}" = set; then
4369 enableval
="$enable_fileproto"
4371 if test "$enableval" = yes; then
4372 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4374 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4379 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x
; then
4381 eval "DEFAULT_$LINE"
4386 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4390 eval "$ac_cv_use_fileproto"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4395 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4408 # Check whether --enable-sockets or --disable-sockets was given.
4409 if test "${enable_sockets+set}" = set; then
4410 enableval
="$enable_sockets"
4412 if test "$enableval" = yes; then
4413 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4415 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4420 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x
; then
4422 eval "DEFAULT_$LINE"
4427 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4431 eval "$ac_cv_use_sockets"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_SOCKETS" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4449 # Check whether --enable-ole or --disable-ole was given.
4450 if test "${enable_ole+set}" = set; then
4451 enableval
="$enable_ole"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_ole
='wxUSE_OLE=yes'
4456 ac_cv_use_ole
='wxUSE_OLE=no'
4461 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4472 eval "$ac_cv_use_ole"
4473 if test "$no_cache" != 1; then
4474 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4477 if test "$wxUSE_OLE" = yes; then
4478 echo "$as_me:$LINENO: result: yes" >&5
4479 echo "${ECHO_T}yes" >&6
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4490 # Check whether --enable-dataobj or --disable-dataobj was given.
4491 if test "${enable_dataobj+set}" = set; then
4492 enableval
="$enable_dataobj"
4494 if test "$enableval" = yes; then
4495 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4497 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4502 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x
; then
4504 eval "DEFAULT_$LINE"
4509 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4513 eval "$ac_cv_use_dataobj"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_DATAOBJ" = yes; then
4519 echo "$as_me:$LINENO: result: yes" >&5
4520 echo "${ECHO_T}yes" >&6
4522 echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6
4529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4532 # Check whether --enable-ipc or --disable-ipc was given.
4533 if test "${enable_ipc+set}" = set; then
4534 enableval
="$enable_ipc"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_ipc
='wxUSE_IPC=yes'
4539 ac_cv_use_ipc
='wxUSE_IPC=no'
4544 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4555 eval "$ac_cv_use_ipc"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_IPC" = yes; then
4561 echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6
4564 echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4574 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4575 if test "${enable_apple_ieee+set}" = set; then
4576 enableval
="$enable_apple_ieee"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4581 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4586 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4597 eval "$ac_cv_use_apple_ieee"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_APPLE_IEEE" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4615 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4616 if test "${enable_catch_segvs+set}" = set; then
4617 enableval
="$enable_catch_segvs"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4622 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4627 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4638 eval "$ac_cv_use_catch_segvs"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4656 # Check whether --enable-cmdline or --disable-cmdline was given.
4657 if test "${enable_cmdline+set}" = set; then
4658 enableval
="$enable_cmdline"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4663 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4668 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4679 eval "$ac_cv_use_cmdline"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4697 # Check whether --enable-datetime or --disable-datetime was given.
4698 if test "${enable_datetime+set}" = set; then
4699 enableval
="$enable_datetime"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4704 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4709 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4720 eval "$ac_cv_use_datetime"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_DATETIME" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4738 # Check whether --enable-dialupman or --disable-dialupman was given.
4739 if test "${enable_dialupman+set}" = set; then
4740 enableval
="$enable_dialupman"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4745 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4750 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4761 eval "$ac_cv_use_dialupman"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4779 # Check whether --enable-dynlib or --disable-dynlib was given.
4780 if test "${enable_dynlib+set}" = set; then
4781 enableval
="$enable_dynlib"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4786 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4791 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4802 eval "$ac_cv_use_dynlib"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4820 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4821 if test "${enable_dynamicloader+set}" = set; then
4822 enableval
="$enable_dynamicloader"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4827 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4832 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4843 eval "$ac_cv_use_dynamicloader"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4861 # Check whether --enable-exceptions or --disable-exceptions was given.
4862 if test "${enable_exceptions+set}" = set; then
4863 enableval
="$enable_exceptions"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4868 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4873 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x
; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4884 eval "$ac_cv_use_exceptions"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4889 if test "$wxUSE_EXCEPTIONS" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4902 # Check whether --enable-ffile or --disable-ffile was given.
4903 if test "${enable_ffile+set}" = set; then
4904 enableval
="$enable_ffile"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4909 ac_cv_use_ffile
='wxUSE_FFILE=no'
4914 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x
; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4925 eval "$ac_cv_use_ffile"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_FFILE" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4943 # Check whether --enable-file or --disable-file was given.
4944 if test "${enable_file+set}" = set; then
4945 enableval
="$enable_file"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_file
='wxUSE_FILE=yes'
4950 ac_cv_use_file
='wxUSE_FILE=no'
4955 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4966 eval "$ac_cv_use_file"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_FILE" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4984 # Check whether --enable-filesystem or --disable-filesystem was given.
4985 if test "${enable_filesystem+set}" = set; then
4986 enableval
="$enable_filesystem"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4991 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4996 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5007 eval "$ac_cv_use_filesystem"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_FILESYSTEM" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5025 # Check whether --enable-fontmap or --disable-fontmap was given.
5026 if test "${enable_fontmap+set}" = set; then
5027 enableval
="$enable_fontmap"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5032 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5037 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5048 eval "$ac_cv_use_fontmap"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_FONTMAP" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5066 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5067 if test "${enable_fs_inet+set}" = set; then
5068 enableval
="$enable_fs_inet"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5073 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5078 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5089 eval "$ac_cv_use_fs_inet"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_FS_INET" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5107 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5108 if test "${enable_fs_zip+set}" = set; then
5109 enableval
="$enable_fs_zip"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5114 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5119 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x
; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5130 eval "$ac_cv_use_fs_zip"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_FS_ZIP" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5148 # Check whether --enable-geometry or --disable-geometry was given.
5149 if test "${enable_geometry+set}" = set; then
5150 enableval
="$enable_geometry"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5155 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5160 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x
; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5171 eval "$ac_cv_use_geometry"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_GEOMETRY" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5189 # Check whether --enable-log or --disable-log was given.
5190 if test "${enable_log+set}" = set; then
5191 enableval
="$enable_log"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_log
='wxUSE_LOG=yes'
5196 ac_cv_use_log
='wxUSE_LOG=no'
5201 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5212 eval "$ac_cv_use_log"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5217 if test "$wxUSE_LOG" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5230 # Check whether --enable-longlong or --disable-longlong was given.
5231 if test "${enable_longlong+set}" = set; then
5232 enableval
="$enable_longlong"
5234 if test "$enableval" = yes; then
5235 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5237 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5242 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x
; then
5244 eval "DEFAULT_$LINE"
5249 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5253 eval "$ac_cv_use_longlong"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_LONGLONG" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5271 # Check whether --enable-mimetype or --disable-mimetype was given.
5272 if test "${enable_mimetype+set}" = set; then
5273 enableval
="$enable_mimetype"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5278 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5283 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x
; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5294 eval "$ac_cv_use_mimetype"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5299 if test "$wxUSE_MIMETYPE" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5312 # Check whether --enable-mslu or --disable-mslu was given.
5313 if test "${enable_mslu+set}" = set; then
5314 enableval
="$enable_mslu"
5316 if test "$enableval" = yes; then
5317 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5319 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5324 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x
; then
5326 eval "DEFAULT_$LINE"
5331 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5335 eval "$ac_cv_use_mslu"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_UNICODE_MSLU" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5353 # Check whether --enable-snglinst or --disable-snglinst was given.
5354 if test "${enable_snglinst+set}" = set; then
5355 enableval
="$enable_snglinst"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5360 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5365 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5376 eval "$ac_cv_use_snglinst"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5394 # Check whether --enable-streams or --disable-streams was given.
5395 if test "${enable_streams+set}" = set; then
5396 enableval
="$enable_streams"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5401 ac_cv_use_streams
='wxUSE_STREAMS=no'
5406 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x
; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5417 eval "$ac_cv_use_streams"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5422 if test "$wxUSE_STREAMS" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5435 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5436 if test "${enable_std_iostreams+set}" = set; then
5437 enableval
="$enable_std_iostreams"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5442 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5447 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5458 eval "$ac_cv_use_std_iostreams"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_STD_IOSTREAM" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5476 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5477 if test "${enable_stopwatch+set}" = set; then
5478 enableval
="$enable_stopwatch"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5483 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5488 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5499 eval "$ac_cv_use_stopwatch"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_STOPWATCH" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5517 # Check whether --enable-system_options or --disable-system_options was given.
5518 if test "${enable_system_options+set}" = set; then
5519 enableval
="$enable_system_options"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5524 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5529 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x
; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5540 eval "$ac_cv_use_system_options"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5558 # Check whether --enable-textbuf or --disable-textbuf was given.
5559 if test "${enable_textbuf+set}" = set; then
5560 enableval
="$enable_textbuf"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5565 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5570 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5581 eval "$ac_cv_use_textbuf"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_TEXTBUFFER" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5599 # Check whether --enable-textfile or --disable-textfile was given.
5600 if test "${enable_textfile+set}" = set; then
5601 enableval
="$enable_textfile"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5606 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5611 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5622 eval "$ac_cv_use_textfile"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_TEXTFILE" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5640 # Check whether --enable-timer or --disable-timer was given.
5641 if test "${enable_timer+set}" = set; then
5642 enableval
="$enable_timer"
5644 if test "$enableval" = yes; then
5645 ac_cv_use_timer
='wxUSE_TIMER=yes'
5647 ac_cv_use_timer
='wxUSE_TIMER=no'
5652 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x
; then
5654 eval "DEFAULT_$LINE"
5659 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5663 eval "$ac_cv_use_timer"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5668 if test "$wxUSE_TIMER" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5681 # Check whether --enable-unicode or --disable-unicode was given.
5682 if test "${enable_unicode+set}" = set; then
5683 enableval
="$enable_unicode"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5688 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5693 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x
; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5704 eval "$ac_cv_use_unicode"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_UNICODE" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5722 # Check whether --enable-sound or --disable-sound was given.
5723 if test "${enable_sound+set}" = set; then
5724 enableval
="$enable_sound"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_sound
='wxUSE_SOUND=yes'
5729 ac_cv_use_sound
='wxUSE_SOUND=no'
5734 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x
; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5745 eval "$ac_cv_use_sound"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_SOUND" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5763 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5764 if test "${enable_wxprintfv+set}" = set; then
5765 enableval
="$enable_wxprintfv"
5767 if test "$enableval" = yes; then
5768 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5770 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5775 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x
; then
5777 eval "DEFAULT_$LINE"
5782 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5786 eval "$ac_cv_use_wxprintfv"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5791 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5792 echo "$as_me:$LINENO: result: yes" >&5
5793 echo "${ECHO_T}yes" >&6
5795 echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5804 # Check whether --enable-zipstream or --disable-zipstream was given.
5805 if test "${enable_zipstream+set}" = set; then
5806 enableval
="$enable_zipstream"
5808 if test "$enableval" = yes; then
5809 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5811 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5816 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x
; then
5818 eval "DEFAULT_$LINE"
5823 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5827 eval "$ac_cv_use_zipstream"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5832 if test "$wxUSE_ZIPSTREAM" = yes; then
5833 echo "$as_me:$LINENO: result: yes" >&5
5834 echo "${ECHO_T}yes" >&6
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5846 # Check whether --enable-url or --disable-url was given.
5847 if test "${enable_url+set}" = set; then
5848 enableval
="$enable_url"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_url
='wxUSE_URL=yes'
5853 ac_cv_use_url
='wxUSE_URL=no'
5858 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5869 eval "$ac_cv_use_url"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_URL" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5887 # Check whether --enable-protocol or --disable-protocol was given.
5888 if test "${enable_protocol+set}" = set; then
5889 enableval
="$enable_protocol"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5894 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5899 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x
; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5910 eval "$ac_cv_use_protocol"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_PROTOCOL" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5928 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5929 if test "${enable_protocol_http+set}" = set; then
5930 enableval
="$enable_protocol_http"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5935 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5940 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5951 eval "$ac_cv_use_protocol_http"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5969 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5970 if test "${enable_protocol_ftp+set}" = set; then
5971 enableval
="$enable_protocol_ftp"
5973 if test "$enableval" = yes; then
5974 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5976 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5981 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x
; then
5983 eval "DEFAULT_$LINE"
5988 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5992 eval "$ac_cv_use_protocol_ftp"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5997 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6010 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6011 if test "${enable_protocol_file+set}" = set; then
6012 enableval
="$enable_protocol_file"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6017 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6022 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6033 eval "$ac_cv_use_protocol_file"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6054 # Check whether --enable-threads or --disable-threads was given.
6055 if test "${enable_threads+set}" = set; then
6056 enableval
="$enable_threads"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_threads
='wxUSE_THREADS=yes'
6061 ac_cv_use_threads
='wxUSE_THREADS=no'
6066 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x
; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6077 eval "$ac_cv_use_threads"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_THREADS" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6091 if test "$wxUSE_GUI" = "yes"; then
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6099 # Check whether --enable-docview or --disable-docview was given.
6100 if test "${enable_docview+set}" = set; then
6101 enableval
="$enable_docview"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6106 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6111 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6122 eval "$ac_cv_use_docview"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6140 # Check whether --enable-help or --disable-help was given.
6141 if test "${enable_help+set}" = set; then
6142 enableval
="$enable_help"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_help
='wxUSE_HELP=yes'
6147 ac_cv_use_help
='wxUSE_HELP=no'
6152 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6163 eval "$ac_cv_use_help"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_HELP" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6181 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6182 if test "${enable_mshtmlhelp+set}" = set; then
6183 enableval
="$enable_mshtmlhelp"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6188 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6193 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6204 eval "$ac_cv_use_mshtmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_MS_HTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6222 # Check whether --enable-html or --disable-html was given.
6223 if test "${enable_html+set}" = set; then
6224 enableval
="$enable_html"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_html
='wxUSE_HTML=yes'
6229 ac_cv_use_html
='wxUSE_HTML=no'
6234 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6245 eval "$ac_cv_use_html"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_HTML" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6263 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6264 if test "${enable_htmlhelp+set}" = set; then
6265 enableval
="$enable_htmlhelp"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6270 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6275 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6286 eval "$ac_cv_use_htmlhelp"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_WXHTML_HELP" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6304 # Check whether --enable-xrc or --disable-xrc was given.
6305 if test "${enable_xrc+set}" = set; then
6306 enableval
="$enable_xrc"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_xrc
='wxUSE_XRC=yes'
6311 ac_cv_use_xrc
='wxUSE_XRC=no'
6316 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6327 eval "$ac_cv_use_xrc"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_XRC" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6345 # Check whether --enable-constraints or --disable-constraints was given.
6346 if test "${enable_constraints+set}" = set; then
6347 enableval
="$enable_constraints"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6352 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6357 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6368 eval "$ac_cv_use_constraints"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_CONSTRAINTS" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6386 # Check whether --enable-printarch or --disable-printarch was given.
6387 if test "${enable_printarch+set}" = set; then
6388 enableval
="$enable_printarch"
6390 if test "$enableval" = yes; then
6391 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6393 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6398 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x
; then
6400 eval "DEFAULT_$LINE"
6405 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6409 eval "$ac_cv_use_printarch"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6414 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6427 # Check whether --enable-mdi or --disable-mdi was given.
6428 if test "${enable_mdi+set}" = set; then
6429 enableval
="$enable_mdi"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_mdi
='wxUSE_MDI=yes'
6434 ac_cv_use_mdi
='wxUSE_MDI=no'
6439 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x
; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6450 eval "$ac_cv_use_mdi"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6455 if test "$wxUSE_MDI" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6468 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6469 if test "${enable_mdidoc+set}" = set; then
6470 enableval
="$enable_mdidoc"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6475 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6480 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6491 eval "$ac_cv_use_mdidoc"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6496 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6509 # Check whether --enable-loggui or --disable-loggui was given.
6510 if test "${enable_loggui+set}" = set; then
6511 enableval
="$enable_loggui"
6513 if test "$enableval" = yes; then
6514 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6516 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6521 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x
; then
6523 eval "DEFAULT_$LINE"
6528 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6532 eval "$ac_cv_use_loggui"
6533 if test "$no_cache" != 1; then
6534 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6537 if test "$wxUSE_LOGGUI" = yes; then
6538 echo "$as_me:$LINENO: result: yes" >&5
6539 echo "${ECHO_T}yes" >&6
6541 echo "$as_me:$LINENO: result: no" >&5
6542 echo "${ECHO_T}no" >&6
6547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6548 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6550 # Check whether --enable-logwin or --disable-logwin was given.
6551 if test "${enable_logwin+set}" = set; then
6552 enableval
="$enable_logwin"
6554 if test "$enableval" = yes; then
6555 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6557 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6562 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6563 if test "x$LINE" != x
; then
6564 eval "DEFAULT_$LINE"
6569 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6573 eval "$ac_cv_use_logwin"
6574 if test "$no_cache" != 1; then
6575 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6578 if test "$wxUSE_LOGWINDOW" = yes; then
6579 echo "$as_me:$LINENO: result: yes" >&5
6580 echo "${ECHO_T}yes" >&6
6582 echo "$as_me:$LINENO: result: no" >&5
6583 echo "${ECHO_T}no" >&6
6588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6589 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6591 # Check whether --enable-logdialog or --disable-logdialog was given.
6592 if test "${enable_logdialog+set}" = set; then
6593 enableval
="$enable_logdialog"
6595 if test "$enableval" = yes; then
6596 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6598 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6603 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x
; then
6605 eval "DEFAULT_$LINE"
6610 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6614 eval "$ac_cv_use_logdialog"
6615 if test "$no_cache" != 1; then
6616 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6619 if test "$wxUSE_LOGDIALOG" = yes; then
6620 echo "$as_me:$LINENO: result: yes" >&5
6621 echo "${ECHO_T}yes" >&6
6623 echo "$as_me:$LINENO: result: no" >&5
6624 echo "${ECHO_T}no" >&6
6629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6630 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6632 # Check whether --enable-webkit or --disable-webkit was given.
6633 if test "${enable_webkit+set}" = set; then
6634 enableval
="$enable_webkit"
6636 if test "$enableval" = yes; then
6637 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6639 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6644 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6645 if test "x$LINE" != x
; then
6646 eval "DEFAULT_$LINE"
6651 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6655 eval "$ac_cv_use_webkit"
6656 if test "$no_cache" != 1; then
6657 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6660 if test "$wxUSE_WEBKIT" = yes; then
6661 echo "$as_me:$LINENO: result: yes" >&5
6662 echo "${ECHO_T}yes" >&6
6664 echo "$as_me:$LINENO: result: no" >&5
6665 echo "${ECHO_T}no" >&6
6671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6674 # Check whether --enable-postscript or --disable-postscript was given.
6675 if test "${enable_postscript+set}" = set; then
6676 enableval
="$enable_postscript"
6678 if test "$enableval" = yes; then
6679 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6681 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6686 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x
; then
6688 eval "DEFAULT_$LINE"
6693 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6697 eval "$ac_cv_use_postscript"
6698 if test "$no_cache" != 1; then
6699 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6702 if test "$wxUSE_POSTSCRIPT" = yes; then
6703 echo "$as_me:$LINENO: result: yes" >&5
6704 echo "${ECHO_T}yes" >&6
6706 echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6718 # Check whether --enable-prologio or --disable-prologio was given.
6719 if test "${enable_prologio+set}" = set; then
6720 enableval
="$enable_prologio"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6725 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6730 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6741 eval "$ac_cv_use_prologio"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_PROLOGIO" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6759 # Check whether --enable-resources or --disable-resources was given.
6760 if test "${enable_resources+set}" = set; then
6761 enableval
="$enable_resources"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6766 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6771 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x
; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6782 eval "$ac_cv_use_resources"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6787 if test "$wxUSE_RESOURCES" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6802 # Check whether --enable-clipboard or --disable-clipboard was given.
6803 if test "${enable_clipboard+set}" = set; then
6804 enableval
="$enable_clipboard"
6806 if test "$enableval" = yes; then
6807 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6809 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6814 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6815 if test "x$LINE" != x
; then
6816 eval "DEFAULT_$LINE"
6821 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6825 eval "$ac_cv_use_clipboard"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6830 if test "$wxUSE_CLIPBOARD" = yes; then
6831 echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6
6834 echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6843 # Check whether --enable-dnd or --disable-dnd was given.
6844 if test "${enable_dnd+set}" = set; then
6845 enableval
="$enable_dnd"
6847 if test "$enableval" = yes; then
6848 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6850 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6855 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x
; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6866 eval "$ac_cv_use_dnd"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6884 # Check whether --enable-metafile or --disable-metafile was given.
6885 if test "${enable_metafile+set}" = set; then
6886 enableval
="$enable_metafile"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6891 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6896 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6907 eval "$ac_cv_use_metafile"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_METAFILE" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6928 # Check whether --enable-controls or --disable-controls was given.
6929 if test "${enable_controls+set}" = set; then
6930 enableval
="$enable_controls"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6935 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6940 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6951 eval "$ac_cv_use_controls"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_CONTROLS" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6965 if test "$wxUSE_CONTROLS" = "yes"; then
6966 DEFAULT_wxUSE_ACCEL
=yes
6967 DEFAULT_wxUSE_BMPBUTTON
=yes
6968 DEFAULT_wxUSE_BUTTON
=yes
6969 DEFAULT_wxUSE_CALCTRL
=no
6970 DEFAULT_wxUSE_CARET
=yes
6971 DEFAULT_wxUSE_COMBOBOX
=yes
6972 DEFAULT_wxUSE_CHECKBOX
=yes
6973 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6974 DEFAULT_wxUSE_CHOICE
=yes
6975 DEFAULT_wxUSE_CHOICEBOOK
=yes
6976 DEFAULT_wxUSE_GAUGE
=yes
6977 DEFAULT_wxUSE_GRID
=yes
6978 DEFAULT_wxUSE_IMAGLIST
=yes
6979 DEFAULT_wxUSE_LISTBOOK
=yes
6980 DEFAULT_wxUSE_LISTBOX
=yes
6981 DEFAULT_wxUSE_LISTCTRL
=yes
6982 DEFAULT_wxUSE_NOTEBOOK
=yes
6983 DEFAULT_wxUSE_RADIOBOX
=yes
6984 DEFAULT_wxUSE_RADIOBTN
=yes
6985 DEFAULT_wxUSE_SASH
=yes
6986 DEFAULT_wxUSE_SCROLLBAR
=yes
6987 DEFAULT_wxUSE_SLIDER
=yes
6988 DEFAULT_wxUSE_SPINBTN
=yes
6989 DEFAULT_wxUSE_SPINCTRL
=yes
6990 DEFAULT_wxUSE_SPLITTER
=yes
6991 DEFAULT_wxUSE_STATBMP
=yes
6992 DEFAULT_wxUSE_STATBOX
=yes
6993 DEFAULT_wxUSE_STATLINE
=yes
6994 DEFAULT_wxUSE_STATUSBAR
=yes
6995 DEFAULT_wxUSE_TAB_DIALOG
=yes
6996 DEFAULT_wxUSE_TOGGLEBTN
=yes
6997 DEFAULT_wxUSE_TOOLBAR
=yes
6998 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6999 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7000 DEFAULT_wxUSE_TOOLTIPS
=yes
7001 DEFAULT_wxUSE_TREECTRL
=yes
7002 DEFAULT_wxUSE_POPUPWIN
=yes
7003 DEFAULT_wxUSE_TIPWINDOW
=yes
7004 elif test "$wxUSE_CONTROLS" = "no"; then
7005 DEFAULT_wxUSE_ACCEL
=no
7006 DEFAULT_wxUSE_BMPBUTTON
=no
7007 DEFAULT_wxUSE_BUTTON
=no
7008 DEFAULT_wxUSE_CALCTRL
=no
7009 DEFAULT_wxUSE_CARET
=no
7010 DEFAULT_wxUSE_COMBOBOX
=no
7011 DEFAULT_wxUSE_CHECKBOX
=no
7012 DEFAULT_wxUSE_CHECKLISTBOX
=no
7013 DEFAULT_wxUSE_CHOICE
=no
7014 DEFAULT_wxUSE_CHOICEBOOK
=no
7015 DEFAULT_wxUSE_GAUGE
=no
7016 DEFAULT_wxUSE_GRID
=no
7017 DEFAULT_wxUSE_IMAGLIST
=no
7018 DEFAULT_wxUSE_LISTBOOK
=no
7019 DEFAULT_wxUSE_LISTBOX
=no
7020 DEFAULT_wxUSE_LISTCTRL
=no
7021 DEFAULT_wxUSE_NOTEBOOK
=no
7022 DEFAULT_wxUSE_RADIOBOX
=no
7023 DEFAULT_wxUSE_RADIOBTN
=no
7024 DEFAULT_wxUSE_SASH
=no
7025 DEFAULT_wxUSE_SCROLLBAR
=no
7026 DEFAULT_wxUSE_SLIDER
=no
7027 DEFAULT_wxUSE_SPINBTN
=no
7028 DEFAULT_wxUSE_SPINCTRL
=no
7029 DEFAULT_wxUSE_SPLITTER
=no
7030 DEFAULT_wxUSE_STATBMP
=no
7031 DEFAULT_wxUSE_STATBOX
=no
7032 DEFAULT_wxUSE_STATLINE
=no
7033 DEFAULT_wxUSE_STATUSBAR
=no
7034 DEFAULT_wxUSE_TAB_DIALOG
=no
7035 DEFAULT_wxUSE_TOGGLEBTN
=no
7036 DEFAULT_wxUSE_TOOLBAR
=no
7037 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7038 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7039 DEFAULT_wxUSE_TOOLTIPS
=no
7040 DEFAULT_wxUSE_TREECTRL
=no
7041 DEFAULT_wxUSE_POPUPWIN
=no
7042 DEFAULT_wxUSE_TIPWINDOW
=no
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7050 # Check whether --enable-accel or --disable-accel was given.
7051 if test "${enable_accel+set}" = set; then
7052 enableval
="$enable_accel"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7057 ac_cv_use_accel
='wxUSE_ACCEL=no'
7062 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7073 eval "$ac_cv_use_accel"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_ACCEL" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7091 # Check whether --enable-button or --disable-button was given.
7092 if test "${enable_button+set}" = set; then
7093 enableval
="$enable_button"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_button
='wxUSE_BUTTON=yes'
7098 ac_cv_use_button
='wxUSE_BUTTON=no'
7103 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7114 eval "$ac_cv_use_button"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_BUTTON" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7132 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7133 if test "${enable_bmpbutton+set}" = set; then
7134 enableval
="$enable_bmpbutton"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7139 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7144 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7155 eval "$ac_cv_use_bmpbutton"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_BMPBUTTON" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7173 # Check whether --enable-calendar or --disable-calendar was given.
7174 if test "${enable_calendar+set}" = set; then
7175 enableval
="$enable_calendar"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7180 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7185 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7196 eval "$ac_cv_use_calendar"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_CALCTRL" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7214 # Check whether --enable-caret or --disable-caret was given.
7215 if test "${enable_caret+set}" = set; then
7216 enableval
="$enable_caret"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_caret
='wxUSE_CARET=yes'
7221 ac_cv_use_caret
='wxUSE_CARET=no'
7226 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7237 eval "$ac_cv_use_caret"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_CARET" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7255 # Check whether --enable-checkbox or --disable-checkbox was given.
7256 if test "${enable_checkbox+set}" = set; then
7257 enableval
="$enable_checkbox"
7259 if test "$enableval" = yes; then
7260 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7262 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7267 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x
; then
7269 eval "DEFAULT_$LINE"
7274 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7278 eval "$ac_cv_use_checkbox"
7279 if test "$no_cache" != 1; then
7280 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7283 if test "$wxUSE_CHECKBOX" = yes; then
7284 echo "$as_me:$LINENO: result: yes" >&5
7285 echo "${ECHO_T}yes" >&6
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7296 # Check whether --enable-checklst or --disable-checklst was given.
7297 if test "${enable_checklst+set}" = set; then
7298 enableval
="$enable_checklst"
7300 if test "$enableval" = yes; then
7301 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7303 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7308 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x
; then
7310 eval "DEFAULT_$LINE"
7315 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7319 eval "$ac_cv_use_checklst"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7324 if test "$wxUSE_CHECKLST" = yes; then
7325 echo "$as_me:$LINENO: result: yes" >&5
7326 echo "${ECHO_T}yes" >&6
7328 echo "$as_me:$LINENO: result: no" >&5
7329 echo "${ECHO_T}no" >&6
7334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7337 # Check whether --enable-choice or --disable-choice was given.
7338 if test "${enable_choice+set}" = set; then
7339 enableval
="$enable_choice"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7344 ac_cv_use_choice
='wxUSE_CHOICE=no'
7349 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7360 eval "$ac_cv_use_choice"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_CHOICE" = yes; then
7366 echo "$as_me:$LINENO: result: yes" >&5
7367 echo "${ECHO_T}yes" >&6
7369 echo "$as_me:$LINENO: result: no" >&5
7370 echo "${ECHO_T}no" >&6
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7378 # Check whether --enable-choicebook or --disable-choicebook was given.
7379 if test "${enable_choicebook+set}" = set; then
7380 enableval
="$enable_choicebook"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7385 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7390 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7401 eval "$ac_cv_use_choicebook"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7406 if test "$wxUSE_CHOICEBOOK" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7419 # Check whether --enable-combobox or --disable-combobox was given.
7420 if test "${enable_combobox+set}" = set; then
7421 enableval
="$enable_combobox"
7423 if test "$enableval" = yes; then
7424 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7426 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7431 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x
; then
7433 eval "DEFAULT_$LINE"
7438 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7442 eval "$ac_cv_use_combobox"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_COMBOBOX" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7460 # Check whether --enable-display or --disable-display was given.
7461 if test "${enable_display+set}" = set; then
7462 enableval
="$enable_display"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7467 ac_cv_use_display
='wxUSE_DISPLAY=no'
7472 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7483 eval "$ac_cv_use_display"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_DISPLAY" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7499 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7501 # Check whether --enable-gauge or --disable-gauge was given.
7502 if test "${enable_gauge+set}" = set; then
7503 enableval
="$enable_gauge"
7505 if test "$enableval" = yes; then
7506 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7508 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7513 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7514 if test "x$LINE" != x
; then
7515 eval "DEFAULT_$LINE"
7520 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7524 eval "$ac_cv_use_gauge"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7529 if test "$wxUSE_GAUGE" = yes; then
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7533 echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7542 # Check whether --enable-grid or --disable-grid was given.
7543 if test "${enable_grid+set}" = set; then
7544 enableval
="$enable_grid"
7546 if test "$enableval" = yes; then
7547 ac_cv_use_grid
='wxUSE_GRID=yes'
7549 ac_cv_use_grid
='wxUSE_GRID=no'
7554 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x
; then
7556 eval "DEFAULT_$LINE"
7561 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7565 eval "$ac_cv_use_grid"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7570 if test "$wxUSE_GRID" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7583 # Check whether --enable-imaglist or --disable-imaglist was given.
7584 if test "${enable_imaglist+set}" = set; then
7585 enableval
="$enable_imaglist"
7587 if test "$enableval" = yes; then
7588 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7590 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7595 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x
; then
7597 eval "DEFAULT_$LINE"
7602 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7606 eval "$ac_cv_use_imaglist"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7611 if test "$wxUSE_IMAGLIST" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7624 # Check whether --enable-listbook or --disable-listbook was given.
7625 if test "${enable_listbook+set}" = set; then
7626 enableval
="$enable_listbook"
7628 if test "$enableval" = yes; then
7629 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7631 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7636 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x
; then
7638 eval "DEFAULT_$LINE"
7643 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7647 eval "$ac_cv_use_listbook"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7652 if test "$wxUSE_LISTBOOK" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7665 # Check whether --enable-listbox or --disable-listbox was given.
7666 if test "${enable_listbox+set}" = set; then
7667 enableval
="$enable_listbox"
7669 if test "$enableval" = yes; then
7670 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7672 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7677 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x
; then
7679 eval "DEFAULT_$LINE"
7684 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7688 eval "$ac_cv_use_listbox"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7693 if test "$wxUSE_LISTBOX" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7706 # Check whether --enable-listctrl or --disable-listctrl was given.
7707 if test "${enable_listctrl+set}" = set; then
7708 enableval
="$enable_listctrl"
7710 if test "$enableval" = yes; then
7711 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7713 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7718 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x
; then
7720 eval "DEFAULT_$LINE"
7725 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7729 eval "$ac_cv_use_listctrl"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_LISTCTRL" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7747 # Check whether --enable-notebook or --disable-notebook was given.
7748 if test "${enable_notebook+set}" = set; then
7749 enableval
="$enable_notebook"
7751 if test "$enableval" = yes; then
7752 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7754 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7759 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x
; then
7761 eval "DEFAULT_$LINE"
7766 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7770 eval "$ac_cv_use_notebook"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7775 if test "$wxUSE_NOTEBOOK" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7788 # Check whether --enable-radiobox or --disable-radiobox was given.
7789 if test "${enable_radiobox+set}" = set; then
7790 enableval
="$enable_radiobox"
7792 if test "$enableval" = yes; then
7793 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7795 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7800 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x
; then
7802 eval "DEFAULT_$LINE"
7807 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7811 eval "$ac_cv_use_radiobox"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7816 if test "$wxUSE_RADIOBOX" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7829 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7830 if test "${enable_radiobtn+set}" = set; then
7831 enableval
="$enable_radiobtn"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7836 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7841 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7852 eval "$ac_cv_use_radiobtn"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7857 if test "$wxUSE_RADIOBTN" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7870 # Check whether --enable-sash or --disable-sash was given.
7871 if test "${enable_sash+set}" = set; then
7872 enableval
="$enable_sash"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_sash
='wxUSE_SASH=yes'
7877 ac_cv_use_sash
='wxUSE_SASH=no'
7882 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7893 eval "$ac_cv_use_sash"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7898 if test "$wxUSE_SASH" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7911 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7912 if test "${enable_scrollbar+set}" = set; then
7913 enableval
="$enable_scrollbar"
7915 if test "$enableval" = yes; then
7916 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7918 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7923 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x
; then
7925 eval "DEFAULT_$LINE"
7930 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7934 eval "$ac_cv_use_scrollbar"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_SCROLLBAR" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7952 # Check whether --enable-slider or --disable-slider was given.
7953 if test "${enable_slider+set}" = set; then
7954 enableval
="$enable_slider"
7956 if test "$enableval" = yes; then
7957 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7959 ac_cv_use_slider
='wxUSE_SLIDER=no'
7964 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x
; then
7966 eval "DEFAULT_$LINE"
7971 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7975 eval "$ac_cv_use_slider"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_SLIDER" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7993 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7994 if test "${enable_spinbtn+set}" = set; then
7995 enableval
="$enable_spinbtn"
7997 if test "$enableval" = yes; then
7998 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8000 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8005 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x
; then
8007 eval "DEFAULT_$LINE"
8012 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8016 eval "$ac_cv_use_spinbtn"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8021 if test "$wxUSE_SPINBTN" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8034 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8035 if test "${enable_spinctrl+set}" = set; then
8036 enableval
="$enable_spinctrl"
8038 if test "$enableval" = yes; then
8039 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8041 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8046 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x
; then
8048 eval "DEFAULT_$LINE"
8053 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8057 eval "$ac_cv_use_spinctrl"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8062 if test "$wxUSE_SPINCTRL" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8075 # Check whether --enable-splitter or --disable-splitter was given.
8076 if test "${enable_splitter+set}" = set; then
8077 enableval
="$enable_splitter"
8079 if test "$enableval" = yes; then
8080 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8082 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8087 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x
; then
8089 eval "DEFAULT_$LINE"
8094 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8098 eval "$ac_cv_use_splitter"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8103 if test "$wxUSE_SPLITTER" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8116 # Check whether --enable-statbmp or --disable-statbmp was given.
8117 if test "${enable_statbmp+set}" = set; then
8118 enableval
="$enable_statbmp"
8120 if test "$enableval" = yes; then
8121 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8123 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8128 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x
; then
8130 eval "DEFAULT_$LINE"
8135 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8139 eval "$ac_cv_use_statbmp"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8144 if test "$wxUSE_STATBMP" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8157 # Check whether --enable-statbox or --disable-statbox was given.
8158 if test "${enable_statbox+set}" = set; then
8159 enableval
="$enable_statbox"
8161 if test "$enableval" = yes; then
8162 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8164 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8169 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x
; then
8171 eval "DEFAULT_$LINE"
8176 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8180 eval "$ac_cv_use_statbox"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8185 if test "$wxUSE_STATBOX" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8198 # Check whether --enable-statline or --disable-statline was given.
8199 if test "${enable_statline+set}" = set; then
8200 enableval
="$enable_statline"
8202 if test "$enableval" = yes; then
8203 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8205 ac_cv_use_statline
='wxUSE_STATLINE=no'
8210 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x
; then
8212 eval "DEFAULT_$LINE"
8217 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8221 eval "$ac_cv_use_statline"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8226 if test "$wxUSE_STATLINE" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8239 # Check whether --enable-stattext or --disable-stattext was given.
8240 if test "${enable_stattext+set}" = set; then
8241 enableval
="$enable_stattext"
8243 if test "$enableval" = yes; then
8244 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8246 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8251 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x
; then
8253 eval "DEFAULT_$LINE"
8258 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8262 eval "$ac_cv_use_stattext"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_STATTEXT" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8280 # Check whether --enable-statusbar or --disable-statusbar was given.
8281 if test "${enable_statusbar+set}" = set; then
8282 enableval
="$enable_statusbar"
8284 if test "$enableval" = yes; then
8285 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8287 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8292 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x
; then
8294 eval "DEFAULT_$LINE"
8299 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8303 eval "$ac_cv_use_statusbar"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8308 if test "$wxUSE_STATUSBAR" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8321 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8322 if test "${enable_tabdialog+set}" = set; then
8323 enableval
="$enable_tabdialog"
8325 if test "$enableval" = yes; then
8326 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8328 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8333 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x
; then
8335 eval "DEFAULT_$LINE"
8340 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8344 eval "$ac_cv_use_tabdialog"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8349 if test "$wxUSE_TABDIALOG" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8362 # Check whether --enable-textctrl or --disable-textctrl was given.
8363 if test "${enable_textctrl+set}" = set; then
8364 enableval
="$enable_textctrl"
8366 if test "$enableval" = yes; then
8367 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8369 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8374 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x
; then
8376 eval "DEFAULT_$LINE"
8381 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8385 eval "$ac_cv_use_textctrl"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8390 if test "$wxUSE_TEXTCTRL" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8403 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8404 if test "${enable_togglebtn+set}" = set; then
8405 enableval
="$enable_togglebtn"
8407 if test "$enableval" = yes; then
8408 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8410 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8415 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x
; then
8417 eval "DEFAULT_$LINE"
8422 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8426 eval "$ac_cv_use_togglebtn"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8431 if test "$wxUSE_TOGGLEBTN" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8444 # Check whether --enable-toolbar or --disable-toolbar was given.
8445 if test "${enable_toolbar+set}" = set; then
8446 enableval
="$enable_toolbar"
8448 if test "$enableval" = yes; then
8449 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8451 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8456 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x
; then
8458 eval "DEFAULT_$LINE"
8463 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8467 eval "$ac_cv_use_toolbar"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8472 if test "$wxUSE_TOOLBAR" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8485 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8486 if test "${enable_tbarnative+set}" = set; then
8487 enableval
="$enable_tbarnative"
8489 if test "$enableval" = yes; then
8490 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8492 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8497 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x
; then
8499 eval "DEFAULT_$LINE"
8504 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8508 eval "$ac_cv_use_tbarnative"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8513 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8526 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8527 if test "${enable_tbarsmpl+set}" = set; then
8528 enableval
="$enable_tbarsmpl"
8530 if test "$enableval" = yes; then
8531 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8533 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8538 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x
; then
8540 eval "DEFAULT_$LINE"
8545 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8549 eval "$ac_cv_use_tbarsmpl"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8554 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8567 # Check whether --enable-treectrl or --disable-treectrl was given.
8568 if test "${enable_treectrl+set}" = set; then
8569 enableval
="$enable_treectrl"
8571 if test "$enableval" = yes; then
8572 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8574 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8579 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x
; then
8581 eval "DEFAULT_$LINE"
8586 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8590 eval "$ac_cv_use_treectrl"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8595 if test "$wxUSE_TREECTRL" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8608 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8609 if test "${enable_tipwindow+set}" = set; then
8610 enableval
="$enable_tipwindow"
8612 if test "$enableval" = yes; then
8613 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8615 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8620 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x
; then
8622 eval "DEFAULT_$LINE"
8627 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8631 eval "$ac_cv_use_tipwindow"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8636 if test "$wxUSE_TIPWINDOW" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8649 # Check whether --enable-popupwin or --disable-popupwin was given.
8650 if test "${enable_popupwin+set}" = set; then
8651 enableval
="$enable_popupwin"
8653 if test "$enableval" = yes; then
8654 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8656 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8661 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x
; then
8663 eval "DEFAULT_$LINE"
8668 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8672 eval "$ac_cv_use_popupwin"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8677 if test "$wxUSE_POPUPWIN" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8692 # Check whether --enable-commondlg or --disable-commondlg was given.
8693 if test "${enable_commondlg+set}" = set; then
8694 enableval
="$enable_commondlg"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8699 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8704 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x
; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8715 eval "$ac_cv_use_commondlg"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_COMMONDLGS" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8733 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8734 if test "${enable_choicedlg+set}" = set; then
8735 enableval
="$enable_choicedlg"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8740 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8745 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x
; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8756 eval "$ac_cv_use_choicedlg"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_CHOICEDLG" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8774 # Check whether --enable-coldlg or --disable-coldlg was given.
8775 if test "${enable_coldlg+set}" = set; then
8776 enableval
="$enable_coldlg"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8781 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8786 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x
; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8797 eval "$ac_cv_use_coldlg"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_COLOURDLG" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8815 # Check whether --enable-filedlg or --disable-filedlg was given.
8816 if test "${enable_filedlg+set}" = set; then
8817 enableval
="$enable_filedlg"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8822 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8827 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x
; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8838 eval "$ac_cv_use_filedlg"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_FILEDLG" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8856 # Check whether --enable-finddlg or --disable-finddlg was given.
8857 if test "${enable_finddlg+set}" = set; then
8858 enableval
="$enable_finddlg"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8863 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8868 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x
; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8879 eval "$ac_cv_use_finddlg"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_FINDREPLDLG" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8897 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8898 if test "${enable_fontdlg+set}" = set; then
8899 enableval
="$enable_fontdlg"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8904 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8909 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x
; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8920 eval "$ac_cv_use_fontdlg"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_FONTDLG" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8938 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8939 if test "${enable_dirdlg+set}" = set; then
8940 enableval
="$enable_dirdlg"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8945 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8950 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x
; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8961 eval "$ac_cv_use_dirdlg"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_DIRDLG" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8979 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8980 if test "${enable_msgdlg+set}" = set; then
8981 enableval
="$enable_msgdlg"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8986 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8991 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x
; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9002 eval "$ac_cv_use_msgdlg"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_MSGDLG" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9020 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9021 if test "${enable_numberdlg+set}" = set; then
9022 enableval
="$enable_numberdlg"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9027 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9032 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x
; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9043 eval "$ac_cv_use_numberdlg"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_NUMBERDLG" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9061 # Check whether --enable-splash or --disable-splash was given.
9062 if test "${enable_splash+set}" = set; then
9063 enableval
="$enable_splash"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9068 ac_cv_use_splash
='wxUSE_SPLASH=no'
9073 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x
; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9084 eval "$ac_cv_use_splash"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_SPLASH" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9102 # Check whether --enable-textdlg or --disable-textdlg was given.
9103 if test "${enable_textdlg+set}" = set; then
9104 enableval
="$enable_textdlg"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9109 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9114 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x
; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9125 eval "$ac_cv_use_textdlg"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_TEXTDLG" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9143 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9144 if test "${enable_tipdlg+set}" = set; then
9145 enableval
="$enable_tipdlg"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9150 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9155 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x
; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9166 eval "$ac_cv_use_tipdlg"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_STARTUP_TIPS" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9184 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9185 if test "${enable_progressdlg+set}" = set; then
9186 enableval
="$enable_progressdlg"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9191 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9196 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x
; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9207 eval "$ac_cv_use_progressdlg"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_PROGRESSDLG" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9225 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9226 if test "${enable_wizarddlg+set}" = set; then
9227 enableval
="$enable_wizarddlg"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9232 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9237 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x
; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9248 eval "$ac_cv_use_wizarddlg"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_WIZARDDLG" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9268 # Check whether --enable-menus or --disable-menus was given.
9269 if test "${enable_menus+set}" = set; then
9270 enableval
="$enable_menus"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_menus
='wxUSE_MENUS=yes'
9275 ac_cv_use_menus
='wxUSE_MENUS=no'
9280 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9291 eval "$ac_cv_use_menus"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_MENUS" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9309 # Check whether --enable-miniframe or --disable-miniframe was given.
9310 if test "${enable_miniframe+set}" = set; then
9311 enableval
="$enable_miniframe"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9316 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9321 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9332 eval "$ac_cv_use_miniframe"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_MINIFRAME" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9350 # Check whether --enable-tooltips or --disable-tooltips was given.
9351 if test "${enable_tooltips+set}" = set; then
9352 enableval
="$enable_tooltips"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9357 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9362 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9373 eval "$ac_cv_use_tooltips"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_TOOLTIPS" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9391 # Check whether --enable-splines or --disable-splines was given.
9392 if test "${enable_splines+set}" = set; then
9393 enableval
="$enable_splines"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9398 ac_cv_use_splines
='wxUSE_SPLINES=no'
9403 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9414 eval "$ac_cv_use_splines"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_SPLINES" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9432 # Check whether --enable-validators or --disable-validators was given.
9433 if test "${enable_validators+set}" = set; then
9434 enableval
="$enable_validators"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9439 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9444 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9455 eval "$ac_cv_use_validators"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_VALIDATORS" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9473 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9474 if test "${enable_busyinfo+set}" = set; then
9475 enableval
="$enable_busyinfo"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9480 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9485 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9496 eval "$ac_cv_use_busyinfo"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_BUSYINFO" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9514 # Check whether --enable-joystick or --disable-joystick was given.
9515 if test "${enable_joystick+set}" = set; then
9516 enableval
="$enable_joystick"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9521 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9526 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9537 eval "$ac_cv_use_joystick"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_JOYSTICK" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9555 # Check whether --enable-metafile or --disable-metafile was given.
9556 if test "${enable_metafile+set}" = set; then
9557 enableval
="$enable_metafile"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9562 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9567 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9578 eval "$ac_cv_use_metafile"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_METAFILE" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9596 # Check whether --enable-dragimage or --disable-dragimage was given.
9597 if test "${enable_dragimage+set}" = set; then
9598 enableval
="$enable_dragimage"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9603 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9608 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9619 eval "$ac_cv_use_dragimage"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_DRAGIMAGE" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9637 # Check whether --enable-accessibility or --disable-accessibility was given.
9638 if test "${enable_accessibility+set}" = set; then
9639 enableval
="$enable_accessibility"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9644 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9649 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9660 eval "$ac_cv_use_accessibility"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_ACCESSIBILITY" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9680 # Check whether --enable-palette or --disable-palette was given.
9681 if test "${enable_palette+set}" = set; then
9682 enableval
="$enable_palette"
9684 if test "$enableval" = yes; then
9685 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9687 ac_cv_use_palette
='wxUSE_PALETTE=no'
9692 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9693 if test "x$LINE" != x
; then
9694 eval "DEFAULT_$LINE"
9699 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9703 eval "$ac_cv_use_palette"
9704 if test "$no_cache" != 1; then
9705 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9708 if test "$wxUSE_PALETTE" = yes; then
9709 echo "$as_me:$LINENO: result: yes" >&5
9710 echo "${ECHO_T}yes" >&6
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9721 # Check whether --enable-image or --disable-image was given.
9722 if test "${enable_image+set}" = set; then
9723 enableval
="$enable_image"
9725 if test "$enableval" = yes; then
9726 ac_cv_use_image
='wxUSE_IMAGE=yes'
9728 ac_cv_use_image
='wxUSE_IMAGE=no'
9733 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9734 if test "x$LINE" != x
; then
9735 eval "DEFAULT_$LINE"
9740 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9744 eval "$ac_cv_use_image"
9745 if test "$no_cache" != 1; then
9746 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9749 if test "$wxUSE_IMAGE" = yes; then
9750 echo "$as_me:$LINENO: result: yes" >&5
9751 echo "${ECHO_T}yes" >&6
9753 echo "$as_me:$LINENO: result: no" >&5
9754 echo "${ECHO_T}no" >&6
9759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9762 # Check whether --enable-gif or --disable-gif was given.
9763 if test "${enable_gif+set}" = set; then
9764 enableval
="$enable_gif"
9766 if test "$enableval" = yes; then
9767 ac_cv_use_gif
='wxUSE_GIF=yes'
9769 ac_cv_use_gif
='wxUSE_GIF=no'
9774 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x
; then
9776 eval "DEFAULT_$LINE"
9781 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9785 eval "$ac_cv_use_gif"
9786 if test "$no_cache" != 1; then
9787 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9790 if test "$wxUSE_GIF" = yes; then
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9794 echo "$as_me:$LINENO: result: no" >&5
9795 echo "${ECHO_T}no" >&6
9800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9803 # Check whether --enable-pcx or --disable-pcx was given.
9804 if test "${enable_pcx+set}" = set; then
9805 enableval
="$enable_pcx"
9807 if test "$enableval" = yes; then
9808 ac_cv_use_pcx
='wxUSE_PCX=yes'
9810 ac_cv_use_pcx
='wxUSE_PCX=no'
9815 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9816 if test "x$LINE" != x
; then
9817 eval "DEFAULT_$LINE"
9822 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9826 eval "$ac_cv_use_pcx"
9827 if test "$no_cache" != 1; then
9828 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9831 if test "$wxUSE_PCX" = yes; then
9832 echo "$as_me:$LINENO: result: yes" >&5
9833 echo "${ECHO_T}yes" >&6
9835 echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6
9841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9844 # Check whether --enable-iff or --disable-iff was given.
9845 if test "${enable_iff+set}" = set; then
9846 enableval
="$enable_iff"
9848 if test "$enableval" = yes; then
9849 ac_cv_use_iff
='wxUSE_IFF=yes'
9851 ac_cv_use_iff
='wxUSE_IFF=no'
9856 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9857 if test "x$LINE" != x
; then
9858 eval "DEFAULT_$LINE"
9863 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9867 eval "$ac_cv_use_iff"
9868 if test "$no_cache" != 1; then
9869 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9872 if test "$wxUSE_IFF" = yes; then
9873 echo "$as_me:$LINENO: result: yes" >&5
9874 echo "${ECHO_T}yes" >&6
9876 echo "$as_me:$LINENO: result: no" >&5
9877 echo "${ECHO_T}no" >&6
9882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9885 # Check whether --enable-pnm or --disable-pnm was given.
9886 if test "${enable_pnm+set}" = set; then
9887 enableval
="$enable_pnm"
9889 if test "$enableval" = yes; then
9890 ac_cv_use_pnm
='wxUSE_PNM=yes'
9892 ac_cv_use_pnm
='wxUSE_PNM=no'
9897 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9898 if test "x$LINE" != x
; then
9899 eval "DEFAULT_$LINE"
9904 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9908 eval "$ac_cv_use_pnm"
9909 if test "$no_cache" != 1; then
9910 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9913 if test "$wxUSE_PNM" = yes; then
9914 echo "$as_me:$LINENO: result: yes" >&5
9915 echo "${ECHO_T}yes" >&6
9917 echo "$as_me:$LINENO: result: no" >&5
9918 echo "${ECHO_T}no" >&6
9923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9924 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9926 # Check whether --enable-xpm or --disable-xpm was given.
9927 if test "${enable_xpm+set}" = set; then
9928 enableval
="$enable_xpm"
9930 if test "$enableval" = yes; then
9931 ac_cv_use_xpm
='wxUSE_XPM=yes'
9933 ac_cv_use_xpm
='wxUSE_XPM=no'
9938 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9939 if test "x$LINE" != x
; then
9940 eval "DEFAULT_$LINE"
9945 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9949 eval "$ac_cv_use_xpm"
9950 if test "$no_cache" != 1; then
9951 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9954 if test "$wxUSE_XPM" = yes; then
9955 echo "$as_me:$LINENO: result: yes" >&5
9956 echo "${ECHO_T}yes" >&6
9958 echo "$as_me:$LINENO: result: no" >&5
9959 echo "${ECHO_T}no" >&6
9964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9967 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9968 if test "${enable_ico_cur+set}" = set; then
9969 enableval
="$enable_ico_cur"
9971 if test "$enableval" = yes; then
9972 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9974 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9979 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9980 if test "x$LINE" != x
; then
9981 eval "DEFAULT_$LINE"
9986 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9990 eval "$ac_cv_use_ico_cur"
9991 if test "$no_cache" != 1; then
9992 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9995 if test "$wxUSE_ICO_CUR" = yes; then
9996 echo "$as_me:$LINENO: result: yes" >&5
9997 echo "${ECHO_T}yes" >&6
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10008 # Check whether --with-flavour or --without-flavour was given.
10009 if test "${with_flavour+set}" = set; then
10010 withval
="$with_flavour"
10011 WX_FLAVOUR
="$withval"
10017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10020 # Check whether --enable-official_build or --disable-official_build was given.
10021 if test "${enable_official_build+set}" = set; then
10022 enableval
="$enable_official_build"
10024 if test "$enableval" = yes; then
10025 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10027 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10032 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10033 if test "x$LINE" != x
; then
10034 eval "DEFAULT_$LINE"
10039 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10043 eval "$ac_cv_use_official_build"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10048 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10049 echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6
10052 echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6
10056 # Check whether --enable-vendor or --disable-vendor was given.
10057 if test "${enable_vendor+set}" = set; then
10058 enableval
="$enable_vendor"
10059 VENDOR
="$enableval"
10061 if test "x$VENDOR" = "x"; then
10068 echo "saving argument cache $wx_arg_cache_file"
10069 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10073 echo "$as_me:$LINENO: checking for toolkit" >&5
10074 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10076 # In Wine, we need to default to MSW, not GTK or MOTIF
10077 if test "$wxUSE_WINE" = "yes"; then
10078 DEFAULT_DEFAULT_wxUSE_GTK
=0
10079 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10080 DEFAULT_DEFAULT_wxUSE_MSW
=1
10084 if test "$wxUSE_GUI" = "yes"; then
10086 if test "$USE_BEOS" = 1; then
10087 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10088 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10089 { (exit 1); exit 1; }; }
10092 if test "$TOOLKIT_GIVEN" = 1; then
10093 for toolkit
in `echo $ALL_TOOLKITS`; do
10095 eval "value=\$${var}"
10096 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10099 for toolkit
in `echo $ALL_TOOLKITS`; do
10100 if test "$has_toolkit_in_cache" != 1; then
10101 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10103 var
=DEFAULT_wxUSE_
$toolkit
10105 eval "wxUSE_$toolkit=\$${var}"
10109 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10110 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10111 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10114 *-pc-os2_emx | *-pc-os2-emx )
10115 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10118 case "$NUM_TOOLKITS" in
10122 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10123 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10124 { (exit 1); exit 1; }; }
10127 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10128 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10129 { (exit 1); exit 1; }; }
10132 for toolkit
in `echo $ALL_TOOLKITS`; do
10134 eval "value=\$${var}"
10135 if test "x$value" != x
; then
10136 cache_var
=CACHE_
$toolkit
10137 eval "cache=\$${cache_var}"
10138 if test "$cache" = 1; then
10139 echo "$var=$value" >> ${wx_arg_cache_file}
10141 if test "$value" = 1; then
10142 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10143 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10144 echo "${ECHO_T}$toolkit_echo" >&6
10149 if test "x$host_alias" != "x"; then
10150 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10151 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10153 echo "$as_me:$LINENO: result: base only" >&5
10154 echo "${ECHO_T}base only" >&6
10159 doesnt_want_win32
=0
10162 if test "$wxUSE_MSW" = 1 ; then
10165 doesnt_want_win32
=1
10173 if test "$wxUSE_WINE" = "yes"; then
10178 LDFLAGS_GUI
="-mwindows"
10181 if test "$wants_win32" = 1 ; then
10184 cat >>confdefs.h
<<\_ACEOF
10185 #define __WIN32__ 1
10188 cat >>confdefs.h
<<\_ACEOF
10189 #define __WIN95__ 1
10192 cat >>confdefs.h
<<\_ACEOF
10193 #define __WINDOWS__ 1
10196 cat >>confdefs.h
<<\_ACEOF
10197 #define __GNUWIN32__ 1
10200 cat >>confdefs.h
<<\_ACEOF
10204 cat >>confdefs.h
<<\_ACEOF
10205 #define WINVER 0x0400
10209 if test "$doesnt_want_win32" = 1 ; then
10214 if test "$USE_UNIX" = 1 ; then
10216 cat >>confdefs.h
<<\_ACEOF
10223 cat >confcache
<<\_ACEOF
10224 # This file is a shell script that caches the results of configure
10225 # tests run on this system so they can be shared between configure
10226 # scripts and configure runs, see configure's option --config-cache.
10227 # It is not useful on other systems. If it contains results you don't
10228 # want to keep, you may remove or edit it.
10230 # config.status only pays attention to the cache file if you give it
10231 # the --recheck option to rerun configure.
10233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10235 # following values.
10239 # The following way of writing the cache mishandles newlines in values,
10240 # but we know of no workaround that is simple, portable, and efficient.
10241 # So, don't put newlines in cache variables' values.
10242 # Ultrix sh set writes to stderr and can't be redirected directly,
10243 # and sets the high bit in the cache file unless we assign to the vars.
10246 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10248 # `set' does not quote correctly, so add quotes (double-quote
10249 # substitution turns \\\\ into \\, and sed turns \\ into \).
10252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10255 # `set' quotes correctly as required by POSIX, so do not add quotes.
10257 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10266 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10268 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10269 if test -w $cache_file; then
10270 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10271 cat confcache
>$cache_file
10273 echo "not updating unwritable cache $cache_file"
10278 if test "$build" != "$host" ; then
10279 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10281 CXX
=$host_alias-c++
10283 RANLIB
=$host_alias-ranlib
10284 DLLTOOL
=$host_alias-dlltool
10285 RESCOMP
=$host_alias-windres
10286 STRIP
=$host_alias-strip
10288 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10289 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10290 { (exit 1); exit 1; }; }
10296 ac_cpp
='$CPP $CPPFLAGS'
10297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10300 if test -n "$ac_tool_prefix"; then
10301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10302 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10303 echo "$as_me:$LINENO: checking for $ac_word" >&5
10304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10305 if test "${ac_cv_prog_CC+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 if test -n "$CC"; then
10309 ac_cv_prog_CC
="$CC" # Let the user override the test.
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10328 if test -n "$CC"; then
10329 echo "$as_me:$LINENO: result: $CC" >&5
10330 echo "${ECHO_T}$CC" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10337 if test -z "$ac_cv_prog_CC"; then
10339 # Extract the first word of "gcc", so it can be a program name with args.
10340 set dummy gcc
; ac_word
=$2
10341 echo "$as_me:$LINENO: checking for $ac_word" >&5
10342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10344 echo $ECHO_N "(cached) $ECHO_C" >&6
10346 if test -n "$ac_ct_CC"; then
10347 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10350 for as_dir
in $PATH
10353 test -z "$as_dir" && as_dir
=.
10354 for ac_exec_ext
in '' $ac_executable_extensions; do
10355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10356 ac_cv_prog_ac_ct_CC
="gcc"
10357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10365 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10366 if test -n "$ac_ct_CC"; then
10367 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10368 echo "${ECHO_T}$ac_ct_CC" >&6
10370 echo "$as_me:$LINENO: result: no" >&5
10371 echo "${ECHO_T}no" >&6
10376 CC
="$ac_cv_prog_CC"
10379 if test -z "$CC"; then
10380 if test -n "$ac_tool_prefix"; then
10381 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10382 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10383 echo "$as_me:$LINENO: checking for $ac_word" >&5
10384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10385 if test "${ac_cv_prog_CC+set}" = set; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6
10388 if test -n "$CC"; then
10389 ac_cv_prog_CC
="$CC" # Let the user override the test.
10391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10392 for as_dir
in $PATH
10395 test -z "$as_dir" && as_dir
=.
10396 for ac_exec_ext
in '' $ac_executable_extensions; do
10397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10398 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10408 if test -n "$CC"; then
10409 echo "$as_me:$LINENO: result: $CC" >&5
10410 echo "${ECHO_T}$CC" >&6
10412 echo "$as_me:$LINENO: result: no" >&5
10413 echo "${ECHO_T}no" >&6
10417 if test -z "$ac_cv_prog_CC"; then
10419 # Extract the first word of "cc", so it can be a program name with args.
10420 set dummy cc
; ac_word
=$2
10421 echo "$as_me:$LINENO: checking for $ac_word" >&5
10422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10426 if test -n "$ac_ct_CC"; then
10427 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in $PATH
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_ac_ct_CC
="cc"
10437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10445 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10446 if test -n "$ac_ct_CC"; then
10447 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10448 echo "${ECHO_T}$ac_ct_CC" >&6
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10456 CC
="$ac_cv_prog_CC"
10460 if test -z "$CC"; then
10461 # Extract the first word of "cc", so it can be a program name with args.
10462 set dummy cc
; ac_word
=$2
10463 echo "$as_me:$LINENO: checking for $ac_word" >&5
10464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10465 if test "${ac_cv_prog_CC+set}" = set; then
10466 echo $ECHO_N "(cached) $ECHO_C" >&6
10468 if test -n "$CC"; then
10469 ac_cv_prog_CC
="$CC" # Let the user override the test.
10471 ac_prog_rejected
=no
10472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10473 for as_dir
in $PATH
10476 test -z "$as_dir" && as_dir
=.
10477 for ac_exec_ext
in '' $ac_executable_extensions; do
10478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10480 ac_prog_rejected
=yes
10484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10490 if test $ac_prog_rejected = yes; then
10491 # We found a bogon in the path, so make sure we never use it.
10492 set dummy
$ac_cv_prog_CC
10494 if test $# != 0; then
10495 # We chose a different compiler from the bogus one.
10496 # However, it has the same basename, so the bogon will be chosen
10497 # first if we set CC to just the basename; use the full file name.
10499 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10505 if test -n "$CC"; then
10506 echo "$as_me:$LINENO: result: $CC" >&5
10507 echo "${ECHO_T}$CC" >&6
10509 echo "$as_me:$LINENO: result: no" >&5
10510 echo "${ECHO_T}no" >&6
10514 if test -z "$CC"; then
10515 if test -n "$ac_tool_prefix"; then
10518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10519 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10520 echo "$as_me:$LINENO: checking for $ac_word" >&5
10521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10522 if test "${ac_cv_prog_CC+set}" = set; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 if test -n "$CC"; then
10526 ac_cv_prog_CC
="$CC" # Let the user override the test.
10528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10529 for as_dir
in $PATH
10532 test -z "$as_dir" && as_dir
=.
10533 for ac_exec_ext
in '' $ac_executable_extensions; do
10534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10535 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10545 if test -n "$CC"; then
10546 echo "$as_me:$LINENO: result: $CC" >&5
10547 echo "${ECHO_T}$CC" >&6
10549 echo "$as_me:$LINENO: result: no" >&5
10550 echo "${ECHO_T}no" >&6
10553 test -n "$CC" && break
10556 if test -z "$CC"; then
10560 # Extract the first word of "$ac_prog", so it can be a program name with args.
10561 set dummy
$ac_prog; ac_word
=$2
10562 echo "$as_me:$LINENO: checking for $ac_word" >&5
10563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 if test -n "$ac_ct_CC"; then
10568 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10571 for as_dir
in $PATH
10574 test -z "$as_dir" && as_dir
=.
10575 for ac_exec_ext
in '' $ac_executable_extensions; do
10576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_ac_ct_CC
="$ac_prog"
10578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10586 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10587 if test -n "$ac_ct_CC"; then
10588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10589 echo "${ECHO_T}$ac_ct_CC" >&6
10591 echo "$as_me:$LINENO: result: no" >&5
10592 echo "${ECHO_T}no" >&6
10595 test -n "$ac_ct_CC" && break
10604 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10605 See \`config.log' for more details." >&5
10606 echo "$as_me: error: no acceptable C compiler found in \$PATH
10607 See \`config.log' for more details." >&2;}
10608 { (exit 1); exit 1; }; }
10610 # Provide some information about the compiler.
10611 echo "$as_me:$LINENO:" \
10612 "checking for C compiler version" >&5
10613 ac_compiler
=`set X $ac_compile; echo $2`
10614 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10615 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }
10619 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10620 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }
10624 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10625 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }
10630 cat >conftest.
$ac_ext <<_ACEOF
10633 cat confdefs.h
>>conftest.
$ac_ext
10634 cat >>conftest.
$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10645 ac_clean_files_save
=$ac_clean_files
10646 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10647 # Try to create an executable without -o first, disregard a.out.
10648 # It will help us diagnose broken compilers, and finding out an intuition
10650 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10652 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10653 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10654 (eval $ac_link_default) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; then
10658 # Find the output, starting from the most likely. This scheme is
10659 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10662 # Be careful to initialize this variable, since it used to be cached.
10663 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10665 # b.out is created by i960 compilers.
10666 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10668 test -f "$ac_file" || continue
10670 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10673 # This is the source file.
10676 # We found the default executable, but exeext='' is most
10680 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10681 # FIXME: I believe we export ac_cv_exeext for Libtool,
10682 # but it would be cool to find out if it's true. Does anybody
10683 # maintain Libtool? --akim.
10684 export ac_cv_exeext
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.
$ac_ext >&5
10694 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10695 See \`config.log' for more details." >&5
10696 echo "$as_me: error: C compiler cannot create executables
10697 See \`config.log' for more details." >&2;}
10698 { (exit 77); exit 77; }; }
10701 ac_exeext
=$ac_cv_exeext
10702 echo "$as_me:$LINENO: result: $ac_file" >&5
10703 echo "${ECHO_T}$ac_file" >&6
10705 # Check the compiler produces executables we can run. If not, either
10706 # the compiler is broken, or we cross compile.
10707 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10708 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10709 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10710 # If not cross compiling, check that we can run a simple program.
10711 if test "$cross_compiling" != yes; then
10712 if { ac_try
='./$ac_file'
10713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714 (eval $ac_try) 2>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; }; then
10720 if test "$cross_compiling" = maybe
; then
10721 cross_compiling
=yes
10723 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10724 If you meant to cross compile, use \`--host'.
10725 See \`config.log' for more details." >&5
10726 echo "$as_me: error: cannot run C compiled programs.
10727 If you meant to cross compile, use \`--host'.
10728 See \`config.log' for more details." >&2;}
10729 { (exit 1); exit 1; }; }
10733 echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6
10736 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10737 ac_clean_files
=$ac_clean_files_save
10738 # Check the compiler produces executables we can run. If not, either
10739 # the compiler is broken, or we cross compile.
10740 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10741 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10742 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10743 echo "${ECHO_T}$cross_compiling" >&6
10745 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10746 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10748 (eval $ac_link) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; then
10752 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10753 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10754 # work properly (i.e., refer to `conftest.exe'), while it won't with
10756 for ac_file
in conftest.exe conftest conftest.
*; do
10757 test -f "$ac_file" || continue
10759 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10760 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10761 export ac_cv_exeext
10767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10768 See \`config.log' for more details." >&5
10769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10770 See \`config.log' for more details." >&2;}
10771 { (exit 1); exit 1; }; }
10774 rm -f conftest
$ac_cv_exeext
10775 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10776 echo "${ECHO_T}$ac_cv_exeext" >&6
10778 rm -f conftest.
$ac_ext
10779 EXEEXT
=$ac_cv_exeext
10781 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10783 if test "${ac_cv_objext+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 cat >conftest.
$ac_ext <<_ACEOF
10789 cat confdefs.h
>>conftest.
$ac_ext
10790 cat >>conftest.
$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10801 rm -f conftest.o conftest.obj
10802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10803 (eval $ac_compile) 2>&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; then
10807 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10809 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10810 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10815 echo "$as_me: failed program was:" >&5
10816 sed 's/^/| /' conftest.
$ac_ext >&5
10818 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10819 See \`config.log' for more details." >&5
10820 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10821 See \`config.log' for more details." >&2;}
10822 { (exit 1); exit 1; }; }
10825 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10827 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10828 echo "${ECHO_T}$ac_cv_objext" >&6
10829 OBJEXT
=$ac_cv_objext
10831 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10832 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10833 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 cat >conftest.
$ac_ext <<_ACEOF
10839 cat confdefs.h
>>conftest.
$ac_ext
10840 cat >>conftest.
$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10854 rm -f conftest.
$ac_objext
10855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10856 (eval $ac_compile) 2>conftest.er1
10858 grep -v '^ *+' conftest.er1
>conftest.err
10860 cat conftest.err
>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } &&
10863 { ac_try
='test -z "$ac_c_werror_flag"
10864 || test ! -s conftest.err'
10865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10866 (eval $ac_try) 2>&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; } &&
10870 { ac_try
='test -s conftest.$ac_objext'
10871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10872 (eval $ac_try) 2>&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); }; }; then
10876 ac_compiler_gnu
=yes
10878 echo "$as_me: failed program was:" >&5
10879 sed 's/^/| /' conftest.
$ac_ext >&5
10883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10884 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10887 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10888 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10889 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10890 ac_test_CFLAGS
=${CFLAGS+set}
10891 ac_save_CFLAGS
=$CFLAGS
10893 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10894 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10895 if test "${ac_cv_prog_cc_g+set}" = set; then
10896 echo $ECHO_N "(cached) $ECHO_C" >&6
10898 cat >conftest.
$ac_ext <<_ACEOF
10901 cat confdefs.h
>>conftest.
$ac_ext
10902 cat >>conftest.
$ac_ext <<_ACEOF
10903 /* end confdefs.h. */
10913 rm -f conftest.
$ac_objext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10915 (eval $ac_compile) 2>conftest.er1
10917 grep -v '^ *+' conftest.er1
>conftest.err
10919 cat conftest.err
>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } &&
10922 { ac_try
='test -z "$ac_c_werror_flag"
10923 || test ! -s conftest.err'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; } &&
10929 { ac_try
='test -s conftest.$ac_objext'
10930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10931 (eval $ac_try) 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }; }; then
10935 ac_cv_prog_cc_g
=yes
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.
$ac_ext >&5
10942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10944 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10945 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10946 if test "$ac_test_CFLAGS" = set; then
10947 CFLAGS
=$ac_save_CFLAGS
10948 elif test $ac_cv_prog_cc_g = yes; then
10949 if test "$GCC" = yes; then
10955 if test "$GCC" = yes; then
10961 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10962 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10963 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10966 ac_cv_prog_cc_stdc
=no
10968 cat >conftest.
$ac_ext <<_ACEOF
10971 cat confdefs.h
>>conftest.
$ac_ext
10972 cat >>conftest.
$ac_ext <<_ACEOF
10973 /* end confdefs.h. */
10974 #include <stdarg.h>
10976 #include <sys/types.h>
10977 #include <sys/stat.h>
10978 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10979 struct buf { int x; };
10980 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10981 static char *e (p, i)
10987 static char *f (char * (*g) (char **, int), char **p, ...)
10992 s = g (p, va_arg (v,int));
10997 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10998 function prototypes and stuff, but not '\xHH' hex character constants.
10999 These don't provoke an error unfortunately, instead are silently treated
11000 as 'x'. The following induces an error, until -std1 is added to get
11001 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11002 array size at least. It's necessary to write '\x00'==0 to get something
11003 that's true only with -std1. */
11004 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11006 int test (int i, double x);
11007 struct s1 {int (*f) (int a);};
11008 struct s2 {int (*f) (double a);};
11009 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11015 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11020 # Don't try gcc -ansi; that turns off useful extensions and
11021 # breaks some systems' header files.
11022 # AIX -qlanglvl=ansi
11023 # Ultrix and OSF/1 -std1
11024 # HP-UX 10.20 and later -Ae
11025 # HP-UX older versions -Aa -D_HPUX_SOURCE
11026 # SVR4 -Xc -D__EXTENSIONS__
11027 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11029 CC
="$ac_save_CC $ac_arg"
11030 rm -f conftest.
$ac_objext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11032 (eval $ac_compile) 2>conftest.er1
11034 grep -v '^ *+' conftest.er1
>conftest.err
11036 cat conftest.err
>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } &&
11039 { ac_try
='test -z "$ac_c_werror_flag"
11040 || test ! -s conftest.err'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try
='test -s conftest.$ac_objext'
11047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048 (eval $ac_try) 2>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }; }; then
11052 ac_cv_prog_cc_stdc
=$ac_arg
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.
$ac_ext >&5
11059 rm -f conftest.err conftest.
$ac_objext
11061 rm -f conftest.
$ac_ext conftest.
$ac_objext
11066 case "x$ac_cv_prog_cc_stdc" in
11068 echo "$as_me:$LINENO: result: none needed" >&5
11069 echo "${ECHO_T}none needed" >&6 ;;
11071 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11072 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11073 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11076 # Some people use a C++ compiler to compile C. Since we use `exit',
11077 # in C++ we need to declare it. In case someone uses the same compiler
11078 # for both compiling C and C++ we need to have the C++ compiler decide
11079 # the declaration of exit, since it's the most demanding environment.
11080 cat >conftest.
$ac_ext <<_ACEOF
11081 #ifndef __cplusplus
11085 rm -f conftest.
$ac_objext
11086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11087 (eval $ac_compile) 2>conftest.er1
11089 grep -v '^ *+' conftest.er1
>conftest.err
11091 cat conftest.err
>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); } &&
11094 { ac_try
='test -z "$ac_c_werror_flag"
11095 || test ! -s conftest.err'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; } &&
11101 { ac_try
='test -s conftest.$ac_objext'
11102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11103 (eval $ac_try) 2>&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }; }; then
11107 for ac_declaration
in \
11109 'extern "C" void std::exit (int) throw (); using std::exit;' \
11110 'extern "C" void std::exit (int); using std::exit;' \
11111 'extern "C" void exit (int) throw ();' \
11112 'extern "C" void exit (int);' \
11115 cat >conftest.
$ac_ext <<_ACEOF
11118 cat confdefs.h
>>conftest.
$ac_ext
11119 cat >>conftest.
$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11122 #include <stdlib.h>
11131 rm -f conftest.
$ac_objext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11133 (eval $ac_compile) 2>conftest.er1
11135 grep -v '^ *+' conftest.er1
>conftest.err
11137 cat conftest.err
>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try
='test -z "$ac_c_werror_flag"
11141 || test ! -s conftest.err'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } &&
11147 { ac_try
='test -s conftest.$ac_objext'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.
$ac_ext >&5
11160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11161 cat >conftest.
$ac_ext <<_ACEOF
11164 cat confdefs.h
>>conftest.
$ac_ext
11165 cat >>conftest.
$ac_ext <<_ACEOF
11166 /* end confdefs.h. */
11176 rm -f conftest.
$ac_objext
11177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11178 (eval $ac_compile) 2>conftest.er1
11180 grep -v '^ *+' conftest.er1
>conftest.err
11182 cat conftest.err
>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); } &&
11185 { ac_try
='test -z "$ac_c_werror_flag"
11186 || test ! -s conftest.err'
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; } &&
11192 { ac_try
='test -s conftest.$ac_objext'
11193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11194 (eval $ac_try) 2>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); }; }; then
11200 echo "$as_me: failed program was:" >&5
11201 sed 's/^/| /' conftest.
$ac_ext >&5
11204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11207 if test -n "$ac_declaration"; then
11208 echo '#ifdef __cplusplus' >>confdefs.h
11209 echo $ac_declaration >>confdefs.h
11210 echo '#endif' >>confdefs.h
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.
$ac_ext >&5
11218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11220 ac_cpp
='$CPP $CPPFLAGS'
11221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11228 ac_cpp
='$CPP $CPPFLAGS'
11229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11232 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11233 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11234 # On Suns, sometimes $CPP names a directory.
11235 if test -n "$CPP" && test -d "$CPP"; then
11238 if test -z "$CPP"; then
11239 if test "${ac_cv_prog_CPP+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 # Double quotes because CPP needs to be expanded
11243 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11245 ac_preproc_ok
=false
11246 for ac_c_preproc_warn_flag
in '' yes
11248 # Use a header file that comes with gcc, so configuring glibc
11249 # with a fresh cross-compiler works.
11250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11251 # <limits.h> exists even on freestanding compilers.
11252 # On the NeXT, cc -E runs the code through the compiler's parser,
11253 # not just through cpp. "Syntax error" is here to catch this case.
11254 cat >conftest.
$ac_ext <<_ACEOF
11257 cat confdefs.h
>>conftest.
$ac_ext
11258 cat >>conftest.
$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11261 # include <limits.h>
11263 # include <assert.h>
11267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11268 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11270 grep -v '^ *+' conftest.er1
>conftest.err
11272 cat conftest.err
>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } >/dev
/null
; then
11275 if test -s conftest.err
; then
11276 ac_cpp_err
=$ac_c_preproc_warn_flag
11277 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11284 if test -z "$ac_cpp_err"; then
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.
$ac_ext >&5
11290 # Broken: fails on valid input.
11293 rm -f conftest.err conftest.
$ac_ext
11295 # OK, works on sane cases. Now check whether non-existent headers
11296 # can be detected and how.
11297 cat >conftest.
$ac_ext <<_ACEOF
11300 cat confdefs.h
>>conftest.
$ac_ext
11301 cat >>conftest.
$ac_ext <<_ACEOF
11302 /* end confdefs.h. */
11303 #include <ac_nonexistent.h>
11305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11308 grep -v '^ *+' conftest.er1
>conftest.err
11310 cat conftest.err
>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } >/dev
/null
; then
11313 if test -s conftest.err
; then
11314 ac_cpp_err
=$ac_c_preproc_warn_flag
11315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11322 if test -z "$ac_cpp_err"; then
11323 # Broken: success on invalid input.
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.
$ac_ext >&5
11329 # Passes both tests.
11333 rm -f conftest.err conftest.
$ac_ext
11336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11337 rm -f conftest.err conftest.
$ac_ext
11338 if $ac_preproc_ok; then
11343 ac_cv_prog_CPP
=$CPP
11346 CPP
=$ac_cv_prog_CPP
11348 ac_cv_prog_CPP
=$CPP
11350 echo "$as_me:$LINENO: result: $CPP" >&5
11351 echo "${ECHO_T}$CPP" >&6
11352 ac_preproc_ok
=false
11353 for ac_c_preproc_warn_flag
in '' yes
11355 # Use a header file that comes with gcc, so configuring glibc
11356 # with a fresh cross-compiler works.
11357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11358 # <limits.h> exists even on freestanding compilers.
11359 # On the NeXT, cc -E runs the code through the compiler's parser,
11360 # not just through cpp. "Syntax error" is here to catch this case.
11361 cat >conftest.
$ac_ext <<_ACEOF
11364 cat confdefs.h
>>conftest.
$ac_ext
11365 cat >>conftest.
$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11368 # include <limits.h>
11370 # include <assert.h>
11374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11377 grep -v '^ *+' conftest.er1
>conftest.err
11379 cat conftest.err
>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } >/dev
/null
; then
11382 if test -s conftest.err
; then
11383 ac_cpp_err
=$ac_c_preproc_warn_flag
11384 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11391 if test -z "$ac_cpp_err"; then
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.
$ac_ext >&5
11397 # Broken: fails on valid input.
11400 rm -f conftest.err conftest.
$ac_ext
11402 # OK, works on sane cases. Now check whether non-existent headers
11403 # can be detected and how.
11404 cat >conftest.
$ac_ext <<_ACEOF
11407 cat confdefs.h
>>conftest.
$ac_ext
11408 cat >>conftest.
$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11410 #include <ac_nonexistent.h>
11412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11415 grep -v '^ *+' conftest.er1
>conftest.err
11417 cat conftest.err
>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } >/dev
/null
; then
11420 if test -s conftest.err
; then
11421 ac_cpp_err
=$ac_c_preproc_warn_flag
11422 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11429 if test -z "$ac_cpp_err"; then
11430 # Broken: success on invalid input.
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.
$ac_ext >&5
11436 # Passes both tests.
11440 rm -f conftest.err conftest.
$ac_ext
11443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11444 rm -f conftest.err conftest.
$ac_ext
11445 if $ac_preproc_ok; then
11448 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11449 See \`config.log' for more details." >&5
11450 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11451 See \`config.log' for more details." >&2;}
11452 { (exit 1); exit 1; }; }
11456 ac_cpp
='$CPP $CPPFLAGS'
11457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11462 echo "$as_me:$LINENO: checking for egrep" >&5
11463 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11464 if test "${ac_cv_prog_egrep+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11468 then ac_cv_prog_egrep
='grep -E'
11469 else ac_cv_prog_egrep
='egrep'
11472 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11473 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11474 EGREP
=$ac_cv_prog_egrep
11477 if test $ac_cv_c_compiler_gnu = yes; then
11478 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11479 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11480 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 ac_pattern
="Autoconf.*'x'"
11484 cat >conftest.
$ac_ext <<_ACEOF
11487 cat confdefs.h
>>conftest.
$ac_ext
11488 cat >>conftest.
$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11494 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11495 ac_cv_prog_gcc_traditional
=yes
11497 ac_cv_prog_gcc_traditional
=no
11502 if test $ac_cv_prog_gcc_traditional = no
; then
11503 cat >conftest.
$ac_ext <<_ACEOF
11506 cat confdefs.h
>>conftest.
$ac_ext
11507 cat >>conftest.
$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 #include <termio.h>
11512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11513 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11514 ac_cv_prog_gcc_traditional
=yes
11520 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11521 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11522 if test $ac_cv_prog_gcc_traditional = yes; then
11523 CC
="$CC -traditional"
11531 ac_cpp
='$CXXCPP $CPPFLAGS'
11532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11537 CXXFLAGS
=${CXXFLAGS:=}
11539 ac_cpp
='$CXXCPP $CPPFLAGS'
11540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11543 if test -n "$ac_tool_prefix"; then
11544 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11547 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11548 echo "$as_me:$LINENO: checking for $ac_word" >&5
11549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11550 if test "${ac_cv_prog_CXX+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 if test -n "$CXX"; then
11554 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11557 for as_dir
in $PATH
11560 test -z "$as_dir" && as_dir
=.
11561 for ac_exec_ext
in '' $ac_executable_extensions; do
11562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11563 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11572 CXX
=$ac_cv_prog_CXX
11573 if test -n "$CXX"; then
11574 echo "$as_me:$LINENO: result: $CXX" >&5
11575 echo "${ECHO_T}$CXX" >&6
11577 echo "$as_me:$LINENO: result: no" >&5
11578 echo "${ECHO_T}no" >&6
11581 test -n "$CXX" && break
11584 if test -z "$CXX"; then
11586 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11588 # Extract the first word of "$ac_prog", so it can be a program name with args.
11589 set dummy
$ac_prog; ac_word
=$2
11590 echo "$as_me:$LINENO: checking for $ac_word" >&5
11591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11592 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 if test -n "$ac_ct_CXX"; then
11596 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11599 for as_dir
in $PATH
11602 test -z "$as_dir" && as_dir
=.
11603 for ac_exec_ext
in '' $ac_executable_extensions; do
11604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11605 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11614 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11615 if test -n "$ac_ct_CXX"; then
11616 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11617 echo "${ECHO_T}$ac_ct_CXX" >&6
11619 echo "$as_me:$LINENO: result: no" >&5
11620 echo "${ECHO_T}no" >&6
11623 test -n "$ac_ct_CXX" && break
11625 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11631 # Provide some information about the compiler.
11632 echo "$as_me:$LINENO:" \
11633 "checking for C++ compiler version" >&5
11634 ac_compiler
=`set X $ac_compile; echo $2`
11635 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11636 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }
11640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11641 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); }
11645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11646 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }
11651 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11652 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11653 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 cat >conftest.
$ac_ext <<_ACEOF
11659 cat confdefs.h
>>conftest.
$ac_ext
11660 cat >>conftest.
$ac_ext <<_ACEOF
11661 /* end confdefs.h. */
11674 rm -f conftest.
$ac_objext
11675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11676 (eval $ac_compile) 2>conftest.er1
11678 grep -v '^ *+' conftest.er1
>conftest.err
11680 cat conftest.err
>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } &&
11683 { ac_try
='test -z "$ac_cxx_werror_flag"
11684 || test ! -s conftest.err'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try
='test -s conftest.$ac_objext'
11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11692 (eval $ac_try) 2>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); }; }; then
11696 ac_compiler_gnu
=yes
11698 echo "$as_me: failed program was:" >&5
11699 sed 's/^/| /' conftest.
$ac_ext >&5
11703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11704 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11707 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11708 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11709 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11710 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11711 ac_save_CXXFLAGS
=$CXXFLAGS
11713 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11714 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11715 if test "${ac_cv_prog_cxx_g+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 cat >conftest.
$ac_ext <<_ACEOF
11721 cat confdefs.h
>>conftest.
$ac_ext
11722 cat >>conftest.
$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11733 rm -f conftest.
$ac_objext
11734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11735 (eval $ac_compile) 2>conftest.er1
11737 grep -v '^ *+' conftest.er1
>conftest.err
11739 cat conftest.err
>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } &&
11742 { ac_try
='test -z "$ac_cxx_werror_flag"
11743 || test ! -s conftest.err'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; } &&
11749 { ac_try
='test -s conftest.$ac_objext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 ac_cv_prog_cxx_g
=yes
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.
$ac_ext >&5
11760 ac_cv_prog_cxx_g
=no
11762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11764 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11765 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11766 if test "$ac_test_CXXFLAGS" = set; then
11767 CXXFLAGS
=$ac_save_CXXFLAGS
11768 elif test $ac_cv_prog_cxx_g = yes; then
11769 if test "$GXX" = yes; then
11775 if test "$GXX" = yes; then
11781 for ac_declaration
in \
11783 'extern "C" void std::exit (int) throw (); using std::exit;' \
11784 'extern "C" void std::exit (int); using std::exit;' \
11785 'extern "C" void exit (int) throw ();' \
11786 'extern "C" void exit (int);' \
11789 cat >conftest.
$ac_ext <<_ACEOF
11792 cat confdefs.h
>>conftest.
$ac_ext
11793 cat >>conftest.
$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11796 #include <stdlib.h>
11805 rm -f conftest.
$ac_objext
11806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11807 (eval $ac_compile) 2>conftest.er1
11809 grep -v '^ *+' conftest.er1
>conftest.err
11811 cat conftest.err
>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try
='test -z "$ac_cxx_werror_flag"
11815 || test ! -s conftest.err'
11816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817 (eval $ac_try) 2>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; } &&
11821 { ac_try
='test -s conftest.$ac_objext'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; }; then
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.
$ac_ext >&5
11834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11835 cat >conftest.
$ac_ext <<_ACEOF
11838 cat confdefs.h
>>conftest.
$ac_ext
11839 cat >>conftest.
$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11850 rm -f conftest.
$ac_objext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11852 (eval $ac_compile) 2>conftest.er1
11854 grep -v '^ *+' conftest.er1
>conftest.err
11856 cat conftest.err
>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try
='test -z "$ac_cxx_werror_flag"
11860 || test ! -s conftest.err'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; } &&
11866 { ac_try
='test -s conftest.$ac_objext'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; }; then
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.
$ac_ext >&5
11878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11881 if test -n "$ac_declaration"; then
11882 echo '#ifdef __cplusplus' >>confdefs.h
11883 echo $ac_declaration >>confdefs.h
11884 echo '#endif' >>confdefs.h
11888 ac_cpp
='$CXXCPP $CPPFLAGS'
11889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11895 ac_cpp
='$CPP $CPPFLAGS'
11896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11901 if test -n "$ac_tool_prefix"; then
11902 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11903 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11904 echo "$as_me:$LINENO: checking for $ac_word" >&5
11905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11906 if test "${ac_cv_prog_RANLIB+set}" = set; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 if test -n "$RANLIB"; then
11910 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11913 for as_dir
in $PATH
11916 test -z "$as_dir" && as_dir
=.
11917 for ac_exec_ext
in '' $ac_executable_extensions; do
11918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11919 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11928 RANLIB
=$ac_cv_prog_RANLIB
11929 if test -n "$RANLIB"; then
11930 echo "$as_me:$LINENO: result: $RANLIB" >&5
11931 echo "${ECHO_T}$RANLIB" >&6
11933 echo "$as_me:$LINENO: result: no" >&5
11934 echo "${ECHO_T}no" >&6
11938 if test -z "$ac_cv_prog_RANLIB"; then
11939 ac_ct_RANLIB
=$RANLIB
11940 # Extract the first word of "ranlib", so it can be a program name with args.
11941 set dummy ranlib
; ac_word
=$2
11942 echo "$as_me:$LINENO: checking for $ac_word" >&5
11943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11944 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 if test -n "$ac_ct_RANLIB"; then
11948 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11951 for as_dir
in $PATH
11954 test -z "$as_dir" && as_dir
=.
11955 for ac_exec_ext
in '' $ac_executable_extensions; do
11956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11957 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11964 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11967 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11968 if test -n "$ac_ct_RANLIB"; then
11969 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11970 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11972 echo "$as_me:$LINENO: result: no" >&5
11973 echo "${ECHO_T}no" >&6
11976 RANLIB
=$ac_ct_RANLIB
11978 RANLIB
="$ac_cv_prog_RANLIB"
11982 # Extract the first word of "ar", so it can be a program name with args.
11983 set dummy
ar; ac_word
=$2
11984 echo "$as_me:$LINENO: checking for $ac_word" >&5
11985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11986 if test "${ac_cv_prog_AR+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 if test -n "$AR"; then
11990 ac_cv_prog_AR
="$AR" # Let the user override the test.
11992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11993 for as_dir
in $PATH
11996 test -z "$as_dir" && as_dir
=.
11997 for ac_exec_ext
in '' $ac_executable_extensions; do
11998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 if test -n "$AR"; then
12010 echo "$as_me:$LINENO: result: $AR" >&5
12011 echo "${ECHO_T}$AR" >&6
12013 echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6
12017 if test "x$AR" = "x" ; then
12018 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12019 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12020 { (exit 1); exit 1; }; }
12023 # Find a good install program. We prefer a C program (faster),
12024 # so one script is as good as another. But avoid the broken or
12025 # incompatible versions:
12026 # SysV /etc/install, /usr/sbin/install
12027 # SunOS /usr/etc/install
12028 # IRIX /sbin/install
12030 # AmigaOS /C/install, which installs bootblocks on floppy discs
12031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12034 # OS/2's system install, which has a completely different semantic
12035 # ./install, which can be erroneously created by make from ./install.sh.
12036 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12037 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12038 if test -z "$INSTALL"; then
12039 if test "${ac_cv_path_install+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12043 for as_dir
in $PATH
12046 test -z "$as_dir" && as_dir
=.
12047 # Account for people who put trailing slashes in PATH elements.
12049 .
/ | .
// | /cC
/* | \
12050 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12051 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12054 # OSF1 and SCO ODT 3.0 have their own names for install.
12055 # Don't use installbsd from OSF since it installs stuff as root
12057 for ac_prog
in ginstall scoinst
install; do
12058 for ac_exec_ext
in '' $ac_executable_extensions; do
12059 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12060 if test $ac_prog = install &&
12061 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12062 # AIX install. It has an incompatible calling convention.
12064 elif test $ac_prog = install &&
12065 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12066 # program-specific install script used by HP pwplus--don't use.
12069 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12081 if test "${ac_cv_path_install+set}" = set; then
12082 INSTALL
=$ac_cv_path_install
12084 # As a last resort, use the slow shell script. We don't cache a
12085 # path for INSTALL within a source directory, because that will
12086 # break other packages using the cache if that directory is
12087 # removed, or if the path is relative.
12088 INSTALL
=$ac_install_sh
12091 echo "$as_me:$LINENO: result: $INSTALL" >&5
12092 echo "${ECHO_T}$INSTALL" >&6
12094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12095 # It thinks the first close brace ends the variable substitution.
12096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12100 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12106 ?
:* ) # Drive letter, considered as absolute.
12109 INSTALL
=`pwd`/${INSTALL} ;;
12115 powerpc
-*-darwin* )
12116 INSTALL_PROGRAM
="cp -fp"
12117 INSTALL_DATA
="cp -fp"
12123 # Extract the first word of "strip", so it can be a program name with args.
12124 set dummy strip
; ac_word
=$2
12125 echo "$as_me:$LINENO: checking for $ac_word" >&5
12126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12127 if test "${ac_cv_prog_STRIP+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 if test -n "$STRIP"; then
12131 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12134 for as_dir
in $PATH
12137 test -z "$as_dir" && as_dir
=.
12138 for ac_exec_ext
in '' $ac_executable_extensions; do
12139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12140 ac_cv_prog_STRIP
="strip"
12141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12147 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12150 STRIP
=$ac_cv_prog_STRIP
12151 if test -n "$STRIP"; then
12152 echo "$as_me:$LINENO: result: $STRIP" >&5
12153 echo "${ECHO_T}$STRIP" >&6
12155 echo "$as_me:$LINENO: result: no" >&5
12156 echo "${ECHO_T}no" >&6
12160 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12161 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12162 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12167 egrep -s GNU
> /dev
/null
); then
12168 wx_cv_prog_makeisgnu
="yes"
12170 wx_cv_prog_makeisgnu
="no"
12174 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12175 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12177 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12185 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12186 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12187 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12188 if test "${wx_cv_prog_makevpath+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 cat - << EOF > confMake
12198 if test ! -d sub
; then
12201 echo dummy
> sub
/file
12202 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12204 rm -f sub
/file check final_file confMake
12206 if test "$RESULT" = 0; then
12207 wx_cv_prog_makevpath
="yes"
12209 wx_cv_prog_makevpath
="no"
12213 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12214 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12216 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12217 { { echo "$as_me:$LINENO: error:
12218 You need a make-utility that is able to use the variable
12220 If your version of make does not support VPATH correctly,
12221 please install GNU-make (possibly as gmake), and start
12222 configure with the following command:
12223 export MAKE=gmake; ./configure for sh-type shells
12224 setenv MAKE gmake; ./configure for csh-type shells
12225 Also please do remember to use gmake in this case every time
12226 you are trying to compile.
12228 echo "$as_me: error:
12229 You need a make-utility that is able to use the variable
12231 If your version of make does not support VPATH correctly,
12232 please install GNU-make (possibly as gmake), and start
12233 configure with the following command:
12234 export MAKE=gmake; ./configure for sh-type shells
12235 setenv MAKE gmake; ./configure for csh-type shells
12236 Also please do remember to use gmake in this case every time
12237 you are trying to compile.
12239 { (exit 1); exit 1; }; }
12241 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12242 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12244 if test "$LN_S" = "ln -s"; then
12245 echo "$as_me:$LINENO: result: yes" >&5
12246 echo "${ECHO_T}yes" >&6
12248 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12249 echo "${ECHO_T}no, using $LN_S" >&6
12255 *-pc-os2_emx | *-pc-os2-emx )
12256 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12257 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12258 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12259 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 ac_check_lib_save_LIBS
=$LIBS
12263 LIBS
="-lcExt $LIBS"
12264 cat >conftest.
$ac_ext <<_ACEOF
12267 cat confdefs.h
>>conftest.
$ac_ext
12268 cat >>conftest.
$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12271 /* Override any gcc2 internal prototype to avoid an error. */
12275 /* We use char because int might match the return type of a gcc2
12276 builtin and then its argument prototype would still apply. */
12286 rm -f conftest.
$ac_objext conftest
$ac_exeext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12288 (eval $ac_link) 2>conftest.er1
12290 grep -v '^ *+' conftest.er1
>conftest.err
12292 cat conftest.err
>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try
='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try
='test -s conftest$ac_exeext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 ac_cv_lib_cExt_drand48
=yes
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.
$ac_ext >&5
12313 ac_cv_lib_cExt_drand48
=no
12315 rm -f conftest.err conftest.
$ac_objext \
12316 conftest
$ac_exeext conftest.
$ac_ext
12317 LIBS
=$ac_check_lib_save_LIBS
12319 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12320 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12321 if test $ac_cv_lib_cExt_drand48 = yes; then
12322 LIBS
="$LIBS -lcExt"
12326 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12328 echo "$as_me:$LINENO: checking for gcc version" >&5
12329 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12330 if test "${wx_cv_gccversion+set}" = set; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 cat >conftest.
$ac_ext <<_ACEOF
12337 cat confdefs.h
>>conftest.
$ac_ext
12338 cat >>conftest.
$ac_ext <<_ACEOF
12339 /* end confdefs.h. */
12353 rm -f conftest.
$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>conftest.er1
12357 grep -v '^ *+' conftest.er1
>conftest.err
12359 cat conftest.err
>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try
='test -z "$ac_c_werror_flag"
12363 || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try
='test -s conftest.$ac_objext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12376 cat >conftest.
$ac_ext <<_ACEOF
12379 cat confdefs.h
>>conftest.
$ac_ext
12380 cat >>conftest.
$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12387 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12388 #error intermediate gcc
12395 rm -f conftest.
$ac_objext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12397 (eval $ac_compile) 2>conftest.er1
12399 grep -v '^ *+' conftest.er1
>conftest.err
12401 cat conftest.err
>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try
='test -z "$ac_c_werror_flag"
12405 || test ! -s conftest.err'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; } &&
12411 { ac_try
='test -s conftest.$ac_objext'
12412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12413 (eval $ac_try) 2>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); }; }; then
12418 wx_cv_gccversion
=Innotek
12421 echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.
$ac_ext >&5
12429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.
$ac_ext >&5
12440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12443 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12444 echo "${ECHO_T}$wx_cv_gccversion" >&6
12445 if test "$wx_cv_gccversion" = "2"; then
12446 LIBS
="$LIBS -lstdcpp"
12447 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12449 if test "$wx_cv_gccversion" = "3"; then
12450 LIBS
="$LIBS -lstdcxx"
12451 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12453 LIBS
="$LIBS -lstdc++"
12456 if test "$wxUSE_OMF" = "yes"; then
12457 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12465 ac_cpp
='$CXXCPP $CPPFLAGS'
12466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12472 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12473 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12474 if test "${ac_cv_string_strcasecmp+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12478 cat >conftest.
$ac_ext <<_ACEOF
12481 cat confdefs.h
>>conftest.
$ac_ext
12482 cat >>conftest.
$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12485 #include <string.h>
12491 strcasecmp("foo", "bar");
12497 rm -f conftest.
$ac_objext conftest
$ac_exeext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12499 (eval $ac_link) 2>conftest.er1
12501 grep -v '^ *+' conftest.er1
>conftest.err
12503 cat conftest.err
>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try
='test -z "$ac_cxx_werror_flag"
12507 || test ! -s conftest.err'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try
='test -s conftest$ac_exeext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_cv_string_strcasecmp
=yes
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.
$ac_ext >&5
12524 ac_cv_string_strcasecmp
=no
12527 rm -f conftest.err conftest.
$ac_objext \
12528 conftest
$ac_exeext conftest.
$ac_ext
12531 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12532 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12534 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12535 cat >>confdefs.h
<<\_ACEOF
12536 #define HAVE_STRCASECMP_IN_STRING_H 1
12540 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12541 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12542 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12543 echo $ECHO_N "(cached) $ECHO_C" >&6
12546 cat >conftest.
$ac_ext <<_ACEOF
12549 cat confdefs.h
>>conftest.
$ac_ext
12550 cat >>conftest.
$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12553 #include <strings.h>
12559 strcasecmp("foo", "bar");
12565 rm -f conftest.
$ac_objext conftest
$ac_exeext
12566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12567 (eval $ac_link) 2>conftest.er1
12569 grep -v '^ *+' conftest.er1
>conftest.err
12571 cat conftest.err
>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); } &&
12574 { ac_try
='test -z "$ac_cxx_werror_flag"
12575 || test ! -s conftest.err'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; } &&
12581 { ac_try
='test -s conftest$ac_exeext'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; }; then
12587 ac_cv_strings_strcasecmp
=yes
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.
$ac_ext >&5
12592 ac_cv_strings_strcasecmp
=no
12595 rm -f conftest.err conftest.
$ac_objext \
12596 conftest
$ac_exeext conftest.
$ac_ext
12599 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12600 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12602 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12603 cat >>confdefs.h
<<\_ACEOF
12604 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12608 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12609 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12610 { (exit 1); exit 1; }; }
12615 ac_cpp
='$CPP $CPPFLAGS'
12616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12624 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12625 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12626 if test "${ac_cv_header_stdc+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12629 cat >conftest.
$ac_ext <<_ACEOF
12632 cat confdefs.h
>>conftest.
$ac_ext
12633 cat >>conftest.
$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12635 #include <stdlib.h>
12636 #include <stdarg.h>
12637 #include <string.h>
12648 rm -f conftest.
$ac_objext
12649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12650 (eval $ac_compile) 2>conftest.er1
12652 grep -v '^ *+' conftest.er1
>conftest.err
12654 cat conftest.err
>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } &&
12657 { ac_try
='test -z "$ac_c_werror_flag"
12658 || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try
='test -s conftest.$ac_objext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_header_stdc
=yes
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 ac_cv_header_stdc
=no
12677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12679 if test $ac_cv_header_stdc = yes; then
12680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12681 cat >conftest.
$ac_ext <<_ACEOF
12684 cat confdefs.h
>>conftest.
$ac_ext
12685 cat >>conftest.
$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12687 #include <string.h>
12690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12691 $EGREP "memchr" >/dev
/null
2>&1; then
12694 ac_cv_header_stdc
=no
12700 if test $ac_cv_header_stdc = yes; then
12701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12702 cat >conftest.
$ac_ext <<_ACEOF
12705 cat confdefs.h
>>conftest.
$ac_ext
12706 cat >>conftest.
$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12708 #include <stdlib.h>
12711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12712 $EGREP "free" >/dev
/null
2>&1; then
12715 ac_cv_header_stdc
=no
12721 if test $ac_cv_header_stdc = yes; then
12722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12723 if test "$cross_compiling" = yes; then
12726 cat >conftest.
$ac_ext <<_ACEOF
12729 cat confdefs.h
>>conftest.
$ac_ext
12730 cat >>conftest.
$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12733 #if ((' ' & 0x0FF) == 0x020)
12734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12737 # define ISLOWER(c) \
12738 (('a' <= (c) && (c) <= 'i') \
12739 || ('j' <= (c) && (c) <= 'r') \
12740 || ('s' <= (c) && (c) <= 'z'))
12741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12749 for (i = 0; i < 256; i++)
12750 if (XOR (islower (i), ISLOWER (i))
12751 || toupper (i) != TOUPPER (i))
12756 rm -f conftest
$ac_exeext
12757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12758 (eval $ac_link) 2>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12769 echo "$as_me: program exited with status $ac_status" >&5
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12773 ( exit $ac_status )
12774 ac_cv_header_stdc
=no
12776 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12780 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12781 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12782 if test $ac_cv_header_stdc = yes; then
12784 cat >>confdefs.h
<<\_ACEOF
12785 #define STDC_HEADERS 1
12790 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12800 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12801 inttypes.h stdint.h unistd.h
12803 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12804 echo "$as_me:$LINENO: checking for $ac_header" >&5
12805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 cat >conftest.
$ac_ext <<_ACEOF
12812 cat confdefs.h
>>conftest.
$ac_ext
12813 cat >>conftest.
$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815 $ac_includes_default
12817 #include <$ac_header>
12819 rm -f conftest.
$ac_objext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12821 (eval $ac_compile) 2>conftest.er1
12823 grep -v '^ *+' conftest.er1
>conftest.err
12825 cat conftest.err
>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try
='test -z "$ac_c_werror_flag"
12829 || test ! -s conftest.err'
12830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831 (eval $ac_try) 2>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); }; } &&
12835 { ac_try
='test -s conftest.$ac_objext'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; }; then
12841 eval "$as_ac_Header=yes"
12843 echo "$as_me: failed program was:" >&5
12844 sed 's/^/| /' conftest.
$ac_ext >&5
12846 eval "$as_ac_Header=no"
12848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12853 cat >>confdefs.h
<<_ACEOF
12854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12863 for ac_header
in stdlib.h
12865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12867 echo "$as_me:$LINENO: checking for $ac_header" >&5
12868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12875 # Is the header compilable?
12876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12878 cat >conftest.
$ac_ext <<_ACEOF
12881 cat confdefs.h
>>conftest.
$ac_ext
12882 cat >>conftest.
$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 $ac_includes_default
12885 #include <$ac_header>
12887 rm -f conftest.
$ac_objext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12889 (eval $ac_compile) 2>conftest.er1
12891 grep -v '^ *+' conftest.er1
>conftest.err
12893 cat conftest.err
>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } &&
12896 { ac_try
='test -z "$ac_c_werror_flag"
12897 || test ! -s conftest.err'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; } &&
12903 { ac_try
='test -s conftest.$ac_objext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 ac_header_compiler
=yes
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.
$ac_ext >&5
12914 ac_header_compiler
=no
12916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12918 echo "${ECHO_T}$ac_header_compiler" >&6
12920 # Is the header present?
12921 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12923 cat >conftest.
$ac_ext <<_ACEOF
12926 cat confdefs.h
>>conftest.
$ac_ext
12927 cat >>conftest.
$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12929 #include <$ac_header>
12931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12934 grep -v '^ *+' conftest.er1
>conftest.err
12936 cat conftest.err
>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } >/dev
/null
; then
12939 if test -s conftest.err
; then
12940 ac_cpp_err
=$ac_c_preproc_warn_flag
12941 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12948 if test -z "$ac_cpp_err"; then
12949 ac_header_preproc
=yes
12951 echo "$as_me: failed program was:" >&5
12952 sed 's/^/| /' conftest.
$ac_ext >&5
12954 ac_header_preproc
=no
12956 rm -f conftest.err conftest.
$ac_ext
12957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12958 echo "${ECHO_T}$ac_header_preproc" >&6
12960 # So? What about this header?
12961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12963 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12964 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12966 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12967 ac_header_preproc
=yes
12970 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12971 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12972 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12973 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12974 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12975 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12976 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12977 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12981 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12984 ## ----------------------------------------- ##
12985 ## Report this to wx-dev@lists.wxwidgets.org ##
12986 ## ----------------------------------------- ##
12989 sed "s/^/$as_me: WARNING: /" >&2
12992 echo "$as_me:$LINENO: checking for $ac_header" >&5
12993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 eval "$as_ac_Header=\$ac_header_preproc"
12999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13004 cat >>confdefs.h
<<_ACEOF
13005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13013 for ac_header
in malloc.h
13015 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13017 echo "$as_me:$LINENO: checking for $ac_header" >&5
13018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13025 # Is the header compilable?
13026 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13028 cat >conftest.
$ac_ext <<_ACEOF
13031 cat confdefs.h
>>conftest.
$ac_ext
13032 cat >>conftest.
$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034 $ac_includes_default
13035 #include <$ac_header>
13037 rm -f conftest.
$ac_objext
13038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13039 (eval $ac_compile) 2>conftest.er1
13041 grep -v '^ *+' conftest.er1
>conftest.err
13043 cat conftest.err
>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } &&
13046 { ac_try
='test -z "$ac_c_werror_flag"
13047 || test ! -s conftest.err'
13048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049 (eval $ac_try) 2>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); }; } &&
13053 { ac_try
='test -s conftest.$ac_objext'
13054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13055 (eval $ac_try) 2>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); }; }; then
13059 ac_header_compiler
=yes
13061 echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.
$ac_ext >&5
13064 ac_header_compiler
=no
13066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13068 echo "${ECHO_T}$ac_header_compiler" >&6
13070 # Is the header present?
13071 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13073 cat >conftest.
$ac_ext <<_ACEOF
13076 cat confdefs.h
>>conftest.
$ac_ext
13077 cat >>conftest.
$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13079 #include <$ac_header>
13081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13084 grep -v '^ *+' conftest.er1
>conftest.err
13086 cat conftest.err
>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } >/dev
/null
; then
13089 if test -s conftest.err
; then
13090 ac_cpp_err
=$ac_c_preproc_warn_flag
13091 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13098 if test -z "$ac_cpp_err"; then
13099 ac_header_preproc
=yes
13101 echo "$as_me: failed program was:" >&5
13102 sed 's/^/| /' conftest.
$ac_ext >&5
13104 ac_header_preproc
=no
13106 rm -f conftest.err conftest.
$ac_ext
13107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13108 echo "${ECHO_T}$ac_header_preproc" >&6
13110 # So? What about this header?
13111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13114 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13116 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13117 ac_header_preproc
=yes
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13121 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13123 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13125 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13127 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13131 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13134 ## ----------------------------------------- ##
13135 ## Report this to wx-dev@lists.wxwidgets.org ##
13136 ## ----------------------------------------- ##
13139 sed "s/^/$as_me: WARNING: /" >&2
13142 echo "$as_me:$LINENO: checking for $ac_header" >&5
13143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 eval "$as_ac_Header=\$ac_header_preproc"
13149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13154 cat >>confdefs.h
<<_ACEOF
13155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13163 for ac_header
in unistd.h
13165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13167 echo "$as_me:$LINENO: checking for $ac_header" >&5
13168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13175 # Is the header compilable?
13176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13178 cat >conftest.
$ac_ext <<_ACEOF
13181 cat confdefs.h
>>conftest.
$ac_ext
13182 cat >>conftest.
$ac_ext <<_ACEOF
13183 /* end confdefs.h. */
13184 $ac_includes_default
13185 #include <$ac_header>
13187 rm -f conftest.
$ac_objext
13188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13189 (eval $ac_compile) 2>conftest.er1
13191 grep -v '^ *+' conftest.er1
>conftest.err
13193 cat conftest.err
>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); } &&
13196 { ac_try
='test -z "$ac_c_werror_flag"
13197 || test ! -s conftest.err'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; } &&
13203 { ac_try
='test -s conftest.$ac_objext'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; }; then
13209 ac_header_compiler
=yes
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.
$ac_ext >&5
13214 ac_header_compiler
=no
13216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13218 echo "${ECHO_T}$ac_header_compiler" >&6
13220 # Is the header present?
13221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #include <$ac_header>
13231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13234 grep -v '^ *+' conftest.er1
>conftest.err
13236 cat conftest.err
>&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } >/dev
/null
; then
13239 if test -s conftest.err
; then
13240 ac_cpp_err
=$ac_c_preproc_warn_flag
13241 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13248 if test -z "$ac_cpp_err"; then
13249 ac_header_preproc
=yes
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.
$ac_ext >&5
13254 ac_header_preproc
=no
13256 rm -f conftest.err conftest.
$ac_ext
13257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13258 echo "${ECHO_T}$ac_header_preproc" >&6
13260 # So? What about this header?
13261 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13267 ac_header_preproc
=yes
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13284 ## ----------------------------------------- ##
13285 ## Report this to wx-dev@lists.wxwidgets.org ##
13286 ## ----------------------------------------- ##
13289 sed "s/^/$as_me: WARNING: /" >&2
13292 echo "$as_me:$LINENO: checking for $ac_header" >&5
13293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13297 eval "$as_ac_Header=\$ac_header_preproc"
13299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13304 cat >>confdefs.h
<<_ACEOF
13305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13313 for ac_header
in wchar.h
13315 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo "$as_me:$LINENO: checking for $ac_header" >&5
13318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13325 # Is the header compilable?
13326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13328 cat >conftest.
$ac_ext <<_ACEOF
13331 cat confdefs.h
>>conftest.
$ac_ext
13332 cat >>conftest.
$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13334 $ac_includes_default
13335 #include <$ac_header>
13337 rm -f conftest.
$ac_objext
13338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13339 (eval $ac_compile) 2>conftest.er1
13341 grep -v '^ *+' conftest.er1
>conftest.err
13343 cat conftest.err
>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); } &&
13346 { ac_try
='test -z "$ac_c_werror_flag"
13347 || test ! -s conftest.err'
13348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13349 (eval $ac_try) 2>&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); }; } &&
13353 { ac_try
='test -s conftest.$ac_objext'
13354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13355 (eval $ac_try) 2>&5
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); }; }; then
13359 ac_header_compiler
=yes
13361 echo "$as_me: failed program was:" >&5
13362 sed 's/^/| /' conftest.
$ac_ext >&5
13364 ac_header_compiler
=no
13366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13368 echo "${ECHO_T}$ac_header_compiler" >&6
13370 # Is the header present?
13371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13373 cat >conftest.
$ac_ext <<_ACEOF
13376 cat confdefs.h
>>conftest.
$ac_ext
13377 cat >>conftest.
$ac_ext <<_ACEOF
13378 /* end confdefs.h. */
13379 #include <$ac_header>
13381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13384 grep -v '^ *+' conftest.er1
>conftest.err
13386 cat conftest.err
>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } >/dev
/null
; then
13389 if test -s conftest.err
; then
13390 ac_cpp_err
=$ac_c_preproc_warn_flag
13391 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13398 if test -z "$ac_cpp_err"; then
13399 ac_header_preproc
=yes
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.
$ac_ext >&5
13404 ac_header_preproc
=no
13406 rm -f conftest.err conftest.
$ac_ext
13407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13408 echo "${ECHO_T}$ac_header_preproc" >&6
13410 # So? What about this header?
13411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13417 ac_header_preproc
=yes
13420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13434 ## ----------------------------------------- ##
13435 ## Report this to wx-dev@lists.wxwidgets.org ##
13436 ## ----------------------------------------- ##
13439 sed "s/^/$as_me: WARNING: /" >&2
13442 echo "$as_me:$LINENO: checking for $ac_header" >&5
13443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13445 echo $ECHO_N "(cached) $ECHO_C" >&6
13447 eval "$as_ac_Header=\$ac_header_preproc"
13449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13454 cat >>confdefs.h
<<_ACEOF
13455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13463 if test "$ac_cv_header_wchar_h" != "yes"; then
13465 for ac_header
in wcstr.h
13467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13469 echo "$as_me:$LINENO: checking for $ac_header" >&5
13470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13477 # Is the header compilable?
13478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13480 cat >conftest.
$ac_ext <<_ACEOF
13483 cat confdefs.h
>>conftest.
$ac_ext
13484 cat >>conftest.
$ac_ext <<_ACEOF
13485 /* end confdefs.h. */
13486 $ac_includes_default
13487 #include <$ac_header>
13489 rm -f conftest.
$ac_objext
13490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13491 (eval $ac_compile) 2>conftest.er1
13493 grep -v '^ *+' conftest.er1
>conftest.err
13495 cat conftest.err
>&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); } &&
13498 { ac_try
='test -z "$ac_c_werror_flag"
13499 || test ! -s conftest.err'
13500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13501 (eval $ac_try) 2>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; } &&
13505 { ac_try
='test -s conftest.$ac_objext'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13511 ac_header_compiler
=yes
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.
$ac_ext >&5
13516 ac_header_compiler
=no
13518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13520 echo "${ECHO_T}$ac_header_compiler" >&6
13522 # Is the header present?
13523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13525 cat >conftest.
$ac_ext <<_ACEOF
13528 cat confdefs.h
>>conftest.
$ac_ext
13529 cat >>conftest.
$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13531 #include <$ac_header>
13533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13536 grep -v '^ *+' conftest.er1
>conftest.err
13538 cat conftest.err
>&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); } >/dev
/null
; then
13541 if test -s conftest.err
; then
13542 ac_cpp_err
=$ac_c_preproc_warn_flag
13543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13550 if test -z "$ac_cpp_err"; then
13551 ac_header_preproc
=yes
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.
$ac_ext >&5
13556 ac_header_preproc
=no
13558 rm -f conftest.err conftest.
$ac_ext
13559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13560 echo "${ECHO_T}$ac_header_preproc" >&6
13562 # So? What about this header?
13563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13569 ac_header_preproc
=yes
13572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13586 ## ----------------------------------------- ##
13587 ## Report this to wx-dev@lists.wxwidgets.org ##
13588 ## ----------------------------------------- ##
13591 sed "s/^/$as_me: WARNING: /" >&2
13594 echo "$as_me:$LINENO: checking for $ac_header" >&5
13595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 eval "$as_ac_Header=\$ac_header_preproc"
13601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13606 cat >>confdefs.h
<<_ACEOF
13607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13617 for ac_header
in fnmatch.h
13619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13621 echo "$as_me:$LINENO: checking for $ac_header" >&5
13622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13629 # Is the header compilable?
13630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13632 cat >conftest.
$ac_ext <<_ACEOF
13635 cat confdefs.h
>>conftest.
$ac_ext
13636 cat >>conftest.
$ac_ext <<_ACEOF
13637 /* end confdefs.h. */
13638 $ac_includes_default
13639 #include <$ac_header>
13641 rm -f conftest.
$ac_objext
13642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13643 (eval $ac_compile) 2>conftest.er1
13645 grep -v '^ *+' conftest.er1
>conftest.err
13647 cat conftest.err
>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); } &&
13650 { ac_try
='test -z "$ac_c_werror_flag"
13651 || test ! -s conftest.err'
13652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653 (eval $ac_try) 2>&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; } &&
13657 { ac_try
='test -s conftest.$ac_objext'
13658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13659 (eval $ac_try) 2>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); }; }; then
13663 ac_header_compiler
=yes
13665 echo "$as_me: failed program was:" >&5
13666 sed 's/^/| /' conftest.
$ac_ext >&5
13668 ac_header_compiler
=no
13670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13672 echo "${ECHO_T}$ac_header_compiler" >&6
13674 # Is the header present?
13675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13677 cat >conftest.
$ac_ext <<_ACEOF
13680 cat confdefs.h
>>conftest.
$ac_ext
13681 cat >>conftest.
$ac_ext <<_ACEOF
13682 /* end confdefs.h. */
13683 #include <$ac_header>
13685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13688 grep -v '^ *+' conftest.er1
>conftest.err
13690 cat conftest.err
>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } >/dev
/null
; then
13693 if test -s conftest.err
; then
13694 ac_cpp_err
=$ac_c_preproc_warn_flag
13695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13702 if test -z "$ac_cpp_err"; then
13703 ac_header_preproc
=yes
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.
$ac_ext >&5
13708 ac_header_preproc
=no
13710 rm -f conftest.err conftest.
$ac_ext
13711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13712 echo "${ECHO_T}$ac_header_preproc" >&6
13714 # So? What about this header?
13715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13721 ac_header_preproc
=yes
13724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13738 ## ----------------------------------------- ##
13739 ## Report this to wx-dev@lists.wxwidgets.org ##
13740 ## ----------------------------------------- ##
13743 sed "s/^/$as_me: WARNING: /" >&2
13746 echo "$as_me:$LINENO: checking for $ac_header" >&5
13747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 eval "$as_ac_Header=\$ac_header_preproc"
13753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13758 cat >>confdefs.h
<<_ACEOF
13759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13767 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13769 for ac_func
in fnmatch
13771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13772 echo "$as_me:$LINENO: checking for $ac_func" >&5
13773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13774 if eval "test \"\${$as_ac_var+set}\" = set"; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 cat >conftest.
$ac_ext <<_ACEOF
13780 cat confdefs.h
>>conftest.
$ac_ext
13781 cat >>conftest.
$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13785 #define $ac_func innocuous_$ac_func
13787 /* System header to define __stub macros and hopefully few prototypes,
13788 which can conflict with char $ac_func (); below.
13789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13790 <limits.h> exists even on freestanding compilers. */
13793 # include <limits.h>
13795 # include <assert.h>
13800 /* Override any gcc2 internal prototype to avoid an error. */
13805 /* We use char because int might match the return type of a gcc2
13806 builtin and then its argument prototype would still apply. */
13808 /* The GNU C library defines this for functions which it implements
13809 to always fail with ENOSYS. Some functions are actually named
13810 something starting with __ and the normal name is an alias. */
13811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13814 char (*f) () = $ac_func;
13823 return f != $ac_func;
13828 rm -f conftest.
$ac_objext conftest
$ac_exeext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13830 (eval $ac_link) 2>conftest.er1
13832 grep -v '^ *+' conftest.er1
>conftest.err
13834 cat conftest.err
>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try
='test -z "$ac_c_werror_flag"
13838 || test ! -s conftest.err'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; } &&
13844 { ac_try
='test -s conftest$ac_exeext'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; }; then
13850 eval "$as_ac_var=yes"
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.
$ac_ext >&5
13855 eval "$as_ac_var=no"
13857 rm -f conftest.err conftest.
$ac_objext \
13858 conftest
$ac_exeext conftest.
$ac_ext
13860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13862 if test `eval echo '${'$as_ac_var'}'` = yes; then
13863 cat >>confdefs.h
<<_ACEOF
13864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13873 for ac_header
in langinfo.h
13875 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13877 echo "$as_me:$LINENO: checking for $ac_header" >&5
13878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13885 # Is the header compilable?
13886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13888 cat >conftest.
$ac_ext <<_ACEOF
13891 cat confdefs.h
>>conftest.
$ac_ext
13892 cat >>conftest.
$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 $ac_includes_default
13895 #include <$ac_header>
13897 rm -f conftest.
$ac_objext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13899 (eval $ac_compile) 2>conftest.er1
13901 grep -v '^ *+' conftest.er1
>conftest.err
13903 cat conftest.err
>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try
='test -z "$ac_c_werror_flag"
13907 || test ! -s conftest.err'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; } &&
13913 { ac_try
='test -s conftest.$ac_objext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 ac_header_compiler
=yes
13921 echo "$as_me: failed program was:" >&5
13922 sed 's/^/| /' conftest.
$ac_ext >&5
13924 ac_header_compiler
=no
13926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13928 echo "${ECHO_T}$ac_header_compiler" >&6
13930 # Is the header present?
13931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13933 cat >conftest.
$ac_ext <<_ACEOF
13936 cat confdefs.h
>>conftest.
$ac_ext
13937 cat >>conftest.
$ac_ext <<_ACEOF
13938 /* end confdefs.h. */
13939 #include <$ac_header>
13941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13944 grep -v '^ *+' conftest.er1
>conftest.err
13946 cat conftest.err
>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } >/dev
/null
; then
13949 if test -s conftest.err
; then
13950 ac_cpp_err
=$ac_c_preproc_warn_flag
13951 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13958 if test -z "$ac_cpp_err"; then
13959 ac_header_preproc
=yes
13961 echo "$as_me: failed program was:" >&5
13962 sed 's/^/| /' conftest.
$ac_ext >&5
13964 ac_header_preproc
=no
13966 rm -f conftest.err conftest.
$ac_ext
13967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13968 echo "${ECHO_T}$ac_header_preproc" >&6
13970 # So? What about this header?
13971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13977 ac_header_preproc
=yes
13980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13994 ## ----------------------------------------- ##
13995 ## Report this to wx-dev@lists.wxwidgets.org ##
13996 ## ----------------------------------------- ##
13999 sed "s/^/$as_me: WARNING: /" >&2
14002 echo "$as_me:$LINENO: checking for $ac_header" >&5
14003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 eval "$as_ac_Header=\$ac_header_preproc"
14009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14014 cat >>confdefs.h
<<_ACEOF
14015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14024 *-pc-os2_emx | *-pc-os2-emx )
14025 if test $ac_cv_header_langinfo_h = "yes"; then
14026 LIBS
="$LIBS -lintl"
14031 if test "$wxUSE_GUI" = "yes"; then
14032 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14034 for ac_header
in X
11/Xlib.h
14036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14038 echo "$as_me:$LINENO: checking for $ac_header" >&5
14039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14046 # Is the header compilable?
14047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14049 cat >conftest.
$ac_ext <<_ACEOF
14052 cat confdefs.h
>>conftest.
$ac_ext
14053 cat >>conftest.
$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 $ac_includes_default
14056 #include <$ac_header>
14058 rm -f conftest.
$ac_objext
14059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14060 (eval $ac_compile) 2>conftest.er1
14062 grep -v '^ *+' conftest.er1
>conftest.err
14064 cat conftest.err
>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } &&
14067 { ac_try
='test -z "$ac_c_werror_flag"
14068 || test ! -s conftest.err'
14069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14070 (eval $ac_try) 2>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; } &&
14074 { ac_try
='test -s conftest.$ac_objext'
14075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14076 (eval $ac_try) 2>&5
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); }; }; then
14080 ac_header_compiler
=yes
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.
$ac_ext >&5
14085 ac_header_compiler
=no
14087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14089 echo "${ECHO_T}$ac_header_compiler" >&6
14091 # Is the header present?
14092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14094 cat >conftest.
$ac_ext <<_ACEOF
14097 cat confdefs.h
>>conftest.
$ac_ext
14098 cat >>conftest.
$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14100 #include <$ac_header>
14102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14105 grep -v '^ *+' conftest.er1
>conftest.err
14107 cat conftest.err
>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); } >/dev
/null
; then
14110 if test -s conftest.err
; then
14111 ac_cpp_err
=$ac_c_preproc_warn_flag
14112 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14119 if test -z "$ac_cpp_err"; then
14120 ac_header_preproc
=yes
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.
$ac_ext >&5
14125 ac_header_preproc
=no
14127 rm -f conftest.err conftest.
$ac_ext
14128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14129 echo "${ECHO_T}$ac_header_preproc" >&6
14131 # So? What about this header?
14132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14138 ac_header_preproc
=yes
14141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14155 ## ----------------------------------------- ##
14156 ## Report this to wx-dev@lists.wxwidgets.org ##
14157 ## ----------------------------------------- ##
14160 sed "s/^/$as_me: WARNING: /" >&2
14163 echo "$as_me:$LINENO: checking for $ac_header" >&5
14164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 eval "$as_ac_Header=\$ac_header_preproc"
14170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14175 cat >>confdefs.h
<<_ACEOF
14176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14184 for ac_header
in X
11/XKBlib.h
14186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14187 echo "$as_me:$LINENO: checking for $ac_header" >&5
14188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 cat >conftest.
$ac_ext <<_ACEOF
14195 cat confdefs.h
>>conftest.
$ac_ext
14196 cat >>conftest.
$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14199 #if HAVE_X11_XLIB_H
14200 #include <X11/Xlib.h>
14204 #include <$ac_header>
14206 rm -f conftest.
$ac_objext
14207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14208 (eval $ac_compile) 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_objext'
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_Header=yes"
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.
$ac_ext >&5
14233 eval "$as_ac_Header=no"
14235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14240 cat >>confdefs.h
<<_ACEOF
14241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14252 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14253 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14254 if test "${ac_cv_c_const+set}" = set; then
14255 echo $ECHO_N "(cached) $ECHO_C" >&6
14257 cat >conftest.
$ac_ext <<_ACEOF
14260 cat confdefs.h
>>conftest.
$ac_ext
14261 cat >>conftest.
$ac_ext <<_ACEOF
14262 /* end confdefs.h. */
14267 /* FIXME: Include the comments suggested by Paul. */
14268 #ifndef __cplusplus
14269 /* Ultrix mips cc rejects this. */
14270 typedef int charset[2];
14272 /* SunOS 4.1.1 cc rejects this. */
14273 char const *const *ccp;
14275 /* NEC SVR4.0.2 mips cc rejects this. */
14276 struct point {int x, y;};
14277 static struct point const zero = {0,0};
14278 /* AIX XL C 1.02.0.0 rejects this.
14279 It does not let you subtract one const X* pointer from another in
14280 an arm of an if-expression whose if-part is not a constant
14282 const char *g = "string";
14283 ccp = &g + (g ? g-g : 0);
14284 /* HPUX 7.0 cc rejects these. */
14287 ccp = (char const *const *) p;
14288 { /* SCO 3.2v4 cc rejects this. */
14290 char const *s = 0 ? (char *) 0 : (char const *) 0;
14294 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14295 int x[] = {25, 17};
14296 const int *foo = &x[0];
14299 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14300 typedef const int *iptr;
14304 { /* AIX XL C 1.02.0.0 rejects this saying
14305 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14306 struct s { int j; const int *ap[3]; };
14307 struct s *b; b->j = 5;
14309 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14310 const int foo = 10;
14318 rm -f conftest.
$ac_objext
14319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14320 (eval $ac_compile) 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); } &&
14327 { ac_try
='test -z "$ac_c_werror_flag"
14328 || test ! -s conftest.err'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; } &&
14334 { ac_try
='test -s conftest.$ac_objext'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; }; then
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.
$ac_ext >&5
14347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14349 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14350 echo "${ECHO_T}$ac_cv_c_const" >&6
14351 if test $ac_cv_c_const = no
; then
14353 cat >>confdefs.h
<<\_ACEOF
14359 echo "$as_me:$LINENO: checking for inline" >&5
14360 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14361 if test "${ac_cv_c_inline+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 for ac_kw
in inline __inline__ __inline
; do
14366 cat >conftest.
$ac_ext <<_ACEOF
14369 cat confdefs.h
>>conftest.
$ac_ext
14370 cat >>conftest.
$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372 #ifndef __cplusplus
14374 static $ac_kw foo_t static_foo () {return 0; }
14375 $ac_kw foo_t foo () {return 0; }
14379 rm -f conftest.
$ac_objext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14381 (eval $ac_compile) 2>conftest.er1
14383 grep -v '^ *+' conftest.er1
>conftest.err
14385 cat conftest.err
>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } &&
14388 { ac_try
='test -z "$ac_c_werror_flag"
14389 || test ! -s conftest.err'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; } &&
14395 { ac_try
='test -s conftest.$ac_objext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 ac_cv_c_inline
=$ac_kw; break
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.
$ac_ext >&5
14407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14411 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14412 echo "${ECHO_T}$ac_cv_c_inline" >&6
14415 case $ac_cv_c_inline in
14418 case $ac_cv_c_inline in
14420 *) ac_val
=$ac_cv_c_inline;;
14422 cat >>confdefs.h
<<_ACEOF
14423 #ifndef __cplusplus
14424 #define inline $ac_val
14431 echo "$as_me:$LINENO: checking for char" >&5
14432 echo $ECHO_N "checking for char... $ECHO_C" >&6
14433 if test "${ac_cv_type_char+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 cat >conftest.
$ac_ext <<_ACEOF
14439 cat confdefs.h
>>conftest.
$ac_ext
14440 cat >>conftest.
$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442 $ac_includes_default
14454 rm -f conftest.
$ac_objext
14455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 (eval $ac_compile) 2>conftest.er1
14458 grep -v '^ *+' conftest.er1
>conftest.err
14460 cat conftest.err
>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } &&
14463 { ac_try
='test -z "$ac_c_werror_flag"
14464 || test ! -s conftest.err'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; } &&
14470 { ac_try
='test -s conftest.$ac_objext'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; }; then
14476 ac_cv_type_char
=yes
14478 echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.
$ac_ext >&5
14483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14485 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14486 echo "${ECHO_T}$ac_cv_type_char" >&6
14488 echo "$as_me:$LINENO: checking size of char" >&5
14489 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14490 if test "${ac_cv_sizeof_char+set}" = set; then
14491 echo $ECHO_N "(cached) $ECHO_C" >&6
14493 if test "$ac_cv_type_char" = yes; then
14494 # The cast to unsigned long works around a bug in the HP C Compiler
14495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14497 # This bug is HP SR number 8606223364.
14498 if test "$cross_compiling" = yes; then
14499 # Depending upon the size, compute the lo and hi bounds.
14500 cat >conftest.
$ac_ext <<_ACEOF
14503 cat confdefs.h
>>conftest.
$ac_ext
14504 cat >>conftest.
$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 $ac_includes_default
14510 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14517 rm -f conftest.
$ac_objext
14518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14519 (eval $ac_compile) 2>conftest.er1
14521 grep -v '^ *+' conftest.er1
>conftest.err
14523 cat conftest.err
>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try
='test -z "$ac_c_werror_flag"
14527 || test ! -s conftest.err'
14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14529 (eval $ac_try) 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; } &&
14533 { ac_try
='test -s conftest.$ac_objext'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14541 cat >conftest.
$ac_ext <<_ACEOF
14544 cat confdefs.h
>>conftest.
$ac_ext
14545 cat >>conftest.
$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 $ac_includes_default
14551 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14558 rm -f conftest.
$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1
>conftest.err
14564 cat conftest.err
>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -z "$ac_c_werror_flag"
14568 || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try
='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_hi
=$ac_mid; break
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.
$ac_ext >&5
14585 ac_lo
=`expr $ac_mid + 1`
14586 if test $ac_lo -le $ac_mid; then
14590 ac_mid
=`expr 2 '*' $ac_mid + 1`
14592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.
$ac_ext >&5
14598 cat >conftest.
$ac_ext <<_ACEOF
14601 cat confdefs.h
>>conftest.
$ac_ext
14602 cat >>conftest.
$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14608 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14615 rm -f conftest.
$ac_objext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14617 (eval $ac_compile) 2>conftest.er1
14619 grep -v '^ *+' conftest.er1
>conftest.err
14621 cat conftest.err
>&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } &&
14624 { ac_try
='test -z "$ac_c_werror_flag"
14625 || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try
='test -s conftest.$ac_objext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14639 cat >conftest.
$ac_ext <<_ACEOF
14642 cat confdefs.h
>>conftest.
$ac_ext
14643 cat >>conftest.
$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14645 $ac_includes_default
14649 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14656 rm -f conftest.
$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658 (eval $ac_compile) 2>conftest.er1
14660 grep -v '^ *+' conftest.er1
>conftest.err
14662 cat conftest.err
>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } &&
14665 { ac_try
='test -z "$ac_c_werror_flag"
14666 || test ! -s conftest.err'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try
='test -s conftest.$ac_objext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_lo
=$ac_mid; break
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.
$ac_ext >&5
14683 ac_hi
=`expr '(' $ac_mid ')' - 1`
14684 if test $ac_mid -le $ac_hi; then
14688 ac_mid
=`expr 2 '*' $ac_mid`
14690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.
$ac_ext >&5
14698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14701 # Binary search between lo and hi bounds.
14702 while test "x$ac_lo" != "x$ac_hi"; do
14703 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14704 cat >conftest.
$ac_ext <<_ACEOF
14707 cat confdefs.h
>>conftest.
$ac_ext
14708 cat >>conftest.
$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14714 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14725 grep -v '^ *+' conftest.er1
>conftest.err
14727 cat conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try
='test -z "$ac_c_werror_flag"
14731 || test ! -s conftest.err'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try
='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.
$ac_ext >&5
14748 ac_lo
=`expr '(' $ac_mid ')' + 1`
14750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14753 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14754 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14755 See \`config.log' for more details." >&5
14756 echo "$as_me: error: cannot compute sizeof (char), 77
14757 See \`config.log' for more details." >&2;}
14758 { (exit 1); exit 1; }; } ;;
14761 if test "$cross_compiling" = yes; then
14762 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14763 See \`config.log' for more details." >&5
14764 echo "$as_me: error: cannot run test program while cross compiling
14765 See \`config.log' for more details." >&2;}
14766 { (exit 1); exit 1; }; }
14768 cat >conftest.
$ac_ext <<_ACEOF
14771 cat confdefs.h
>>conftest.
$ac_ext
14772 cat >>conftest.
$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14775 long longval () { return (long) (sizeof (char)); }
14776 unsigned long ulongval () { return (long) (sizeof (char)); }
14778 #include <stdlib.h>
14783 FILE *f = fopen ("conftest.val", "w");
14786 if (((long) (sizeof (char))) < 0)
14788 long i = longval ();
14789 if (i != ((long) (sizeof (char))))
14791 fprintf (f, "%ld\n", i);
14795 unsigned long i = ulongval ();
14796 if (i != ((long) (sizeof (char))))
14798 fprintf (f, "%lu\n", i);
14800 exit (ferror (f) || fclose (f) != 0);
14806 rm -f conftest
$ac_exeext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14808 (eval $ac_link) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_cv_sizeof_char
=`cat conftest.val`
14819 echo "$as_me: program exited with status $ac_status" >&5
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.
$ac_ext >&5
14823 ( exit $ac_status )
14824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14825 See \`config.log' for more details." >&5
14826 echo "$as_me: error: cannot compute sizeof (char), 77
14827 See \`config.log' for more details." >&2;}
14828 { (exit 1); exit 1; }; }
14830 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14835 ac_cv_sizeof_char
=0
14838 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14839 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14840 cat >>confdefs.h
<<_ACEOF
14841 #define SIZEOF_CHAR $ac_cv_sizeof_char
14845 echo "$as_me:$LINENO: checking for short" >&5
14846 echo $ECHO_N "checking for short... $ECHO_C" >&6
14847 if test "${ac_cv_type_short+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 cat >conftest.
$ac_ext <<_ACEOF
14853 cat confdefs.h
>>conftest.
$ac_ext
14854 cat >>conftest.
$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14862 if (sizeof (short))
14868 rm -f conftest.
$ac_objext
14869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14870 (eval $ac_compile) 2>conftest.er1
14872 grep -v '^ *+' conftest.er1
>conftest.err
14874 cat conftest.err
>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } &&
14877 { ac_try
='test -z "$ac_c_werror_flag"
14878 || test ! -s conftest.err'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; } &&
14884 { ac_try
='test -s conftest.$ac_objext'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14890 ac_cv_type_short
=yes
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.
$ac_ext >&5
14895 ac_cv_type_short
=no
14897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14899 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14900 echo "${ECHO_T}$ac_cv_type_short" >&6
14902 echo "$as_me:$LINENO: checking size of short" >&5
14903 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14904 if test "${ac_cv_sizeof_short+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 if test "$ac_cv_type_short" = yes; then
14908 # The cast to unsigned long works around a bug in the HP C Compiler
14909 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14910 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14911 # This bug is HP SR number 8606223364.
14912 if test "$cross_compiling" = yes; then
14913 # Depending upon the size, compute the lo and hi bounds.
14914 cat >conftest.
$ac_ext <<_ACEOF
14917 cat confdefs.h
>>conftest.
$ac_ext
14918 cat >>conftest.
$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 $ac_includes_default
14924 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14931 rm -f conftest.
$ac_objext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14933 (eval $ac_compile) 2>conftest.er1
14935 grep -v '^ *+' conftest.er1
>conftest.err
14937 cat conftest.err
>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } &&
14940 { ac_try
='test -z "$ac_c_werror_flag"
14941 || test ! -s conftest.err'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; } &&
14947 { ac_try
='test -s conftest.$ac_objext'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14965 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14972 rm -f conftest.
$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>conftest.er1
14976 grep -v '^ *+' conftest.er1
>conftest.err
14978 cat conftest.err
>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } &&
14981 { ac_try
='test -z "$ac_c_werror_flag"
14982 || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try
='test -s conftest.$ac_objext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_hi
=$ac_mid; break
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
14999 ac_lo
=`expr $ac_mid + 1`
15000 if test $ac_lo -le $ac_mid; then
15004 ac_mid
=`expr 2 '*' $ac_mid + 1`
15006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15012 cat >conftest.
$ac_ext <<_ACEOF
15015 cat confdefs.h
>>conftest.
$ac_ext
15016 cat >>conftest.
$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 $ac_includes_default
15022 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15029 rm -f conftest.
$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag"
15039 || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try
='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15053 cat >conftest.
$ac_ext <<_ACEOF
15056 cat confdefs.h
>>conftest.
$ac_ext
15057 cat >>conftest.
$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 $ac_includes_default
15063 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15070 rm -f conftest.
$ac_objext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15072 (eval $ac_compile) 2>conftest.er1
15074 grep -v '^ *+' conftest.er1
>conftest.err
15076 cat conftest.err
>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try
='test -z "$ac_c_werror_flag"
15080 || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try
='test -s conftest.$ac_objext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_lo
=$ac_mid; break
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.
$ac_ext >&5
15097 ac_hi
=`expr '(' $ac_mid ')' - 1`
15098 if test $ac_mid -le $ac_hi; then
15102 ac_mid
=`expr 2 '*' $ac_mid`
15104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.
$ac_ext >&5
15112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15115 # Binary search between lo and hi bounds.
15116 while test "x$ac_lo" != "x$ac_hi"; do
15117 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15118 cat >conftest.
$ac_ext <<_ACEOF
15121 cat confdefs.h
>>conftest.
$ac_ext
15122 cat >>conftest.
$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15124 $ac_includes_default
15128 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15135 rm -f conftest.
$ac_objext
15136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15137 (eval $ac_compile) 2>conftest.er1
15139 grep -v '^ *+' conftest.er1
>conftest.err
15141 cat conftest.err
>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } &&
15144 { ac_try
='test -z "$ac_c_werror_flag"
15145 || test ! -s conftest.err'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; } &&
15151 { ac_try
='test -s conftest.$ac_objext'
15152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15153 (eval $ac_try) 2>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); }; }; then
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.
$ac_ext >&5
15162 ac_lo
=`expr '(' $ac_mid ')' + 1`
15164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15167 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15168 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15169 See \`config.log' for more details." >&5
15170 echo "$as_me: error: cannot compute sizeof (short), 77
15171 See \`config.log' for more details." >&2;}
15172 { (exit 1); exit 1; }; } ;;
15175 if test "$cross_compiling" = yes; then
15176 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15177 See \`config.log' for more details." >&5
15178 echo "$as_me: error: cannot run test program while cross compiling
15179 See \`config.log' for more details." >&2;}
15180 { (exit 1); exit 1; }; }
15182 cat >conftest.
$ac_ext <<_ACEOF
15185 cat confdefs.h
>>conftest.
$ac_ext
15186 cat >>conftest.
$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15188 $ac_includes_default
15189 long longval () { return (long) (sizeof (short)); }
15190 unsigned long ulongval () { return (long) (sizeof (short)); }
15192 #include <stdlib.h>
15197 FILE *f = fopen ("conftest.val", "w");
15200 if (((long) (sizeof (short))) < 0)
15202 long i = longval ();
15203 if (i != ((long) (sizeof (short))))
15205 fprintf (f, "%ld\n", i);
15209 unsigned long i = ulongval ();
15210 if (i != ((long) (sizeof (short))))
15212 fprintf (f, "%lu\n", i);
15214 exit (ferror (f) || fclose (f) != 0);
15220 rm -f conftest
$ac_exeext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15222 (eval $ac_link) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 ac_cv_sizeof_short
=`cat conftest.val`
15233 echo "$as_me: program exited with status $ac_status" >&5
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ( exit $ac_status )
15238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15239 See \`config.log' for more details." >&5
15240 echo "$as_me: error: cannot compute sizeof (short), 77
15241 See \`config.log' for more details." >&2;}
15242 { (exit 1); exit 1; }; }
15244 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15249 ac_cv_sizeof_short
=0
15252 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15253 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15254 cat >>confdefs.h
<<_ACEOF
15255 #define SIZEOF_SHORT $ac_cv_sizeof_short
15259 echo "$as_me:$LINENO: checking for void *" >&5
15260 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15261 if test "${ac_cv_type_void_p+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 cat >conftest.
$ac_ext <<_ACEOF
15267 cat confdefs.h
>>conftest.
$ac_ext
15268 cat >>conftest.
$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 $ac_includes_default
15276 if (sizeof (void *))
15282 rm -f conftest.
$ac_objext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15284 (eval $ac_compile) 2>conftest.er1
15286 grep -v '^ *+' conftest.er1
>conftest.err
15288 cat conftest.err
>&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try
='test -z "$ac_c_werror_flag"
15292 || test ! -s conftest.err'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try
='test -s conftest.$ac_objext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 ac_cv_type_void_p
=yes
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.
$ac_ext >&5
15309 ac_cv_type_void_p
=no
15311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15313 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15314 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15316 echo "$as_me:$LINENO: checking size of void *" >&5
15317 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15318 if test "${ac_cv_sizeof_void_p+set}" = set; then
15319 echo $ECHO_N "(cached) $ECHO_C" >&6
15321 if test "$ac_cv_type_void_p" = yes; then
15322 # The cast to unsigned long works around a bug in the HP C Compiler
15323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15325 # This bug is HP SR number 8606223364.
15326 if test "$cross_compiling" = yes; then
15327 # Depending upon the size, compute the lo and hi bounds.
15328 cat >conftest.
$ac_ext <<_ACEOF
15331 cat confdefs.h
>>conftest.
$ac_ext
15332 cat >>conftest.
$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334 $ac_includes_default
15338 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15345 rm -f conftest.
$ac_objext
15346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15347 (eval $ac_compile) 2>conftest.er1
15349 grep -v '^ *+' conftest.er1
>conftest.err
15351 cat conftest.err
>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } &&
15354 { ac_try
='test -z "$ac_c_werror_flag"
15355 || test ! -s conftest.err'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; } &&
15361 { ac_try
='test -s conftest.$ac_objext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15369 cat >conftest.
$ac_ext <<_ACEOF
15372 cat confdefs.h
>>conftest.
$ac_ext
15373 cat >>conftest.
$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15379 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15386 rm -f conftest.
$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>conftest.er1
15390 grep -v '^ *+' conftest.er1
>conftest.err
15392 cat conftest.err
>&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try
='test -z "$ac_c_werror_flag"
15396 || test ! -s conftest.err'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; } &&
15402 { ac_try
='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 ac_hi
=$ac_mid; break
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.
$ac_ext >&5
15413 ac_lo
=`expr $ac_mid + 1`
15414 if test $ac_lo -le $ac_mid; then
15418 ac_mid
=`expr 2 '*' $ac_mid + 1`
15420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.
$ac_ext >&5
15426 cat >conftest.
$ac_ext <<_ACEOF
15429 cat confdefs.h
>>conftest.
$ac_ext
15430 cat >>conftest.
$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15436 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15443 rm -f conftest.
$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_c_werror_flag"
15453 || test ! -s conftest.err'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; } &&
15459 { ac_try
='test -s conftest.$ac_objext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15467 cat >conftest.
$ac_ext <<_ACEOF
15470 cat confdefs.h
>>conftest.
$ac_ext
15471 cat >>conftest.
$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473 $ac_includes_default
15477 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15484 rm -f conftest.
$ac_objext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 (eval $ac_compile) 2>conftest.er1
15488 grep -v '^ *+' conftest.er1
>conftest.err
15490 cat conftest.err
>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try
='test -z "$ac_c_werror_flag"
15494 || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15506 ac_lo
=$ac_mid; break
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.
$ac_ext >&5
15511 ac_hi
=`expr '(' $ac_mid ')' - 1`
15512 if test $ac_mid -le $ac_hi; then
15516 ac_mid
=`expr 2 '*' $ac_mid`
15518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.
$ac_ext >&5
15526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15529 # Binary search between lo and hi bounds.
15530 while test "x$ac_lo" != "x$ac_hi"; do
15531 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15532 cat >conftest.
$ac_ext <<_ACEOF
15535 cat confdefs.h
>>conftest.
$ac_ext
15536 cat >>conftest.
$ac_ext <<_ACEOF
15537 /* end confdefs.h. */
15538 $ac_includes_default
15542 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15549 rm -f conftest.
$ac_objext
15550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15551 (eval $ac_compile) 2>conftest.er1
15553 grep -v '^ *+' conftest.er1
>conftest.err
15555 cat conftest.err
>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } &&
15558 { ac_try
='test -z "$ac_c_werror_flag"
15559 || test ! -s conftest.err'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; } &&
15565 { ac_try
='test -s conftest.$ac_objext'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.
$ac_ext >&5
15576 ac_lo
=`expr '(' $ac_mid ')' + 1`
15578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15581 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15582 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15583 See \`config.log' for more details." >&5
15584 echo "$as_me: error: cannot compute sizeof (void *), 77
15585 See \`config.log' for more details." >&2;}
15586 { (exit 1); exit 1; }; } ;;
15589 if test "$cross_compiling" = yes; then
15590 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15591 See \`config.log' for more details." >&5
15592 echo "$as_me: error: cannot run test program while cross compiling
15593 See \`config.log' for more details." >&2;}
15594 { (exit 1); exit 1; }; }
15596 cat >conftest.
$ac_ext <<_ACEOF
15599 cat confdefs.h
>>conftest.
$ac_ext
15600 cat >>conftest.
$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15602 $ac_includes_default
15603 long longval () { return (long) (sizeof (void *)); }
15604 unsigned long ulongval () { return (long) (sizeof (void *)); }
15606 #include <stdlib.h>
15611 FILE *f = fopen ("conftest.val", "w");
15614 if (((long) (sizeof (void *))) < 0)
15616 long i = longval ();
15617 if (i != ((long) (sizeof (void *))))
15619 fprintf (f, "%ld\n", i);
15623 unsigned long i = ulongval ();
15624 if (i != ((long) (sizeof (void *))))
15626 fprintf (f, "%lu\n", i);
15628 exit (ferror (f) || fclose (f) != 0);
15634 rm -f conftest
$ac_exeext
15635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15636 (eval $ac_link) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15645 ac_cv_sizeof_void_p
=`cat conftest.val`
15647 echo "$as_me: program exited with status $ac_status" >&5
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.
$ac_ext >&5
15651 ( exit $ac_status )
15652 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15653 See \`config.log' for more details." >&5
15654 echo "$as_me: error: cannot compute sizeof (void *), 77
15655 See \`config.log' for more details." >&2;}
15656 { (exit 1); exit 1; }; }
15658 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15663 ac_cv_sizeof_void_p
=0
15666 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15667 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15668 cat >>confdefs.h
<<_ACEOF
15669 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15673 echo "$as_me:$LINENO: checking for int" >&5
15674 echo $ECHO_N "checking for int... $ECHO_C" >&6
15675 if test "${ac_cv_type_int+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 cat >conftest.
$ac_ext <<_ACEOF
15681 cat confdefs.h
>>conftest.
$ac_ext
15682 cat >>conftest.
$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15684 $ac_includes_default
15696 rm -f conftest.
$ac_objext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15698 (eval $ac_compile) 2>conftest.er1
15700 grep -v '^ *+' conftest.er1
>conftest.err
15702 cat conftest.err
>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try
='test -z "$ac_c_werror_flag"
15706 || test ! -s conftest.err'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; } &&
15712 { ac_try
='test -s conftest.$ac_objext'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; }; then
15720 echo "$as_me: failed program was:" >&5
15721 sed 's/^/| /' conftest.
$ac_ext >&5
15725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15727 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15728 echo "${ECHO_T}$ac_cv_type_int" >&6
15730 echo "$as_me:$LINENO: checking size of int" >&5
15731 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15732 if test "${ac_cv_sizeof_int+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15735 if test "$ac_cv_type_int" = yes; then
15736 # The cast to unsigned long works around a bug in the HP C Compiler
15737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15739 # This bug is HP SR number 8606223364.
15740 if test "$cross_compiling" = yes; then
15741 # Depending upon the size, compute the lo and hi bounds.
15742 cat >conftest.
$ac_ext <<_ACEOF
15745 cat confdefs.h
>>conftest.
$ac_ext
15746 cat >>conftest.
$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15752 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15759 rm -f conftest.
$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>conftest.er1
15763 grep -v '^ *+' conftest.er1
>conftest.err
15765 cat conftest.err
>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try
='test -z "$ac_c_werror_flag"
15769 || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try
='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15783 cat >conftest.
$ac_ext <<_ACEOF
15786 cat confdefs.h
>>conftest.
$ac_ext
15787 cat >>conftest.
$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 $ac_includes_default
15793 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15800 rm -f conftest.
$ac_objext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15802 (eval $ac_compile) 2>conftest.er1
15804 grep -v '^ *+' conftest.er1
>conftest.err
15806 cat conftest.err
>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try
='test -z "$ac_c_werror_flag"
15810 || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_hi
=$ac_mid; break
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.
$ac_ext >&5
15827 ac_lo
=`expr $ac_mid + 1`
15828 if test $ac_lo -le $ac_mid; then
15832 ac_mid
=`expr 2 '*' $ac_mid + 1`
15834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15840 cat >conftest.
$ac_ext <<_ACEOF
15843 cat confdefs.h
>>conftest.
$ac_ext
15844 cat >>conftest.
$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846 $ac_includes_default
15850 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15857 rm -f conftest.
$ac_objext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15859 (eval $ac_compile) 2>conftest.er1
15861 grep -v '^ *+' conftest.er1
>conftest.err
15863 cat conftest.err
>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try
='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try
='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15881 cat >conftest.
$ac_ext <<_ACEOF
15884 cat confdefs.h
>>conftest.
$ac_ext
15885 cat >>conftest.
$ac_ext <<_ACEOF
15886 /* end confdefs.h. */
15887 $ac_includes_default
15891 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15898 rm -f conftest.
$ac_objext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>conftest.er1
15902 grep -v '^ *+' conftest.er1
>conftest.err
15904 cat conftest.err
>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } &&
15907 { ac_try
='test -z "$ac_c_werror_flag"
15908 || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try
='test -s conftest.$ac_objext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 ac_lo
=$ac_mid; break
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.
$ac_ext >&5
15925 ac_hi
=`expr '(' $ac_mid ')' - 1`
15926 if test $ac_mid -le $ac_hi; then
15930 ac_mid
=`expr 2 '*' $ac_mid`
15932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.
$ac_ext >&5
15940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15943 # Binary search between lo and hi bounds.
15944 while test "x$ac_lo" != "x$ac_hi"; do
15945 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15946 cat >conftest.
$ac_ext <<_ACEOF
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15956 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15963 rm -f conftest.
$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15967 grep -v '^ *+' conftest.er1
>conftest.err
15969 cat conftest.err
>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try
='test -z "$ac_c_werror_flag"
15973 || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try
='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.
$ac_ext >&5
15990 ac_lo
=`expr '(' $ac_mid ')' + 1`
15992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15995 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15996 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15997 See \`config.log' for more details." >&5
15998 echo "$as_me: error: cannot compute sizeof (int), 77
15999 See \`config.log' for more details." >&2;}
16000 { (exit 1); exit 1; }; } ;;
16003 if test "$cross_compiling" = yes; then
16004 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16005 See \`config.log' for more details." >&5
16006 echo "$as_me: error: cannot run test program while cross compiling
16007 See \`config.log' for more details." >&2;}
16008 { (exit 1); exit 1; }; }
16010 cat >conftest.
$ac_ext <<_ACEOF
16013 cat confdefs.h
>>conftest.
$ac_ext
16014 cat >>conftest.
$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 $ac_includes_default
16017 long longval () { return (long) (sizeof (int)); }
16018 unsigned long ulongval () { return (long) (sizeof (int)); }
16020 #include <stdlib.h>
16025 FILE *f = fopen ("conftest.val", "w");
16028 if (((long) (sizeof (int))) < 0)
16030 long i = longval ();
16031 if (i != ((long) (sizeof (int))))
16033 fprintf (f, "%ld\n", i);
16037 unsigned long i = ulongval ();
16038 if (i != ((long) (sizeof (int))))
16040 fprintf (f, "%lu\n", i);
16042 exit (ferror (f) || fclose (f) != 0);
16048 rm -f conftest
$ac_exeext
16049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16050 (eval $ac_link) 2>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; }; then
16059 ac_cv_sizeof_int
=`cat conftest.val`
16061 echo "$as_me: program exited with status $ac_status" >&5
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.
$ac_ext >&5
16065 ( exit $ac_status )
16066 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16067 See \`config.log' for more details." >&5
16068 echo "$as_me: error: cannot compute sizeof (int), 77
16069 See \`config.log' for more details." >&2;}
16070 { (exit 1); exit 1; }; }
16072 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16080 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16081 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16082 cat >>confdefs.h
<<_ACEOF
16083 #define SIZEOF_INT $ac_cv_sizeof_int
16087 echo "$as_me:$LINENO: checking for long" >&5
16088 echo $ECHO_N "checking for long... $ECHO_C" >&6
16089 if test "${ac_cv_type_long+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 cat >conftest.
$ac_ext <<_ACEOF
16095 cat confdefs.h
>>conftest.
$ac_ext
16096 cat >>conftest.
$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 $ac_includes_default
16110 rm -f conftest.
$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16114 grep -v '^ *+' conftest.er1
>conftest.err
16116 cat conftest.err
>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try
='test -z "$ac_c_werror_flag"
16120 || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try
='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 ac_cv_type_long
=yes
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.
$ac_ext >&5
16139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16141 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16142 echo "${ECHO_T}$ac_cv_type_long" >&6
16144 echo "$as_me:$LINENO: checking size of long" >&5
16145 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16146 if test "${ac_cv_sizeof_long+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 if test "$ac_cv_type_long" = yes; then
16150 # The cast to unsigned long works around a bug in the HP C Compiler
16151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16153 # This bug is HP SR number 8606223364.
16154 if test "$cross_compiling" = yes; then
16155 # Depending upon the size, compute the lo and hi bounds.
16156 cat >conftest.
$ac_ext <<_ACEOF
16159 cat confdefs.h
>>conftest.
$ac_ext
16160 cat >>conftest.
$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 $ac_includes_default
16166 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16173 rm -f conftest.
$ac_objext
16174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16175 (eval $ac_compile) 2>conftest.er1
16177 grep -v '^ *+' conftest.er1
>conftest.err
16179 cat conftest.err
>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try
='test -z "$ac_c_werror_flag"
16183 || test ! -s conftest.err'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; } &&
16189 { ac_try
='test -s conftest.$ac_objext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16197 cat >conftest.
$ac_ext <<_ACEOF
16200 cat confdefs.h
>>conftest.
$ac_ext
16201 cat >>conftest.
$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 $ac_includes_default
16207 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16214 rm -f conftest.
$ac_objext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216 (eval $ac_compile) 2>conftest.er1
16218 grep -v '^ *+' conftest.er1
>conftest.err
16220 cat conftest.err
>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try
='test -z "$ac_c_werror_flag"
16224 || test ! -s conftest.err'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; } &&
16230 { ac_try
='test -s conftest.$ac_objext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_hi
=$ac_mid; break
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.
$ac_ext >&5
16241 ac_lo
=`expr $ac_mid + 1`
16242 if test $ac_lo -le $ac_mid; then
16246 ac_mid
=`expr 2 '*' $ac_mid + 1`
16248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.
$ac_ext >&5
16254 cat >conftest.
$ac_ext <<_ACEOF
16257 cat confdefs.h
>>conftest.
$ac_ext
16258 cat >>conftest.
$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16264 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16271 rm -f conftest.
$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>conftest.er1
16275 grep -v '^ *+' conftest.er1
>conftest.err
16277 cat conftest.err
>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } &&
16280 { ac_try
='test -z "$ac_c_werror_flag"
16281 || test ! -s conftest.err'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; } &&
16287 { ac_try
='test -s conftest.$ac_objext'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16295 cat >conftest.
$ac_ext <<_ACEOF
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16305 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16312 rm -f conftest.
$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>conftest.er1
16316 grep -v '^ *+' conftest.er1
>conftest.err
16318 cat conftest.err
>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } &&
16321 { ac_try
='test -z "$ac_c_werror_flag"
16322 || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try
='test -s conftest.$ac_objext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_lo
=$ac_mid; break
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.
$ac_ext >&5
16339 ac_hi
=`expr '(' $ac_mid ')' - 1`
16340 if test $ac_mid -le $ac_hi; then
16344 ac_mid
=`expr 2 '*' $ac_mid`
16346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.
$ac_ext >&5
16354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16357 # Binary search between lo and hi bounds.
16358 while test "x$ac_lo" != "x$ac_hi"; do
16359 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16360 cat >conftest.
$ac_ext <<_ACEOF
16363 cat confdefs.h
>>conftest.
$ac_ext
16364 cat >>conftest.
$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16366 $ac_includes_default
16370 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16377 rm -f conftest.
$ac_objext
16378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16379 (eval $ac_compile) 2>conftest.er1
16381 grep -v '^ *+' conftest.er1
>conftest.err
16383 cat conftest.err
>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } &&
16386 { ac_try
='test -z "$ac_c_werror_flag"
16387 || test ! -s conftest.err'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; } &&
16393 { ac_try
='test -s conftest.$ac_objext'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; }; then
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.
$ac_ext >&5
16404 ac_lo
=`expr '(' $ac_mid ')' + 1`
16406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16409 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16411 See \`config.log' for more details." >&5
16412 echo "$as_me: error: cannot compute sizeof (long), 77
16413 See \`config.log' for more details." >&2;}
16414 { (exit 1); exit 1; }; } ;;
16417 if test "$cross_compiling" = yes; then
16418 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16419 See \`config.log' for more details." >&5
16420 echo "$as_me: error: cannot run test program while cross compiling
16421 See \`config.log' for more details." >&2;}
16422 { (exit 1); exit 1; }; }
16424 cat >conftest.
$ac_ext <<_ACEOF
16427 cat confdefs.h
>>conftest.
$ac_ext
16428 cat >>conftest.
$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16430 $ac_includes_default
16431 long longval () { return (long) (sizeof (long)); }
16432 unsigned long ulongval () { return (long) (sizeof (long)); }
16434 #include <stdlib.h>
16439 FILE *f = fopen ("conftest.val", "w");
16442 if (((long) (sizeof (long))) < 0)
16444 long i = longval ();
16445 if (i != ((long) (sizeof (long))))
16447 fprintf (f, "%ld\n", i);
16451 unsigned long i = ulongval ();
16452 if (i != ((long) (sizeof (long))))
16454 fprintf (f, "%lu\n", i);
16456 exit (ferror (f) || fclose (f) != 0);
16462 rm -f conftest
$ac_exeext
16463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16464 (eval $ac_link) 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; }; then
16473 ac_cv_sizeof_long
=`cat conftest.val`
16475 echo "$as_me: program exited with status $ac_status" >&5
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.
$ac_ext >&5
16479 ( exit $ac_status )
16480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16481 See \`config.log' for more details." >&5
16482 echo "$as_me: error: cannot compute sizeof (long), 77
16483 See \`config.log' for more details." >&2;}
16484 { (exit 1); exit 1; }; }
16486 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16491 ac_cv_sizeof_long
=0
16494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16495 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16496 cat >>confdefs.h
<<_ACEOF
16497 #define SIZEOF_LONG $ac_cv_sizeof_long
16501 echo "$as_me:$LINENO: checking for size_t" >&5
16502 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16503 if test "${ac_cv_type_size_t+set}" = set; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16506 cat >conftest.
$ac_ext <<_ACEOF
16509 cat confdefs.h
>>conftest.
$ac_ext
16510 cat >>conftest.
$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 $ac_includes_default
16518 if (sizeof (size_t))
16524 rm -f conftest.
$ac_objext
16525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16526 (eval $ac_compile) 2>conftest.er1
16528 grep -v '^ *+' conftest.er1
>conftest.err
16530 cat conftest.err
>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } &&
16533 { ac_try
='test -z "$ac_c_werror_flag"
16534 || test ! -s conftest.err'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; } &&
16540 { ac_try
='test -s conftest.$ac_objext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 ac_cv_type_size_t
=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.
$ac_ext >&5
16551 ac_cv_type_size_t
=no
16553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16555 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16556 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16558 echo "$as_me:$LINENO: checking size of size_t" >&5
16559 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16560 if test "${ac_cv_sizeof_size_t+set}" = set; then
16561 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 if test "$ac_cv_type_size_t" = yes; then
16564 # The cast to unsigned long works around a bug in the HP C Compiler
16565 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16566 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16567 # This bug is HP SR number 8606223364.
16568 if test "$cross_compiling" = yes; then
16569 # Depending upon the size, compute the lo and hi bounds.
16570 cat >conftest.
$ac_ext <<_ACEOF
16573 cat confdefs.h
>>conftest.
$ac_ext
16574 cat >>conftest.
$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16587 rm -f conftest.
$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16591 grep -v '^ *+' conftest.er1
>conftest.err
16593 cat conftest.err
>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try
='test -z "$ac_c_werror_flag"
16597 || test ! -s conftest.err'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; } &&
16603 { ac_try
='test -s conftest.$ac_objext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16611 cat >conftest.
$ac_ext <<_ACEOF
16614 cat confdefs.h
>>conftest.
$ac_ext
16615 cat >>conftest.
$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16617 $ac_includes_default
16621 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16628 rm -f conftest.
$ac_objext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16630 (eval $ac_compile) 2>conftest.er1
16632 grep -v '^ *+' conftest.er1
>conftest.err
16634 cat conftest.err
>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try
='test -z "$ac_c_werror_flag"
16638 || test ! -s conftest.err'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; } &&
16644 { ac_try
='test -s conftest.$ac_objext'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; }; then
16650 ac_hi
=$ac_mid; break
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.
$ac_ext >&5
16655 ac_lo
=`expr $ac_mid + 1`
16656 if test $ac_lo -le $ac_mid; then
16660 ac_mid
=`expr 2 '*' $ac_mid + 1`
16662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.
$ac_ext >&5
16668 cat >conftest.
$ac_ext <<_ACEOF
16671 cat confdefs.h
>>conftest.
$ac_ext
16672 cat >>conftest.
$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 $ac_includes_default
16678 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16685 rm -f conftest.
$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>conftest.er1
16689 grep -v '^ *+' conftest.er1
>conftest.err
16691 cat conftest.err
>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } &&
16694 { ac_try
='test -z "$ac_c_werror_flag"
16695 || test ! -s conftest.err'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; } &&
16701 { ac_try
='test -s conftest.$ac_objext'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; }; then
16709 cat >conftest.
$ac_ext <<_ACEOF
16712 cat confdefs.h
>>conftest.
$ac_ext
16713 cat >>conftest.
$ac_ext <<_ACEOF
16714 /* end confdefs.h. */
16715 $ac_includes_default
16719 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16726 rm -f conftest.
$ac_objext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16728 (eval $ac_compile) 2>conftest.er1
16730 grep -v '^ *+' conftest.er1
>conftest.err
16732 cat conftest.err
>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try
='test -z "$ac_c_werror_flag"
16736 || test ! -s conftest.err'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; } &&
16742 { ac_try
='test -s conftest.$ac_objext'
16743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744 (eval $ac_try) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }; }; then
16748 ac_lo
=$ac_mid; break
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.
$ac_ext >&5
16753 ac_hi
=`expr '(' $ac_mid ')' - 1`
16754 if test $ac_mid -le $ac_hi; then
16758 ac_mid
=`expr 2 '*' $ac_mid`
16760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.
$ac_ext >&5
16768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16771 # Binary search between lo and hi bounds.
16772 while test "x$ac_lo" != "x$ac_hi"; do
16773 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16774 cat >conftest.
$ac_ext <<_ACEOF
16777 cat confdefs.h
>>conftest.
$ac_ext
16778 cat >>conftest.
$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16780 $ac_includes_default
16784 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16791 rm -f conftest.
$ac_objext
16792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16793 (eval $ac_compile) 2>conftest.er1
16795 grep -v '^ *+' conftest.er1
>conftest.err
16797 cat conftest.err
>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } &&
16800 { ac_try
='test -z "$ac_c_werror_flag"
16801 || test ! -s conftest.err'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; } &&
16807 { ac_try
='test -s conftest.$ac_objext'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; }; then
16815 echo "$as_me: failed program was:" >&5
16816 sed 's/^/| /' conftest.
$ac_ext >&5
16818 ac_lo
=`expr '(' $ac_mid ')' + 1`
16820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16823 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16825 See \`config.log' for more details." >&5
16826 echo "$as_me: error: cannot compute sizeof (size_t), 77
16827 See \`config.log' for more details." >&2;}
16828 { (exit 1); exit 1; }; } ;;
16831 if test "$cross_compiling" = yes; then
16832 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16833 See \`config.log' for more details." >&5
16834 echo "$as_me: error: cannot run test program while cross compiling
16835 See \`config.log' for more details." >&2;}
16836 { (exit 1); exit 1; }; }
16838 cat >conftest.
$ac_ext <<_ACEOF
16841 cat confdefs.h
>>conftest.
$ac_ext
16842 cat >>conftest.
$ac_ext <<_ACEOF
16843 /* end confdefs.h. */
16844 $ac_includes_default
16845 long longval () { return (long) (sizeof (size_t)); }
16846 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16848 #include <stdlib.h>
16853 FILE *f = fopen ("conftest.val", "w");
16856 if (((long) (sizeof (size_t))) < 0)
16858 long i = longval ();
16859 if (i != ((long) (sizeof (size_t))))
16861 fprintf (f, "%ld\n", i);
16865 unsigned long i = ulongval ();
16866 if (i != ((long) (sizeof (size_t))))
16868 fprintf (f, "%lu\n", i);
16870 exit (ferror (f) || fclose (f) != 0);
16876 rm -f conftest
$ac_exeext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16878 (eval $ac_link) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; }; then
16887 ac_cv_sizeof_size_t
=`cat conftest.val`
16889 echo "$as_me: program exited with status $ac_status" >&5
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.
$ac_ext >&5
16893 ( exit $ac_status )
16894 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16895 See \`config.log' for more details." >&5
16896 echo "$as_me: error: cannot compute sizeof (size_t), 77
16897 See \`config.log' for more details." >&2;}
16898 { (exit 1); exit 1; }; }
16900 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16905 ac_cv_sizeof_size_t
=0
16908 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16909 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16910 cat >>confdefs.h
<<_ACEOF
16911 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16918 echo "$as_me:$LINENO: checking for long long" >&5
16919 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16920 if test "${ac_cv_type_long_long+set}" = set; then
16921 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 cat >conftest.
$ac_ext <<_ACEOF
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16933 if ((long long *) 0)
16935 if (sizeof (long long))
16941 rm -f conftest.
$ac_objext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16943 (eval $ac_compile) 2>conftest.er1
16945 grep -v '^ *+' conftest.er1
>conftest.err
16947 cat conftest.err
>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } &&
16950 { ac_try
='test -z "$ac_c_werror_flag"
16951 || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try
='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_cv_type_long_long
=yes
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.
$ac_ext >&5
16968 ac_cv_type_long_long
=no
16970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16973 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16975 echo "$as_me:$LINENO: checking size of long long" >&5
16976 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16977 if test "${ac_cv_sizeof_long_long+set}" = set; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16980 if test "$ac_cv_type_long_long" = yes; then
16981 # The cast to unsigned long works around a bug in the HP C Compiler
16982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16984 # This bug is HP SR number 8606223364.
16985 if test "$cross_compiling" = yes; then
16986 # Depending upon the size, compute the lo and hi bounds.
16987 cat >conftest.
$ac_ext <<_ACEOF
16990 cat confdefs.h
>>conftest.
$ac_ext
16991 cat >>conftest.
$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 $ac_includes_default
16997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17004 rm -f conftest.
$ac_objext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17006 (eval $ac_compile) 2>conftest.er1
17008 grep -v '^ *+' conftest.er1
>conftest.err
17010 cat conftest.err
>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try
='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try
='test -s conftest.$ac_objext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17028 cat >conftest.
$ac_ext <<_ACEOF
17031 cat confdefs.h
>>conftest.
$ac_ext
17032 cat >>conftest.
$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17034 $ac_includes_default
17038 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17045 rm -f conftest.
$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1
>conftest.err
17051 cat conftest.err
>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try
='test -z "$ac_c_werror_flag"
17055 || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try
='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_hi
=$ac_mid; break
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.
$ac_ext >&5
17072 ac_lo
=`expr $ac_mid + 1`
17073 if test $ac_lo -le $ac_mid; then
17077 ac_mid
=`expr 2 '*' $ac_mid + 1`
17079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.
$ac_ext >&5
17085 cat >conftest.
$ac_ext <<_ACEOF
17088 cat confdefs.h
>>conftest.
$ac_ext
17089 cat >>conftest.
$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 $ac_includes_default
17095 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17102 rm -f conftest.
$ac_objext
17103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17104 (eval $ac_compile) 2>conftest.er1
17106 grep -v '^ *+' conftest.er1
>conftest.err
17108 cat conftest.err
>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } &&
17111 { ac_try
='test -z "$ac_c_werror_flag"
17112 || test ! -s conftest.err'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; } &&
17118 { ac_try
='test -s conftest.$ac_objext'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; }; then
17126 cat >conftest.
$ac_ext <<_ACEOF
17129 cat confdefs.h
>>conftest.
$ac_ext
17130 cat >>conftest.
$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17132 $ac_includes_default
17136 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17143 rm -f conftest.
$ac_objext
17144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17145 (eval $ac_compile) 2>conftest.er1
17147 grep -v '^ *+' conftest.er1
>conftest.err
17149 cat conftest.err
>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } &&
17152 { ac_try
='test -z "$ac_c_werror_flag"
17153 || test ! -s conftest.err'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try
='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_lo
=$ac_mid; break
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.
$ac_ext >&5
17170 ac_hi
=`expr '(' $ac_mid ')' - 1`
17171 if test $ac_mid -le $ac_hi; then
17175 ac_mid
=`expr 2 '*' $ac_mid`
17177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.
$ac_ext >&5
17185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17188 # Binary search between lo and hi bounds.
17189 while test "x$ac_lo" != "x$ac_hi"; do
17190 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17191 cat >conftest.
$ac_ext <<_ACEOF
17194 cat confdefs.h
>>conftest.
$ac_ext
17195 cat >>conftest.
$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17197 $ac_includes_default
17201 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17208 rm -f conftest.
$ac_objext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210 (eval $ac_compile) 2>conftest.er1
17212 grep -v '^ *+' conftest.er1
>conftest.err
17214 cat conftest.err
>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } &&
17217 { ac_try
='test -z "$ac_c_werror_flag"
17218 || test ! -s conftest.err'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; } &&
17224 { ac_try
='test -s conftest.$ac_objext'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; }; then
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.
$ac_ext >&5
17235 ac_lo
=`expr '(' $ac_mid ')' + 1`
17237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17240 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17241 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17242 See \`config.log' for more details." >&5
17243 echo "$as_me: error: cannot compute sizeof (long long), 77
17244 See \`config.log' for more details." >&2;}
17245 { (exit 1); exit 1; }; } ;;
17248 if test "$cross_compiling" = yes; then
17249 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17250 See \`config.log' for more details." >&5
17251 echo "$as_me: error: cannot run test program while cross compiling
17252 See \`config.log' for more details." >&2;}
17253 { (exit 1); exit 1; }; }
17255 cat >conftest.
$ac_ext <<_ACEOF
17258 cat confdefs.h
>>conftest.
$ac_ext
17259 cat >>conftest.
$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 $ac_includes_default
17262 long longval () { return (long) (sizeof (long long)); }
17263 unsigned long ulongval () { return (long) (sizeof (long long)); }
17265 #include <stdlib.h>
17270 FILE *f = fopen ("conftest.val", "w");
17273 if (((long) (sizeof (long long))) < 0)
17275 long i = longval ();
17276 if (i != ((long) (sizeof (long long))))
17278 fprintf (f, "%ld\n", i);
17282 unsigned long i = ulongval ();
17283 if (i != ((long) (sizeof (long long))))
17285 fprintf (f, "%lu\n", i);
17287 exit (ferror (f) || fclose (f) != 0);
17293 rm -f conftest
$ac_exeext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17295 (eval $ac_link) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; }; then
17304 ac_cv_sizeof_long_long
=`cat conftest.val`
17306 echo "$as_me: program exited with status $ac_status" >&5
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.
$ac_ext >&5
17310 ( exit $ac_status )
17311 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17312 See \`config.log' for more details." >&5
17313 echo "$as_me: error: cannot compute sizeof (long long), 77
17314 See \`config.log' for more details." >&2;}
17315 { (exit 1); exit 1; }; }
17317 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17322 ac_cv_sizeof_long_long
=0
17325 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17326 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17327 cat >>confdefs.h
<<_ACEOF
17328 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17334 echo "$as_me:$LINENO: checking for long long" >&5
17335 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17336 if test "${ac_cv_type_long_long+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 cat >conftest.
$ac_ext <<_ACEOF
17342 cat confdefs.h
>>conftest.
$ac_ext
17343 cat >>conftest.
$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 $ac_includes_default
17349 if ((long long *) 0)
17351 if (sizeof (long long))
17357 rm -f conftest.
$ac_objext
17358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17359 (eval $ac_compile) 2>conftest.er1
17361 grep -v '^ *+' conftest.er1
>conftest.err
17363 cat conftest.err
>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try
='test -z "$ac_c_werror_flag"
17367 || test ! -s conftest.err'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; } &&
17373 { ac_try
='test -s conftest.$ac_objext'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; }; then
17379 ac_cv_type_long_long
=yes
17381 echo "$as_me: failed program was:" >&5
17382 sed 's/^/| /' conftest.
$ac_ext >&5
17384 ac_cv_type_long_long
=no
17386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17388 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17389 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17391 echo "$as_me:$LINENO: checking size of long long" >&5
17392 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17393 if test "${ac_cv_sizeof_long_long+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 if test "$ac_cv_type_long_long" = yes; then
17397 # The cast to unsigned long works around a bug in the HP C Compiler
17398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17400 # This bug is HP SR number 8606223364.
17401 if test "$cross_compiling" = yes; then
17402 # Depending upon the size, compute the lo and hi bounds.
17403 cat >conftest.
$ac_ext <<_ACEOF
17406 cat confdefs.h
>>conftest.
$ac_ext
17407 cat >>conftest.
$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 $ac_includes_default
17413 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17420 rm -f conftest.
$ac_objext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>conftest.er1
17424 grep -v '^ *+' conftest.er1
>conftest.err
17426 cat conftest.err
>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try
='test -z "$ac_c_werror_flag"
17430 || test ! -s conftest.err'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; } &&
17436 { ac_try
='test -s conftest.$ac_objext'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; }; then
17444 cat >conftest.
$ac_ext <<_ACEOF
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17461 rm -f conftest.
$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try
='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_hi
=$ac_mid; break
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.
$ac_ext >&5
17488 ac_lo
=`expr $ac_mid + 1`
17489 if test $ac_lo -le $ac_mid; then
17493 ac_mid
=`expr 2 '*' $ac_mid + 1`
17495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.
$ac_ext >&5
17501 cat >conftest.
$ac_ext <<_ACEOF
17504 cat confdefs.h
>>conftest.
$ac_ext
17505 cat >>conftest.
$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17507 $ac_includes_default
17511 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17518 rm -f conftest.
$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520 (eval $ac_compile) 2>conftest.er1
17522 grep -v '^ *+' conftest.er1
>conftest.err
17524 cat conftest.err
>&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } &&
17527 { ac_try
='test -z "$ac_c_werror_flag"
17528 || test ! -s conftest.err'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; } &&
17534 { ac_try
='test -s conftest.$ac_objext'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; }; then
17542 cat >conftest.
$ac_ext <<_ACEOF
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17552 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17559 rm -f conftest.
$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try
='test -z "$ac_c_werror_flag"
17569 || test ! -s conftest.err'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try
='test -s conftest.$ac_objext'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17581 ac_lo
=$ac_mid; break
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.
$ac_ext >&5
17586 ac_hi
=`expr '(' $ac_mid ')' - 1`
17587 if test $ac_mid -le $ac_hi; then
17591 ac_mid
=`expr 2 '*' $ac_mid`
17593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.
$ac_ext >&5
17601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17604 # Binary search between lo and hi bounds.
17605 while test "x$ac_lo" != "x$ac_hi"; do
17606 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17607 cat >conftest.
$ac_ext <<_ACEOF
17610 cat confdefs.h
>>conftest.
$ac_ext
17611 cat >>conftest.
$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17613 $ac_includes_default
17617 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17624 rm -f conftest.
$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17628 grep -v '^ *+' conftest.er1
>conftest.err
17630 cat conftest.err
>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try
='test -z "$ac_c_werror_flag"
17634 || test ! -s conftest.err'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; } &&
17640 { ac_try
='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.
$ac_ext >&5
17651 ac_lo
=`expr '(' $ac_mid ')' + 1`
17653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17656 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17657 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17658 See \`config.log' for more details." >&5
17659 echo "$as_me: error: cannot compute sizeof (long long), 77
17660 See \`config.log' for more details." >&2;}
17661 { (exit 1); exit 1; }; } ;;
17664 if test "$cross_compiling" = yes; then
17665 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17666 See \`config.log' for more details." >&5
17667 echo "$as_me: error: cannot run test program while cross compiling
17668 See \`config.log' for more details." >&2;}
17669 { (exit 1); exit 1; }; }
17671 cat >conftest.
$ac_ext <<_ACEOF
17674 cat confdefs.h
>>conftest.
$ac_ext
17675 cat >>conftest.
$ac_ext <<_ACEOF
17676 /* end confdefs.h. */
17677 $ac_includes_default
17678 long longval () { return (long) (sizeof (long long)); }
17679 unsigned long ulongval () { return (long) (sizeof (long long)); }
17681 #include <stdlib.h>
17686 FILE *f = fopen ("conftest.val", "w");
17689 if (((long) (sizeof (long long))) < 0)
17691 long i = longval ();
17692 if (i != ((long) (sizeof (long long))))
17694 fprintf (f, "%ld\n", i);
17698 unsigned long i = ulongval ();
17699 if (i != ((long) (sizeof (long long))))
17701 fprintf (f, "%lu\n", i);
17703 exit (ferror (f) || fclose (f) != 0);
17709 rm -f conftest
$ac_exeext
17710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17711 (eval $ac_link) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; }; then
17720 ac_cv_sizeof_long_long
=`cat conftest.val`
17722 echo "$as_me: program exited with status $ac_status" >&5
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.
$ac_ext >&5
17726 ( exit $ac_status )
17727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17728 See \`config.log' for more details." >&5
17729 echo "$as_me: error: cannot compute sizeof (long long), 77
17730 See \`config.log' for more details." >&2;}
17731 { (exit 1); exit 1; }; }
17733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17738 ac_cv_sizeof_long_long
=0
17741 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17742 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17743 cat >>confdefs.h
<<_ACEOF
17744 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17748 if test "$ac_cv_sizeof_long_long" != "0"; then
17749 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17753 echo "$as_me:$LINENO: checking for long long" >&5
17754 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17755 if test "${ac_cv_type_long_long+set}" = set; then
17756 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 cat >conftest.
$ac_ext <<_ACEOF
17761 cat confdefs.h
>>conftest.
$ac_ext
17762 cat >>conftest.
$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 $ac_includes_default
17768 if ((long long *) 0)
17770 if (sizeof (long long))
17776 rm -f conftest.
$ac_objext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>conftest.er1
17780 grep -v '^ *+' conftest.er1
>conftest.err
17782 cat conftest.err
>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try
='test -z "$ac_c_werror_flag"
17786 || test ! -s conftest.err'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; } &&
17792 { ac_try
='test -s conftest.$ac_objext'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; }; then
17798 ac_cv_type_long_long
=yes
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.
$ac_ext >&5
17803 ac_cv_type_long_long
=no
17805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17807 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17808 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17810 echo "$as_me:$LINENO: checking size of long long" >&5
17811 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17812 if test "${ac_cv_sizeof_long_long+set}" = set; then
17813 echo $ECHO_N "(cached) $ECHO_C" >&6
17815 if test "$ac_cv_type_long_long" = yes; then
17816 # The cast to unsigned long works around a bug in the HP C Compiler
17817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17819 # This bug is HP SR number 8606223364.
17820 if test "$cross_compiling" = yes; then
17821 # Depending upon the size, compute the lo and hi bounds.
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))) >= 0)];
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
17863 cat >conftest.
$ac_ext <<_ACEOF
17866 cat confdefs.h
>>conftest.
$ac_ext
17867 cat >>conftest.
$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 $ac_includes_default
17873 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17880 rm -f conftest.
$ac_objext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17882 (eval $ac_compile) 2>conftest.er1
17884 grep -v '^ *+' conftest.er1
>conftest.err
17886 cat conftest.err
>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try
='test -z "$ac_c_werror_flag"
17890 || test ! -s conftest.err'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; } &&
17896 { ac_try
='test -s conftest.$ac_objext'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 ac_hi
=$ac_mid; break
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.
$ac_ext >&5
17907 ac_lo
=`expr $ac_mid + 1`
17908 if test $ac_lo -le $ac_mid; then
17912 ac_mid
=`expr 2 '*' $ac_mid + 1`
17914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
17961 cat >conftest.
$ac_ext <<_ACEOF
17964 cat confdefs.h
>>conftest.
$ac_ext
17965 cat >>conftest.
$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17978 rm -f conftest.
$ac_objext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17980 (eval $ac_compile) 2>conftest.er1
17982 grep -v '^ *+' conftest.er1
>conftest.err
17984 cat conftest.err
>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } &&
17987 { ac_try
='test -z "$ac_c_werror_flag"
17988 || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try
='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_lo
=$ac_mid; break
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.
$ac_ext >&5
18005 ac_hi
=`expr '(' $ac_mid ')' - 1`
18006 if test $ac_mid -le $ac_hi; then
18010 ac_mid
=`expr 2 '*' $ac_mid`
18012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18023 # Binary search between lo and hi bounds.
18024 while test "x$ac_lo" != "x$ac_hi"; do
18025 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18026 cat >conftest.
$ac_ext <<_ACEOF
18029 cat confdefs.h
>>conftest.
$ac_ext
18030 cat >>conftest.
$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18043 rm -f conftest.
$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18047 grep -v '^ *+' conftest.er1
>conftest.err
18049 cat conftest.err
>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try
='test -z "$ac_c_werror_flag"
18053 || test ! -s conftest.err'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; } &&
18059 { ac_try
='test -s conftest.$ac_objext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.
$ac_ext >&5
18070 ac_lo
=`expr '(' $ac_mid ')' + 1`
18072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18075 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18076 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18077 See \`config.log' for more details." >&5
18078 echo "$as_me: error: cannot compute sizeof (long long), 77
18079 See \`config.log' for more details." >&2;}
18080 { (exit 1); exit 1; }; } ;;
18083 if test "$cross_compiling" = yes; then
18084 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18085 See \`config.log' for more details." >&5
18086 echo "$as_me: error: cannot run test program while cross compiling
18087 See \`config.log' for more details." >&2;}
18088 { (exit 1); exit 1; }; }
18090 cat >conftest.
$ac_ext <<_ACEOF
18093 cat confdefs.h
>>conftest.
$ac_ext
18094 cat >>conftest.
$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18097 long longval () { return (long) (sizeof (long long)); }
18098 unsigned long ulongval () { return (long) (sizeof (long long)); }
18100 #include <stdlib.h>
18105 FILE *f = fopen ("conftest.val", "w");
18108 if (((long) (sizeof (long long))) < 0)
18110 long i = longval ();
18111 if (i != ((long) (sizeof (long long))))
18113 fprintf (f, "%ld\n", i);
18117 unsigned long i = ulongval ();
18118 if (i != ((long) (sizeof (long long))))
18120 fprintf (f, "%lu\n", i);
18122 exit (ferror (f) || fclose (f) != 0);
18128 rm -f conftest
$ac_exeext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18130 (eval $ac_link) 2>&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_cv_sizeof_long_long
=`cat conftest.val`
18141 echo "$as_me: program exited with status $ac_status" >&5
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.
$ac_ext >&5
18145 ( exit $ac_status )
18146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18147 See \`config.log' for more details." >&5
18148 echo "$as_me: error: cannot compute sizeof (long long), 77
18149 See \`config.log' for more details." >&2;}
18150 { (exit 1); exit 1; }; }
18152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18157 ac_cv_sizeof_long_long
=0
18160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18161 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18162 cat >>confdefs.h
<<_ACEOF
18163 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18169 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18170 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18171 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18175 if test "$cross_compiling" = yes; then
18179 wx_cv_sizeof_wchar_t
=0
18182 wx_cv_sizeof_wchar_t
=4
18188 cat >conftest.
$ac_ext <<_ACEOF
18191 cat confdefs.h
>>conftest.
$ac_ext
18192 cat >>conftest.
$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18195 /* DJGPP only has fake wchar_t: */
18197 # error "fake wchar_t"
18199 #ifdef HAVE_WCHAR_H
18201 # include <stddef.h>
18203 # include <wchar.h>
18205 #ifdef HAVE_STDLIB_H
18206 # include <stdlib.h>
18211 FILE *f=fopen("conftestval", "w");
18213 fprintf(f, "%i", sizeof(wchar_t));
18218 rm -f conftest
$ac_exeext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18220 (eval $ac_link) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 wx_cv_sizeof_wchar_t
=`cat conftestval`
18231 echo "$as_me: program exited with status $ac_status" >&5
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18235 ( exit $ac_status )
18236 wx_cv_sizeof_wchar_t
=0
18238 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18242 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18243 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18245 cat >>confdefs.h
<<_ACEOF
18246 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18250 echo "$as_me:$LINENO: checking for va_copy" >&5
18251 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18252 if test "${wx_cv_func_va_copy+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 cat >conftest.
$ac_ext <<_ACEOF
18258 #include <stdarg.h>
18259 void foo(char *f, ...)
18268 rm -f conftest.
$ac_objext conftest
$ac_exeext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18270 (eval $ac_link) 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -z "$ac_c_werror_flag"
18278 || test ! -s conftest.err'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try
='test -s conftest$ac_exeext'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; }; then
18290 wx_cv_func_va_copy
=yes
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.
$ac_ext >&5
18295 wx_cv_func_va_copy
=no
18298 rm -f conftest.err conftest.
$ac_objext \
18299 conftest
$ac_exeext conftest.
$ac_ext
18303 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18304 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18306 if test $wx_cv_func_va_copy = "yes"; then
18307 cat >>confdefs.h
<<\_ACEOF
18308 #define HAVE_VA_COPY 1
18312 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18313 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18314 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18315 echo $ECHO_N "(cached) $ECHO_C" >&6
18318 if test "$cross_compiling" = yes; then
18319 wx_cv_type_va_list_lvalue
=yes
18322 cat >conftest.
$ac_ext <<_ACEOF
18324 #include <stdarg.h>
18325 int foo(char *f, ...)
18330 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18338 return foo("hi", 17);
18341 rm -f conftest
$ac_exeext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18343 (eval $ac_link) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; }; then
18352 wx_cv_type_va_list_lvalue
=yes
18354 echo "$as_me: program exited with status $ac_status" >&5
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.
$ac_ext >&5
18358 ( exit $ac_status )
18359 wx_cv_type_va_list_lvalue
=no
18361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18366 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18367 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18369 if test $wx_cv_type_va_list_lvalue != "yes"; then
18370 cat >>confdefs.h
<<\_ACEOF
18371 #define VA_LIST_IS_ARRAY 1
18377 # Check whether --enable-largefile or --disable-largefile was given.
18378 if test "${enable_largefile+set}" = set; then
18379 enableval
="$enable_largefile"
18382 if test "$enable_largefile" != no
; then
18385 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18386 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18387 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18391 cat >conftest.
$ac_ext <<_ACEOF
18394 cat confdefs.h
>>conftest.
$ac_ext
18395 cat >>conftest.
$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 #define _FILE_OFFSET_BITS 64
18398 #include <sys/types.h>
18403 unsigned int field: sizeof(off_t) == 8;
18410 rm -f conftest.
$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18414 grep -v '^ *+' conftest.er1
>conftest.err
18416 cat conftest.err
>&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try
='test -z "$ac_c_werror_flag"
18420 || test ! -s conftest.err'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; } &&
18426 { ac_try
='test -s conftest.$ac_objext'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; }; then
18432 ac_cv_sys_file_offset_bits
=64
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.
$ac_ext >&5
18437 ac_cv_sys_file_offset_bits
=no
18439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18443 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18444 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18446 if test "$ac_cv_sys_file_offset_bits" != no
; then
18448 cat >>confdefs.h
<<_ACEOF
18449 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18454 if test "x$wx_largefile" != "xyes"; then
18456 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18457 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18458 if test "${ac_cv_sys_large_files+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18462 cat >conftest.
$ac_ext <<_ACEOF
18465 cat confdefs.h
>>conftest.
$ac_ext
18466 cat >>conftest.
$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 #define _LARGE_FILES 1
18469 #include <sys/types.h>
18474 unsigned int field: sizeof(off_t) == 8;
18481 rm -f conftest.
$ac_objext
18482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18483 (eval $ac_compile) 2>conftest.er1
18485 grep -v '^ *+' conftest.er1
>conftest.err
18487 cat conftest.err
>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try
='test -z "$ac_c_werror_flag"
18491 || test ! -s conftest.err'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; } &&
18497 { ac_try
='test -s conftest.$ac_objext'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 ac_cv_sys_large_files
=1
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18508 ac_cv_sys_large_files
=no
18510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18514 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18515 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18517 if test "$ac_cv_sys_large_files" != no
; then
18519 cat >>confdefs.h
<<_ACEOF
18520 #define _LARGE_FILES $ac_cv_sys_large_files
18527 echo "$as_me:$LINENO: checking if large file support is available" >&5
18528 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18529 if test "x$wx_largefile" = "xyes"; then
18530 cat >>confdefs.h
<<\_ACEOF
18531 #define HAVE_LARGEFILE_SUPPORT 1
18535 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18536 echo "${ECHO_T}$wx_largefile" >&6
18540 if test "x$wx_largefile" = "xyes"; then
18541 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18542 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18544 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18546 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18549 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18550 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18551 if test "${ac_cv_c_bigendian+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 ac_cv_c_bigendian
=unknown
18555 # See if sys/param.h defines the BYTE_ORDER macro.
18556 cat >conftest.
$ac_ext <<_ACEOF
18559 cat confdefs.h
>>conftest.
$ac_ext
18560 cat >>conftest.
$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 #include <sys/types.h>
18563 #include <sys/param.h>
18568 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18569 bogus endian macros
18575 rm -f conftest.
$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18579 grep -v '^ *+' conftest.er1
>conftest.err
18581 cat conftest.err
>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try
='test -z "$ac_c_werror_flag"
18585 || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try
='test -s conftest.$ac_objext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 # It does; now see whether it defined to BIG_ENDIAN or not.
18598 cat >conftest.
$ac_ext <<_ACEOF
18601 cat confdefs.h
>>conftest.
$ac_ext
18602 cat >>conftest.
$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 #include <sys/types.h>
18605 #include <sys/param.h>
18610 #if BYTE_ORDER != BIG_ENDIAN
18617 rm -f conftest.
$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619 (eval $ac_compile) 2>conftest.er1
18621 grep -v '^ *+' conftest.er1
>conftest.err
18623 cat conftest.err
>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try
='test -z "$ac_c_werror_flag"
18627 || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try
='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_cv_c_bigendian
=yes
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.
$ac_ext >&5
18644 ac_cv_c_bigendian
=no
18646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18653 if test $ac_cv_c_bigendian = unknown
; then
18654 if test "$cross_compiling" = yes; then
18655 ac_cv_c_bigendian
=unknown
18657 cat >conftest.
$ac_ext <<_ACEOF
18660 cat confdefs.h
>>conftest.
$ac_ext
18661 cat >>conftest.
$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18664 /* Are we little or big endian? From Harbison&Steele. */
18668 char c[sizeof (long)];
18671 exit (u.c[sizeof (long) - 1] == 1);
18674 rm -f conftest
$ac_exeext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676 (eval $ac_link) 2>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; }; then
18685 ac_cv_c_bigendian
=no
18687 echo "$as_me: program exited with status $ac_status" >&5
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.
$ac_ext >&5
18691 ( exit $ac_status )
18692 ac_cv_c_bigendian
=yes
18694 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18698 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18699 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18700 if test $ac_cv_c_bigendian = unknown
; then
18701 { 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
18702 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;}
18704 if test $ac_cv_c_bigendian = yes; then
18705 cat >>confdefs.h
<<\_ACEOF
18706 #define WORDS_BIGENDIAN 1
18713 ac_cpp
='$CXXCPP $CPPFLAGS'
18714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18717 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18718 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18719 if test -z "$CXXCPP"; then
18720 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18723 # Double quotes because CXXCPP needs to be expanded
18724 for CXXCPP
in "$CXX -E" "/lib/cpp"
18726 ac_preproc_ok
=false
18727 for ac_cxx_preproc_warn_flag
in '' yes
18729 # Use a header file that comes with gcc, so configuring glibc
18730 # with a fresh cross-compiler works.
18731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18732 # <limits.h> exists even on freestanding compilers.
18733 # On the NeXT, cc -E runs the code through the compiler's parser,
18734 # not just through cpp. "Syntax error" is here to catch this case.
18735 cat >conftest.
$ac_ext <<_ACEOF
18738 cat confdefs.h
>>conftest.
$ac_ext
18739 cat >>conftest.
$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18742 # include <limits.h>
18744 # include <assert.h>
18748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18751 grep -v '^ *+' conftest.er1
>conftest.err
18753 cat conftest.err
>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev
/null
; then
18756 if test -s conftest.err
; then
18757 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18758 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18765 if test -z "$ac_cpp_err"; then
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.
$ac_ext >&5
18771 # Broken: fails on valid input.
18774 rm -f conftest.err conftest.
$ac_ext
18776 # OK, works on sane cases. Now check whether non-existent headers
18777 # can be detected and how.
18778 cat >conftest.
$ac_ext <<_ACEOF
18781 cat confdefs.h
>>conftest.
$ac_ext
18782 cat >>conftest.
$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 #include <ac_nonexistent.h>
18786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18787 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18789 grep -v '^ *+' conftest.er1
>conftest.err
18791 cat conftest.err
>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } >/dev
/null
; then
18794 if test -s conftest.err
; then
18795 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18796 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18803 if test -z "$ac_cpp_err"; then
18804 # Broken: success on invalid input.
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.
$ac_ext >&5
18810 # Passes both tests.
18814 rm -f conftest.err conftest.
$ac_ext
18817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18818 rm -f conftest.err conftest.
$ac_ext
18819 if $ac_preproc_ok; then
18824 ac_cv_prog_CXXCPP
=$CXXCPP
18827 CXXCPP
=$ac_cv_prog_CXXCPP
18829 ac_cv_prog_CXXCPP
=$CXXCPP
18831 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18832 echo "${ECHO_T}$CXXCPP" >&6
18833 ac_preproc_ok
=false
18834 for ac_cxx_preproc_warn_flag
in '' yes
18836 # Use a header file that comes with gcc, so configuring glibc
18837 # with a fresh cross-compiler works.
18838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18839 # <limits.h> exists even on freestanding compilers.
18840 # On the NeXT, cc -E runs the code through the compiler's parser,
18841 # not just through cpp. "Syntax error" is here to catch this case.
18842 cat >conftest.
$ac_ext <<_ACEOF
18845 cat confdefs.h
>>conftest.
$ac_ext
18846 cat >>conftest.
$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18849 # include <limits.h>
18851 # include <assert.h>
18855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18858 grep -v '^ *+' conftest.er1
>conftest.err
18860 cat conftest.err
>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } >/dev
/null
; then
18863 if test -s conftest.err
; then
18864 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18865 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18872 if test -z "$ac_cpp_err"; then
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.
$ac_ext >&5
18878 # Broken: fails on valid input.
18881 rm -f conftest.err conftest.
$ac_ext
18883 # OK, works on sane cases. Now check whether non-existent headers
18884 # can be detected and how.
18885 cat >conftest.
$ac_ext <<_ACEOF
18888 cat confdefs.h
>>conftest.
$ac_ext
18889 cat >>conftest.
$ac_ext <<_ACEOF
18890 /* end confdefs.h. */
18891 #include <ac_nonexistent.h>
18893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18896 grep -v '^ *+' conftest.er1
>conftest.err
18898 cat conftest.err
>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } >/dev
/null
; then
18901 if test -s conftest.err
; then
18902 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18903 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18910 if test -z "$ac_cpp_err"; then
18911 # Broken: success on invalid input.
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.
$ac_ext >&5
18917 # Passes both tests.
18921 rm -f conftest.err conftest.
$ac_ext
18924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18925 rm -f conftest.err conftest.
$ac_ext
18926 if $ac_preproc_ok; then
18929 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18930 See \`config.log' for more details." >&5
18931 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18932 See \`config.log' for more details." >&2;}
18933 { (exit 1); exit 1; }; }
18937 ac_cpp
='$CXXCPP $CPPFLAGS'
18938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18947 ac_cpp
='$CXXCPP $CPPFLAGS'
18948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18954 for ac_header
in iostream
18956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18958 echo "$as_me:$LINENO: checking for $ac_header" >&5
18959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18966 # Is the header compilable?
18967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18969 cat >conftest.
$ac_ext <<_ACEOF
18972 cat confdefs.h
>>conftest.
$ac_ext
18973 cat >>conftest.
$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 $ac_includes_default
18976 #include <$ac_header>
18978 rm -f conftest.
$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18982 grep -v '^ *+' conftest.er1
>conftest.err
18984 cat conftest.err
>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try
='test -z "$ac_cxx_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try
='test -s conftest.$ac_objext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 ac_header_compiler
=yes
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.
$ac_ext >&5
19005 ac_header_compiler
=no
19007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19009 echo "${ECHO_T}$ac_header_compiler" >&6
19011 # Is the header present?
19012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19014 cat >conftest.
$ac_ext <<_ACEOF
19017 cat confdefs.h
>>conftest.
$ac_ext
19018 cat >>conftest.
$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19020 #include <$ac_header>
19022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19023 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19025 grep -v '^ *+' conftest.er1
>conftest.err
19027 cat conftest.err
>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } >/dev
/null
; then
19030 if test -s conftest.err
; then
19031 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19032 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19039 if test -z "$ac_cpp_err"; then
19040 ac_header_preproc
=yes
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.
$ac_ext >&5
19045 ac_header_preproc
=no
19047 rm -f conftest.err conftest.
$ac_ext
19048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19049 echo "${ECHO_T}$ac_header_preproc" >&6
19051 # So? What about this header?
19052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19058 ac_header_preproc
=yes
19061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19075 ## ----------------------------------------- ##
19076 ## Report this to wx-dev@lists.wxwidgets.org ##
19077 ## ----------------------------------------- ##
19080 sed "s/^/$as_me: WARNING: /" >&2
19083 echo "$as_me:$LINENO: checking for $ac_header" >&5
19084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 eval "$as_ac_Header=\$ac_header_preproc"
19090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19095 cat >>confdefs.h
<<_ACEOF
19096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19104 if test "$ac_cv_header_iostream" = "yes" ; then
19107 cat >>confdefs.h
<<\_ACEOF
19108 #define wxUSE_IOSTREAMH 1
19114 ac_cpp
='$CPP $CPPFLAGS'
19115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19122 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19123 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19124 if test "${wx_cv_cpp_bool+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19131 ac_cpp
='$CXXCPP $CPPFLAGS'
19132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19137 cat >conftest.
$ac_ext <<_ACEOF
19140 cat confdefs.h
>>conftest.
$ac_ext
19141 cat >>conftest.
$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19157 rm -f conftest.
$ac_objext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19159 (eval $ac_compile) 2>conftest.er1
19161 grep -v '^ *+' conftest.er1
>conftest.err
19163 cat conftest.err
>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try
='test -z "$ac_cxx_werror_flag"
19167 || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try
='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.
$ac_ext >&5
19191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19194 ac_cpp
='$CPP $CPPFLAGS'
19195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19201 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19202 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19204 if test "$wx_cv_cpp_bool" = "yes"; then
19205 cat >>confdefs.h
<<\_ACEOF
19206 #define HAVE_BOOL 1
19213 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19214 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19215 if test "${wx_cv_explicit+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19222 ac_cpp
='$CXXCPP $CPPFLAGS'
19223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19228 cat >conftest.
$ac_ext <<_ACEOF
19231 cat confdefs.h
>>conftest.
$ac_ext
19232 cat >>conftest.
$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19235 class Foo { public: explicit Foo(int) {} };
19247 rm -f conftest.
$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1
>conftest.err
19253 cat conftest.err
>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try
='test -z "$ac_cxx_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try
='test -s conftest.$ac_objext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19270 cat >conftest.
$ac_ext <<_ACEOF
19273 cat confdefs.h
>>conftest.
$ac_ext
19274 cat >>conftest.
$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19277 class Foo { public: explicit Foo(int) {} };
19278 static void TakeFoo(const Foo& foo) { }
19291 rm -f conftest.
$ac_objext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19293 (eval $ac_compile) 2>conftest.er1
19295 grep -v '^ *+' conftest.er1
>conftest.err
19297 cat conftest.err
>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try
='test -z "$ac_cxx_werror_flag"
19301 || test ! -s conftest.err'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; } &&
19307 { ac_try
='test -s conftest.$ac_objext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.
$ac_ext >&5
19321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.
$ac_ext >&5
19330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19333 ac_cpp
='$CPP $CPPFLAGS'
19334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19340 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19341 echo "${ECHO_T}$wx_cv_explicit" >&6
19343 if test "$wx_cv_explicit" = "yes"; then
19344 cat >>confdefs.h
<<\_ACEOF
19345 #define HAVE_EXPLICIT 1
19351 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19352 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19353 if test "${ac_cv_cxx_const_cast+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 ac_cpp
='$CXXCPP $CPPFLAGS'
19360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19364 cat >conftest.
$ac_ext <<_ACEOF
19367 cat confdefs.h
>>conftest.
$ac_ext
19368 cat >>conftest.
$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19374 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19379 rm -f conftest.
$ac_objext
19380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19381 (eval $ac_compile) 2>conftest.er1
19383 grep -v '^ *+' conftest.er1
>conftest.err
19385 cat conftest.err
>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } &&
19388 { ac_try
='test -z "$ac_cxx_werror_flag"
19389 || test ! -s conftest.err'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; } &&
19395 { ac_try
='test -s conftest.$ac_objext'
19396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397 (eval $ac_try) 2>&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; }; then
19401 ac_cv_cxx_const_cast
=yes
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.
$ac_ext >&5
19406 ac_cv_cxx_const_cast
=no
19408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19410 ac_cpp
='$CPP $CPPFLAGS'
19411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19417 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19418 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19419 if test "$ac_cv_cxx_const_cast" = yes; then
19421 cat >>confdefs.h
<<\_ACEOF
19422 #define HAVE_CONST_CAST
19427 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19428 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19429 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 ac_cpp
='$CXXCPP $CPPFLAGS'
19436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19440 cat >conftest.
$ac_ext <<_ACEOF
19443 cat confdefs.h
>>conftest.
$ac_ext
19444 cat >>conftest.
$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 #include <typeinfo>
19447 class Base { public : Base () {} virtual void f () = 0;};
19448 class Derived : public Base { public : Derived () {} virtual void f () {} };
19449 class Unrelated { public : Unrelated () {} };
19450 int g (Unrelated&) { return 0; }
19455 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19460 rm -f conftest.
$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1
>conftest.err
19466 cat conftest.err
>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try
='test -z "$ac_cxx_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_cxx_reinterpret_cast
=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_cv_cxx_reinterpret_cast
=no
19489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19491 ac_cpp
='$CPP $CPPFLAGS'
19492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19498 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19499 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19500 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19502 cat >>confdefs.h
<<\_ACEOF
19503 #define HAVE_REINTERPRET_CAST
19508 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19509 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19510 if test "${ac_cv_cxx_static_cast+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 ac_cpp
='$CXXCPP $CPPFLAGS'
19517 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19521 cat >conftest.
$ac_ext <<_ACEOF
19524 cat confdefs.h
>>conftest.
$ac_ext
19525 cat >>conftest.
$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 #include <typeinfo>
19528 class Base { public : Base () {} virtual void f () = 0; };
19529 class Derived : public Base { public : Derived () {} virtual void f () {} };
19530 int g (Derived&) { return 0; }
19535 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19540 rm -f conftest.
$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19544 grep -v '^ *+' conftest.er1
>conftest.err
19546 cat conftest.err
>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try
='test -z "$ac_cxx_werror_flag"
19550 || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try
='test -s conftest.$ac_objext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 ac_cv_cxx_static_cast
=yes
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 ac_cv_cxx_static_cast
=no
19569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19571 ac_cpp
='$CPP $CPPFLAGS'
19572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19578 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19579 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19580 if test "$ac_cv_cxx_static_cast" = yes; then
19582 cat >>confdefs.h
<<\_ACEOF
19583 #define HAVE_STATIC_CAST
19589 if test "$wxUSE_STL" = "yes"; then
19591 ac_cpp
='$CXXCPP $CPPFLAGS'
19592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19597 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19598 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19599 cat >conftest.
$ac_ext <<_ACEOF
19602 cat confdefs.h
>>conftest.
$ac_ext
19603 cat >>conftest.
$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19606 #include <functional>
19607 #include <algorithm>
19613 std::vector<int> moo;
19614 std::list<int> foo;
19615 std::vector<int>::iterator it =
19616 std::find_if(moo.begin(), moo.end(),
19617 std::bind2nd(std::less<int>(), 3));
19622 rm -f conftest.
$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19626 grep -v '^ *+' conftest.er1
>conftest.err
19628 cat conftest.err
>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try
='test -z "$ac_cxx_werror_flag"
19632 || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try
='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 echo "$as_me:$LINENO: result: yes" >&5
19645 echo "${ECHO_T}yes" >&6
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19650 echo "$as_me:$LINENO: result: no" >&5
19651 echo "${ECHO_T}no" >&6
19652 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19653 echo "$as_me: error: Basic STL functionality missing" >&2;}
19654 { (exit 1); exit 1; }; }
19656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19658 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19659 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19660 cat >conftest.
$ac_ext <<_ACEOF
19663 cat confdefs.h
>>conftest.
$ac_ext
19664 cat >>conftest.
$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19675 rm -f conftest.
$ac_objext
19676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19677 (eval $ac_compile) 2>conftest.er1
19679 grep -v '^ *+' conftest.er1
>conftest.err
19681 cat conftest.err
>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } &&
19684 { ac_try
='test -z "$ac_cxx_werror_flag"
19685 || test ! -s conftest.err'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; } &&
19691 { ac_try
='test -s conftest.$ac_objext'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; }; then
19697 echo "$as_me:$LINENO: result: yes" >&5
19698 echo "${ECHO_T}yes" >&6
19699 cat >>confdefs.h
<<\_ACEOF
19700 #define HAVE_STD_WSTRING 1
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.
$ac_ext >&5
19707 echo "$as_me:$LINENO: result: no" >&5
19708 echo "${ECHO_T}no" >&6
19710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19712 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19713 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19724 std::string foo, bar;
19726 foo.compare(1, 1, bar);
19727 foo.compare(1, 1, bar, 1, 1);
19729 foo.compare(1, 1, "");
19730 foo.compare(1, 1, "", 2);
19735 rm -f conftest.
$ac_objext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19737 (eval $ac_compile) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try
='test -z "$ac_cxx_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try
='test -s conftest.$ac_objext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 echo "$as_me:$LINENO: result: yes" >&5
19758 echo "${ECHO_T}yes" >&6
19759 cat >>confdefs.h
<<\_ACEOF
19760 #define HAVE_STD_STRING_COMPARE 1
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.
$ac_ext >&5
19767 echo "$as_me:$LINENO: result: no" >&5
19768 echo "${ECHO_T}no" >&6
19770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19772 if test "${ac_cv_header_hash_map+set}" = set; then
19773 echo "$as_me:$LINENO: checking for hash_map" >&5
19774 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19775 if test "${ac_cv_header_hash_map+set}" = set; then
19776 echo $ECHO_N "(cached) $ECHO_C" >&6
19778 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19779 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19781 # Is the header compilable?
19782 echo "$as_me:$LINENO: checking hash_map usability" >&5
19783 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19784 cat >conftest.
$ac_ext <<_ACEOF
19787 cat confdefs.h
>>conftest.
$ac_ext
19788 cat >>conftest.
$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 $ac_includes_default
19791 #include <hash_map>
19793 rm -f conftest.
$ac_objext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19795 (eval $ac_compile) 2>conftest.er1
19797 grep -v '^ *+' conftest.er1
>conftest.err
19799 cat conftest.err
>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } &&
19802 { ac_try
='test -z "$ac_cxx_werror_flag"
19803 || test ! -s conftest.err'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; } &&
19809 { ac_try
='test -s conftest.$ac_objext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_header_compiler
=yes
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.
$ac_ext >&5
19820 ac_header_compiler
=no
19822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19824 echo "${ECHO_T}$ac_header_compiler" >&6
19826 # Is the header present?
19827 echo "$as_me:$LINENO: checking hash_map presence" >&5
19828 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19829 cat >conftest.
$ac_ext <<_ACEOF
19832 cat confdefs.h
>>conftest.
$ac_ext
19833 cat >>conftest.
$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 #include <hash_map>
19837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19838 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19840 grep -v '^ *+' conftest.er1
>conftest.err
19842 cat conftest.err
>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } >/dev
/null
; then
19845 if test -s conftest.err
; then
19846 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19847 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19854 if test -z "$ac_cpp_err"; then
19855 ac_header_preproc
=yes
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.
$ac_ext >&5
19860 ac_header_preproc
=no
19862 rm -f conftest.err conftest.
$ac_ext
19863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19864 echo "${ECHO_T}$ac_header_preproc" >&6
19866 # So? What about this header?
19867 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19869 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19870 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19871 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19872 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19873 ac_header_preproc
=yes
19876 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19877 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19878 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19879 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19880 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19881 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19882 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19883 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19884 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19885 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19886 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19887 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19890 ## ----------------------------------------- ##
19891 ## Report this to wx-dev@lists.wxwidgets.org ##
19892 ## ----------------------------------------- ##
19895 sed "s/^/$as_me: WARNING: /" >&2
19898 echo "$as_me:$LINENO: checking for hash_map" >&5
19899 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19900 if test "${ac_cv_header_hash_map+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 ac_cv_header_hash_map
=$ac_header_preproc
19905 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19906 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19909 if test $ac_cv_header_hash_map = yes; then
19910 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19911 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19912 cat >conftest.
$ac_ext <<_ACEOF
19915 cat confdefs.h
>>conftest.
$ac_ext
19916 cat >>conftest.
$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 #include <hash_map>
19919 #include <hash_set>
19923 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19924 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19929 rm -f conftest.
$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19933 grep -v '^ *+' conftest.er1
>conftest.err
19935 cat conftest.err
>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try
='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try
='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 echo "$as_me:$LINENO: result: yes" >&5
19952 echo "${ECHO_T}yes" >&6
19953 cat >>confdefs.h
<<\_ACEOF
19954 #define HAVE_HASH_MAP 1
19957 cat >>confdefs.h
<<\_ACEOF
19958 #define HAVE_STD_HASH_MAP 1
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.
$ac_ext >&5
19965 echo "$as_me:$LINENO: result: no" >&5
19966 echo "${ECHO_T}no" >&6
19968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19974 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19975 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19976 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19977 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19981 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19983 # Is the header compilable?
19984 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19985 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19986 cat >conftest.
$ac_ext <<_ACEOF
19989 cat confdefs.h
>>conftest.
$ac_ext
19990 cat >>conftest.
$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19993 #include <ext/hash_map>
19995 rm -f conftest.
$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>conftest.er1
19999 grep -v '^ *+' conftest.er1
>conftest.err
20001 cat conftest.err
>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try
='test -z "$ac_cxx_werror_flag"
20005 || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try
='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 ac_header_compiler
=yes
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.
$ac_ext >&5
20022 ac_header_compiler
=no
20024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20026 echo "${ECHO_T}$ac_header_compiler" >&6
20028 # Is the header present?
20029 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20030 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20031 cat >conftest.
$ac_ext <<_ACEOF
20034 cat confdefs.h
>>conftest.
$ac_ext
20035 cat >>conftest.
$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 #include <ext/hash_map>
20039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20042 grep -v '^ *+' conftest.er1
>conftest.err
20044 cat conftest.err
>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } >/dev
/null
; then
20047 if test -s conftest.err
; then
20048 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20049 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20056 if test -z "$ac_cpp_err"; then
20057 ac_header_preproc
=yes
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.
$ac_ext >&5
20062 ac_header_preproc
=no
20064 rm -f conftest.err conftest.
$ac_ext
20065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20066 echo "${ECHO_T}$ac_header_preproc" >&6
20068 # So? What about this header?
20069 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20071 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20072 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20073 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20074 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20075 ac_header_preproc
=yes
20078 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20079 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20080 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20081 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20082 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20083 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20084 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20085 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20086 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20087 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20088 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20089 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20092 ## ----------------------------------------- ##
20093 ## Report this to wx-dev@lists.wxwidgets.org ##
20094 ## ----------------------------------------- ##
20097 sed "s/^/$as_me: WARNING: /" >&2
20100 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20101 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20102 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 ac_cv_header_ext_hash_map
=$ac_header_preproc
20107 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20108 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20111 if test $ac_cv_header_ext_hash_map = yes; then
20112 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20113 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #include <ext/hash_map>
20121 #include <ext/hash_set>
20125 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20126 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20131 rm -f conftest.
$ac_objext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20133 (eval $ac_compile) 2>conftest.er1
20135 grep -v '^ *+' conftest.er1
>conftest.err
20137 cat conftest.err
>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try
='test -z "$ac_cxx_werror_flag"
20141 || test ! -s conftest.err'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try
='test -s conftest.$ac_objext'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; }; then
20153 echo "$as_me:$LINENO: result: yes" >&5
20154 echo "${ECHO_T}yes" >&6
20155 cat >>confdefs.h
<<\_ACEOF
20156 #define HAVE_EXT_HASH_MAP 1
20159 cat >>confdefs.h
<<\_ACEOF
20160 #define HAVE_GNU_CXX_HASH_MAP 1
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.
$ac_ext >&5
20167 echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6
20170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20177 ac_cpp
='$CPP $CPPFLAGS'
20178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20186 /usr/local/include \
20188 /usr/Motif-2.1/include \
20189 /usr/Motif-1.2/include \
20190 /usr/include/Motif1.2 \
20191 /opt/xpm/include/X11 \
20192 /opt/GBxpm/include/ \
20193 /opt/GBxpm/X11/include/ \
20196 /usr/openwin/include \
20200 /usr/X11R6/include \
20201 /usr/X11R6.4/include \
20202 /usr/X11R5/include \
20203 /usr/X11R4/include \
20205 /usr/include/X11R6 \
20206 /usr/include/X11R5 \
20207 /usr/include/X11R4 \
20209 /usr/local/X11R6/include \
20210 /usr/local/X11R5/include \
20211 /usr/local/X11R4/include \
20213 /usr/local/include/X11R6 \
20214 /usr/local/include/X11R5 \
20215 /usr/local/include/X11R4 \
20219 /usr/local/X11/include \
20220 /usr/local/include/X11 \
20222 /usr/X386/include \
20223 /usr/x386/include \
20224 /usr/XFree86/include/X11 \
20226 X:/XFree86/include \
20227 X:/XFree86/include/X11 \
20230 /usr/local/include/gtk \
20231 /usr/include/glib \
20232 /usr/local/include/glib \
20235 /usr/local/include/qt \
20237 /usr/local/arm/3.3.2/include \
20239 /usr/include/windows \
20240 /usr/include/wine \
20241 /usr/local/include/wine \
20243 /usr/unsupported/include \
20244 /usr/athena/include \
20245 /usr/local/x11r5/include \
20246 /usr/lpp/Xamples/include \
20248 /usr/openwin/share/include"
20250 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20253 cat >confcache
<<\_ACEOF
20254 # This file is a shell script that caches the results of configure
20255 # tests run on this system so they can be shared between configure
20256 # scripts and configure runs, see configure's option --config-cache.
20257 # It is not useful on other systems. If it contains results you don't
20258 # want to keep, you may remove or edit it.
20260 # config.status only pays attention to the cache file if you give it
20261 # the --recheck option to rerun configure.
20263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20265 # following values.
20269 # The following way of writing the cache mishandles newlines in values,
20270 # but we know of no workaround that is simple, portable, and efficient.
20271 # So, don't put newlines in cache variables' values.
20272 # Ultrix sh set writes to stderr and can't be redirected directly,
20273 # and sets the high bit in the cache file unless we assign to the vars.
20276 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20278 # `set' does not quote correctly, so add quotes (double-quote
20279 # substitution turns \\\\ into \\, and sed turns \\ into \).
20282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20285 # `set' quotes correctly as required by POSIX, so do not add quotes.
20287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20294 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20296 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20298 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20299 if test -w $cache_file; then
20300 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20301 cat confcache
>$cache_file
20303 echo "not updating unwritable cache $cache_file"
20308 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20309 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20310 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20311 if test "${wx_cv_lib_glibc21+set}" = set; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20315 cat >conftest.
$ac_ext <<_ACEOF
20318 cat confdefs.h
>>conftest.
$ac_ext
20319 cat >>conftest.
$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 #include <features.h>
20326 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20327 #error not glibc2.1
20334 rm -f conftest.
$ac_objext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20336 (eval $ac_compile) 2>conftest.er1
20338 grep -v '^ *+' conftest.er1
>conftest.err
20340 cat conftest.err
>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try
='test -z "$ac_c_werror_flag"
20344 || test ! -s conftest.err'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; } &&
20350 { ac_try
='test -s conftest.$ac_objext'
20351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352 (eval $ac_try) 2>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20357 wx_cv_lib_glibc21
=yes
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.
$ac_ext >&5
20364 wx_cv_lib_glibc21
=no
20368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20371 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20372 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20373 if test "$wx_cv_lib_glibc21" = "yes"; then
20374 cat >>confdefs.h
<<\_ACEOF
20375 #define wxHAVE_GLIBC2 1
20381 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20382 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20383 cat >>confdefs.h
<<\_ACEOF
20384 #define _GNU_SOURCE 1
20392 if test "$wxUSE_REGEX" != "no"; then
20393 cat >>confdefs.h
<<\_ACEOF
20394 #define wxUSE_REGEX 1
20398 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20399 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20400 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20401 wxUSE_REGEX
=builtin
20404 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20405 if test "${ac_cv_header_regex_h+set}" = set; then
20406 echo "$as_me:$LINENO: checking for regex.h" >&5
20407 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20408 if test "${ac_cv_header_regex_h+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20412 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20414 # Is the header compilable?
20415 echo "$as_me:$LINENO: checking regex.h usability" >&5
20416 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20417 cat >conftest.
$ac_ext <<_ACEOF
20420 cat confdefs.h
>>conftest.
$ac_ext
20421 cat >>conftest.
$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 $ac_includes_default
20426 rm -f conftest.
$ac_objext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20428 (eval $ac_compile) 2>conftest.er1
20430 grep -v '^ *+' conftest.er1
>conftest.err
20432 cat conftest.err
>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try
='test -z "$ac_c_werror_flag"
20436 || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try
='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 ac_header_compiler
=yes
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ac_header_compiler
=no
20455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20457 echo "${ECHO_T}$ac_header_compiler" >&6
20459 # Is the header present?
20460 echo "$as_me:$LINENO: checking regex.h presence" >&5
20461 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20462 cat >conftest.
$ac_ext <<_ACEOF
20465 cat confdefs.h
>>conftest.
$ac_ext
20466 cat >>conftest.
$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20473 grep -v '^ *+' conftest.er1
>conftest.err
20475 cat conftest.err
>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } >/dev
/null
; then
20478 if test -s conftest.err
; then
20479 ac_cpp_err
=$ac_c_preproc_warn_flag
20480 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20487 if test -z "$ac_cpp_err"; then
20488 ac_header_preproc
=yes
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.
$ac_ext >&5
20493 ac_header_preproc
=no
20495 rm -f conftest.err conftest.
$ac_ext
20496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20497 echo "${ECHO_T}$ac_header_preproc" >&6
20499 # So? What about this header?
20500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20502 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20503 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20504 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20505 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20506 ac_header_preproc
=yes
20509 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20510 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20511 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20512 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20513 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20514 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20515 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20516 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20517 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20518 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20519 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20520 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20523 ## ----------------------------------------- ##
20524 ## Report this to wx-dev@lists.wxwidgets.org ##
20525 ## ----------------------------------------- ##
20528 sed "s/^/$as_me: WARNING: /" >&2
20531 echo "$as_me:$LINENO: checking for regex.h" >&5
20532 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20533 if test "${ac_cv_header_regex_h+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 ac_cv_header_regex_h
=$ac_header_preproc
20538 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20539 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20542 if test $ac_cv_header_regex_h = yes; then
20544 for ac_func
in regcomp
20546 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20547 echo "$as_me:$LINENO: checking for $ac_func" >&5
20548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20549 if eval "test \"\${$as_ac_var+set}\" = set"; then
20550 echo $ECHO_N "(cached) $ECHO_C" >&6
20552 cat >conftest.
$ac_ext <<_ACEOF
20555 cat confdefs.h
>>conftest.
$ac_ext
20556 cat >>conftest.
$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20560 #define $ac_func innocuous_$ac_func
20562 /* System header to define __stub macros and hopefully few prototypes,
20563 which can conflict with char $ac_func (); below.
20564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20565 <limits.h> exists even on freestanding compilers. */
20568 # include <limits.h>
20570 # include <assert.h>
20575 /* Override any gcc2 internal prototype to avoid an error. */
20580 /* We use char because int might match the return type of a gcc2
20581 builtin and then its argument prototype would still apply. */
20583 /* The GNU C library defines this for functions which it implements
20584 to always fail with ENOSYS. Some functions are actually named
20585 something starting with __ and the normal name is an alias. */
20586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20589 char (*f) () = $ac_func;
20598 return f != $ac_func;
20603 rm -f conftest.
$ac_objext conftest
$ac_exeext
20604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20605 (eval $ac_link) 2>conftest.er1
20607 grep -v '^ *+' conftest.er1
>conftest.err
20609 cat conftest.err
>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } &&
20612 { ac_try
='test -z "$ac_c_werror_flag"
20613 || test ! -s conftest.err'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; } &&
20619 { ac_try
='test -s conftest$ac_exeext'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; }; then
20625 eval "$as_ac_var=yes"
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.
$ac_ext >&5
20630 eval "$as_ac_var=no"
20632 rm -f conftest.err conftest.
$ac_objext \
20633 conftest
$ac_exeext conftest.
$ac_ext
20635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20637 if test `eval echo '${'$as_ac_var'}'` = yes; then
20638 cat >>confdefs.h
<<_ACEOF
20639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20649 if test "x$ac_cv_func_regcomp" != "xyes"; then
20650 if test "$wxUSE_REGEX" = "sys" ; then
20651 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20652 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20653 { (exit 1); exit 1; }; }
20655 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20656 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20657 wxUSE_REGEX
=builtin
20661 cat >>confdefs.h
<<\_ACEOF
20662 #define WX_NO_REGEX_ADVANCED 1
20671 if test "$wxUSE_ZLIB" != "no" ; then
20672 cat >>confdefs.h
<<\_ACEOF
20673 #define wxUSE_ZLIB 1
20677 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20678 if test "$USE_DARWIN" = 1; then
20679 system_zlib_h_ok
="yes"
20681 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20682 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20683 if test "${ac_cv_header_zlib_h+set}" = set; then
20684 echo $ECHO_N "(cached) $ECHO_C" >&6
20686 if test "$cross_compiling" = yes; then
20687 unset ac_cv_header_zlib_h
20690 cat >conftest.
$ac_ext <<_ACEOF
20693 cat confdefs.h
>>conftest.
$ac_ext
20694 cat >>conftest.
$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20702 FILE *f=fopen("conftestval", "w");
20705 ZLIB_VERSION[0] == '1' &&
20706 (ZLIB_VERSION[2] > '1' ||
20707 (ZLIB_VERSION[2] == '1' &&
20708 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20713 rm -f conftest
$ac_exeext
20714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20715 (eval $ac_link) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_cv_header_zlib_h
=`cat conftestval`
20726 echo "$as_me: program exited with status $ac_status" >&5
20727 echo "$as_me: failed program was:" >&5
20728 sed 's/^/| /' conftest.
$ac_ext >&5
20730 ( exit $ac_status )
20731 ac_cv_header_zlib_h
=no
20733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20737 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20738 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20739 if test "${ac_cv_header_zlib_h+set}" = set; then
20740 echo "$as_me:$LINENO: checking for zlib.h" >&5
20741 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20742 if test "${ac_cv_header_zlib_h+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20746 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20748 # Is the header compilable?
20749 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20750 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20751 cat >conftest.
$ac_ext <<_ACEOF
20754 cat confdefs.h
>>conftest.
$ac_ext
20755 cat >>conftest.
$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20760 rm -f conftest.
$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>conftest.er1
20764 grep -v '^ *+' conftest.er1
>conftest.err
20766 cat conftest.err
>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try
='test -z "$ac_c_werror_flag"
20770 || test ! -s conftest.err'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try
='test -s conftest.$ac_objext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_header_compiler
=yes
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.
$ac_ext >&5
20787 ac_header_compiler
=no
20789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20791 echo "${ECHO_T}$ac_header_compiler" >&6
20793 # Is the header present?
20794 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20795 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20796 cat >conftest.
$ac_ext <<_ACEOF
20799 cat confdefs.h
>>conftest.
$ac_ext
20800 cat >>conftest.
$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } >/dev
/null
; then
20812 if test -s conftest.err
; then
20813 ac_cpp_err
=$ac_c_preproc_warn_flag
20814 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20821 if test -z "$ac_cpp_err"; then
20822 ac_header_preproc
=yes
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 ac_header_preproc
=no
20829 rm -f conftest.err conftest.
$ac_ext
20830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20831 echo "${ECHO_T}$ac_header_preproc" >&6
20833 # So? What about this header?
20834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20836 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20837 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20839 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20840 ac_header_preproc
=yes
20843 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20844 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20845 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20846 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20847 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20848 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20849 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20850 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20851 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20852 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20853 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20854 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20857 ## ----------------------------------------- ##
20858 ## Report this to wx-dev@lists.wxwidgets.org ##
20859 ## ----------------------------------------- ##
20862 sed "s/^/$as_me: WARNING: /" >&2
20865 echo "$as_me:$LINENO: checking for zlib.h" >&5
20866 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20867 if test "${ac_cv_header_zlib_h+set}" = set; then
20868 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 ac_cv_header_zlib_h
=$ac_header_preproc
20872 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20873 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20879 system_zlib_h_ok
=$ac_cv_header_zlib_h
20882 if test "$system_zlib_h_ok" = "yes"; then
20883 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20884 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20885 if test "${ac_cv_lib_z_deflate+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20888 ac_check_lib_save_LIBS
=$LIBS
20890 cat >conftest.
$ac_ext <<_ACEOF
20893 cat confdefs.h
>>conftest.
$ac_ext
20894 cat >>conftest.
$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20897 /* Override any gcc2 internal prototype to avoid an error. */
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20912 rm -f conftest.
$ac_objext conftest
$ac_exeext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20914 (eval $ac_link) 2>conftest.er1
20916 grep -v '^ *+' conftest.er1
>conftest.err
20918 cat conftest.err
>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } &&
20921 { ac_try
='test -z "$ac_c_werror_flag"
20922 || test ! -s conftest.err'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; } &&
20928 { ac_try
='test -s conftest$ac_exeext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 ac_cv_lib_z_deflate
=yes
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.
$ac_ext >&5
20939 ac_cv_lib_z_deflate
=no
20941 rm -f conftest.err conftest.
$ac_objext \
20942 conftest
$ac_exeext conftest.
$ac_ext
20943 LIBS
=$ac_check_lib_save_LIBS
20945 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20946 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20947 if test $ac_cv_lib_z_deflate = yes; then
20953 if test "x$ZLIB_LINK" = "x" ; then
20954 if test "$wxUSE_ZLIB" = "sys" ; then
20955 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20956 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20957 { (exit 1); exit 1; }; }
20959 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20960 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20971 if test "$wxUSE_LIBPNG" != "no" ; then
20972 cat >>confdefs.h
<<\_ACEOF
20973 #define wxUSE_LIBPNG 1
20977 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20978 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20979 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20983 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20984 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20985 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20986 wxUSE_LIBPNG
=builtin
20989 if test "$wxUSE_MGL" != 1 ; then
20990 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20991 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20992 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20993 if test "${ac_cv_header_png_h+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 if test "$cross_compiling" = yes; then
20997 unset ac_cv_header_png_h
21000 cat >conftest.
$ac_ext <<_ACEOF
21003 cat confdefs.h
>>conftest.
$ac_ext
21004 cat >>conftest.
$ac_ext <<_ACEOF
21005 /* end confdefs.h. */
21012 FILE *f=fopen("conftestval", "w");
21015 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21020 rm -f conftest
$ac_exeext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 (eval $ac_link) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; }; then
21031 ac_cv_header_png_h
=`cat conftestval`
21033 echo "$as_me: program exited with status $ac_status" >&5
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.
$ac_ext >&5
21037 ( exit $ac_status )
21038 ac_cv_header_png_h
=no
21040 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21044 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21045 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21046 if test "${ac_cv_header_png_h+set}" = set; then
21047 echo "$as_me:$LINENO: checking for png.h" >&5
21048 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21049 if test "${ac_cv_header_png_h+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21053 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21055 # Is the header compilable?
21056 echo "$as_me:$LINENO: checking png.h usability" >&5
21057 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21058 cat >conftest.
$ac_ext <<_ACEOF
21061 cat confdefs.h
>>conftest.
$ac_ext
21062 cat >>conftest.
$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21067 rm -f conftest.
$ac_objext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21069 (eval $ac_compile) 2>conftest.er1
21071 grep -v '^ *+' conftest.er1
>conftest.err
21073 cat conftest.err
>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try
='test -z "$ac_c_werror_flag"
21077 || test ! -s conftest.err'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; } &&
21083 { ac_try
='test -s conftest.$ac_objext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_header_compiler
=yes
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.
$ac_ext >&5
21094 ac_header_compiler
=no
21096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21098 echo "${ECHO_T}$ac_header_compiler" >&6
21100 # Is the header present?
21101 echo "$as_me:$LINENO: checking png.h presence" >&5
21102 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21103 cat >conftest.
$ac_ext <<_ACEOF
21106 cat confdefs.h
>>conftest.
$ac_ext
21107 cat >>conftest.
$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21114 grep -v '^ *+' conftest.er1
>conftest.err
21116 cat conftest.err
>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } >/dev
/null
; then
21119 if test -s conftest.err
; then
21120 ac_cpp_err
=$ac_c_preproc_warn_flag
21121 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21128 if test -z "$ac_cpp_err"; then
21129 ac_header_preproc
=yes
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.
$ac_ext >&5
21134 ac_header_preproc
=no
21136 rm -f conftest.err conftest.
$ac_ext
21137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21138 echo "${ECHO_T}$ac_header_preproc" >&6
21140 # So? What about this header?
21141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21143 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21144 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21145 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21146 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21147 ac_header_preproc
=yes
21150 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21151 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21152 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21153 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21154 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21155 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21156 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21157 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21158 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21159 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21160 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21161 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21164 ## ----------------------------------------- ##
21165 ## Report this to wx-dev@lists.wxwidgets.org ##
21166 ## ----------------------------------------- ##
21169 sed "s/^/$as_me: WARNING: /" >&2
21172 echo "$as_me:$LINENO: checking for png.h" >&5
21173 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21174 if test "${ac_cv_header_png_h+set}" = set; then
21175 echo $ECHO_N "(cached) $ECHO_C" >&6
21177 ac_cv_header_png_h
=$ac_header_preproc
21179 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21180 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21186 if test "$ac_cv_header_png_h" = "yes"; then
21187 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21188 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21189 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21190 echo $ECHO_N "(cached) $ECHO_C" >&6
21192 ac_check_lib_save_LIBS
=$LIBS
21193 LIBS
="-lpng -lz -lm $LIBS"
21194 cat >conftest.
$ac_ext <<_ACEOF
21197 cat confdefs.h
>>conftest.
$ac_ext
21198 cat >>conftest.
$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21201 /* Override any gcc2 internal prototype to avoid an error. */
21205 /* We use char because int might match the return type of a gcc2
21206 builtin and then its argument prototype would still apply. */
21207 char png_check_sig ();
21216 rm -f conftest.
$ac_objext conftest
$ac_exeext
21217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21218 (eval $ac_link) 2>conftest.er1
21220 grep -v '^ *+' conftest.er1
>conftest.err
21222 cat conftest.err
>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } &&
21225 { ac_try
='test -z "$ac_c_werror_flag"
21226 || test ! -s conftest.err'
21227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21228 (eval $ac_try) 2>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); }; } &&
21232 { ac_try
='test -s conftest$ac_exeext'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; }; then
21238 ac_cv_lib_png_png_check_sig
=yes
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.
$ac_ext >&5
21243 ac_cv_lib_png_png_check_sig
=no
21245 rm -f conftest.err conftest.
$ac_objext \
21246 conftest
$ac_exeext conftest.
$ac_ext
21247 LIBS
=$ac_check_lib_save_LIBS
21249 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21250 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21251 if test $ac_cv_lib_png_png_check_sig = yes; then
21252 PNG_LINK
=" -lpng -lz"
21257 if test "x$PNG_LINK" = "x" ; then
21258 if test "$wxUSE_LIBPNG" = "sys" ; then
21259 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21260 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21261 { (exit 1); exit 1; }; }
21263 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21264 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21265 wxUSE_LIBPNG
=builtin
21273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21278 if test "$wxUSE_LIBJPEG" != "no" ; then
21279 cat >>confdefs.h
<<\_ACEOF
21280 #define wxUSE_LIBJPEG 1
21284 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21285 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21286 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21290 if test "$wxUSE_MGL" != 1 ; then
21291 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21292 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21293 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21294 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21295 echo $ECHO_N "(cached) $ECHO_C" >&6
21297 cat >conftest.
$ac_ext <<_ACEOF
21300 cat confdefs.h
>>conftest.
$ac_ext
21301 cat >>conftest.
$ac_ext <<_ACEOF
21302 /* end confdefs.h. */
21304 #undef HAVE_STDLIB_H
21306 #include <jpeglib.h>
21317 rm -f conftest.
$ac_objext
21318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21319 (eval $ac_compile) 2>conftest.er1
21321 grep -v '^ *+' conftest.er1
>conftest.err
21323 cat conftest.err
>&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } &&
21326 { ac_try
='test -z "$ac_c_werror_flag"
21327 || test ! -s conftest.err'
21328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21329 (eval $ac_try) 2>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); }; } &&
21333 { ac_try
='test -s conftest.$ac_objext'
21334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335 (eval $ac_try) 2>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; }; then
21339 ac_cv_header_jpeglib_h
=yes
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.
$ac_ext >&5
21344 ac_cv_header_jpeglib_h
=no
21347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21351 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21352 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21354 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21355 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21356 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21357 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21358 echo $ECHO_N "(cached) $ECHO_C" >&6
21360 ac_check_lib_save_LIBS
=$LIBS
21361 LIBS
="-ljpeg $LIBS"
21362 cat >conftest.
$ac_ext <<_ACEOF
21365 cat confdefs.h
>>conftest.
$ac_ext
21366 cat >>conftest.
$ac_ext <<_ACEOF
21367 /* end confdefs.h. */
21369 /* Override any gcc2 internal prototype to avoid an error. */
21373 /* We use char because int might match the return type of a gcc2
21374 builtin and then its argument prototype would still apply. */
21375 char jpeg_read_header ();
21379 jpeg_read_header ();
21384 rm -f conftest.
$ac_objext conftest
$ac_exeext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21386 (eval $ac_link) 2>conftest.er1
21388 grep -v '^ *+' conftest.er1
>conftest.err
21390 cat conftest.err
>&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try
='test -z "$ac_c_werror_flag"
21394 || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try
='test -s conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 ac_cv_lib_jpeg_jpeg_read_header
=yes
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.
$ac_ext >&5
21411 ac_cv_lib_jpeg_jpeg_read_header
=no
21413 rm -f conftest.err conftest.
$ac_objext \
21414 conftest
$ac_exeext conftest.
$ac_ext
21415 LIBS
=$ac_check_lib_save_LIBS
21417 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21418 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21419 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21420 JPEG_LINK
=" -ljpeg"
21425 if test "x$JPEG_LINK" = "x" ; then
21426 if test "$wxUSE_LIBJPEG" = "sys" ; then
21427 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21428 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21429 { (exit 1); exit 1; }; }
21431 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21432 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21433 wxUSE_LIBJPEG
=builtin
21444 TIFF_PREREQ_LINKS
=-lm
21445 if test "$wxUSE_LIBTIFF" != "no" ; then
21446 cat >>confdefs.h
<<\_ACEOF
21447 #define wxUSE_LIBTIFF 1
21451 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21452 if test "$wxUSE_LIBJPEG" = "sys"; then
21453 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21455 if test "$wxUSE_ZLIB" = "sys"; then
21456 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21458 if test "${ac_cv_header_tiffio_h+set}" = set; then
21459 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21460 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21461 if test "${ac_cv_header_tiffio_h+set}" = set; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21464 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21465 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21467 # Is the header compilable?
21468 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21469 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21470 cat >conftest.
$ac_ext <<_ACEOF
21473 cat confdefs.h
>>conftest.
$ac_ext
21474 cat >>conftest.
$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21476 $ac_includes_default
21477 #include <tiffio.h>
21479 rm -f conftest.
$ac_objext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21481 (eval $ac_compile) 2>conftest.er1
21483 grep -v '^ *+' conftest.er1
>conftest.err
21485 cat conftest.err
>&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } &&
21488 { ac_try
='test -z "$ac_c_werror_flag"
21489 || test ! -s conftest.err'
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); }; } &&
21495 { ac_try
='test -s conftest.$ac_objext'
21496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; }; then
21501 ac_header_compiler
=yes
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.
$ac_ext >&5
21506 ac_header_compiler
=no
21508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21510 echo "${ECHO_T}$ac_header_compiler" >&6
21512 # Is the header present?
21513 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21514 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21515 cat >conftest.
$ac_ext <<_ACEOF
21518 cat confdefs.h
>>conftest.
$ac_ext
21519 cat >>conftest.
$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21521 #include <tiffio.h>
21523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21526 grep -v '^ *+' conftest.er1
>conftest.err
21528 cat conftest.err
>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } >/dev
/null
; then
21531 if test -s conftest.err
; then
21532 ac_cpp_err
=$ac_c_preproc_warn_flag
21533 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21540 if test -z "$ac_cpp_err"; then
21541 ac_header_preproc
=yes
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.
$ac_ext >&5
21546 ac_header_preproc
=no
21548 rm -f conftest.err conftest.
$ac_ext
21549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21550 echo "${ECHO_T}$ac_header_preproc" >&6
21552 # So? What about this header?
21553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21555 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21556 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21557 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21558 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21559 ac_header_preproc
=yes
21562 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21563 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21564 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21565 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21566 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21567 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21568 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21569 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21570 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21571 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21572 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21573 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21576 ## ----------------------------------------- ##
21577 ## Report this to wx-dev@lists.wxwidgets.org ##
21578 ## ----------------------------------------- ##
21581 sed "s/^/$as_me: WARNING: /" >&2
21584 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21585 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21586 if test "${ac_cv_header_tiffio_h+set}" = set; then
21587 echo $ECHO_N "(cached) $ECHO_C" >&6
21589 ac_cv_header_tiffio_h
=$ac_header_preproc
21591 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21592 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21595 if test $ac_cv_header_tiffio_h = yes; then
21597 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21598 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21599 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21602 ac_check_lib_save_LIBS
=$LIBS
21603 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21604 cat >conftest.
$ac_ext <<_ACEOF
21607 cat confdefs.h
>>conftest.
$ac_ext
21608 cat >>conftest.
$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21611 /* Override any gcc2 internal prototype to avoid an error. */
21615 /* We use char because int might match the return type of a gcc2
21616 builtin and then its argument prototype would still apply. */
21626 rm -f conftest.
$ac_objext conftest
$ac_exeext
21627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21628 (eval $ac_link) 2>conftest.er1
21630 grep -v '^ *+' conftest.er1
>conftest.err
21632 cat conftest.err
>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } &&
21635 { ac_try
='test -z "$ac_c_werror_flag"
21636 || test ! -s conftest.err'
21637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21638 (eval $ac_try) 2>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); }; } &&
21642 { ac_try
='test -s conftest$ac_exeext'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; }; then
21648 ac_cv_lib_tiff_TIFFError
=yes
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.
$ac_ext >&5
21653 ac_cv_lib_tiff_TIFFError
=no
21655 rm -f conftest.err conftest.
$ac_objext \
21656 conftest
$ac_exeext conftest.
$ac_ext
21657 LIBS
=$ac_check_lib_save_LIBS
21659 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21660 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21661 if test $ac_cv_lib_tiff_TIFFError = yes; then
21662 TIFF_LINK
=" -ltiff"
21671 if test "x$TIFF_LINK" = "x" ; then
21672 if test "$wxUSE_LIBTIFF" = "sys" ; then
21673 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21674 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21675 { (exit 1); exit 1; }; }
21677 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21678 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21679 wxUSE_LIBTIFF
=builtin
21688 if test "$wxUSE_EXPAT" != "no"; then
21690 cat >>confdefs.h
<<\_ACEOF
21691 #define wxUSE_EXPAT 1
21694 cat >>confdefs.h
<<\_ACEOF
21695 #define wxUSE_XML 1
21699 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21700 if test "${ac_cv_header_expat_h+set}" = set; then
21701 echo "$as_me:$LINENO: checking for expat.h" >&5
21702 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21703 if test "${ac_cv_header_expat_h+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21707 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21709 # Is the header compilable?
21710 echo "$as_me:$LINENO: checking expat.h usability" >&5
21711 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21712 cat >conftest.
$ac_ext <<_ACEOF
21715 cat confdefs.h
>>conftest.
$ac_ext
21716 cat >>conftest.
$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718 $ac_includes_default
21721 rm -f conftest.
$ac_objext
21722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21723 (eval $ac_compile) 2>conftest.er1
21725 grep -v '^ *+' conftest.er1
>conftest.err
21727 cat conftest.err
>&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); } &&
21730 { ac_try
='test -z "$ac_c_werror_flag"
21731 || test ! -s conftest.err'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; } &&
21737 { ac_try
='test -s conftest.$ac_objext'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; }; then
21743 ac_header_compiler
=yes
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.
$ac_ext >&5
21748 ac_header_compiler
=no
21750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21752 echo "${ECHO_T}$ac_header_compiler" >&6
21754 # Is the header present?
21755 echo "$as_me:$LINENO: checking expat.h presence" >&5
21756 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21757 cat >conftest.
$ac_ext <<_ACEOF
21760 cat confdefs.h
>>conftest.
$ac_ext
21761 cat >>conftest.
$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21768 grep -v '^ *+' conftest.er1
>conftest.err
21770 cat conftest.err
>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } >/dev
/null
; then
21773 if test -s conftest.err
; then
21774 ac_cpp_err
=$ac_c_preproc_warn_flag
21775 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21782 if test -z "$ac_cpp_err"; then
21783 ac_header_preproc
=yes
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.
$ac_ext >&5
21788 ac_header_preproc
=no
21790 rm -f conftest.err conftest.
$ac_ext
21791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21792 echo "${ECHO_T}$ac_header_preproc" >&6
21794 # So? What about this header?
21795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21797 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21798 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21799 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21800 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21801 ac_header_preproc
=yes
21804 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21805 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21807 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21808 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21809 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21810 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21811 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21812 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21813 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21814 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21815 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21818 ## ----------------------------------------- ##
21819 ## Report this to wx-dev@lists.wxwidgets.org ##
21820 ## ----------------------------------------- ##
21823 sed "s/^/$as_me: WARNING: /" >&2
21826 echo "$as_me:$LINENO: checking for expat.h" >&5
21827 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21828 if test "${ac_cv_header_expat_h+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21831 ac_cv_header_expat_h
=$ac_header_preproc
21833 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21834 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21837 if test $ac_cv_header_expat_h = yes; then
21842 if test "x$found_expat_h" = "x1"; then
21843 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21844 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21845 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21846 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 ac_cpp
='$CXXCPP $CPPFLAGS'
21853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21857 cat >conftest.
$ac_ext <<_ACEOF
21860 cat confdefs.h
>>conftest.
$ac_ext
21861 cat >>conftest.
$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21872 rm -f conftest.
$ac_objext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21874 (eval $ac_compile) 2>conftest.er1
21876 grep -v '^ *+' conftest.er1
>conftest.err
21878 cat conftest.err
>&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); } &&
21881 { ac_try
='test -z "$ac_cxx_werror_flag"
21882 || test ! -s conftest.err'
21883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21884 (eval $ac_try) 2>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); }; } &&
21888 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21894 wx_cv_expat_is_not_broken
=yes
21896 echo "$as_me: failed program was:" >&5
21897 sed 's/^/| /' conftest.
$ac_ext >&5
21899 wx_cv_expat_is_not_broken
=no
21902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21904 ac_cpp
='$CPP $CPPFLAGS'
21905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21912 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21913 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21914 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21915 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21916 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21917 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21920 ac_check_lib_save_LIBS
=$LIBS
21921 LIBS
="-lexpat $LIBS"
21922 cat >conftest.
$ac_ext <<_ACEOF
21925 cat confdefs.h
>>conftest.
$ac_ext
21926 cat >>conftest.
$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21929 /* Override any gcc2 internal prototype to avoid an error. */
21933 /* We use char because int might match the return type of a gcc2
21934 builtin and then its argument prototype would still apply. */
21935 char XML_ParserCreate ();
21939 XML_ParserCreate ();
21944 rm -f conftest.
$ac_objext conftest
$ac_exeext
21945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21946 (eval $ac_link) 2>conftest.er1
21948 grep -v '^ *+' conftest.er1
>conftest.err
21950 cat conftest.err
>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } &&
21953 { ac_try
='test -z "$ac_c_werror_flag"
21954 || test ! -s conftest.err'
21955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21956 (eval $ac_try) 2>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; } &&
21960 { ac_try
='test -s conftest$ac_exeext'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; }; then
21966 ac_cv_lib_expat_XML_ParserCreate
=yes
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.
$ac_ext >&5
21971 ac_cv_lib_expat_XML_ParserCreate
=no
21973 rm -f conftest.err conftest.
$ac_objext \
21974 conftest
$ac_exeext conftest.
$ac_ext
21975 LIBS
=$ac_check_lib_save_LIBS
21977 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21978 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21979 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21980 EXPAT_LINK
=" -lexpat"
21985 if test "x$EXPAT_LINK" = "x" ; then
21986 if test "$wxUSE_EXPAT" = "sys" ; then
21987 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21988 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21989 { (exit 1); exit 1; }; }
21991 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21992 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21993 wxUSE_EXPAT
=builtin
21999 if test "$wxUSE_EXPAT" = "builtin" ; then
22002 subdirs
="$subdirs src/expat"
22009 if test "$wxUSE_LIBMSPACK" != "no"; then
22011 if test "${ac_cv_header_mspack_h+set}" = set; then
22012 echo "$as_me:$LINENO: checking for mspack.h" >&5
22013 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22014 if test "${ac_cv_header_mspack_h+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22017 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22018 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22020 # Is the header compilable?
22021 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22022 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22023 cat >conftest.
$ac_ext <<_ACEOF
22026 cat confdefs.h
>>conftest.
$ac_ext
22027 cat >>conftest.
$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22029 $ac_includes_default
22030 #include <mspack.h>
22032 rm -f conftest.
$ac_objext
22033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22034 (eval $ac_compile) 2>conftest.er1
22036 grep -v '^ *+' conftest.er1
>conftest.err
22038 cat conftest.err
>&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } &&
22041 { ac_try
='test -z "$ac_c_werror_flag"
22042 || test ! -s conftest.err'
22043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22044 (eval $ac_try) 2>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); }; } &&
22048 { ac_try
='test -s conftest.$ac_objext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_header_compiler
=yes
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.
$ac_ext >&5
22059 ac_header_compiler
=no
22061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22063 echo "${ECHO_T}$ac_header_compiler" >&6
22065 # Is the header present?
22066 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22067 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22068 cat >conftest.
$ac_ext <<_ACEOF
22071 cat confdefs.h
>>conftest.
$ac_ext
22072 cat >>conftest.
$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 #include <mspack.h>
22076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22079 grep -v '^ *+' conftest.er1
>conftest.err
22081 cat conftest.err
>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } >/dev
/null
; then
22084 if test -s conftest.err
; then
22085 ac_cpp_err
=$ac_c_preproc_warn_flag
22086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22093 if test -z "$ac_cpp_err"; then
22094 ac_header_preproc
=yes
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.
$ac_ext >&5
22099 ac_header_preproc
=no
22101 rm -f conftest.err conftest.
$ac_ext
22102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22103 echo "${ECHO_T}$ac_header_preproc" >&6
22105 # So? What about this header?
22106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22108 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22109 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22110 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22111 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22112 ac_header_preproc
=yes
22115 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22116 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22117 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22118 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22119 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22120 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22121 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22122 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22123 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22124 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22125 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22126 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22129 ## ----------------------------------------- ##
22130 ## Report this to wx-dev@lists.wxwidgets.org ##
22131 ## ----------------------------------------- ##
22134 sed "s/^/$as_me: WARNING: /" >&2
22137 echo "$as_me:$LINENO: checking for mspack.h" >&5
22138 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22139 if test "${ac_cv_header_mspack_h+set}" = set; then
22140 echo $ECHO_N "(cached) $ECHO_C" >&6
22142 ac_cv_header_mspack_h
=$ac_header_preproc
22144 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22145 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22148 if test $ac_cv_header_mspack_h = yes; then
22153 if test "x$found_mspack_h" = "x1"; then
22154 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22155 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22156 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22157 echo $ECHO_N "(cached) $ECHO_C" >&6
22159 ac_check_lib_save_LIBS
=$LIBS
22160 LIBS
="-lmspack $LIBS"
22161 cat >conftest.
$ac_ext <<_ACEOF
22164 cat confdefs.h
>>conftest.
$ac_ext
22165 cat >>conftest.
$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22168 /* Override any gcc2 internal prototype to avoid an error. */
22172 /* We use char because int might match the return type of a gcc2
22173 builtin and then its argument prototype would still apply. */
22174 char mspack_create_chm_decompressor ();
22178 mspack_create_chm_decompressor ();
22183 rm -f conftest.
$ac_objext conftest
$ac_exeext
22184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22185 (eval $ac_link) 2>conftest.er1
22187 grep -v '^ *+' conftest.er1
>conftest.err
22189 cat conftest.err
>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } &&
22192 { ac_try
='test -z "$ac_c_werror_flag"
22193 || test ! -s conftest.err'
22194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22195 (eval $ac_try) 2>&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); }; } &&
22199 { ac_try
='test -s conftest$ac_exeext'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; }; then
22205 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.
$ac_ext >&5
22210 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22212 rm -f conftest.err conftest.
$ac_objext \
22213 conftest
$ac_exeext conftest.
$ac_ext
22214 LIBS
=$ac_check_lib_save_LIBS
22216 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22217 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22218 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22219 MSPACK_LINK
=" -lmspack"
22223 if test "x$MSPACK_LINK" = "x" ; then
22226 cat >>confdefs.h
<<\_ACEOF
22227 #define wxUSE_LIBMSPACK 1
22242 if test "$USE_WIN32" = 1 ; then
22244 for ac_header
in w32api.h
22246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22248 echo "$as_me:$LINENO: checking for $ac_header" >&5
22249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22256 # Is the header compilable?
22257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22259 cat >conftest.
$ac_ext <<_ACEOF
22262 cat confdefs.h
>>conftest.
$ac_ext
22263 cat >>conftest.
$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22266 #include <$ac_header>
22268 rm -f conftest.
$ac_objext
22269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22270 (eval $ac_compile) 2>conftest.er1
22272 grep -v '^ *+' conftest.er1
>conftest.err
22274 cat conftest.err
>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } &&
22277 { ac_try
='test -z "$ac_c_werror_flag"
22278 || test ! -s conftest.err'
22279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22280 (eval $ac_try) 2>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); }; } &&
22284 { ac_try
='test -s conftest.$ac_objext'
22285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22286 (eval $ac_try) 2>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; }; then
22290 ac_header_compiler
=yes
22292 echo "$as_me: failed program was:" >&5
22293 sed 's/^/| /' conftest.
$ac_ext >&5
22295 ac_header_compiler
=no
22297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22299 echo "${ECHO_T}$ac_header_compiler" >&6
22301 # Is the header present?
22302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22304 cat >conftest.
$ac_ext <<_ACEOF
22307 cat confdefs.h
>>conftest.
$ac_ext
22308 cat >>conftest.
$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #include <$ac_header>
22312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22315 grep -v '^ *+' conftest.er1
>conftest.err
22317 cat conftest.err
>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } >/dev
/null
; then
22320 if test -s conftest.err
; then
22321 ac_cpp_err
=$ac_c_preproc_warn_flag
22322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22329 if test -z "$ac_cpp_err"; then
22330 ac_header_preproc
=yes
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.
$ac_ext >&5
22335 ac_header_preproc
=no
22337 rm -f conftest.err conftest.
$ac_ext
22338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22339 echo "${ECHO_T}$ac_header_preproc" >&6
22341 # So? What about this header?
22342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22348 ac_header_preproc
=yes
22351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22365 ## ----------------------------------------- ##
22366 ## Report this to wx-dev@lists.wxwidgets.org ##
22367 ## ----------------------------------------- ##
22370 sed "s/^/$as_me: WARNING: /" >&2
22373 echo "$as_me:$LINENO: checking for $ac_header" >&5
22374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22376 echo $ECHO_N "(cached) $ECHO_C" >&6
22378 eval "$as_ac_Header=\$ac_header_preproc"
22380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22385 cat >>confdefs.h
<<_ACEOF
22386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22393 if test "${ac_cv_header_windows_h+set}" = set; then
22394 echo "$as_me:$LINENO: checking for windows.h" >&5
22395 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22396 if test "${ac_cv_header_windows_h+set}" = set; then
22397 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22400 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22402 # Is the header compilable?
22403 echo "$as_me:$LINENO: checking windows.h usability" >&5
22404 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22405 cat >conftest.
$ac_ext <<_ACEOF
22408 cat confdefs.h
>>conftest.
$ac_ext
22409 cat >>conftest.
$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22411 $ac_includes_default
22412 #include <windows.h>
22414 rm -f conftest.
$ac_objext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22416 (eval $ac_compile) 2>conftest.er1
22418 grep -v '^ *+' conftest.er1
>conftest.err
22420 cat conftest.err
>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try
='test -z "$ac_c_werror_flag"
22424 || test ! -s conftest.err'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; } &&
22430 { ac_try
='test -s conftest.$ac_objext'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; }; then
22436 ac_header_compiler
=yes
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.
$ac_ext >&5
22441 ac_header_compiler
=no
22443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22445 echo "${ECHO_T}$ac_header_compiler" >&6
22447 # Is the header present?
22448 echo "$as_me:$LINENO: checking windows.h presence" >&5
22449 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22450 cat >conftest.
$ac_ext <<_ACEOF
22453 cat confdefs.h
>>conftest.
$ac_ext
22454 cat >>conftest.
$ac_ext <<_ACEOF
22455 /* end confdefs.h. */
22456 #include <windows.h>
22458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22461 grep -v '^ *+' conftest.er1
>conftest.err
22463 cat conftest.err
>&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); } >/dev
/null
; then
22466 if test -s conftest.err
; then
22467 ac_cpp_err
=$ac_c_preproc_warn_flag
22468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22475 if test -z "$ac_cpp_err"; then
22476 ac_header_preproc
=yes
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.
$ac_ext >&5
22481 ac_header_preproc
=no
22483 rm -f conftest.err conftest.
$ac_ext
22484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22485 echo "${ECHO_T}$ac_header_preproc" >&6
22487 # So? What about this header?
22488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22490 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22491 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22492 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22493 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22494 ac_header_preproc
=yes
22497 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22498 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22499 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22500 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22501 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22502 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22503 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22504 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22505 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22506 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22507 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22508 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22511 ## ----------------------------------------- ##
22512 ## Report this to wx-dev@lists.wxwidgets.org ##
22513 ## ----------------------------------------- ##
22516 sed "s/^/$as_me: WARNING: /" >&2
22519 echo "$as_me:$LINENO: checking for windows.h" >&5
22520 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22521 if test "${ac_cv_header_windows_h+set}" = set; then
22522 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 ac_cv_header_windows_h
=$ac_header_preproc
22526 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22527 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22530 if test $ac_cv_header_windows_h = yes; then
22534 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22535 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22536 { (exit 1); exit 1; }; }
22542 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22544 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22545 LIBS
="$LIBS -loleacc"
22550 LIBS
="$LIBS -lkernel32 -luser32"
22551 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22554 if test "$wxUSE_ODBC" = "sys" ; then
22557 if test "$wxUSE_ODBC" = "yes" ; then
22558 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22559 cat >>confdefs.h
<<\_ACEOF
22560 #define wxUSE_ODBC 1
22565 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22566 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22568 WIN32INSTALL
=win32install
22571 if test "$wxUSE_GUI" = "yes"; then
22581 if test "$wxUSE_COCOA" = 1 ; then
22582 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22583 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22584 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22585 wxUSE_PRINTING_ARCHITECTURE
=no
22587 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22588 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22589 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22590 wxUSE_DRAG_AND_DROP
=no
22592 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22593 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22594 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22599 if test "$wxUSE_MSW" = 1 ; then
22605 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22609 if test "$wxUSE_GTK" = 1; then
22610 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22611 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22613 gtk_version_cached
=1
22614 if test "${wx_cv_lib_gtk+set}" = set; then
22615 echo $ECHO_N "(cached) $ECHO_C" >&6
22618 gtk_version_cached
=0
22619 echo "$as_me:$LINENO: result: " >&5
22620 echo "${ECHO_T}" >&6
22623 if test "$wxUSE_THREADS" = "yes"; then
22624 GTK_MODULES
=gthread
22628 if test "x$wxUSE_GTK2" = "xyes"; then
22629 # Check whether --enable-gtktest or --disable-gtktest was given.
22630 if test "${enable_gtktest+set}" = set; then
22631 enableval
="$enable_gtktest"
22637 pkg_config_args
=gtk
+-2.0
22638 for module
in .
$GTK_MODULES
22642 pkg_config_args
="$pkg_config_args gthread-2.0"
22649 # Extract the first word of "pkg-config", so it can be a program name with args.
22650 set dummy pkg
-config; ac_word
=$2
22651 echo "$as_me:$LINENO: checking for $ac_word" >&5
22652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22653 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22654 echo $ECHO_N "(cached) $ECHO_C" >&6
22656 case $PKG_CONFIG in
22658 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22662 for as_dir
in $PATH
22665 test -z "$as_dir" && as_dir
=.
22666 for ac_exec_ext
in '' $ac_executable_extensions; do
22667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22668 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22675 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22679 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22681 if test -n "$PKG_CONFIG"; then
22682 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22683 echo "${ECHO_T}$PKG_CONFIG" >&6
22685 echo "$as_me:$LINENO: result: no" >&5
22686 echo "${ECHO_T}no" >&6
22690 if test x
$PKG_CONFIG != xno
; then
22691 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22694 echo "*** pkg-config too old; version 0.7 or better required."
22702 min_gtk_version
=2.0.0
22703 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22704 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22706 if test x
$PKG_CONFIG != xno
; then
22707 ## don't try to run the test against uninstalled libtool libs
22708 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22709 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22713 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22720 if test x
"$no_gtk" = x
; then
22721 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22722 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22723 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22725 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22727 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22729 if test "x$enable_gtktest" = "xyes" ; then
22730 ac_save_CFLAGS
="$CFLAGS"
22731 ac_save_LIBS
="$LIBS"
22732 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22733 LIBS
="$GTK_LIBS $LIBS"
22735 if test "$cross_compiling" = yes; then
22736 echo $ac_n "cross compiling; assumed OK... $ac_c"
22738 cat >conftest.
$ac_ext <<_ACEOF
22741 cat confdefs.h
>>conftest.
$ac_ext
22742 cat >>conftest.
$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22745 #include <gtk/gtk.h>
22747 #include <stdlib.h>
22752 int major, minor, micro;
22755 system ("touch conf.gtktest");
22757 /* HP/UX 9 (%@#!) writes to sscanf strings */
22758 tmp_version = g_strdup("$min_gtk_version");
22759 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22760 printf("%s, bad version string\n", "$min_gtk_version");
22764 if ((gtk_major_version != $gtk_config_major_version) ||
22765 (gtk_minor_version != $gtk_config_minor_version) ||
22766 (gtk_micro_version != $gtk_config_micro_version))
22768 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22769 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22770 gtk_major_version, gtk_minor_version, gtk_micro_version);
22771 printf ("*** was found! If pkg-config was correct, then it is best\n");
22772 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22773 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22774 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22775 printf("*** required on your system.\n");
22776 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22777 printf("*** to point to the correct configuration files\n");
22779 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22780 (gtk_minor_version != GTK_MINOR_VERSION) ||
22781 (gtk_micro_version != GTK_MICRO_VERSION))
22783 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22784 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22785 printf("*** library (version %d.%d.%d)\n",
22786 gtk_major_version, gtk_minor_version, gtk_micro_version);
22790 if ((gtk_major_version > major) ||
22791 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22792 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22798 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22799 gtk_major_version, gtk_minor_version, gtk_micro_version);
22800 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22801 major, minor, micro);
22802 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22804 printf("*** If you have already installed a sufficiently new version, this error\n");
22805 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22806 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22807 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22808 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22809 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22810 printf("*** so that the correct libraries are found at run-time))\n");
22817 rm -f conftest
$ac_exeext
22818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22819 (eval $ac_link) 2>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; }; then
22830 echo "$as_me: program exited with status $ac_status" >&5
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.
$ac_ext >&5
22834 ( exit $ac_status )
22837 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22839 CFLAGS
="$ac_save_CFLAGS"
22840 LIBS
="$ac_save_LIBS"
22843 if test "x$no_gtk" = x
; then
22844 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22845 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22848 echo "$as_me:$LINENO: result: no" >&5
22849 echo "${ECHO_T}no" >&6
22850 if test "$PKG_CONFIG" = "no" ; then
22851 echo "*** A new enough version of pkg-config was not found."
22852 echo "*** See http://pkgconfig.sourceforge.net"
22854 if test -f conf.gtktest
; then
22857 echo "*** Could not run GTK+ test program, checking why..."
22858 ac_save_CFLAGS
="$CFLAGS"
22859 ac_save_LIBS
="$LIBS"
22860 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22861 LIBS
="$LIBS $GTK_LIBS"
22862 cat >conftest.
$ac_ext <<_ACEOF
22865 cat confdefs.h
>>conftest.
$ac_ext
22866 cat >>conftest.
$ac_ext <<_ACEOF
22867 /* end confdefs.h. */
22869 #include <gtk/gtk.h>
22875 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22880 rm -f conftest.
$ac_objext conftest
$ac_exeext
22881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22882 (eval $ac_link) 2>conftest.er1
22884 grep -v '^ *+' conftest.er1
>conftest.err
22886 cat conftest.err
>&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } &&
22889 { ac_try
='test -z "$ac_c_werror_flag"
22890 || test ! -s conftest.err'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; } &&
22896 { ac_try
='test -s conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 echo "*** The test program compiled, but did not run. This usually means"
22903 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22904 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22905 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22906 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22907 echo "*** is required on your system"
22909 echo "*** If you have an old version installed, it is best to remove it, although"
22910 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.
$ac_ext >&5
22915 echo "*** The test program failed to compile or link. See the file config.log for the"
22916 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22918 rm -f conftest.err conftest.
$ac_objext \
22919 conftest
$ac_exeext conftest.
$ac_ext
22920 CFLAGS
="$ac_save_CFLAGS"
22921 LIBS
="$ac_save_LIBS"
22934 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22935 if test "${with_gtk_prefix+set}" = set; then
22936 withval
="$with_gtk_prefix"
22937 gtk_config_prefix
="$withval"
22939 gtk_config_prefix
=""
22942 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22943 if test "${with_gtk_exec_prefix+set}" = set; then
22944 withval
="$with_gtk_exec_prefix"
22945 gtk_config_exec_prefix
="$withval"
22947 gtk_config_exec_prefix
=""
22949 # Check whether --enable-gtktest or --disable-gtktest was given.
22950 if test "${enable_gtktest+set}" = set; then
22951 enableval
="$enable_gtktest"
22957 for module
in .
$GTK_MODULES
22961 gtk_config_args
="$gtk_config_args gthread"
22966 if test x
$gtk_config_exec_prefix != x
; then
22967 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22968 if test x
${GTK_CONFIG+set} != xset
; then
22969 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22972 if test x
$gtk_config_prefix != x
; then
22973 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22974 if test x
${GTK_CONFIG+set} != xset
; then
22975 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22979 # Extract the first word of "gtk-config", so it can be a program name with args.
22980 set dummy gtk
-config; ac_word
=$2
22981 echo "$as_me:$LINENO: checking for $ac_word" >&5
22982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22983 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22984 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 case $GTK_CONFIG in
22988 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22992 for as_dir
in $PATH
22995 test -z "$as_dir" && as_dir
=.
22996 for ac_exec_ext
in '' $ac_executable_extensions; do
22997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22998 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23005 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23009 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23011 if test -n "$GTK_CONFIG"; then
23012 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23013 echo "${ECHO_T}$GTK_CONFIG" >&6
23015 echo "$as_me:$LINENO: result: no" >&5
23016 echo "${ECHO_T}no" >&6
23019 min_gtk_version
=1.2.7
23020 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23021 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23023 if test "$GTK_CONFIG" = "no" ; then
23026 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23027 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23028 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23030 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23032 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23034 if test "x$enable_gtktest" = "xyes" ; then
23035 ac_save_CFLAGS
="$CFLAGS"
23036 ac_save_LIBS
="$LIBS"
23037 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23038 LIBS
="$GTK_LIBS $LIBS"
23040 if test "$cross_compiling" = yes; then
23041 echo $ac_n "cross compiling; assumed OK... $ac_c"
23043 cat >conftest.
$ac_ext <<_ACEOF
23046 cat confdefs.h
>>conftest.
$ac_ext
23047 cat >>conftest.
$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23050 #include <gtk/gtk.h>
23052 #include <stdlib.h>
23057 int major, minor, micro;
23060 system ("touch conf.gtktest");
23062 /* HP/UX 9 (%@#!) writes to sscanf strings */
23063 tmp_version = g_strdup("$min_gtk_version");
23064 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23065 printf("%s, bad version string\n", "$min_gtk_version");
23069 if ((gtk_major_version != $gtk_config_major_version) ||
23070 (gtk_minor_version != $gtk_config_minor_version) ||
23071 (gtk_micro_version != $gtk_config_micro_version))
23073 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23074 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23075 gtk_major_version, gtk_minor_version, gtk_micro_version);
23076 printf ("*** was found! If gtk-config was correct, then it is best\n");
23077 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23078 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23079 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23080 printf("*** required on your system.\n");
23081 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23082 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23083 printf("*** before re-running configure\n");
23085 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23086 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23087 (gtk_minor_version != GTK_MINOR_VERSION) ||
23088 (gtk_micro_version != GTK_MICRO_VERSION))
23090 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23091 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23092 printf("*** library (version %d.%d.%d)\n",
23093 gtk_major_version, gtk_minor_version, gtk_micro_version);
23095 #endif /* defined (GTK_MAJOR_VERSION) ... */
23098 if ((gtk_major_version > major) ||
23099 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23100 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23106 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23107 gtk_major_version, gtk_minor_version, gtk_micro_version);
23108 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23109 major, minor, micro);
23110 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23112 printf("*** If you have already installed a sufficiently new version, this error\n");
23113 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23114 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23115 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23116 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23117 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23118 printf("*** so that the correct libraries are found at run-time))\n");
23125 rm -f conftest
$ac_exeext
23126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23138 echo "$as_me: program exited with status $ac_status" >&5
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.
$ac_ext >&5
23142 ( exit $ac_status )
23145 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23147 CFLAGS
="$ac_save_CFLAGS"
23148 LIBS
="$ac_save_LIBS"
23151 if test "x$no_gtk" = x
; then
23152 echo "$as_me:$LINENO: result: yes" >&5
23153 echo "${ECHO_T}yes" >&6
23154 wx_cv_lib_gtk
=1.2.7
23156 echo "$as_me:$LINENO: result: no" >&5
23157 echo "${ECHO_T}no" >&6
23158 if test "$GTK_CONFIG" = "no" ; then
23159 echo "*** The gtk-config script installed by GTK could not be found"
23160 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23161 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23162 echo "*** full path to gtk-config."
23164 if test -f conf.gtktest
; then
23167 echo "*** Could not run GTK test program, checking why..."
23168 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23169 LIBS
="$LIBS $GTK_LIBS"
23170 cat >conftest.
$ac_ext <<_ACEOF
23173 cat confdefs.h
>>conftest.
$ac_ext
23174 cat >>conftest.
$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23177 #include <gtk/gtk.h>
23183 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23188 rm -f conftest.
$ac_objext conftest
$ac_exeext
23189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23190 (eval $ac_link) 2>conftest.er1
23192 grep -v '^ *+' conftest.er1
>conftest.err
23194 cat conftest.err
>&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } &&
23197 { ac_try
='test -z "$ac_c_werror_flag"
23198 || test ! -s conftest.err'
23199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23200 (eval $ac_try) 2>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); }; } &&
23204 { ac_try
='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23210 echo "*** The test program compiled, but did not run. This usually means"
23211 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23212 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23213 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23214 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23215 echo "*** is required on your system"
23217 echo "*** If you have an old version installed, it is best to remove it, although"
23218 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23220 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23221 echo "*** came with the system with the command"
23223 echo "*** rpm --erase --nodeps gtk gtk-devel"
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.
$ac_ext >&5
23228 echo "*** The test program failed to compile or link. See the file config.log for the"
23229 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23230 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23231 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23233 rm -f conftest.err conftest.
$ac_objext \
23234 conftest
$ac_exeext conftest.
$ac_ext
23235 CFLAGS
="$ac_save_CFLAGS"
23236 LIBS
="$ac_save_LIBS"
23248 if test -z "$wx_cv_lib_gtk"; then
23250 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23251 if test "${with_gtk_prefix+set}" = set; then
23252 withval
="$with_gtk_prefix"
23253 gtk_config_prefix
="$withval"
23255 gtk_config_prefix
=""
23258 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23259 if test "${with_gtk_exec_prefix+set}" = set; then
23260 withval
="$with_gtk_exec_prefix"
23261 gtk_config_exec_prefix
="$withval"
23263 gtk_config_exec_prefix
=""
23265 # Check whether --enable-gtktest or --disable-gtktest was given.
23266 if test "${enable_gtktest+set}" = set; then
23267 enableval
="$enable_gtktest"
23273 for module
in .
$GTK_MODULES
23277 gtk_config_args
="$gtk_config_args gthread"
23282 if test x
$gtk_config_exec_prefix != x
; then
23283 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23284 if test x
${GTK_CONFIG+set} != xset
; then
23285 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23288 if test x
$gtk_config_prefix != x
; then
23289 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23290 if test x
${GTK_CONFIG+set} != xset
; then
23291 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23295 # Extract the first word of "gtk-config", so it can be a program name with args.
23296 set dummy gtk
-config; ac_word
=$2
23297 echo "$as_me:$LINENO: checking for $ac_word" >&5
23298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23299 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23300 echo $ECHO_N "(cached) $ECHO_C" >&6
23302 case $GTK_CONFIG in
23304 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23308 for as_dir
in $PATH
23311 test -z "$as_dir" && as_dir
=.
23312 for ac_exec_ext
in '' $ac_executable_extensions; do
23313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23314 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23321 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23325 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23327 if test -n "$GTK_CONFIG"; then
23328 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23329 echo "${ECHO_T}$GTK_CONFIG" >&6
23331 echo "$as_me:$LINENO: result: no" >&5
23332 echo "${ECHO_T}no" >&6
23335 min_gtk_version
=1.2.3
23336 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23337 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23339 if test "$GTK_CONFIG" = "no" ; then
23342 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23343 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23344 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23346 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23348 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23350 if test "x$enable_gtktest" = "xyes" ; then
23351 ac_save_CFLAGS
="$CFLAGS"
23352 ac_save_LIBS
="$LIBS"
23353 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23354 LIBS
="$GTK_LIBS $LIBS"
23356 if test "$cross_compiling" = yes; then
23357 echo $ac_n "cross compiling; assumed OK... $ac_c"
23359 cat >conftest.
$ac_ext <<_ACEOF
23362 cat confdefs.h
>>conftest.
$ac_ext
23363 cat >>conftest.
$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23366 #include <gtk/gtk.h>
23368 #include <stdlib.h>
23373 int major, minor, micro;
23376 system ("touch conf.gtktest");
23378 /* HP/UX 9 (%@#!) writes to sscanf strings */
23379 tmp_version = g_strdup("$min_gtk_version");
23380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23381 printf("%s, bad version string\n", "$min_gtk_version");
23385 if ((gtk_major_version != $gtk_config_major_version) ||
23386 (gtk_minor_version != $gtk_config_minor_version) ||
23387 (gtk_micro_version != $gtk_config_micro_version))
23389 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23390 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23391 gtk_major_version, gtk_minor_version, gtk_micro_version);
23392 printf ("*** was found! If gtk-config was correct, then it is best\n");
23393 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23394 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23395 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23396 printf("*** required on your system.\n");
23397 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23398 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23399 printf("*** before re-running configure\n");
23401 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23402 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23403 (gtk_minor_version != GTK_MINOR_VERSION) ||
23404 (gtk_micro_version != GTK_MICRO_VERSION))
23406 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23407 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23408 printf("*** library (version %d.%d.%d)\n",
23409 gtk_major_version, gtk_minor_version, gtk_micro_version);
23411 #endif /* defined (GTK_MAJOR_VERSION) ... */
23414 if ((gtk_major_version > major) ||
23415 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23416 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23422 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23423 gtk_major_version, gtk_minor_version, gtk_micro_version);
23424 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23425 major, minor, micro);
23426 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23428 printf("*** If you have already installed a sufficiently new version, this error\n");
23429 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23430 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23431 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23432 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23433 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23434 printf("*** so that the correct libraries are found at run-time))\n");
23441 rm -f conftest
$ac_exeext
23442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23443 (eval $ac_link) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23454 echo "$as_me: program exited with status $ac_status" >&5
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23458 ( exit $ac_status )
23461 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23463 CFLAGS
="$ac_save_CFLAGS"
23464 LIBS
="$ac_save_LIBS"
23467 if test "x$no_gtk" = x
; then
23468 echo "$as_me:$LINENO: result: yes" >&5
23469 echo "${ECHO_T}yes" >&6
23470 wx_cv_lib_gtk
=1.2.3
23472 echo "$as_me:$LINENO: result: no" >&5
23473 echo "${ECHO_T}no" >&6
23474 if test "$GTK_CONFIG" = "no" ; then
23475 echo "*** The gtk-config script installed by GTK could not be found"
23476 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23477 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23478 echo "*** full path to gtk-config."
23480 if test -f conf.gtktest
; then
23483 echo "*** Could not run GTK test program, checking why..."
23484 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23485 LIBS
="$LIBS $GTK_LIBS"
23486 cat >conftest.
$ac_ext <<_ACEOF
23489 cat confdefs.h
>>conftest.
$ac_ext
23490 cat >>conftest.
$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23493 #include <gtk/gtk.h>
23499 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23504 rm -f conftest.
$ac_objext conftest
$ac_exeext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23506 (eval $ac_link) 2>conftest.er1
23508 grep -v '^ *+' conftest.er1
>conftest.err
23510 cat conftest.err
>&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } &&
23513 { ac_try
='test -z "$ac_c_werror_flag"
23514 || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try
='test -s conftest$ac_exeext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 echo "*** The test program compiled, but did not run. This usually means"
23527 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23528 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23529 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23530 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23531 echo "*** is required on your system"
23533 echo "*** If you have an old version installed, it is best to remove it, although"
23534 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23536 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23537 echo "*** came with the system with the command"
23539 echo "*** rpm --erase --nodeps gtk gtk-devel"
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.
$ac_ext >&5
23544 echo "*** The test program failed to compile or link. See the file config.log for the"
23545 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23546 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23547 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23549 rm -f conftest.err conftest.
$ac_objext \
23550 conftest
$ac_exeext conftest.
$ac_ext
23551 CFLAGS
="$ac_save_CFLAGS"
23552 LIBS
="$ac_save_LIBS"
23566 if test -z "$wx_cv_lib_gtk"; then
23569 wx_cv_cflags_gtk
=$GTK_CFLAGS
23570 wx_cv_libs_gtk
=$GTK_LIBS
23577 if test "$gtk_version_cached" = 1; then
23578 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23579 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23582 case "$wx_cv_lib_gtk" in
23591 *) { { echo "$as_me:$LINENO: error:
23592 Please check that gtk-config is in path, the directory
23593 where GTK+ libraries are installed (returned by
23594 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23595 equivalent variable and GTK+ is version 1.2.3 or above.
23597 echo "$as_me: error:
23598 Please check that gtk-config is in path, the directory
23599 where GTK+ libraries are installed (returned by
23600 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23601 equivalent variable and GTK+ is version 1.2.3 or above.
23603 { (exit 1); exit 1; }; }
23607 if test "$WXGTK20" = 1; then
23608 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23612 if test -z "$PKG_CONFIG"; then
23613 # Extract the first word of "pkg-config", so it can be a program name with args.
23614 set dummy pkg
-config; ac_word
=$2
23615 echo "$as_me:$LINENO: checking for $ac_word" >&5
23616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23620 case $PKG_CONFIG in
23622 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23626 for as_dir
in $PATH
23629 test -z "$as_dir" && as_dir
=.
23630 for ac_exec_ext
in '' $ac_executable_extensions; do
23631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23632 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23639 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23643 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23645 if test -n "$PKG_CONFIG"; then
23646 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23647 echo "${ECHO_T}$PKG_CONFIG" >&6
23649 echo "$as_me:$LINENO: result: no" >&5
23650 echo "${ECHO_T}no" >&6
23655 if test "$PKG_CONFIG" = "no" ; then
23656 echo "*** The pkg-config script could not be found. Make sure it is"
23657 echo "*** in your path, or set the PKG_CONFIG environment variable"
23658 echo "*** to the full path to pkg-config."
23659 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23661 PKG_CONFIG_MIN_VERSION
=0.9.0
23662 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23663 echo "$as_me:$LINENO: checking for pangoft2" >&5
23664 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23666 if $PKG_CONFIG --exists "pangoft2" ; then
23667 echo "$as_me:$LINENO: result: yes" >&5
23668 echo "${ECHO_T}yes" >&6
23671 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23672 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23673 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23674 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23675 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23677 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23678 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23679 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23680 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23681 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23685 ## If we have a custom action on failure, don't print errors, but
23686 ## do set a variable so people can do so.
23687 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23694 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23695 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23699 if test $succeeded = yes; then
23701 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23702 # FIXME: GTK_LIBS already has a lot of what this is
23703 # about to add, but we go ahead and just add
23704 # it all again anyway.
23705 # This is not a good way to manage things. And simply
23706 # uniq'ing the list later is hardly better.
23707 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23711 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23712 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23713 wxUSE_PRINTING_ARCHITECTURE
="no"
23720 save_CFLAGS
="$CFLAGS"
23722 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23723 LIBS
="$LIBS $GTK_LIBS"
23725 for ac_func
in pango_font_family_is_monospace
23727 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23728 echo "$as_me:$LINENO: checking for $ac_func" >&5
23729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23730 if eval "test \"\${$as_ac_var+set}\" = set"; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23733 cat >conftest.
$ac_ext <<_ACEOF
23736 cat confdefs.h
>>conftest.
$ac_ext
23737 cat >>conftest.
$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23741 #define $ac_func innocuous_$ac_func
23743 /* System header to define __stub macros and hopefully few prototypes,
23744 which can conflict with char $ac_func (); below.
23745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23746 <limits.h> exists even on freestanding compilers. */
23749 # include <limits.h>
23751 # include <assert.h>
23756 /* Override any gcc2 internal prototype to avoid an error. */
23761 /* We use char because int might match the return type of a gcc2
23762 builtin and then its argument prototype would still apply. */
23764 /* The GNU C library defines this for functions which it implements
23765 to always fail with ENOSYS. Some functions are actually named
23766 something starting with __ and the normal name is an alias. */
23767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23770 char (*f) () = $ac_func;
23779 return f != $ac_func;
23784 rm -f conftest.
$ac_objext conftest
$ac_exeext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23786 (eval $ac_link) 2>conftest.er1
23788 grep -v '^ *+' conftest.er1
>conftest.err
23790 cat conftest.err
>&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try
='test -z "$ac_c_werror_flag"
23794 || test ! -s conftest.err'
23795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796 (eval $ac_try) 2>&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }; } &&
23800 { ac_try
='test -s conftest$ac_exeext'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; }; then
23806 eval "$as_ac_var=yes"
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.
$ac_ext >&5
23811 eval "$as_ac_var=no"
23813 rm -f conftest.err conftest.
$ac_objext \
23814 conftest
$ac_exeext conftest.
$ac_ext
23816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23818 if test `eval echo '${'$as_ac_var'}'` = yes; then
23819 cat >>confdefs.h
<<_ACEOF
23820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23826 CFLAGS
="$save_CFLAGS"
23829 if test "$wxUSE_UNICODE" = "yes"; then
23830 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23831 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23836 if test "$USE_DARWIN" != 1; then
23838 for ac_func
in poll
23840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23841 echo "$as_me:$LINENO: checking for $ac_func" >&5
23842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23843 if eval "test \"\${$as_ac_var+set}\" = set"; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 cat >conftest.
$ac_ext <<_ACEOF
23849 cat confdefs.h
>>conftest.
$ac_ext
23850 cat >>conftest.
$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23854 #define $ac_func innocuous_$ac_func
23856 /* System header to define __stub macros and hopefully few prototypes,
23857 which can conflict with char $ac_func (); below.
23858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23859 <limits.h> exists even on freestanding compilers. */
23862 # include <limits.h>
23864 # include <assert.h>
23869 /* Override any gcc2 internal prototype to avoid an error. */
23874 /* We use char because int might match the return type of a gcc2
23875 builtin and then its argument prototype would still apply. */
23877 /* The GNU C library defines this for functions which it implements
23878 to always fail with ENOSYS. Some functions are actually named
23879 something starting with __ and the normal name is an alias. */
23880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23883 char (*f) () = $ac_func;
23892 return f != $ac_func;
23897 rm -f conftest.
$ac_objext conftest
$ac_exeext
23898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23899 (eval $ac_link) 2>conftest.er1
23901 grep -v '^ *+' conftest.er1
>conftest.err
23903 cat conftest.err
>&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } &&
23906 { ac_try
='test -z "$ac_c_werror_flag"
23907 || test ! -s conftest.err'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; } &&
23913 { ac_try
='test -s conftest$ac_exeext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 eval "$as_ac_var=yes"
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.
$ac_ext >&5
23924 eval "$as_ac_var=no"
23926 rm -f conftest.err conftest.
$ac_objext \
23927 conftest
$ac_exeext conftest.
$ac_ext
23929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23931 if test `eval echo '${'$as_ac_var'}'` = yes; then
23932 cat >>confdefs.h
<<_ACEOF
23933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23941 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23942 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23944 AFMINSTALL
=afminstall
23948 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23949 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23950 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23951 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 ac_check_lib_save_LIBS
=$LIBS
23955 cat >conftest.
$ac_ext <<_ACEOF
23958 cat confdefs.h
>>conftest.
$ac_ext
23959 cat >>conftest.
$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23962 /* Override any gcc2 internal prototype to avoid an error. */
23966 /* We use char because int might match the return type of a gcc2
23967 builtin and then its argument prototype would still apply. */
23968 char gdk_im_open ();
23977 rm -f conftest.
$ac_objext conftest
$ac_exeext
23978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23979 (eval $ac_link) 2>conftest.er1
23981 grep -v '^ *+' conftest.er1
>conftest.err
23983 cat conftest.err
>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } &&
23986 { ac_try
='test -z "$ac_c_werror_flag"
23987 || test ! -s conftest.err'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; } &&
23993 { ac_try
='test -s conftest$ac_exeext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
23999 ac_cv_lib_gdk_gdk_im_open
=yes
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.
$ac_ext >&5
24004 ac_cv_lib_gdk_gdk_im_open
=no
24006 rm -f conftest.err conftest.
$ac_objext \
24007 conftest
$ac_exeext conftest.
$ac_ext
24008 LIBS
=$ac_check_lib_save_LIBS
24010 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24011 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24012 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24013 cat >>confdefs.h
<<\_ACEOF
24021 if test "$wxUSE_GPE" = "yes"; then
24022 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24023 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24026 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24028 for ac_extension
in a so sl dylib
; do
24029 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24030 ac_find_libraries
=$ac_dir
24036 if test "$ac_find_libraries" != "" ; then
24038 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24040 if test $result = 0; then
24043 ac_path_to_link
=" -L$ac_find_libraries"
24046 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24048 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24049 echo "${ECHO_T}found at $ac_find_libraries" >&6
24051 echo "$as_me:$LINENO: result: not found" >&5
24052 echo "${ECHO_T}not found" >&6
24058 if test "$wxUSE_MGL" = 1; then
24059 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24060 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24061 if test "x$MGL_ROOT" = x
; then
24062 echo "$as_me:$LINENO: result: not found" >&5
24063 echo "${ECHO_T}not found" >&6
24064 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24065 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24066 { (exit 1); exit 1; }; }
24068 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24069 echo "${ECHO_T}$MGL_ROOT" >&6
24072 echo "$as_me:$LINENO: checking for libmgl location" >&5
24073 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24076 if test "x$wxUSE_SHARED" = xyes
; then
24077 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24079 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24083 mgl_os_candidates
="dos32/dj2"
24086 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24087 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24088 { (exit 1); exit 1; }; }
24094 for mgl_os_i
in $mgl_os_candidates ; do
24095 if test "x$mgl_os" = x
; then
24096 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24097 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24098 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24103 if test "x$mgl_lib_type" = x
; then
24104 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24105 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24106 mgl_lib_type
=release
24113 if test "x$mgl_os" = x
; then
24114 echo "$as_me:$LINENO: result: not found" >&5
24115 echo "${ECHO_T}not found" >&6
24116 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24117 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24118 { (exit 1); exit 1; }; }
24120 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24121 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24123 wxUSE_UNIVERSAL
="yes"
24125 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24126 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24128 AFMINSTALL
=afminstall
24133 if test "$wxUSE_MICROWIN" = 1; then
24134 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24135 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24136 if test "x$MICROWINDOWS" = x
; then
24137 echo "$as_me:$LINENO: result: not found" >&5
24138 echo "${ECHO_T}not found" >&6
24139 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24140 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24141 { (exit 1); exit 1; }; }
24143 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24144 echo "${ECHO_T}$MICROWINDOWS" >&6
24147 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24148 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24149 echo "${ECHO_T}MicroWindows' libraries found." >&6
24151 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24152 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24153 { (exit 1); exit 1; }; }
24156 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24157 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24159 wxUSE_UNIVERSAL
="yes"
24161 AFMINSTALL
=afminstall
24163 GUIDIST
=MICROWIN_DIST
24165 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24168 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24169 echo "$as_me:$LINENO: checking for X" >&5
24170 echo $ECHO_N "checking for X... $ECHO_C" >&6
24173 # Check whether --with-x or --without-x was given.
24174 if test "${with_x+set}" = set; then
24178 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24179 if test "x$with_x" = xno
; then
24180 # The user explicitly disabled X.
24183 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24184 # Both variables are already set.
24187 if test "${ac_cv_have_x+set}" = set; then
24188 echo $ECHO_N "(cached) $ECHO_C" >&6
24190 # One or both of the vars are not set, and there is no cached value.
24191 ac_x_includes
=no ac_x_libraries
=no
24192 rm -fr conftest.dir
24193 if mkdir conftest.dir
; then
24195 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24196 cat >Imakefile
<<'_ACEOF'
24198 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24200 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24201 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24202 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24203 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24204 for ac_extension
in a so sl
; do
24205 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24206 test -f $ac_im_libdir/libX11.
$ac_extension; then
24207 ac_im_usrlibdir
=$ac_im_libdir; break
24210 # Screen out bogus values from the imake configuration. They are
24211 # bogus both because they are the default anyway, and because
24212 # using them would break gcc on systems where it needs fixed includes.
24213 case $ac_im_incroot in
24215 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24217 case $ac_im_usrlibdir in
24218 /usr
/lib
| /lib
) ;;
24219 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24223 rm -fr conftest.dir
24226 # Standard set of common directories for X headers.
24227 # Check X11 before X11Rn because it is often a symlink to the current release.
24239 /usr/local/X11/include
24240 /usr/local/X11R6/include
24241 /usr/local/X11R5/include
24242 /usr/local/X11R4/include
24244 /usr/local/include/X11
24245 /usr/local/include/X11R6
24246 /usr/local/include/X11R5
24247 /usr/local/include/X11R4
24251 /usr/XFree86/include/X11
24255 /usr/unsupported/include
24256 /usr/athena/include
24257 /usr/local/x11r5/include
24258 /usr/lpp/Xamples/include
24260 /usr/openwin/include
24261 /usr/openwin/share/include'
24263 if test "$ac_x_includes" = no
; then
24264 # Guess where to find include files, by looking for Intrinsic.h.
24265 # First, try using that file with no special directory specified.
24266 cat >conftest.
$ac_ext <<_ACEOF
24269 cat confdefs.h
>>conftest.
$ac_ext
24270 cat >>conftest.
$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24272 #include <X11/Intrinsic.h>
24274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24277 grep -v '^ *+' conftest.er1
>conftest.err
24279 cat conftest.err
>&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } >/dev
/null
; then
24282 if test -s conftest.err
; then
24283 ac_cpp_err
=$ac_c_preproc_warn_flag
24284 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24291 if test -z "$ac_cpp_err"; then
24292 # We can compile using X headers with no special include directory.
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.
$ac_ext >&5
24298 for ac_dir
in $ac_x_header_dirs; do
24299 if test -r "$ac_dir/X11/Intrinsic.h"; then
24300 ac_x_includes
=$ac_dir
24305 rm -f conftest.err conftest.
$ac_ext
24306 fi # $ac_x_includes = no
24308 if test "$ac_x_libraries" = no
; then
24309 # Check for the libraries.
24310 # See if we find them without any special options.
24311 # Don't add to $LIBS permanently.
24314 cat >conftest.
$ac_ext <<_ACEOF
24317 cat confdefs.h
>>conftest.
$ac_ext
24318 cat >>conftest.
$ac_ext <<_ACEOF
24319 /* end confdefs.h. */
24320 #include <X11/Intrinsic.h>
24329 rm -f conftest.
$ac_objext conftest
$ac_exeext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24331 (eval $ac_link) 2>conftest.er1
24333 grep -v '^ *+' conftest.er1
>conftest.err
24335 cat conftest.err
>&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } &&
24338 { ac_try
='test -z "$ac_c_werror_flag"
24339 || test ! -s conftest.err'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; } &&
24345 { ac_try
='test -s conftest$ac_exeext'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24352 # We can link X programs with no special library path.
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.
$ac_ext >&5
24359 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24361 # Don't even attempt the hair of trying to link an X program!
24362 for ac_extension
in a so sl
; do
24363 if test -r $ac_dir/libXt.
$ac_extension; then
24364 ac_x_libraries
=$ac_dir
24370 rm -f conftest.err conftest.
$ac_objext \
24371 conftest
$ac_exeext conftest.
$ac_ext
24372 fi # $ac_x_libraries = no
24374 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24375 # Didn't find X anywhere. Cache the known absence of X.
24376 ac_cv_have_x
="have_x=no"
24378 # Record where we found X for the cache.
24379 ac_cv_have_x
="have_x=yes \
24380 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24385 eval "$ac_cv_have_x"
24388 if test "$have_x" != yes; then
24389 echo "$as_me:$LINENO: result: $have_x" >&5
24390 echo "${ECHO_T}$have_x" >&6
24393 # If each of the values was on the command line, it overrides each guess.
24394 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24395 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24396 # Update the cache value to reflect the command line values.
24397 ac_cv_have_x
="have_x=yes \
24398 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24399 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24400 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24403 if test "$no_x" = yes; then
24404 # Not all programs may use this symbol, but it does not hurt to define it.
24406 cat >>confdefs.h
<<\_ACEOF
24407 #define X_DISPLAY_MISSING 1
24410 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24412 if test -n "$x_includes"; then
24413 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24416 # It would also be nice to do this for all -L options, not just this one.
24417 if test -n "$x_libraries"; then
24418 X_LIBS
="$X_LIBS -L$x_libraries"
24419 # For Solaris; some versions of Sun CC require a space after -R and
24420 # others require no space. Words are not sufficient . . . .
24421 case `(uname -sr) 2>/dev/null` in
24423 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24424 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24425 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24426 cat >conftest.
$ac_ext <<_ACEOF
24429 cat confdefs.h
>>conftest.
$ac_ext
24430 cat >>conftest.
$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24441 rm -f conftest.
$ac_objext conftest
$ac_exeext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24443 (eval $ac_link) 2>conftest.er1
24445 grep -v '^ *+' conftest.er1
>conftest.err
24447 cat conftest.err
>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try
='test -z "$ac_c_werror_flag"
24451 || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try
='test -s conftest$ac_exeext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.
$ac_ext >&5
24470 rm -f conftest.err conftest.
$ac_objext \
24471 conftest
$ac_exeext conftest.
$ac_ext
24472 if test $ac_R_nospace = yes; then
24473 echo "$as_me:$LINENO: result: no" >&5
24474 echo "${ECHO_T}no" >&6
24475 X_LIBS
="$X_LIBS -R$x_libraries"
24477 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24478 cat >conftest.
$ac_ext <<_ACEOF
24481 cat confdefs.h
>>conftest.
$ac_ext
24482 cat >>conftest.
$ac_ext <<_ACEOF
24483 /* end confdefs.h. */
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
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.
$ac_ext >&5
24522 rm -f conftest.err conftest.
$ac_objext \
24523 conftest
$ac_exeext conftest.
$ac_ext
24524 if test $ac_R_space = yes; then
24525 echo "$as_me:$LINENO: result: yes" >&5
24526 echo "${ECHO_T}yes" >&6
24527 X_LIBS
="$X_LIBS -R $x_libraries"
24529 echo "$as_me:$LINENO: result: neither works" >&5
24530 echo "${ECHO_T}neither works" >&6
24533 LIBS
=$ac_xsave_LIBS
24537 # Check for system-dependent libraries X programs must link with.
24538 # Do this before checking for the system-independent R6 libraries
24539 # (-lICE), since we may need -lsocket or whatever for X linking.
24541 if test "$ISC" = yes; then
24542 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24544 # Martyn Johnson says this is needed for Ultrix, if the X
24545 # libraries were built with DECnet support. And Karl Berry says
24546 # the Alpha needs dnet_stub (dnet does not exist).
24547 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24548 cat >conftest.
$ac_ext <<_ACEOF
24551 cat confdefs.h
>>conftest.
$ac_ext
24552 cat >>conftest.
$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24555 /* Override any gcc2 internal prototype to avoid an error. */
24559 /* We use char because int might match the return type of a gcc2
24560 builtin and then its argument prototype would still apply. */
24561 char XOpenDisplay ();
24570 rm -f conftest.
$ac_objext conftest
$ac_exeext
24571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24572 (eval $ac_link) 2>conftest.er1
24574 grep -v '^ *+' conftest.er1
>conftest.err
24576 cat conftest.err
>&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } &&
24579 { ac_try
='test -z "$ac_c_werror_flag"
24580 || test ! -s conftest.err'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; } &&
24586 { ac_try
='test -s conftest$ac_exeext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.
$ac_ext >&5
24597 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24598 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24599 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24602 ac_check_lib_save_LIBS
=$LIBS
24603 LIBS
="-ldnet $LIBS"
24604 cat >conftest.
$ac_ext <<_ACEOF
24607 cat confdefs.h
>>conftest.
$ac_ext
24608 cat >>conftest.
$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24611 /* Override any gcc2 internal prototype to avoid an error. */
24615 /* We use char because int might match the return type of a gcc2
24616 builtin and then its argument prototype would still apply. */
24626 rm -f conftest.
$ac_objext conftest
$ac_exeext
24627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24628 (eval $ac_link) 2>conftest.er1
24630 grep -v '^ *+' conftest.er1
>conftest.err
24632 cat conftest.err
>&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } &&
24635 { ac_try
='test -z "$ac_c_werror_flag"
24636 || test ! -s conftest.err'
24637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24638 (eval $ac_try) 2>&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); }; } &&
24642 { ac_try
='test -s conftest$ac_exeext'
24643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24644 (eval $ac_try) 2>&5
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); }; }; then
24648 ac_cv_lib_dnet_dnet_ntoa
=yes
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.
$ac_ext >&5
24653 ac_cv_lib_dnet_dnet_ntoa
=no
24655 rm -f conftest.err conftest.
$ac_objext \
24656 conftest
$ac_exeext conftest.
$ac_ext
24657 LIBS
=$ac_check_lib_save_LIBS
24659 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24660 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24661 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24662 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24665 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24666 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24667 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24668 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24671 ac_check_lib_save_LIBS
=$LIBS
24672 LIBS
="-ldnet_stub $LIBS"
24673 cat >conftest.
$ac_ext <<_ACEOF
24676 cat confdefs.h
>>conftest.
$ac_ext
24677 cat >>conftest.
$ac_ext <<_ACEOF
24678 /* end confdefs.h. */
24680 /* Override any gcc2 internal prototype to avoid an error. */
24684 /* We use char because int might match the return type of a gcc2
24685 builtin and then its argument prototype would still apply. */
24695 rm -f conftest.
$ac_objext conftest
$ac_exeext
24696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24697 (eval $ac_link) 2>conftest.er1
24699 grep -v '^ *+' conftest.er1
>conftest.err
24701 cat conftest.err
>&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } &&
24704 { ac_try
='test -z "$ac_c_werror_flag"
24705 || test ! -s conftest.err'
24706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24707 (eval $ac_try) 2>&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); }; } &&
24711 { ac_try
='test -s conftest$ac_exeext'
24712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24713 (eval $ac_try) 2>&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); }; }; then
24717 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24719 echo "$as_me: failed program was:" >&5
24720 sed 's/^/| /' conftest.
$ac_ext >&5
24722 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24724 rm -f conftest.err conftest.
$ac_objext \
24725 conftest
$ac_exeext conftest.
$ac_ext
24726 LIBS
=$ac_check_lib_save_LIBS
24728 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24729 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24730 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24731 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24736 rm -f conftest.err conftest.
$ac_objext \
24737 conftest
$ac_exeext conftest.
$ac_ext
24738 LIBS
="$ac_xsave_LIBS"
24740 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24741 # to get the SysV transport functions.
24742 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24744 # The nsl library prevents programs from opening the X display
24745 # on Irix 5.2, according to T.E. Dickey.
24746 # The functions gethostbyname, getservbyname, and inet_addr are
24747 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24748 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24749 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24750 if test "${ac_cv_func_gethostbyname+set}" = set; then
24751 echo $ECHO_N "(cached) $ECHO_C" >&6
24753 cat >conftest.
$ac_ext <<_ACEOF
24756 cat confdefs.h
>>conftest.
$ac_ext
24757 cat >>conftest.
$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24761 #define gethostbyname innocuous_gethostbyname
24763 /* System header to define __stub macros and hopefully few prototypes,
24764 which can conflict with char gethostbyname (); below.
24765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24766 <limits.h> exists even on freestanding compilers. */
24769 # include <limits.h>
24771 # include <assert.h>
24774 #undef gethostbyname
24776 /* Override any gcc2 internal prototype to avoid an error. */
24781 /* We use char because int might match the return type of a gcc2
24782 builtin and then its argument prototype would still apply. */
24783 char gethostbyname ();
24784 /* The GNU C library defines this for functions which it implements
24785 to always fail with ENOSYS. Some functions are actually named
24786 something starting with __ and the normal name is an alias. */
24787 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24790 char (*f) () = gethostbyname;
24799 return f != gethostbyname;
24804 rm -f conftest.
$ac_objext conftest
$ac_exeext
24805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24806 (eval $ac_link) 2>conftest.er1
24808 grep -v '^ *+' conftest.er1
>conftest.err
24810 cat conftest.err
>&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); } &&
24813 { ac_try
='test -z "$ac_c_werror_flag"
24814 || test ! -s conftest.err'
24815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 (eval $ac_try) 2>&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); }; } &&
24820 { ac_try
='test -s conftest$ac_exeext'
24821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24822 (eval $ac_try) 2>&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); }; }; then
24826 ac_cv_func_gethostbyname
=yes
24828 echo "$as_me: failed program was:" >&5
24829 sed 's/^/| /' conftest.
$ac_ext >&5
24831 ac_cv_func_gethostbyname
=no
24833 rm -f conftest.err conftest.
$ac_objext \
24834 conftest
$ac_exeext conftest.
$ac_ext
24836 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24837 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24839 if test $ac_cv_func_gethostbyname = no
; then
24840 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24841 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24842 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24845 ac_check_lib_save_LIBS
=$LIBS
24847 cat >conftest.
$ac_ext <<_ACEOF
24850 cat confdefs.h
>>conftest.
$ac_ext
24851 cat >>conftest.
$ac_ext <<_ACEOF
24852 /* end confdefs.h. */
24854 /* Override any gcc2 internal prototype to avoid an error. */
24858 /* We use char because int might match the return type of a gcc2
24859 builtin and then its argument prototype would still apply. */
24860 char gethostbyname ();
24869 rm -f conftest.
$ac_objext conftest
$ac_exeext
24870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24871 (eval $ac_link) 2>conftest.er1
24873 grep -v '^ *+' conftest.er1
>conftest.err
24875 cat conftest.err
>&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try
='test -z "$ac_c_werror_flag"
24879 || test ! -s conftest.err'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; } &&
24885 { ac_try
='test -s conftest$ac_exeext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 ac_cv_lib_nsl_gethostbyname
=yes
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.
$ac_ext >&5
24896 ac_cv_lib_nsl_gethostbyname
=no
24898 rm -f conftest.err conftest.
$ac_objext \
24899 conftest
$ac_exeext conftest.
$ac_ext
24900 LIBS
=$ac_check_lib_save_LIBS
24902 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24903 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24904 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24905 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24908 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24909 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24910 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24911 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24912 echo $ECHO_N "(cached) $ECHO_C" >&6
24914 ac_check_lib_save_LIBS
=$LIBS
24916 cat >conftest.
$ac_ext <<_ACEOF
24919 cat confdefs.h
>>conftest.
$ac_ext
24920 cat >>conftest.
$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24923 /* Override any gcc2 internal prototype to avoid an error. */
24927 /* We use char because int might match the return type of a gcc2
24928 builtin and then its argument prototype would still apply. */
24929 char gethostbyname ();
24938 rm -f conftest.
$ac_objext conftest
$ac_exeext
24939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24940 (eval $ac_link) 2>conftest.er1
24942 grep -v '^ *+' conftest.er1
>conftest.err
24944 cat conftest.err
>&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } &&
24947 { ac_try
='test -z "$ac_c_werror_flag"
24948 || test ! -s conftest.err'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; } &&
24954 { ac_try
='test -s conftest$ac_exeext'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; }; then
24960 ac_cv_lib_bsd_gethostbyname
=yes
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.
$ac_ext >&5
24965 ac_cv_lib_bsd_gethostbyname
=no
24967 rm -f conftest.err conftest.
$ac_objext \
24968 conftest
$ac_exeext conftest.
$ac_ext
24969 LIBS
=$ac_check_lib_save_LIBS
24971 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24972 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24973 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24974 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24980 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24981 # socket/setsockopt and other routines are undefined under SCO ODT
24982 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24983 # on later versions), says Simon Leinen: it contains gethostby*
24984 # variants that don't use the name server (or something). -lsocket
24985 # must be given before -lnsl if both are needed. We assume that
24986 # if connect needs -lnsl, so does gethostbyname.
24987 echo "$as_me:$LINENO: checking for connect" >&5
24988 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24989 if test "${ac_cv_func_connect+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 cat >conftest.
$ac_ext <<_ACEOF
24995 cat confdefs.h
>>conftest.
$ac_ext
24996 cat >>conftest.
$ac_ext <<_ACEOF
24997 /* end confdefs.h. */
24998 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25000 #define connect innocuous_connect
25002 /* System header to define __stub macros and hopefully few prototypes,
25003 which can conflict with char connect (); below.
25004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25005 <limits.h> exists even on freestanding compilers. */
25008 # include <limits.h>
25010 # include <assert.h>
25015 /* Override any gcc2 internal prototype to avoid an error. */
25020 /* We use char because int might match the return type of a gcc2
25021 builtin and then its argument prototype would still apply. */
25023 /* The GNU C library defines this for functions which it implements
25024 to always fail with ENOSYS. Some functions are actually named
25025 something starting with __ and the normal name is an alias. */
25026 #if defined (__stub_connect) || defined (__stub___connect)
25029 char (*f) () = connect;
25038 return f != connect;
25043 rm -f conftest.
$ac_objext conftest
$ac_exeext
25044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25045 (eval $ac_link) 2>conftest.er1
25047 grep -v '^ *+' conftest.er1
>conftest.err
25049 cat conftest.err
>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); } &&
25052 { ac_try
='test -z "$ac_c_werror_flag"
25053 || test ! -s conftest.err'
25054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25055 (eval $ac_try) 2>&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); }; } &&
25059 { ac_try
='test -s conftest$ac_exeext'
25060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25061 (eval $ac_try) 2>&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); }; }; then
25065 ac_cv_func_connect
=yes
25067 echo "$as_me: failed program was:" >&5
25068 sed 's/^/| /' conftest.
$ac_ext >&5
25070 ac_cv_func_connect
=no
25072 rm -f conftest.err conftest.
$ac_objext \
25073 conftest
$ac_exeext conftest.
$ac_ext
25075 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25076 echo "${ECHO_T}$ac_cv_func_connect" >&6
25078 if test $ac_cv_func_connect = no
; then
25079 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25080 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25081 if test "${ac_cv_lib_socket_connect+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25084 ac_check_lib_save_LIBS
=$LIBS
25085 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25086 cat >conftest.
$ac_ext <<_ACEOF
25089 cat confdefs.h
>>conftest.
$ac_ext
25090 cat >>conftest.
$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25093 /* Override any gcc2 internal prototype to avoid an error. */
25097 /* We use char because int might match the return type of a gcc2
25098 builtin and then its argument prototype would still apply. */
25108 rm -f conftest.
$ac_objext conftest
$ac_exeext
25109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25110 (eval $ac_link) 2>conftest.er1
25112 grep -v '^ *+' conftest.er1
>conftest.err
25114 cat conftest.err
>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } &&
25117 { ac_try
='test -z "$ac_c_werror_flag"
25118 || test ! -s conftest.err'
25119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120 (eval $ac_try) 2>&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); }; } &&
25124 { ac_try
='test -s conftest$ac_exeext'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; }; then
25130 ac_cv_lib_socket_connect
=yes
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.
$ac_ext >&5
25135 ac_cv_lib_socket_connect
=no
25137 rm -f conftest.err conftest.
$ac_objext \
25138 conftest
$ac_exeext conftest.
$ac_ext
25139 LIBS
=$ac_check_lib_save_LIBS
25141 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25142 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25143 if test $ac_cv_lib_socket_connect = yes; then
25144 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25149 # Guillermo Gomez says -lposix is necessary on A/UX.
25150 echo "$as_me:$LINENO: checking for remove" >&5
25151 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25152 if test "${ac_cv_func_remove+set}" = set; then
25153 echo $ECHO_N "(cached) $ECHO_C" >&6
25155 cat >conftest.
$ac_ext <<_ACEOF
25158 cat confdefs.h
>>conftest.
$ac_ext
25159 cat >>conftest.
$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25161 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25163 #define remove innocuous_remove
25165 /* System header to define __stub macros and hopefully few prototypes,
25166 which can conflict with char remove (); below.
25167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25168 <limits.h> exists even on freestanding compilers. */
25171 # include <limits.h>
25173 # include <assert.h>
25178 /* Override any gcc2 internal prototype to avoid an error. */
25183 /* We use char because int might match the return type of a gcc2
25184 builtin and then its argument prototype would still apply. */
25186 /* The GNU C library defines this for functions which it implements
25187 to always fail with ENOSYS. Some functions are actually named
25188 something starting with __ and the normal name is an alias. */
25189 #if defined (__stub_remove) || defined (__stub___remove)
25192 char (*f) () = remove;
25201 return f != remove;
25206 rm -f conftest.
$ac_objext conftest
$ac_exeext
25207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25208 (eval $ac_link) 2>conftest.er1
25210 grep -v '^ *+' conftest.er1
>conftest.err
25212 cat conftest.err
>&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); } &&
25215 { ac_try
='test -z "$ac_c_werror_flag"
25216 || test ! -s conftest.err'
25217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25218 (eval $ac_try) 2>&5
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); }; } &&
25222 { ac_try
='test -s conftest$ac_exeext'
25223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25224 (eval $ac_try) 2>&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); }; }; then
25228 ac_cv_func_remove
=yes
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.
$ac_ext >&5
25233 ac_cv_func_remove
=no
25235 rm -f conftest.err conftest.
$ac_objext \
25236 conftest
$ac_exeext conftest.
$ac_ext
25238 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25239 echo "${ECHO_T}$ac_cv_func_remove" >&6
25241 if test $ac_cv_func_remove = no
; then
25242 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25243 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25244 if test "${ac_cv_lib_posix_remove+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 ac_check_lib_save_LIBS
=$LIBS
25248 LIBS
="-lposix $LIBS"
25249 cat >conftest.
$ac_ext <<_ACEOF
25252 cat confdefs.h
>>conftest.
$ac_ext
25253 cat >>conftest.
$ac_ext <<_ACEOF
25254 /* end confdefs.h. */
25256 /* Override any gcc2 internal prototype to avoid an error. */
25260 /* We use char because int might match the return type of a gcc2
25261 builtin and then its argument prototype would still apply. */
25271 rm -f conftest.
$ac_objext conftest
$ac_exeext
25272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25273 (eval $ac_link) 2>conftest.er1
25275 grep -v '^ *+' conftest.er1
>conftest.err
25277 cat conftest.err
>&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); } &&
25280 { ac_try
='test -z "$ac_c_werror_flag"
25281 || test ! -s conftest.err'
25282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283 (eval $ac_try) 2>&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); }; } &&
25287 { ac_try
='test -s conftest$ac_exeext'
25288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25289 (eval $ac_try) 2>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); }; }; then
25293 ac_cv_lib_posix_remove
=yes
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.
$ac_ext >&5
25298 ac_cv_lib_posix_remove
=no
25300 rm -f conftest.err conftest.
$ac_objext \
25301 conftest
$ac_exeext conftest.
$ac_ext
25302 LIBS
=$ac_check_lib_save_LIBS
25304 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25305 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25306 if test $ac_cv_lib_posix_remove = yes; then
25307 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25312 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25313 echo "$as_me:$LINENO: checking for shmat" >&5
25314 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25315 if test "${ac_cv_func_shmat+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25318 cat >conftest.
$ac_ext <<_ACEOF
25321 cat confdefs.h
>>conftest.
$ac_ext
25322 cat >>conftest.
$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25324 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25326 #define shmat innocuous_shmat
25328 /* System header to define __stub macros and hopefully few prototypes,
25329 which can conflict with char shmat (); below.
25330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25331 <limits.h> exists even on freestanding compilers. */
25334 # include <limits.h>
25336 # include <assert.h>
25341 /* Override any gcc2 internal prototype to avoid an error. */
25346 /* We use char because int might match the return type of a gcc2
25347 builtin and then its argument prototype would still apply. */
25349 /* The GNU C library defines this for functions which it implements
25350 to always fail with ENOSYS. Some functions are actually named
25351 something starting with __ and the normal name is an alias. */
25352 #if defined (__stub_shmat) || defined (__stub___shmat)
25355 char (*f) () = shmat;
25369 rm -f conftest.
$ac_objext conftest
$ac_exeext
25370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25371 (eval $ac_link) 2>conftest.er1
25373 grep -v '^ *+' conftest.er1
>conftest.err
25375 cat conftest.err
>&5
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); } &&
25378 { ac_try
='test -z "$ac_c_werror_flag"
25379 || test ! -s conftest.err'
25380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25381 (eval $ac_try) 2>&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); }; } &&
25385 { ac_try
='test -s conftest$ac_exeext'
25386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387 (eval $ac_try) 2>&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); }; }; then
25391 ac_cv_func_shmat
=yes
25393 echo "$as_me: failed program was:" >&5
25394 sed 's/^/| /' conftest.
$ac_ext >&5
25396 ac_cv_func_shmat
=no
25398 rm -f conftest.err conftest.
$ac_objext \
25399 conftest
$ac_exeext conftest.
$ac_ext
25401 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25402 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25404 if test $ac_cv_func_shmat = no
; then
25405 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25406 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25407 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25410 ac_check_lib_save_LIBS
=$LIBS
25412 cat >conftest.
$ac_ext <<_ACEOF
25415 cat confdefs.h
>>conftest.
$ac_ext
25416 cat >>conftest.
$ac_ext <<_ACEOF
25417 /* end confdefs.h. */
25419 /* Override any gcc2 internal prototype to avoid an error. */
25423 /* We use char because int might match the return type of a gcc2
25424 builtin and then its argument prototype would still apply. */
25434 rm -f conftest.
$ac_objext conftest
$ac_exeext
25435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25436 (eval $ac_link) 2>conftest.er1
25438 grep -v '^ *+' conftest.er1
>conftest.err
25440 cat conftest.err
>&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } &&
25443 { ac_try
='test -z "$ac_c_werror_flag"
25444 || test ! -s conftest.err'
25445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25446 (eval $ac_try) 2>&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); }; } &&
25450 { ac_try
='test -s conftest$ac_exeext'
25451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25452 (eval $ac_try) 2>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); }; }; then
25456 ac_cv_lib_ipc_shmat
=yes
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.
$ac_ext >&5
25461 ac_cv_lib_ipc_shmat
=no
25463 rm -f conftest.err conftest.
$ac_objext \
25464 conftest
$ac_exeext conftest.
$ac_ext
25465 LIBS
=$ac_check_lib_save_LIBS
25467 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25468 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25469 if test $ac_cv_lib_ipc_shmat = yes; then
25470 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25476 # Check for libraries that X11R6 Xt/Xaw programs need.
25477 ac_save_LDFLAGS
=$LDFLAGS
25478 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25479 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25480 # check for ICE first), but we must link in the order -lSM -lICE or
25481 # we get undefined symbols. So assume we have SM if we have ICE.
25482 # These have to be linked with before -lX11, unlike the other
25483 # libraries we check for below, so use a different variable.
25484 # John Interrante, Karl Berry
25485 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25486 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25487 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25490 ac_check_lib_save_LIBS
=$LIBS
25491 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25492 cat >conftest.
$ac_ext <<_ACEOF
25495 cat confdefs.h
>>conftest.
$ac_ext
25496 cat >>conftest.
$ac_ext <<_ACEOF
25497 /* end confdefs.h. */
25499 /* Override any gcc2 internal prototype to avoid an error. */
25503 /* We use char because int might match the return type of a gcc2
25504 builtin and then its argument prototype would still apply. */
25505 char IceConnectionNumber ();
25509 IceConnectionNumber ();
25514 rm -f conftest.
$ac_objext conftest
$ac_exeext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25516 (eval $ac_link) 2>conftest.er1
25518 grep -v '^ *+' conftest.er1
>conftest.err
25520 cat conftest.err
>&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try
='test -z "$ac_c_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try
='test -s conftest$ac_exeext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 ac_cv_lib_ICE_IceConnectionNumber
=yes
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.
$ac_ext >&5
25541 ac_cv_lib_ICE_IceConnectionNumber
=no
25543 rm -f conftest.err conftest.
$ac_objext \
25544 conftest
$ac_exeext conftest.
$ac_ext
25545 LIBS
=$ac_check_lib_save_LIBS
25547 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25548 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25549 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25550 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25553 LDFLAGS
=$ac_save_LDFLAGS
25558 if test "$no_x" = "yes"; then
25559 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25560 echo "$as_me: error: X11 not found" >&2;}
25561 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25564 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25565 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25566 AFMINSTALL
=afminstall
25567 COMPILED_X_PROGRAM
=0
25571 if test "$wxUSE_X11" = 1; then
25572 if test "$wxUSE_NANOX" = "yes"; then
25573 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25574 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25575 if test "x$MICROWIN" = x
; then
25576 echo "$as_me:$LINENO: result: not found" >&5
25577 echo "${ECHO_T}not found" >&6
25578 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25579 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25580 { (exit 1); exit 1; }; }
25582 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25583 echo "${ECHO_T}$MICROWIN" >&6
25584 cat >>confdefs.h
<<\_ACEOF
25585 #define wxUSE_NANOX 1
25591 if test "$wxUSE_UNICODE" = "yes"; then
25595 if test -z "$PKG_CONFIG"; then
25596 # Extract the first word of "pkg-config", so it can be a program name with args.
25597 set dummy pkg
-config; ac_word
=$2
25598 echo "$as_me:$LINENO: checking for $ac_word" >&5
25599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25600 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 case $PKG_CONFIG in
25605 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25609 for as_dir
in $PATH
25612 test -z "$as_dir" && as_dir
=.
25613 for ac_exec_ext
in '' $ac_executable_extensions; do
25614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25615 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25622 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25626 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25628 if test -n "$PKG_CONFIG"; then
25629 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25630 echo "${ECHO_T}$PKG_CONFIG" >&6
25632 echo "$as_me:$LINENO: result: no" >&5
25633 echo "${ECHO_T}no" >&6
25638 if test "$PKG_CONFIG" = "no" ; then
25639 echo "*** The pkg-config script could not be found. Make sure it is"
25640 echo "*** in your path, or set the PKG_CONFIG environment variable"
25641 echo "*** to the full path to pkg-config."
25642 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25644 PKG_CONFIG_MIN_VERSION
=0.9.0
25645 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25646 echo "$as_me:$LINENO: checking for pangox" >&5
25647 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25649 if $PKG_CONFIG --exists "pangox" ; then
25650 echo "$as_me:$LINENO: result: yes" >&5
25651 echo "${ECHO_T}yes" >&6
25654 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25655 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25656 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25657 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25658 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25660 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25661 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25662 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25663 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25664 echo "${ECHO_T}$PANGOX_LIBS" >&6
25668 ## If we have a custom action on failure, don't print errors, but
25669 ## do set a variable so people can do so.
25670 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25677 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25678 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25682 if test $succeeded = yes; then
25684 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25685 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25689 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25690 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25691 { (exit 1); exit 1; }; }
25699 if test -z "$PKG_CONFIG"; then
25700 # Extract the first word of "pkg-config", so it can be a program name with args.
25701 set dummy pkg
-config; ac_word
=$2
25702 echo "$as_me:$LINENO: checking for $ac_word" >&5
25703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25707 case $PKG_CONFIG in
25709 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25713 for as_dir
in $PATH
25716 test -z "$as_dir" && as_dir
=.
25717 for ac_exec_ext
in '' $ac_executable_extensions; do
25718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25719 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25726 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25730 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25732 if test -n "$PKG_CONFIG"; then
25733 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25734 echo "${ECHO_T}$PKG_CONFIG" >&6
25736 echo "$as_me:$LINENO: result: no" >&5
25737 echo "${ECHO_T}no" >&6
25742 if test "$PKG_CONFIG" = "no" ; then
25743 echo "*** The pkg-config script could not be found. Make sure it is"
25744 echo "*** in your path, or set the PKG_CONFIG environment variable"
25745 echo "*** to the full path to pkg-config."
25746 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25748 PKG_CONFIG_MIN_VERSION
=0.9.0
25749 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25750 echo "$as_me:$LINENO: checking for pangoft2" >&5
25751 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25753 if $PKG_CONFIG --exists "pangoft2" ; then
25754 echo "$as_me:$LINENO: result: yes" >&5
25755 echo "${ECHO_T}yes" >&6
25758 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25759 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25760 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25761 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25762 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25764 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25765 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25766 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25767 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25768 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25772 ## If we have a custom action on failure, don't print errors, but
25773 ## do set a variable so people can do so.
25774 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25781 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25782 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25786 if test $succeeded = yes; then
25788 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25789 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25793 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25794 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25795 wxUSE_PRINTING_ARCHITECTURE
="no"
25803 if test -z "$PKG_CONFIG"; then
25804 # Extract the first word of "pkg-config", so it can be a program name with args.
25805 set dummy pkg
-config; ac_word
=$2
25806 echo "$as_me:$LINENO: checking for $ac_word" >&5
25807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25811 case $PKG_CONFIG in
25813 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25817 for as_dir
in $PATH
25820 test -z "$as_dir" && as_dir
=.
25821 for ac_exec_ext
in '' $ac_executable_extensions; do
25822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25823 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25830 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25834 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25836 if test -n "$PKG_CONFIG"; then
25837 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25838 echo "${ECHO_T}$PKG_CONFIG" >&6
25840 echo "$as_me:$LINENO: result: no" >&5
25841 echo "${ECHO_T}no" >&6
25846 if test "$PKG_CONFIG" = "no" ; then
25847 echo "*** The pkg-config script could not be found. Make sure it is"
25848 echo "*** in your path, or set the PKG_CONFIG environment variable"
25849 echo "*** to the full path to pkg-config."
25850 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25852 PKG_CONFIG_MIN_VERSION
=0.9.0
25853 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25854 echo "$as_me:$LINENO: checking for pangoxft" >&5
25855 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25857 if $PKG_CONFIG --exists "pangoxft" ; then
25858 echo "$as_me:$LINENO: result: yes" >&5
25859 echo "${ECHO_T}yes" >&6
25862 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25863 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25864 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25865 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25866 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25868 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25869 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25870 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25871 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25872 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25876 ## If we have a custom action on failure, don't print errors, but
25877 ## do set a variable so people can do so.
25878 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25885 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25886 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25890 if test $succeeded = yes; then
25892 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25893 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25897 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25898 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25903 save_CFLAGS
="$CFLAGS"
25905 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25906 LIBS
="$LIBS $PANGOX_LIBS"
25908 for ac_func
in pango_font_family_is_monospace
25910 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25911 echo "$as_me:$LINENO: checking for $ac_func" >&5
25912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25913 if eval "test \"\${$as_ac_var+set}\" = set"; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 cat >conftest.
$ac_ext <<_ACEOF
25919 cat confdefs.h
>>conftest.
$ac_ext
25920 cat >>conftest.
$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25924 #define $ac_func innocuous_$ac_func
25926 /* System header to define __stub macros and hopefully few prototypes,
25927 which can conflict with char $ac_func (); below.
25928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25929 <limits.h> exists even on freestanding compilers. */
25932 # include <limits.h>
25934 # include <assert.h>
25939 /* Override any gcc2 internal prototype to avoid an error. */
25944 /* We use char because int might match the return type of a gcc2
25945 builtin and then its argument prototype would still apply. */
25947 /* The GNU C library defines this for functions which it implements
25948 to always fail with ENOSYS. Some functions are actually named
25949 something starting with __ and the normal name is an alias. */
25950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25953 char (*f) () = $ac_func;
25962 return f != $ac_func;
25967 rm -f conftest.
$ac_objext conftest
$ac_exeext
25968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25969 (eval $ac_link) 2>conftest.er1
25971 grep -v '^ *+' conftest.er1
>conftest.err
25973 cat conftest.err
>&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); } &&
25976 { ac_try
='test -z "$ac_c_werror_flag"
25977 || test ! -s conftest.err'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; } &&
25983 { ac_try
='test -s conftest$ac_exeext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 eval "$as_ac_var=yes"
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.
$ac_ext >&5
25994 eval "$as_ac_var=no"
25996 rm -f conftest.err conftest.
$ac_objext \
25997 conftest
$ac_exeext conftest.
$ac_ext
25999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26001 if test `eval echo '${'$as_ac_var'}'` = yes; then
26002 cat >>confdefs.h
<<_ACEOF
26003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26009 CFLAGS
="$save_CFLAGS"
26013 wxUSE_UNIVERSAL
="yes"
26015 if test "$wxUSE_NANOX" = "yes"; then
26016 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26017 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"
26018 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26020 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26027 if test "$wxUSE_MOTIF" = 1; then
26028 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26029 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26032 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26034 if test -f "$ac_dir/Xm/Xm.h"; then
26035 ac_find_includes
=$ac_dir
26040 if test "$ac_find_includes" != "" ; then
26041 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26042 echo "${ECHO_T}found in $ac_find_includes" >&6
26044 if test "x$ac_find_includes" = "x/usr/include"; then
26045 ac_path_to_include
=""
26047 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26049 if test $result = 0; then
26050 ac_path_to_include
=""
26052 ac_path_to_include
=" -I$ac_find_includes"
26056 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26058 cat >conftest.
$ac_ext <<_ACEOF
26061 cat confdefs.h
>>conftest.
$ac_ext
26062 cat >>conftest.
$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26072 version = xmUseVersion;
26078 rm -f conftest.
$ac_objext
26079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26080 (eval $ac_compile) 2>conftest.er1
26082 grep -v '^ *+' conftest.er1
>conftest.err
26084 cat conftest.err
>&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); } &&
26087 { ac_try
='test -z "$ac_c_werror_flag"
26088 || test ! -s conftest.err'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; } &&
26094 { ac_try
='test -s conftest.$ac_objext'
26095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26096 (eval $ac_try) 2>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); }; }; then
26101 echo "$as_me:$LINENO: result: found in default search path" >&5
26102 echo "${ECHO_T}found in default search path" >&6
26103 COMPILED_X_PROGRAM
=1
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.
$ac_ext >&5
26110 echo "$as_me:$LINENO: result: no" >&5
26111 echo "${ECHO_T}no" >&6
26112 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26113 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26114 { (exit 1); exit 1; }; }
26118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26121 if test "$COMPILED_X_PROGRAM" = 0; then
26122 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26123 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26126 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26128 for ac_extension
in a so sl dylib
; do
26129 if test -f "$ac_dir/libXm.$ac_extension"; then
26130 ac_find_libraries
=$ac_dir
26136 if test "$ac_find_libraries" != "" ; then
26137 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26138 echo "${ECHO_T}found at $ac_find_libraries" >&6
26141 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26143 if test $result = 0; then
26146 ac_path_to_link
=" -L$ac_find_libraries"
26149 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26151 save_CFLAGS
=$CFLAGS
26152 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26154 cat >conftest.
$ac_ext <<_ACEOF
26157 cat confdefs.h
>>conftest.
$ac_ext
26158 cat >>conftest.
$ac_ext <<_ACEOF
26159 /* end confdefs.h. */
26168 version = xmUseVersion;
26174 rm -f conftest.
$ac_objext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26176 (eval $ac_compile) 2>conftest.er1
26178 grep -v '^ *+' conftest.er1
>conftest.err
26180 cat conftest.err
>&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try
='test -z "$ac_c_werror_flag"
26184 || test ! -s conftest.err'
26185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26186 (eval $ac_try) 2>&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); }; } &&
26190 { ac_try
='test -s conftest.$ac_objext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26197 echo "$as_me:$LINENO: result: found in default search path" >&5
26198 echo "${ECHO_T}found in default search path" >&6
26199 COMPILED_X_PROGRAM
=1
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.
$ac_ext >&5
26206 echo "$as_me:$LINENO: result: no" >&5
26207 echo "${ECHO_T}no" >&6
26208 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26209 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26210 { (exit 1); exit 1; }; }
26214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26216 CFLAGS
=$save_CFLAGS
26220 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26221 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26225 for libp
in "" " -lXp"; do
26226 if test "$libs_found" = "0"; then
26227 for libsm_ice
in "" " -lSM -lICE"; do
26228 if test "$libs_found" = "0"; then
26230 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26231 save_CFLAGS
=$CFLAGS
26232 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26234 cat >conftest.
$ac_ext <<_ACEOF
26237 cat confdefs.h
>>conftest.
$ac_ext
26238 cat >>conftest.
$ac_ext <<_ACEOF
26239 /* end confdefs.h. */
26242 #include <Xm/List.h>
26248 XmString string = NULL;
26251 XmListAddItem(w, string, position);
26257 rm -f conftest.
$ac_objext conftest
$ac_exeext
26258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26259 (eval $ac_link) 2>conftest.er1
26261 grep -v '^ *+' conftest.er1
>conftest.err
26263 cat conftest.err
>&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } &&
26266 { ac_try
='test -z "$ac_c_werror_flag"
26267 || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try
='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26281 libsm_ice_link
="$libsm_ice"
26282 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26283 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.
$ac_ext >&5
26293 rm -f conftest.err conftest.
$ac_objext \
26294 conftest
$ac_exeext conftest.
$ac_ext
26297 CFLAGS
=$save_CFLAGS
26303 if test "$libs_found" = "0"; then
26304 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26305 echo "${ECHO_T}can't find the right libraries" >&6
26306 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26307 echo "$as_me: error: can't link a simple motif program" >&2;}
26308 { (exit 1); exit 1; }; }
26311 save_CFLAGS
=$CFLAGS
26312 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26313 echo "$as_me:$LINENO: checking for Motif 2" >&5
26314 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26315 cat >conftest.
$ac_ext <<_ACEOF
26318 cat confdefs.h
>>conftest.
$ac_ext
26319 cat >>conftest.
$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26328 #if XmVersion < 2000
26329 #error "Not Motif 2"
26336 rm -f conftest.
$ac_objext
26337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26338 (eval $ac_compile) 2>conftest.er1
26340 grep -v '^ *+' conftest.er1
>conftest.err
26342 cat conftest.err
>&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } &&
26345 { ac_try
='test -z "$ac_c_werror_flag"
26346 || test ! -s conftest.err'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; } &&
26352 { ac_try
='test -s conftest.$ac_objext'
26353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26354 (eval $ac_try) 2>&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); }; }; then
26359 cat >>confdefs.h
<<\_ACEOF
26360 #define __WXMOTIF20__ 1
26363 echo "$as_me:$LINENO: result: found" >&5
26364 echo "${ECHO_T}found" >&6
26367 echo "$as_me: failed program was:" >&5
26368 sed 's/^/| /' conftest.
$ac_ext >&5
26371 cat >>confdefs.h
<<\_ACEOF
26372 #define __WXMOTIF20__ 0
26375 echo "$as_me:$LINENO: result: not found" >&5
26376 echo "${ECHO_T}not found" >&6
26379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26380 CFLAGS
=$save_CFLAGS
26382 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26387 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26388 if test "$wxUSE_LIBXPM" = "sys"; then
26389 echo "$as_me:$LINENO: checking for Xpm library" >&5
26390 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26393 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26395 for ac_extension
in a so sl dylib
; do
26396 if test -f "$ac_dir/libXpm.$ac_extension"; then
26397 ac_find_libraries
=$ac_dir
26403 if test "$ac_find_libraries" != "" ; then
26405 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26407 if test $result = 0; then
26410 ac_path_to_link
=" -L$ac_find_libraries"
26413 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26414 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26415 echo "${ECHO_T}found at $ac_find_libraries" >&6
26417 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26418 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26419 if test "${wx_cv_x11_xpm_h+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 save_CFLAGS
=$CFLAGS
26424 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26426 cat >conftest.
$ac_ext <<_ACEOF
26429 cat confdefs.h
>>conftest.
$ac_ext
26430 cat >>conftest.
$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26433 #include <X11/xpm.h>
26440 version = XpmLibraryVersion();
26446 rm -f conftest.
$ac_objext
26447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26448 (eval $ac_compile) 2>conftest.er1
26450 grep -v '^ *+' conftest.er1
>conftest.err
26452 cat conftest.err
>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } &&
26455 { ac_try
='test -z "$ac_c_werror_flag"
26456 || test ! -s conftest.err'
26457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26458 (eval $ac_try) 2>&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; } &&
26462 { ac_try
='test -s conftest.$ac_objext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 wx_cv_x11_xpm_h
=yes
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.
$ac_ext >&5
26476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26478 CFLAGS
=$save_CFLAGS
26482 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26483 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26485 if test $wx_cv_x11_xpm_h = "yes"; then
26486 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26487 cat >>confdefs.h
<<\_ACEOF
26488 #define wxHAVE_LIB_XPM 1
26492 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26493 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26499 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26500 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26501 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26502 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 ac_check_lib_save_LIBS
=$LIBS
26505 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26506 cat >conftest.
$ac_ext <<_ACEOF
26509 cat confdefs.h
>>conftest.
$ac_ext
26510 cat >>conftest.
$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26513 /* Override any gcc2 internal prototype to avoid an error. */
26517 /* We use char because int might match the return type of a gcc2
26518 builtin and then its argument prototype would still apply. */
26519 char XShapeQueryExtension ();
26523 XShapeQueryExtension ();
26528 rm -f conftest.
$ac_objext conftest
$ac_exeext
26529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26530 (eval $ac_link) 2>conftest.er1
26532 grep -v '^ *+' conftest.er1
>conftest.err
26534 cat conftest.err
>&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); } &&
26537 { ac_try
='test -z "$ac_c_werror_flag"
26538 || test ! -s conftest.err'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; } &&
26544 { ac_try
='test -s conftest$ac_exeext'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; }; then
26550 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26552 echo "$as_me: failed program was:" >&5
26553 sed 's/^/| /' conftest.
$ac_ext >&5
26555 ac_cv_lib_Xext_XShapeQueryExtension
=no
26557 rm -f conftest.err conftest.
$ac_objext \
26558 conftest
$ac_exeext conftest.
$ac_ext
26559 LIBS
=$ac_check_lib_save_LIBS
26561 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26562 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26563 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26565 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26571 if test "$wxHAVE_XEXT_LIB" = 1; then
26572 save_CFLAGS
="$CFLAGS"
26573 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26575 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26576 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26577 cat >conftest.
$ac_ext <<_ACEOF
26580 cat confdefs.h
>>conftest.
$ac_ext
26581 cat >>conftest.
$ac_ext <<_ACEOF
26582 /* end confdefs.h. */
26584 #include <X11/Xlib.h>
26585 #include <X11/extensions/shape.h>
26591 int dummy1, dummy2;
26592 XShapeQueryExtension((Display*)NULL,
26593 (int*)NULL, (int*)NULL);
26599 rm -f conftest.
$ac_objext
26600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26601 (eval $ac_compile) 2>conftest.er1
26603 grep -v '^ *+' conftest.er1
>conftest.err
26605 cat conftest.err
>&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } &&
26608 { ac_try
='test -z "$ac_c_werror_flag"
26609 || test ! -s conftest.err'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; } &&
26615 { ac_try
='test -s conftest.$ac_objext'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; }; then
26622 cat >>confdefs.h
<<\_ACEOF
26623 #define HAVE_XSHAPE 1
26626 echo "$as_me:$LINENO: result: found" >&5
26627 echo "${ECHO_T}found" >&6
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.
$ac_ext >&5
26634 echo "$as_me:$LINENO: result: not found" >&5
26635 echo "${ECHO_T}not found" >&6
26638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26639 CFLAGS
="$save_CFLAGS"
26644 if test "$wxUSE_MAC" = 1; then
26645 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26646 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26647 if test "$GCC" = yes; then
26648 echo "$as_me:$LINENO: result: gcc" >&5
26649 echo "${ECHO_T}gcc" >&6
26650 CPPFLAGS_PASCAL
="-fpascal-strings"
26651 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26652 echo "$as_me:$LINENO: result: xlc" >&5
26653 echo "${ECHO_T}xlc" >&6
26654 CPPFLAGS_PASCAL
="-qmacpstr"
26656 echo "$as_me:$LINENO: result: none" >&5
26657 echo "${ECHO_T}none" >&6
26660 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26664 WXBASEPORT
="_carbon"
26667 if test "$wxUSE_COCOA" = 1; then
26672 if test "$wxUSE_PM" = 1; then
26675 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26676 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26677 if test "${wx_cv_spbcdata+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26681 cat >conftest.
$ac_ext <<_ACEOF
26684 cat confdefs.h
>>conftest.
$ac_ext
26685 cat >>conftest.
$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26701 rm -f conftest.
$ac_objext
26702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26703 (eval $ac_compile) 2>conftest.er1
26705 grep -v '^ *+' conftest.er1
>conftest.err
26707 cat conftest.err
>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try
='test -z "$ac_c_werror_flag"
26711 || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try
='test -s conftest.$ac_objext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.
$ac_ext >&5
26731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26735 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26736 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26738 if test $wx_cv_spbcdata = "yes"; then
26739 cat >>confdefs.h
<<\_ACEOF
26740 #define HAVE_SPBCDATA 1
26746 if test "$TOOLKIT" = "PM" ; then
26749 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26752 if test "$wxUSE_UNIVERSAL" = "yes"; then
26753 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26757 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26758 DISTDIR
="wx\$(TOOLKIT)"
26764 if test "$USE_WIN32" = 1 ; then
26768 GUIDIST
="BASE_DIST"
26778 if test "$TOOLKIT" != "MSW" ; then
26780 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26782 if test "${ac_cv_header_sql_h+set}" = set; then
26783 echo "$as_me:$LINENO: checking for sql.h" >&5
26784 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26785 if test "${ac_cv_header_sql_h+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26789 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26791 # Is the header compilable?
26792 echo "$as_me:$LINENO: checking sql.h usability" >&5
26793 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26794 cat >conftest.
$ac_ext <<_ACEOF
26797 cat confdefs.h
>>conftest.
$ac_ext
26798 cat >>conftest.
$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 $ac_includes_default
26803 rm -f conftest.
$ac_objext
26804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26805 (eval $ac_compile) 2>conftest.er1
26807 grep -v '^ *+' conftest.er1
>conftest.err
26809 cat conftest.err
>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); } &&
26812 { ac_try
='test -z "$ac_c_werror_flag"
26813 || test ! -s conftest.err'
26814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26815 (eval $ac_try) 2>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); }; } &&
26819 { ac_try
='test -s conftest.$ac_objext'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; }; then
26825 ac_header_compiler
=yes
26827 echo "$as_me: failed program was:" >&5
26828 sed 's/^/| /' conftest.
$ac_ext >&5
26830 ac_header_compiler
=no
26832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26834 echo "${ECHO_T}$ac_header_compiler" >&6
26836 # Is the header present?
26837 echo "$as_me:$LINENO: checking sql.h presence" >&5
26838 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26839 cat >conftest.
$ac_ext <<_ACEOF
26842 cat confdefs.h
>>conftest.
$ac_ext
26843 cat >>conftest.
$ac_ext <<_ACEOF
26844 /* end confdefs.h. */
26847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26848 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26850 grep -v '^ *+' conftest.er1
>conftest.err
26852 cat conftest.err
>&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); } >/dev
/null
; then
26855 if test -s conftest.err
; then
26856 ac_cpp_err
=$ac_c_preproc_warn_flag
26857 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26864 if test -z "$ac_cpp_err"; then
26865 ac_header_preproc
=yes
26867 echo "$as_me: failed program was:" >&5
26868 sed 's/^/| /' conftest.
$ac_ext >&5
26870 ac_header_preproc
=no
26872 rm -f conftest.err conftest.
$ac_ext
26873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26874 echo "${ECHO_T}$ac_header_preproc" >&6
26876 # So? What about this header?
26877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26879 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26880 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26881 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26882 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26883 ac_header_preproc
=yes
26886 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26887 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26888 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26889 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26890 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26891 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26892 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26893 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26894 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26895 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26896 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26897 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26900 ## ----------------------------------------- ##
26901 ## Report this to wx-dev@lists.wxwidgets.org ##
26902 ## ----------------------------------------- ##
26905 sed "s/^/$as_me: WARNING: /" >&2
26908 echo "$as_me:$LINENO: checking for sql.h" >&5
26909 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26910 if test "${ac_cv_header_sql_h+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26913 ac_cv_header_sql_h
=$ac_header_preproc
26915 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26916 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26919 if test $ac_cv_header_sql_h = yes; then
26924 if test "x$found_sql_h" = "x1" ; then
26925 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26926 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26927 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 ac_check_lib_save_LIBS
=$LIBS
26931 LIBS
="-liodbc $LIBS"
26932 cat >conftest.
$ac_ext <<_ACEOF
26935 cat confdefs.h
>>conftest.
$ac_ext
26936 cat >>conftest.
$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26939 /* Override any gcc2 internal prototype to avoid an error. */
26943 /* We use char because int might match the return type of a gcc2
26944 builtin and then its argument prototype would still apply. */
26945 char SQLAllocEnv ();
26954 rm -f conftest.
$ac_objext conftest
$ac_exeext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26956 (eval $ac_link) 2>conftest.er1
26958 grep -v '^ *+' conftest.er1
>conftest.err
26960 cat conftest.err
>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try
='test -z "$ac_c_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try
='test -s conftest$ac_exeext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.
$ac_ext >&5
26981 ac_cv_lib_iodbc_SQLAllocEnv
=no
26983 rm -f conftest.err conftest.
$ac_objext \
26984 conftest
$ac_exeext conftest.
$ac_ext
26985 LIBS
=$ac_check_lib_save_LIBS
26987 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26988 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26989 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26990 ODBC_LINK
=" -liodbc"
26993 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26994 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26995 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26996 echo $ECHO_N "(cached) $ECHO_C" >&6
26998 ac_check_lib_save_LIBS
=$LIBS
26999 LIBS
="-lunixodbc $LIBS"
27000 cat >conftest.
$ac_ext <<_ACEOF
27003 cat confdefs.h
>>conftest.
$ac_ext
27004 cat >>conftest.
$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27007 /* Override any gcc2 internal prototype to avoid an error. */
27011 /* We use char because int might match the return type of a gcc2
27012 builtin and then its argument prototype would still apply. */
27013 char SQLAllocEnv ();
27022 rm -f conftest.
$ac_objext conftest
$ac_exeext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27024 (eval $ac_link) 2>conftest.er1
27026 grep -v '^ *+' conftest.er1
>conftest.err
27028 cat conftest.err
>&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); } &&
27031 { ac_try
='test -z "$ac_c_werror_flag"
27032 || test ! -s conftest.err'
27033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034 (eval $ac_try) 2>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; } &&
27038 { ac_try
='test -s conftest$ac_exeext'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; }; then
27044 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.
$ac_ext >&5
27049 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27051 rm -f conftest.err conftest.
$ac_objext \
27052 conftest
$ac_exeext conftest.
$ac_ext
27053 LIBS
=$ac_check_lib_save_LIBS
27055 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27056 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27057 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27058 ODBC_LINK
=" -lunixodbc"
27061 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27062 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27063 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27064 echo $ECHO_N "(cached) $ECHO_C" >&6
27066 ac_check_lib_save_LIBS
=$LIBS
27067 LIBS
="-lodbc $LIBS"
27068 cat >conftest.
$ac_ext <<_ACEOF
27071 cat confdefs.h
>>conftest.
$ac_ext
27072 cat >>conftest.
$ac_ext <<_ACEOF
27073 /* end confdefs.h. */
27075 /* Override any gcc2 internal prototype to avoid an error. */
27079 /* We use char because int might match the return type of a gcc2
27080 builtin and then its argument prototype would still apply. */
27081 char SQLAllocEnv ();
27090 rm -f conftest.
$ac_objext conftest
$ac_exeext
27091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27092 (eval $ac_link) 2>conftest.er1
27094 grep -v '^ *+' conftest.er1
>conftest.err
27096 cat conftest.err
>&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } &&
27099 { ac_try
='test -z "$ac_c_werror_flag"
27100 || test ! -s conftest.err'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; } &&
27106 { ac_try
='test -s conftest$ac_exeext'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; }; then
27112 ac_cv_lib_odbc_SQLAllocEnv
=yes
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.
$ac_ext >&5
27117 ac_cv_lib_odbc_SQLAllocEnv
=no
27119 rm -f conftest.err conftest.
$ac_objext \
27120 conftest
$ac_exeext conftest.
$ac_ext
27121 LIBS
=$ac_check_lib_save_LIBS
27123 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27124 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27125 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27126 ODBC_LINK
=" -lodbc"
27136 if test "x$ODBC_LINK" = "x" ; then
27137 if test "$wxUSE_ODBC" = "sys" ; then
27138 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27139 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27140 { (exit 1); exit 1; }; }
27142 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27143 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27150 if test "$wxUSE_ODBC" != "no" ; then
27151 cat >>confdefs.h
<<\_ACEOF
27152 #define wxUSE_ODBC 1
27155 if test "$wxUSE_ODBC" = "builtin" ; then
27156 cat >>confdefs.h
<<\_ACEOF
27157 #define wxUSE_BUILTIN_IODBC 1
27161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27163 WXODBCFLAG
="-D_IODBC_"
27169 if test "$wxUSE_DISPLAY" = "yes"; then
27170 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27171 echo "$as_me:$LINENO: checking for Xinerama" >&5
27172 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27175 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27177 for ac_extension
in a so sl dylib
; do
27178 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27179 ac_find_libraries
=$ac_dir
27185 if test "$ac_find_libraries" != "" ; then
27187 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27189 if test $result = 0; then
27192 ac_path_to_link
=" -L$ac_find_libraries"
27195 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27196 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27198 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27199 echo "$as_me:$LINENO: result: yes" >&5
27200 echo "${ECHO_T}yes" >&6
27202 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27203 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27206 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27208 for ac_extension
in a so sl dylib
; do
27209 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27210 ac_find_libraries
=$ac_dir
27216 if test "$ac_find_libraries" != "" ; then
27217 echo "$as_me:$LINENO: result: yes" >&5
27218 echo "${ECHO_T}yes" >&6
27220 for ac_header
in X
11/extensions
/xf86vmode.h
27222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27223 echo "$as_me:$LINENO: checking for $ac_header" >&5
27224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27228 cat >conftest.
$ac_ext <<_ACEOF
27231 cat confdefs.h
>>conftest.
$ac_ext
27232 cat >>conftest.
$ac_ext <<_ACEOF
27233 /* end confdefs.h. */
27235 #if HAVE_X11_XLIB_H
27236 #include <X11/Xlib.h>
27240 #include <$ac_header>
27242 rm -f conftest.
$ac_objext
27243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244 (eval $ac_compile) 2>conftest.er1
27246 grep -v '^ *+' conftest.er1
>conftest.err
27248 cat conftest.err
>&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } &&
27251 { ac_try
='test -z "$ac_c_werror_flag"
27252 || test ! -s conftest.err'
27253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27254 (eval $ac_try) 2>&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); }; } &&
27258 { ac_try
='test -s conftest.$ac_objext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_Header=yes"
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.
$ac_ext >&5
27269 eval "$as_ac_Header=no"
27271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27276 cat >>confdefs.h
<<_ACEOF
27277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27280 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27287 echo "$as_me:$LINENO: result: no" >&5
27288 echo "${ECHO_T}no" >&6
27292 echo "$as_me:$LINENO: result: no" >&5
27293 echo "${ECHO_T}no" >&6
27294 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27295 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27298 elif test "$wxUSE_MSW" = 1; then
27301 for ac_header
in multimon.h ddraw.h
27303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27305 echo "$as_me:$LINENO: checking for $ac_header" >&5
27306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27308 echo $ECHO_N "(cached) $ECHO_C" >&6
27310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27313 # Is the header compilable?
27314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27316 cat >conftest.
$ac_ext <<_ACEOF
27319 cat confdefs.h
>>conftest.
$ac_ext
27320 cat >>conftest.
$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322 $ac_includes_default
27323 #include <$ac_header>
27325 rm -f conftest.
$ac_objext
27326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27327 (eval $ac_compile) 2>conftest.er1
27329 grep -v '^ *+' conftest.er1
>conftest.err
27331 cat conftest.err
>&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } &&
27334 { ac_try
='test -z "$ac_c_werror_flag"
27335 || test ! -s conftest.err'
27336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27337 (eval $ac_try) 2>&5
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); }; } &&
27341 { ac_try
='test -s conftest.$ac_objext'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; }; then
27347 ac_header_compiler
=yes
27349 echo "$as_me: failed program was:" >&5
27350 sed 's/^/| /' conftest.
$ac_ext >&5
27352 ac_header_compiler
=no
27354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27356 echo "${ECHO_T}$ac_header_compiler" >&6
27358 # Is the header present?
27359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27361 cat >conftest.
$ac_ext <<_ACEOF
27364 cat confdefs.h
>>conftest.
$ac_ext
27365 cat >>conftest.
$ac_ext <<_ACEOF
27366 /* end confdefs.h. */
27367 #include <$ac_header>
27369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27372 grep -v '^ *+' conftest.er1
>conftest.err
27374 cat conftest.err
>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } >/dev
/null
; then
27377 if test -s conftest.err
; then
27378 ac_cpp_err
=$ac_c_preproc_warn_flag
27379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27386 if test -z "$ac_cpp_err"; then
27387 ac_header_preproc
=yes
27389 echo "$as_me: failed program was:" >&5
27390 sed 's/^/| /' conftest.
$ac_ext >&5
27392 ac_header_preproc
=no
27394 rm -f conftest.err conftest.
$ac_ext
27395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27396 echo "${ECHO_T}$ac_header_preproc" >&6
27398 # So? What about this header?
27399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27405 ac_header_preproc
=yes
27408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27422 ## ----------------------------------------- ##
27423 ## Report this to wx-dev@lists.wxwidgets.org ##
27424 ## ----------------------------------------- ##
27427 sed "s/^/$as_me: WARNING: /" >&2
27430 echo "$as_me:$LINENO: checking for $ac_header" >&5
27431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 eval "$as_ac_Header=\$ac_header_preproc"
27437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27442 cat >>confdefs.h
<<_ACEOF
27443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27449 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27450 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27461 if test "$wxUSE_OPENGL" = "yes"; then
27462 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27463 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27464 elif test "$wxUSE_MSW" = 1; then
27465 OPENGL_LIBS
="-lopengl32 -lglu32"
27470 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27472 if test -f "$ac_dir/GL/gl.h"; then
27473 ac_find_includes
=$ac_dir
27478 if test "$ac_find_includes" != "" ; then
27479 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27480 echo "${ECHO_T}found in $ac_find_includes" >&6
27482 if test "x$ac_find_includes" = "x/usr/include"; then
27483 ac_path_to_include
=""
27485 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27487 if test $result = 0; then
27488 ac_path_to_include
=""
27490 ac_path_to_include
=" -I$ac_find_includes"
27494 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27497 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27498 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27499 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27500 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27504 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27506 # Is the header compilable?
27507 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27508 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27509 cat >conftest.
$ac_ext <<_ACEOF
27512 cat confdefs.h
>>conftest.
$ac_ext
27513 cat >>conftest.
$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 $ac_includes_default
27518 rm -f conftest.
$ac_objext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27520 (eval $ac_compile) 2>conftest.er1
27522 grep -v '^ *+' conftest.er1
>conftest.err
27524 cat conftest.err
>&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try
='test -z "$ac_c_werror_flag"
27528 || test ! -s conftest.err'
27529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27530 (eval $ac_try) 2>&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); }; } &&
27534 { ac_try
='test -s conftest.$ac_objext'
27535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27536 (eval $ac_try) 2>&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); }; }; then
27540 ac_header_compiler
=yes
27542 echo "$as_me: failed program was:" >&5
27543 sed 's/^/| /' conftest.
$ac_ext >&5
27545 ac_header_compiler
=no
27547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27549 echo "${ECHO_T}$ac_header_compiler" >&6
27551 # Is the header present?
27552 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27553 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27554 cat >conftest.
$ac_ext <<_ACEOF
27557 cat confdefs.h
>>conftest.
$ac_ext
27558 cat >>conftest.
$ac_ext <<_ACEOF
27559 /* end confdefs.h. */
27562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27563 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27565 grep -v '^ *+' conftest.er1
>conftest.err
27567 cat conftest.err
>&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); } >/dev
/null
; then
27570 if test -s conftest.err
; then
27571 ac_cpp_err
=$ac_c_preproc_warn_flag
27572 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27579 if test -z "$ac_cpp_err"; then
27580 ac_header_preproc
=yes
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.
$ac_ext >&5
27585 ac_header_preproc
=no
27587 rm -f conftest.err conftest.
$ac_ext
27588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27589 echo "${ECHO_T}$ac_header_preproc" >&6
27591 # So? What about this header?
27592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27594 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27595 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27596 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27597 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27598 ac_header_preproc
=yes
27601 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27602 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27603 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27604 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27605 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27606 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27607 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27608 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27609 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27610 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27611 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27612 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27615 ## ----------------------------------------- ##
27616 ## Report this to wx-dev@lists.wxwidgets.org ##
27617 ## ----------------------------------------- ##
27620 sed "s/^/$as_me: WARNING: /" >&2
27623 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27624 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27625 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27626 echo $ECHO_N "(cached) $ECHO_C" >&6
27628 ac_cv_header_GL_gl_h
=$ac_header_preproc
27630 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27631 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27634 if test $ac_cv_header_GL_gl_h = yes; then
27638 echo "$as_me:$LINENO: checking for -lGL" >&5
27639 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27642 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27644 for ac_extension
in a so sl dylib
; do
27645 if test -f "$ac_dir/libGL.$ac_extension"; then
27646 ac_find_libraries
=$ac_dir
27652 if test "$ac_find_libraries" != "" ; then
27654 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27656 if test $result = 0; then
27659 ac_path_to_link
=" -L$ac_find_libraries"
27662 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27663 LDFLAGS_GL
="$ac_path_to_link"
27668 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27670 for ac_extension
in a so sl dylib
; do
27671 if test -f "$ac_dir/libGLU.$ac_extension"; then
27672 ac_find_libraries
=$ac_dir
27678 if test "$ac_find_libraries" != "" ; then
27680 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27682 if test $result = 0; then
27685 ac_path_to_link
=" -L$ac_find_libraries"
27688 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27689 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27690 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27694 OPENGL_LIBS
="-lGL -lGLU"
27695 echo "$as_me:$LINENO: result: yes" >&5
27696 echo "${ECHO_T}yes" >&6
27700 if test "$found_gl" != 1; then
27701 echo "$as_me:$LINENO: result: no" >&5
27702 echo "${ECHO_T}no" >&6
27703 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27704 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27707 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27709 for ac_extension
in a so sl dylib
; do
27710 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27711 ac_find_libraries
=$ac_dir
27717 if test "$ac_find_libraries" != "" ; then
27719 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27721 if test $result = 0; then
27724 ac_path_to_link
=" -L$ac_find_libraries"
27727 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27728 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27729 echo "$as_me:$LINENO: result: yes" >&5
27730 echo "${ECHO_T}yes" >&6
27732 echo "$as_me:$LINENO: result: no" >&5
27733 echo "${ECHO_T}no" >&6
27741 if test "x$OPENGL_LIBS" = "x"; then
27742 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27743 echo "$as_me: error: OpenGL libraries not available" >&2;}
27744 { (exit 1); exit 1; }; }
27748 if test "$wxUSE_OPENGL" = "yes"; then
27750 cat >>confdefs.h
<<\_ACEOF
27751 #define wxUSE_OPENGL 1
27754 cat >>confdefs.h
<<\_ACEOF
27755 #define wxUSE_GLCANVAS 1
27758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27763 if test -n "$TOOLKIT" ; then
27764 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27769 if test "$wxUSE_SHARED" = "yes"; then
27773 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27774 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27779 if test "$wxUSE_SHARED" = "yes"; then
27782 found_versioning
=no
27785 if test $found_versioning = no
; then
27786 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27787 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27788 if test "${wx_cv_version_script+set}" = set; then
27789 echo $ECHO_N "(cached) $ECHO_C" >&6
27792 echo "VER_1 { *; };" >conftest.sym
27793 echo "int main() { return 0; }" >conftest.cpp
27796 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27797 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27799 (eval $ac_try) 2>&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); }; } ; then
27803 if test -s conftest.stderr
; then
27804 wx_cv_version_script
=no
27806 wx_cv_version_script
=yes
27809 wx_cv_version_script
=no
27811 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27814 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27815 echo "${ECHO_T}$wx_cv_version_script" >&6
27816 if test $wx_cv_version_script = yes ; then
27817 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27823 *-*-linux* | *-*-gnu* )
27824 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27825 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27829 if test "$GCC" = yes ; then
27830 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27832 saveLdflags
="$LDFLAGS"
27833 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27834 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27835 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27836 cat >conftest.
$ac_ext <<_ACEOF
27839 cat confdefs.h
>>conftest.
$ac_ext
27840 cat >>conftest.
$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27851 rm -f conftest.
$ac_objext conftest
$ac_exeext
27852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27853 (eval $ac_link) 2>conftest.er1
27855 grep -v '^ *+' conftest.er1
>conftest.err
27857 cat conftest.err
>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } &&
27860 { ac_try
='test -z "$ac_c_werror_flag"
27861 || test ! -s conftest.err'
27862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27863 (eval $ac_try) 2>&5
27865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27866 (exit $ac_status); }; } &&
27867 { ac_try
='test -s conftest$ac_exeext'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; }; then
27874 echo "$as_me:$LINENO: result: yes" >&5
27875 echo "${ECHO_T}yes" >&6
27876 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27877 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.
$ac_ext >&5
27884 echo "$as_me:$LINENO: result: no" >&5
27885 echo "${ECHO_T}no" >&6
27886 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27887 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27888 LDFLAGS
="$saveLdflags -Wl,-R,/"
27889 cat >conftest.
$ac_ext <<_ACEOF
27892 cat confdefs.h
>>conftest.
$ac_ext
27893 cat >>conftest.
$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27904 rm -f conftest.
$ac_objext conftest
$ac_exeext
27905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27906 (eval $ac_link) 2>conftest.er1
27908 grep -v '^ *+' conftest.er1
>conftest.err
27910 cat conftest.err
>&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } &&
27913 { ac_try
='test -z "$ac_c_werror_flag"
27914 || test ! -s conftest.err'
27915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27916 (eval $ac_try) 2>&5
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); }; } &&
27920 { ac_try
='test -s conftest$ac_exeext'
27921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27922 (eval $ac_try) 2>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); }; }; then
27927 echo "$as_me:$LINENO: result: yes" >&5
27928 echo "${ECHO_T}yes" >&6
27929 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27930 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
27933 echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.
$ac_ext >&5
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27941 rm -f conftest.err conftest.
$ac_objext \
27942 conftest
$ac_exeext conftest.
$ac_ext
27945 rm -f conftest.err conftest.
$ac_objext \
27946 conftest
$ac_exeext conftest.
$ac_ext
27947 LDFLAGS
="$saveLdflags"
27949 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27950 WXCONFIG_RPATH
="-R\$libdir"
27954 powerpc
-*-darwin* )
27955 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27956 cat <<EOF >change-install-names
27958 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27959 inst_cmd="install_name_tool "
27960 for i in \${libnames} ; do
27961 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27965 chmod +x change
-install-names
27968 *-*-cygwin* | *-*-mingw32* )
27969 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27974 if test $wxUSE_RPATH = "no"; then
27975 SAMPLES_RPATH_FLAG
=''
27976 SAMPLES_RPATH_POSTLINK
=''
27984 config_linkage_component
="-static"
27991 lib_unicode_suffix
=
27993 if test "$wxUSE_UNICODE" = "yes"; then
27994 lib_unicode_suffix
=u
27995 WX_CHARTYPE
="unicode"
28000 WX_DEBUGTYPE
="release"
28002 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28004 WX_DEBUGTYPE
="debug"
28008 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28009 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28012 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28016 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28018 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28020 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28022 if test "$cross_compiling" = "yes"; then
28023 HOST_SUFFIX
="-$host_alias"
28024 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28025 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28028 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28029 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28033 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28034 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
28035 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
28037 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28039 # Extract the first word of "Rez", so it can be a program name with args.
28040 set dummy Rez
; ac_word
=$2
28041 echo "$as_me:$LINENO: checking for $ac_word" >&5
28042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28043 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28044 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 if test -n "$RESCOMP"; then
28047 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28050 for as_dir
in $PATH
28053 test -z "$as_dir" && as_dir
=.
28054 for ac_exec_ext
in '' $ac_executable_extensions; do
28055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28056 ac_cv_prog_RESCOMP
="Rez"
28057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28063 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28066 RESCOMP
=$ac_cv_prog_RESCOMP
28067 if test -n "$RESCOMP"; then
28068 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28069 echo "${ECHO_T}$RESCOMP" >&6
28071 echo "$as_me:$LINENO: result: no" >&5
28072 echo "${ECHO_T}no" >&6
28075 # Extract the first word of "DeRez", so it can be a program name with args.
28076 set dummy DeRez
; ac_word
=$2
28077 echo "$as_me:$LINENO: checking for $ac_word" >&5
28078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28079 if test "${ac_cv_prog_DEREZ+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28082 if test -n "$DEREZ"; then
28083 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28086 for as_dir
in $PATH
28089 test -z "$as_dir" && as_dir
=.
28090 for ac_exec_ext
in '' $ac_executable_extensions; do
28091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28092 ac_cv_prog_DEREZ
="DeRez"
28093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28099 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28102 DEREZ
=$ac_cv_prog_DEREZ
28103 if test -n "$DEREZ"; then
28104 echo "$as_me:$LINENO: result: $DEREZ" >&5
28105 echo "${ECHO_T}$DEREZ" >&6
28107 echo "$as_me:$LINENO: result: no" >&5
28108 echo "${ECHO_T}no" >&6
28111 # Extract the first word of "SetFile", so it can be a program name with args.
28112 set dummy SetFile
; ac_word
=$2
28113 echo "$as_me:$LINENO: checking for $ac_word" >&5
28114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28115 if test "${ac_cv_prog_SETFILE+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 if test -n "$SETFILE"; then
28119 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28122 for as_dir
in $PATH
28125 test -z "$as_dir" && as_dir
=.
28126 for ac_exec_ext
in '' $ac_executable_extensions; do
28127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28128 ac_cv_prog_SETFILE
="SetFile"
28129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28135 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28138 SETFILE
=$ac_cv_prog_SETFILE
28139 if test -n "$SETFILE"; then
28140 echo "$as_me:$LINENO: result: $SETFILE" >&5
28141 echo "${ECHO_T}$SETFILE" >&6
28143 echo "$as_me:$LINENO: result: no" >&5
28144 echo "${ECHO_T}no" >&6
28148 MACSETFILE
="\$(SETFILE)"
28150 if test "$wxUSE_MAC" = 1; then
28151 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28153 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28155 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28156 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28160 MACRESWXCONFIG
="@true"
28162 if test "$wxUSE_PM" = 1; then
28163 MACRESCOMP
="emxbind -ep"
28171 echo "$as_me:$LINENO: checking for mode_t" >&5
28172 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28173 if test "${ac_cv_type_mode_t+set}" = set; then
28174 echo $ECHO_N "(cached) $ECHO_C" >&6
28176 cat >conftest.
$ac_ext <<_ACEOF
28179 cat confdefs.h
>>conftest.
$ac_ext
28180 cat >>conftest.
$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182 $ac_includes_default
28188 if (sizeof (mode_t))
28194 rm -f conftest.
$ac_objext
28195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28196 (eval $ac_compile) 2>conftest.er1
28198 grep -v '^ *+' conftest.er1
>conftest.err
28200 cat conftest.err
>&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } &&
28203 { ac_try
='test -z "$ac_c_werror_flag"
28204 || test ! -s conftest.err'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; } &&
28210 { ac_try
='test -s conftest.$ac_objext'
28211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28212 (eval $ac_try) 2>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); }; }; then
28216 ac_cv_type_mode_t
=yes
28218 echo "$as_me: failed program was:" >&5
28219 sed 's/^/| /' conftest.
$ac_ext >&5
28221 ac_cv_type_mode_t
=no
28223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28225 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28226 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28227 if test $ac_cv_type_mode_t = yes; then
28231 cat >>confdefs.h
<<_ACEOF
28237 echo "$as_me:$LINENO: checking for off_t" >&5
28238 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28239 if test "${ac_cv_type_off_t+set}" = set; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28242 cat >conftest.
$ac_ext <<_ACEOF
28245 cat confdefs.h
>>conftest.
$ac_ext
28246 cat >>conftest.
$ac_ext <<_ACEOF
28247 /* end confdefs.h. */
28248 $ac_includes_default
28254 if (sizeof (off_t))
28260 rm -f conftest.
$ac_objext
28261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28262 (eval $ac_compile) 2>conftest.er1
28264 grep -v '^ *+' conftest.er1
>conftest.err
28266 cat conftest.err
>&5
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); } &&
28269 { ac_try
='test -z "$ac_c_werror_flag"
28270 || test ! -s conftest.err'
28271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28272 (eval $ac_try) 2>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); }; } &&
28276 { ac_try
='test -s conftest.$ac_objext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 ac_cv_type_off_t
=yes
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.
$ac_ext >&5
28287 ac_cv_type_off_t
=no
28289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28291 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28292 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28293 if test $ac_cv_type_off_t = yes; then
28297 cat >>confdefs.h
<<_ACEOF
28303 echo "$as_me:$LINENO: checking for pid_t" >&5
28304 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28305 if test "${ac_cv_type_pid_t+set}" = set; then
28306 echo $ECHO_N "(cached) $ECHO_C" >&6
28308 cat >conftest.
$ac_ext <<_ACEOF
28311 cat confdefs.h
>>conftest.
$ac_ext
28312 cat >>conftest.
$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28314 $ac_includes_default
28320 if (sizeof (pid_t))
28326 rm -f conftest.
$ac_objext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28328 (eval $ac_compile) 2>conftest.er1
28330 grep -v '^ *+' conftest.er1
>conftest.err
28332 cat conftest.err
>&5
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); } &&
28335 { ac_try
='test -z "$ac_c_werror_flag"
28336 || test ! -s conftest.err'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; } &&
28342 { ac_try
='test -s conftest.$ac_objext'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; }; then
28348 ac_cv_type_pid_t
=yes
28350 echo "$as_me: failed program was:" >&5
28351 sed 's/^/| /' conftest.
$ac_ext >&5
28353 ac_cv_type_pid_t
=no
28355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28357 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28358 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28359 if test $ac_cv_type_pid_t = yes; then
28363 cat >>confdefs.h
<<_ACEOF
28369 echo "$as_me:$LINENO: checking for size_t" >&5
28370 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28371 if test "${ac_cv_type_size_t+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28374 cat >conftest.
$ac_ext <<_ACEOF
28377 cat confdefs.h
>>conftest.
$ac_ext
28378 cat >>conftest.
$ac_ext <<_ACEOF
28379 /* end confdefs.h. */
28380 $ac_includes_default
28386 if (sizeof (size_t))
28392 rm -f conftest.
$ac_objext
28393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28394 (eval $ac_compile) 2>conftest.er1
28396 grep -v '^ *+' conftest.er1
>conftest.err
28398 cat conftest.err
>&5
28399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400 (exit $ac_status); } &&
28401 { ac_try
='test -z "$ac_c_werror_flag"
28402 || test ! -s conftest.err'
28403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28404 (eval $ac_try) 2>&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); }; } &&
28408 { ac_try
='test -s conftest.$ac_objext'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; }; then
28414 ac_cv_type_size_t
=yes
28416 echo "$as_me: failed program was:" >&5
28417 sed 's/^/| /' conftest.
$ac_ext >&5
28419 ac_cv_type_size_t
=no
28421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28423 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28424 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28425 if test $ac_cv_type_size_t = yes; then
28429 cat >>confdefs.h
<<_ACEOF
28430 #define size_t unsigned
28435 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28436 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28437 if test "${ac_cv_type_uid_t+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28440 cat >conftest.
$ac_ext <<_ACEOF
28443 cat confdefs.h
>>conftest.
$ac_ext
28444 cat >>conftest.
$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446 #include <sys/types.h>
28449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28450 $EGREP "uid_t" >/dev
/null
2>&1; then
28451 ac_cv_type_uid_t
=yes
28453 ac_cv_type_uid_t
=no
28458 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28459 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28460 if test $ac_cv_type_uid_t = no
; then
28462 cat >>confdefs.h
<<\_ACEOF
28467 cat >>confdefs.h
<<\_ACEOF
28477 ac_cpp
='$CXXCPP $CPPFLAGS'
28478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28482 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28483 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28484 if test "${wx_cv_size_t_is_uint+set}" = set; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 cat >conftest.
$ac_ext <<_ACEOF
28491 cat confdefs.h
>>conftest.
$ac_ext
28492 cat >>conftest.
$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494 #include <stddef.h>
28501 struct Foo { void foo(size_t); void foo(unsigned int); };
28509 rm -f conftest.
$ac_objext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28511 (eval $ac_compile) 2>conftest.er1
28513 grep -v '^ *+' conftest.er1
>conftest.err
28515 cat conftest.err
>&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try
='test -z "$ac_cxx_werror_flag"
28519 || test ! -s conftest.err'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; } &&
28525 { ac_try
='test -s conftest.$ac_objext'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 wx_cv_size_t_is_uint
=no
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.
$ac_ext >&5
28536 wx_cv_size_t_is_uint
=yes
28539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28543 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28544 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28546 if test "$wx_cv_size_t_is_uint" = "yes"; then
28547 cat >>confdefs.h
<<\_ACEOF
28548 #define wxSIZE_T_IS_UINT 1
28552 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28553 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28554 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28555 echo $ECHO_N "(cached) $ECHO_C" >&6
28557 cat >conftest.
$ac_ext <<_ACEOF
28560 cat confdefs.h
>>conftest.
$ac_ext
28561 cat >>conftest.
$ac_ext <<_ACEOF
28562 /* end confdefs.h. */
28563 #include <stddef.h>
28570 struct Foo { void foo(size_t); void foo(unsigned long); };
28578 rm -f conftest.
$ac_objext
28579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28580 (eval $ac_compile) 2>conftest.er1
28582 grep -v '^ *+' conftest.er1
>conftest.err
28584 cat conftest.err
>&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } &&
28587 { ac_try
='test -z "$ac_cxx_werror_flag"
28588 || test ! -s conftest.err'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; } &&
28594 { ac_try
='test -s conftest.$ac_objext'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; }; then
28600 wx_cv_size_t_is_ulong
=no
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.
$ac_ext >&5
28605 wx_cv_size_t_is_ulong
=yes
28608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28611 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28612 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28614 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28615 cat >>confdefs.h
<<\_ACEOF
28616 #define wxSIZE_T_IS_ULONG 1
28623 ac_cpp
='$CPP $CPPFLAGS'
28624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28630 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28631 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28632 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28633 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 cat >conftest.
$ac_ext <<_ACEOF
28639 cat confdefs.h
>>conftest.
$ac_ext
28640 cat >>conftest.
$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28655 rm -f conftest.
$ac_objext
28656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28657 (eval $ac_compile) 2>conftest.er1
28659 grep -v '^ *+' conftest.er1
>conftest.err
28661 cat conftest.err
>&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try
='test -z "$ac_c_werror_flag"
28665 || test ! -s conftest.err'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; } &&
28671 { ac_try
='test -s conftest.$ac_objext'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28678 wx_cv_struct_pw_gecos
=yes
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.
$ac_ext >&5
28685 wx_cv_struct_pw_gecos
=no
28689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28693 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28694 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28696 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28697 cat >>confdefs.h
<<\_ACEOF
28698 #define HAVE_PW_GECOS 1
28704 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28705 cat >>confdefs.h
<<\_ACEOF
28706 #define wxUSE_WCHAR_T 1
28713 for ac_func
in wcslen
28715 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28716 echo "$as_me:$LINENO: checking for $ac_func" >&5
28717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28718 if eval "test \"\${$as_ac_var+set}\" = set"; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28721 cat >conftest.
$ac_ext <<_ACEOF
28724 cat confdefs.h
>>conftest.
$ac_ext
28725 cat >>conftest.
$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28729 #define $ac_func innocuous_$ac_func
28731 /* System header to define __stub macros and hopefully few prototypes,
28732 which can conflict with char $ac_func (); below.
28733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28734 <limits.h> exists even on freestanding compilers. */
28737 # include <limits.h>
28739 # include <assert.h>
28744 /* Override any gcc2 internal prototype to avoid an error. */
28749 /* We use char because int might match the return type of a gcc2
28750 builtin and then its argument prototype would still apply. */
28752 /* The GNU C library defines this for functions which it implements
28753 to always fail with ENOSYS. Some functions are actually named
28754 something starting with __ and the normal name is an alias. */
28755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28758 char (*f) () = $ac_func;
28767 return f != $ac_func;
28772 rm -f conftest.
$ac_objext conftest
$ac_exeext
28773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28774 (eval $ac_link) 2>conftest.er1
28776 grep -v '^ *+' conftest.er1
>conftest.err
28778 cat conftest.err
>&5
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); } &&
28781 { ac_try
='test -z "$ac_c_werror_flag"
28782 || test ! -s conftest.err'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; } &&
28788 { ac_try
='test -s conftest$ac_exeext'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28794 eval "$as_ac_var=yes"
28796 echo "$as_me: failed program was:" >&5
28797 sed 's/^/| /' conftest.
$ac_ext >&5
28799 eval "$as_ac_var=no"
28801 rm -f conftest.err conftest.
$ac_objext \
28802 conftest
$ac_exeext conftest.
$ac_ext
28804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28806 if test `eval echo '${'$as_ac_var'}'` = yes; then
28807 cat >>confdefs.h
<<_ACEOF
28808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28815 if test "$WCSLEN_FOUND" = 0; then
28816 if test "$TOOLKIT" = "MSW"; then
28817 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28818 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28819 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28820 echo $ECHO_N "(cached) $ECHO_C" >&6
28822 ac_check_lib_save_LIBS
=$LIBS
28823 LIBS
="-lmsvcrt $LIBS"
28824 cat >conftest.
$ac_ext <<_ACEOF
28827 cat confdefs.h
>>conftest.
$ac_ext
28828 cat >>conftest.
$ac_ext <<_ACEOF
28829 /* end confdefs.h. */
28831 /* Override any gcc2 internal prototype to avoid an error. */
28835 /* We use char because int might match the return type of a gcc2
28836 builtin and then its argument prototype would still apply. */
28846 rm -f conftest.
$ac_objext conftest
$ac_exeext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28848 (eval $ac_link) 2>conftest.er1
28850 grep -v '^ *+' conftest.er1
>conftest.err
28852 cat conftest.err
>&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try
='test -z "$ac_c_werror_flag"
28856 || test ! -s conftest.err'
28857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28858 (eval $ac_try) 2>&5
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); }; } &&
28862 { ac_try
='test -s conftest$ac_exeext'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 ac_cv_lib_msvcrt_wcslen
=yes
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.
$ac_ext >&5
28873 ac_cv_lib_msvcrt_wcslen
=no
28875 rm -f conftest.err conftest.
$ac_objext \
28876 conftest
$ac_exeext conftest.
$ac_ext
28877 LIBS
=$ac_check_lib_save_LIBS
28879 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28880 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28881 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28886 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28887 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28888 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 ac_check_lib_save_LIBS
=$LIBS
28893 cat >conftest.
$ac_ext <<_ACEOF
28896 cat confdefs.h
>>conftest.
$ac_ext
28897 cat >>conftest.
$ac_ext <<_ACEOF
28898 /* end confdefs.h. */
28900 /* Override any gcc2 internal prototype to avoid an error. */
28904 /* We use char because int might match the return type of a gcc2
28905 builtin and then its argument prototype would still apply. */
28915 rm -f conftest.
$ac_objext conftest
$ac_exeext
28916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28917 (eval $ac_link) 2>conftest.er1
28919 grep -v '^ *+' conftest.er1
>conftest.err
28921 cat conftest.err
>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); } &&
28924 { ac_try
='test -z "$ac_c_werror_flag"
28925 || test ! -s conftest.err'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; } &&
28931 { ac_try
='test -s conftest$ac_exeext'
28932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28933 (eval $ac_try) 2>&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); }; }; then
28937 ac_cv_lib_w_wcslen
=yes
28939 echo "$as_me: failed program was:" >&5
28940 sed 's/^/| /' conftest.
$ac_ext >&5
28942 ac_cv_lib_w_wcslen
=no
28944 rm -f conftest.err conftest.
$ac_objext \
28945 conftest
$ac_exeext conftest.
$ac_ext
28946 LIBS
=$ac_check_lib_save_LIBS
28948 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28949 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28950 if test $ac_cv_lib_w_wcslen = yes; then
28960 if test "$WCSLEN_FOUND" = 1; then
28961 cat >>confdefs.h
<<\_ACEOF
28962 #define HAVE_WCSLEN 1
28967 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28968 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28972 for ac_func
in wcsrtombs
28974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28975 echo "$as_me:$LINENO: checking for $ac_func" >&5
28976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28977 if eval "test \"\${$as_ac_var+set}\" = set"; then
28978 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 cat >conftest.
$ac_ext <<_ACEOF
28983 cat confdefs.h
>>conftest.
$ac_ext
28984 cat >>conftest.
$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28988 #define $ac_func innocuous_$ac_func
28990 /* System header to define __stub macros and hopefully few prototypes,
28991 which can conflict with char $ac_func (); below.
28992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28993 <limits.h> exists even on freestanding compilers. */
28996 # include <limits.h>
28998 # include <assert.h>
29003 /* Override any gcc2 internal prototype to avoid an error. */
29008 /* We use char because int might match the return type of a gcc2
29009 builtin and then its argument prototype would still apply. */
29011 /* The GNU C library defines this for functions which it implements
29012 to always fail with ENOSYS. Some functions are actually named
29013 something starting with __ and the normal name is an alias. */
29014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29017 char (*f) () = $ac_func;
29026 return f != $ac_func;
29031 rm -f conftest.
$ac_objext conftest
$ac_exeext
29032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29033 (eval $ac_link) 2>conftest.er1
29035 grep -v '^ *+' conftest.er1
>conftest.err
29037 cat conftest.err
>&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); } &&
29040 { ac_try
='test -z "$ac_c_werror_flag"
29041 || test ! -s conftest.err'
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); }; } &&
29047 { ac_try
='test -s conftest$ac_exeext'
29048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29049 (eval $ac_try) 2>&5
29051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052 (exit $ac_status); }; }; then
29053 eval "$as_ac_var=yes"
29055 echo "$as_me: failed program was:" >&5
29056 sed 's/^/| /' conftest.
$ac_ext >&5
29058 eval "$as_ac_var=no"
29060 rm -f conftest.err conftest.
$ac_objext \
29061 conftest
$ac_exeext conftest.
$ac_ext
29063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29065 if test `eval echo '${'$as_ac_var'}'` = yes; then
29066 cat >>confdefs.h
<<_ACEOF
29067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29074 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29075 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29081 ac_cpp
='$CXXCPP $CPPFLAGS'
29082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29088 for ac_func
in vsnprintf
29090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29091 echo "$as_me:$LINENO: checking for $ac_func" >&5
29092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29093 if eval "test \"\${$as_ac_var+set}\" = set"; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29096 cat >conftest.
$ac_ext <<_ACEOF
29099 cat confdefs.h
>>conftest.
$ac_ext
29100 cat >>conftest.
$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29104 #define $ac_func innocuous_$ac_func
29106 /* System header to define __stub macros and hopefully few prototypes,
29107 which can conflict with char $ac_func (); below.
29108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29109 <limits.h> exists even on freestanding compilers. */
29112 # include <limits.h>
29114 # include <assert.h>
29119 /* Override any gcc2 internal prototype to avoid an error. */
29124 /* We use char because int might match the return type of a gcc2
29125 builtin and then its argument prototype would still apply. */
29127 /* The GNU C library defines this for functions which it implements
29128 to always fail with ENOSYS. Some functions are actually named
29129 something starting with __ and the normal name is an alias. */
29130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29133 char (*f) () = $ac_func;
29142 return f != $ac_func;
29147 rm -f conftest.
$ac_objext conftest
$ac_exeext
29148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29149 (eval $ac_link) 2>conftest.er1
29151 grep -v '^ *+' conftest.er1
>conftest.err
29153 cat conftest.err
>&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); } &&
29156 { ac_try
='test -z "$ac_cxx_werror_flag"
29157 || test ! -s conftest.err'
29158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29159 (eval $ac_try) 2>&5
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); }; } &&
29163 { ac_try
='test -s conftest$ac_exeext'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; }; then
29169 eval "$as_ac_var=yes"
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.
$ac_ext >&5
29174 eval "$as_ac_var=no"
29176 rm -f conftest.err conftest.
$ac_objext \
29177 conftest
$ac_exeext conftest.
$ac_ext
29179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29181 if test `eval echo '${'$as_ac_var'}'` = yes; then
29182 cat >>confdefs.h
<<_ACEOF
29183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29190 if test "$ac_cv_func_vsnprintf" = "yes"; then
29191 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29192 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29193 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29194 echo $ECHO_N "(cached) $ECHO_C" >&6
29197 cat >conftest.
$ac_ext <<_ACEOF
29200 cat confdefs.h
>>conftest.
$ac_ext
29201 cat >>conftest.
$ac_ext <<_ACEOF
29202 /* end confdefs.h. */
29205 #include <stdarg.h>
29213 vsnprintf(buf, 10u, "%s", ap);
29219 rm -f conftest.
$ac_objext
29220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29221 (eval $ac_compile) 2>conftest.er1
29223 grep -v '^ *+' conftest.er1
>conftest.err
29225 cat conftest.err
>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try
='test -z "$ac_cxx_werror_flag"
29229 || test ! -s conftest.err'
29230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29231 (eval $ac_try) 2>&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); }; } &&
29235 { ac_try
='test -s conftest.$ac_objext'
29236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29237 (eval $ac_try) 2>&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); }; }; then
29241 wx_cv_func_vsnprintf_decl
=yes
29243 echo "$as_me: failed program was:" >&5
29244 sed 's/^/| /' conftest.
$ac_ext >&5
29246 wx_cv_func_vsnprintf_decl
=no
29249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29253 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29254 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29256 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29257 cat >>confdefs.h
<<\_ACEOF
29258 #define HAVE_VSNPRINTF_DECL 1
29264 if test "$wxUSE_UNICODE" = yes; then
29271 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29274 echo "$as_me:$LINENO: checking for $ac_func" >&5
29275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29276 if eval "test \"\${$as_ac_var+set}\" = set"; then
29277 echo $ECHO_N "(cached) $ECHO_C" >&6
29279 cat >conftest.
$ac_ext <<_ACEOF
29282 cat confdefs.h
>>conftest.
$ac_ext
29283 cat >>conftest.
$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29287 #define $ac_func innocuous_$ac_func
29289 /* System header to define __stub macros and hopefully few prototypes,
29290 which can conflict with char $ac_func (); below.
29291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29292 <limits.h> exists even on freestanding compilers. */
29295 # include <limits.h>
29297 # include <assert.h>
29302 /* Override any gcc2 internal prototype to avoid an error. */
29307 /* We use char because int might match the return type of a gcc2
29308 builtin and then its argument prototype would still apply. */
29310 /* The GNU C library defines this for functions which it implements
29311 to always fail with ENOSYS. Some functions are actually named
29312 something starting with __ and the normal name is an alias. */
29313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29316 char (*f) () = $ac_func;
29325 return f != $ac_func;
29330 rm -f conftest.
$ac_objext conftest
$ac_exeext
29331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29332 (eval $ac_link) 2>conftest.er1
29334 grep -v '^ *+' conftest.er1
>conftest.err
29336 cat conftest.err
>&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } &&
29339 { ac_try
='test -z "$ac_cxx_werror_flag"
29340 || test ! -s conftest.err'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; } &&
29346 { ac_try
='test -s conftest$ac_exeext'
29347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348 (eval $ac_try) 2>&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; }; then
29352 eval "$as_ac_var=yes"
29354 echo "$as_me: failed program was:" >&5
29355 sed 's/^/| /' conftest.
$ac_ext >&5
29357 eval "$as_ac_var=no"
29359 rm -f conftest.err conftest.
$ac_objext \
29360 conftest
$ac_exeext conftest.
$ac_ext
29362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29364 if test `eval echo '${'$as_ac_var'}'` = yes; then
29365 cat >>confdefs.h
<<_ACEOF
29366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29373 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29374 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29375 cat >conftest.
$ac_ext <<_ACEOF
29378 cat confdefs.h
>>conftest.
$ac_ext
29379 cat >>conftest.
$ac_ext <<_ACEOF
29380 /* end confdefs.h. */
29390 rm -f conftest.
$ac_objext
29391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29392 (eval $ac_compile) 2>conftest.er1
29394 grep -v '^ *+' conftest.er1
>conftest.err
29396 cat conftest.err
>&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } &&
29399 { ac_try
='test -z "$ac_cxx_werror_flag"
29400 || test ! -s conftest.err'
29401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402 (eval $ac_try) 2>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); }; } &&
29406 { ac_try
='test -s conftest.$ac_objext'
29407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29408 (eval $ac_try) 2>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; }; then
29412 echo "$as_me:$LINENO: result: yes" >&5
29413 echo "${ECHO_T}yes" >&6
29414 cat >>confdefs.h
<<\_ACEOF
29415 #define HAVE__VSNWPRINTF 1
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.
$ac_ext >&5
29422 echo "$as_me:$LINENO: result: no" >&5
29423 echo "${ECHO_T}no" >&6
29425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29429 ac_cpp
='$CPP $CPPFLAGS'
29430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29437 if test "$TOOLKIT" != "MSW"; then
29443 ac_cpp
='$CXXCPP $CPPFLAGS'
29444 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29445 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29446 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29451 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29452 if test "${with_libiconv_prefix+set}" = set; then
29453 withval
="$with_libiconv_prefix"
29455 for dir
in `echo "$withval" | tr : ' '`; do
29456 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29457 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29462 echo "$as_me:$LINENO: checking for iconv" >&5
29463 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29464 if test "${am_cv_func_iconv+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 am_cv_func_iconv
="no, consider installing GNU libiconv"
29470 cat >conftest.
$ac_ext <<_ACEOF
29473 cat confdefs.h
>>conftest.
$ac_ext
29474 cat >>conftest.
$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29476 #include <stdlib.h>
29481 iconv_t cd = iconv_open("","");
29482 iconv(cd,NULL,NULL,NULL,NULL);
29488 rm -f conftest.
$ac_objext conftest
$ac_exeext
29489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29490 (eval $ac_link) 2>conftest.er1
29492 grep -v '^ *+' conftest.er1
>conftest.err
29494 cat conftest.err
>&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } &&
29497 { ac_try
='test -z "$ac_cxx_werror_flag"
29498 || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try
='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 am_cv_func_iconv
=yes
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.
$ac_ext >&5
29516 rm -f conftest.err conftest.
$ac_objext \
29517 conftest
$ac_exeext conftest.
$ac_ext
29518 if test "$am_cv_func_iconv" != yes; then
29519 am_save_LIBS
="$LIBS"
29520 LIBS
="$LIBS -liconv"
29521 cat >conftest.
$ac_ext <<_ACEOF
29524 cat confdefs.h
>>conftest.
$ac_ext
29525 cat >>conftest.
$ac_ext <<_ACEOF
29526 /* end confdefs.h. */
29527 #include <stdlib.h>
29532 iconv_t cd = iconv_open("","");
29533 iconv(cd,NULL,NULL,NULL,NULL);
29539 rm -f conftest.
$ac_objext conftest
$ac_exeext
29540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29541 (eval $ac_link) 2>conftest.er1
29543 grep -v '^ *+' conftest.er1
>conftest.err
29545 cat conftest.err
>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); } &&
29548 { ac_try
='test -z "$ac_cxx_werror_flag"
29549 || test ! -s conftest.err'
29550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29551 (eval $ac_try) 2>&5
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); }; } &&
29555 { ac_try
='test -s conftest$ac_exeext'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; }; then
29561 am_cv_lib_iconv
=yes
29562 am_cv_func_iconv
=yes
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.
$ac_ext >&5
29568 rm -f conftest.err conftest.
$ac_objext \
29569 conftest
$ac_exeext conftest.
$ac_ext
29570 LIBS
="$am_save_LIBS"
29574 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29575 echo "${ECHO_T}$am_cv_func_iconv" >&6
29576 if test "$am_cv_func_iconv" = yes; then
29578 cat >>confdefs.h
<<\_ACEOF
29579 #define HAVE_ICONV 1
29582 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29583 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29584 if test "${wx_cv_func_iconv_const+set}" = set; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29587 cat >conftest.
$ac_ext <<_ACEOF
29590 cat confdefs.h
>>conftest.
$ac_ext
29591 cat >>conftest.
$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29594 #include <stdlib.h>
29600 #if defined(__STDC__) || defined(__cplusplus)
29601 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29614 rm -f conftest.
$ac_objext
29615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29616 (eval $ac_compile) 2>conftest.er1
29618 grep -v '^ *+' conftest.er1
>conftest.err
29620 cat conftest.err
>&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } &&
29623 { ac_try
='test -z "$ac_cxx_werror_flag"
29624 || test ! -s conftest.err'
29625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626 (eval $ac_try) 2>&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); }; } &&
29630 { ac_try
='test -s conftest.$ac_objext'
29631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29632 (eval $ac_try) 2>&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); }; }; then
29636 wx_cv_func_iconv_const
="no"
29638 echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.
$ac_ext >&5
29641 wx_cv_func_iconv_const
="yes"
29644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29647 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29648 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29651 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29652 iconv_const
="const"
29656 cat >>confdefs.h
<<_ACEOF
29657 #define ICONV_CONST $iconv_const
29662 if test "$am_cv_lib_iconv" = yes; then
29667 LIBS
="$LIBICONV $LIBS"
29669 ac_cpp
='$CPP $CPPFLAGS'
29670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29675 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29677 for ac_func
in sigaction
29679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29680 echo "$as_me:$LINENO: checking for $ac_func" >&5
29681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29682 if eval "test \"\${$as_ac_var+set}\" = set"; then
29683 echo $ECHO_N "(cached) $ECHO_C" >&6
29685 cat >conftest.
$ac_ext <<_ACEOF
29688 cat confdefs.h
>>conftest.
$ac_ext
29689 cat >>conftest.
$ac_ext <<_ACEOF
29690 /* end confdefs.h. */
29691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29693 #define $ac_func innocuous_$ac_func
29695 /* System header to define __stub macros and hopefully few prototypes,
29696 which can conflict with char $ac_func (); below.
29697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29698 <limits.h> exists even on freestanding compilers. */
29701 # include <limits.h>
29703 # include <assert.h>
29708 /* Override any gcc2 internal prototype to avoid an error. */
29713 /* We use char because int might match the return type of a gcc2
29714 builtin and then its argument prototype would still apply. */
29716 /* The GNU C library defines this for functions which it implements
29717 to always fail with ENOSYS. Some functions are actually named
29718 something starting with __ and the normal name is an alias. */
29719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29722 char (*f) () = $ac_func;
29731 return f != $ac_func;
29736 rm -f conftest.
$ac_objext conftest
$ac_exeext
29737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29738 (eval $ac_link) 2>conftest.er1
29740 grep -v '^ *+' conftest.er1
>conftest.err
29742 cat conftest.err
>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); } &&
29745 { ac_try
='test -z "$ac_c_werror_flag"
29746 || test ! -s conftest.err'
29747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29748 (eval $ac_try) 2>&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); }; } &&
29752 { ac_try
='test -s conftest$ac_exeext'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; }; then
29758 eval "$as_ac_var=yes"
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.
$ac_ext >&5
29763 eval "$as_ac_var=no"
29765 rm -f conftest.err conftest.
$ac_objext \
29766 conftest
$ac_exeext conftest.
$ac_ext
29768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29770 if test `eval echo '${'$as_ac_var'}'` = yes; then
29771 cat >>confdefs.h
<<_ACEOF
29772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29779 if test "$ac_cv_func_sigaction" = "no"; then
29780 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29781 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29782 wxUSE_ON_FATAL_EXCEPTION
=no
29785 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29789 ac_cpp
='$CXXCPP $CPPFLAGS'
29790 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29791 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29792 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29795 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29796 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29797 if test "${wx_cv_type_sa_handler+set}" = set; then
29798 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 cat >conftest.
$ac_ext <<_ACEOF
29804 cat confdefs.h
>>conftest.
$ac_ext
29805 cat >>conftest.
$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807 #include <signal.h>
29812 extern void testSigHandler(int);
29814 struct sigaction sa;
29815 sa.sa_handler = testSigHandler;
29821 rm -f conftest.
$ac_objext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29823 (eval $ac_compile) 2>conftest.er1
29825 grep -v '^ *+' conftest.er1
>conftest.err
29827 cat conftest.err
>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try
='test -z "$ac_cxx_werror_flag"
29831 || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try
='test -s conftest.$ac_objext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29844 wx_cv_type_sa_handler
=int
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.
$ac_ext >&5
29851 wx_cv_type_sa_handler
=void
29854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29857 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29858 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29861 ac_cpp
='$CPP $CPPFLAGS'
29862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29867 cat >>confdefs.h
<<_ACEOF
29868 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29876 for ac_func
in mkstemp mktemp
29878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29879 echo "$as_me:$LINENO: checking for $ac_func" >&5
29880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29881 if eval "test \"\${$as_ac_var+set}\" = set"; then
29882 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 cat >conftest.
$ac_ext <<_ACEOF
29887 cat confdefs.h
>>conftest.
$ac_ext
29888 cat >>conftest.
$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29892 #define $ac_func innocuous_$ac_func
29894 /* System header to define __stub macros and hopefully few prototypes,
29895 which can conflict with char $ac_func (); below.
29896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29897 <limits.h> exists even on freestanding compilers. */
29900 # include <limits.h>
29902 # include <assert.h>
29907 /* Override any gcc2 internal prototype to avoid an error. */
29912 /* We use char because int might match the return type of a gcc2
29913 builtin and then its argument prototype would still apply. */
29915 /* The GNU C library defines this for functions which it implements
29916 to always fail with ENOSYS. Some functions are actually named
29917 something starting with __ and the normal name is an alias. */
29918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29921 char (*f) () = $ac_func;
29930 return f != $ac_func;
29935 rm -f conftest.
$ac_objext conftest
$ac_exeext
29936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29937 (eval $ac_link) 2>conftest.er1
29939 grep -v '^ *+' conftest.er1
>conftest.err
29941 cat conftest.err
>&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); } &&
29944 { ac_try
='test -z "$ac_c_werror_flag"
29945 || test ! -s conftest.err'
29946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947 (eval $ac_try) 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; } &&
29951 { ac_try
='test -s conftest$ac_exeext'
29952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29953 (eval $ac_try) 2>&5
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); }; }; then
29957 eval "$as_ac_var=yes"
29959 echo "$as_me: failed program was:" >&5
29960 sed 's/^/| /' conftest.
$ac_ext >&5
29962 eval "$as_ac_var=no"
29964 rm -f conftest.err conftest.
$ac_objext \
29965 conftest
$ac_exeext conftest.
$ac_ext
29967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29969 if test `eval echo '${'$as_ac_var'}'` = yes; then
29970 cat >>confdefs.h
<<_ACEOF
29971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29978 echo "$as_me:$LINENO: checking for statfs" >&5
29979 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29980 if test "${wx_cv_func_statfs+set}" = set; then
29981 echo $ECHO_N "(cached) $ECHO_C" >&6
29983 cat >conftest.
$ac_ext <<_ACEOF
29986 cat confdefs.h
>>conftest.
$ac_ext
29987 cat >>conftest.
$ac_ext <<_ACEOF
29988 /* end confdefs.h. */
29990 #if defined(__BSD__)
29991 #include <sys/param.h>
29992 #include <sys/mount.h>
29994 #include <sys/vfs.h>
30012 rm -f conftest.
$ac_objext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30014 (eval $ac_compile) 2>conftest.er1
30016 grep -v '^ *+' conftest.er1
>conftest.err
30018 cat conftest.err
>&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try
='test -z "$ac_c_werror_flag"
30022 || test ! -s conftest.err'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; } &&
30028 { ac_try
='test -s conftest.$ac_objext'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; }; then
30035 wx_cv_func_statfs
=yes
30038 echo "$as_me: failed program was:" >&5
30039 sed 's/^/| /' conftest.
$ac_ext >&5
30042 wx_cv_func_statfs
=no
30046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30049 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30050 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30052 if test "$wx_cv_func_statfs" = "yes"; then
30053 wx_cv_type_statvfs_t
="struct statfs"
30054 cat >>confdefs.h
<<\_ACEOF
30055 #define HAVE_STATFS 1
30059 echo "$as_me:$LINENO: checking for statvfs" >&5
30060 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30061 if test "${wx_cv_func_statvfs+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30064 cat >conftest.
$ac_ext <<_ACEOF
30067 cat confdefs.h
>>conftest.
$ac_ext
30068 cat >>conftest.
$ac_ext <<_ACEOF
30069 /* end confdefs.h. */
30071 #include <stddef.h>
30072 #include <sys/statvfs.h>
30078 statvfs("/", NULL);
30084 rm -f conftest.
$ac_objext
30085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30086 (eval $ac_compile) 2>conftest.er1
30088 grep -v '^ *+' conftest.er1
>conftest.err
30090 cat conftest.err
>&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); } &&
30093 { ac_try
='test -z "$ac_c_werror_flag"
30094 || test ! -s conftest.err'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; } &&
30100 { ac_try
='test -s conftest.$ac_objext'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; }; then
30106 wx_cv_func_statvfs
=yes
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.
$ac_ext >&5
30111 wx_cv_func_statvfs
=no
30114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30117 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30118 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30120 if test "$wx_cv_func_statvfs" = "yes"; then
30124 ac_cpp
='$CXXCPP $CPPFLAGS'
30125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30130 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30131 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30132 if test "${wx_cv_type_statvfs_t+set}" = set; then
30133 echo $ECHO_N "(cached) $ECHO_C" >&6
30135 cat >conftest.
$ac_ext <<_ACEOF
30138 cat confdefs.h
>>conftest.
$ac_ext
30139 cat >>conftest.
$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30142 #include <sys/statvfs.h>
30159 rm -f conftest.
$ac_objext
30160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30161 (eval $ac_compile) 2>conftest.er1
30163 grep -v '^ *+' conftest.er1
>conftest.err
30165 cat conftest.err
>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try
='test -z "$ac_cxx_werror_flag"
30169 || test ! -s conftest.err'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; } &&
30175 { ac_try
='test -s conftest.$ac_objext'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; }; then
30181 wx_cv_type_statvfs_t
=statvfs_t
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.
$ac_ext >&5
30187 cat >conftest.
$ac_ext <<_ACEOF
30190 cat confdefs.h
>>conftest.
$ac_ext
30191 cat >>conftest.
$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30194 #include <sys/statvfs.h>
30211 rm -f conftest.
$ac_objext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30213 (eval $ac_compile) 2>conftest.er1
30215 grep -v '^ *+' conftest.er1
>conftest.err
30217 cat conftest.err
>&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } &&
30220 { ac_try
='test -z "$ac_cxx_werror_flag"
30221 || test ! -s conftest.err'
30222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223 (eval $ac_try) 2>&5
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; } &&
30227 { ac_try
='test -s conftest.$ac_objext'
30228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30229 (eval $ac_try) 2>&5
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); }; }; then
30233 wx_cv_type_statvfs_t
="struct statvfs"
30235 echo "$as_me: failed program was:" >&5
30236 sed 's/^/| /' conftest.
$ac_ext >&5
30238 wx_cv_type_statvfs_t
="unknown"
30241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30248 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30249 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30252 ac_cpp
='$CPP $CPPFLAGS'
30253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30258 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30259 cat >>confdefs.h
<<\_ACEOF
30260 #define HAVE_STATVFS 1
30265 wx_cv_type_statvfs_t
="unknown"
30269 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30270 cat >>confdefs.h
<<_ACEOF
30271 #define WX_STATFS_T $wx_cv_type_statvfs_t
30275 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30276 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30279 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30282 for ac_func
in fcntl flock
30284 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30285 echo "$as_me:$LINENO: checking for $ac_func" >&5
30286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30287 if eval "test \"\${$as_ac_var+set}\" = set"; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30290 cat >conftest.
$ac_ext <<_ACEOF
30293 cat confdefs.h
>>conftest.
$ac_ext
30294 cat >>conftest.
$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30298 #define $ac_func innocuous_$ac_func
30300 /* System header to define __stub macros and hopefully few prototypes,
30301 which can conflict with char $ac_func (); below.
30302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30303 <limits.h> exists even on freestanding compilers. */
30306 # include <limits.h>
30308 # include <assert.h>
30313 /* Override any gcc2 internal prototype to avoid an error. */
30318 /* We use char because int might match the return type of a gcc2
30319 builtin and then its argument prototype would still apply. */
30321 /* The GNU C library defines this for functions which it implements
30322 to always fail with ENOSYS. Some functions are actually named
30323 something starting with __ and the normal name is an alias. */
30324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30327 char (*f) () = $ac_func;
30336 return f != $ac_func;
30341 rm -f conftest.
$ac_objext conftest
$ac_exeext
30342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30343 (eval $ac_link) 2>conftest.er1
30345 grep -v '^ *+' conftest.er1
>conftest.err
30347 cat conftest.err
>&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); } &&
30350 { ac_try
='test -z "$ac_c_werror_flag"
30351 || test ! -s conftest.err'
30352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30353 (eval $ac_try) 2>&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; } &&
30357 { ac_try
='test -s conftest$ac_exeext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30363 eval "$as_ac_var=yes"
30365 echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.
$ac_ext >&5
30368 eval "$as_ac_var=no"
30370 rm -f conftest.err conftest.
$ac_objext \
30371 conftest
$ac_exeext conftest.
$ac_ext
30373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30375 if test `eval echo '${'$as_ac_var'}'` = yes; then
30376 cat >>confdefs.h
<<_ACEOF
30377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30384 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30385 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30386 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30387 wxUSE_SNGLINST_CHECKER
=no
30392 for ac_func
in timegm
30394 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30395 echo "$as_me:$LINENO: checking for $ac_func" >&5
30396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30397 if eval "test \"\${$as_ac_var+set}\" = set"; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30400 cat >conftest.
$ac_ext <<_ACEOF
30403 cat confdefs.h
>>conftest.
$ac_ext
30404 cat >>conftest.
$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30408 #define $ac_func innocuous_$ac_func
30410 /* System header to define __stub macros and hopefully few prototypes,
30411 which can conflict with char $ac_func (); below.
30412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30413 <limits.h> exists even on freestanding compilers. */
30416 # include <limits.h>
30418 # include <assert.h>
30423 /* Override any gcc2 internal prototype to avoid an error. */
30428 /* We use char because int might match the return type of a gcc2
30429 builtin and then its argument prototype would still apply. */
30431 /* The GNU C library defines this for functions which it implements
30432 to always fail with ENOSYS. Some functions are actually named
30433 something starting with __ and the normal name is an alias. */
30434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30437 char (*f) () = $ac_func;
30446 return f != $ac_func;
30451 rm -f conftest.
$ac_objext conftest
$ac_exeext
30452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30453 (eval $ac_link) 2>conftest.er1
30455 grep -v '^ *+' conftest.er1
>conftest.err
30457 cat conftest.err
>&5
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); } &&
30460 { ac_try
='test -z "$ac_c_werror_flag"
30461 || test ! -s conftest.err'
30462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463 (eval $ac_try) 2>&5
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; } &&
30467 { ac_try
='test -s conftest$ac_exeext'
30468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30469 (eval $ac_try) 2>&5
30471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30472 (exit $ac_status); }; }; then
30473 eval "$as_ac_var=yes"
30475 echo "$as_me: failed program was:" >&5
30476 sed 's/^/| /' conftest.
$ac_ext >&5
30478 eval "$as_ac_var=no"
30480 rm -f conftest.err conftest.
$ac_objext \
30481 conftest
$ac_exeext conftest.
$ac_ext
30483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30485 if test `eval echo '${'$as_ac_var'}'` = yes; then
30486 cat >>confdefs.h
<<_ACEOF
30487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30496 for ac_func
in putenv setenv
30498 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30499 echo "$as_me:$LINENO: checking for $ac_func" >&5
30500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30501 if eval "test \"\${$as_ac_var+set}\" = set"; then
30502 echo $ECHO_N "(cached) $ECHO_C" >&6
30504 cat >conftest.
$ac_ext <<_ACEOF
30507 cat confdefs.h
>>conftest.
$ac_ext
30508 cat >>conftest.
$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
30510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30512 #define $ac_func innocuous_$ac_func
30514 /* System header to define __stub macros and hopefully few prototypes,
30515 which can conflict with char $ac_func (); below.
30516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30517 <limits.h> exists even on freestanding compilers. */
30520 # include <limits.h>
30522 # include <assert.h>
30527 /* Override any gcc2 internal prototype to avoid an error. */
30532 /* We use char because int might match the return type of a gcc2
30533 builtin and then its argument prototype would still apply. */
30535 /* The GNU C library defines this for functions which it implements
30536 to always fail with ENOSYS. Some functions are actually named
30537 something starting with __ and the normal name is an alias. */
30538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30541 char (*f) () = $ac_func;
30550 return f != $ac_func;
30555 rm -f conftest.
$ac_objext conftest
$ac_exeext
30556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30557 (eval $ac_link) 2>conftest.er1
30559 grep -v '^ *+' conftest.er1
>conftest.err
30561 cat conftest.err
>&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } &&
30564 { ac_try
='test -z "$ac_c_werror_flag"
30565 || test ! -s conftest.err'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; } &&
30571 { ac_try
='test -s conftest$ac_exeext'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; }; then
30577 eval "$as_ac_var=yes"
30579 echo "$as_me: failed program was:" >&5
30580 sed 's/^/| /' conftest.
$ac_ext >&5
30582 eval "$as_ac_var=no"
30584 rm -f conftest.err conftest.
$ac_objext \
30585 conftest
$ac_exeext conftest.
$ac_ext
30587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30589 if test `eval echo '${'$as_ac_var'}'` = yes; then
30590 cat >>confdefs.h
<<_ACEOF
30591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30598 HAVE_SOME_SLEEP_FUNC
=0
30599 if test "$USE_BEOS" = 1; then
30600 cat >>confdefs.h
<<\_ACEOF
30601 #define HAVE_SLEEP 1
30604 HAVE_SOME_SLEEP_FUNC
=1
30607 if test "$USE_DARWIN" = 1; then
30608 cat >>confdefs.h
<<\_ACEOF
30609 #define HAVE_USLEEP 1
30612 HAVE_SOME_SLEEP_FUNC
=1
30615 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30618 for ac_func
in nanosleep
30620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30621 echo "$as_me:$LINENO: checking for $ac_func" >&5
30622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30623 if eval "test \"\${$as_ac_var+set}\" = set"; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 cat >conftest.
$ac_ext <<_ACEOF
30629 cat confdefs.h
>>conftest.
$ac_ext
30630 cat >>conftest.
$ac_ext <<_ACEOF
30631 /* end confdefs.h. */
30632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30634 #define $ac_func innocuous_$ac_func
30636 /* System header to define __stub macros and hopefully few prototypes,
30637 which can conflict with char $ac_func (); below.
30638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30639 <limits.h> exists even on freestanding compilers. */
30642 # include <limits.h>
30644 # include <assert.h>
30649 /* Override any gcc2 internal prototype to avoid an error. */
30654 /* We use char because int might match the return type of a gcc2
30655 builtin and then its argument prototype would still apply. */
30657 /* The GNU C library defines this for functions which it implements
30658 to always fail with ENOSYS. Some functions are actually named
30659 something starting with __ and the normal name is an alias. */
30660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30663 char (*f) () = $ac_func;
30672 return f != $ac_func;
30677 rm -f conftest.
$ac_objext conftest
$ac_exeext
30678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30679 (eval $ac_link) 2>conftest.er1
30681 grep -v '^ *+' conftest.er1
>conftest.err
30683 cat conftest.err
>&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); } &&
30686 { ac_try
='test -z "$ac_c_werror_flag"
30687 || test ! -s conftest.err'
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; } &&
30693 { ac_try
='test -s conftest$ac_exeext'
30694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30695 (eval $ac_try) 2>&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); }; }; then
30699 eval "$as_ac_var=yes"
30701 echo "$as_me: failed program was:" >&5
30702 sed 's/^/| /' conftest.
$ac_ext >&5
30704 eval "$as_ac_var=no"
30706 rm -f conftest.err conftest.
$ac_objext \
30707 conftest
$ac_exeext conftest.
$ac_ext
30709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30711 if test `eval echo '${'$as_ac_var'}'` = yes; then
30712 cat >>confdefs.h
<<_ACEOF
30713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30715 cat >>confdefs.h
<<\_ACEOF
30716 #define HAVE_NANOSLEEP 1
30721 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30722 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30723 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30726 ac_check_lib_save_LIBS
=$LIBS
30727 LIBS
="-lposix4 $LIBS"
30728 cat >conftest.
$ac_ext <<_ACEOF
30731 cat confdefs.h
>>conftest.
$ac_ext
30732 cat >>conftest.
$ac_ext <<_ACEOF
30733 /* end confdefs.h. */
30735 /* Override any gcc2 internal prototype to avoid an error. */
30739 /* We use char because int might match the return type of a gcc2
30740 builtin and then its argument prototype would still apply. */
30750 rm -f conftest.
$ac_objext conftest
$ac_exeext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30752 (eval $ac_link) 2>conftest.er1
30754 grep -v '^ *+' conftest.er1
>conftest.err
30756 cat conftest.err
>&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try
='test -z "$ac_c_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try
='test -s conftest$ac_exeext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 ac_cv_lib_posix4_nanosleep
=yes
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.
$ac_ext >&5
30777 ac_cv_lib_posix4_nanosleep
=no
30779 rm -f conftest.err conftest.
$ac_objext \
30780 conftest
$ac_exeext conftest.
$ac_ext
30781 LIBS
=$ac_check_lib_save_LIBS
30783 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30784 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30785 if test $ac_cv_lib_posix4_nanosleep = yes; then
30787 cat >>confdefs.h
<<\_ACEOF
30788 #define HAVE_NANOSLEEP 1
30791 POSIX4_LINK
=" -lposix4"
30796 for ac_func
in usleep
30798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30799 echo "$as_me:$LINENO: checking for $ac_func" >&5
30800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30801 if eval "test \"\${$as_ac_var+set}\" = set"; then
30802 echo $ECHO_N "(cached) $ECHO_C" >&6
30804 cat >conftest.
$ac_ext <<_ACEOF
30807 cat confdefs.h
>>conftest.
$ac_ext
30808 cat >>conftest.
$ac_ext <<_ACEOF
30809 /* end confdefs.h. */
30810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30812 #define $ac_func innocuous_$ac_func
30814 /* System header to define __stub macros and hopefully few prototypes,
30815 which can conflict with char $ac_func (); below.
30816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30817 <limits.h> exists even on freestanding compilers. */
30820 # include <limits.h>
30822 # include <assert.h>
30827 /* Override any gcc2 internal prototype to avoid an error. */
30832 /* We use char because int might match the return type of a gcc2
30833 builtin and then its argument prototype would still apply. */
30835 /* The GNU C library defines this for functions which it implements
30836 to always fail with ENOSYS. Some functions are actually named
30837 something starting with __ and the normal name is an alias. */
30838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30841 char (*f) () = $ac_func;
30850 return f != $ac_func;
30855 rm -f conftest.
$ac_objext conftest
$ac_exeext
30856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30857 (eval $ac_link) 2>conftest.er1
30859 grep -v '^ *+' conftest.er1
>conftest.err
30861 cat conftest.err
>&5
30862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30863 (exit $ac_status); } &&
30864 { ac_try
='test -z "$ac_c_werror_flag"
30865 || test ! -s conftest.err'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; } &&
30871 { ac_try
='test -s conftest$ac_exeext'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; }; then
30877 eval "$as_ac_var=yes"
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.
$ac_ext >&5
30882 eval "$as_ac_var=no"
30884 rm -f conftest.err conftest.
$ac_objext \
30885 conftest
$ac_exeext conftest.
$ac_ext
30887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30889 if test `eval echo '${'$as_ac_var'}'` = yes; then
30890 cat >>confdefs.h
<<_ACEOF
30891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30893 cat >>confdefs.h
<<\_ACEOF
30894 #define HAVE_USLEEP 1
30898 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30899 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30917 for ac_func
in uname gethostname
30919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30920 echo "$as_me:$LINENO: checking for $ac_func" >&5
30921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30922 if eval "test \"\${$as_ac_var+set}\" = set"; then
30923 echo $ECHO_N "(cached) $ECHO_C" >&6
30925 cat >conftest.
$ac_ext <<_ACEOF
30928 cat confdefs.h
>>conftest.
$ac_ext
30929 cat >>conftest.
$ac_ext <<_ACEOF
30930 /* end confdefs.h. */
30931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30933 #define $ac_func innocuous_$ac_func
30935 /* System header to define __stub macros and hopefully few prototypes,
30936 which can conflict with char $ac_func (); below.
30937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30938 <limits.h> exists even on freestanding compilers. */
30941 # include <limits.h>
30943 # include <assert.h>
30948 /* Override any gcc2 internal prototype to avoid an error. */
30953 /* We use char because int might match the return type of a gcc2
30954 builtin and then its argument prototype would still apply. */
30956 /* The GNU C library defines this for functions which it implements
30957 to always fail with ENOSYS. Some functions are actually named
30958 something starting with __ and the normal name is an alias. */
30959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30962 char (*f) () = $ac_func;
30971 return f != $ac_func;
30976 rm -f conftest.
$ac_objext conftest
$ac_exeext
30977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30978 (eval $ac_link) 2>conftest.er1
30980 grep -v '^ *+' conftest.er1
>conftest.err
30982 cat conftest.err
>&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } &&
30985 { ac_try
='test -z "$ac_c_werror_flag"
30986 || test ! -s conftest.err'
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; } &&
30992 { ac_try
='test -s conftest$ac_exeext'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; }; then
30998 eval "$as_ac_var=yes"
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.
$ac_ext >&5
31003 eval "$as_ac_var=no"
31005 rm -f conftest.err conftest.
$ac_objext \
31006 conftest
$ac_exeext conftest.
$ac_ext
31008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31010 if test `eval echo '${'$as_ac_var'}'` = yes; then
31011 cat >>confdefs.h
<<_ACEOF
31012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31022 ac_cpp
='$CXXCPP $CPPFLAGS'
31023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31029 for ac_func
in strtok_r
31031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31032 echo "$as_me:$LINENO: checking for $ac_func" >&5
31033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31034 if eval "test \"\${$as_ac_var+set}\" = set"; then
31035 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 cat >conftest.
$ac_ext <<_ACEOF
31040 cat confdefs.h
>>conftest.
$ac_ext
31041 cat >>conftest.
$ac_ext <<_ACEOF
31042 /* end confdefs.h. */
31043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31045 #define $ac_func innocuous_$ac_func
31047 /* System header to define __stub macros and hopefully few prototypes,
31048 which can conflict with char $ac_func (); below.
31049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31050 <limits.h> exists even on freestanding compilers. */
31053 # include <limits.h>
31055 # include <assert.h>
31060 /* Override any gcc2 internal prototype to avoid an error. */
31065 /* We use char because int might match the return type of a gcc2
31066 builtin and then its argument prototype would still apply. */
31068 /* The GNU C library defines this for functions which it implements
31069 to always fail with ENOSYS. Some functions are actually named
31070 something starting with __ and the normal name is an alias. */
31071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31074 char (*f) () = $ac_func;
31083 return f != $ac_func;
31088 rm -f conftest.
$ac_objext conftest
$ac_exeext
31089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31090 (eval $ac_link) 2>conftest.er1
31092 grep -v '^ *+' conftest.er1
>conftest.err
31094 cat conftest.err
>&5
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); } &&
31097 { ac_try
='test -z "$ac_cxx_werror_flag"
31098 || test ! -s conftest.err'
31099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31100 (eval $ac_try) 2>&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); }; } &&
31104 { ac_try
='test -s conftest$ac_exeext'
31105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31106 (eval $ac_try) 2>&5
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); }; }; then
31110 eval "$as_ac_var=yes"
31112 echo "$as_me: failed program was:" >&5
31113 sed 's/^/| /' conftest.
$ac_ext >&5
31115 eval "$as_ac_var=no"
31117 rm -f conftest.err conftest.
$ac_objext \
31118 conftest
$ac_exeext conftest.
$ac_ext
31120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31122 if test `eval echo '${'$as_ac_var'}'` = yes; then
31123 cat >>confdefs.h
<<_ACEOF
31124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31132 ac_cpp
='$CPP $CPPFLAGS'
31133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31140 for ac_func
in inet_addr
31142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31143 echo "$as_me:$LINENO: checking for $ac_func" >&5
31144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31145 if eval "test \"\${$as_ac_var+set}\" = set"; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31148 cat >conftest.
$ac_ext <<_ACEOF
31151 cat confdefs.h
>>conftest.
$ac_ext
31152 cat >>conftest.
$ac_ext <<_ACEOF
31153 /* end confdefs.h. */
31154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31156 #define $ac_func innocuous_$ac_func
31158 /* System header to define __stub macros and hopefully few prototypes,
31159 which can conflict with char $ac_func (); below.
31160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31161 <limits.h> exists even on freestanding compilers. */
31164 # include <limits.h>
31166 # include <assert.h>
31171 /* Override any gcc2 internal prototype to avoid an error. */
31176 /* We use char because int might match the return type of a gcc2
31177 builtin and then its argument prototype would still apply. */
31179 /* The GNU C library defines this for functions which it implements
31180 to always fail with ENOSYS. Some functions are actually named
31181 something starting with __ and the normal name is an alias. */
31182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31185 char (*f) () = $ac_func;
31194 return f != $ac_func;
31199 rm -f conftest.
$ac_objext conftest
$ac_exeext
31200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31201 (eval $ac_link) 2>conftest.er1
31203 grep -v '^ *+' conftest.er1
>conftest.err
31205 cat conftest.err
>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); } &&
31208 { ac_try
='test -z "$ac_c_werror_flag"
31209 || test ! -s conftest.err'
31210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31211 (eval $ac_try) 2>&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; } &&
31215 { ac_try
='test -s conftest$ac_exeext'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }; then
31221 eval "$as_ac_var=yes"
31223 echo "$as_me: failed program was:" >&5
31224 sed 's/^/| /' conftest.
$ac_ext >&5
31226 eval "$as_ac_var=no"
31228 rm -f conftest.err conftest.
$ac_objext \
31229 conftest
$ac_exeext conftest.
$ac_ext
31231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31233 if test `eval echo '${'$as_ac_var'}'` = yes; then
31234 cat >>confdefs.h
<<_ACEOF
31235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31237 cat >>confdefs.h
<<\_ACEOF
31238 #define HAVE_INET_ADDR 1
31243 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31244 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31245 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 ac_check_lib_save_LIBS
=$LIBS
31250 cat >conftest.
$ac_ext <<_ACEOF
31253 cat confdefs.h
>>conftest.
$ac_ext
31254 cat >>conftest.
$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31257 /* Override any gcc2 internal prototype to avoid an error. */
31261 /* We use char because int might match the return type of a gcc2
31262 builtin and then its argument prototype would still apply. */
31272 rm -f conftest.
$ac_objext conftest
$ac_exeext
31273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31274 (eval $ac_link) 2>conftest.er1
31276 grep -v '^ *+' conftest.er1
>conftest.err
31278 cat conftest.err
>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } &&
31281 { ac_try
='test -z "$ac_c_werror_flag"
31282 || test ! -s conftest.err'
31283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31284 (eval $ac_try) 2>&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); }; } &&
31288 { ac_try
='test -s conftest$ac_exeext'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; }; then
31294 ac_cv_lib_nsl_inet_addr
=yes
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.
$ac_ext >&5
31299 ac_cv_lib_nsl_inet_addr
=no
31301 rm -f conftest.err conftest.
$ac_objext \
31302 conftest
$ac_exeext conftest.
$ac_ext
31303 LIBS
=$ac_check_lib_save_LIBS
31305 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31306 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31307 if test $ac_cv_lib_nsl_inet_addr = yes; then
31311 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31312 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31313 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 ac_check_lib_save_LIBS
=$LIBS
31317 LIBS
="-lresolv $LIBS"
31318 cat >conftest.
$ac_ext <<_ACEOF
31321 cat confdefs.h
>>conftest.
$ac_ext
31322 cat >>conftest.
$ac_ext <<_ACEOF
31323 /* end confdefs.h. */
31325 /* Override any gcc2 internal prototype to avoid an error. */
31329 /* We use char because int might match the return type of a gcc2
31330 builtin and then its argument prototype would still apply. */
31340 rm -f conftest.
$ac_objext conftest
$ac_exeext
31341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31342 (eval $ac_link) 2>conftest.er1
31344 grep -v '^ *+' conftest.er1
>conftest.err
31346 cat conftest.err
>&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } &&
31349 { ac_try
='test -z "$ac_c_werror_flag"
31350 || test ! -s conftest.err'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; } &&
31356 { ac_try
='test -s conftest$ac_exeext'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; }; then
31362 ac_cv_lib_resolv_inet_addr
=yes
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.
$ac_ext >&5
31367 ac_cv_lib_resolv_inet_addr
=no
31369 rm -f conftest.err conftest.
$ac_objext \
31370 conftest
$ac_exeext conftest.
$ac_ext
31371 LIBS
=$ac_check_lib_save_LIBS
31373 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31374 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31375 if test $ac_cv_lib_resolv_inet_addr = yes; then
31379 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31380 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31381 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31382 echo $ECHO_N "(cached) $ECHO_C" >&6
31384 ac_check_lib_save_LIBS
=$LIBS
31385 LIBS
="-lsocket $LIBS"
31386 cat >conftest.
$ac_ext <<_ACEOF
31389 cat confdefs.h
>>conftest.
$ac_ext
31390 cat >>conftest.
$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31393 /* Override any gcc2 internal prototype to avoid an error. */
31397 /* We use char because int might match the return type of a gcc2
31398 builtin and then its argument prototype would still apply. */
31408 rm -f conftest.
$ac_objext conftest
$ac_exeext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31410 (eval $ac_link) 2>conftest.er1
31412 grep -v '^ *+' conftest.er1
>conftest.err
31414 cat conftest.err
>&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } &&
31417 { ac_try
='test -z "$ac_c_werror_flag"
31418 || test ! -s conftest.err'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; } &&
31424 { ac_try
='test -s conftest$ac_exeext'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; }; then
31430 ac_cv_lib_socket_inet_addr
=yes
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.
$ac_ext >&5
31435 ac_cv_lib_socket_inet_addr
=no
31437 rm -f conftest.err conftest.
$ac_objext \
31438 conftest
$ac_exeext conftest.
$ac_ext
31439 LIBS
=$ac_check_lib_save_LIBS
31441 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31442 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31443 if test $ac_cv_lib_socket_inet_addr = yes; then
31463 for ac_func
in inet_aton
31465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31466 echo "$as_me:$LINENO: checking for $ac_func" >&5
31467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31468 if eval "test \"\${$as_ac_var+set}\" = set"; then
31469 echo $ECHO_N "(cached) $ECHO_C" >&6
31471 cat >conftest.
$ac_ext <<_ACEOF
31474 cat confdefs.h
>>conftest.
$ac_ext
31475 cat >>conftest.
$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31479 #define $ac_func innocuous_$ac_func
31481 /* System header to define __stub macros and hopefully few prototypes,
31482 which can conflict with char $ac_func (); below.
31483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31484 <limits.h> exists even on freestanding compilers. */
31487 # include <limits.h>
31489 # include <assert.h>
31494 /* Override any gcc2 internal prototype to avoid an error. */
31499 /* We use char because int might match the return type of a gcc2
31500 builtin and then its argument prototype would still apply. */
31502 /* The GNU C library defines this for functions which it implements
31503 to always fail with ENOSYS. Some functions are actually named
31504 something starting with __ and the normal name is an alias. */
31505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31508 char (*f) () = $ac_func;
31517 return f != $ac_func;
31522 rm -f conftest.
$ac_objext conftest
$ac_exeext
31523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31524 (eval $ac_link) 2>conftest.er1
31526 grep -v '^ *+' conftest.er1
>conftest.err
31528 cat conftest.err
>&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } &&
31531 { ac_try
='test -z "$ac_c_werror_flag"
31532 || test ! -s conftest.err'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; } &&
31538 { ac_try
='test -s conftest$ac_exeext'
31539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31540 (eval $ac_try) 2>&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; }; then
31544 eval "$as_ac_var=yes"
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.
$ac_ext >&5
31549 eval "$as_ac_var=no"
31551 rm -f conftest.err conftest.
$ac_objext \
31552 conftest
$ac_exeext conftest.
$ac_ext
31554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31556 if test `eval echo '${'$as_ac_var'}'` = yes; then
31557 cat >>confdefs.h
<<_ACEOF
31558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31560 cat >>confdefs.h
<<\_ACEOF
31561 #define HAVE_INET_ATON 1
31566 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31567 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31568 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31569 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31572 ac_check_lib_save_LIBS
=$LIBS
31573 LIBS
="-l$INET_LINK $LIBS"
31574 cat >conftest.
$ac_ext <<_ACEOF
31577 cat confdefs.h
>>conftest.
$ac_ext
31578 cat >>conftest.
$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31581 /* Override any gcc2 internal prototype to avoid an error. */
31585 /* We use char because int might match the return type of a gcc2
31586 builtin and then its argument prototype would still apply. */
31596 rm -f conftest.
$ac_objext conftest
$ac_exeext
31597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31598 (eval $ac_link) 2>conftest.er1
31600 grep -v '^ *+' conftest.er1
>conftest.err
31602 cat conftest.err
>&5
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); } &&
31605 { ac_try
='test -z "$ac_c_werror_flag"
31606 || test ! -s conftest.err'
31607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31608 (eval $ac_try) 2>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; } &&
31612 { ac_try
='test -s conftest$ac_exeext'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; }; then
31618 eval "$as_ac_Lib=yes"
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.
$ac_ext >&5
31623 eval "$as_ac_Lib=no"
31625 rm -f conftest.err conftest.
$ac_objext \
31626 conftest
$ac_exeext conftest.
$ac_ext
31627 LIBS
=$ac_check_lib_save_LIBS
31629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31630 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31631 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31632 cat >>confdefs.h
<<\_ACEOF
31633 #define HAVE_INET_ATON 1
31643 if test "x$INET_LINK" != "x"; then
31644 cat >>confdefs.h
<<\_ACEOF
31645 #define HAVE_INET_ADDR 1
31648 INET_LINK
=" -l$INET_LINK"
31656 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31657 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31658 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31659 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 ac_check_lib_save_LIBS
=$LIBS
31663 cat >conftest.
$ac_ext <<_ACEOF
31666 cat confdefs.h
>>conftest.
$ac_ext
31667 cat >>conftest.
$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31670 /* Override any gcc2 internal prototype to avoid an error. */
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31685 rm -f conftest.
$ac_objext conftest
$ac_exeext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687 (eval $ac_link) 2>conftest.er1
31689 grep -v '^ *+' conftest.er1
>conftest.err
31691 cat conftest.err
>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try
='test -z "$ac_c_werror_flag"
31695 || test ! -s conftest.err'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; } &&
31701 { ac_try
='test -s conftest$ac_exeext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 ac_cv_lib_esd_esd_close
=yes
31709 echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.
$ac_ext >&5
31712 ac_cv_lib_esd_esd_close
=no
31714 rm -f conftest.err conftest.
$ac_objext \
31715 conftest
$ac_exeext conftest.
$ac_ext
31716 LIBS
=$ac_check_lib_save_LIBS
31718 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31719 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31720 if test $ac_cv_lib_esd_esd_close = yes; then
31723 for ac_header
in esd.h
31725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31727 echo "$as_me:$LINENO: checking for $ac_header" >&5
31728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31735 # Is the header compilable?
31736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31738 cat >conftest.
$ac_ext <<_ACEOF
31741 cat confdefs.h
>>conftest.
$ac_ext
31742 cat >>conftest.
$ac_ext <<_ACEOF
31743 /* end confdefs.h. */
31744 $ac_includes_default
31745 #include <$ac_header>
31747 rm -f conftest.
$ac_objext
31748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31749 (eval $ac_compile) 2>conftest.er1
31751 grep -v '^ *+' conftest.er1
>conftest.err
31753 cat conftest.err
>&5
31754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755 (exit $ac_status); } &&
31756 { ac_try
='test -z "$ac_c_werror_flag"
31757 || test ! -s conftest.err'
31758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759 (eval $ac_try) 2>&5
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); }; } &&
31763 { ac_try
='test -s conftest.$ac_objext'
31764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31765 (eval $ac_try) 2>&5
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); }; }; then
31769 ac_header_compiler
=yes
31771 echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.
$ac_ext >&5
31774 ac_header_compiler
=no
31776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31778 echo "${ECHO_T}$ac_header_compiler" >&6
31780 # Is the header present?
31781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31783 cat >conftest.
$ac_ext <<_ACEOF
31786 cat confdefs.h
>>conftest.
$ac_ext
31787 cat >>conftest.
$ac_ext <<_ACEOF
31788 /* end confdefs.h. */
31789 #include <$ac_header>
31791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31794 grep -v '^ *+' conftest.er1
>conftest.err
31796 cat conftest.err
>&5
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); } >/dev
/null
; then
31799 if test -s conftest.err
; then
31800 ac_cpp_err
=$ac_c_preproc_warn_flag
31801 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31808 if test -z "$ac_cpp_err"; then
31809 ac_header_preproc
=yes
31811 echo "$as_me: failed program was:" >&5
31812 sed 's/^/| /' conftest.
$ac_ext >&5
31814 ac_header_preproc
=no
31816 rm -f conftest.err conftest.
$ac_ext
31817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31818 echo "${ECHO_T}$ac_header_preproc" >&6
31820 # So? What about this header?
31821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31827 ac_header_preproc
=yes
31830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31844 ## ----------------------------------------- ##
31845 ## Report this to wx-dev@lists.wxwidgets.org ##
31846 ## ----------------------------------------- ##
31849 sed "s/^/$as_me: WARNING: /" >&2
31852 echo "$as_me:$LINENO: checking for $ac_header" >&5
31853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31857 eval "$as_ac_Header=\$ac_header_preproc"
31859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31864 cat >>confdefs.h
<<_ACEOF
31865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31868 EXTRALIBS_ESD
="-lesd"
31879 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31880 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31881 cat >conftest.
$ac_ext <<_ACEOF
31884 cat confdefs.h
>>conftest.
$ac_ext
31885 cat >>conftest.
$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31888 #include <linux/cdrom.h>
31891 #include <sys/cdio.h>
31897 struct cdrom_tocentry entry, old_entry;
31902 rm -f conftest.
$ac_objext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31904 (eval $ac_compile) 2>conftest.er1
31906 grep -v '^ *+' conftest.er1
>conftest.err
31908 cat conftest.err
>&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } &&
31911 { ac_try
='test -z "$ac_c_werror_flag"
31912 || test ! -s conftest.err'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; } &&
31918 { ac_try
='test -s conftest.$ac_objext'
31919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31920 (eval $ac_try) 2>&5
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); }; }; then
31924 echo "$as_me:$LINENO: result: yes" >&5
31925 echo "${ECHO_T}yes" >&6
31926 cat >>confdefs.h
<<\_ACEOF
31927 #define HAVE_KNOWN_CDROM_INTERFACE 1
31931 echo "$as_me: failed program was:" >&5
31932 sed 's/^/| /' conftest.
$ac_ext >&5
31934 echo "$as_me:$LINENO: result: no" >&5
31935 echo "${ECHO_T}no" >&6
31937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31940 cat >confcache
<<\_ACEOF
31941 # This file is a shell script that caches the results of configure
31942 # tests run on this system so they can be shared between configure
31943 # scripts and configure runs, see configure's option --config-cache.
31944 # It is not useful on other systems. If it contains results you don't
31945 # want to keep, you may remove or edit it.
31947 # config.status only pays attention to the cache file if you give it
31948 # the --recheck option to rerun configure.
31950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31952 # following values.
31956 # The following way of writing the cache mishandles newlines in values,
31957 # but we know of no workaround that is simple, portable, and efficient.
31958 # So, don't put newlines in cache variables' values.
31959 # Ultrix sh set writes to stderr and can't be redirected directly,
31960 # and sets the high bit in the cache file unless we assign to the vars.
31963 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31965 # `set' does not quote correctly, so add quotes (double-quote
31966 # substitution turns \\\\ into \\, and sed turns \\ into \).
31969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31972 # `set' quotes correctly as required by POSIX, so do not add quotes.
31974 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31983 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31985 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31986 if test -w $cache_file; then
31987 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31988 cat confcache
>$cache_file
31990 echo "not updating unwritable cache $cache_file"
31997 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32003 if test "$wxUSE_THREADS" = "yes" ; then
32004 if test "$USE_BEOS" = 1; then
32005 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32006 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32011 if test "$wxUSE_THREADS" = "yes" ; then
32014 THREAD_OPTS
="-pthread"
32016 *-*-solaris2* | *-*-sunos4* )
32017 if test "x$GCC" = "xyes"; then
32018 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32020 THREAD_OPTS
="-mt $THREAD_OPTS"
32024 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32026 *-*-darwin* | *-*-cygwin* )
32030 THREAD_OPTS
="pthreads"
32033 if test "x$GCC" != "xyes"; then
32039 if test "x$GCC" = "xyes"; then
32045 if test "x$GCC" != "xyes"; then
32046 THREAD_OPTS
="-Ethread"
32051 THREAD_OPTS
="$THREAD_OPTS pthread none"
32054 for flag
in $THREAD_OPTS; do
32057 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32058 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32062 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32063 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32064 THREADS_CFLAGS
="$flag"
32068 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32069 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32070 THREADS_LINK
="-l$flag"
32075 save_CFLAGS
="$CFLAGS"
32076 LIBS
="$THREADS_LINK $LIBS"
32077 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32079 cat >conftest.
$ac_ext <<_ACEOF
32082 cat confdefs.h
>>conftest.
$ac_ext
32083 cat >>conftest.
$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 #include <pthread.h>
32089 pthread_create(0,0,0,0);
32094 rm -f conftest.
$ac_objext conftest
$ac_exeext
32095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32096 (eval $ac_link) 2>conftest.er1
32098 grep -v '^ *+' conftest.er1
>conftest.err
32100 cat conftest.err
>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); } &&
32103 { ac_try
='test -z "$ac_c_werror_flag"
32104 || test ! -s conftest.err'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; } &&
32110 { ac_try
='test -s conftest$ac_exeext'
32111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32112 (eval $ac_try) 2>&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); }; }; then
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.
$ac_ext >&5
32122 rm -f conftest.err conftest.
$ac_objext \
32123 conftest
$ac_exeext conftest.
$ac_ext
32126 CFLAGS
="$save_CFLAGS"
32128 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32129 echo "${ECHO_T}$THREADS_OK" >&6
32130 if test "x$THREADS_OK" = "xyes"; then
32138 if test "x$THREADS_OK" != "xyes"; then
32140 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32141 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32143 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32144 LIBS
="$THREADS_LINK $LIBS"
32146 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32147 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32151 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32152 flag
="-D_THREAD_SAFE"
32155 flag
="-D_THREAD_SAFE"
32158 flag
="-D_REENTRANT"
32159 if test "x$GCC" != "xyes"; then
32160 flag
="$flag -D_RWSTD_MULTI_THREAD"
32165 *solaris
* | alpha
*-osf*)
32166 flag
="-D_REENTRANT"
32169 echo "$as_me:$LINENO: result: ${flag}" >&5
32170 echo "${ECHO_T}${flag}" >&6
32171 if test "x$flag" != xno
; then
32172 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32175 if test "x$THREADS_CFLAGS" != "x"; then
32176 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32177 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32182 if test "$wxUSE_THREADS" = "yes" ; then
32184 for ac_func
in thr_setconcurrency
32186 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32187 echo "$as_me:$LINENO: checking for $ac_func" >&5
32188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32189 if eval "test \"\${$as_ac_var+set}\" = set"; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 cat >conftest.
$ac_ext <<_ACEOF
32195 cat confdefs.h
>>conftest.
$ac_ext
32196 cat >>conftest.
$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32200 #define $ac_func innocuous_$ac_func
32202 /* System header to define __stub macros and hopefully few prototypes,
32203 which can conflict with char $ac_func (); below.
32204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32205 <limits.h> exists even on freestanding compilers. */
32208 # include <limits.h>
32210 # include <assert.h>
32215 /* Override any gcc2 internal prototype to avoid an error. */
32220 /* We use char because int might match the return type of a gcc2
32221 builtin and then its argument prototype would still apply. */
32223 /* The GNU C library defines this for functions which it implements
32224 to always fail with ENOSYS. Some functions are actually named
32225 something starting with __ and the normal name is an alias. */
32226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32229 char (*f) () = $ac_func;
32238 return f != $ac_func;
32243 rm -f conftest.
$ac_objext conftest
$ac_exeext
32244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32245 (eval $ac_link) 2>conftest.er1
32247 grep -v '^ *+' conftest.er1
>conftest.err
32249 cat conftest.err
>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } &&
32252 { ac_try
='test -z "$ac_c_werror_flag"
32253 || test ! -s conftest.err'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; } &&
32259 { ac_try
='test -s conftest$ac_exeext'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; }; then
32265 eval "$as_ac_var=yes"
32267 echo "$as_me: failed program was:" >&5
32268 sed 's/^/| /' conftest.
$ac_ext >&5
32270 eval "$as_ac_var=no"
32272 rm -f conftest.err conftest.
$ac_objext \
32273 conftest
$ac_exeext conftest.
$ac_ext
32275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32277 if test `eval echo '${'$as_ac_var'}'` = yes; then
32278 cat >>confdefs.h
<<_ACEOF
32279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32287 for ac_header
in sched.h
32289 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32291 echo "$as_me:$LINENO: checking for $ac_header" >&5
32292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32294 echo $ECHO_N "(cached) $ECHO_C" >&6
32296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32299 # Is the header compilable?
32300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32302 cat >conftest.
$ac_ext <<_ACEOF
32305 cat confdefs.h
>>conftest.
$ac_ext
32306 cat >>conftest.
$ac_ext <<_ACEOF
32307 /* end confdefs.h. */
32308 $ac_includes_default
32309 #include <$ac_header>
32311 rm -f conftest.
$ac_objext
32312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32313 (eval $ac_compile) 2>conftest.er1
32315 grep -v '^ *+' conftest.er1
>conftest.err
32317 cat conftest.err
>&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); } &&
32320 { ac_try
='test -z "$ac_c_werror_flag"
32321 || test ! -s conftest.err'
32322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32323 (eval $ac_try) 2>&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); }; } &&
32327 { ac_try
='test -s conftest.$ac_objext'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; }; then
32333 ac_header_compiler
=yes
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.
$ac_ext >&5
32338 ac_header_compiler
=no
32340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32342 echo "${ECHO_T}$ac_header_compiler" >&6
32344 # Is the header present?
32345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32347 cat >conftest.
$ac_ext <<_ACEOF
32350 cat confdefs.h
>>conftest.
$ac_ext
32351 cat >>conftest.
$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353 #include <$ac_header>
32355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32358 grep -v '^ *+' conftest.er1
>conftest.err
32360 cat conftest.err
>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); } >/dev
/null
; then
32363 if test -s conftest.err
; then
32364 ac_cpp_err
=$ac_c_preproc_warn_flag
32365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32372 if test -z "$ac_cpp_err"; then
32373 ac_header_preproc
=yes
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.
$ac_ext >&5
32378 ac_header_preproc
=no
32380 rm -f conftest.err conftest.
$ac_ext
32381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32382 echo "${ECHO_T}$ac_header_preproc" >&6
32384 # So? What about this header?
32385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32391 ac_header_preproc
=yes
32394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32408 ## ----------------------------------------- ##
32409 ## Report this to wx-dev@lists.wxwidgets.org ##
32410 ## ----------------------------------------- ##
32413 sed "s/^/$as_me: WARNING: /" >&2
32416 echo "$as_me:$LINENO: checking for $ac_header" >&5
32417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32421 eval "$as_ac_Header=\$ac_header_preproc"
32423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32428 cat >>confdefs.h
<<_ACEOF
32429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32436 if test "$ac_cv_header_sched_h" = "yes"; then
32437 echo "$as_me:$LINENO: checking for sched_yield" >&5
32438 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32439 if test "${ac_cv_func_sched_yield+set}" = set; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 cat >conftest.
$ac_ext <<_ACEOF
32445 cat confdefs.h
>>conftest.
$ac_ext
32446 cat >>conftest.
$ac_ext <<_ACEOF
32447 /* end confdefs.h. */
32448 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32450 #define sched_yield innocuous_sched_yield
32452 /* System header to define __stub macros and hopefully few prototypes,
32453 which can conflict with char sched_yield (); below.
32454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32455 <limits.h> exists even on freestanding compilers. */
32458 # include <limits.h>
32460 # include <assert.h>
32465 /* Override any gcc2 internal prototype to avoid an error. */
32470 /* We use char because int might match the return type of a gcc2
32471 builtin and then its argument prototype would still apply. */
32472 char sched_yield ();
32473 /* The GNU C library defines this for functions which it implements
32474 to always fail with ENOSYS. Some functions are actually named
32475 something starting with __ and the normal name is an alias. */
32476 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32479 char (*f) () = sched_yield;
32488 return f != sched_yield;
32493 rm -f conftest.
$ac_objext conftest
$ac_exeext
32494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32495 (eval $ac_link) 2>conftest.er1
32497 grep -v '^ *+' conftest.er1
>conftest.err
32499 cat conftest.err
>&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } &&
32502 { ac_try
='test -z "$ac_c_werror_flag"
32503 || test ! -s conftest.err'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; } &&
32509 { ac_try
='test -s conftest$ac_exeext'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; }; then
32515 ac_cv_func_sched_yield
=yes
32517 echo "$as_me: failed program was:" >&5
32518 sed 's/^/| /' conftest.
$ac_ext >&5
32520 ac_cv_func_sched_yield
=no
32522 rm -f conftest.err conftest.
$ac_objext \
32523 conftest
$ac_exeext conftest.
$ac_ext
32525 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32526 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32527 if test $ac_cv_func_sched_yield = yes; then
32528 cat >>confdefs.h
<<\_ACEOF
32529 #define HAVE_SCHED_YIELD 1
32534 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32535 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32536 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32537 echo $ECHO_N "(cached) $ECHO_C" >&6
32539 ac_check_lib_save_LIBS
=$LIBS
32540 LIBS
="-lposix4 $LIBS"
32541 cat >conftest.
$ac_ext <<_ACEOF
32544 cat confdefs.h
>>conftest.
$ac_ext
32545 cat >>conftest.
$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32548 /* Override any gcc2 internal prototype to avoid an error. */
32552 /* We use char because int might match the return type of a gcc2
32553 builtin and then its argument prototype would still apply. */
32554 char sched_yield ();
32563 rm -f conftest.
$ac_objext conftest
$ac_exeext
32564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32565 (eval $ac_link) 2>conftest.er1
32567 grep -v '^ *+' conftest.er1
>conftest.err
32569 cat conftest.err
>&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } &&
32572 { ac_try
='test -z "$ac_c_werror_flag"
32573 || test ! -s conftest.err'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; } &&
32579 { ac_try
='test -s conftest$ac_exeext'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; }; then
32585 ac_cv_lib_posix4_sched_yield
=yes
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.
$ac_ext >&5
32590 ac_cv_lib_posix4_sched_yield
=no
32592 rm -f conftest.err conftest.
$ac_objext \
32593 conftest
$ac_exeext conftest.
$ac_ext
32594 LIBS
=$ac_check_lib_save_LIBS
32596 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32597 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32598 if test $ac_cv_lib_posix4_sched_yield = yes; then
32599 cat >>confdefs.h
<<\_ACEOF
32600 #define HAVE_SCHED_YIELD 1
32602 POSIX4_LINK
=" -lposix4"
32604 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32605 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32616 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32617 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32618 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 cat >conftest.
$ac_ext <<_ACEOF
32624 cat confdefs.h
>>conftest.
$ac_ext
32625 cat >>conftest.
$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32629 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32631 /* System header to define __stub macros and hopefully few prototypes,
32632 which can conflict with char pthread_attr_getschedpolicy (); below.
32633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32634 <limits.h> exists even on freestanding compilers. */
32637 # include <limits.h>
32639 # include <assert.h>
32642 #undef pthread_attr_getschedpolicy
32644 /* Override any gcc2 internal prototype to avoid an error. */
32649 /* We use char because int might match the return type of a gcc2
32650 builtin and then its argument prototype would still apply. */
32651 char pthread_attr_getschedpolicy ();
32652 /* The GNU C library defines this for functions which it implements
32653 to always fail with ENOSYS. Some functions are actually named
32654 something starting with __ and the normal name is an alias. */
32655 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32658 char (*f) () = pthread_attr_getschedpolicy;
32667 return f != pthread_attr_getschedpolicy;
32672 rm -f conftest.
$ac_objext conftest
$ac_exeext
32673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32674 (eval $ac_link) 2>conftest.er1
32676 grep -v '^ *+' conftest.er1
>conftest.err
32678 cat conftest.err
>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } &&
32681 { ac_try
='test -z "$ac_c_werror_flag"
32682 || test ! -s conftest.err'
32683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32684 (eval $ac_try) 2>&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); }; } &&
32688 { ac_try
='test -s conftest$ac_exeext'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; }; then
32694 ac_cv_func_pthread_attr_getschedpolicy
=yes
32696 echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.
$ac_ext >&5
32699 ac_cv_func_pthread_attr_getschedpolicy
=no
32701 rm -f conftest.err conftest.
$ac_objext \
32702 conftest
$ac_exeext conftest.
$ac_ext
32704 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32705 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32706 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32707 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32708 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32709 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32710 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 cat >conftest.
$ac_ext <<_ACEOF
32715 cat confdefs.h
>>conftest.
$ac_ext
32716 cat >>conftest.
$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32718 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32720 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32722 /* System header to define __stub macros and hopefully few prototypes,
32723 which can conflict with char pthread_attr_setschedparam (); below.
32724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32725 <limits.h> exists even on freestanding compilers. */
32728 # include <limits.h>
32730 # include <assert.h>
32733 #undef pthread_attr_setschedparam
32735 /* Override any gcc2 internal prototype to avoid an error. */
32740 /* We use char because int might match the return type of a gcc2
32741 builtin and then its argument prototype would still apply. */
32742 char pthread_attr_setschedparam ();
32743 /* The GNU C library defines this for functions which it implements
32744 to always fail with ENOSYS. Some functions are actually named
32745 something starting with __ and the normal name is an alias. */
32746 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32749 char (*f) () = pthread_attr_setschedparam;
32758 return f != pthread_attr_setschedparam;
32763 rm -f conftest.
$ac_objext conftest
$ac_exeext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32765 (eval $ac_link) 2>conftest.er1
32767 grep -v '^ *+' conftest.er1
>conftest.err
32769 cat conftest.err
>&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try
='test -z "$ac_c_werror_flag"
32773 || test ! -s conftest.err'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; } &&
32779 { ac_try
='test -s conftest$ac_exeext'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; }; then
32785 ac_cv_func_pthread_attr_setschedparam
=yes
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.
$ac_ext >&5
32790 ac_cv_func_pthread_attr_setschedparam
=no
32792 rm -f conftest.err conftest.
$ac_objext \
32793 conftest
$ac_exeext conftest.
$ac_ext
32795 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32796 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32797 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32798 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32799 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32800 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32801 echo $ECHO_N "(cached) $ECHO_C" >&6
32803 cat >conftest.
$ac_ext <<_ACEOF
32806 cat confdefs.h
>>conftest.
$ac_ext
32807 cat >>conftest.
$ac_ext <<_ACEOF
32808 /* end confdefs.h. */
32809 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32811 #define sched_get_priority_max innocuous_sched_get_priority_max
32813 /* System header to define __stub macros and hopefully few prototypes,
32814 which can conflict with char sched_get_priority_max (); below.
32815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32816 <limits.h> exists even on freestanding compilers. */
32819 # include <limits.h>
32821 # include <assert.h>
32824 #undef sched_get_priority_max
32826 /* Override any gcc2 internal prototype to avoid an error. */
32831 /* We use char because int might match the return type of a gcc2
32832 builtin and then its argument prototype would still apply. */
32833 char sched_get_priority_max ();
32834 /* The GNU C library defines this for functions which it implements
32835 to always fail with ENOSYS. Some functions are actually named
32836 something starting with __ and the normal name is an alias. */
32837 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32840 char (*f) () = sched_get_priority_max;
32849 return f != sched_get_priority_max;
32854 rm -f conftest.
$ac_objext conftest
$ac_exeext
32855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32856 (eval $ac_link) 2>conftest.er1
32858 grep -v '^ *+' conftest.er1
>conftest.err
32860 cat conftest.err
>&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); } &&
32863 { ac_try
='test -z "$ac_c_werror_flag"
32864 || test ! -s conftest.err'
32865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32866 (eval $ac_try) 2>&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); }; } &&
32870 { ac_try
='test -s conftest$ac_exeext'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; }; then
32876 ac_cv_func_sched_get_priority_max
=yes
32878 echo "$as_me: failed program was:" >&5
32879 sed 's/^/| /' conftest.
$ac_ext >&5
32881 ac_cv_func_sched_get_priority_max
=no
32883 rm -f conftest.err conftest.
$ac_objext \
32884 conftest
$ac_exeext conftest.
$ac_ext
32886 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32887 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32888 if test $ac_cv_func_sched_get_priority_max = yes; then
32891 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32892 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32893 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32896 ac_check_lib_save_LIBS
=$LIBS
32897 LIBS
="-lposix4 $LIBS"
32898 cat >conftest.
$ac_ext <<_ACEOF
32901 cat confdefs.h
>>conftest.
$ac_ext
32902 cat >>conftest.
$ac_ext <<_ACEOF
32903 /* end confdefs.h. */
32905 /* Override any gcc2 internal prototype to avoid an error. */
32909 /* We use char because int might match the return type of a gcc2
32910 builtin and then its argument prototype would still apply. */
32911 char sched_get_priority_max ();
32915 sched_get_priority_max ();
32920 rm -f conftest.
$ac_objext conftest
$ac_exeext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32922 (eval $ac_link) 2>conftest.er1
32924 grep -v '^ *+' conftest.er1
>conftest.err
32926 cat conftest.err
>&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } &&
32929 { ac_try
='test -z "$ac_c_werror_flag"
32930 || test ! -s conftest.err'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; } &&
32936 { ac_try
='test -s conftest$ac_exeext'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; }; then
32942 ac_cv_lib_posix4_sched_get_priority_max
=yes
32944 echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.
$ac_ext >&5
32947 ac_cv_lib_posix4_sched_get_priority_max
=no
32949 rm -f conftest.err conftest.
$ac_objext \
32950 conftest
$ac_exeext conftest.
$ac_ext
32951 LIBS
=$ac_check_lib_save_LIBS
32953 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32954 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32955 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32958 POSIX4_LINK
=" -lposix4"
32972 if test "$HAVE_PRIOR_FUNCS" = 1; then
32973 cat >>confdefs.h
<<\_ACEOF
32974 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32978 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32979 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32982 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32983 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32984 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32985 echo $ECHO_N "(cached) $ECHO_C" >&6
32987 cat >conftest.
$ac_ext <<_ACEOF
32990 cat confdefs.h
>>conftest.
$ac_ext
32991 cat >>conftest.
$ac_ext <<_ACEOF
32992 /* end confdefs.h. */
32993 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32995 #define pthread_cancel innocuous_pthread_cancel
32997 /* System header to define __stub macros and hopefully few prototypes,
32998 which can conflict with char pthread_cancel (); below.
32999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33000 <limits.h> exists even on freestanding compilers. */
33003 # include <limits.h>
33005 # include <assert.h>
33008 #undef pthread_cancel
33010 /* Override any gcc2 internal prototype to avoid an error. */
33015 /* We use char because int might match the return type of a gcc2
33016 builtin and then its argument prototype would still apply. */
33017 char pthread_cancel ();
33018 /* The GNU C library defines this for functions which it implements
33019 to always fail with ENOSYS. Some functions are actually named
33020 something starting with __ and the normal name is an alias. */
33021 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33024 char (*f) () = pthread_cancel;
33033 return f != pthread_cancel;
33038 rm -f conftest.
$ac_objext conftest
$ac_exeext
33039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33040 (eval $ac_link) 2>conftest.er1
33042 grep -v '^ *+' conftest.er1
>conftest.err
33044 cat conftest.err
>&5
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); } &&
33047 { ac_try
='test -z "$ac_c_werror_flag"
33048 || test ! -s conftest.err'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; } &&
33054 { ac_try
='test -s conftest$ac_exeext'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; }; then
33060 ac_cv_func_pthread_cancel
=yes
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.
$ac_ext >&5
33065 ac_cv_func_pthread_cancel
=no
33067 rm -f conftest.err conftest.
$ac_objext \
33068 conftest
$ac_exeext conftest.
$ac_ext
33070 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33071 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33072 if test $ac_cv_func_pthread_cancel = yes; then
33073 cat >>confdefs.h
<<\_ACEOF
33074 #define HAVE_PTHREAD_CANCEL 1
33078 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33079 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33085 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33086 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33087 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33091 cat >conftest.
$ac_ext <<_ACEOF
33094 cat confdefs.h
>>conftest.
$ac_ext
33095 cat >>conftest.
$ac_ext <<_ACEOF
33096 /* end confdefs.h. */
33097 #include <pthread.h>
33102 pthread_mutexattr_t attr;
33103 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33109 rm -f conftest.
$ac_objext
33110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33111 (eval $ac_compile) 2>conftest.er1
33113 grep -v '^ *+' conftest.er1
>conftest.err
33115 cat conftest.err
>&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); } &&
33118 { ac_try
='test -z "$ac_c_werror_flag"
33119 || test ! -s conftest.err'
33120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121 (eval $ac_try) 2>&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; } &&
33125 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33132 wx_cv_type_pthread_mutexattr_t
=yes
33135 echo "$as_me: failed program was:" >&5
33136 sed 's/^/| /' conftest.
$ac_ext >&5
33139 wx_cv_type_pthread_mutexattr_t
=no
33143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33146 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33147 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33149 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33150 cat >>confdefs.h
<<\_ACEOF
33151 #define HAVE_PTHREAD_MUTEXATTR_T 1
33155 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33156 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33157 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33158 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 cat >conftest.
$ac_ext <<_ACEOF
33164 cat confdefs.h
>>conftest.
$ac_ext
33165 cat >>conftest.
$ac_ext <<_ACEOF
33166 /* end confdefs.h. */
33167 #include <pthread.h>
33172 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33178 rm -f conftest.
$ac_objext
33179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33180 (eval $ac_compile) 2>conftest.er1
33182 grep -v '^ *+' conftest.er1
>conftest.err
33184 cat conftest.err
>&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); } &&
33187 { ac_try
='test -z "$ac_c_werror_flag"
33188 || test ! -s conftest.err'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; } &&
33194 { ac_try
='test -s conftest.$ac_objext'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; }; then
33201 wx_cv_type_pthread_rec_mutex_init
=yes
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.
$ac_ext >&5
33208 wx_cv_type_pthread_rec_mutex_init
=no
33212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33215 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33216 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33217 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33218 cat >>confdefs.h
<<\_ACEOF
33219 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33223 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33224 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33230 if test "$wxUSE_THREADS" = "yes" ; then
33233 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33234 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33235 if test "${wx_cv_cflags_mthread+set}" = set; then
33236 echo $ECHO_N "(cached) $ECHO_C" >&6
33239 CFLAGS_OLD
="$CFLAGS"
33240 CFLAGS
="$CFLAGS -mthreads"
33241 cat >conftest.
$ac_ext <<_ACEOF
33244 cat confdefs.h
>>conftest.
$ac_ext
33245 cat >>conftest.
$ac_ext <<_ACEOF
33246 /* end confdefs.h. */
33256 rm -f conftest.
$ac_objext
33257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33258 (eval $ac_compile) 2>conftest.er1
33260 grep -v '^ *+' conftest.er1
>conftest.err
33262 cat conftest.err
>&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } &&
33265 { ac_try
='test -z "$ac_c_werror_flag"
33266 || test ! -s conftest.err'
33267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33268 (eval $ac_try) 2>&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); }; } &&
33272 { ac_try
='test -s conftest.$ac_objext'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; }; then
33278 wx_cv_cflags_mthread
=yes
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.
$ac_ext >&5
33283 wx_cv_cflags_mthread
=no
33286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33290 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33291 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33293 if test "$wx_cv_cflags_mthread" = "yes"; then
33294 CXXFLAGS
="$CXXFLAGS -mthreads"
33295 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33296 LDFLAGS
="$LDFLAGS -mthreads"
33298 CFLAGS
="$CFLAGS_OLD"
33302 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33303 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33304 LDFLAGS
="$LDFLAGS -Zmt"
33310 if test "$wxUSE_THREADS" = "yes"; then
33311 cat >>confdefs.h
<<\_ACEOF
33312 #define wxUSE_THREADS 1
33316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33318 if test "$ac_cv_func_strtok_r" = "yes"; then
33319 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33320 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33321 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33322 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33323 echo "$as_me:$LINENO: result: yes" >&5
33324 echo "${ECHO_T}yes" >&6
33326 echo "$as_me:$LINENO: result: no" >&5
33327 echo "${ECHO_T}no" >&6
33332 if test "$WXGTK20" = 1 ; then
33333 cat >>confdefs.h
<<_ACEOF
33334 #define __WXGTK20__ $WXGTK20
33340 if test "$WXGTK12" = 1 ; then
33341 cat >>confdefs.h
<<_ACEOF
33342 #define __WXGTK12__ $WXGTK12
33347 if test "$WXGTK127" = 1 ; then
33348 cat >>confdefs.h
<<_ACEOF
33349 #define __WXGTK127__ $WXGTK127
33354 if test "$WXGPE" = 1 ; then
33355 cat >>confdefs.h
<<_ACEOF
33356 #define __WXGPE__ $WXGPE
33363 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33368 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33369 wxUSE_DEBUG_INFO
=yes
33373 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33374 cat >>confdefs.h
<<\_ACEOF
33378 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33380 if test "$wxUSE_GTK" = 1 ; then
33381 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33385 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33386 cat >>confdefs.h
<<\_ACEOF
33387 #define wxUSE_MEMORY_TRACING 1
33390 cat >>confdefs.h
<<\_ACEOF
33391 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33394 cat >>confdefs.h
<<\_ACEOF
33395 #define wxUSE_DEBUG_NEW_ALWAYS 1
33398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33401 if test "$wxUSE_DMALLOC" = "yes" ; then
33402 DMALLOC_LIBS
="-ldmalloc"
33406 if test "$wxUSE_PROFILE" = "yes" ; then
33411 CODE_GEN_FLAGS_CXX
=
33412 if test "$GCC" = "yes" ; then
33413 if test "$wxUSE_NO_RTTI" = "yes" ; then
33414 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33416 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33417 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33419 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33420 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33425 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33428 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33434 if test "$wxUSE_OPTIMISE" = "no" ; then
33435 if test "$GCC" = yes ; then
33439 if test "$GCC" = yes ; then
33443 i586
-*-*|i686
-*-* )
33444 OPTIMISE
="${OPTIMISE} "
33453 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33454 cat >>confdefs.h
<<\_ACEOF
33455 #define WXWIN_COMPATIBILITY_2_2 1
33459 WXWIN_COMPATIBILITY_2_4
="yes"
33462 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33463 cat >>confdefs.h
<<\_ACEOF
33464 #define WXWIN_COMPATIBILITY_2_4 1
33470 if test "$wxUSE_GUI" = "yes"; then
33471 cat >>confdefs.h
<<\_ACEOF
33472 #define wxUSE_GUI 1
33477 cat >>confdefs.h
<<\_ACEOF
33478 #define wxUSE_NOGUI 1
33484 if test "$wxUSE_UNIX" = "yes"; then
33485 cat >>confdefs.h
<<\_ACEOF
33486 #define wxUSE_UNIX 1
33492 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33496 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33497 if test "$USE_DARWIN" = 1; then
33501 for ac_func
in dlopen
33503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33504 echo "$as_me:$LINENO: checking for $ac_func" >&5
33505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33506 if eval "test \"\${$as_ac_var+set}\" = set"; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33509 cat >conftest.
$ac_ext <<_ACEOF
33512 cat confdefs.h
>>conftest.
$ac_ext
33513 cat >>conftest.
$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33517 #define $ac_func innocuous_$ac_func
33519 /* System header to define __stub macros and hopefully few prototypes,
33520 which can conflict with char $ac_func (); below.
33521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33522 <limits.h> exists even on freestanding compilers. */
33525 # include <limits.h>
33527 # include <assert.h>
33532 /* Override any gcc2 internal prototype to avoid an error. */
33537 /* We use char because int might match the return type of a gcc2
33538 builtin and then its argument prototype would still apply. */
33540 /* The GNU C library defines this for functions which it implements
33541 to always fail with ENOSYS. Some functions are actually named
33542 something starting with __ and the normal name is an alias. */
33543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33546 char (*f) () = $ac_func;
33555 return f != $ac_func;
33560 rm -f conftest.
$ac_objext conftest
$ac_exeext
33561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33562 (eval $ac_link) 2>conftest.er1
33564 grep -v '^ *+' conftest.er1
>conftest.err
33566 cat conftest.err
>&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } &&
33569 { ac_try
='test -z "$ac_c_werror_flag"
33570 || test ! -s conftest.err'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; } &&
33576 { ac_try
='test -s conftest$ac_exeext'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; }; then
33582 eval "$as_ac_var=yes"
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.
$ac_ext >&5
33587 eval "$as_ac_var=no"
33589 rm -f conftest.err conftest.
$ac_objext \
33590 conftest
$ac_exeext conftest.
$ac_ext
33592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33594 if test `eval echo '${'$as_ac_var'}'` = yes; then
33595 cat >>confdefs.h
<<_ACEOF
33596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33599 cat >>confdefs.h
<<\_ACEOF
33600 #define HAVE_DLOPEN 1
33607 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33608 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33609 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 ac_check_lib_save_LIBS
=$LIBS
33614 cat >conftest.
$ac_ext <<_ACEOF
33617 cat confdefs.h
>>conftest.
$ac_ext
33618 cat >>conftest.
$ac_ext <<_ACEOF
33619 /* end confdefs.h. */
33621 /* Override any gcc2 internal prototype to avoid an error. */
33625 /* We use char because int might match the return type of a gcc2
33626 builtin and then its argument prototype would still apply. */
33636 rm -f conftest.
$ac_objext conftest
$ac_exeext
33637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33638 (eval $ac_link) 2>conftest.er1
33640 grep -v '^ *+' conftest.er1
>conftest.err
33642 cat conftest.err
>&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } &&
33645 { ac_try
='test -z "$ac_c_werror_flag"
33646 || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try
='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 ac_cv_lib_dl_dlopen
=yes
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.
$ac_ext >&5
33663 ac_cv_lib_dl_dlopen
=no
33665 rm -f conftest.err conftest.
$ac_objext \
33666 conftest
$ac_exeext conftest.
$ac_ext
33667 LIBS
=$ac_check_lib_save_LIBS
33669 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33670 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33671 if test $ac_cv_lib_dl_dlopen = yes; then
33673 cat >>confdefs.h
<<\_ACEOF
33674 #define HAVE_DLOPEN 1
33678 DL_LINK
=" -ldl$DL_LINK"
33683 for ac_func
in shl_load
33685 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33686 echo "$as_me:$LINENO: checking for $ac_func" >&5
33687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33688 if eval "test \"\${$as_ac_var+set}\" = set"; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33691 cat >conftest.
$ac_ext <<_ACEOF
33694 cat confdefs.h
>>conftest.
$ac_ext
33695 cat >>conftest.
$ac_ext <<_ACEOF
33696 /* end confdefs.h. */
33697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33699 #define $ac_func innocuous_$ac_func
33701 /* System header to define __stub macros and hopefully few prototypes,
33702 which can conflict with char $ac_func (); below.
33703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33704 <limits.h> exists even on freestanding compilers. */
33707 # include <limits.h>
33709 # include <assert.h>
33714 /* Override any gcc2 internal prototype to avoid an error. */
33719 /* We use char because int might match the return type of a gcc2
33720 builtin and then its argument prototype would still apply. */
33722 /* The GNU C library defines this for functions which it implements
33723 to always fail with ENOSYS. Some functions are actually named
33724 something starting with __ and the normal name is an alias. */
33725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33728 char (*f) () = $ac_func;
33737 return f != $ac_func;
33742 rm -f conftest.
$ac_objext conftest
$ac_exeext
33743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33744 (eval $ac_link) 2>conftest.er1
33746 grep -v '^ *+' conftest.er1
>conftest.err
33748 cat conftest.err
>&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); } &&
33751 { ac_try
='test -z "$ac_c_werror_flag"
33752 || test ! -s conftest.err'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; } &&
33758 { ac_try
='test -s conftest$ac_exeext'
33759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33760 (eval $ac_try) 2>&5
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); }; }; then
33764 eval "$as_ac_var=yes"
33766 echo "$as_me: failed program was:" >&5
33767 sed 's/^/| /' conftest.
$ac_ext >&5
33769 eval "$as_ac_var=no"
33771 rm -f conftest.err conftest.
$ac_objext \
33772 conftest
$ac_exeext conftest.
$ac_ext
33774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33776 if test `eval echo '${'$as_ac_var'}'` = yes; then
33777 cat >>confdefs.h
<<_ACEOF
33778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33781 cat >>confdefs.h
<<\_ACEOF
33782 #define HAVE_SHL_LOAD 1
33789 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33790 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33791 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33794 ac_check_lib_save_LIBS
=$LIBS
33795 LIBS
="-lshl_load $LIBS"
33796 cat >conftest.
$ac_ext <<_ACEOF
33799 cat confdefs.h
>>conftest.
$ac_ext
33800 cat >>conftest.
$ac_ext <<_ACEOF
33801 /* end confdefs.h. */
33803 /* Override any gcc2 internal prototype to avoid an error. */
33807 /* We use char because int might match the return type of a gcc2
33808 builtin and then its argument prototype would still apply. */
33818 rm -f conftest.
$ac_objext conftest
$ac_exeext
33819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33820 (eval $ac_link) 2>conftest.er1
33822 grep -v '^ *+' conftest.er1
>conftest.err
33824 cat conftest.err
>&5
33825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33826 (exit $ac_status); } &&
33827 { ac_try
='test -z "$ac_c_werror_flag"
33828 || test ! -s conftest.err'
33829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33830 (eval $ac_try) 2>&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); }; } &&
33834 { ac_try
='test -s conftest$ac_exeext'
33835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33836 (eval $ac_try) 2>&5
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); }; }; then
33840 ac_cv_lib_shl_load_dld
=yes
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.
$ac_ext >&5
33845 ac_cv_lib_shl_load_dld
=no
33847 rm -f conftest.err conftest.
$ac_objext \
33848 conftest
$ac_exeext conftest.
$ac_ext
33849 LIBS
=$ac_check_lib_save_LIBS
33851 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33852 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33853 if test $ac_cv_lib_shl_load_dld = yes; then
33856 DL_LINK
=" -ldld$DL_LINK"
33872 if test "$HAVE_DL_FUNCS" = 1; then
33874 for ac_func
in dlerror
33876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33877 echo "$as_me:$LINENO: checking for $ac_func" >&5
33878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33879 if eval "test \"\${$as_ac_var+set}\" = set"; then
33880 echo $ECHO_N "(cached) $ECHO_C" >&6
33882 cat >conftest.
$ac_ext <<_ACEOF
33885 cat confdefs.h
>>conftest.
$ac_ext
33886 cat >>conftest.
$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33890 #define $ac_func innocuous_$ac_func
33892 /* System header to define __stub macros and hopefully few prototypes,
33893 which can conflict with char $ac_func (); below.
33894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33895 <limits.h> exists even on freestanding compilers. */
33898 # include <limits.h>
33900 # include <assert.h>
33905 /* Override any gcc2 internal prototype to avoid an error. */
33910 /* We use char because int might match the return type of a gcc2
33911 builtin and then its argument prototype would still apply. */
33913 /* The GNU C library defines this for functions which it implements
33914 to always fail with ENOSYS. Some functions are actually named
33915 something starting with __ and the normal name is an alias. */
33916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33919 char (*f) () = $ac_func;
33928 return f != $ac_func;
33933 rm -f conftest.
$ac_objext conftest
$ac_exeext
33934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33935 (eval $ac_link) 2>conftest.er1
33937 grep -v '^ *+' conftest.er1
>conftest.err
33939 cat conftest.err
>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); } &&
33942 { ac_try
='test -z "$ac_c_werror_flag"
33943 || test ! -s conftest.err'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; } &&
33949 { ac_try
='test -s conftest$ac_exeext'
33950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 (eval $ac_try) 2>&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); }; }; then
33955 eval "$as_ac_var=yes"
33957 echo "$as_me: failed program was:" >&5
33958 sed 's/^/| /' conftest.
$ac_ext >&5
33960 eval "$as_ac_var=no"
33962 rm -f conftest.err conftest.
$ac_objext \
33963 conftest
$ac_exeext conftest.
$ac_ext
33965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33967 if test `eval echo '${'$as_ac_var'}'` = yes; then
33968 cat >>confdefs.h
<<_ACEOF
33969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33971 cat >>confdefs.h
<<\_ACEOF
33972 #define HAVE_DLERROR 1
33977 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33978 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33979 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33980 echo $ECHO_N "(cached) $ECHO_C" >&6
33982 ac_check_lib_save_LIBS
=$LIBS
33984 cat >conftest.
$ac_ext <<_ACEOF
33987 cat confdefs.h
>>conftest.
$ac_ext
33988 cat >>conftest.
$ac_ext <<_ACEOF
33989 /* end confdefs.h. */
33991 /* Override any gcc2 internal prototype to avoid an error. */
33995 /* We use char because int might match the return type of a gcc2
33996 builtin and then its argument prototype would still apply. */
34006 rm -f conftest.
$ac_objext conftest
$ac_exeext
34007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008 (eval $ac_link) 2>conftest.er1
34010 grep -v '^ *+' conftest.er1
>conftest.err
34012 cat conftest.err
>&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } &&
34015 { ac_try
='test -z "$ac_c_werror_flag"
34016 || test ! -s conftest.err'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; } &&
34022 { ac_try
='test -s conftest$ac_exeext'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; }; then
34028 ac_cv_lib_dl_dlerror
=yes
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.
$ac_ext >&5
34033 ac_cv_lib_dl_dlerror
=no
34035 rm -f conftest.err conftest.
$ac_objext \
34036 conftest
$ac_exeext conftest.
$ac_ext
34037 LIBS
=$ac_check_lib_save_LIBS
34039 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34040 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34041 if test $ac_cv_lib_dl_dlerror = yes; then
34042 cat >>confdefs.h
<<\_ACEOF
34043 #define HAVE_DLERROR 1
34056 if test "$HAVE_DL_FUNCS" = 0; then
34057 if test "$HAVE_SHL_FUNCS" = 0; then
34058 if test "$USE_UNIX" = 1; then
34059 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34060 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34061 wxUSE_DYNAMIC_LOADER
=no
34062 wxUSE_DYNLIB_CLASS
=no
34064 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34065 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34072 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34073 cat >>confdefs.h
<<\_ACEOF
34074 #define wxUSE_DYNAMIC_LOADER 1
34078 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34079 cat >>confdefs.h
<<\_ACEOF
34080 #define wxUSE_DYNLIB_CLASS 1
34087 if test "$wxUSE_PLUGINS" = "yes" ; then
34088 if test "$wxUSE_SHARED" = "no" ; then
34089 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34090 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34093 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34094 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34095 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34098 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34099 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34100 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34103 if test "$wxUSE_PLUGINS" = "yes" ; then
34104 cat >>confdefs.h
<<\_ACEOF
34105 #define wxUSE_PLUGINS 1
34112 if test "$wxUSE_STL" = "yes"; then
34113 cat >>confdefs.h
<<\_ACEOF
34114 #define wxUSE_STL 1
34119 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34120 cat >>confdefs.h
<<\_ACEOF
34121 #define wxUSE_APPLE_IEEE 1
34126 if test "$wxUSE_TIMER" = "yes"; then
34127 cat >>confdefs.h
<<\_ACEOF
34128 #define wxUSE_TIMER 1
34134 if test "$wxUSE_SOUND" = "yes"; then
34135 if test "$USE_UNIX" = "1" ; then
34137 for ac_header
in sys
/soundcard.h
34139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34141 echo "$as_me:$LINENO: checking for $ac_header" >&5
34142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34149 # Is the header compilable?
34150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34152 cat >conftest.
$ac_ext <<_ACEOF
34155 cat confdefs.h
>>conftest.
$ac_ext
34156 cat >>conftest.
$ac_ext <<_ACEOF
34157 /* end confdefs.h. */
34158 $ac_includes_default
34159 #include <$ac_header>
34161 rm -f conftest.
$ac_objext
34162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34163 (eval $ac_compile) 2>conftest.er1
34165 grep -v '^ *+' conftest.er1
>conftest.err
34167 cat conftest.err
>&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); } &&
34170 { ac_try
='test -z "$ac_c_werror_flag"
34171 || test ! -s conftest.err'
34172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173 (eval $ac_try) 2>&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); }; } &&
34177 { ac_try
='test -s conftest.$ac_objext'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; }; then
34183 ac_header_compiler
=yes
34185 echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.
$ac_ext >&5
34188 ac_header_compiler
=no
34190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34192 echo "${ECHO_T}$ac_header_compiler" >&6
34194 # Is the header present?
34195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34197 cat >conftest.
$ac_ext <<_ACEOF
34200 cat confdefs.h
>>conftest.
$ac_ext
34201 cat >>conftest.
$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 #include <$ac_header>
34205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34208 grep -v '^ *+' conftest.er1
>conftest.err
34210 cat conftest.err
>&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } >/dev
/null
; then
34213 if test -s conftest.err
; then
34214 ac_cpp_err
=$ac_c_preproc_warn_flag
34215 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34222 if test -z "$ac_cpp_err"; then
34223 ac_header_preproc
=yes
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.
$ac_ext >&5
34228 ac_header_preproc
=no
34230 rm -f conftest.err conftest.
$ac_ext
34231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34232 echo "${ECHO_T}$ac_header_preproc" >&6
34234 # So? What about this header?
34235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34241 ac_header_preproc
=yes
34244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34258 ## ----------------------------------------- ##
34259 ## Report this to wx-dev@lists.wxwidgets.org ##
34260 ## ----------------------------------------- ##
34263 sed "s/^/$as_me: WARNING: /" >&2
34266 echo "$as_me:$LINENO: checking for $ac_header" >&5
34267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34271 eval "$as_ac_Header=\$ac_header_preproc"
34273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34278 cat >>confdefs.h
<<_ACEOF
34279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34287 if test "$wxUSE_LIBSDL" != "no"; then
34289 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34290 if test "${with_sdl_prefix+set}" = set; then
34291 withval
="$with_sdl_prefix"
34292 sdl_prefix
="$withval"
34297 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34298 if test "${with_sdl_exec_prefix+set}" = set; then
34299 withval
="$with_sdl_exec_prefix"
34300 sdl_exec_prefix
="$withval"
34304 # Check whether --enable-sdltest or --disable-sdltest was given.
34305 if test "${enable_sdltest+set}" = set; then
34306 enableval
="$enable_sdltest"
34312 if test x
$sdl_exec_prefix != x
; then
34313 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34314 if test x
${SDL_CONFIG+set} != xset
; then
34315 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34318 if test x
$sdl_prefix != x
; then
34319 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34320 if test x
${SDL_CONFIG+set} != xset
; then
34321 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34326 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34327 # Extract the first word of "sdl-config", so it can be a program name with args.
34328 set dummy sdl
-config; ac_word
=$2
34329 echo "$as_me:$LINENO: checking for $ac_word" >&5
34330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34331 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34334 case $SDL_CONFIG in
34336 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34340 for as_dir
in $PATH
34343 test -z "$as_dir" && as_dir
=.
34344 for ac_exec_ext
in '' $ac_executable_extensions; do
34345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34346 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34353 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34357 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34359 if test -n "$SDL_CONFIG"; then
34360 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34361 echo "${ECHO_T}$SDL_CONFIG" >&6
34363 echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6
34367 min_sdl_version
=1.2.0
34368 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34369 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34371 if test "$SDL_CONFIG" = "no" ; then
34374 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34375 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34377 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34379 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34381 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34383 if test "x$enable_sdltest" = "xyes" ; then
34384 ac_save_CFLAGS
="$CFLAGS"
34385 ac_save_LIBS
="$LIBS"
34386 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34387 LIBS
="$LIBS $SDL_LIBS"
34389 if test "$cross_compiling" = yes; then
34390 echo $ac_n "cross compiling; assumed OK... $ac_c"
34392 cat >conftest.
$ac_ext <<_ACEOF
34395 cat confdefs.h
>>conftest.
$ac_ext
34396 cat >>conftest.
$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34400 #include <stdlib.h>
34401 #include <string.h>
34405 my_strdup (char *str)
34411 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34412 strcpy (new_str, str);
34420 int main (int argc, char *argv[])
34422 int major, minor, micro;
34425 /* This hangs on some systems (?)
34426 system ("touch conf.sdltest");
34428 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34430 /* HP/UX 9 (%@#!) writes to sscanf strings */
34431 tmp_version = my_strdup("$min_sdl_version");
34432 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34433 printf("%s, bad version string\n", "$min_sdl_version");
34437 if (($sdl_major_version > major) ||
34438 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34439 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34445 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34446 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34447 printf("*** best to upgrade to the required version.\n");
34448 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34449 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34450 printf("*** config.cache before re-running configure\n");
34457 rm -f conftest
$ac_exeext
34458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34459 (eval $ac_link) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; }; then
34470 echo "$as_me: program exited with status $ac_status" >&5
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.
$ac_ext >&5
34474 ( exit $ac_status )
34477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34479 CFLAGS
="$ac_save_CFLAGS"
34480 LIBS
="$ac_save_LIBS"
34483 if test "x$no_sdl" = x
; then
34484 echo "$as_me:$LINENO: result: yes" >&5
34485 echo "${ECHO_T}yes" >&6
34487 EXTRALIBS_SDL
="$SDL_LIBS"
34488 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34489 cat >>confdefs.h
<<\_ACEOF
34490 #define wxUSE_LIBSDL 1
34495 echo "$as_me:$LINENO: result: no" >&5
34496 echo "${ECHO_T}no" >&6
34497 if test "$SDL_CONFIG" = "no" ; then
34498 echo "*** The sdl-config script installed by SDL could not be found"
34499 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34500 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34501 echo "*** full path to sdl-config."
34503 if test -f conf.sdltest
; then
34506 echo "*** Could not run SDL test program, checking why..."
34507 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34508 LIBS
="$LIBS $SDL_LIBS"
34509 cat >conftest.
$ac_ext <<_ACEOF
34512 cat confdefs.h
>>conftest.
$ac_ext
34513 cat >>conftest.
$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34519 int main(int argc, char *argv[])
34522 #define main K_and_R_C_main
34532 rm -f conftest.
$ac_objext conftest
$ac_exeext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34534 (eval $ac_link) 2>conftest.er1
34536 grep -v '^ *+' conftest.er1
>conftest.err
34538 cat conftest.err
>&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } &&
34541 { ac_try
='test -z "$ac_c_werror_flag"
34542 || test ! -s conftest.err'
34543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34544 (eval $ac_try) 2>&5
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); }; } &&
34548 { ac_try
='test -s conftest$ac_exeext'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; }; then
34554 echo "*** The test program compiled, but did not run. This usually means"
34555 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34556 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34557 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34558 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34559 echo "*** is required on your system"
34561 echo "*** If you have an old version installed, it is best to remove it, although"
34562 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.
$ac_ext >&5
34567 echo "*** The test program failed to compile or link. See the file config.log for the"
34568 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34569 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34570 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34572 rm -f conftest.err conftest.
$ac_objext \
34573 conftest
$ac_exeext conftest.
$ac_ext
34574 CFLAGS
="$ac_save_CFLAGS"
34575 LIBS
="$ac_save_LIBS"
34586 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34592 cat >>confdefs.h
<<\_ACEOF
34593 #define wxUSE_SOUND 1
34596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34599 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34600 cat >>confdefs.h
<<\_ACEOF
34601 #define wxUSE_CMDLINE_PARSER 1
34606 if test "$wxUSE_STOPWATCH" = "yes"; then
34607 cat >>confdefs.h
<<\_ACEOF
34608 #define wxUSE_STOPWATCH 1
34613 if test "$wxUSE_DATETIME" = "yes"; then
34614 cat >>confdefs.h
<<\_ACEOF
34615 #define wxUSE_DATETIME 1
34620 if test "$wxUSE_FILE" = "yes"; then
34621 cat >>confdefs.h
<<\_ACEOF
34622 #define wxUSE_FILE 1
34627 if test "$wxUSE_FFILE" = "yes"; then
34628 cat >>confdefs.h
<<\_ACEOF
34629 #define wxUSE_FFILE 1
34634 if test "$wxUSE_FILESYSTEM" = "yes"; then
34635 cat >>confdefs.h
<<\_ACEOF
34636 #define wxUSE_FILESYSTEM 1
34641 if test "$wxUSE_FS_ZIP" = "yes"; then
34642 cat >>confdefs.h
<<\_ACEOF
34643 #define wxUSE_FS_ZIP 1
34648 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34649 cat >>confdefs.h
<<\_ACEOF
34650 #define wxUSE_ZIPSTREAM 1
34655 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34656 cat >>confdefs.h
<<\_ACEOF
34657 #define wxUSE_ON_FATAL_EXCEPTION 1
34662 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34663 cat >>confdefs.h
<<\_ACEOF
34664 #define wxUSE_SNGLINST_CHECKER 1
34669 if test "$wxUSE_BUSYINFO" = "yes"; then
34670 cat >>confdefs.h
<<\_ACEOF
34671 #define wxUSE_BUSYINFO 1
34676 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34677 cat >>confdefs.h
<<\_ACEOF
34678 #define wxUSE_STD_IOSTREAM 1
34683 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34684 cat >>confdefs.h
<<\_ACEOF
34685 #define wxUSE_TEXTBUFFER 1
34690 if test "$wxUSE_TEXTFILE" = "yes"; then
34691 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34692 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34693 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34695 cat >>confdefs.h
<<\_ACEOF
34696 #define wxUSE_TEXTFILE 1
34702 if test "$wxUSE_CONFIG" = "yes" ; then
34703 if test "$wxUSE_TEXTFILE" != "yes"; then
34704 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34705 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34707 cat >>confdefs.h
<<\_ACEOF
34708 #define wxUSE_CONFIG 1
34711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34715 if test "$wxUSE_INTL" = "yes" ; then
34716 if test "$wxUSE_FILE" != "yes"; then
34717 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34718 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34720 cat >>confdefs.h
<<\_ACEOF
34721 #define wxUSE_INTL 1
34724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34725 GUIDIST
="$GUIDIST INTL_DIST"
34729 if test "$wxUSE_LOG" = "yes"; then
34730 cat >>confdefs.h
<<\_ACEOF
34731 #define wxUSE_LOG 1
34735 if test "$wxUSE_LOGGUI" = "yes"; then
34736 cat >>confdefs.h
<<\_ACEOF
34737 #define wxUSE_LOGGUI 1
34742 if test "$wxUSE_LOGWINDOW" = "yes"; then
34743 cat >>confdefs.h
<<\_ACEOF
34744 #define wxUSE_LOGWINDOW 1
34749 if test "$wxUSE_LOGDIALOG" = "yes"; then
34750 cat >>confdefs.h
<<\_ACEOF
34751 #define wxUSE_LOG_DIALOG 1
34757 if test "$wxUSE_LONGLONG" = "yes"; then
34758 cat >>confdefs.h
<<\_ACEOF
34759 #define wxUSE_LONGLONG 1
34764 if test "$wxUSE_GEOMETRY" = "yes"; then
34765 cat >>confdefs.h
<<\_ACEOF
34766 #define wxUSE_GEOMETRY 1
34771 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34772 cat >>confdefs.h
<<\_ACEOF
34773 #define wxUSE_DIALUP_MANAGER 1
34776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34779 if test "$wxUSE_STREAMS" = "yes" ; then
34780 cat >>confdefs.h
<<\_ACEOF
34781 #define wxUSE_STREAMS 1
34787 if test "$wxUSE_DATETIME" = "yes"; then
34789 for ac_func
in strptime
34791 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34792 echo "$as_me:$LINENO: checking for $ac_func" >&5
34793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34794 if eval "test \"\${$as_ac_var+set}\" = set"; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34797 cat >conftest.
$ac_ext <<_ACEOF
34800 cat confdefs.h
>>conftest.
$ac_ext
34801 cat >>conftest.
$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34805 #define $ac_func innocuous_$ac_func
34807 /* System header to define __stub macros and hopefully few prototypes,
34808 which can conflict with char $ac_func (); below.
34809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34810 <limits.h> exists even on freestanding compilers. */
34813 # include <limits.h>
34815 # include <assert.h>
34820 /* Override any gcc2 internal prototype to avoid an error. */
34825 /* We use char because int might match the return type of a gcc2
34826 builtin and then its argument prototype would still apply. */
34828 /* The GNU C library defines this for functions which it implements
34829 to always fail with ENOSYS. Some functions are actually named
34830 something starting with __ and the normal name is an alias. */
34831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34834 char (*f) () = $ac_func;
34843 return f != $ac_func;
34848 rm -f conftest.
$ac_objext conftest
$ac_exeext
34849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34850 (eval $ac_link) 2>conftest.er1
34852 grep -v '^ *+' conftest.er1
>conftest.err
34854 cat conftest.err
>&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } &&
34857 { ac_try
='test -z "$ac_c_werror_flag"
34858 || test ! -s conftest.err'
34859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34860 (eval $ac_try) 2>&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); }; } &&
34864 { ac_try
='test -s conftest$ac_exeext'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; }; then
34870 eval "$as_ac_var=yes"
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.
$ac_ext >&5
34875 eval "$as_ac_var=no"
34877 rm -f conftest.err conftest.
$ac_objext \
34878 conftest
$ac_exeext conftest.
$ac_ext
34880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34882 if test `eval echo '${'$as_ac_var'}'` = yes; then
34883 cat >>confdefs.h
<<_ACEOF
34884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34891 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34892 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34893 if test "${wx_cv_var_timezone+set}" = set; then
34894 echo $ECHO_N "(cached) $ECHO_C" >&6
34897 cat >conftest.
$ac_ext <<_ACEOF
34900 cat confdefs.h
>>conftest.
$ac_ext
34901 cat >>conftest.
$ac_ext <<_ACEOF
34902 /* end confdefs.h. */
34917 rm -f conftest.
$ac_objext
34918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34919 (eval $ac_compile) 2>conftest.er1
34921 grep -v '^ *+' conftest.er1
>conftest.err
34923 cat conftest.err
>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } &&
34926 { ac_try
='test -z "$ac_c_werror_flag"
34927 || test ! -s conftest.err'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; } &&
34933 { ac_try
='test -s conftest.$ac_objext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34940 wx_cv_var_timezone
=timezone
34943 echo "$as_me: failed program was:" >&5
34944 sed 's/^/| /' conftest.
$ac_ext >&5
34947 cat >conftest.
$ac_ext <<_ACEOF
34950 cat confdefs.h
>>conftest.
$ac_ext
34951 cat >>conftest.
$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34967 rm -f conftest.
$ac_objext
34968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34969 (eval $ac_compile) 2>conftest.er1
34971 grep -v '^ *+' conftest.er1
>conftest.err
34973 cat conftest.err
>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); } &&
34976 { ac_try
='test -z "$ac_c_werror_flag"
34977 || test ! -s conftest.err'
34978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34979 (eval $ac_try) 2>&5
34981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34982 (exit $ac_status); }; } &&
34983 { ac_try
='test -s conftest.$ac_objext'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; }; then
34990 wx_cv_var_timezone
=_timezone
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.
$ac_ext >&5
34997 cat >conftest.
$ac_ext <<_ACEOF
35000 cat confdefs.h
>>conftest.
$ac_ext
35001 cat >>conftest.
$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35017 rm -f conftest.
$ac_objext
35018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35019 (eval $ac_compile) 2>conftest.er1
35021 grep -v '^ *+' conftest.er1
>conftest.err
35023 cat conftest.err
>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } &&
35026 { ac_try
='test -z "$ac_c_werror_flag"
35027 || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try
='test -s conftest.$ac_objext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35040 wx_cv_var_timezone
=__timezone
35043 echo "$as_me: failed program was:" >&5
35044 sed 's/^/| /' conftest.
$ac_ext >&5
35047 if test "$USE_DOS" = 0 ; then
35048 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35049 echo "$as_me: WARNING: no timezone variable" >&2;}
35054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35066 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35067 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35069 if test "x$wx_cv_var_timezone" != x
; then
35070 cat >>confdefs.h
<<_ACEOF
35071 #define WX_TIMEZONE $wx_cv_var_timezone
35077 for ac_func
in localtime
35079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35080 echo "$as_me:$LINENO: checking for $ac_func" >&5
35081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35082 if eval "test \"\${$as_ac_var+set}\" = set"; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 cat >conftest.
$ac_ext <<_ACEOF
35088 cat confdefs.h
>>conftest.
$ac_ext
35089 cat >>conftest.
$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35093 #define $ac_func innocuous_$ac_func
35095 /* System header to define __stub macros and hopefully few prototypes,
35096 which can conflict with char $ac_func (); below.
35097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35098 <limits.h> exists even on freestanding compilers. */
35101 # include <limits.h>
35103 # include <assert.h>
35108 /* Override any gcc2 internal prototype to avoid an error. */
35113 /* We use char because int might match the return type of a gcc2
35114 builtin and then its argument prototype would still apply. */
35116 /* The GNU C library defines this for functions which it implements
35117 to always fail with ENOSYS. Some functions are actually named
35118 something starting with __ and the normal name is an alias. */
35119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35122 char (*f) () = $ac_func;
35131 return f != $ac_func;
35136 rm -f conftest.
$ac_objext conftest
$ac_exeext
35137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35138 (eval $ac_link) 2>conftest.er1
35140 grep -v '^ *+' conftest.er1
>conftest.err
35142 cat conftest.err
>&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } &&
35145 { ac_try
='test -z "$ac_c_werror_flag"
35146 || test ! -s conftest.err'
35147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35148 (eval $ac_try) 2>&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); }; } &&
35152 { ac_try
='test -s conftest$ac_exeext'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; }; then
35158 eval "$as_ac_var=yes"
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.
$ac_ext >&5
35163 eval "$as_ac_var=no"
35165 rm -f conftest.err conftest.
$ac_objext \
35166 conftest
$ac_exeext conftest.
$ac_ext
35168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35170 if test `eval echo '${'$as_ac_var'}'` = yes; then
35171 cat >>confdefs.h
<<_ACEOF
35172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35179 if test "$ac_cv_func_localtime" = "yes"; then
35180 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35181 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35182 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35186 cat >conftest.
$ac_ext <<_ACEOF
35189 cat confdefs.h
>>conftest.
$ac_ext
35190 cat >>conftest.
$ac_ext <<_ACEOF
35191 /* end confdefs.h. */
35206 rm -f conftest.
$ac_objext
35207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35208 (eval $ac_compile) 2>conftest.er1
35210 grep -v '^ *+' conftest.er1
>conftest.err
35212 cat conftest.err
>&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } &&
35215 { ac_try
='test -z "$ac_c_werror_flag"
35216 || test ! -s conftest.err'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; } &&
35222 { ac_try
='test -s conftest.$ac_objext'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }; then
35229 wx_cv_struct_tm_has_gmtoff
=yes
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.
$ac_ext >&5
35235 wx_cv_struct_tm_has_gmtoff
=no
35238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35241 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35242 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35245 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35246 cat >>confdefs.h
<<\_ACEOF
35247 #define WX_GMTOFF_IN_TM 1
35254 for ac_func
in gettimeofday ftime
35256 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35257 echo "$as_me:$LINENO: checking for $ac_func" >&5
35258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35259 if eval "test \"\${$as_ac_var+set}\" = set"; then
35260 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 cat >conftest.
$ac_ext <<_ACEOF
35265 cat confdefs.h
>>conftest.
$ac_ext
35266 cat >>conftest.
$ac_ext <<_ACEOF
35267 /* end confdefs.h. */
35268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35270 #define $ac_func innocuous_$ac_func
35272 /* System header to define __stub macros and hopefully few prototypes,
35273 which can conflict with char $ac_func (); below.
35274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35275 <limits.h> exists even on freestanding compilers. */
35278 # include <limits.h>
35280 # include <assert.h>
35285 /* Override any gcc2 internal prototype to avoid an error. */
35290 /* We use char because int might match the return type of a gcc2
35291 builtin and then its argument prototype would still apply. */
35293 /* The GNU C library defines this for functions which it implements
35294 to always fail with ENOSYS. Some functions are actually named
35295 something starting with __ and the normal name is an alias. */
35296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35299 char (*f) () = $ac_func;
35308 return f != $ac_func;
35313 rm -f conftest.
$ac_objext conftest
$ac_exeext
35314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35315 (eval $ac_link) 2>conftest.er1
35317 grep -v '^ *+' conftest.er1
>conftest.err
35319 cat conftest.err
>&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); } &&
35322 { ac_try
='test -z "$ac_c_werror_flag"
35323 || test ! -s conftest.err'
35324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35325 (eval $ac_try) 2>&5
35327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35328 (exit $ac_status); }; } &&
35329 { ac_try
='test -s conftest$ac_exeext'
35330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35331 (eval $ac_try) 2>&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); }; }; then
35335 eval "$as_ac_var=yes"
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.
$ac_ext >&5
35340 eval "$as_ac_var=no"
35342 rm -f conftest.err conftest.
$ac_objext \
35343 conftest
$ac_exeext conftest.
$ac_ext
35345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35347 if test `eval echo '${'$as_ac_var'}'` = yes; then
35348 cat >>confdefs.h
<<_ACEOF
35349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35356 if test "$ac_cv_func_gettimeofday" = "yes"; then
35357 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35358 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35359 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35360 echo $ECHO_N "(cached) $ECHO_C" >&6
35366 ac_cpp
='$CXXCPP $CPPFLAGS'
35367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35372 cat >conftest.
$ac_ext <<_ACEOF
35375 cat confdefs.h
>>conftest.
$ac_ext
35376 cat >>conftest.
$ac_ext <<_ACEOF
35377 /* end confdefs.h. */
35379 #include <sys/time.h>
35380 #include <unistd.h>
35387 gettimeofday(&tv, NULL);
35393 rm -f conftest.
$ac_objext
35394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35395 (eval $ac_compile) 2>conftest.er1
35397 grep -v '^ *+' conftest.er1
>conftest.err
35399 cat conftest.err
>&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } &&
35402 { ac_try
='test -z "$ac_cxx_werror_flag"
35403 || test ! -s conftest.err'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; } &&
35409 { ac_try
='test -s conftest.$ac_objext'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; }; then
35415 wx_cv_func_gettimeofday_has_2_args
=yes
35417 echo "$as_me: failed program was:" >&5
35418 sed 's/^/| /' conftest.
$ac_ext >&5
35420 cat >conftest.
$ac_ext <<_ACEOF
35423 cat confdefs.h
>>conftest.
$ac_ext
35424 cat >>conftest.
$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35427 #include <sys/time.h>
35428 #include <unistd.h>
35441 rm -f conftest.
$ac_objext
35442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35443 (eval $ac_compile) 2>conftest.er1
35445 grep -v '^ *+' conftest.er1
>conftest.err
35447 cat conftest.err
>&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); } &&
35450 { ac_try
='test -z "$ac_cxx_werror_flag"
35451 || test ! -s conftest.err'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; } &&
35457 { ac_try
='test -s conftest.$ac_objext'
35458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35459 (eval $ac_try) 2>&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); }; }; then
35463 wx_cv_func_gettimeofday_has_2_args
=no
35465 echo "$as_me: failed program was:" >&5
35466 sed 's/^/| /' conftest.
$ac_ext >&5
35469 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35470 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35471 wx_cv_func_gettimeofday_has_2_args
=unknown
35475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35480 ac_cpp
='$CPP $CPPFLAGS'
35481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35487 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35488 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35490 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35491 cat >>confdefs.h
<<\_ACEOF
35492 #define WX_GETTIMEOFDAY_NO_TZ 1
35498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35502 if test "$wxUSE_SOCKETS" = "yes"; then
35503 if test "$wxUSE_MGL" = "1"; then
35504 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35505 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35510 if test "$wxUSE_SOCKETS" = "yes"; then
35511 if test "$TOOLKIT" != "MSW"; then
35512 echo "$as_me:$LINENO: checking for socket" >&5
35513 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35514 if test "${ac_cv_func_socket+set}" = set; then
35515 echo $ECHO_N "(cached) $ECHO_C" >&6
35517 cat >conftest.
$ac_ext <<_ACEOF
35520 cat confdefs.h
>>conftest.
$ac_ext
35521 cat >>conftest.
$ac_ext <<_ACEOF
35522 /* end confdefs.h. */
35523 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35525 #define socket innocuous_socket
35527 /* System header to define __stub macros and hopefully few prototypes,
35528 which can conflict with char socket (); below.
35529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35530 <limits.h> exists even on freestanding compilers. */
35533 # include <limits.h>
35535 # include <assert.h>
35540 /* Override any gcc2 internal prototype to avoid an error. */
35545 /* We use char because int might match the return type of a gcc2
35546 builtin and then its argument prototype would still apply. */
35548 /* The GNU C library defines this for functions which it implements
35549 to always fail with ENOSYS. Some functions are actually named
35550 something starting with __ and the normal name is an alias. */
35551 #if defined (__stub_socket) || defined (__stub___socket)
35554 char (*f) () = socket;
35563 return f != socket;
35568 rm -f conftest.
$ac_objext conftest
$ac_exeext
35569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35570 (eval $ac_link) 2>conftest.er1
35572 grep -v '^ *+' conftest.er1
>conftest.err
35574 cat conftest.err
>&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); } &&
35577 { ac_try
='test -z "$ac_c_werror_flag"
35578 || test ! -s conftest.err'
35579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35580 (eval $ac_try) 2>&5
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); }; } &&
35584 { ac_try
='test -s conftest$ac_exeext'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; }; then
35590 ac_cv_func_socket
=yes
35592 echo "$as_me: failed program was:" >&5
35593 sed 's/^/| /' conftest.
$ac_ext >&5
35595 ac_cv_func_socket
=no
35597 rm -f conftest.err conftest.
$ac_objext \
35598 conftest
$ac_exeext conftest.
$ac_ext
35600 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35601 echo "${ECHO_T}$ac_cv_func_socket" >&6
35602 if test $ac_cv_func_socket = yes; then
35606 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35607 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35608 if test "${ac_cv_lib_socket_socket+set}" = set; then
35609 echo $ECHO_N "(cached) $ECHO_C" >&6
35611 ac_check_lib_save_LIBS
=$LIBS
35612 LIBS
="-lsocket $LIBS"
35613 cat >conftest.
$ac_ext <<_ACEOF
35616 cat confdefs.h
>>conftest.
$ac_ext
35617 cat >>conftest.
$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35620 /* Override any gcc2 internal prototype to avoid an error. */
35624 /* We use char because int might match the return type of a gcc2
35625 builtin and then its argument prototype would still apply. */
35635 rm -f conftest.
$ac_objext conftest
$ac_exeext
35636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35637 (eval $ac_link) 2>conftest.er1
35639 grep -v '^ *+' conftest.er1
>conftest.err
35641 cat conftest.err
>&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } &&
35644 { ac_try
='test -z "$ac_c_werror_flag"
35645 || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try
='test -s conftest$ac_exeext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 ac_cv_lib_socket_socket
=yes
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.
$ac_ext >&5
35662 ac_cv_lib_socket_socket
=no
35664 rm -f conftest.err conftest.
$ac_objext \
35665 conftest
$ac_exeext conftest.
$ac_ext
35666 LIBS
=$ac_check_lib_save_LIBS
35668 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35669 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35670 if test $ac_cv_lib_socket_socket = yes; then
35671 if test "$INET_LINK" != " -lsocket"; then
35672 INET_LINK
="$INET_LINK -lsocket"
35676 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35677 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35690 if test "$wxUSE_SOCKETS" = "yes" ; then
35691 if test "$TOOLKIT" != "MSW"; then
35693 ac_cpp
='$CXXCPP $CPPFLAGS'
35694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35698 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35699 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35700 if test "${wx_cv_type_getsockname3+set}" = set; then
35701 echo $ECHO_N "(cached) $ECHO_C" >&6
35704 cat >conftest.
$ac_ext <<_ACEOF
35707 cat confdefs.h
>>conftest.
$ac_ext
35708 cat >>conftest.
$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35711 #include <sys/types.h>
35712 #include <sys/socket.h>
35719 getsockname(0, 0, &len);
35725 rm -f conftest.
$ac_objext
35726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35727 (eval $ac_compile) 2>conftest.er1
35729 grep -v '^ *+' conftest.er1
>conftest.err
35731 cat conftest.err
>&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); } &&
35734 { ac_try
='test -z "$ac_cxx_werror_flag"
35735 || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try
='test -s conftest.$ac_objext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 wx_cv_type_getsockname3
=socklen_t
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.
$ac_ext >&5
35753 CFLAGS_OLD
="$CFLAGS"
35754 if test "$GCC" = yes ; then
35755 CFLAGS
="$CFLAGS -Werror"
35758 cat >conftest.
$ac_ext <<_ACEOF
35761 cat confdefs.h
>>conftest.
$ac_ext
35762 cat >>conftest.
$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35765 #include <sys/types.h>
35766 #include <sys/socket.h>
35773 getsockname(0, 0, &len);
35779 rm -f conftest.
$ac_objext
35780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35781 (eval $ac_compile) 2>conftest.er1
35783 grep -v '^ *+' conftest.er1
>conftest.err
35785 cat conftest.err
>&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); } &&
35788 { ac_try
='test -z "$ac_cxx_werror_flag"
35789 || test ! -s conftest.err'
35790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35791 (eval $ac_try) 2>&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); }; } &&
35795 { ac_try
='test -s conftest.$ac_objext'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; }; then
35801 wx_cv_type_getsockname3
=size_t
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.
$ac_ext >&5
35806 cat >conftest.
$ac_ext <<_ACEOF
35809 cat confdefs.h
>>conftest.
$ac_ext
35810 cat >>conftest.
$ac_ext <<_ACEOF
35811 /* end confdefs.h. */
35813 #include <sys/types.h>
35814 #include <sys/socket.h>
35821 getsockname(0, 0, &len);
35827 rm -f conftest.
$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35831 grep -v '^ *+' conftest.er1
>conftest.err
35833 cat conftest.err
>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try
='test -z "$ac_cxx_werror_flag"
35837 || test ! -s conftest.err'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; } &&
35843 { ac_try
='test -s conftest.$ac_objext'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; }; then
35849 wx_cv_type_getsockname3
=int
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.
$ac_ext >&5
35854 wx_cv_type_getsockname3
=unknown
35857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35862 CFLAGS
="$CFLAGS_OLD"
35866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35869 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35870 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35872 if test "$wx_cv_type_getsockname3" = "unknown"; then
35874 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35875 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35877 cat >>confdefs.h
<<_ACEOF
35878 #define SOCKLEN_T $wx_cv_type_getsockname3
35883 ac_cpp
='$CPP $CPPFLAGS'
35884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35891 if test "$wxUSE_SOCKETS" = "yes" ; then
35892 cat >>confdefs.h
<<\_ACEOF
35893 #define wxUSE_SOCKETS 1
35896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35899 if test "$wxUSE_PROTOCOL" = "yes"; then
35900 if test "$wxUSE_SOCKETS" != "yes"; then
35901 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35902 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35907 if test "$wxUSE_PROTOCOL" = "yes"; then
35908 cat >>confdefs.h
<<\_ACEOF
35909 #define wxUSE_PROTOCOL 1
35913 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35914 cat >>confdefs.h
<<\_ACEOF
35915 #define wxUSE_PROTOCOL_HTTP 1
35919 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35920 cat >>confdefs.h
<<\_ACEOF
35921 #define wxUSE_PROTOCOL_FTP 1
35925 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35926 cat >>confdefs.h
<<\_ACEOF
35927 #define wxUSE_PROTOCOL_FILE 1
35932 if test "$wxUSE_FS_INET" = "yes"; then
35933 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35934 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35939 if test "$wxUSE_URL" = "yes"; then
35940 if test "$wxUSE_PROTOCOL" != "yes"; then
35941 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35942 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35945 if test "$wxUSE_URL" = "yes"; then
35946 cat >>confdefs.h
<<\_ACEOF
35947 #define wxUSE_URL 1
35953 if test "$wxUSE_FS_INET" = "yes"; then
35954 cat >>confdefs.h
<<\_ACEOF
35955 #define wxUSE_FS_INET 1
35961 if test "$wxUSE_GUI" = "yes"; then
35963 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35964 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35965 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35969 if test "$TOOLKIT" != "MSW"; then
35970 if test "$wxUSE_JOYSTICK" = "yes"; then
35972 for ac_header
in linux
/joystick.h
35974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35976 echo "$as_me:$LINENO: checking for $ac_header" >&5
35977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35984 # Is the header compilable?
35985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35987 cat >conftest.
$ac_ext <<_ACEOF
35990 cat confdefs.h
>>conftest.
$ac_ext
35991 cat >>conftest.
$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993 $ac_includes_default
35994 #include <$ac_header>
35996 rm -f conftest.
$ac_objext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35998 (eval $ac_compile) 2>conftest.er1
36000 grep -v '^ *+' conftest.er1
>conftest.err
36002 cat conftest.err
>&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try
='test -z "$ac_c_werror_flag"
36006 || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try
='test -s conftest.$ac_objext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 ac_header_compiler
=yes
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.
$ac_ext >&5
36023 ac_header_compiler
=no
36025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36027 echo "${ECHO_T}$ac_header_compiler" >&6
36029 # Is the header present?
36030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36032 cat >conftest.
$ac_ext <<_ACEOF
36035 cat confdefs.h
>>conftest.
$ac_ext
36036 cat >>conftest.
$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 #include <$ac_header>
36040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36043 grep -v '^ *+' conftest.er1
>conftest.err
36045 cat conftest.err
>&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } >/dev
/null
; then
36048 if test -s conftest.err
; then
36049 ac_cpp_err
=$ac_c_preproc_warn_flag
36050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36057 if test -z "$ac_cpp_err"; then
36058 ac_header_preproc
=yes
36060 echo "$as_me: failed program was:" >&5
36061 sed 's/^/| /' conftest.
$ac_ext >&5
36063 ac_header_preproc
=no
36065 rm -f conftest.err conftest.
$ac_ext
36066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36067 echo "${ECHO_T}$ac_header_preproc" >&6
36069 # So? What about this header?
36070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36076 ac_header_preproc
=yes
36079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36093 ## ----------------------------------------- ##
36094 ## Report this to wx-dev@lists.wxwidgets.org ##
36095 ## ----------------------------------------- ##
36098 sed "s/^/$as_me: WARNING: /" >&2
36101 echo "$as_me:$LINENO: checking for $ac_header" >&5
36102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36104 echo $ECHO_N "(cached) $ECHO_C" >&6
36106 eval "$as_ac_Header=\$ac_header_preproc"
36108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36113 cat >>confdefs.h
<<_ACEOF
36114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36121 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36123 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36124 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36129 if test "$wxUSE_JOYSTICK" = "yes"; then
36130 cat >>confdefs.h
<<\_ACEOF
36131 #define wxUSE_JOYSTICK 1
36134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36140 if test "$wxUSE_FONTMAP" = "yes" ; then
36141 cat >>confdefs.h
<<\_ACEOF
36142 #define wxUSE_FONTMAP 1
36147 if test "$wxUSE_UNICODE" = "yes" ; then
36148 cat >>confdefs.h
<<\_ACEOF
36149 #define wxUSE_UNICODE 1
36153 if test "$USE_WIN32" != 1; then
36154 wxUSE_UNICODE_MSLU
=no
36157 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36158 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36159 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36160 if test "${ac_cv_lib_unicows_main+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36163 ac_check_lib_save_LIBS
=$LIBS
36164 LIBS
="-lunicows $LIBS"
36165 cat >conftest.
$ac_ext <<_ACEOF
36168 cat confdefs.h
>>conftest.
$ac_ext
36169 cat >>conftest.
$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36181 rm -f conftest.
$ac_objext conftest
$ac_exeext
36182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36183 (eval $ac_link) 2>conftest.er1
36185 grep -v '^ *+' conftest.er1
>conftest.err
36187 cat conftest.err
>&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); } &&
36190 { ac_try
='test -z "$ac_c_werror_flag"
36191 || test ! -s conftest.err'
36192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193 (eval $ac_try) 2>&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); }; } &&
36197 { ac_try
='test -s conftest$ac_exeext'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; }; then
36203 ac_cv_lib_unicows_main
=yes
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.
$ac_ext >&5
36208 ac_cv_lib_unicows_main
=no
36210 rm -f conftest.err conftest.
$ac_objext \
36211 conftest
$ac_exeext conftest.
$ac_ext
36212 LIBS
=$ac_check_lib_save_LIBS
36214 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36215 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36216 if test $ac_cv_lib_unicows_main = yes; then
36218 cat >>confdefs.h
<<\_ACEOF
36219 #define wxUSE_UNICODE_MSLU 1
36225 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36226 Applications will only run on Windows NT/2000/XP!" >&5
36227 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36228 Applications will only run on Windows NT/2000/XP!" >&2;}
36229 wxUSE_UNICODE_MSLU
=no
36236 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36237 cat >>confdefs.h
<<\_ACEOF
36238 #define wxUSE_EXPERIMENTAL_PRINTF 1
36244 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36245 cat >>confdefs.h
<<\_ACEOF
36246 #define wxUSE_POSTSCRIPT 1
36251 cat >>confdefs.h
<<\_ACEOF
36252 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36256 cat >>confdefs.h
<<\_ACEOF
36257 #define wxUSE_NORMALIZED_PS_FONTS 1
36262 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36263 cat >>confdefs.h
<<\_ACEOF
36264 #define wxUSE_CONSTRAINTS 1
36267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36270 if test "$wxUSE_MDI" = "yes"; then
36271 cat >>confdefs.h
<<\_ACEOF
36272 #define wxUSE_MDI 1
36276 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36277 cat >>confdefs.h
<<\_ACEOF
36278 #define wxUSE_MDI_ARCHITECTURE 1
36281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36285 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36286 cat >>confdefs.h
<<\_ACEOF
36287 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36291 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36296 if test "$wxUSE_HELP" = "yes"; then
36297 cat >>confdefs.h
<<\_ACEOF
36298 #define wxUSE_HELP 1
36301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36303 if test "$wxUSE_MSW" = 1; then
36304 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36305 cat >>confdefs.h
<<\_ACEOF
36306 #define wxUSE_MS_HTML_HELP 1
36312 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36313 if test "$wxUSE_HTML" = "yes"; then
36314 cat >>confdefs.h
<<\_ACEOF
36315 #define wxUSE_WXHTML_HELP 1
36319 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36320 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36321 wxUSE_WXHTML_HELP
=no
36326 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36327 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36328 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36329 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36331 cat >>confdefs.h
<<\_ACEOF
36332 #define wxUSE_PRINTING_ARCHITECTURE 1
36336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36339 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36340 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36341 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36342 { (exit 1); exit 1; }; }
36346 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36347 -o "$wxUSE_CLIPBOARD" = "yes" \
36348 -o "$wxUSE_OLE" = "yes" \
36349 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36351 for ac_header
in ole2.h
36353 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36355 echo "$as_me:$LINENO: checking for $ac_header" >&5
36356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36358 echo $ECHO_N "(cached) $ECHO_C" >&6
36360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36363 # Is the header compilable?
36364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36366 cat >conftest.
$ac_ext <<_ACEOF
36369 cat confdefs.h
>>conftest.
$ac_ext
36370 cat >>conftest.
$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36372 $ac_includes_default
36373 #include <$ac_header>
36375 rm -f conftest.
$ac_objext
36376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36377 (eval $ac_compile) 2>conftest.er1
36379 grep -v '^ *+' conftest.er1
>conftest.err
36381 cat conftest.err
>&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } &&
36384 { ac_try
='test -z "$ac_c_werror_flag"
36385 || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try
='test -s conftest.$ac_objext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 ac_header_compiler
=yes
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 ac_header_compiler
=no
36404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36406 echo "${ECHO_T}$ac_header_compiler" >&6
36408 # Is the header present?
36409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36411 cat >conftest.
$ac_ext <<_ACEOF
36414 cat confdefs.h
>>conftest.
$ac_ext
36415 cat >>conftest.
$ac_ext <<_ACEOF
36416 /* end confdefs.h. */
36417 #include <$ac_header>
36419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36422 grep -v '^ *+' conftest.er1
>conftest.err
36424 cat conftest.err
>&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } >/dev
/null
; then
36427 if test -s conftest.err
; then
36428 ac_cpp_err
=$ac_c_preproc_warn_flag
36429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36436 if test -z "$ac_cpp_err"; then
36437 ac_header_preproc
=yes
36439 echo "$as_me: failed program was:" >&5
36440 sed 's/^/| /' conftest.
$ac_ext >&5
36442 ac_header_preproc
=no
36444 rm -f conftest.err conftest.
$ac_ext
36445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36446 echo "${ECHO_T}$ac_header_preproc" >&6
36448 # So? What about this header?
36449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36455 ac_header_preproc
=yes
36458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36472 ## ----------------------------------------- ##
36473 ## Report this to wx-dev@lists.wxwidgets.org ##
36474 ## ----------------------------------------- ##
36477 sed "s/^/$as_me: WARNING: /" >&2
36480 echo "$as_me:$LINENO: checking for $ac_header" >&5
36481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 eval "$as_ac_Header=\$ac_header_preproc"
36487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36492 cat >>confdefs.h
<<_ACEOF
36493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36501 if test "$ac_cv_header_ole2_h" = "yes" ; then
36502 if test "$GCC" = yes ; then
36506 ac_cpp
='$CXXCPP $CPPFLAGS'
36507 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36512 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36513 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36514 cat >conftest.
$ac_ext <<_ACEOF
36517 cat confdefs.h
>>conftest.
$ac_ext
36518 cat >>conftest.
$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 #include <windows.h>
36530 rm -f conftest.
$ac_objext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36532 (eval $ac_compile) 2>conftest.er1
36534 grep -v '^ *+' conftest.er1
>conftest.err
36536 cat conftest.err
>&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try
='test -z "$ac_cxx_werror_flag"
36540 || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try
='test -s conftest.$ac_objext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 echo "$as_me:$LINENO: result: no" >&5
36553 echo "${ECHO_T}no" >&6
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.
$ac_ext >&5
36558 echo "$as_me:$LINENO: result: yes" >&5
36559 echo "${ECHO_T}yes" >&6
36560 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36564 ac_cpp
='$CPP $CPPFLAGS'
36565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36569 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36570 if test "$wxUSE_OLE" = "yes" ; then
36571 cat >>confdefs.h
<<\_ACEOF
36572 #define wxUSE_OLE 1
36578 if test "$wxUSE_DATAOBJ" = "yes" ; then
36579 cat >>confdefs.h
<<\_ACEOF
36580 #define wxUSE_DATAOBJ 1
36585 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36586 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36589 wxUSE_DRAG_AND_DROP
=no
36594 if test "$wxUSE_METAFILE" = "yes"; then
36595 cat >>confdefs.h
<<\_ACEOF
36596 #define wxUSE_METAFILE 1
36600 cat >>confdefs.h
<<\_ACEOF
36601 #define wxUSE_ENH_METAFILE 1
36607 if test "$wxUSE_IPC" = "yes"; then
36608 if test "$wxUSE_SOCKETS" != "yes"; then
36609 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36610 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36613 cat >>confdefs.h
<<\_ACEOF
36614 #define wxUSE_IPC 1
36619 if test "$wxUSE_CLIPBOARD" = "yes"; then
36620 if test "$wxUSE_MGL" = 1; then
36621 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36622 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36626 if test "$wxUSE_CLIPBOARD" = "yes"; then
36627 cat >>confdefs.h
<<\_ACEOF
36628 #define wxUSE_CLIPBOARD 1
36632 cat >>confdefs.h
<<\_ACEOF
36633 #define wxUSE_DATAOBJ 1
36639 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36640 if test "$wxUSE_GTK" = 1; then
36641 if test "$WXGTK12" != 1; then
36642 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36643 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36644 wxUSE_DRAG_AND_DROP
=no
36648 if test "$wxUSE_MOTIF" = 1; then
36649 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36650 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36651 wxUSE_DRAG_AND_DROP
=no
36654 if test "$wxUSE_X11" = 1; then
36655 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36656 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36657 wxUSE_DRAG_AND_DROP
=no
36660 if test "$wxUSE_MGL" = 1; then
36661 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36662 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36663 wxUSE_DRAG_AND_DROP
=no
36666 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36667 cat >>confdefs.h
<<\_ACEOF
36668 #define wxUSE_DRAG_AND_DROP 1
36675 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36679 if test "$wxUSE_SPLINES" = "yes" ; then
36680 cat >>confdefs.h
<<\_ACEOF
36681 #define wxUSE_SPLINES 1
36688 if test "$wxUSE_CONTROLS" = "yes"; then
36692 if test "$wxUSE_ACCEL" = "yes"; then
36693 cat >>confdefs.h
<<\_ACEOF
36694 #define wxUSE_ACCEL 1
36700 if test "$wxUSE_BUTTON" = "yes"; then
36701 cat >>confdefs.h
<<\_ACEOF
36702 #define wxUSE_BUTTON 1
36708 if test "$wxUSE_BMPBUTTON" = "yes"; then
36709 cat >>confdefs.h
<<\_ACEOF
36710 #define wxUSE_BMPBUTTON 1
36716 if test "$wxUSE_CALCTRL" = "yes"; then
36717 cat >>confdefs.h
<<\_ACEOF
36718 #define wxUSE_CALENDARCTRL 1
36722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36725 if test "$wxUSE_CARET" = "yes"; then
36726 cat >>confdefs.h
<<\_ACEOF
36727 #define wxUSE_CARET 1
36731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36734 if test "$wxUSE_COMBOBOX" = "yes"; then
36735 cat >>confdefs.h
<<\_ACEOF
36736 #define wxUSE_COMBOBOX 1
36742 if test "$wxUSE_CHOICE" = "yes"; then
36743 cat >>confdefs.h
<<\_ACEOF
36744 #define wxUSE_CHOICE 1
36750 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36751 cat >>confdefs.h
<<\_ACEOF
36752 #define wxUSE_CHOICEBOOK 1
36758 if test "$wxUSE_CHECKBOX" = "yes"; then
36759 cat >>confdefs.h
<<\_ACEOF
36760 #define wxUSE_CHECKBOX 1
36766 if test "$wxUSE_CHECKLST" = "yes"; then
36767 cat >>confdefs.h
<<\_ACEOF
36768 #define wxUSE_CHECKLISTBOX 1
36772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36775 if test "$wxUSE_DISPLAY" = "yes"; then
36776 cat >>confdefs.h
<<\_ACEOF
36777 #define wxUSE_DISPLAY 1
36780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36783 if test "$wxUSE_GAUGE" = "yes"; then
36784 cat >>confdefs.h
<<\_ACEOF
36785 #define wxUSE_GAUGE 1
36791 if test "$wxUSE_GRID" = "yes"; then
36792 cat >>confdefs.h
<<\_ACEOF
36793 #define wxUSE_GRID 1
36797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36800 if test "$wxUSE_IMAGLIST" = "yes"; then
36801 cat >>confdefs.h
<<\_ACEOF
36802 #define wxUSE_IMAGLIST 1
36807 if test "$wxUSE_LISTBOOK" = "yes"; then
36808 cat >>confdefs.h
<<\_ACEOF
36809 #define wxUSE_LISTBOOK 1
36815 if test "$wxUSE_LISTBOX" = "yes"; then
36816 cat >>confdefs.h
<<\_ACEOF
36817 #define wxUSE_LISTBOX 1
36823 if test "$wxUSE_LISTCTRL" = "yes"; then
36824 if test "$wxUSE_IMAGLIST" = "yes"; then
36825 cat >>confdefs.h
<<\_ACEOF
36826 #define wxUSE_LISTCTRL 1
36830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36832 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36833 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36837 if test "$wxUSE_NOTEBOOK" = "yes"; then
36838 cat >>confdefs.h
<<\_ACEOF
36839 #define wxUSE_NOTEBOOK 1
36843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36847 if test "$wxUSE_RADIOBOX" = "yes"; then
36848 cat >>confdefs.h
<<\_ACEOF
36849 #define wxUSE_RADIOBOX 1
36855 if test "$wxUSE_RADIOBTN" = "yes"; then
36856 cat >>confdefs.h
<<\_ACEOF
36857 #define wxUSE_RADIOBTN 1
36863 if test "$wxUSE_SASH" = "yes"; then
36864 cat >>confdefs.h
<<\_ACEOF
36865 #define wxUSE_SASH 1
36868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36871 if test "$wxUSE_SCROLLBAR" = "yes"; then
36872 cat >>confdefs.h
<<\_ACEOF
36873 #define wxUSE_SCROLLBAR 1
36877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36880 if test "$wxUSE_SLIDER" = "yes"; then
36881 cat >>confdefs.h
<<\_ACEOF
36882 #define wxUSE_SLIDER 1
36888 if test "$wxUSE_SPINBTN" = "yes"; then
36889 cat >>confdefs.h
<<\_ACEOF
36890 #define wxUSE_SPINBTN 1
36896 if test "$wxUSE_SPINCTRL" = "yes"; then
36897 cat >>confdefs.h
<<\_ACEOF
36898 #define wxUSE_SPINCTRL 1
36904 if test "$wxUSE_SPLITTER" = "yes"; then
36905 cat >>confdefs.h
<<\_ACEOF
36906 #define wxUSE_SPLITTER 1
36909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36912 if test "$wxUSE_STATBMP" = "yes"; then
36913 cat >>confdefs.h
<<\_ACEOF
36914 #define wxUSE_STATBMP 1
36920 if test "$wxUSE_STATBOX" = "yes"; then
36921 cat >>confdefs.h
<<\_ACEOF
36922 #define wxUSE_STATBOX 1
36928 if test "$wxUSE_STATTEXT" = "yes"; then
36929 cat >>confdefs.h
<<\_ACEOF
36930 #define wxUSE_STATTEXT 1
36936 if test "$wxUSE_STATLINE" = "yes"; then
36937 cat >>confdefs.h
<<\_ACEOF
36938 #define wxUSE_STATLINE 1
36944 if test "$wxUSE_STATUSBAR" = "yes"; then
36945 cat >>confdefs.h
<<\_ACEOF
36946 #define wxUSE_STATUSBAR 1
36951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36954 if test "$wxUSE_TABDIALOG" = "yes"; then
36955 cat >>confdefs.h
<<\_ACEOF
36956 #define wxUSE_TAB_DIALOG 1
36959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36962 if test "$wxUSE_TEXTCTRL" = "yes"; then
36963 cat >>confdefs.h
<<\_ACEOF
36964 #define wxUSE_TEXTCTRL 1
36968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36971 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36972 if test "$wxUSE_COCOA" = 1 ; then
36973 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36974 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36977 if test "$wxUSE_PM" = 1; then
36978 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36979 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36983 if test "$wxUSE_UNIVERSAL" = "yes"; then
36984 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36985 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36989 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36990 cat >>confdefs.h
<<\_ACEOF
36991 #define wxUSE_TOGGLEBTN 1
36998 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define wxUSE_TOOLBAR_SIMPLE 1
37003 wxUSE_TOOLBAR
="yes"
37007 if test "$wxUSE_TOOLBAR" = "yes"; then
37008 cat >>confdefs.h
<<\_ACEOF
37009 #define wxUSE_TOOLBAR 1
37014 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37015 wxUSE_TOOLBAR_NATIVE
="yes"
37018 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37019 cat >>confdefs.h
<<\_ACEOF
37020 #define wxUSE_TOOLBAR_NATIVE 1
37026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37029 if test "$wxUSE_TOOLTIPS" = "yes"; then
37030 if test "$wxUSE_MOTIF" = 1; then
37031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37032 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37034 if test "$wxUSE_UNIVERSAL" = "yes"; then
37035 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37036 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37038 cat >>confdefs.h
<<\_ACEOF
37039 #define wxUSE_TOOLTIPS 1
37046 if test "$wxUSE_TREECTRL" = "yes"; then
37047 if test "$wxUSE_IMAGLIST" = "yes"; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_TREECTRL 1
37053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37055 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37056 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37060 if test "$wxUSE_POPUPWIN" = "yes"; then
37061 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37062 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37063 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37065 if test "$wxUSE_PM" = 1; then
37066 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37067 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37069 cat >>confdefs.h
<<\_ACEOF
37070 #define wxUSE_POPUPWIN 1
37079 if test "$wxUSE_TIPWINDOW" = "yes"; then
37080 if test "$wxUSE_PM" = 1; then
37081 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37082 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37084 cat >>confdefs.h
<<\_ACEOF
37085 #define wxUSE_TIPWINDOW 1
37091 if test "$USES_CONTROLS" = 1; then
37092 cat >>confdefs.h
<<\_ACEOF
37093 #define wxUSE_CONTROLS 1
37099 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37100 cat >>confdefs.h
<<\_ACEOF
37101 #define wxUSE_ACCESSIBILITY 1
37104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37107 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37108 cat >>confdefs.h
<<\_ACEOF
37109 #define wxUSE_DRAGIMAGE 1
37112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37115 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37116 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37117 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37118 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37120 cat >>confdefs.h
<<\_ACEOF
37121 #define wxUSE_EXCEPTIONS 1
37124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37129 if test "$wxUSE_HTML" = "yes"; then
37130 cat >>confdefs.h
<<\_ACEOF
37131 #define wxUSE_HTML 1
37135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37136 if test "$wxUSE_MAC" = 1; then
37137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37140 if test "$wxUSE_WEBKIT" = "yes"; then
37141 if test "$wxUSE_MAC" = 1; then
37142 old_CPPFLAGS
="$CPPFLAGS"
37143 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37144 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37145 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37146 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37147 echo $ECHO_N "(cached) $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 <Carbon/Carbon.h>
37157 #include <WebKit/HIWebView.h>
37159 rm -f conftest.
$ac_objext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37161 (eval $ac_compile) 2>conftest.er1
37163 grep -v '^ *+' conftest.er1
>conftest.err
37165 cat conftest.err
>&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try
='test -z "$ac_c_werror_flag"
37169 || test ! -s conftest.err'
37170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37171 (eval $ac_try) 2>&5
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); }; } &&
37175 { ac_try
='test -s conftest.$ac_objext'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; }; then
37181 ac_cv_header_WebKit_HIWebView_h
=yes
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.
$ac_ext >&5
37186 ac_cv_header_WebKit_HIWebView_h
=no
37188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37190 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37191 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37192 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37194 cat >>confdefs.h
<<\_ACEOF
37195 #define wxUSE_WEBKIT 1
37198 WEBKIT_LINK
="-framework WebKit"
37202 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37203 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37209 CPPFLAGS
="$old_CPPFLAGS"
37210 elif test "$wxUSE_COCOA" = 1; then
37211 cat >>confdefs.h
<<\_ACEOF
37212 #define wxUSE_WEBKIT 1
37221 if test "$wxUSE_XRC" = "yes"; then
37222 if test "$wxUSE_XML" != "yes"; then
37223 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37224 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37227 cat >>confdefs.h
<<\_ACEOF
37228 #define wxUSE_XRC 1
37232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37236 if test "$wxUSE_MENUS" = "yes"; then
37237 cat >>confdefs.h
<<\_ACEOF
37238 #define wxUSE_MENUS 1
37241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37244 if test "$wxUSE_METAFILE" = "yes"; then
37245 cat >>confdefs.h
<<\_ACEOF
37246 #define wxUSE_METAFILE 1
37251 if test "$wxUSE_MIMETYPE" = "yes"; then
37252 cat >>confdefs.h
<<\_ACEOF
37253 #define wxUSE_MIMETYPE 1
37258 if test "$wxUSE_MINIFRAME" = "yes"; then
37259 cat >>confdefs.h
<<\_ACEOF
37260 #define wxUSE_MINIFRAME 1
37263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37266 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37267 cat >>confdefs.h
<<\_ACEOF
37268 #define wxUSE_SYSTEM_OPTIONS 1
37271 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37272 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37278 if test "$wxUSE_VALIDATORS" = "yes"; then
37279 cat >>confdefs.h
<<\_ACEOF
37280 #define wxUSE_VALIDATORS 1
37283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37286 if test "$wxUSE_PALETTE" = "yes" ; then
37287 cat >>confdefs.h
<<\_ACEOF
37288 #define wxUSE_PALETTE 1
37293 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37294 LIBS
=" -lunicows $LIBS"
37298 if test "$wxUSE_IMAGE" = "yes" ; then
37299 cat >>confdefs.h
<<\_ACEOF
37300 #define wxUSE_IMAGE 1
37304 if test "$wxUSE_GIF" = "yes" ; then
37305 cat >>confdefs.h
<<\_ACEOF
37306 #define wxUSE_GIF 1
37311 if test "$wxUSE_PCX" = "yes" ; then
37312 cat >>confdefs.h
<<\_ACEOF
37313 #define wxUSE_PCX 1
37318 if test "$wxUSE_IFF" = "yes" ; then
37319 cat >>confdefs.h
<<\_ACEOF
37320 #define wxUSE_IFF 1
37325 if test "$wxUSE_PNM" = "yes" ; then
37326 cat >>confdefs.h
<<\_ACEOF
37327 #define wxUSE_PNM 1
37332 if test "$wxUSE_XPM" = "yes" ; then
37333 cat >>confdefs.h
<<\_ACEOF
37334 #define wxUSE_XPM 1
37339 if test "$wxUSE_ICO_CUR" = "yes" ; then
37340 cat >>confdefs.h
<<\_ACEOF
37341 #define wxUSE_ICO_CUR 1
37348 if test "$wxUSE_CHOICEDLG" = "yes"; then
37349 cat >>confdefs.h
<<\_ACEOF
37350 #define wxUSE_CHOICEDLG 1
37355 if test "$wxUSE_COLOURDLG" = "yes"; then
37356 cat >>confdefs.h
<<\_ACEOF
37357 #define wxUSE_COLOURDLG 1
37362 if test "$wxUSE_FILEDLG" = "yes"; then
37363 cat >>confdefs.h
<<\_ACEOF
37364 #define wxUSE_FILEDLG 1
37369 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37370 cat >>confdefs.h
<<\_ACEOF
37371 #define wxUSE_FINDREPLDLG 1
37376 if test "$wxUSE_FONTDLG" = "yes"; then
37377 cat >>confdefs.h
<<\_ACEOF
37378 #define wxUSE_FONTDLG 1
37383 if test "$wxUSE_DIRDLG" = "yes"; then
37384 if test "$wxUSE_TREECTRL" != "yes"; then
37385 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37386 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37388 cat >>confdefs.h
<<\_ACEOF
37389 #define wxUSE_DIRDLG 1
37395 if test "$wxUSE_MSGDLG" = "yes"; then
37396 cat >>confdefs.h
<<\_ACEOF
37397 #define wxUSE_MSGDLG 1
37402 if test "$wxUSE_NUMBERDLG" = "yes"; then
37403 cat >>confdefs.h
<<\_ACEOF
37404 #define wxUSE_NUMBERDLG 1
37409 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37410 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37411 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37412 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37414 cat >>confdefs.h
<<\_ACEOF
37415 #define wxUSE_PROGRESSDLG 1
37421 if test "$wxUSE_SPLASH" = "yes"; then
37422 cat >>confdefs.h
<<\_ACEOF
37423 #define wxUSE_SPLASH 1
37426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37429 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37430 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37431 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37432 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37434 cat >>confdefs.h
<<\_ACEOF
37435 #define wxUSE_STARTUP_TIPS 1
37441 if test "$wxUSE_TEXTDLG" = "yes"; then
37442 cat >>confdefs.h
<<\_ACEOF
37443 #define wxUSE_TEXTDLG 1
37448 if test "$wxUSE_WIZARDDLG" = "yes"; then
37449 cat >>confdefs.h
<<\_ACEOF
37450 #define wxUSE_WIZARDDLG 1
37453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37457 if test "$cross_compiling" = "yes"; then
37460 OSINFO
=`uname -s -r -m`
37461 OSINFO
="\"$OSINFO\""
37464 cat >>confdefs.h
<<_ACEOF
37465 #define WXWIN_OS_DESCRIPTION $OSINFO
37470 if test "x$prefix" != "xNONE"; then
37473 wxPREFIX
=$ac_default_prefix
37476 cat >>confdefs.h
<<_ACEOF
37477 #define wxINSTALL_PREFIX "$wxPREFIX"
37483 CORE_BASE_LIBS
="net base"
37484 CORE_GUI_LIBS
="adv core"
37486 if test "$wxUSE_XML" = "yes" ; then
37487 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37489 if test "$wxUSE_ODBC" != "no" ; then
37490 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37491 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37493 if test "$wxUSE_HTML" = "yes" ; then
37494 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37496 if test "$wxUSE_XRC" = "yes" ; then
37497 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37500 if test "$wxUSE_GUI" != "yes"; then
37511 if test "$wxUSE_MAC" = 1 ; then
37512 if test "$wxUSE_SOUND" = "yes"; then
37513 LDFLAGS
="$LDFLAGS -framework QuickTime"
37515 if test "$USE_DARWIN" = 1; then
37516 LDFLAGS
="$LDFLAGS -framework IOKit"
37518 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37520 if test "$wxUSE_COCOA" = 1 ; then
37521 LDFLAGS
="$LDFLAGS -framework Cocoa"
37525 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37532 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37533 echo "$as_me:$LINENO: checking for $ac_func" >&5
37534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37535 if eval "test \"\${$as_ac_var+set}\" = set"; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 cat >conftest.
$ac_ext <<_ACEOF
37541 cat confdefs.h
>>conftest.
$ac_ext
37542 cat >>conftest.
$ac_ext <<_ACEOF
37543 /* end confdefs.h. */
37544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37546 #define $ac_func innocuous_$ac_func
37548 /* System header to define __stub macros and hopefully few prototypes,
37549 which can conflict with char $ac_func (); below.
37550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37551 <limits.h> exists even on freestanding compilers. */
37554 # include <limits.h>
37556 # include <assert.h>
37561 /* Override any gcc2 internal prototype to avoid an error. */
37566 /* We use char because int might match the return type of a gcc2
37567 builtin and then its argument prototype would still apply. */
37569 /* The GNU C library defines this for functions which it implements
37570 to always fail with ENOSYS. Some functions are actually named
37571 something starting with __ and the normal name is an alias. */
37572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37575 char (*f) () = $ac_func;
37584 return f != $ac_func;
37589 rm -f conftest.
$ac_objext conftest
$ac_exeext
37590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37591 (eval $ac_link) 2>conftest.er1
37593 grep -v '^ *+' conftest.er1
>conftest.err
37595 cat conftest.err
>&5
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); } &&
37598 { ac_try
='test -z "$ac_c_werror_flag"
37599 || test ! -s conftest.err'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; } &&
37605 { ac_try
='test -s conftest$ac_exeext'
37606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37607 (eval $ac_try) 2>&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); }; }; then
37611 eval "$as_ac_var=yes"
37613 echo "$as_me: failed program was:" >&5
37614 sed 's/^/| /' conftest.
$ac_ext >&5
37616 eval "$as_ac_var=no"
37618 rm -f conftest.err conftest.
$ac_objext \
37619 conftest
$ac_exeext conftest.
$ac_ext
37621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37623 if test `eval echo '${'$as_ac_var'}'` = yes; then
37624 cat >>confdefs.h
<<_ACEOF
37625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37632 for ac_func
in floor
37634 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37635 echo "$as_me:$LINENO: checking for $ac_func" >&5
37636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37637 if eval "test \"\${$as_ac_var+set}\" = set"; then
37638 echo $ECHO_N "(cached) $ECHO_C" >&6
37640 cat >conftest.
$ac_ext <<_ACEOF
37643 cat confdefs.h
>>conftest.
$ac_ext
37644 cat >>conftest.
$ac_ext <<_ACEOF
37645 /* end confdefs.h. */
37646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37648 #define $ac_func innocuous_$ac_func
37650 /* System header to define __stub macros and hopefully few prototypes,
37651 which can conflict with char $ac_func (); below.
37652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37653 <limits.h> exists even on freestanding compilers. */
37656 # include <limits.h>
37658 # include <assert.h>
37663 /* Override any gcc2 internal prototype to avoid an error. */
37668 /* We use char because int might match the return type of a gcc2
37669 builtin and then its argument prototype would still apply. */
37671 /* The GNU C library defines this for functions which it implements
37672 to always fail with ENOSYS. Some functions are actually named
37673 something starting with __ and the normal name is an alias. */
37674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37677 char (*f) () = $ac_func;
37686 return f != $ac_func;
37691 rm -f conftest.
$ac_objext conftest
$ac_exeext
37692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37693 (eval $ac_link) 2>conftest.er1
37695 grep -v '^ *+' conftest.er1
>conftest.err
37697 cat conftest.err
>&5
37698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37699 (exit $ac_status); } &&
37700 { ac_try
='test -z "$ac_c_werror_flag"
37701 || test ! -s conftest.err'
37702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37703 (eval $ac_try) 2>&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); }; } &&
37707 { ac_try
='test -s conftest$ac_exeext'
37708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37709 (eval $ac_try) 2>&5
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); }; }; then
37713 eval "$as_ac_var=yes"
37715 echo "$as_me: failed program was:" >&5
37716 sed 's/^/| /' conftest.
$ac_ext >&5
37718 eval "$as_ac_var=no"
37720 rm -f conftest.err conftest.
$ac_objext \
37721 conftest
$ac_exeext conftest.
$ac_ext
37723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37725 if test `eval echo '${'$as_ac_var'}'` = yes; then
37726 cat >>confdefs.h
<<_ACEOF
37727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37733 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37734 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37735 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37736 echo "$as_me:$LINENO: result: yes" >&5
37737 echo "${ECHO_T}yes" >&6
37739 echo "$as_me:$LINENO: result: no" >&5
37740 echo "${ECHO_T}no" >&6
37742 # use different functions to avoid configure caching
37748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37749 echo "$as_me:$LINENO: checking for $ac_func" >&5
37750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37751 if eval "test \"\${$as_ac_var+set}\" = set"; then
37752 echo $ECHO_N "(cached) $ECHO_C" >&6
37754 cat >conftest.
$ac_ext <<_ACEOF
37757 cat confdefs.h
>>conftest.
$ac_ext
37758 cat >>conftest.
$ac_ext <<_ACEOF
37759 /* end confdefs.h. */
37760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37762 #define $ac_func innocuous_$ac_func
37764 /* System header to define __stub macros and hopefully few prototypes,
37765 which can conflict with char $ac_func (); below.
37766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37767 <limits.h> exists even on freestanding compilers. */
37770 # include <limits.h>
37772 # include <assert.h>
37777 /* Override any gcc2 internal prototype to avoid an error. */
37782 /* We use char because int might match the return type of a gcc2
37783 builtin and then its argument prototype would still apply. */
37785 /* The GNU C library defines this for functions which it implements
37786 to always fail with ENOSYS. Some functions are actually named
37787 something starting with __ and the normal name is an alias. */
37788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37791 char (*f) () = $ac_func;
37800 return f != $ac_func;
37805 rm -f conftest.
$ac_objext conftest
$ac_exeext
37806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37807 (eval $ac_link) 2>conftest.er1
37809 grep -v '^ *+' conftest.er1
>conftest.err
37811 cat conftest.err
>&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); } &&
37814 { ac_try
='test -z "$ac_c_werror_flag"
37815 || test ! -s conftest.err'
37816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37817 (eval $ac_try) 2>&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); }; } &&
37821 { ac_try
='test -s conftest$ac_exeext'
37822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37823 (eval $ac_try) 2>&5
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); }; }; then
37827 eval "$as_ac_var=yes"
37829 echo "$as_me: failed program was:" >&5
37830 sed 's/^/| /' conftest.
$ac_ext >&5
37832 eval "$as_ac_var=no"
37834 rm -f conftest.err conftest.
$ac_objext \
37835 conftest
$ac_exeext conftest.
$ac_ext
37837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37839 if test `eval echo '${'$as_ac_var'}'` = yes; then
37840 cat >>confdefs.h
<<_ACEOF
37841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37848 for ac_func
in ceil
37850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37851 echo "$as_me:$LINENO: checking for $ac_func" >&5
37852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37853 if eval "test \"\${$as_ac_var+set}\" = set"; then
37854 echo $ECHO_N "(cached) $ECHO_C" >&6
37856 cat >conftest.
$ac_ext <<_ACEOF
37859 cat confdefs.h
>>conftest.
$ac_ext
37860 cat >>conftest.
$ac_ext <<_ACEOF
37861 /* end confdefs.h. */
37862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37864 #define $ac_func innocuous_$ac_func
37866 /* System header to define __stub macros and hopefully few prototypes,
37867 which can conflict with char $ac_func (); below.
37868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37869 <limits.h> exists even on freestanding compilers. */
37872 # include <limits.h>
37874 # include <assert.h>
37879 /* Override any gcc2 internal prototype to avoid an error. */
37884 /* We use char because int might match the return type of a gcc2
37885 builtin and then its argument prototype would still apply. */
37887 /* The GNU C library defines this for functions which it implements
37888 to always fail with ENOSYS. Some functions are actually named
37889 something starting with __ and the normal name is an alias. */
37890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37893 char (*f) () = $ac_func;
37902 return f != $ac_func;
37907 rm -f conftest.
$ac_objext conftest
$ac_exeext
37908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37909 (eval $ac_link) 2>conftest.er1
37911 grep -v '^ *+' conftest.er1
>conftest.err
37913 cat conftest.err
>&5
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); } &&
37916 { ac_try
='test -z "$ac_c_werror_flag"
37917 || test ! -s conftest.err'
37918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37919 (eval $ac_try) 2>&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); }; } &&
37923 { ac_try
='test -s conftest$ac_exeext'
37924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925 (eval $ac_try) 2>&5
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); }; }; then
37929 eval "$as_ac_var=yes"
37931 echo "$as_me: failed program was:" >&5
37932 sed 's/^/| /' conftest.
$ac_ext >&5
37934 eval "$as_ac_var=no"
37936 rm -f conftest.err conftest.
$ac_objext \
37937 conftest
$ac_exeext conftest.
$ac_ext
37939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37941 if test `eval echo '${'$as_ac_var'}'` = yes; then
37942 cat >>confdefs.h
<<_ACEOF
37943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37949 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37950 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37951 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37952 echo "$as_me:$LINENO: result: yes" >&5
37953 echo "${ECHO_T}yes" >&6
37955 echo "$as_me:$LINENO: result: no" >&5
37956 echo "${ECHO_T}no" >&6
37957 # not sure we should warn the user, crash, etc.
37961 if test "$wxUSE_GUI" = "yes"; then
37964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37965 drawing dynamic erase event exec font image \
37966 minimal propsize rotate shaped widgets render"
37968 if test "$wxUSE_MONOLITHIC" != "yes"; then
37969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37972 SAMPLES_SUBDIRS
="console"
37976 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37977 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37979 if test "$GXX" = yes ; then
37980 CXXWARNINGS
="-Wall"
37983 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37985 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37986 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37987 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37991 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37992 EXTRALIBS_XML
="$EXPAT_LINK"
37993 EXTRALIBS_HTML
="$MSPACK_LINK"
37994 EXTRALIBS_ODBC
="$ODBC_LINK"
37995 if test "$wxUSE_GUI" = "yes"; then
37996 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37998 if test "$wxUSE_OPENGL" = "yes"; then
37999 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38002 LDFLAGS
="$LDFLAGS $PROFILE"
38004 if test "$wxUSE_GTK" = 1; then
38007 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38010 WXCONFIG_EXTRALIBS
="$LIBS"
38012 if test "$wxUSE_REGEX" = "builtin" ; then
38013 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38015 if test "$wxUSE_EXPAT" = "builtin" ; then
38016 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38018 if test "$wxUSE_ODBC" = "builtin" ; then
38019 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38021 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38022 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38024 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38025 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38027 if test "$wxUSE_LIBPNG" = "builtin" ; then
38028 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38030 if test "$wxUSE_ZLIB" = "builtin" ; then
38031 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38033 if test "$wxUSE_ODBC" = "builtin" ; then
38034 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38037 for i
in $wxconfig_3rdparty ; do
38038 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38042 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38056 if test $wxUSE_MONOLITHIC = "yes" ; then
38062 if test $wxUSE_PLUGINS = "yes" ; then
38068 if test $wxUSE_ODBC != "no" ; then
38074 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38101 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38112 TOOLKIT_USER
="GTK+"
38113 if test "$WXGTK20" = 1; then
38114 TOOLKIT_USER
="$TOOLKIT_USER 2"
38119 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38124 if test "x$BAKEFILE_HOST" = "x"; then
38125 BAKEFILE_HOST
="${host}"
38128 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38130 if test -n "$ac_tool_prefix"; then
38131 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38132 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38133 echo "$as_me:$LINENO: checking for $ac_word" >&5
38134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38135 if test "${ac_cv_prog_RANLIB+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 if test -n "$RANLIB"; then
38139 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38142 for as_dir
in $PATH
38145 test -z "$as_dir" && as_dir
=.
38146 for ac_exec_ext
in '' $ac_executable_extensions; do
38147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38148 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38157 RANLIB
=$ac_cv_prog_RANLIB
38158 if test -n "$RANLIB"; then
38159 echo "$as_me:$LINENO: result: $RANLIB" >&5
38160 echo "${ECHO_T}$RANLIB" >&6
38162 echo "$as_me:$LINENO: result: no" >&5
38163 echo "${ECHO_T}no" >&6
38167 if test -z "$ac_cv_prog_RANLIB"; then
38168 ac_ct_RANLIB
=$RANLIB
38169 # Extract the first word of "ranlib", so it can be a program name with args.
38170 set dummy ranlib
; ac_word
=$2
38171 echo "$as_me:$LINENO: checking for $ac_word" >&5
38172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38173 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 if test -n "$ac_ct_RANLIB"; then
38177 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38180 for as_dir
in $PATH
38183 test -z "$as_dir" && as_dir
=.
38184 for ac_exec_ext
in '' $ac_executable_extensions; do
38185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38186 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38193 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38196 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38197 if test -n "$ac_ct_RANLIB"; then
38198 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38199 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38201 echo "$as_me:$LINENO: result: no" >&5
38202 echo "${ECHO_T}no" >&6
38205 RANLIB
=$ac_ct_RANLIB
38207 RANLIB
="$ac_cv_prog_RANLIB"
38210 # Find a good install program. We prefer a C program (faster),
38211 # so one script is as good as another. But avoid the broken or
38212 # incompatible versions:
38213 # SysV /etc/install, /usr/sbin/install
38214 # SunOS /usr/etc/install
38215 # IRIX /sbin/install
38217 # AmigaOS /C/install, which installs bootblocks on floppy discs
38218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38221 # OS/2's system install, which has a completely different semantic
38222 # ./install, which can be erroneously created by make from ./install.sh.
38223 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38224 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38225 if test -z "$INSTALL"; then
38226 if test "${ac_cv_path_install+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38230 for as_dir
in $PATH
38233 test -z "$as_dir" && as_dir
=.
38234 # Account for people who put trailing slashes in PATH elements.
38236 .
/ | .
// | /cC
/* | \
38237 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38238 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38241 # OSF1 and SCO ODT 3.0 have their own names for install.
38242 # Don't use installbsd from OSF since it installs stuff as root
38244 for ac_prog
in ginstall scoinst
install; do
38245 for ac_exec_ext
in '' $ac_executable_extensions; do
38246 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38247 if test $ac_prog = install &&
38248 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38249 # AIX install. It has an incompatible calling convention.
38251 elif test $ac_prog = install &&
38252 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38253 # program-specific install script used by HP pwplus--don't use.
38256 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38268 if test "${ac_cv_path_install+set}" = set; then
38269 INSTALL
=$ac_cv_path_install
38271 # As a last resort, use the slow shell script. We don't cache a
38272 # path for INSTALL within a source directory, because that will
38273 # break other packages using the cache if that directory is
38274 # removed, or if the path is relative.
38275 INSTALL
=$ac_install_sh
38278 echo "$as_me:$LINENO: result: $INSTALL" >&5
38279 echo "${ECHO_T}$INSTALL" >&6
38281 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38282 # It thinks the first close brace ends the variable substitution.
38283 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38285 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38287 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38289 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38290 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38292 if test "$LN_S" = "ln -s"; then
38293 echo "$as_me:$LINENO: result: yes" >&5
38294 echo "${ECHO_T}yes" >&6
38296 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38297 echo "${ECHO_T}no, using $LN_S" >&6
38301 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38302 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38303 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38304 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38305 echo $ECHO_N "(cached) $ECHO_C" >&6
38307 cat >conftest.
make <<\_ACEOF
38309 @
echo 'ac_maketemp="$(MAKE)"'
38311 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38312 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38313 if test -n "$ac_maketemp"; then
38314 eval ac_cv_prog_make_
${ac_make}_set
=yes
38316 eval ac_cv_prog_make_
${ac_make}_set
=no
38318 rm -f conftest.
make
38320 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38321 echo "$as_me:$LINENO: result: yes" >&5
38322 echo "${ECHO_T}yes" >&6
38325 echo "$as_me:$LINENO: result: no" >&5
38326 echo "${ECHO_T}no" >&6
38327 SET_MAKE
="MAKE=${MAKE-make}"
38332 if test -n "$ac_tool_prefix"; then
38333 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38334 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38335 echo "$as_me:$LINENO: checking for $ac_word" >&5
38336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38337 if test "${ac_cv_prog_AR+set}" = set; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38340 if test -n "$AR"; then
38341 ac_cv_prog_AR
="$AR" # Let the user override the test.
38343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38344 for as_dir
in $PATH
38347 test -z "$as_dir" && as_dir
=.
38348 for ac_exec_ext
in '' $ac_executable_extensions; do
38349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38350 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38360 if test -n "$AR"; then
38361 echo "$as_me:$LINENO: result: $AR" >&5
38362 echo "${ECHO_T}$AR" >&6
38364 echo "$as_me:$LINENO: result: no" >&5
38365 echo "${ECHO_T}no" >&6
38369 if test -z "$ac_cv_prog_AR"; then
38371 # Extract the first word of "ar", so it can be a program name with args.
38372 set dummy
ar; ac_word
=$2
38373 echo "$as_me:$LINENO: checking for $ac_word" >&5
38374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38375 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 if test -n "$ac_ct_AR"; then
38379 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38382 for as_dir
in $PATH
38385 test -z "$as_dir" && as_dir
=.
38386 for ac_exec_ext
in '' $ac_executable_extensions; do
38387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38388 ac_cv_prog_ac_ct_AR
="ar"
38389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38395 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38398 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38399 if test -n "$ac_ct_AR"; then
38400 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38401 echo "${ECHO_T}$ac_ct_AR" >&6
38403 echo "$as_me:$LINENO: result: no" >&5
38404 echo "${ECHO_T}no" >&6
38409 AR
="$ac_cv_prog_AR"
38412 if test -n "$ac_tool_prefix"; then
38413 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38414 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38415 echo "$as_me:$LINENO: checking for $ac_word" >&5
38416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38417 if test "${ac_cv_prog_STRIP+set}" = set; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38420 if test -n "$STRIP"; then
38421 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38424 for as_dir
in $PATH
38427 test -z "$as_dir" && as_dir
=.
38428 for ac_exec_ext
in '' $ac_executable_extensions; do
38429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38430 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38439 STRIP
=$ac_cv_prog_STRIP
38440 if test -n "$STRIP"; then
38441 echo "$as_me:$LINENO: result: $STRIP" >&5
38442 echo "${ECHO_T}$STRIP" >&6
38444 echo "$as_me:$LINENO: result: no" >&5
38445 echo "${ECHO_T}no" >&6
38449 if test -z "$ac_cv_prog_STRIP"; then
38451 # Extract the first word of "strip", so it can be a program name with args.
38452 set dummy strip
; ac_word
=$2
38453 echo "$as_me:$LINENO: checking for $ac_word" >&5
38454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38455 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38456 echo $ECHO_N "(cached) $ECHO_C" >&6
38458 if test -n "$ac_ct_STRIP"; then
38459 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38462 for as_dir
in $PATH
38465 test -z "$as_dir" && as_dir
=.
38466 for ac_exec_ext
in '' $ac_executable_extensions; do
38467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38468 ac_cv_prog_ac_ct_STRIP
="strip"
38469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38475 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38478 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38479 if test -n "$ac_ct_STRIP"; then
38480 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38481 echo "${ECHO_T}$ac_ct_STRIP" >&6
38483 echo "$as_me:$LINENO: result: no" >&5
38484 echo "${ECHO_T}no" >&6
38489 STRIP
="$ac_cv_prog_STRIP"
38492 if test -n "$ac_tool_prefix"; then
38493 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38494 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38495 echo "$as_me:$LINENO: checking for $ac_word" >&5
38496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38497 if test "${ac_cv_prog_NM+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38500 if test -n "$NM"; then
38501 ac_cv_prog_NM
="$NM" # Let the user override the test.
38503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38504 for as_dir
in $PATH
38507 test -z "$as_dir" && as_dir
=.
38508 for ac_exec_ext
in '' $ac_executable_extensions; do
38509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38510 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38520 if test -n "$NM"; then
38521 echo "$as_me:$LINENO: result: $NM" >&5
38522 echo "${ECHO_T}$NM" >&6
38524 echo "$as_me:$LINENO: result: no" >&5
38525 echo "${ECHO_T}no" >&6
38529 if test -z "$ac_cv_prog_NM"; then
38531 # Extract the first word of "nm", so it can be a program name with args.
38532 set dummy nm
; ac_word
=$2
38533 echo "$as_me:$LINENO: checking for $ac_word" >&5
38534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38535 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 if test -n "$ac_ct_NM"; then
38539 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38542 for as_dir
in $PATH
38545 test -z "$as_dir" && as_dir
=.
38546 for ac_exec_ext
in '' $ac_executable_extensions; do
38547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38548 ac_cv_prog_ac_ct_NM
="nm"
38549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38555 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38558 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38559 if test -n "$ac_ct_NM"; then
38560 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38561 echo "${ECHO_T}$ac_ct_NM" >&6
38563 echo "$as_me:$LINENO: result: no" >&5
38564 echo "${ECHO_T}no" >&6
38569 NM
="$ac_cv_prog_NM"
38573 case ${BAKEFILE_HOST} in
38575 INSTALL_DIR
="mkdir -p"
38577 *) INSTALL_DIR
="$INSTALL -d"
38583 case ${BAKEFILE_HOST} in
38584 *-*-cygwin* | *-*-mingw32* )
38585 LDFLAGS_GUI
="-mwindows"
38591 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38592 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38593 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38594 echo $ECHO_N "(cached) $ECHO_C" >&6
38597 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38598 egrep -s GNU
> /dev
/null
); then
38599 bakefile_cv_prog_makeisgnu
="yes"
38601 bakefile_cv_prog_makeisgnu
="no"
38605 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38606 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38608 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38623 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38624 case "${BAKEFILE_HOST}" in
38625 *-*-cygwin* | *-*-mingw32* )
38631 *-pc-os2_emx | *-pc-os2-emx )
38634 powerpc
-*-darwin* )
38643 case "$BAKEFILE_FORCE_PLATFORM" in
38661 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38662 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38663 { (exit 1); exit 1; }; }
38676 # Check whether --enable-omf or --disable-omf was given.
38677 if test "${enable_omf+set}" = set; then
38678 enableval
="$enable_omf"
38679 bk_os2_use_omf
="$enableval"
38682 case "${BAKEFILE_HOST}" in
38684 CFLAGS
="$CFLAGS -fno-common"
38685 CXXFLAGS
="$CXXFLAGS -fno-common"
38688 *-pc-os2_emx | *-pc-os2-emx )
38689 if test "x$bk_os2_use_omf" = "xyes" ; then
38692 LDFLAGS
="-Zomf $LDFLAGS"
38693 CFLAGS
="-Zomf $CFLAGS"
38694 CXXFLAGS
="-Zomf $CXXFLAGS"
38704 SO_SUFFIX_MODULE
="so"
38709 DLLPREFIX_MODULE
=""
38712 case "${BAKEFILE_HOST}" in
38715 SO_SUFFIX_MODULE
="sl"
38719 SO_SUFFIX_MODULE
="a"
38721 *-*-cygwin* | *-*-mingw32* )
38723 SO_SUFFIX_MODULE
="dll"
38724 DLLIMP_SUFFIX
="dll.a"
38732 *-pc-os2_emx | *-pc-os2-emx )
38734 SO_SUFFIX_MODULE
="dll"
38735 DLLIMP_SUFFIX
=$OS2_LIBEXT
38739 LIBEXT
=".$OS2_LIBEXT"
38741 powerpc
-*-darwin* )
38743 SO_SUFFIX_MODULE
="bundle"
38747 if test "x$DLLIMP_SUFFIX" = "x" ; then
38748 DLLIMP_SUFFIX
="$SO_SUFFIX"
38761 SHARED_LD_CC
="\$(CC) -shared -o"
38762 SHARED_LD_CXX
="\$(CXX) -shared -o"
38764 if test "x$GCC" = "xyes"; then
38768 case "${BAKEFILE_HOST}" in
38770 if test "x$GCC" = "xyes"; then
38771 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38772 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38774 LDFLAGS
="$LDFLAGS -L/usr/lib"
38776 SHARED_LD_CC
="${CC} -b -o"
38777 SHARED_LD_CXX
="${CXX} -b -o"
38783 if test "x$GCC" != "xyes"; then
38784 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38785 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38786 if test "${bakefile_cv_prog_icc+set}" = set; then
38787 echo $ECHO_N "(cached) $ECHO_C" >&6
38790 cat >conftest.
$ac_ext <<_ACEOF
38793 cat confdefs.h
>>conftest.
$ac_ext
38794 cat >>conftest.
$ac_ext <<_ACEOF
38795 /* end confdefs.h. */
38801 #ifndef __INTEL_COMPILER
38809 rm -f conftest.
$ac_objext
38810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38811 (eval $ac_compile) 2>conftest.er1
38813 grep -v '^ *+' conftest.er1
>conftest.err
38815 cat conftest.err
>&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); } &&
38818 { ac_try
='test -z "$ac_c_werror_flag"
38819 || test ! -s conftest.err'
38820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821 (eval $ac_try) 2>&5
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); }; } &&
38825 { ac_try
='test -s conftest.$ac_objext'
38826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38827 (eval $ac_try) 2>&5
38829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38830 (exit $ac_status); }; }; then
38831 bakefile_cv_prog_icc
=yes
38833 echo "$as_me: failed program was:" >&5
38834 sed 's/^/| /' conftest.
$ac_ext >&5
38836 bakefile_cv_prog_icc
=no
38839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38842 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38843 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38844 if test "$bakefile_cv_prog_icc" = "yes"; then
38851 if test "x$GCC" != xyes
; then
38852 SHARED_LD_CC
="${CC} -G -o"
38853 SHARED_LD_CXX
="${CXX} -G -o"
38860 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38861 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38862 if test "${wx_cv_gcc31+set}" = set; then
38863 echo $ECHO_N "(cached) $ECHO_C" >&6
38866 cat >conftest.
$ac_ext <<_ACEOF
38869 cat confdefs.h
>>conftest.
$ac_ext
38870 cat >>conftest.
$ac_ext <<_ACEOF
38871 /* end confdefs.h. */
38877 #if (__GNUC__ < 3) || \
38878 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38886 rm -f conftest.
$ac_objext
38887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38888 (eval $ac_compile) 2>conftest.er1
38890 grep -v '^ *+' conftest.er1
>conftest.err
38892 cat conftest.err
>&5
38893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 (exit $ac_status); } &&
38895 { ac_try
='test -z "$ac_c_werror_flag"
38896 || test ! -s conftest.err'
38897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38898 (eval $ac_try) 2>&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); }; } &&
38902 { ac_try
='test -s conftest.$ac_objext'
38903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38904 (eval $ac_try) 2>&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); }; }; then
38912 echo "$as_me: failed program was:" >&5
38913 sed 's/^/| /' conftest.
$ac_ext >&5
38920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38923 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38924 echo "${ECHO_T}$wx_cv_gcc31" >&6
38925 if test "$wx_cv_gcc31" = "no"; then
38928 cat <<EOF >shared-ld-sh
38930 #-----------------------------------------------------------------------------
38931 #-- Name: distrib/mac/shared-ld-sh
38932 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38933 #-- Author: Gilles Depeyrot
38934 #-- Copyright: (c) 2002 Gilles Depeyrot
38935 #-- Licence: any use permitted
38936 #-----------------------------------------------------------------------------
38941 linking_flag="-dynamiclib"
38943 while test ${D}# -gt 0; do
38950 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38951 # collect these options and values
38952 args="${D}{args} ${D}1 ${D}2"
38956 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38957 # collect these options
38958 args="${D}{args} ${D}1"
38961 -dynamiclib|-bundle)
38962 linking_flag="${D}1"
38966 echo "shared-ld: unhandled option '${D}1'"
38970 *.o | *.a | *.dylib)
38971 # collect object files
38972 objects="${D}{objects} ${D}1"
38976 echo "shared-ld: unhandled argument '${D}1'"
38985 # Link one module containing all the others
38987 if test ${D}{verbose} = 1; then
38988 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38990 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38992 if test ${D}{status} != 0; then
38997 # Link the shared library from the single module created
38999 if test ${D}{verbose} = 1; then
39000 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39002 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39004 if test ${D}{status} != 0; then
39009 # Remove intermediate module
39011 rm -f master.${D}${D}.o
39016 chmod +x shared
-ld-sh
39018 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39019 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39020 SHARED_LD_CXX
="$SHARED_LD_CC"
39021 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39023 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39024 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39025 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39026 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39029 PIC_FLAG
="-dynamic -fPIC"
39033 if test "x$GCC" != "xyes"; then
39034 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39035 set dummy makeC
++SharedLib
; ac_word
=$2
39036 echo "$as_me:$LINENO: checking for $ac_word" >&5
39037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39038 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39039 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 if test -n "$AIX_CXX_LD"; then
39042 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39045 for as_dir
in $PATH
39048 test -z "$as_dir" && as_dir
=.
39049 for ac_exec_ext
in '' $ac_executable_extensions; do
39050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39051 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39058 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39061 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39062 if test -n "$AIX_CXX_LD"; then
39063 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39064 echo "${ECHO_T}$AIX_CXX_LD" >&6
39066 echo "$as_me:$LINENO: result: no" >&5
39067 echo "${ECHO_T}no" >&6
39070 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39071 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39076 SHARED_LD_CC
="${LD} -shared -o"
39077 SHARED_LD_CXX
="${LD} -shared -o"
39081 if test "x$GCC" != "xyes"; then
39086 *-*-cygwin* | *-*-mingw32* )
39090 *-pc-os2_emx | *-pc-os2-emx )
39091 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39092 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39096 cat <<EOF >dllar.sh
39099 # dllar - a tool to build both a .dll and an .a file
39100 # from a set of object (.o) files for EMX/OS2.
39102 # Written by Andrew Zabolotny, bit@freya.etu.ru
39103 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39105 # This script will accept a set of files on the command line.
39106 # All the public symbols from the .o files will be exported into
39107 # a .DEF file, then linker will be run (through gcc) against them to
39108 # build a shared library consisting of all given .o files. All libraries
39109 # (.a) will be first decompressed into component .o files then act as
39110 # described above. You can optionally give a description (-d "description")
39111 # which will be put into .DLL. To see the list of accepted options (as well
39112 # as command-line format) simply run this program without options. The .DLL
39113 # is built to be imported by name (there is no guarantee that new versions
39114 # of the library you build will have same ordinals for same symbols).
39116 # dllar is free software; you can redistribute it and/or modify
39117 # it under the terms of the GNU General Public License as published by
39118 # the Free Software Foundation; either version 2, or (at your option)
39119 # any later version.
39121 # dllar is distributed in the hope that it will be useful,
39122 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39123 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39124 # GNU General Public License for more details.
39126 # You should have received a copy of the GNU General Public License
39127 # along with dllar; see the file COPYING. If not, write to the Free
39128 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39131 # To successfuly run this program you will need:
39132 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39133 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39135 # (used to build the .dll)
39137 # (used to create .def file from .o files)
39139 # (used to create .a file from .def file)
39140 # - GNU text utilites (cat, sort, uniq)
39141 # used to process emxexp output
39142 # - GNU file utilities (mv, rm)
39144 # - lxlite (optional, see flag below)
39145 # (used for general .dll cleanup)
39152 # basnam, variant of basename, which does _not_ remove the path, _iff_
39153 # second argument (suffix to remove) is given
39157 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39160 echo ${D}1 | sed 's/'${D}2'${D}//'
39163 echo "error in basnam ${D}*"
39169 # Cleanup temporary files and output
39172 for i in ${D}inputFiles ; do
39175 rm -rf \`basnam ${D}i !\`
39182 # Kill result in case of failure as there is just to many stupid make/nmake
39183 # things out there which doesn't do this.
39184 if [] ${D}# -eq 0 []; then
39185 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39189 # Print usage and exit script with rc=1.
39191 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39192 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39193 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39194 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39195 echo ' []*.o[] []*.a[]'
39196 echo '*> "output_file" should have no extension.'
39197 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39198 echo ' The import library name is derived from this and is set to "name".a,'
39199 echo ' unless overridden by -import'
39200 echo '*> "importlib_name" should have no extension.'
39201 echo ' If it has the .o, or .a extension, it is automatically removed.'
39202 echo ' This name is used as the import library name and may be longer and'
39203 echo ' more descriptive than the DLL name which has to follow the old '
39204 echo ' 8.3 convention of FAT.'
39205 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39206 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39207 echo ' These flags will be put at the start of GCC command line.'
39208 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39209 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39210 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39211 echo ' If the last character of a symbol is "*", all symbols beginning'
39212 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39213 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39214 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39215 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39216 echo ' C runtime DLLs.'
39217 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39218 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39219 echo ' unchanged to GCC at the end of command line.'
39220 echo '*> If you create a DLL from a library and you do not specify -o,'
39221 echo ' the basename for DLL and import library will be set to library name,'
39222 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39223 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39224 echo ' library will be renamed into gcc_s.a.'
39227 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39228 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39233 # Execute a command.
39234 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39235 # @Uses Whatever CleanUp() uses.
39241 if [] ${D}rcCmd -ne 0 []; then
39242 echo "command failed, exit code="${D}rcCmd
39256 CFLAGS="-s -Zcrtdll"
39258 EXPORT_BY_ORDINALS=0
39263 case ${D}curDirS in
39267 curDirS=${D}{curDirS}"/"
39270 # Parse commandline
39272 while [] ${D}1 []; do
39275 EXPORT_BY_ORDINALS=1;
39302 exclude_symbols=${D}{exclude_symbols}${D}1" "
39306 library_flags=${D}{library_flags}${D}1" "
39322 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39326 if [] ${D}libsToLink -ne 0 []; then
39327 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39329 for file in ${D}1 ; do
39330 if [] -f ${D}file []; then
39331 inputFiles="${D}{inputFiles} ${D}file"
39335 if [] ${D}found -eq 0 []; then
39336 echo "ERROR: No file(s) found: "${D}1
39343 done # iterate cmdline words
39346 if [] -z "${D}inputFiles" []; then
39347 echo "dllar: no input files"
39351 # Now extract all .o files from .a files
39353 for file in ${D}inputFiles ; do
39364 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39369 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39371 if [] ${D}? -ne 0 []; then
39372 echo "Failed to create subdirectory ./${D}dirname"
39376 # Append '!' to indicate archive
39377 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39378 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39381 for subfile in ${D}dirname/*.o* ; do
39382 if [] -f ${D}subfile []; then
39384 if [] -s ${D}subfile []; then
39385 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39386 newInputFiles="${D}newInputFiles ${D}subfile"
39390 if [] ${D}found -eq 0 []; then
39391 echo "WARNING: there are no files in archive \'${D}file\'"
39395 newInputFiles="${D}{newInputFiles} ${D}file"
39399 inputFiles="${D}newInputFiles"
39401 # Output filename(s).
39403 if [] -z ${D}outFile []; then
39405 set outFile ${D}inputFiles; outFile=${D}2
39408 # If it is an archive, remove the '!' and the '_%' suffixes
39409 case ${D}outFile in
39411 outFile=\`basnam ${D}outFile _%!\`
39416 case ${D}outFile in
39418 outFile=\`basnam ${D}outFile .dll\`
39421 outFile=\`basnam ${D}outFile .DLL\`
39424 outFile=\`basnam ${D}outFile .o\`
39427 outFile=\`basnam ${D}outFile .obj\`
39430 outFile=\`basnam ${D}outFile .a\`
39433 outFile=\`basnam ${D}outFile .lib\`
39438 case ${D}outimpFile in
39440 outimpFile=\`basnam ${D}outimpFile .a\`
39443 outimpFile=\`basnam ${D}outimpFile .lib\`
39448 if [] -z ${D}outimpFile []; then
39449 outimpFile=${D}outFile
39451 defFile="${D}{outFile}.def"
39452 arcFile="${D}{outimpFile}.a"
39453 arcFile2="${D}{outimpFile}.lib"
39454 dllFile="${D}outFile"
39455 # Add suffix to dllFile later, first we need a version to use as
39456 # name in .def file.
39458 if [] ${D}do_backup -ne 0 [] ; then
39459 if [] -f ${D}arcFile [] ; then
39460 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39462 if [] -f ${D}arcFile2 [] ; then
39463 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39467 # Extract public symbols from all the object files.
39468 tmpdefFile=${D}{defFile}_%
39469 rm -f ${D}tmpdefFile
39470 for file in ${D}inputFiles ; do
39475 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39480 # Create the def file.
39482 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39483 dllFile="${D}dllFile.dll"
39484 if [] -n ${D}description []; then
39485 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39487 echo "EXPORTS" >> ${D}defFile
39489 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39490 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39492 # Checks if the export is ok or not.
39493 for word in ${D}exclude_symbols; do
39494 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39495 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39499 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39500 sed "=" < ${D}tmpdefFile | \
39504 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39506 ' > ${D}{tmpdefFile}%
39507 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39509 rm -f ${D}{tmpdefFile}%
39511 cat ${D}tmpdefFile >> ${D}defFile
39512 rm -f ${D}tmpdefFile
39514 # Do linking, create implib, and apply lxlite.
39516 for file in ${D}inputFiles ; do
39521 gccCmdl="${D}gccCmdl ${D}file"
39525 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39526 touch "${D}{outFile}.dll"
39528 doCommand "emximp -o ${D}arcFile ${D}defFile"
39529 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39531 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39534 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39536 doCommand "emxomf -s -l ${D}arcFile"
39546 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39554 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39555 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39556 { (exit 1); exit 1; }; }
39559 if test "x$PIC_FLAG" != "x" ; then
39560 PIC_FLAG
="$PIC_FLAG -DPIC"
39563 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39564 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39566 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39567 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39584 case "${BAKEFILE_HOST}" in
39586 SONAME_FLAG
="-Wl,-soname,"
39614 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39615 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39618 if test "x$GCC" = "xyes"; then
39621 case "${BAKEFILE_HOST}" in
39622 powerpc
-*-darwin* )
39623 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39626 DEPSFLAG_GCC
="-MMD"
39629 echo "$as_me:$LINENO: result: gcc" >&5
39630 echo "${ECHO_T}gcc" >&6
39632 echo "$as_me:$LINENO: result: none" >&5
39633 echo "${ECHO_T}none" >&6
39636 if test $DEPS_TRACKING = 1 ; then
39642 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39643 # script. It is used to track C/C++ files dependencies in portable way.
39645 # Permission is given to use this file in any way.
39647 DEPSMODE=${DEPSMODE}
39649 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39651 mkdir -p ${D}DEPSDIR
39653 if test ${D}DEPSMODE = gcc ; then
39654 ${D}* ${D}{DEPSFLAG_GCC}
39656 if test ${D}{status} != 0 ; then
39659 # move created file to the location we want it in:
39660 while test ${D}# -gt 0; do
39674 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39675 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39676 if test -f ${D}depfile ; then
39677 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39680 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39681 if test -f ${D}depfile ; then
39682 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39702 case ${BAKEFILE_HOST} in
39703 *-*-cygwin* | *-*-mingw32* )
39704 if test "$build" != "$host" ; then
39705 RESCOMP
=$host_alias-windres
39707 # Extract the first word of "windres", so it can be a program name with args.
39708 set dummy windres
; ac_word
=$2
39709 echo "$as_me:$LINENO: checking for $ac_word" >&5
39710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39711 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39712 echo $ECHO_N "(cached) $ECHO_C" >&6
39714 if test -n "$RESCOMP"; then
39715 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39718 for as_dir
in $PATH
39721 test -z "$as_dir" && as_dir
=.
39722 for ac_exec_ext
in '' $ac_executable_extensions; do
39723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39724 ac_cv_prog_RESCOMP
="windres"
39725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39731 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39734 RESCOMP
=$ac_cv_prog_RESCOMP
39735 if test -n "$RESCOMP"; then
39736 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39737 echo "${ECHO_T}$RESCOMP" >&6
39739 echo "$as_me:$LINENO: result: no" >&5
39740 echo "${ECHO_T}no" >&6
39747 # Extract the first word of "Rez", so it can be a program name with args.
39748 set dummy Rez
; ac_word
=$2
39749 echo "$as_me:$LINENO: checking for $ac_word" >&5
39750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39751 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 if test -n "$RESCOMP"; then
39755 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39758 for as_dir
in $PATH
39761 test -z "$as_dir" && as_dir
=.
39762 for ac_exec_ext
in '' $ac_executable_extensions; do
39763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39764 ac_cv_prog_RESCOMP
="Rez"
39765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39771 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39774 RESCOMP
=$ac_cv_prog_RESCOMP
39775 if test -n "$RESCOMP"; then
39776 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39777 echo "${ECHO_T}$RESCOMP" >&6
39779 echo "$as_me:$LINENO: result: no" >&5
39780 echo "${ECHO_T}no" >&6
39783 # Extract the first word of "SetFile", so it can be a program name with args.
39784 set dummy SetFile
; ac_word
=$2
39785 echo "$as_me:$LINENO: checking for $ac_word" >&5
39786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39787 if test "${ac_cv_prog_SETFILE+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39790 if test -n "$SETFILE"; then
39791 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39794 for as_dir
in $PATH
39797 test -z "$as_dir" && as_dir
=.
39798 for ac_exec_ext
in '' $ac_executable_extensions; do
39799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39800 ac_cv_prog_SETFILE
="SetFile"
39801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39807 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39810 SETFILE
=$ac_cv_prog_SETFILE
39811 if test -n "$SETFILE"; then
39812 echo "$as_me:$LINENO: result: $SETFILE" >&5
39813 echo "${ECHO_T}$SETFILE" >&6
39815 echo "$as_me:$LINENO: result: no" >&5
39816 echo "${ECHO_T}no" >&6
39826 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39832 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39836 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39837 if test "${enable_precomp_headers+set}" = set; then
39838 enableval
="$enable_precomp_headers"
39839 bk_use_pch
="$enableval"
39844 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39845 if test "x$GCC" = "xyes"; then
39846 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39847 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39848 cat >conftest.
$ac_ext <<_ACEOF
39851 cat confdefs.h
>>conftest.
$ac_ext
39852 cat >>conftest.
$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39859 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39860 #error "no pch support"
39863 #error "no pch support"
39865 #if (__GNUC__ == 3) && \
39866 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39867 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39868 #error "no pch support"
39875 rm -f conftest.
$ac_objext
39876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39877 (eval $ac_compile) 2>conftest.er1
39879 grep -v '^ *+' conftest.er1
>conftest.err
39881 cat conftest.err
>&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } &&
39884 { ac_try
='test -z "$ac_c_werror_flag"
39885 || test ! -s conftest.err'
39886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39887 (eval $ac_try) 2>&5
39889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890 (exit $ac_status); }; } &&
39891 { ac_try
='test -s conftest.$ac_objext'
39892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39893 (eval $ac_try) 2>&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); }; }; then
39898 echo "$as_me:$LINENO: result: yes" >&5
39899 echo "${ECHO_T}yes" >&6
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.
$ac_ext >&5
39907 echo "$as_me:$LINENO: result: no" >&5
39908 echo "${ECHO_T}no" >&6
39911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39912 if test $GCC_PCH = 1 ; then
39913 cat <<EOF >bk-make-pch
39916 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39917 # script. It is used to generated precompiled headers.
39919 # Permission is given to use this file in any way.
39928 while test \${#} -gt 0; do
39931 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39932 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39933 headerfile="\${incdir}/\${header}"
39937 compiler="\${compiler} \${1}"
39941 if test "x\${headerfile}" = "x" ; then
39942 echo "error: can't find header \${header} in include paths" >2
39944 if test -f \${outfile} ; then
39947 mkdir -p \`dirname \${outfile}\`
39949 depsfile=".deps/\`basename \${outfile}\`.d"
39951 # can do this because gcc is >= 3.4:
39952 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39956 chmod +x bk
-make-pch
39967 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39968 if test "${enable_precomp_headers+set}" = set; then
39969 enableval
="$enable_precomp_headers"
39970 bk_use_pch
="$enableval"
39975 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39976 if test "x$GCC" = "xyes"; then
39977 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39978 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39979 cat >conftest.
$ac_ext <<_ACEOF
39982 cat confdefs.h
>>conftest.
$ac_ext
39983 cat >>conftest.
$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39990 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39991 #error "no pch support"
39994 #error "no pch support"
39996 #if (__GNUC__ == 3) && \
39997 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39998 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39999 #error "no pch support"
40006 rm -f conftest.
$ac_objext
40007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40008 (eval $ac_compile) 2>conftest.er1
40010 grep -v '^ *+' conftest.er1
>conftest.err
40012 cat conftest.err
>&5
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); } &&
40015 { ac_try
='test -z "$ac_c_werror_flag"
40016 || test ! -s conftest.err'
40017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40018 (eval $ac_try) 2>&5
40020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021 (exit $ac_status); }; } &&
40022 { ac_try
='test -s conftest.$ac_objext'
40023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40024 (eval $ac_try) 2>&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; }; then
40029 echo "$as_me:$LINENO: result: yes" >&5
40030 echo "${ECHO_T}yes" >&6
40034 echo "$as_me: failed program was:" >&5
40035 sed 's/^/| /' conftest.
$ac_ext >&5
40038 echo "$as_me:$LINENO: result: no" >&5
40039 echo "${ECHO_T}no" >&6
40042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40043 if test $GCC_PCH = 1 ; then
40044 cat <<EOF >bk-make-pch
40047 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40048 # script. It is used to generated precompiled headers.
40050 # Permission is given to use this file in any way.
40059 while test \${#} -gt 0; do
40062 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40063 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40064 headerfile="\${incdir}/\${header}"
40068 compiler="\${compiler} \${1}"
40072 if test "x\${headerfile}" = "x" ; then
40073 echo "error: can't find header \${header} in include paths" >2
40075 if test -f \${outfile} ; then
40078 mkdir -p \`dirname \${outfile}\`
40080 depsfile=".deps/\`basename \${outfile}\`.d"
40082 # can do this because gcc is >= 3.4:
40083 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40087 chmod +x bk
-make-pch
40094 COND_BUILD_DEBUG
="#"
40095 if test "x$BUILD" = "xdebug" ; then
40096 COND_BUILD_DEBUG
=""
40099 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40100 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40101 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40104 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40105 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40106 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40109 COND_BUILD_DEBUG_UNICODE_0
="#"
40110 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40111 COND_BUILD_DEBUG_UNICODE_0
=""
40114 COND_BUILD_DEBUG_UNICODE_1
="#"
40115 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40116 COND_BUILD_DEBUG_UNICODE_1
=""
40119 COND_BUILD_RELEASE
="#"
40120 if test "x$BUILD" = "xrelease" ; then
40121 COND_BUILD_RELEASE
=""
40124 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40125 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40126 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40129 COND_BUILD_RELEASE_UNICODE_0
="#"
40130 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40131 COND_BUILD_RELEASE_UNICODE_0
=""
40134 COND_BUILD_RELEASE_UNICODE_1
="#"
40135 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40136 COND_BUILD_RELEASE_UNICODE_1
=""
40139 COND_DEBUG_FLAG_1
="#"
40140 if test "x$DEBUG_FLAG" = "x1" ; then
40141 COND_DEBUG_FLAG_1
=""
40144 COND_DEBUG_INFO_0
="#"
40145 if test "x$DEBUG_INFO" = "x0" ; then
40146 COND_DEBUG_INFO_0
=""
40149 COND_DEBUG_INFO_1
="#"
40150 if test "x$DEBUG_INFO" = "x1" ; then
40151 COND_DEBUG_INFO_1
=""
40154 COND_DEPS_TRACKING_0
="#"
40155 if test "x$DEPS_TRACKING" = "x0" ; then
40156 COND_DEPS_TRACKING_0
=""
40159 COND_DEPS_TRACKING_1
="#"
40160 if test "x$DEPS_TRACKING" = "x1" ; then
40161 COND_DEPS_TRACKING_1
=""
40165 if test "x$GCC_PCH" = "x1" ; then
40169 COND_MONOLITHIC_0
="#"
40170 if test "x$MONOLITHIC" = "x0" ; then
40171 COND_MONOLITHIC_0
=""
40174 COND_MONOLITHIC_0_SHARED_0
="#"
40175 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40176 COND_MONOLITHIC_0_SHARED_0
=""
40179 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40181 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40184 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40189 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40191 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40194 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40196 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40199 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40201 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40204 COND_MONOLITHIC_0_SHARED_1
="#"
40205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40206 COND_MONOLITHIC_0_SHARED_1
=""
40209 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40211 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40214 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40219 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40221 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40224 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40226 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40229 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40230 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40231 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40234 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40235 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40236 COND_MONOLITHIC_0_USE_ODBC_1
=""
40239 COND_MONOLITHIC_1
="#"
40240 if test "x$MONOLITHIC" = "x1" ; then
40241 COND_MONOLITHIC_1
=""
40244 COND_MONOLITHIC_1_SHARED_0
="#"
40245 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40246 COND_MONOLITHIC_1_SHARED_0
=""
40249 COND_MONOLITHIC_1_SHARED_1
="#"
40250 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40251 COND_MONOLITHIC_1_SHARED_1
=""
40254 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40255 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40256 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40259 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40260 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40261 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40264 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40265 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40266 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40269 COND_PLATFORM_MACOSX_1
="#"
40270 if test "x$PLATFORM_MACOSX" = "x1" ; then
40271 COND_PLATFORM_MACOSX_1
=""
40274 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40275 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40276 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40279 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40280 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40281 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40284 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40286 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40289 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40290 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40291 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40294 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40295 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40296 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40299 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40300 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40301 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40304 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40305 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40306 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40309 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40310 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40311 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40314 COND_PLATFORM_MACOS_1
="#"
40315 if test "x$PLATFORM_MACOS" = "x1" ; then
40316 COND_PLATFORM_MACOS_1
=""
40319 COND_PLATFORM_MAC_1
="#"
40320 if test "x$PLATFORM_MAC" = "x1" ; then
40321 COND_PLATFORM_MAC_1
=""
40324 COND_PLATFORM_OS2_1
="#"
40325 if test "x$PLATFORM_OS2" = "x1" ; then
40326 COND_PLATFORM_OS2_1
=""
40329 COND_PLATFORM_UNIX_0
="#"
40330 if test "x$PLATFORM_UNIX" = "x0" ; then
40331 COND_PLATFORM_UNIX_0
=""
40334 COND_PLATFORM_UNIX_1
="#"
40335 if test "x$PLATFORM_UNIX" = "x1" ; then
40336 COND_PLATFORM_UNIX_1
=""
40339 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40340 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40341 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40344 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40345 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40346 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40349 COND_PLATFORM_WIN32_0
="#"
40350 if test "x$PLATFORM_WIN32" = "x0" ; then
40351 COND_PLATFORM_WIN32_0
=""
40354 COND_PLATFORM_WIN32_1
="#"
40355 if test "x$PLATFORM_WIN32" = "x1" ; then
40356 COND_PLATFORM_WIN32_1
=""
40360 if test "x$SHARED" = "x0" ; then
40364 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40365 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40366 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40369 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40370 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40371 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40374 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40375 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40376 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40379 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40380 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40381 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40384 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40385 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40386 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40389 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40390 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40391 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40394 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40395 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40396 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40399 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40400 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40401 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40404 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40405 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40406 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40409 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40410 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40411 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40414 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40415 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40416 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40420 if test "x$SHARED" = "x1" ; then
40424 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40425 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40426 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40430 if test "x$TOOLKIT" = "x" ; then
40434 COND_TOOLKIT_COCOA
="#"
40435 if test "x$TOOLKIT" = "xCOCOA" ; then
40436 COND_TOOLKIT_COCOA
=""
40439 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40440 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40441 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40444 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40445 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40446 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40449 COND_TOOLKIT_GTK
="#"
40450 if test "x$TOOLKIT" = "xGTK" ; then
40451 COND_TOOLKIT_GTK
=""
40454 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40455 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40456 COND_TOOLKIT_GTK_USE_GUI_1
=""
40459 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40460 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40461 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40464 COND_TOOLKIT_MAC
="#"
40465 if test "x$TOOLKIT" = "xMAC" ; then
40466 COND_TOOLKIT_MAC
=""
40469 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40470 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40471 COND_TOOLKIT_MAC_USE_GUI_1
=""
40474 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40475 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40476 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40479 COND_TOOLKIT_MGL
="#"
40480 if test "x$TOOLKIT" = "xMGL" ; then
40481 COND_TOOLKIT_MGL
=""
40484 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40485 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40486 COND_TOOLKIT_MGL_USE_GUI_1
=""
40489 COND_TOOLKIT_MOTIF
="#"
40490 if test "x$TOOLKIT" = "xMOTIF" ; then
40491 COND_TOOLKIT_MOTIF
=""
40494 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40495 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40496 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40499 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40500 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40501 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40504 COND_TOOLKIT_MSW
="#"
40505 if test "x$TOOLKIT" = "xMSW" ; then
40506 COND_TOOLKIT_MSW
=""
40509 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40510 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40511 COND_TOOLKIT_MSW_USE_GUI_1
=""
40514 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40515 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40516 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40519 COND_TOOLKIT_PM
="#"
40520 if test "x$TOOLKIT" = "xPM" ; then
40524 COND_TOOLKIT_PM_USE_GUI_1
="#"
40525 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40526 COND_TOOLKIT_PM_USE_GUI_1
=""
40529 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40530 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40531 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40534 COND_TOOLKIT_WINCE
="#"
40535 if test "x$TOOLKIT" = "xWINCE" ; then
40536 COND_TOOLKIT_WINCE
=""
40539 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40540 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40541 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40544 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40545 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40546 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40549 COND_TOOLKIT_X11
="#"
40550 if test "x$TOOLKIT" = "xX11" ; then
40551 COND_TOOLKIT_X11
=""
40554 COND_TOOLKIT_X11_USE_GUI_1
="#"
40555 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40556 COND_TOOLKIT_X11_USE_GUI_1
=""
40560 if test "x$UNICODE" = "x1" ; then
40564 COND_USE_EXCEPTIONS_0
="#"
40565 if test "x$USE_EXCEPTIONS" = "x0" ; then
40566 COND_USE_EXCEPTIONS_0
=""
40569 COND_USE_EXCEPTIONS_1
="#"
40570 if test "x$USE_EXCEPTIONS" = "x1" ; then
40571 COND_USE_EXCEPTIONS_1
=""
40575 if test "x$USE_GUI" = "x0" ; then
40580 if test "x$USE_GUI" = "x1" ; then
40584 COND_USE_GUI_1_WXUNIV_0
="#"
40585 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40586 COND_USE_GUI_1_WXUNIV_0
=""
40589 COND_USE_GUI_1_WXUNIV_1
="#"
40590 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40591 COND_USE_GUI_1_WXUNIV_1
=""
40594 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40595 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40596 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40599 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40600 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40601 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40604 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40605 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40606 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40609 COND_USE_ODBC_1
="#"
40610 if test "x$USE_ODBC" = "x1" ; then
40614 COND_USE_OPENGL_1
="#"
40615 if test "x$USE_OPENGL" = "x1" ; then
40616 COND_USE_OPENGL_1
=""
40619 COND_USE_PLUGINS_0
="#"
40620 if test "x$USE_PLUGINS" = "x0" ; then
40621 COND_USE_PLUGINS_0
=""
40624 COND_USE_SOSYMLINKS_1
="#"
40625 if test "x$USE_SOSYMLINKS" = "x1" ; then
40626 COND_USE_SOSYMLINKS_1
=""
40629 COND_USE_SOVERLINUX_1
="#"
40630 if test "x$USE_SOVERLINUX" = "x1" ; then
40631 COND_USE_SOVERLINUX_1
=""
40634 COND_USE_SOVERSION_0
="#"
40635 if test "x$USE_SOVERSION" = "x0" ; then
40636 COND_USE_SOVERSION_0
=""
40639 COND_USE_SOVERSOLARIS_1
="#"
40640 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40641 COND_USE_SOVERSOLARIS_1
=""
40645 if test "x$USE_XRC" = "x1" ; then
40649 COND_WITH_PLUGIN_SDL_1
="#"
40650 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40651 COND_WITH_PLUGIN_SDL_1
=""
40655 if test "x$WXUNIV" = "x1" ; then
40659 COND_WXUSE_EXPAT_BUILTIN
="#"
40660 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40661 COND_WXUSE_EXPAT_BUILTIN
=""
40664 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40665 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40666 COND_WXUSE_LIBJPEG_BUILTIN
=""
40669 COND_WXUSE_LIBPNG_BUILTIN
="#"
40670 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40671 COND_WXUSE_LIBPNG_BUILTIN
=""
40674 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40675 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40676 COND_WXUSE_LIBTIFF_BUILTIN
=""
40679 COND_WXUSE_ODBC_BUILTIN
="#"
40680 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40681 COND_WXUSE_ODBC_BUILTIN
=""
40684 COND_WXUSE_REGEX_BUILTIN
="#"
40685 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40686 COND_WXUSE_REGEX_BUILTIN
=""
40689 COND_WXUSE_ZLIB_BUILTIN
="#"
40690 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40691 COND_WXUSE_ZLIB_BUILTIN
=""
40694 COND_BUILD_DEBUG
="#"
40695 if test "x$BUILD" = "xdebug" ; then
40696 COND_BUILD_DEBUG
=""
40699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40700 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40701 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40704 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40705 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40706 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40709 COND_BUILD_DEBUG_UNICODE_0
="#"
40710 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40711 COND_BUILD_DEBUG_UNICODE_0
=""
40714 COND_BUILD_DEBUG_UNICODE_1
="#"
40715 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40716 COND_BUILD_DEBUG_UNICODE_1
=""
40719 COND_BUILD_RELEASE
="#"
40720 if test "x$BUILD" = "xrelease" ; then
40721 COND_BUILD_RELEASE
=""
40724 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40725 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40726 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40729 COND_BUILD_RELEASE_UNICODE_0
="#"
40730 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40731 COND_BUILD_RELEASE_UNICODE_0
=""
40734 COND_BUILD_RELEASE_UNICODE_1
="#"
40735 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40736 COND_BUILD_RELEASE_UNICODE_1
=""
40739 COND_DEBUG_FLAG_1
="#"
40740 if test "x$DEBUG_FLAG" = "x1" ; then
40741 COND_DEBUG_FLAG_1
=""
40744 COND_DEBUG_INFO_0
="#"
40745 if test "x$DEBUG_INFO" = "x0" ; then
40746 COND_DEBUG_INFO_0
=""
40749 COND_DEBUG_INFO_1
="#"
40750 if test "x$DEBUG_INFO" = "x1" ; then
40751 COND_DEBUG_INFO_1
=""
40754 COND_DEPS_TRACKING_0
="#"
40755 if test "x$DEPS_TRACKING" = "x0" ; then
40756 COND_DEPS_TRACKING_0
=""
40759 COND_DEPS_TRACKING_1
="#"
40760 if test "x$DEPS_TRACKING" = "x1" ; then
40761 COND_DEPS_TRACKING_1
=""
40765 if test "x$GCC_PCH" = "x1" ; then
40769 COND_MONOLITHIC_0
="#"
40770 if test "x$MONOLITHIC" = "x0" ; then
40771 COND_MONOLITHIC_0
=""
40774 COND_MONOLITHIC_0_SHARED_0
="#"
40775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40776 COND_MONOLITHIC_0_SHARED_0
=""
40779 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40781 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40789 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40791 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40794 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40796 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40799 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40801 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40804 COND_MONOLITHIC_0_SHARED_1
="#"
40805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40806 COND_MONOLITHIC_0_SHARED_1
=""
40809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40819 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40821 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40824 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40826 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40829 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40831 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40834 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40835 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40836 COND_MONOLITHIC_0_USE_ODBC_1
=""
40839 COND_MONOLITHIC_1
="#"
40840 if test "x$MONOLITHIC" = "x1" ; then
40841 COND_MONOLITHIC_1
=""
40844 COND_MONOLITHIC_1_SHARED_0
="#"
40845 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40846 COND_MONOLITHIC_1_SHARED_0
=""
40849 COND_MONOLITHIC_1_SHARED_1
="#"
40850 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40851 COND_MONOLITHIC_1_SHARED_1
=""
40854 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40855 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40856 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40860 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40864 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40865 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40866 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40869 COND_PLATFORM_MACOSX_1
="#"
40870 if test "x$PLATFORM_MACOSX" = "x1" ; then
40871 COND_PLATFORM_MACOSX_1
=""
40874 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40875 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40876 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40879 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40880 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40881 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40884 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40885 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40886 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40889 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40890 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40891 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40894 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40895 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40896 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40899 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40900 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40901 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40904 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40905 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40906 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40909 COND_PLATFORM_MAC_1
="#"
40910 if test "x$PLATFORM_MAC" = "x1" ; then
40911 COND_PLATFORM_MAC_1
=""
40914 COND_PLATFORM_OS2_1
="#"
40915 if test "x$PLATFORM_OS2" = "x1" ; then
40916 COND_PLATFORM_OS2_1
=""
40919 COND_PLATFORM_UNIX_0
="#"
40920 if test "x$PLATFORM_UNIX" = "x0" ; then
40921 COND_PLATFORM_UNIX_0
=""
40924 COND_PLATFORM_UNIX_1
="#"
40925 if test "x$PLATFORM_UNIX" = "x1" ; then
40926 COND_PLATFORM_UNIX_1
=""
40929 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40930 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40931 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40934 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40935 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40936 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40939 COND_PLATFORM_WIN32_0
="#"
40940 if test "x$PLATFORM_WIN32" = "x0" ; then
40941 COND_PLATFORM_WIN32_0
=""
40944 COND_PLATFORM_WIN32_1
="#"
40945 if test "x$PLATFORM_WIN32" = "x1" ; then
40946 COND_PLATFORM_WIN32_1
=""
40950 if test "x$SHARED" = "x0" ; then
40954 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40955 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40956 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40959 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40960 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40961 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40964 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40965 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40966 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40969 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40970 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40971 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40974 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40975 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40976 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40979 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40980 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40981 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40984 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40985 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40986 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40989 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40990 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40991 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40995 if test "x$SHARED" = "x1" ; then
40999 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41000 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41001 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41004 COND_TOOLKIT_COCOA
="#"
41005 if test "x$TOOLKIT" = "xCOCOA" ; then
41006 COND_TOOLKIT_COCOA
=""
41009 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41010 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41011 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41014 COND_TOOLKIT_GTK
="#"
41015 if test "x$TOOLKIT" = "xGTK" ; then
41016 COND_TOOLKIT_GTK
=""
41019 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41020 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41021 COND_TOOLKIT_GTK_USE_GUI_1
=""
41024 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41025 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41026 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41029 COND_TOOLKIT_MAC
="#"
41030 if test "x$TOOLKIT" = "xMAC" ; then
41031 COND_TOOLKIT_MAC
=""
41034 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41035 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41036 COND_TOOLKIT_MAC_USE_GUI_1
=""
41039 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41040 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41041 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41044 COND_TOOLKIT_MAC_WXUNIV_0
="#"
41045 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41046 COND_TOOLKIT_MAC_WXUNIV_0
=""
41049 COND_TOOLKIT_MGL
="#"
41050 if test "x$TOOLKIT" = "xMGL" ; then
41051 COND_TOOLKIT_MGL
=""
41054 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41055 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41056 COND_TOOLKIT_MGL_USE_GUI_1
=""
41059 COND_TOOLKIT_MOTIF
="#"
41060 if test "x$TOOLKIT" = "xMOTIF" ; then
41061 COND_TOOLKIT_MOTIF
=""
41064 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41065 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41066 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41069 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41070 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41071 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41074 COND_TOOLKIT_MSW
="#"
41075 if test "x$TOOLKIT" = "xMSW" ; then
41076 COND_TOOLKIT_MSW
=""
41079 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41080 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41081 COND_TOOLKIT_MSW_USE_GUI_1
=""
41084 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41085 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41086 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41089 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41090 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41091 COND_TOOLKIT_MSW_WXUNIV_0
=""
41094 COND_TOOLKIT_PM
="#"
41095 if test "x$TOOLKIT" = "xPM" ; then
41099 COND_TOOLKIT_PM_USE_GUI_1
="#"
41100 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41101 COND_TOOLKIT_PM_USE_GUI_1
=""
41104 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41105 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41106 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41109 COND_TOOLKIT_PM_WXUNIV_0
="#"
41110 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41111 COND_TOOLKIT_PM_WXUNIV_0
=""
41114 COND_TOOLKIT_WINCE
="#"
41115 if test "x$TOOLKIT" = "xWINCE" ; then
41116 COND_TOOLKIT_WINCE
=""
41119 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41120 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41121 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41124 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41125 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41126 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41129 COND_TOOLKIT_X11
="#"
41130 if test "x$TOOLKIT" = "xX11" ; then
41131 COND_TOOLKIT_X11
=""
41134 COND_TOOLKIT_X11_USE_GUI_1
="#"
41135 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41136 COND_TOOLKIT_X11_USE_GUI_1
=""
41140 if test "x$UNICODE" = "x1" ; then
41144 COND_USE_EXCEPTIONS_0
="#"
41145 if test "x$USE_EXCEPTIONS" = "x0" ; then
41146 COND_USE_EXCEPTIONS_0
=""
41149 COND_USE_EXCEPTIONS_1
="#"
41150 if test "x$USE_EXCEPTIONS" = "x1" ; then
41151 COND_USE_EXCEPTIONS_1
=""
41155 if test "x$USE_GUI" = "x0" ; then
41160 if test "x$USE_GUI" = "x1" ; then
41164 COND_USE_GUI_1_WXUNIV_0
="#"
41165 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41166 COND_USE_GUI_1_WXUNIV_0
=""
41169 COND_USE_GUI_1_WXUNIV_1
="#"
41170 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41171 COND_USE_GUI_1_WXUNIV_1
=""
41174 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41175 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41176 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41179 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41180 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41181 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41184 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41185 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41186 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41189 COND_USE_ODBC_1
="#"
41190 if test "x$USE_ODBC" = "x1" ; then
41194 COND_USE_PLUGINS_0
="#"
41195 if test "x$USE_PLUGINS" = "x0" ; then
41196 COND_USE_PLUGINS_0
=""
41199 COND_USE_SOSYMLINKS_1
="#"
41200 if test "x$USE_SOSYMLINKS" = "x1" ; then
41201 COND_USE_SOSYMLINKS_1
=""
41204 COND_USE_SOVERLINUX_1
="#"
41205 if test "x$USE_SOVERLINUX" = "x1" ; then
41206 COND_USE_SOVERLINUX_1
=""
41209 COND_USE_SOVERSION_0
="#"
41210 if test "x$USE_SOVERSION" = "x0" ; then
41211 COND_USE_SOVERSION_0
=""
41214 COND_USE_SOVERSOLARIS_1
="#"
41215 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41216 COND_USE_SOVERSOLARIS_1
=""
41219 COND_WITH_PLUGIN_SDL_1
="#"
41220 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41221 COND_WITH_PLUGIN_SDL_1
=""
41225 if test "x$WXUNIV" = "x1" ; then
41229 COND_WXUSE_EXPAT_BUILTIN
="#"
41230 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41231 COND_WXUSE_EXPAT_BUILTIN
=""
41234 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41235 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41236 COND_WXUSE_LIBJPEG_BUILTIN
=""
41239 COND_WXUSE_LIBPNG_BUILTIN
="#"
41240 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41241 COND_WXUSE_LIBPNG_BUILTIN
=""
41244 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41245 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41246 COND_WXUSE_LIBTIFF_BUILTIN
=""
41249 COND_WXUSE_ODBC_BUILTIN
="#"
41250 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41251 COND_WXUSE_ODBC_BUILTIN
=""
41254 COND_WXUSE_REGEX_BUILTIN
="#"
41255 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41256 COND_WXUSE_REGEX_BUILTIN
=""
41259 COND_WXUSE_ZLIB_BUILTIN
="#"
41260 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41261 COND_WXUSE_ZLIB_BUILTIN
=""
41266 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41267 { { 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
41268 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;}
41269 { (exit 1); exit 1; }; }
41273 if test "$wxUSE_SHARED" = "yes"; then
41275 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41276 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41280 EXE_LINKER
="$CXX -o"
41284 GCC_PRAGMA_FLAGS
=""
41285 if test $GCC_PCH = 1 ; then
41286 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41289 powerpc
-*-darwin* )
41290 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41293 if test "$wxUSE_STL" = "yes" -o \
41294 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41295 "$wxUSE_NO_RTTI" != "yes"; then
41296 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41297 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41298 cat >conftest.
$ac_ext <<_ACEOF
41301 cat confdefs.h
>>conftest.
$ac_ext
41302 cat >>conftest.
$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41308 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41309 #error "Not GCC 3.2 or greater"
41316 rm -f conftest.
$ac_objext
41317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41318 (eval $ac_compile) 2>conftest.er1
41320 grep -v '^ *+' conftest.er1
>conftest.err
41322 cat conftest.err
>&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } &&
41325 { ac_try
='test -z "$ac_c_werror_flag"
41326 || test ! -s conftest.err'
41327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41328 (eval $ac_try) 2>&5
41330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41331 (exit $ac_status); }; } &&
41332 { ac_try
='test -s conftest.$ac_objext'
41333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41334 (eval $ac_try) 2>&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); }; }; then
41338 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41339 echo "$as_me:$LINENO: result: yes" >&5
41340 echo "${ECHO_T}yes" >&6
41342 echo "$as_me: failed program was:" >&5
41343 sed 's/^/| /' conftest.
$ac_ext >&5
41345 echo "$as_me:$LINENO: result: no" >&5
41346 echo "${ECHO_T}no" >&6
41348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41353 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41356 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41420 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41421 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41422 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41423 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41424 echo $ECHO_N "(cached) $ECHO_C" >&6
41426 cat >conftest.
make <<\_ACEOF
41428 @
echo 'ac_maketemp="$(MAKE)"'
41430 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41431 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41432 if test -n "$ac_maketemp"; then
41433 eval ac_cv_prog_make_
${ac_make}_set
=yes
41435 eval ac_cv_prog_make_
${ac_make}_set
=no
41437 rm -f conftest.
make
41439 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41440 echo "$as_me:$LINENO: result: yes" >&5
41441 echo "${ECHO_T}yes" >&6
41444 echo "$as_me:$LINENO: result: no" >&5
41445 echo "${ECHO_T}no" >&6
41446 SET_MAKE
="MAKE=${MAKE-make}"
41451 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41454 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41457 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41460 ac_config_files
="$ac_config_files version-script Makefile"
41463 ac_config_commands
="$ac_config_commands wx-config
41469 if test "$wxUSE_GUI" = "yes"; then
41470 SUBDIRS
="samples demos utils contrib"
41471 else SUBDIRS
="samples utils"
41476 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41477 if test "${with_cppunit_prefix+set}" = set; then
41478 withval
="$with_cppunit_prefix"
41479 cppunit_config_prefix
="$withval"
41481 cppunit_config_prefix
=""
41484 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41485 if test "${with_cppunit_exec_prefix+set}" = set; then
41486 withval
="$with_cppunit_exec_prefix"
41487 cppunit_config_exec_prefix
="$withval"
41489 cppunit_config_exec_prefix
=""
41492 if test x
$cppunit_config_exec_prefix != x
; then
41493 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41494 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41495 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41498 if test x
$cppunit_config_prefix != x
; then
41499 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41500 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41501 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41505 # Extract the first word of "cppunit-config", so it can be a program name with args.
41506 set dummy cppunit
-config; ac_word
=$2
41507 echo "$as_me:$LINENO: checking for $ac_word" >&5
41508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41509 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41510 echo $ECHO_N "(cached) $ECHO_C" >&6
41512 case $CPPUNIT_CONFIG in
41514 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41518 for as_dir
in $PATH
41521 test -z "$as_dir" && as_dir
=.
41522 for ac_exec_ext
in '' $ac_executable_extensions; do
41523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41524 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41531 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41535 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41537 if test -n "$CPPUNIT_CONFIG"; then
41538 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41539 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41541 echo "$as_me:$LINENO: result: no" >&5
41542 echo "${ECHO_T}no" >&6
41545 cppunit_version_min
=1.8.0
41547 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41548 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41550 if test "$CPPUNIT_CONFIG" = "no" ; then
41553 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41554 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41555 cppunit_version
=`$CPPUNIT_CONFIG --version`
41557 cppunit_major_version
=`echo $cppunit_version | \
41558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41559 cppunit_minor_version
=`echo $cppunit_version | \
41560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41561 cppunit_micro_version
=`echo $cppunit_version | \
41562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41564 cppunit_major_min
=`echo $cppunit_version_min | \
41565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41566 cppunit_minor_min
=`echo $cppunit_version_min | \
41567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41568 cppunit_micro_min
=`echo $cppunit_version_min | \
41569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41571 cppunit_version_proper
=`expr \
41572 $cppunit_major_version \> $cppunit_major_min \| \
41573 $cppunit_major_version \= $cppunit_major_min \& \
41574 $cppunit_minor_version \> $cppunit_minor_min \| \
41575 $cppunit_major_version \= $cppunit_major_min \& \
41576 $cppunit_minor_version \= $cppunit_minor_min \& \
41577 $cppunit_micro_version \>= $cppunit_micro_min `
41579 if test "$cppunit_version_proper" = "1" ; then
41580 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41581 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41583 echo "$as_me:$LINENO: result: no" >&5
41584 echo "${ECHO_T}no" >&6
41589 if test "x$no_cppunit" = x
; then
41590 SUBDIRS
="$SUBDIRS tests"
41601 for subdir
in `echo $SUBDIRS`; do
41602 if test -d ${srcdir}/${subdir} ; then
41603 if test "$wxUSE_GUI" = "yes"; then
41604 if test ${subdir} = "samples"; then
41605 makefiles
="samples/Makefile.in $makefiles"
41606 for sample
in `echo $SAMPLES_SUBDIRS`; do
41607 if test -d $srcdir/samples
/$sample; then
41608 makefiles
="samples/$sample/Makefile.in $makefiles"
41611 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41613 else if test ${subdir} = "samples"; then
41614 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41615 elif test ${subdir} = "utils"; then
41617 for util
in HelpGen tex2rtf
; do
41618 if test -d $srcdir/utils
/$util ; then
41619 makefiles
="utils/$util/Makefile.in \
41620 utils/$util/src/Makefile.in \
41624 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41628 for mkin
in $makefiles ; do
41629 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41630 ac_config_files
="$ac_config_files $mk"
41637 cat >confcache
<<\_ACEOF
41638 # This file is a shell script that caches the results of configure
41639 # tests run on this system so they can be shared between configure
41640 # scripts and configure runs, see configure's option --config-cache.
41641 # It is not useful on other systems. If it contains results you don't
41642 # want to keep, you may remove or edit it.
41644 # config.status only pays attention to the cache file if you give it
41645 # the --recheck option to rerun configure.
41647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41649 # following values.
41653 # The following way of writing the cache mishandles newlines in values,
41654 # but we know of no workaround that is simple, portable, and efficient.
41655 # So, don't put newlines in cache variables' values.
41656 # Ultrix sh set writes to stderr and can't be redirected directly,
41657 # and sets the high bit in the cache file unless we assign to the vars.
41660 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41662 # `set' does not quote correctly, so add quotes (double-quote
41663 # substitution turns \\\\ into \\, and sed turns \\ into \).
41666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41669 # `set' quotes correctly as required by POSIX, so do not add quotes.
41671 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41680 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41682 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41683 if test -w $cache_file; then
41684 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41685 cat confcache
>$cache_file
41687 echo "not updating unwritable cache $cache_file"
41692 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41693 # Let make expand exec_prefix.
41694 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41696 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41697 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41698 # trailing colons and then remove the whole line if VPATH becomes empty
41699 # (actually we leave an empty line to preserve line numbers).
41700 if test "x$srcdir" = x.
; then
41701 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41702 s/:*\$(srcdir):*/:/;
41703 s/:*\${srcdir}:*/:/;
41705 s/^\([^=]*=[ ]*\):*/\1/;
41711 DEFS
=-DHAVE_CONFIG_H
41715 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41716 # 1. Remove the extension, and $U if already installed.
41717 ac_i
=`echo "$ac_i" |
41718 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41720 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41721 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41723 LIBOBJS
=$ac_libobjs
41725 LTLIBOBJS
=$ac_ltlibobjs
41729 : ${CONFIG_STATUS=./config.status}
41730 ac_clean_files_save
=$ac_clean_files
41731 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41732 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41733 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41734 cat >$CONFIG_STATUS <<_ACEOF
41736 # Generated by $as_me.
41737 # Run this file to recreate the current configuration.
41738 # Compiler output produced by configure, useful for debugging
41739 # configure, is in config.log if it exists.
41742 ac_cs_recheck=false
41744 SHELL=\${CONFIG_SHELL-$SHELL}
41747 cat >>$CONFIG_STATUS <<\_ACEOF
41748 ## --------------------- ##
41749 ## M4sh Initialization. ##
41750 ## --------------------- ##
41752 # Be Bourne compatible
41753 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41756 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41757 # is contrary to our usage. Disable this feature.
41758 alias -g '${1+"$@"}'='"$@"'
41759 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41762 DUALCASE
=1; export DUALCASE
# for MKS sh
41764 # Support unset when possible.
41765 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41772 # Work around bugs in pre-3.0 UWIN ksh.
41773 $as_unset ENV MAIL MAILPATH
41780 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41781 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41782 LC_TELEPHONE LC_TIME
41784 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41785 eval $as_var=C
; export $as_var
41791 # Required to use basename.
41792 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41798 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41799 as_basename
=basename
41805 # Name of the executable.
41806 as_me
=`$as_basename "$0" ||
41807 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41808 X"$0" : 'X\(//\)$' \| \
41809 X"$0" : 'X\(/\)$' \| \
41810 . : '\(.\)' 2>/dev/null ||
41812 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41813 /^X\/\(\/\/\)$/{ s//\1/; q; }
41814 /^X\/\(\/\).*/{ s//\1/; q; }
41818 # PATH needs CR, and LINENO needs CR and PATH.
41819 # Avoid depending upon Character Ranges.
41820 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41821 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41822 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41823 as_cr_digits
='0123456789'
41824 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41826 # The user is always right.
41827 if test "${PATH_SEPARATOR+set}" != set; then
41828 echo "#! /bin/sh" >conf$$.sh
41829 echo "exit 0" >>conf$$.sh
41831 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41840 as_lineno_1
=$LINENO
41841 as_lineno_2
=$LINENO
41842 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41843 test "x$as_lineno_1" != "x$as_lineno_2" &&
41844 test "x$as_lineno_3" = "x$as_lineno_2" || {
41845 # Find who we are. Look in the path if we contain no path at all
41848 *[\\/]* ) as_myself
=$0 ;;
41849 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41850 for as_dir
in $PATH
41853 test -z "$as_dir" && as_dir
=.
41854 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41859 # We did not find ourselves, most probably we were run as `sh COMMAND'
41860 # in which case we are not to be found in the path.
41861 if test "x$as_myself" = x
; then
41864 if test ! -f "$as_myself"; then
41865 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41866 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41867 { (exit 1); exit 1; }; }
41869 case $CONFIG_SHELL in
41871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41872 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41875 test -z "$as_dir" && as_dir
=.
41876 for as_base
in sh bash ksh sh5
; do
41879 if ("$as_dir/$as_base" -c '
41880 as_lineno_1=$LINENO
41881 as_lineno_2=$LINENO
41882 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41883 test "x$as_lineno_1" != "x$as_lineno_2" &&
41884 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41885 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41886 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41887 CONFIG_SHELL
=$as_dir/$as_base
41888 export CONFIG_SHELL
41889 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41897 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41898 # uniformly replaced by the line number. The first 'sed' inserts a
41899 # line-number line before each line; the second 'sed' does the real
41900 # work. The second script uses 'N' to pair each line-number line
41901 # with the numbered line, and appends trailing '-' during
41902 # substitution so that $LINENO is not a special case at line end.
41903 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41904 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41905 sed '=' <$as_myself |
41910 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41913 s,^['$as_cr_digits']*\n,,
41914 ' >$as_me.lineno
&&
41915 chmod +x
$as_me.lineno
||
41916 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41917 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41918 { (exit 1); exit 1; }; }
41920 # Don't try to exec as it changes $[0], causing all sort of problems
41921 # (the dirname of $[0] is not the place where we might find the
41922 # original and so on. Autoconf is especially sensible to this).
41924 # Exit status is that of the last command.
41929 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41930 *c
*,-n*) ECHO_N
= ECHO_C
='
41932 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41933 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41936 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41942 rm -f conf$$ conf$$.exe conf$$.
file
41944 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41945 # We could just check for DJGPP; but this test a) works b) is more generic
41946 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41947 if test -f conf$$.exe
; then
41948 # Don't use ln at all; we don't have any links
41953 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41958 rm -f conf$$ conf$$.exe conf$$.
file
41960 if mkdir -p .
2>/dev
/null
; then
41963 test -d .
/-p && rmdir .
/-p
41967 as_executable_p
="test -f"
41969 # Sed expression to map a string onto a valid CPP name.
41970 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41972 # Sed expression to map a string onto a valid variable name.
41973 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41977 # We need space, tab and new line, in precisely that order.
41987 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41988 # report actual input values of CONFIG_FILES etc. instead of their
41989 # values after options handling. Logging --version etc. is OK.
41993 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41994 ## Running $as_me. ##
41999 This file was extended by wxWidgets $as_me 2.5.3, which was
42000 generated by GNU Autoconf 2.59. Invocation command line was
42002 CONFIG_FILES = $CONFIG_FILES
42003 CONFIG_HEADERS = $CONFIG_HEADERS
42004 CONFIG_LINKS = $CONFIG_LINKS
42005 CONFIG_COMMANDS = $CONFIG_COMMANDS
42009 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42013 # Files that config.status was made for.
42014 if test -n "$ac_config_files"; then
42015 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42018 if test -n "$ac_config_headers"; then
42019 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42022 if test -n "$ac_config_links"; then
42023 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42026 if test -n "$ac_config_commands"; then
42027 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42030 cat >>$CONFIG_STATUS <<\_ACEOF
42033 \`$as_me' instantiates files from templates according to the
42034 current configuration.
42036 Usage: $0 [OPTIONS] [FILE]...
42038 -h, --help print this help, then exit
42039 -V, --version print version number, then exit
42040 -q, --quiet do not print progress messages
42041 -d, --debug don't remove temporary files
42042 --recheck update $as_me by reconfiguring in the same conditions
42043 --file=FILE[:TEMPLATE]
42044 instantiate the configuration file FILE
42045 --header=FILE[:TEMPLATE]
42046 instantiate the configuration header FILE
42048 Configuration files:
42051 Configuration headers:
42054 Configuration commands:
42057 Report bugs to <bug-autoconf@gnu.org>."
42060 cat >>$CONFIG_STATUS <<_ACEOF
42062 wxWidgets config.status 2.5.3
42063 configured by $0, generated by GNU Autoconf 2.59,
42064 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42066 Copyright (C) 2003 Free Software Foundation, Inc.
42067 This config.status script is free software; the Free Software Foundation
42068 gives unlimited permission to copy, distribute and modify it."
42073 cat >>$CONFIG_STATUS <<\_ACEOF
42074 # If no file are specified by the user, then we need to provide default
42075 # value. By we need to know if files were specified by the user.
42081 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42082 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42090 *) # This is not an option, so the user has probably given explicit
42093 ac_need_defaults
=false
;;
42097 # Handling of the options.
42099 cat >>$CONFIG_STATUS <<\_ACEOF
42100 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42102 --version | --vers* | -V )
42103 echo "$ac_cs_version"; exit 0 ;;
42105 # Conflict between --help and --header
42106 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42107 Try \`$0 --help' for more information." >&5
42108 echo "$as_me: error: ambiguous option: $1
42109 Try \`$0 --help' for more information." >&2;}
42110 { (exit 1); exit 1; }; };;
42111 --help | --hel | -h )
42112 echo "$ac_cs_usage"; exit 0 ;;
42113 --debug | --d* | -d )
42115 --file | --fil | --fi | --f )
42117 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42118 ac_need_defaults
=false
;;
42119 --header | --heade | --head | --hea )
42121 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42122 ac_need_defaults
=false
;;
42123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42124 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42127 # This is an error.
42128 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42129 Try \`$0 --help' for more information." >&5
42130 echo "$as_me: error: unrecognized option: $1
42131 Try \`$0 --help' for more information." >&2;}
42132 { (exit 1); exit 1; }; } ;;
42134 *) ac_config_targets
="$ac_config_targets $1" ;;
42140 ac_configure_extra_args
=
42142 if $ac_cs_silent; then
42144 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42148 cat >>$CONFIG_STATUS <<_ACEOF
42149 if \$ac_cs_recheck; then
42150 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42151 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42156 cat >>$CONFIG_STATUS <<_ACEOF
42158 # INIT-COMMANDS section.
42161 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42162 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42163 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42171 cat >>$CONFIG_STATUS <<\_ACEOF
42172 for ac_config_target
in $ac_config_targets
42174 case "$ac_config_target" in
42175 # Handling of arguments.
42176 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42177 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42178 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42179 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42180 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42181 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42182 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42183 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42184 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42185 { (exit 1); exit 1; }; };;
42189 # If the user did not use the arguments to specify the items to instantiate,
42190 # then the envvar interface is used. Set only those that are not.
42191 # We use the long form for the default assignment because of an extremely
42192 # bizarre bug on SunOS 4.1.3.
42193 if $ac_need_defaults; then
42194 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42195 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42196 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42199 # Have a temporary directory for convenience. Make it in the build tree
42200 # simply because there is no reason to put it here, and in addition,
42201 # creating and moving files from /tmp can sometimes cause problems.
42202 # Create a temporary directory, and hook for its removal unless debugging.
42205 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42206 trap '{ (exit 1); exit 1; }' 1 2 13 15
42209 # Create a (secure) tmp directory for tmp files.
42212 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42213 test -n "$tmp" && test -d "$tmp"
42216 tmp
=.
/confstat$$
-$RANDOM
42217 (umask 077 && mkdir $tmp)
42220 echo "$me: cannot create a temporary directory in ." >&2
42221 { (exit 1); exit 1; }
42226 cat >>$CONFIG_STATUS <<_ACEOF
42229 # CONFIG_FILES section.
42232 # No need to generate the scripts if there are no CONFIG_FILES.
42233 # This happens for instance when ./config.status config.h
42234 if test -n "\$CONFIG_FILES"; then
42235 # Protect against being on the right side of a sed subst in config.status.
42236 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42237 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42238 s,@SHELL@,$SHELL,;t t
42239 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42240 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42241 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42242 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42243 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42244 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42245 s,@exec_prefix@,$exec_prefix,;t t
42246 s,@prefix@,$prefix,;t t
42247 s,@program_transform_name@,$program_transform_name,;t t
42248 s,@bindir@,$bindir,;t t
42249 s,@sbindir@,$sbindir,;t t
42250 s,@libexecdir@,$libexecdir,;t t
42251 s,@datadir@,$datadir,;t t
42252 s,@sysconfdir@,$sysconfdir,;t t
42253 s,@sharedstatedir@,$sharedstatedir,;t t
42254 s,@localstatedir@,$localstatedir,;t t
42255 s,@libdir@,$libdir,;t t
42256 s,@includedir@,$includedir,;t t
42257 s,@oldincludedir@,$oldincludedir,;t t
42258 s,@infodir@,$infodir,;t t
42259 s,@mandir@,$mandir,;t t
42260 s,@build_alias@,$build_alias,;t t
42261 s,@host_alias@,$host_alias,;t t
42262 s,@target_alias@,$target_alias,;t t
42263 s,@DEFS@,$DEFS,;t t
42264 s,@ECHO_C@,$ECHO_C,;t t
42265 s,@ECHO_N@,$ECHO_N,;t t
42266 s,@ECHO_T@,$ECHO_T,;t t
42267 s,@LIBS@,$LIBS,;t t
42268 s,@build@,$build,;t t
42269 s,@build_cpu@,$build_cpu,;t t
42270 s,@build_vendor@,$build_vendor,;t t
42271 s,@build_os@,$build_os,;t t
42272 s,@host@,$host,;t t
42273 s,@host_cpu@,$host_cpu,;t t
42274 s,@host_vendor@,$host_vendor,;t t
42275 s,@host_os@,$host_os,;t t
42276 s,@target@,$target,;t t
42277 s,@target_cpu@,$target_cpu,;t t
42278 s,@target_vendor@,$target_vendor,;t t
42279 s,@target_os@,$target_os,;t t
42281 s,@CFLAGS@,$CFLAGS,;t t
42282 s,@LDFLAGS@,$LDFLAGS,;t t
42283 s,@CPPFLAGS@,$CPPFLAGS,;t t
42284 s,@ac_ct_CC@,$ac_ct_CC,;t t
42285 s,@EXEEXT@,$EXEEXT,;t t
42286 s,@OBJEXT@,$OBJEXT,;t t
42288 s,@EGREP@,$EGREP,;t t
42290 s,@CXXFLAGS@,$CXXFLAGS,;t t
42291 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42292 s,@RANLIB@,$RANLIB,;t t
42293 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42295 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42296 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42297 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42298 s,@STRIP@,$STRIP,;t t
42299 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42300 s,@LN_S@,$LN_S,;t t
42301 s,@CXXCPP@,$CXXCPP,;t t
42302 s,@subdirs@,$subdirs,;t t
42303 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42304 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42305 s,@GTK_LIBS@,$GTK_LIBS,;t t
42306 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42307 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42308 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42309 s,@X_CFLAGS@,$X_CFLAGS,;t t
42310 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42311 s,@X_LIBS@,$X_LIBS,;t t
42312 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42313 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42314 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42315 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42316 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42317 s,@RESCOMP@,$RESCOMP,;t t
42318 s,@DEREZ@,$DEREZ,;t t
42319 s,@SETFILE@,$SETFILE,;t t
42320 s,@LIBICONV@,$LIBICONV,;t t
42321 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42322 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42323 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42324 s,@SDL_LIBS@,$SDL_LIBS,;t t
42325 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42326 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42327 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42328 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42329 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42330 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42331 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42332 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42333 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42334 s,@VENDOR@,$VENDOR,;t t
42335 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42336 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42337 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42338 s,@WXUNIV@,$WXUNIV,;t t
42339 s,@MONOLITHIC@,$MONOLITHIC,;t t
42340 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42341 s,@EXTRALIBS@,$EXTRALIBS,;t t
42342 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42343 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42344 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42345 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42346 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42347 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42348 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42349 s,@UNICODE@,$UNICODE,;t t
42350 s,@BUILD@,$BUILD,;t t
42351 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42352 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42353 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42354 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42355 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42356 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42357 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42358 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42359 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42360 s,@SET_MAKE@,$SET_MAKE,;t t
42361 s,@MAKE_SET@,$MAKE_SET,;t t
42362 s,@ac_ct_AR@,$ac_ct_AR,;t t
42363 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42365 s,@ac_ct_NM@,$ac_ct_NM,;t t
42366 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42367 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42368 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42369 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42370 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42371 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42372 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42373 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42374 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42375 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42376 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42377 s,@LIBPREFIX@,$LIBPREFIX,;t t
42378 s,@LIBEXT@,$LIBEXT,;t t
42379 s,@DLLPREFIX@,$DLLPREFIX,;t t
42380 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42381 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42382 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42383 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42384 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42385 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42386 s,@PIC_FLAG@,$PIC_FLAG,;t t
42387 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42388 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42389 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42390 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42391 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42392 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42393 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42394 s,@GCC_PCH@,$GCC_PCH,;t t
42395 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42396 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42397 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42398 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42399 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42400 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42401 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42402 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42403 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42404 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42405 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42406 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42407 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42408 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42409 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42410 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42411 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42412 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42413 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
42414 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42415 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42416 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42417 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42418 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42419 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
42420 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42421 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42422 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42423 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42424 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42425 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42426 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42427 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42428 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42429 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42430 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42431 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42432 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42433 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42434 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42435 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42436 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42437 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42438 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42439 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42440 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42441 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42442 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42443 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42444 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42445 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42446 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42447 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42448 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42449 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42450 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42451 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42452 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42453 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42454 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42455 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42456 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42457 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42458 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42459 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42460 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42461 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42462 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42463 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42464 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42465 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42466 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42467 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42468 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42469 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42470 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42471 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42472 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42473 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42474 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42475 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42476 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42477 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42478 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42479 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42480 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42481 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42482 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42483 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42484 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42485 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42486 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42487 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42488 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42489 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42490 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42491 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42492 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42493 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42494 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42495 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42496 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42497 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42498 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42499 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42500 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42501 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42502 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42503 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42504 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42505 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42506 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42507 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42508 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42509 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42510 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42511 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42512 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42513 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42514 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42515 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42516 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42517 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42518 s,@SHARED@,$SHARED,;t t
42519 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42520 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42521 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42522 s,@USE_GUI@,$USE_GUI,;t t
42523 s,@AFMINSTALL@,$AFMINSTALL,;t t
42524 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42525 s,@TOOLKIT@,$TOOLKIT,;t t
42526 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42527 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42528 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42529 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42530 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42531 s,@cross_compiling@,$cross_compiling,;t t
42532 s,@WIDGET_SET@,$WIDGET_SET,;t t
42533 s,@WX_RELEASE@,$WX_RELEASE,;t t
42534 s,@WX_VERSION@,$WX_VERSION,;t t
42535 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42536 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42537 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42538 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42539 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42540 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42541 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42542 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42543 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42544 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42545 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42546 s,@EXE_LINKER@,$EXE_LINKER,;t t
42547 s,@GUIDIST@,$GUIDIST,;t t
42548 s,@DISTDIR@,$DISTDIR,;t t
42549 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42550 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42551 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42552 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42553 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42554 s,@RESFLAGS@,$RESFLAGS,;t t
42555 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42556 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42557 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42558 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42559 s,@MACRESCOMP@,$MACRESCOMP,;t t
42560 s,@MACSETFILE@,$MACSETFILE,;t t
42561 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42563 s,@DLLTOOL@,$DLLTOOL,;t t
42564 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42565 s,@LIBOBJS@,$LIBOBJS,;t t
42566 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42571 cat >>$CONFIG_STATUS <<\_ACEOF
42572 # Split the substitutions into bite-sized pieces for seds with
42573 # small command number limits, like on Digital OSF/1 and HP-UX.
42574 ac_max_sed_lines
=48
42575 ac_sed_frag
=1 # Number of current file.
42576 ac_beg
=1 # First line for current file.
42577 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42580 while $ac_more_lines; do
42581 if test $ac_beg -gt 1; then
42582 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42584 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42586 if test ! -s $tmp/subs.frag
; then
42587 ac_more_lines
=false
42589 # The purpose of the label and of the branching condition is to
42590 # speed up the sed processing (if there are no `@' at all, there
42591 # is no need to browse any of the substitutions).
42592 # These are the two extra sed commands mentioned above.
42594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42595 if test -z "$ac_sed_cmds"; then
42596 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42598 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42600 ac_sed_frag
=`expr $ac_sed_frag + 1`
42602 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42605 if test -z "$ac_sed_cmds"; then
42608 fi # test -n "$CONFIG_FILES"
42611 cat >>$CONFIG_STATUS <<\_ACEOF
42612 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42613 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42615 - | *:- | *:-:* ) # input from stdin
42617 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42618 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42619 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42620 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42621 * ) ac_file_in
=$ac_file.
in ;;
42624 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42625 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42627 X"$ac_file" : 'X\(//\)[^/]' \| \
42628 X"$ac_file" : 'X\(//\)$' \| \
42629 X"$ac_file" : 'X\(/\)' \| \
42630 . : '\(.\)' 2>/dev/null ||
42632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42634 /^X\(\/\/\)$/{ s//\1/; q; }
42635 /^X\(\/\).*/{ s//\1/; q; }
42637 { if $as_mkdir_p; then
42642 while test ! -d "$as_dir"; do
42643 as_dirs
="$as_dir $as_dirs"
42644 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42646 X"$as_dir" : 'X\(//\)[^/]' \| \
42647 X"$as_dir" : 'X\(//\)$' \| \
42648 X"$as_dir" : 'X\(/\)' \| \
42649 . : '\(.\)' 2>/dev/null ||
42651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42653 /^X\(\/\/\)$/{ s//\1/; q; }
42654 /^X\(\/\).*/{ s//\1/; q; }
42657 test ! -n "$as_dirs" || mkdir $as_dirs
42658 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42659 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42660 { (exit 1); exit 1; }; }; }
42664 if test "$ac_dir" != .
; then
42665 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42666 # A "../" for each directory in $ac_dir_suffix.
42667 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42669 ac_dir_suffix
= ac_top_builddir
=
42673 .
) # No --srcdir option. We are building in place.
42675 if test -z "$ac_top_builddir"; then
42678 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42680 [\\/]* | ?
:[\\/]* ) # Absolute path.
42681 ac_srcdir
=$srcdir$ac_dir_suffix;
42682 ac_top_srcdir
=$srcdir ;;
42683 *) # Relative path.
42684 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42685 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42688 # Do not use `cd foo && pwd` to compute absolute paths, because
42689 # the directories may not exist.
42691 .
) ac_abs_builddir
="$ac_dir";;
42694 .
) ac_abs_builddir
=`pwd`;;
42695 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42696 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42699 case $ac_abs_builddir in
42700 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42702 case ${ac_top_builddir}.
in
42703 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42704 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42705 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42708 case $ac_abs_builddir in
42709 .
) ac_abs_srcdir
=$ac_srcdir;;
42712 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42713 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42714 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42717 case $ac_abs_builddir in
42718 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42720 case $ac_top_srcdir in
42721 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42722 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42723 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42729 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42730 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42733 if test x
"$ac_file" != x
-; then
42734 { echo "$as_me:$LINENO: creating $ac_file" >&5
42735 echo "$as_me: creating $ac_file" >&6;}
42738 # Let's still pretend it is `configure' which instantiates (i.e., don't
42739 # use $as_me), people would be surprised to read:
42740 # /* config.h. Generated by config.status. */
42741 if test x
"$ac_file" = x
-; then
42744 configure_input
="$ac_file. "
42746 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42747 sed 's,.*/,,'` by configure."
42749 # First look for the input files in the build tree, otherwise in the
42751 ac_file_inputs
=`IFS=:
42752 for f in $ac_file_in; do
42754 -) echo $tmp/stdin ;;
42756 # Absolute (can't be DOS-style, as IFS=:)
42757 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42758 echo "$as_me: error: cannot find input file: $f" >&2;}
42759 { (exit 1); exit 1; }; }
42762 if test -f "$f"; then
42765 elif test -f "$srcdir/$f"; then
42770 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42771 echo "$as_me: error: cannot find input file: $f" >&2;}
42772 { (exit 1); exit 1; }; }
42775 done` || { (exit 1); exit 1; }
42777 cat >>$CONFIG_STATUS <<_ACEOF
42781 cat >>$CONFIG_STATUS <<\_ACEOF
42783 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42784 s
,@configure_input@
,$configure_input,;t t
42785 s
,@srcdir@
,$ac_srcdir,;t t
42786 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42787 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42788 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42789 s
,@builddir@
,$ac_builddir,;t t
42790 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42791 s
,@top_builddir@
,$ac_top_builddir,;t t
42792 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42793 s
,@INSTALL@
,$ac_INSTALL,;t t
42794 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42796 if test x"$ac_file" != x-; then
42797 mv $tmp/out $ac_file
42803 # Run the commands associated with the file.
42805 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42806 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42810 cat >>$CONFIG_STATUS <<\_ACEOF
42813 # CONFIG_HEADER section.
42816 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42817 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42819 # ac_d sets the value in "#define NAME VALUE" lines.
42820 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42821 ac_dB
='[ ].*$,\1#\2'
42824 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42825 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42826 ac_uB
='$,\1#\2define\3'
42830 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42831 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42833 - | *:- | *:-:* ) # input from stdin
42835 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42836 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42837 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42838 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42839 * ) ac_file_in
=$ac_file.
in ;;
42842 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42843 echo "$as_me: creating $ac_file" >&6;}
42845 # First look for the input files in the build tree, otherwise in the
42847 ac_file_inputs
=`IFS=:
42848 for f in $ac_file_in; do
42850 -) echo $tmp/stdin ;;
42852 # Absolute (can't be DOS-style, as IFS=:)
42853 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42854 echo "$as_me: error: cannot find input file: $f" >&2;}
42855 { (exit 1); exit 1; }; }
42856 # Do quote $f, to prevent DOS paths from being IFS'd.
42859 if test -f "$f"; then
42862 elif test -f "$srcdir/$f"; then
42867 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42868 echo "$as_me: error: cannot find input file: $f" >&2;}
42869 { (exit 1); exit 1; }; }
42872 done` || { (exit 1); exit 1; }
42873 # Remove the trailing spaces.
42874 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42878 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42879 # `conftest.undefs', that substitutes the proper values into
42880 # config.h.in to produce config.h. The first handles `#define'
42881 # templates, and the second `#undef' templates.
42882 # And first: Protect against being on the right side of a sed subst in
42883 # config.status. Protect against being in an unquoted here document
42884 # in config.status.
42885 rm -f conftest.defines conftest.undefs
42886 # Using a here document instead of a string reduces the quoting nightmare.
42887 # Putting comments in sed scripts is not portable.
42889 # `end' is used to avoid that the second main sed command (meant for
42890 # 0-ary CPP macros) applies to n-ary macro definitions.
42891 # See the Autoconf documentation for `clear'.
42892 cat >confdef2sed.
sed <<\_ACEOF
42897 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42899 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42902 # If some macros were called several times there might be several times
42903 # the same #defines, which is useless. Nevertheless, we may not want to
42904 # sort them, since we want the *last* AC-DEFINE to be honored.
42905 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42906 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42907 rm -f confdef2sed.sed
42909 # This sed command replaces #undef with comments. This is necessary, for
42910 # example, in the case of _POSIX_SOURCE, which is predefined and required
42911 # on some systems where configure will not decide to define it.
42912 cat >>conftest.undefs <<\_ACEOF
42913 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42916 # Break up conftest.defines because some shells have a limit on the size
42917 # of here documents, and old seds have small limits too (100 cmds).
42918 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42919 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42920 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42921 echo ' :' >>$CONFIG_STATUS
42922 rm -f conftest.tail
42923 while grep . conftest.defines >/dev/null
42925 # Write a limited-size here document to $tmp/defines.sed.
42926 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42927 # Speed up: don't consider the non `#define' lines.
42928 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42929 # Work around the forget-to-reset-the-flag bug.
42930 echo 't clr' >>$CONFIG_STATUS
42931 echo ': clr' >>$CONFIG_STATUS
42932 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42934 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42936 mv $tmp/out $tmp/in
42938 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42939 rm -f conftest.defines
42940 mv conftest.
tail conftest.defines
42942 rm -f conftest.defines
42943 echo ' fi # grep' >>$CONFIG_STATUS
42944 echo >>$CONFIG_STATUS
42946 # Break up conftest.undefs because some shells have a limit on the size
42947 # of here documents, and old seds have small limits too (100 cmds).
42948 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42949 rm -f conftest.
tail
42950 while grep . conftest.undefs
>/dev
/null
42952 # Write a limited-size here document to $tmp/undefs.sed.
42953 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42954 # Speed up: don't consider the non
`#undef'
42955 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42956 # Work around the forget-to-reset-the-flag bug.
42957 echo 't clr' >>$CONFIG_STATUS
42958 echo ': clr' >>$CONFIG_STATUS
42959 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42961 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42963 mv $tmp/out $tmp/in
42965 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42966 rm -f conftest.undefs
42967 mv conftest.tail conftest.undefs
42969 rm -f conftest.undefs
42971 cat >>$CONFIG_STATUS <<\_ACEOF
42972 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42973 # use $as_me), people would be surprised to read:
42974 # /* config.h. Generated by config.status. */
42975 if test x
"$ac_file" = x
-; then
42976 echo "/* Generated by configure. */" >$tmp/config.h
42978 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42980 cat $tmp/in >>$tmp/config.h
42982 if test x
"$ac_file" != x
-; then
42983 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42984 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42985 echo "$as_me: $ac_file is unchanged" >&6;}
42987 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42988 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42989 X"$ac_file" : 'X\(//\)[^/]' \| \
42990 X"$ac_file" : 'X\(//\)$' \| \
42991 X"$ac_file" : 'X\(/\)' \| \
42992 . : '\(.\)' 2>/dev/null ||
42994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42996 /^X\(\/\/\)$/{ s//\1/; q; }
42997 /^X\(\/\).*/{ s//\1/; q; }
42999 { if $as_mkdir_p; then
43004 while test ! -d "$as_dir"; do
43005 as_dirs
="$as_dir $as_dirs"
43006 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43008 X"$as_dir" : 'X\(//\)[^/]' \| \
43009 X"$as_dir" : 'X\(//\)$' \| \
43010 X"$as_dir" : 'X\(/\)' \| \
43011 . : '\(.\)' 2>/dev/null ||
43013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43015 /^X\(\/\/\)$/{ s//\1/; q; }
43016 /^X\(\/\).*/{ s//\1/; q; }
43019 test ! -n "$as_dirs" || mkdir $as_dirs
43020 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43021 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43022 { (exit 1); exit 1; }; }; }
43025 mv $tmp/config.h
$ac_file
43029 rm -f $tmp/config.h
43033 cat >>$CONFIG_STATUS <<\_ACEOF
43036 # CONFIG_COMMANDS section.
43038 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43039 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43040 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43041 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43042 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43043 X"$ac_dest" : 'X\(//\)[^/]' \| \
43044 X"$ac_dest" : 'X\(//\)$' \| \
43045 X"$ac_dest" : 'X\(/\)' \| \
43046 . : '\(.\)' 2>/dev/null ||
43048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43050 /^X\(\/\/\)$/{ s//\1/; q; }
43051 /^X\(\/\).*/{ s//\1/; q; }
43053 { if $as_mkdir_p; then
43058 while test ! -d "$as_dir"; do
43059 as_dirs
="$as_dir $as_dirs"
43060 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43062 X"$as_dir" : 'X\(//\)[^/]' \| \
43063 X"$as_dir" : 'X\(//\)$' \| \
43064 X"$as_dir" : 'X\(/\)' \| \
43065 . : '\(.\)' 2>/dev/null ||
43067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43069 /^X\(\/\/\)$/{ s//\1/; q; }
43070 /^X\(\/\).*/{ s//\1/; q; }
43073 test ! -n "$as_dirs" || mkdir $as_dirs
43074 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43075 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43076 { (exit 1); exit 1; }; }; }
43080 if test "$ac_dir" != .
; then
43081 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43082 # A "../" for each directory in $ac_dir_suffix.
43083 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43085 ac_dir_suffix
= ac_top_builddir
=
43089 .
) # No --srcdir option. We are building in place.
43091 if test -z "$ac_top_builddir"; then
43094 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43096 [\\/]* | ?
:[\\/]* ) # Absolute path.
43097 ac_srcdir
=$srcdir$ac_dir_suffix;
43098 ac_top_srcdir
=$srcdir ;;
43099 *) # Relative path.
43100 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43101 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43104 # Do not use `cd foo && pwd` to compute absolute paths, because
43105 # the directories may not exist.
43107 .
) ac_abs_builddir
="$ac_dir";;
43110 .
) ac_abs_builddir
=`pwd`;;
43111 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43112 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43115 case $ac_abs_builddir in
43116 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43118 case ${ac_top_builddir}.
in
43119 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43120 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43121 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43124 case $ac_abs_builddir in
43125 .
) ac_abs_srcdir
=$ac_srcdir;;
43128 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43129 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43130 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43133 case $ac_abs_builddir in
43134 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43136 case $ac_top_srcdir in
43137 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43138 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43139 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43144 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43145 echo "$as_me: executing $ac_dest commands" >&6;}
43147 wx
-config ) rm -f wx
-config
43148 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43154 cat >>$CONFIG_STATUS <<\_ACEOF
43156 { (exit 0); exit 0; }
43158 chmod +x
$CONFIG_STATUS
43159 ac_clean_files
=$ac_clean_files_save
43162 # configure is writing to config.log, and then calls config.status.
43163 # config.status does its own redirection, appending to config.log.
43164 # Unfortunately, on DOS this fails, as config.log is still kept open
43165 # by configure, so config.status won't be able to write to it; its
43166 # output is simply discarded. So we exec the FD to /dev/null,
43167 # effectively closing config.log, so it can be properly (re)opened and
43168 # appended to by config.status. When coming back to configure, we
43169 # need to make the FD available again.
43170 if test "$no_create" != yes; then
43172 ac_config_status_args
=
43173 test "$silent" = yes &&
43174 ac_config_status_args
="$ac_config_status_args --quiet"
43176 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43178 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43179 # would make configure fail if this is the last instruction.
43180 $ac_cs_success || { (exit 1); exit 1; }
43184 # CONFIG_SUBDIRS section.
43186 if test "$no_recursion" != yes; then
43188 # Remove --cache-file and --srcdir arguments so they do not pile up.
43189 ac_sub_configure_args
=
43191 for ac_arg
in $ac_configure_args; do
43192 if test -n "$ac_prev"; then
43197 -cache-file | --cache-file | --cache-fil | --cache-fi \
43198 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43199 ac_prev
=cache_file
;;
43200 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43201 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43204 --config-cache | -C)
43206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43210 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43212 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43214 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43218 # Always prepend --prefix to ensure using the same prefix
43219 # in subdir configurations.
43220 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43223 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43225 # Do not complain, so a configure script can configure whichever
43226 # parts of a large source tree are present.
43227 test -d $srcdir/$ac_dir || continue
43229 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43230 echo "$as_me: configuring in $ac_dir" >&6;}
43231 { if $as_mkdir_p; then
43236 while test ! -d "$as_dir"; do
43237 as_dirs
="$as_dir $as_dirs"
43238 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43240 X"$as_dir" : 'X\(//\)[^/]' \| \
43241 X"$as_dir" : 'X\(//\)$' \| \
43242 X"$as_dir" : 'X\(/\)' \| \
43243 . : '\(.\)' 2>/dev/null ||
43245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43247 /^X\(\/\/\)$/{ s//\1/; q; }
43248 /^X\(\/\).*/{ s//\1/; q; }
43251 test ! -n "$as_dirs" || mkdir $as_dirs
43252 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43253 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43254 { (exit 1); exit 1; }; }; }
43258 if test "$ac_dir" != .
; then
43259 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43260 # A "../" for each directory in $ac_dir_suffix.
43261 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43263 ac_dir_suffix
= ac_top_builddir
=
43267 .
) # No --srcdir option. We are building in place.
43269 if test -z "$ac_top_builddir"; then
43272 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43274 [\\/]* | ?
:[\\/]* ) # Absolute path.
43275 ac_srcdir
=$srcdir$ac_dir_suffix;
43276 ac_top_srcdir
=$srcdir ;;
43277 *) # Relative path.
43278 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43279 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43282 # Do not use `cd foo && pwd` to compute absolute paths, because
43283 # the directories may not exist.
43285 .
) ac_abs_builddir
="$ac_dir";;
43288 .
) ac_abs_builddir
=`pwd`;;
43289 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43290 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43293 case $ac_abs_builddir in
43294 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43296 case ${ac_top_builddir}.
in
43297 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43298 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43299 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43302 case $ac_abs_builddir in
43303 .
) ac_abs_srcdir
=$ac_srcdir;;
43306 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43307 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43308 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43311 case $ac_abs_builddir in
43312 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43314 case $ac_top_srcdir in
43315 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43316 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43317 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43324 # Check for guested configure; otherwise get Cygnus style configure.
43325 if test -f $ac_srcdir/configure.gnu
; then
43326 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43327 elif test -f $ac_srcdir/configure
; then
43328 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43329 elif test -f $ac_srcdir/configure.
in; then
43330 ac_sub_configure
=$ac_configure
43332 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43333 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43337 # The recursion is here.
43338 if test -n "$ac_sub_configure"; then
43339 # Make the cache file name correct relative to the subdirectory.
43340 case $cache_file in
43341 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43342 *) # Relative path.
43343 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43346 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43347 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43348 # The eval makes quoting arguments work.
43349 eval $ac_sub_configure $ac_sub_configure_args \
43350 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43351 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43352 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43353 { (exit 1); exit 1; }; }
43362 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43364 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43365 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43367 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43368 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43369 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43371 echo " What level of wxWidgets compatibility should be enabled?"
43372 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43373 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43375 echo " Which libraries should wxWidgets use?"
43376 echo " jpeg ${wxUSE_LIBJPEG-none}"
43377 echo " png ${wxUSE_LIBPNG-none}"
43378 echo " regex ${wxUSE_REGEX}"
43379 echo " tiff ${wxUSE_LIBTIFF-none}"
43380 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43381 echo " xpm ${wxUSE_LIBXPM-none}"
43383 echo " zlib ${wxUSE_ZLIB}"
43384 echo " odbc ${wxUSE_ODBC}"
43385 echo " expat ${wxUSE_EXPAT}"
43386 echo " libmspack ${wxUSE_LIBMSPACK}"
43387 echo " sdl ${wxUSE_LIBSDL}"