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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.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-backtrace use wxStackWalker class
for getting backtraces
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-dialupman use dialup network classes
911 --enable-dynlib use wxLibrary class
for DLL loading
912 --enable-dynamicloader use
(new
) wxDynamicLibrary class
913 --enable-exceptions build exception
-safe library
914 --enable-ffile use wxFFile class
915 --enable-file use wxFile class
916 --enable-filesystem use virtual
file systems classes
917 --enable-fontmap use font encodings conversion classes
918 --enable-fs_inet use virtual HTTP
/FTP filesystems
919 --enable-fs_zip use virtual ZIP filesystems
920 --enable-geometry use geometry class
921 --enable-log use logging system
922 --enable-longlong use wxLongLong class
923 --enable-mimetype use wxMimeTypesManager
924 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
925 --enable-snglinst use wxSingleInstanceChecker class
926 --enable-streams use wxStream etc classes
927 --enable-std_iostreams use standard C
++ stream classes
928 --enable-stopwatch use wxStopWatch class
929 --enable-sysoptions use wxSystemOptions
930 --enable-textbuf use wxTextBuffer class
931 --enable-textfile use wxTextFile class
932 --enable-timer use wxTimer class
933 --enable-unicode compile wxString with Unicode support
934 --enable-sound use wxSound class
935 --enable-mediactrl use wxMediaCtrl class
936 --enable-wxprintfv use wxWidgets implementation of vprintf
()
937 --enable-zipstream use wxZipInputStream
938 --enable-url use wxURL class
939 --enable-protocol use wxProtocol class
940 --enable-protocol-http HTTP support
in wxProtocol
941 --enable-protocol-ftp FTP support
in wxProtocol
942 --enable-protocol-file FILE support
in wxProtocol
943 --enable-threads use threads
944 --enable-docview use document view architecture
945 --enable-help use
help subsystem
946 --enable-mshtmlhelp use MS HTML Help
(win32
)
947 --enable-html use wxHTML sub
-library
948 --enable-htmlhelp use wxHTML
-based help
949 --enable-xrc use XRC resources sub
-library
950 --enable-constraints use layout
-constraints system
951 --enable-printarch use printing architecture
952 --enable-mdi use multiple document interface architecture
953 --enable-mdidoc use docview architecture with MDI
954 --enable-loggui use standard GUI logger
955 --enable-logwin use wxLogWindow
956 --enable-logdialog use wxLogDialog
957 --enable-webkit use wxWebKitCtrl
(Mac
)
958 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
959 --enable-prologio not available
; see contrib
960 --enable-resources not available
; see contrib
961 --enable-clipboard use wxClipboard class
962 --enable-dnd use Drag
'n'Drop classes
963 --enable-metafile use win32 metafiles
964 --enable-controls use all usual controls
965 --enable-accel use accelerators
966 --enable-button use wxButton class
967 --enable-bmpbutton use wxBitmapButton class
968 --enable-calendar use wxCalendarCtrl class
969 --enable-caret use wxCaret class
970 --enable-checkbox use wxCheckBox class
971 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
972 --enable-choice use wxChoice class
973 --enable-choicebook use wxChoicebook class
974 --enable-combobox use wxComboBox class
975 --enable-datepick use wxDatePickerCtrl class
976 --enable-display use wxDisplay class
977 --enable-gauge use wxGauge class
978 --enable-grid use wxGrid class
979 --enable-imaglist use wxImageList class
980 --enable-listbook use wxListbook class
981 --enable-listbox use wxListBox class
982 --enable-listctrl use wxListCtrl class
983 --enable-notebook use wxNotebook class
984 --enable-radiobox use wxRadioBox class
985 --enable-radiobtn use wxRadioButton class
986 --enable-sash use wxSashWindow class
987 --enable-scrollbar use wxScrollBar class and scrollable windows
988 --enable-slider use wxSlider class
989 --enable-spinbtn use wxSpinButton class
990 --enable-spinctrl use wxSpinCtrl class
991 --enable-splitter use wxSplitterWindow class
992 --enable-statbmp use wxStaticBitmap class
993 --enable-statbox use wxStaticBox class
994 --enable-statline use wxStaticLine class
995 --enable-stattext use wxStaticText class
996 --enable-statusbar use wxStatusBar class
997 --enable-tabdialog use wxTabControl class
998 --enable-textctrl use wxTextCtrl class
999 --enable-togglebtn use wxToggleButton class
1000 --enable-toolbar use wxToolBar class
1001 --enable-tbarnative use native wxToolBar class
1002 --enable-tbarsmpl use wxToolBarSimple class
1003 --enable-treectrl use wxTreeCtrl class
1004 --enable-tipwindow use wxTipWindow class
1005 --enable-popupwin use wxPopUpWindow class
1006 --enable-commondlg use all common dialogs
1007 --enable-choicedlg use wxChoiceDialog
1008 --enable-coldlg use wxColourDialog
1009 --enable-filedlg use wxFileDialog
1010 --enable-finddlg use wxFindReplaceDialog
1011 --enable-fontdlg use wxFontDialog
1012 --enable-dirdlg use wxDirDialog
1013 --enable-msgdlg use wxMessageDialog
1014 --enable-numberdlg use wxNumberEntryDialog
1015 --enable-splash use wxSplashScreen
1016 --enable-textdlg use wxTextDialog
1017 --enable-tipdlg use startup tips
1018 --enable-progressdlg use wxProgressDialog
1019 --enable-wizarddlg use wxWizard
1020 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1021 --enable-miniframe use wxMiniFrame class
1022 --enable-tooltips use wxToolTip class
1023 --enable-splines use spline drawing code
1024 --enable-validators use wxValidator and derived classes
1025 --enable-busyinfo use wxBusyInfo
1026 --enable-joystick use wxJoystick
(Linux only
)
1027 --enable-metafiles use wxMetaFile
(Windows only
)
1028 --enable-dragimage use wxDragImage
1029 --enable-accessibility enable accessibility support
1030 --enable-palette use wxPalette class
1031 --enable-image use wxImage class
1032 --enable-gif use gif images
(GIF
file format
)
1033 --enable-pcx use pcx images
(PCX
file format
)
1034 --enable-iff use iff images
(IFF
file format
)
1035 --enable-pnm use pnm images
(PNM
file format
)
1036 --enable-xpm use xpm images
(XPM
file format
)
1037 --enable-icocur use Windows ICO and CUR formats
1038 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1039 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1040 --disable-largefile omit support
for large files
1041 --disable-gtktest do not try to compile and run a
test GTK
+ program
1042 --disable-gtktest Do not try to compile and run a
test GTK program
1043 --disable-sdltest Do not try to compile and run a
test SDL program
1044 --enable-omf use OMF object format
(OS
/2)
1045 --disable-precomp-headers
1046 don
't use precompiled headers even if compiler can
1049 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1050 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1052 --with-motif use Motif/Lesstif
1053 --with-mac use Mac OS X
1054 --with-cocoa use Cocoa
1055 --with-wine use Wine
1056 --with-msw use MS-Windows
1057 --with-pm use OS/2 Presentation Manager
1058 --with-mgl use SciTech MGL
1059 --with-microwin use MicroWindows
1061 --with-libpng use libpng (PNG image format)
1062 --with-libjpeg use libjpeg (JPEG file format)
1063 --with-libtiff use libtiff (TIFF file format)
1064 --with-libxpm use libxpm (XPM file format)
1065 --with-libmspack use libmspack (CHM help files loading)
1066 --with-sdl use SDL for audio on Unix
1067 --with-gnomeprint use GNOME print for printing under Unix
1068 --with-opengl use OpenGL (or Mesa)
1069 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1070 --with-regex enable support for wxRegEx class
1071 --with-zlib use zlib for LZW compression
1072 --with-odbc use the IODBC and wxODBC classes
1073 --with-expat enable XML support using expat parser
1074 --with-flavour=NAME specify a name to identify this build
1075 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1076 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1077 --with-x use the X Window System
1078 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1079 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1080 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1081 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1082 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1084 Some influential environment variables:
1085 CC C compiler command
1086 CFLAGS C compiler flags
1087 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1088 nonstandard directory <lib dir>
1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090 headers in a nonstandard directory <include dir>
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CXXCPP C++ preprocessor
1096 Use these variables to override the choices made by `configure' or to
help
1097 it to
find libraries and programs with nonstandard names
/locations.
1099 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1103 if test "$ac_init_help" = "recursive"; then
1104 # If there are subdirs, report their specific --help.
1106 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1107 test -d $ac_dir || continue
1110 if test "$ac_dir" != .
; then
1111 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112 # A "../" for each directory in $ac_dir_suffix.
1113 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1115 ac_dir_suffix
= ac_top_builddir
=
1119 .
) # No --srcdir option. We are building in place.
1121 if test -z "$ac_top_builddir"; then
1124 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1126 [\\/]* | ?
:[\\/]* ) # Absolute path.
1127 ac_srcdir
=$srcdir$ac_dir_suffix;
1128 ac_top_srcdir
=$srcdir ;;
1130 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1131 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1137 .
) ac_abs_builddir
="$ac_dir";;
1140 .
) ac_abs_builddir
=`pwd`;;
1141 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1142 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1145 case $ac_abs_builddir in
1146 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1148 case ${ac_top_builddir}.
in
1149 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1150 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1151 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1154 case $ac_abs_builddir in
1155 .
) ac_abs_srcdir
=$ac_srcdir;;
1158 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1160 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1163 case $ac_abs_builddir in
1164 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1166 case $ac_top_srcdir in
1167 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1168 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1169 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1174 # Check for guested configure; otherwise get Cygnus style configure.
1175 if test -f $ac_srcdir/configure.gnu
; then
1177 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1178 elif test -f $ac_srcdir/configure
; then
1180 $SHELL $ac_srcdir/configure
--help=recursive
1181 elif test -f $ac_srcdir/configure.ac
||
1182 test -f $ac_srcdir/configure.
in; then
1184 $ac_configure --help
1186 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1195 wxWidgets configure
2.5.3
1196 generated by GNU Autoconf
2.59
1198 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1199 This configure
script is free software
; the Free Software Foundation
1200 gives unlimited permission to copy
, distribute and modify it.
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1209 It was created by wxWidgets $as_me 2.5.3, which was
1210 generated by GNU Autoconf 2.59. Invocation command line was
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1244 test -z "$as_dir" && as_dir
=.
1245 echo "PATH: $as_dir"
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1269 ac_must_keep_next
=false
1275 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1283 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1285 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1286 if test $ac_must_keep_next = true
; then
1287 ac_must_keep_next
=false
# Got value, back to normal.
1290 *=* | --config-cache | -C | -disable-* | --disable-* \
1291 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293 | -with-* | --with-* | -without-* | --without-* | --x)
1294 case "$ac_configure_args0 " in
1295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1298 -* ) ac_must_keep_next
=true
;;
1301 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1302 # Get rid of the leading space.
1308 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1309 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log. We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317 # Save into config.log some information that might help in debugging.
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1327 # The following way of writing the cache mishandles newlines in values,
1330 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1333 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1350 for ac_var in $ac_subst_vars
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1357 if test -n "$ac_subst_files"; then
1364 for ac_var in $ac_subst_files
1366 eval ac_val=$`echo $ac_var`
1367 echo "$ac_var='"'"'$ac_val'"'"'"
1372 if test -s confdefs.h; then
1379 sed "/^$/d" confdefs.h | sort
1382 test "$ac_signal" != 0 &&
1383 echo "$as_me: caught signal $ac_signal"
1384 echo "$as_me: exit $exit_status"
1386 rm -f core *.core &&
1387 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1390 for ac_signal
in 1 2 13 15; do
1391 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest
* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1400 # Predefined preprocessor variables.
1402 cat >>confdefs.h
<<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430 if test "x$prefix" != xNONE
; then
1431 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1433 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1436 for ac_site_file
in $CONFIG_SITE; do
1437 if test -r "$ac_site_file"; then
1438 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440 sed 's/^/| /' "$ac_site_file" >&5
1445 if test -r "$cache_file"; then
1446 # Some versions of bash will fail to source /dev/null (special
1447 # files actually), so we avoid doing that.
1448 if test -f "$cache_file"; then
1449 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1452 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1453 *) . .
/$cache_file;;
1457 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1462 # Check that the precious variables saved in the cache have kept the same
1464 ac_cache_corrupted
=false
1465 for ac_var
in `(set) 2>&1 |
1466 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1468 eval ac_new_set
=\
$ac_env_${ac_var}_set
1469 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1470 eval ac_new_val
="\$ac_env_${ac_var}_value"
1471 case $ac_old_set,$ac_new_set in
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475 ac_cache_corrupted
=: ;;
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479 ac_cache_corrupted
=: ;;
1482 if test "x$ac_old_val" != "x$ac_new_val"; then
1483 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1484 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1485 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1486 echo "$as_me: former value: $ac_old_val" >&2;}
1487 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1488 echo "$as_me: current value: $ac_new_val" >&2;}
1489 ac_cache_corrupted
=:
1492 # Pass precious variables to config.status.
1493 if test "$ac_new_set" = set; then
1495 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1496 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 *) ac_arg
=$ac_var=$ac_new_val ;;
1499 case " $ac_configure_args " in
1500 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1501 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1505 if $ac_cache_corrupted; then
1506 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1507 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1508 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1509 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1510 { (exit 1); exit 1; }; }
1514 ac_cpp
='$CPP $CPPFLAGS'
1515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1549 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1550 if test -f $ac_dir/install-sh; then
1552 ac_install_sh
="$ac_aux_dir/install-sh -c"
1554 elif test -f $ac_dir/install.sh
; then
1556 ac_install_sh
="$ac_aux_dir/install.sh -c"
1558 elif test -f $ac_dir/shtool
; then
1560 ac_install_sh
="$ac_aux_dir/shtool install -c"
1564 if test -z "$ac_aux_dir"; then
1565 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1566 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1567 { (exit 1); exit 1; }; }
1569 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1570 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1571 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1573 # Make sure we can run config.sub.
1574 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1575 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1576 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1577 { (exit 1); exit 1; }; }
1579 echo "$as_me:$LINENO: checking build system type" >&5
1580 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1581 if test "${ac_cv_build+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 ac_cv_build_alias
=$build_alias
1585 test -z "$ac_cv_build_alias" &&
1586 ac_cv_build_alias
=`$ac_config_guess`
1587 test -z "$ac_cv_build_alias" &&
1588 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1589 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1590 { (exit 1); exit 1; }; }
1591 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1592 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1593 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1594 { (exit 1); exit 1; }; }
1597 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1598 echo "${ECHO_T}$ac_cv_build" >&6
1600 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1601 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1602 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1605 echo "$as_me:$LINENO: checking host system type" >&5
1606 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1607 if test "${ac_cv_host+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_host_alias
=$host_alias
1611 test -z "$ac_cv_host_alias" &&
1612 ac_cv_host_alias
=$ac_cv_build_alias
1613 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1614 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1615 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1616 { (exit 1); exit 1; }; }
1619 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1620 echo "${ECHO_T}$ac_cv_host" >&6
1622 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1623 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1624 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1627 echo "$as_me:$LINENO: checking target system type" >&5
1628 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1629 if test "${ac_cv_target+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 ac_cv_target_alias
=$target_alias
1633 test "x$ac_cv_target_alias" = "x" &&
1634 ac_cv_target_alias
=$ac_cv_host_alias
1635 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1636 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1637 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1638 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1642 echo "${ECHO_T}$ac_cv_target" >&6
1643 target
=$ac_cv_target
1644 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1645 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1646 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1649 # The aliases save the names the user supplied, while $host etc.
1650 # will get canonicalized.
1651 test -n "$target_alias" &&
1652 test "$program_prefix$program_suffix$program_transform_name" = \
1654 program_prefix
=${target_alias}-
1658 wx_major_version_number
=2
1659 wx_minor_version_number
=5
1661 wx_subrelease_number
=3
1663 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1664 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1665 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1667 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1683 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1689 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1695 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1697 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1699 DEFAULT_wxUSE_COCOA
=0
1703 DEFAULT_wxUSE_MICROWIN
=0
1704 DEFAULT_wxUSE_MOTIF
=0
1709 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1710 DEFAULT_DEFAULT_wxUSE_GTK
=0
1711 DEFAULT_DEFAULT_wxUSE_MAC
=0
1712 DEFAULT_DEFAULT_wxUSE_MGL
=0
1713 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1714 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1715 DEFAULT_DEFAULT_wxUSE_MSW
=0
1716 DEFAULT_DEFAULT_wxUSE_PM
=0
1717 DEFAULT_DEFAULT_wxUSE_X11
=0
1722 SAMPLES_RPATH_POSTLINK
=
1727 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1728 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1730 cat >>confdefs.h
<<\_ACEOF
1737 cat >>confdefs.h
<<\_ACEOF
1742 if test "x$TMP" = "xalpha"; then
1744 cat >>confdefs.h
<<\_ACEOF
1749 DEFAULT_DEFAULT_wxUSE_GTK
=1
1751 *-*-gnu* | *-*-k*bsd
*-gnu )
1754 if test "x$TMP" = "xalpha"; then
1756 cat >>confdefs.h
<<\_ACEOF
1761 DEFAULT_DEFAULT_wxUSE_GTK
=1
1763 *-*-irix5* | *-*-irix6* )
1766 cat >>confdefs.h
<<\_ACEOF
1770 cat >>confdefs.h
<<\_ACEOF
1774 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1780 cat >>confdefs.h
<<\_ACEOF
1784 cat >>confdefs.h
<<\_ACEOF
1785 #define __SOLARIS__ 1
1788 cat >>confdefs.h
<<\_ACEOF
1792 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1793 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1807 cat >>confdefs.h
<<\_ACEOF
1811 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1816 cat >>confdefs.h
<<\_ACEOF
1817 #define __FREEBSD__ 1
1820 cat >>confdefs.h
<<\_ACEOF
1824 DEFAULT_DEFAULT_wxUSE_GTK
=1
1829 cat >>confdefs.h
<<\_ACEOF
1830 #define __OPENBSD__ 1
1833 cat >>confdefs.h
<<\_ACEOF
1837 DEFAULT_DEFAULT_wxUSE_GTK
=1
1842 cat >>confdefs.h
<<\_ACEOF
1843 #define __NETBSD__ 1
1846 cat >>confdefs.h
<<\_ACEOF
1850 DEFAULT_DEFAULT_wxUSE_GTK
=1
1855 cat >>confdefs.h
<<\_ACEOF
1859 cat >>confdefs.h
<<\_ACEOF
1863 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1864 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1869 cat >>confdefs.h
<<\_ACEOF
1873 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1882 cat >>confdefs.h
<<\_ACEOF
1886 cat >>confdefs.h
<<\_ACEOF
1890 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1897 cat >>confdefs.h
<<\_ACEOF
1901 cat >>confdefs.h
<<\_ACEOF
1905 cat >>confdefs.h
<<\_ACEOF
1909 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1916 cat >>confdefs.h
<<\_ACEOF
1917 #define __UNIXWARE__ 1
1922 *-*-cygwin* | *-*-mingw32* )
1926 DEFAULT_DEFAULT_wxUSE_MSW
=1
1932 cat >>confdefs.h
<<\_ACEOF
1937 DEFAULT_DEFAULT_wxUSE_MGL
=1
1938 LIBS
="$LIBS -lstdc++"
1941 *-pc-os2_emx | *-pc-os2-emx )
1942 cat >>confdefs.h
<<\_ACEOF
1947 cat >>confdefs.h
<<\_ACEOF
1952 DEFAULT_DEFAULT_wxUSE_PM
=1
1954 LDFLAGS
="$LDFLAGS -Zcrtdll"
1955 ac_executable_extensions
=".exe"
1956 export ac_executable_extensions
1960 for ac_dir
in $PATH; do
1962 if test -z "$ac_TEMP_PATH"; then
1963 ac_TEMP_PATH
="$ac_dir"
1965 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1968 export PATH
="$ac_TEMP_PATH"
1976 cat >>confdefs.h
<<\_ACEOF
1980 cat >>confdefs.h
<<\_ACEOF
1981 #define __DARWIN__ 1
1984 cat >>confdefs.h
<<\_ACEOF
1985 #define __POWERPC__ 1
1988 cat >>confdefs.h
<<\_ACEOF
1989 #define TARGET_CARBON 1
1992 DEFAULT_DEFAULT_wxUSE_MAC
=1
1994 powerpc
-apple-macos* )
1996 ac_cv_c_bigendian
=yes
1998 DEFAULT_DEFAULT_wxUSE_MAC
=1
2003 cat >>confdefs.h
<<\_ACEOF
2010 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2011 echo "$as_me: error: unknown system type ${host}." >&2;}
2012 { (exit 1); exit 1; }; }
2018 wx_arg_cache_file
="configarg.cache"
2019 echo "loading argument cache $wx_arg_cache_file"
2020 rm -f ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}.tmp
2022 touch ${wx_arg_cache_file}
2026 if test $DEBUG_CONFIGURE = 1; then
2027 DEFAULT_wxUSE_UNIVERSAL
=no
2028 DEFAULT_wxUSE_STL
=no
2030 DEFAULT_wxUSE_NANOX
=no
2032 DEFAULT_wxUSE_THREADS
=yes
2034 DEFAULT_wxUSE_SHARED
=yes
2035 DEFAULT_wxUSE_OPTIMISE
=no
2036 DEFAULT_wxUSE_PROFILE
=no
2037 DEFAULT_wxUSE_NO_DEPS
=no
2038 DEFAULT_wxUSE_NO_RTTI
=no
2039 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2040 DEFAULT_wxUSE_RPATH
=yes
2041 DEFAULT_wxUSE_PERMISSIVE
=no
2042 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2043 DEFAULT_wxUSE_DEBUG_INFO
=yes
2044 DEFAULT_wxUSE_DEBUG_GDB
=yes
2045 DEFAULT_wxUSE_MEM_TRACING
=no
2046 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2047 DEFAULT_wxUSE_DMALLOC
=no
2048 DEFAULT_wxUSE_APPLE_IEEE
=no
2050 DEFAULT_wxUSE_EXCEPTIONS
=no
2051 DEFAULT_wxUSE_LOG
=yes
2052 DEFAULT_wxUSE_LOGWINDOW
=no
2053 DEFAULT_wxUSE_LOGGUI
=no
2054 DEFAULT_wxUSE_LOGDIALOG
=no
2056 DEFAULT_wxUSE_GUI
=yes
2057 DEFAULT_wxUSE_CONTROLS
=no
2059 DEFAULT_wxUSE_REGEX
=no
2060 DEFAULT_wxUSE_XML
=no
2061 DEFAULT_wxUSE_EXPAT
=no
2062 DEFAULT_wxUSE_ZLIB
=no
2063 DEFAULT_wxUSE_LIBPNG
=no
2064 DEFAULT_wxUSE_LIBJPEG
=no
2065 DEFAULT_wxUSE_LIBTIFF
=no
2066 DEFAULT_wxUSE_LIBXPM
=no
2067 DEFAULT_wxUSE_LIBMSPACK
=no
2068 DEFAULT_wxUSE_LIBSDL
=no
2069 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2070 DEFAULT_wxUSE_ODBC
=no
2071 DEFAULT_wxUSE_OPENGL
=no
2073 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2074 DEFAULT_wxUSE_STACKWALKER
=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2076 DEFAULT_wxUSE_STD_IOSTREAM
=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2078 DEFAULT_wxUSE_DATETIME
=no
2079 DEFAULT_wxUSE_TIMER
=no
2080 DEFAULT_wxUSE_STOPWATCH
=no
2081 DEFAULT_wxUSE_FILE
=no
2082 DEFAULT_wxUSE_FFILE
=no
2083 DEFAULT_wxUSE_TEXTBUFFER
=no
2084 DEFAULT_wxUSE_TEXTFILE
=no
2085 DEFAULT_wxUSE_SOUND
=no
2086 DEFAULT_wxUSE_MEDIACTRL
=no
2087 DEFAULT_wxUSE_DIRECTSHOW
=no
2088 DEFAULT_wxUSE_INTL
=no
2089 DEFAULT_wxUSE_CONFIG
=no
2090 DEFAULT_wxUSE_FONTMAP
=no
2091 DEFAULT_wxUSE_STREAMS
=no
2092 DEFAULT_wxUSE_SOCKETS
=no
2093 DEFAULT_wxUSE_OLE
=no
2094 DEFAULT_wxUSE_DATAOBJ
=no
2095 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2096 DEFAULT_wxUSE_JOYSTICK
=no
2097 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2098 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2099 DEFAULT_wxUSE_LONGLONG
=no
2100 DEFAULT_wxUSE_GEOMETRY
=no
2102 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2103 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2104 DEFAULT_wxUSE_POSTSCRIPT
=no
2106 DEFAULT_wxUSE_CLIPBOARD
=no
2107 DEFAULT_wxUSE_TOOLTIPS
=no
2108 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2109 DEFAULT_wxUSE_DRAGIMAGE
=no
2110 DEFAULT_wxUSE_SPLINES
=no
2112 DEFAULT_wxUSE_MDI
=no
2113 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2115 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2117 DEFAULT_wxUSE_RESOURCES
=no
2118 DEFAULT_wxUSE_CONSTRAINTS
=no
2119 DEFAULT_wxUSE_IPC
=no
2120 DEFAULT_wxUSE_HELP
=no
2121 DEFAULT_wxUSE_MS_HTML_HELP
=no
2122 DEFAULT_wxUSE_WXHTML_HELP
=no
2123 DEFAULT_wxUSE_TREELAYOUT
=no
2124 DEFAULT_wxUSE_METAFILE
=no
2125 DEFAULT_wxUSE_MIMETYPE
=no
2126 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2127 DEFAULT_wxUSE_PROTOCOL
=no
2128 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2129 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2130 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2131 DEFAULT_wxUSE_URL
=no
2133 DEFAULT_wxUSE_COMMONDLGS
=no
2134 DEFAULT_wxUSE_CHOICEDLG
=no
2135 DEFAULT_wxUSE_COLOURDLG
=no
2136 DEFAULT_wxUSE_DIRDLG
=no
2137 DEFAULT_wxUSE_FILEDLG
=no
2138 DEFAULT_wxUSE_FINDREPLDLG
=no
2139 DEFAULT_wxUSE_FONTDLG
=no
2140 DEFAULT_wxUSE_MSGDLG
=no
2141 DEFAULT_wxUSE_NUMBERDLG
=no
2142 DEFAULT_wxUSE_TEXTDLG
=no
2143 DEFAULT_wxUSE_SPLASH
=no
2144 DEFAULT_wxUSE_STARTUP_TIPS
=no
2145 DEFAULT_wxUSE_PROGRESSDLG
=no
2146 DEFAULT_wxUSE_WIZARDDLG
=no
2148 DEFAULT_wxUSE_MENUS
=no
2149 DEFAULT_wxUSE_MINIFRAME
=no
2150 DEFAULT_wxUSE_HTML
=no
2151 DEFAULT_wxUSE_XRC
=no
2152 DEFAULT_wxUSE_WEBKIT
=no
2153 DEFAULT_wxUSE_FILESYSTEM
=no
2154 DEFAULT_wxUSE_FS_INET
=no
2155 DEFAULT_wxUSE_FS_ZIP
=no
2156 DEFAULT_wxUSE_BUSYINFO
=no
2157 DEFAULT_wxUSE_ZIPSTREAM
=no
2158 DEFAULT_wxUSE_VALIDATORS
=no
2160 DEFAULT_wxUSE_ACCEL
=no
2161 DEFAULT_wxUSE_BUTTON
=no
2162 DEFAULT_wxUSE_BMPBUTTON
=no
2163 DEFAULT_wxUSE_CALCTRL
=no
2164 DEFAULT_wxUSE_CARET
=no
2165 DEFAULT_wxUSE_CHECKBOX
=no
2166 DEFAULT_wxUSE_CHECKLST
=no
2167 DEFAULT_wxUSE_CHOICE
=no
2168 DEFAULT_wxUSE_CHOICEBOOK
=no
2169 DEFAULT_wxUSE_COMBOBOX
=no
2170 DEFAULT_wxUSE_DATEPICKCTRL
=no
2171 DEFAULT_wxUSE_DISPLAY
=no
2172 DEFAULT_wxUSE_GAUGE
=no
2173 DEFAULT_wxUSE_GRID
=no
2174 DEFAULT_wxUSE_IMAGLIST
=no
2175 DEFAULT_wxUSE_LISTBOOK
=no
2176 DEFAULT_wxUSE_LISTBOX
=no
2177 DEFAULT_wxUSE_LISTCTRL
=no
2178 DEFAULT_wxUSE_NOTEBOOK
=no
2179 DEFAULT_wxUSE_RADIOBOX
=no
2180 DEFAULT_wxUSE_RADIOBTN
=no
2181 DEFAULT_wxUSE_SASH
=no
2182 DEFAULT_wxUSE_SCROLLBAR
=no
2183 DEFAULT_wxUSE_SLIDER
=no
2184 DEFAULT_wxUSE_SPINBTN
=no
2185 DEFAULT_wxUSE_SPINCTRL
=no
2186 DEFAULT_wxUSE_SPLITTER
=no
2187 DEFAULT_wxUSE_STATBMP
=no
2188 DEFAULT_wxUSE_STATBOX
=no
2189 DEFAULT_wxUSE_STATLINE
=no
2190 DEFAULT_wxUSE_STATTEXT
=no
2191 DEFAULT_wxUSE_STATUSBAR
=yes
2192 DEFAULT_wxUSE_TABDIALOG
=no
2193 DEFAULT_wxUSE_TEXTCTRL
=no
2194 DEFAULT_wxUSE_TOGGLEBTN
=no
2195 DEFAULT_wxUSE_TOOLBAR
=no
2196 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2197 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2198 DEFAULT_wxUSE_TREECTRL
=no
2199 DEFAULT_wxUSE_POPUPWIN
=no
2200 DEFAULT_wxUSE_TIPWINDOW
=no
2202 DEFAULT_wxUSE_UNICODE
=no
2203 DEFAULT_wxUSE_UNICODE_MSLU
=no
2204 DEFAULT_wxUSE_WCSRTOMBS
=no
2206 DEFAULT_wxUSE_PALETTE
=no
2207 DEFAULT_wxUSE_IMAGE
=no
2208 DEFAULT_wxUSE_GIF
=no
2209 DEFAULT_wxUSE_PCX
=no
2210 DEFAULT_wxUSE_PNM
=no
2211 DEFAULT_wxUSE_IFF
=no
2212 DEFAULT_wxUSE_XPM
=no
2213 DEFAULT_wxUSE_ICO_CUR
=no
2214 DEFAULT_wxUSE_ACCESSIBILITY
=no
2216 DEFAULT_wxUSE_MONOLITHIC
=no
2217 DEFAULT_wxUSE_PLUGINS
=no
2218 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2220 DEFAULT_wxUSE_UNIVERSAL
=no
2221 DEFAULT_wxUSE_STL
=no
2223 DEFAULT_wxUSE_NANOX
=no
2225 DEFAULT_wxUSE_THREADS
=yes
2227 DEFAULT_wxUSE_SHARED
=yes
2228 DEFAULT_wxUSE_OPTIMISE
=yes
2229 DEFAULT_wxUSE_PROFILE
=no
2230 DEFAULT_wxUSE_NO_DEPS
=no
2231 DEFAULT_wxUSE_NO_RTTI
=no
2232 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2233 DEFAULT_wxUSE_RPATH
=yes
2234 DEFAULT_wxUSE_PERMISSIVE
=no
2235 DEFAULT_wxUSE_DEBUG_FLAG
=no
2236 DEFAULT_wxUSE_DEBUG_INFO
=no
2237 DEFAULT_wxUSE_DEBUG_GDB
=no
2238 DEFAULT_wxUSE_MEM_TRACING
=no
2239 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2240 DEFAULT_wxUSE_DMALLOC
=no
2241 DEFAULT_wxUSE_APPLE_IEEE
=yes
2243 DEFAULT_wxUSE_EXCEPTIONS
=yes
2244 DEFAULT_wxUSE_LOG
=yes
2245 DEFAULT_wxUSE_LOGWINDOW
=yes
2246 DEFAULT_wxUSE_LOGGUI
=yes
2247 DEFAULT_wxUSE_LOGDIALOG
=yes
2249 DEFAULT_wxUSE_GUI
=yes
2251 DEFAULT_wxUSE_REGEX
=yes
2252 DEFAULT_wxUSE_XML
=yes
2253 DEFAULT_wxUSE_EXPAT
=yes
2254 DEFAULT_wxUSE_ZLIB
=yes
2255 DEFAULT_wxUSE_LIBPNG
=yes
2256 DEFAULT_wxUSE_LIBJPEG
=yes
2257 DEFAULT_wxUSE_LIBTIFF
=yes
2258 DEFAULT_wxUSE_LIBXPM
=yes
2259 DEFAULT_wxUSE_LIBMSPACK
=yes
2260 DEFAULT_wxUSE_LIBSDL
=no
2261 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2262 DEFAULT_wxUSE_ODBC
=no
2263 DEFAULT_wxUSE_OPENGL
=no
2265 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2266 DEFAULT_wxUSE_STACKWALKER
=yes
2267 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2268 DEFAULT_wxUSE_STD_IOSTREAM
=no
2269 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2270 DEFAULT_wxUSE_DATETIME
=yes
2271 DEFAULT_wxUSE_TIMER
=yes
2272 DEFAULT_wxUSE_STOPWATCH
=yes
2273 DEFAULT_wxUSE_FILE
=yes
2274 DEFAULT_wxUSE_FFILE
=yes
2275 DEFAULT_wxUSE_TEXTBUFFER
=yes
2276 DEFAULT_wxUSE_TEXTFILE
=yes
2277 DEFAULT_wxUSE_SOUND
=yes
2278 DEFAULT_wxUSE_MEDIACTRL
=no
2279 DEFAULT_wxUSE_DIRECTSHOW
=no
2280 DEFAULT_wxUSE_INTL
=yes
2281 DEFAULT_wxUSE_CONFIG
=yes
2282 DEFAULT_wxUSE_FONTMAP
=yes
2283 DEFAULT_wxUSE_STREAMS
=yes
2284 DEFAULT_wxUSE_SOCKETS
=yes
2285 DEFAULT_wxUSE_OLE
=yes
2286 DEFAULT_wxUSE_DATAOBJ
=yes
2287 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2288 DEFAULT_wxUSE_JOYSTICK
=yes
2289 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2290 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2291 DEFAULT_wxUSE_LONGLONG
=yes
2292 DEFAULT_wxUSE_GEOMETRY
=yes
2294 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2295 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2296 DEFAULT_wxUSE_POSTSCRIPT
=yes
2298 DEFAULT_wxUSE_CLIPBOARD
=yes
2299 DEFAULT_wxUSE_TOOLTIPS
=yes
2300 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2301 DEFAULT_wxUSE_DRAGIMAGE
=yes
2302 DEFAULT_wxUSE_SPLINES
=yes
2304 DEFAULT_wxUSE_MDI
=yes
2305 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2306 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2307 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2309 DEFAULT_wxUSE_RESOURCES
=no
2310 DEFAULT_wxUSE_CONSTRAINTS
=yes
2311 DEFAULT_wxUSE_IPC
=yes
2312 DEFAULT_wxUSE_HELP
=yes
2313 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2314 DEFAULT_wxUSE_WXHTML_HELP
=yes
2315 DEFAULT_wxUSE_TREELAYOUT
=yes
2316 DEFAULT_wxUSE_METAFILE
=yes
2317 DEFAULT_wxUSE_MIMETYPE
=yes
2318 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2319 DEFAULT_wxUSE_PROTOCOL
=yes
2320 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2321 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2322 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2323 DEFAULT_wxUSE_URL
=yes
2325 DEFAULT_wxUSE_COMMONDLGS
=yes
2326 DEFAULT_wxUSE_CHOICEDLG
=yes
2327 DEFAULT_wxUSE_COLOURDLG
=yes
2328 DEFAULT_wxUSE_DIRDLG
=yes
2329 DEFAULT_wxUSE_FILEDLG
=yes
2330 DEFAULT_wxUSE_FINDREPLDLG
=yes
2331 DEFAULT_wxUSE_FONTDLG
=yes
2332 DEFAULT_wxUSE_MSGDLG
=yes
2333 DEFAULT_wxUSE_NUMBERDLG
=yes
2334 DEFAULT_wxUSE_TEXTDLG
=yes
2335 DEFAULT_wxUSE_SPLASH
=yes
2336 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2337 DEFAULT_wxUSE_PROGRESSDLG
=yes
2338 DEFAULT_wxUSE_WIZARDDLG
=yes
2340 DEFAULT_wxUSE_MENUS
=yes
2341 DEFAULT_wxUSE_MINIFRAME
=yes
2342 DEFAULT_wxUSE_HTML
=yes
2343 DEFAULT_wxUSE_XRC
=yes
2344 DEFAULT_wxUSE_WEBKIT
=yes
2345 DEFAULT_wxUSE_FILESYSTEM
=yes
2346 DEFAULT_wxUSE_FS_INET
=yes
2347 DEFAULT_wxUSE_FS_ZIP
=yes
2348 DEFAULT_wxUSE_BUSYINFO
=yes
2349 DEFAULT_wxUSE_ZIPSTREAM
=yes
2350 DEFAULT_wxUSE_VALIDATORS
=yes
2352 DEFAULT_wxUSE_ACCEL
=yes
2353 DEFAULT_wxUSE_BUTTON
=yes
2354 DEFAULT_wxUSE_BMPBUTTON
=yes
2355 DEFAULT_wxUSE_CALCTRL
=yes
2356 DEFAULT_wxUSE_CARET
=yes
2357 DEFAULT_wxUSE_CHECKBOX
=yes
2358 DEFAULT_wxUSE_CHECKLST
=yes
2359 DEFAULT_wxUSE_CHOICE
=yes
2360 DEFAULT_wxUSE_CHOICEBOOK
=yes
2361 DEFAULT_wxUSE_COMBOBOX
=yes
2362 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2363 DEFAULT_wxUSE_DISPLAY
=yes
2364 DEFAULT_wxUSE_GAUGE
=yes
2365 DEFAULT_wxUSE_GRID
=yes
2366 DEFAULT_wxUSE_IMAGLIST
=yes
2367 DEFAULT_wxUSE_LISTBOOK
=yes
2368 DEFAULT_wxUSE_LISTBOX
=yes
2369 DEFAULT_wxUSE_LISTCTRL
=yes
2370 DEFAULT_wxUSE_NOTEBOOK
=yes
2371 DEFAULT_wxUSE_RADIOBOX
=yes
2372 DEFAULT_wxUSE_RADIOBTN
=yes
2373 DEFAULT_wxUSE_SASH
=yes
2374 DEFAULT_wxUSE_SCROLLBAR
=yes
2375 DEFAULT_wxUSE_SLIDER
=yes
2376 DEFAULT_wxUSE_SPINBTN
=yes
2377 DEFAULT_wxUSE_SPINCTRL
=yes
2378 DEFAULT_wxUSE_SPLITTER
=yes
2379 DEFAULT_wxUSE_STATBMP
=yes
2380 DEFAULT_wxUSE_STATBOX
=yes
2381 DEFAULT_wxUSE_STATLINE
=yes
2382 DEFAULT_wxUSE_STATTEXT
=yes
2383 DEFAULT_wxUSE_STATUSBAR
=yes
2384 DEFAULT_wxUSE_TABDIALOG
=no
2385 DEFAULT_wxUSE_TEXTCTRL
=yes
2386 DEFAULT_wxUSE_TOGGLEBTN
=yes
2387 DEFAULT_wxUSE_TOOLBAR
=yes
2388 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2389 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2390 DEFAULT_wxUSE_TREECTRL
=yes
2391 DEFAULT_wxUSE_POPUPWIN
=yes
2392 DEFAULT_wxUSE_TIPWINDOW
=yes
2394 DEFAULT_wxUSE_UNICODE
=no
2395 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2396 DEFAULT_wxUSE_WCSRTOMBS
=no
2398 DEFAULT_wxUSE_PALETTE
=yes
2399 DEFAULT_wxUSE_IMAGE
=yes
2400 DEFAULT_wxUSE_GIF
=yes
2401 DEFAULT_wxUSE_PCX
=yes
2402 DEFAULT_wxUSE_IFF
=no
2403 DEFAULT_wxUSE_PNM
=yes
2404 DEFAULT_wxUSE_XPM
=yes
2405 DEFAULT_wxUSE_ICO_CUR
=yes
2406 DEFAULT_wxUSE_ACCESSIBILITY
=no
2408 DEFAULT_wxUSE_MONOLITHIC
=no
2409 DEFAULT_wxUSE_PLUGINS
=no
2410 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2412 DEFAULT_wxUSE_GTK2
=yes
2417 for toolkit
in `echo $ALL_TOOLKITS`; do
2418 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2419 if test "x$LINE" != "x" ; then
2420 has_toolkit_in_cache
=1
2421 eval "DEFAULT_$LINE"
2422 eval "CACHE_$toolkit=1"
2429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2430 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2432 # Check whether --enable-gui or --disable-gui was given.
2433 if test "${enable_gui+set}" = set; then
2434 enableval
="$enable_gui"
2436 if test "$enableval" = yes; then
2437 ac_cv_use_gui
='wxUSE_GUI=yes'
2439 ac_cv_use_gui
='wxUSE_GUI=no'
2444 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2445 if test "x$LINE" != x
; then
2446 eval "DEFAULT_$LINE"
2451 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2455 eval "$ac_cv_use_gui"
2456 if test "$no_cache" != 1; then
2457 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2460 if test "$wxUSE_GUI" = yes; then
2461 echo "$as_me:$LINENO: result: yes" >&5
2462 echo "${ECHO_T}yes" >&6
2464 echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6
2470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2471 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2473 # Check whether --enable-monolithic or --disable-monolithic was given.
2474 if test "${enable_monolithic+set}" = set; then
2475 enableval
="$enable_monolithic"
2477 if test "$enableval" = yes; then
2478 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2480 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2485 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x
; then
2487 eval "DEFAULT_$LINE"
2492 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2496 eval "$ac_cv_use_monolithic"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2501 if test "$wxUSE_MONOLITHIC" = yes; then
2502 echo "$as_me:$LINENO: result: yes" >&5
2503 echo "${ECHO_T}yes" >&6
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2512 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2514 # Check whether --enable-plugins or --disable-plugins was given.
2515 if test "${enable_plugins+set}" = set; then
2516 enableval
="$enable_plugins"
2518 if test "$enableval" = yes; then
2519 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2521 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2526 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x
; then
2528 eval "DEFAULT_$LINE"
2533 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2537 eval "$ac_cv_use_plugins"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2542 if test "$wxUSE_PLUGINS" = yes; then
2543 echo "$as_me:$LINENO: result: yes" >&5
2544 echo "${ECHO_T}yes" >&6
2546 echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6
2551 if test "$wxUSE_GUI" = "yes"; then
2555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2556 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2558 # Check whether --enable-universal or --disable-universal was given.
2559 if test "${enable_universal+set}" = set; then
2560 enableval
="$enable_universal"
2562 if test "$enableval" = yes; then
2563 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2565 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2570 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2571 if test "x$LINE" != x
; then
2572 eval "DEFAULT_$LINE"
2577 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2581 eval "$ac_cv_use_universal"
2582 if test "$no_cache" != 1; then
2583 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2586 if test "$wxUSE_UNIVERSAL" = yes; then
2587 echo "$as_me:$LINENO: result: yes" >&5
2588 echo "${ECHO_T}yes" >&6
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2595 # Check whether --with-gtk or --without-gtk was given.
2596 if test "${with_gtk+set}" = set; then
2598 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2601 # Check whether --with-motif or --without-motif was given.
2602 if test "${with_motif+set}" = set; then
2603 withval
="$with_motif"
2604 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2607 # Check whether --with-mac or --without-mac was given.
2608 if test "${with_mac+set}" = set; then
2610 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2613 # Check whether --with-cocoa or --without-cocoa was given.
2614 if test "${with_cocoa+set}" = set; then
2615 withval
="$with_cocoa"
2616 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2619 # Check whether --with-wine or --without-wine was given.
2620 if test "${with_wine+set}" = set; then
2621 withval
="$with_wine"
2622 wxUSE_WINE
="$withval" CACHE_WINE
=1
2625 # Check whether --with-msw or --without-msw was given.
2626 if test "${with_msw+set}" = set; then
2628 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-pm or --without-pm was given.
2632 if test "${with_pm+set}" = set; then
2634 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-mgl or --without-mgl was given.
2638 if test "${with_mgl+set}" = set; then
2640 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2643 # Check whether --with-microwin or --without-microwin was given.
2644 if test "${with_microwin+set}" = set; then
2645 withval
="$with_microwin"
2646 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2649 # Check whether --with-x11 or --without-x11 was given.
2650 if test "${with_x11+set}" = set; then
2652 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2657 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2659 # Check whether --enable-nanox or --disable-nanox was given.
2660 if test "${enable_nanox+set}" = set; then
2661 enableval
="$enable_nanox"
2663 if test "$enableval" = yes; then
2664 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2666 ac_cv_use_nanox
='wxUSE_NANOX=no'
2671 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x
; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2682 eval "$ac_cv_use_nanox"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2687 if test "$wxUSE_NANOX" = yes; then
2688 echo "$as_me:$LINENO: result: yes" >&5
2689 echo "${ECHO_T}yes" >&6
2691 echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6
2698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2699 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2701 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2702 if test "${enable_gtk2+set}" = set; then
2703 enableval
="$enable_gtk2"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2708 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2713 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2724 eval "$ac_cv_use_gtk2"
2725 if test "$no_cache" != 1; then
2726 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2729 if test "$wxUSE_GTK2" = yes; then
2730 echo "$as_me:$LINENO: result: yes" >&5
2731 echo "${ECHO_T}yes" >&6
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2740 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2742 # Check whether --enable-gpe or --disable-gpe was given.
2743 if test "${enable_gpe+set}" = set; then
2744 enableval
="$enable_gpe"
2746 if test "$enableval" = yes; then
2747 ac_cv_use_gpe
='wxUSE_GPE=yes'
2749 ac_cv_use_gpe
='wxUSE_GPE=no'
2754 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x
; then
2756 eval "DEFAULT_$LINE"
2761 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2765 eval "$ac_cv_use_gpe"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2770 if test "$wxUSE_GPE" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2780 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2781 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2784 # Check whether --with-libpng or --without-libpng was given.
2785 if test "${with_libpng+set}" = set; then
2786 withval
="$with_libpng"
2788 if test "$withval" = yes; then
2789 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2790 elif test "$withval" = no
; then
2791 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2792 elif test "$withval" = sys
; then
2793 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2794 elif test "$withval" = builtin; then
2795 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2797 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2798 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2799 { (exit 1); exit 1; }; }
2804 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2805 if test "x$LINE" != x
; then
2806 eval "DEFAULT_$LINE"
2811 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2815 eval "$ac_cv_use_libpng"
2816 if test "$no_cache" != 1; then
2817 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2820 if test "$wxUSE_LIBPNG" = yes; then
2821 echo "$as_me:$LINENO: result: yes" >&5
2822 echo "${ECHO_T}yes" >&6
2823 elif test "$wxUSE_LIBPNG" = no
; then
2824 echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6
2826 elif test "$wxUSE_LIBPNG" = sys
; then
2827 echo "$as_me:$LINENO: result: system version" >&5
2828 echo "${ECHO_T}system version" >&6
2829 elif test "$wxUSE_LIBPNG" = builtin; then
2830 echo "$as_me:$LINENO: result: builtin version" >&5
2831 echo "${ECHO_T}builtin version" >&6
2833 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2834 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2835 { (exit 1); exit 1; }; }
2839 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2840 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2843 # Check whether --with-libjpeg or --without-libjpeg was given.
2844 if test "${with_libjpeg+set}" = set; then
2845 withval
="$with_libjpeg"
2847 if test "$withval" = yes; then
2848 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2849 elif test "$withval" = no
; then
2850 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2851 elif test "$withval" = sys
; then
2852 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2853 elif test "$withval" = builtin; then
2854 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2856 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2857 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2858 { (exit 1); exit 1; }; }
2863 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2864 if test "x$LINE" != x
; then
2865 eval "DEFAULT_$LINE"
2870 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2874 eval "$ac_cv_use_libjpeg"
2875 if test "$no_cache" != 1; then
2876 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2879 if test "$wxUSE_LIBJPEG" = yes; then
2880 echo "$as_me:$LINENO: result: yes" >&5
2881 echo "${ECHO_T}yes" >&6
2882 elif test "$wxUSE_LIBJPEG" = no
; then
2883 echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2885 elif test "$wxUSE_LIBJPEG" = sys
; then
2886 echo "$as_me:$LINENO: result: system version" >&5
2887 echo "${ECHO_T}system version" >&6
2888 elif test "$wxUSE_LIBJPEG" = builtin; then
2889 echo "$as_me:$LINENO: result: builtin version" >&5
2890 echo "${ECHO_T}builtin version" >&6
2892 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2893 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2894 { (exit 1); exit 1; }; }
2898 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2899 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2902 # Check whether --with-libtiff or --without-libtiff was given.
2903 if test "${with_libtiff+set}" = set; then
2904 withval
="$with_libtiff"
2906 if test "$withval" = yes; then
2907 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2908 elif test "$withval" = no
; then
2909 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2910 elif test "$withval" = sys
; then
2911 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2912 elif test "$withval" = builtin; then
2913 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2915 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2916 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2917 { (exit 1); exit 1; }; }
2922 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x
; then
2924 eval "DEFAULT_$LINE"
2929 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2933 eval "$ac_cv_use_libtiff"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2938 if test "$wxUSE_LIBTIFF" = yes; then
2939 echo "$as_me:$LINENO: result: yes" >&5
2940 echo "${ECHO_T}yes" >&6
2941 elif test "$wxUSE_LIBTIFF" = no
; then
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2944 elif test "$wxUSE_LIBTIFF" = sys
; then
2945 echo "$as_me:$LINENO: result: system version" >&5
2946 echo "${ECHO_T}system version" >&6
2947 elif test "$wxUSE_LIBTIFF" = builtin; then
2948 echo "$as_me:$LINENO: result: builtin version" >&5
2949 echo "${ECHO_T}builtin version" >&6
2951 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2952 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2953 { (exit 1); exit 1; }; }
2957 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2958 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2961 # Check whether --with-libxpm or --without-libxpm was given.
2962 if test "${with_libxpm+set}" = set; then
2963 withval
="$with_libxpm"
2965 if test "$withval" = yes; then
2966 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2967 elif test "$withval" = no
; then
2968 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2969 elif test "$withval" = sys
; then
2970 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2971 elif test "$withval" = builtin; then
2972 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2974 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2975 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2976 { (exit 1); exit 1; }; }
2981 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x
; then
2983 eval "DEFAULT_$LINE"
2988 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2992 eval "$ac_cv_use_libxpm"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_LIBXPM" = yes; then
2998 echo "$as_me:$LINENO: result: yes" >&5
2999 echo "${ECHO_T}yes" >&6
3000 elif test "$wxUSE_LIBXPM" = no
; then
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3003 elif test "$wxUSE_LIBXPM" = sys
; then
3004 echo "$as_me:$LINENO: result: system version" >&5
3005 echo "${ECHO_T}system version" >&6
3006 elif test "$wxUSE_LIBXPM" = builtin; then
3007 echo "$as_me:$LINENO: result: builtin version" >&5
3008 echo "${ECHO_T}builtin version" >&6
3010 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3011 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3012 { (exit 1); exit 1; }; }
3016 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3017 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3020 # Check whether --with-libmspack or --without-libmspack was given.
3021 if test "${with_libmspack+set}" = set; then
3022 withval
="$with_libmspack"
3024 if test "$withval" = yes; then
3025 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3027 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3032 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x
; then
3034 eval "DEFAULT_$LINE"
3039 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3043 eval "$ac_cv_use_libmspack"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3048 if test "$wxUSE_LIBMSPACK" = yes; then
3049 echo "$as_me:$LINENO: result: yes" >&5
3050 echo "${ECHO_T}yes" >&6
3052 echo "$as_me:$LINENO: result: no" >&5
3053 echo "${ECHO_T}no" >&6
3057 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3058 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3061 # Check whether --with-sdl or --without-sdl was given.
3062 if test "${with_sdl+set}" = set; then
3065 if test "$withval" = yes; then
3066 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3068 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3073 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x
; then
3075 eval "DEFAULT_$LINE"
3080 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3084 eval "$ac_cv_use_sdl"
3085 if test "$no_cache" != 1; then
3086 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3089 if test "$wxUSE_LIBSDL" = yes; then
3090 echo "$as_me:$LINENO: result: yes" >&5
3091 echo "${ECHO_T}yes" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3098 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3099 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3102 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3103 if test "${with_gnomeprint+set}" = set; then
3104 withval
="$with_gnomeprint"
3106 if test "$withval" = yes; then
3107 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3109 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3114 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x
; then
3116 eval "DEFAULT_$LINE"
3121 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3125 eval "$ac_cv_use_gnomeprint"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3130 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3139 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3140 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3143 # Check whether --with-opengl or --without-opengl was given.
3144 if test "${with_opengl+set}" = set; then
3145 withval
="$with_opengl"
3147 if test "$withval" = yes; then
3148 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3150 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3155 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x
; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3166 eval "$ac_cv_use_opengl"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3171 if test "$wxUSE_OPENGL" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3183 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3184 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3187 # Check whether --with-dmalloc or --without-dmalloc was given.
3188 if test "${with_dmalloc+set}" = set; then
3189 withval
="$with_dmalloc"
3191 if test "$withval" = yes; then
3192 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3194 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3199 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x
; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3210 eval "$ac_cv_use_dmalloc"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_DMALLOC" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3224 echo "$as_me:$LINENO: checking for --with-regex" >&5
3225 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3228 # Check whether --with-regex or --without-regex was given.
3229 if test "${with_regex+set}" = set; then
3230 withval
="$with_regex"
3232 if test "$withval" = yes; then
3233 ac_cv_use_regex
='wxUSE_REGEX=yes'
3234 elif test "$withval" = no
; then
3235 ac_cv_use_regex
='wxUSE_REGEX=no'
3236 elif test "$withval" = sys
; then
3237 ac_cv_use_regex
='wxUSE_REGEX=sys'
3238 elif test "$withval" = builtin; then
3239 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3241 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3242 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3243 { (exit 1); exit 1; }; }
3248 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3249 if test "x$LINE" != x
; then
3250 eval "DEFAULT_$LINE"
3255 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3259 eval "$ac_cv_use_regex"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3264 if test "$wxUSE_REGEX" = yes; then
3265 echo "$as_me:$LINENO: result: yes" >&5
3266 echo "${ECHO_T}yes" >&6
3267 elif test "$wxUSE_REGEX" = no
; then
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270 elif test "$wxUSE_REGEX" = sys
; then
3271 echo "$as_me:$LINENO: result: system version" >&5
3272 echo "${ECHO_T}system version" >&6
3273 elif test "$wxUSE_REGEX" = builtin; then
3274 echo "$as_me:$LINENO: result: builtin version" >&5
3275 echo "${ECHO_T}builtin version" >&6
3277 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3278 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3279 { (exit 1); exit 1; }; }
3283 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3284 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3287 # Check whether --with-zlib or --without-zlib was given.
3288 if test "${with_zlib+set}" = set; then
3289 withval
="$with_zlib"
3291 if test "$withval" = yes; then
3292 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3293 elif test "$withval" = no
; then
3294 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3295 elif test "$withval" = sys
; then
3296 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3297 elif test "$withval" = builtin; then
3298 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3300 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3301 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3302 { (exit 1); exit 1; }; }
3307 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x
; then
3309 eval "DEFAULT_$LINE"
3314 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3318 eval "$ac_cv_use_zlib"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3323 if test "$wxUSE_ZLIB" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 elif test "$wxUSE_ZLIB" = no
; then
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 elif test "$wxUSE_ZLIB" = sys
; then
3330 echo "$as_me:$LINENO: result: system version" >&5
3331 echo "${ECHO_T}system version" >&6
3332 elif test "$wxUSE_ZLIB" = builtin; then
3333 echo "$as_me:$LINENO: result: builtin version" >&5
3334 echo "${ECHO_T}builtin version" >&6
3336 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3337 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3338 { (exit 1); exit 1; }; }
3342 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3343 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3346 # Check whether --with-odbc or --without-odbc was given.
3347 if test "${with_odbc+set}" = set; then
3348 withval
="$with_odbc"
3350 if test "$withval" = yes; then
3351 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3352 elif test "$withval" = no
; then
3353 ac_cv_use_odbc
='wxUSE_ODBC=no'
3354 elif test "$withval" = sys
; then
3355 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3356 elif test "$withval" = builtin; then
3357 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3359 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3360 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3361 { (exit 1); exit 1; }; }
3366 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3377 eval "$ac_cv_use_odbc"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_ODBC" = yes; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3385 elif test "$wxUSE_ODBC" = no
; then
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3388 elif test "$wxUSE_ODBC" = sys
; then
3389 echo "$as_me:$LINENO: result: system version" >&5
3390 echo "${ECHO_T}system version" >&6
3391 elif test "$wxUSE_ODBC" = builtin; then
3392 echo "$as_me:$LINENO: result: builtin version" >&5
3393 echo "${ECHO_T}builtin version" >&6
3395 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3396 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3397 { (exit 1); exit 1; }; }
3401 echo "$as_me:$LINENO: checking for --with-expat" >&5
3402 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3405 # Check whether --with-expat or --without-expat was given.
3406 if test "${with_expat+set}" = set; then
3407 withval
="$with_expat"
3409 if test "$withval" = yes; then
3410 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3411 elif test "$withval" = no
; then
3412 ac_cv_use_expat
='wxUSE_EXPAT=no'
3413 elif test "$withval" = sys
; then
3414 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3415 elif test "$withval" = builtin; then
3416 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3418 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3419 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3420 { (exit 1); exit 1; }; }
3425 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3426 if test "x$LINE" != x
; then
3427 eval "DEFAULT_$LINE"
3432 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3436 eval "$ac_cv_use_expat"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_EXPAT" = yes; then
3442 echo "$as_me:$LINENO: result: yes" >&5
3443 echo "${ECHO_T}yes" >&6
3444 elif test "$wxUSE_EXPAT" = no
; then
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3447 elif test "$wxUSE_EXPAT" = sys
; then
3448 echo "$as_me:$LINENO: result: system version" >&5
3449 echo "${ECHO_T}system version" >&6
3450 elif test "$wxUSE_EXPAT" = builtin; then
3451 echo "$as_me:$LINENO: result: builtin version" >&5
3452 echo "${ECHO_T}builtin version" >&6
3454 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3455 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3456 { (exit 1); exit 1; }; }
3463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3466 # Check whether --enable-shared or --disable-shared was given.
3467 if test "${enable_shared+set}" = set; then
3468 enableval
="$enable_shared"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_shared
='wxUSE_SHARED=yes'
3473 ac_cv_use_shared
='wxUSE_SHARED=no'
3478 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3489 eval "$ac_cv_use_shared"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_SHARED" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3507 # Check whether --enable-optimise or --disable-optimise was given.
3508 if test "${enable_optimise+set}" = set; then
3509 enableval
="$enable_optimise"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3514 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3519 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x
; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3530 eval "$ac_cv_use_optimise"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_OPTIMISE" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3546 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3548 # Check whether --enable-debug or --disable-debug was given.
3549 if test "${enable_debug+set}" = set; then
3550 enableval
="$enable_debug"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3555 ac_cv_use_debug
='wxUSE_DEBUG=no'
3560 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x
; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3571 eval "$ac_cv_use_debug"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3576 if test "$wxUSE_DEBUG" = yes; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3587 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3589 # Check whether --enable-stl or --disable-stl was given.
3590 if test "${enable_stl+set}" = set; then
3591 enableval
="$enable_stl"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_stl
='wxUSE_STL=yes'
3596 ac_cv_use_stl
='wxUSE_STL=no'
3601 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x
; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3612 eval "$ac_cv_use_stl"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_STL" = yes; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3625 if test "$USE_OS2" = "1"; then
3628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3629 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3631 # Check whether --enable-omf or --disable-omf was given.
3632 if test "${enable_omf+set}" = set; then
3633 enableval
="$enable_omf"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_omf
='wxUSE_OMF=yes'
3638 ac_cv_use_omf
='wxUSE_OMF=no'
3643 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3654 eval "$ac_cv_use_omf"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_OMF" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3669 if test "$wxUSE_DEBUG" = "yes"; then
3670 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3671 DEFAULT_wxUSE_DEBUG_INFO
=yes
3673 elif test "$wxUSE_DEBUG" = "no"; then
3674 DEFAULT_wxUSE_DEBUG_FLAG
=no
3675 DEFAULT_wxUSE_DEBUG_INFO
=no
3681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3682 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3684 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3685 if test "${enable_debug_flag+set}" = set; then
3686 enableval
="$enable_debug_flag"
3688 if test "$enableval" = yes; then
3689 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3691 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3696 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3707 eval "$ac_cv_use_debug_flag"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3712 if test "$wxUSE_DEBUG_FLAG" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3723 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3725 # Check whether --enable-debug_info or --disable-debug_info was given.
3726 if test "${enable_debug_info+set}" = set; then
3727 enableval
="$enable_debug_info"
3729 if test "$enableval" = yes; then
3730 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3732 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3737 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3738 if test "x$LINE" != x
; then
3739 eval "DEFAULT_$LINE"
3744 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3748 eval "$ac_cv_use_debug_info"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_DEBUG_INFO" = yes; then
3754 echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3766 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3767 if test "${enable_debug_gdb+set}" = set; then
3768 enableval
="$enable_debug_gdb"
3770 if test "$enableval" = yes; then
3771 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3773 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3778 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x
; then
3780 eval "DEFAULT_$LINE"
3785 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3789 eval "$ac_cv_use_debug_gdb"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3794 if test "$wxUSE_DEBUG_GDB" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3807 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3808 if test "${enable_debug_cntxt+set}" = set; then
3809 enableval
="$enable_debug_cntxt"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3814 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3819 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x
; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3830 eval "$ac_cv_use_debug_cntxt"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3835 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3848 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3849 if test "${enable_mem_tracing+set}" = set; then
3850 enableval
="$enable_mem_tracing"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3855 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3860 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x
; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3871 eval "$ac_cv_use_mem_tracing"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_MEM_TRACING" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3889 # Check whether --enable-profile or --disable-profile was given.
3890 if test "${enable_profile+set}" = set; then
3891 enableval
="$enable_profile"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3896 ac_cv_use_profile
='wxUSE_PROFILE=no'
3901 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3912 eval "$ac_cv_use_profile"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_PROFILE" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3928 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3930 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3931 if test "${enable_no_rtti+set}" = set; then
3932 enableval
="$enable_no_rtti"
3934 if test "$enableval" = yes; then
3935 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3937 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3942 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x
; then
3944 eval "DEFAULT_$LINE"
3949 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3953 eval "$ac_cv_use_no_rtti"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_NO_RTTI" = yes; then
3959 echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6
3962 echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6
3968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3969 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3971 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3972 if test "${enable_no_exceptions+set}" = set; then
3973 enableval
="$enable_no_exceptions"
3975 if test "$enableval" = yes; then
3976 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3978 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3983 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3984 if test "x$LINE" != x
; then
3985 eval "DEFAULT_$LINE"
3990 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3994 eval "$ac_cv_use_no_exceptions"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3999 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4000 echo "$as_me:$LINENO: result: yes" >&5
4001 echo "${ECHO_T}yes" >&6
4003 echo "$as_me:$LINENO: result: no" >&5
4004 echo "${ECHO_T}no" >&6
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4012 # Check whether --enable-permissive or --disable-permissive was given.
4013 if test "${enable_permissive+set}" = set; then
4014 enableval
="$enable_permissive"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4019 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4024 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4035 eval "$ac_cv_use_permissive"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_PERMISSIVE" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4053 # Check whether --enable-no_deps or --disable-no_deps was given.
4054 if test "${enable_no_deps+set}" = set; then
4055 enableval
="$enable_no_deps"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4060 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4065 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4076 eval "$ac_cv_use_no_deps"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_NO_DEPS" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4093 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4095 # Check whether --enable-compat22 or --disable-compat22 was given.
4096 if test "${enable_compat22+set}" = set; then
4097 enableval
="$enable_compat22"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4102 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4107 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x
; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4118 eval "$ac_cv_use_compat22"
4119 if test "$no_cache" != 1; then
4120 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4123 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4124 echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6
4127 echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6
4132 enablestring
=disable
4133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4134 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4136 # Check whether --enable-compat24 or --disable-compat24 was given.
4137 if test "${enable_compat24+set}" = set; then
4138 enableval
="$enable_compat24"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4143 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4148 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x
; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4159 eval "$ac_cv_use_compat24"
4160 if test "$no_cache" != 1; then
4161 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4164 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4176 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4178 # Check whether --enable-rpath or --disable-rpath was given.
4179 if test "${enable_rpath+set}" = set; then
4180 enableval
="$enable_rpath"
4182 if test "$enableval" = yes; then
4183 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4185 ac_cv_use_rpath
='wxUSE_RPATH=no'
4190 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x
; then
4192 eval "DEFAULT_$LINE"
4197 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4201 eval "$ac_cv_use_rpath"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_RPATH" = yes; then
4207 echo "$as_me:$LINENO: result: yes" >&5
4208 echo "${ECHO_T}yes" >&6
4210 echo "$as_me:$LINENO: result: no" >&5
4211 echo "${ECHO_T}no" >&6
4219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4220 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4222 # Check whether --enable-intl or --disable-intl was given.
4223 if test "${enable_intl+set}" = set; then
4224 enableval
="$enable_intl"
4226 if test "$enableval" = yes; then
4227 ac_cv_use_intl
='wxUSE_INTL=yes'
4229 ac_cv_use_intl
='wxUSE_INTL=no'
4234 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x
; then
4236 eval "DEFAULT_$LINE"
4241 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4245 eval "$ac_cv_use_intl"
4246 if test "$no_cache" != 1; then
4247 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4250 if test "$wxUSE_INTL" = yes; then
4251 echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4261 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4263 # Check whether --enable-config or --disable-config was given.
4264 if test "${enable_config+set}" = set; then
4265 enableval
="$enable_config"
4267 if test "$enableval" = yes; then
4268 ac_cv_use_config
='wxUSE_CONFIG=yes'
4270 ac_cv_use_config
='wxUSE_CONFIG=no'
4275 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x
; then
4277 eval "DEFAULT_$LINE"
4282 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4286 eval "$ac_cv_use_config"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_CONFIG" = yes; then
4292 echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4305 # Check whether --enable-protocols or --disable-protocols was given.
4306 if test "${enable_protocols+set}" = set; then
4307 enableval
="$enable_protocols"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4312 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4317 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x
; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4328 eval "$ac_cv_use_protocols"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_PROTOCOL" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4346 # Check whether --enable-ftp or --disable-ftp was given.
4347 if test "${enable_ftp+set}" = set; then
4348 enableval
="$enable_ftp"
4350 if test "$enableval" = yes; then
4351 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4353 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4358 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x
; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4369 eval "$ac_cv_use_ftp"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4387 # Check whether --enable-http or --disable-http was given.
4388 if test "${enable_http+set}" = set; then
4389 enableval
="$enable_http"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4394 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4399 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x
; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4410 eval "$ac_cv_use_http"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4428 # Check whether --enable-fileproto or --disable-fileproto was given.
4429 if test "${enable_fileproto+set}" = set; then
4430 enableval
="$enable_fileproto"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4435 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4440 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x
; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4451 eval "$ac_cv_use_fileproto"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4469 # Check whether --enable-sockets or --disable-sockets was given.
4470 if test "${enable_sockets+set}" = set; then
4471 enableval
="$enable_sockets"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4476 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4481 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x
; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4492 eval "$ac_cv_use_sockets"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4497 if test "$wxUSE_SOCKETS" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4510 # Check whether --enable-ole or --disable-ole was given.
4511 if test "${enable_ole+set}" = set; then
4512 enableval
="$enable_ole"
4514 if test "$enableval" = yes; then
4515 ac_cv_use_ole
='wxUSE_OLE=yes'
4517 ac_cv_use_ole
='wxUSE_OLE=no'
4522 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x
; then
4524 eval "DEFAULT_$LINE"
4529 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4533 eval "$ac_cv_use_ole"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_OLE" = yes; then
4539 echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6
4542 echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4551 # Check whether --enable-dataobj or --disable-dataobj was given.
4552 if test "${enable_dataobj+set}" = set; then
4553 enableval
="$enable_dataobj"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4558 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4563 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4574 eval "$ac_cv_use_dataobj"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_DATAOBJ" = yes; then
4580 echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4593 # Check whether --enable-ipc or --disable-ipc was given.
4594 if test "${enable_ipc+set}" = set; then
4595 enableval
="$enable_ipc"
4597 if test "$enableval" = yes; then
4598 ac_cv_use_ipc
='wxUSE_IPC=yes'
4600 ac_cv_use_ipc
='wxUSE_IPC=no'
4605 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4612 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4616 eval "$ac_cv_use_ipc"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4621 if test "$wxUSE_IPC" = yes; then
4622 echo "$as_me:$LINENO: result: yes" >&5
4623 echo "${ECHO_T}yes" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4635 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4636 if test "${enable_apple_ieee+set}" = set; then
4637 enableval
="$enable_apple_ieee"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4642 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4647 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4658 eval "$ac_cv_use_apple_ieee"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_APPLE_IEEE" = yes; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4676 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4677 if test "${enable_catch_segvs+set}" = set; then
4678 enableval
="$enable_catch_segvs"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4683 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4688 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x
; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4699 eval "$ac_cv_use_catch_segvs"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4704 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4705 echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4715 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4717 # Check whether --enable-backtrace or --disable-backtrace was given.
4718 if test "${enable_backtrace+set}" = set; then
4719 enableval
="$enable_backtrace"
4721 if test "$enableval" = yes; then
4722 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4724 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4729 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x
; then
4731 eval "DEFAULT_$LINE"
4736 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4740 eval "$ac_cv_use_backtrace"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4745 if test "$wxUSE_STACKWALKER" = yes; then
4746 echo "$as_me:$LINENO: result: yes" >&5
4747 echo "${ECHO_T}yes" >&6
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4756 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4758 # Check whether --enable-cmdline or --disable-cmdline was given.
4759 if test "${enable_cmdline+set}" = set; then
4760 enableval
="$enable_cmdline"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4765 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4770 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4781 eval "$ac_cv_use_cmdline"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4787 echo "$as_me:$LINENO: result: yes" >&5
4788 echo "${ECHO_T}yes" >&6
4790 echo "$as_me:$LINENO: result: no" >&5
4791 echo "${ECHO_T}no" >&6
4796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4799 # Check whether --enable-datetime or --disable-datetime was given.
4800 if test "${enable_datetime+set}" = set; then
4801 enableval
="$enable_datetime"
4803 if test "$enableval" = yes; then
4804 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4806 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4811 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x
; then
4813 eval "DEFAULT_$LINE"
4818 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4822 eval "$ac_cv_use_datetime"
4823 if test "$no_cache" != 1; then
4824 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4827 if test "$wxUSE_DATETIME" = yes; then
4828 echo "$as_me:$LINENO: result: yes" >&5
4829 echo "${ECHO_T}yes" >&6
4831 echo "$as_me:$LINENO: result: no" >&5
4832 echo "${ECHO_T}no" >&6
4837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4840 # Check whether --enable-dialupman or --disable-dialupman was given.
4841 if test "${enable_dialupman+set}" = set; then
4842 enableval
="$enable_dialupman"
4844 if test "$enableval" = yes; then
4845 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4847 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4852 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x
; then
4854 eval "DEFAULT_$LINE"
4859 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4863 eval "$ac_cv_use_dialupman"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4868 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4869 echo "$as_me:$LINENO: result: yes" >&5
4870 echo "${ECHO_T}yes" >&6
4872 echo "$as_me:$LINENO: result: no" >&5
4873 echo "${ECHO_T}no" >&6
4878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4879 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4881 # Check whether --enable-dynlib or --disable-dynlib was given.
4882 if test "${enable_dynlib+set}" = set; then
4883 enableval
="$enable_dynlib"
4885 if test "$enableval" = yes; then
4886 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4888 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4893 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x
; then
4895 eval "DEFAULT_$LINE"
4900 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4904 eval "$ac_cv_use_dynlib"
4905 if test "$no_cache" != 1; then
4906 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4909 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4910 echo "$as_me:$LINENO: result: yes" >&5
4911 echo "${ECHO_T}yes" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4920 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4922 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4923 if test "${enable_dynamicloader+set}" = set; then
4924 enableval
="$enable_dynamicloader"
4926 if test "$enableval" = yes; then
4927 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4929 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4934 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4945 eval "$ac_cv_use_dynamicloader"
4946 if test "$no_cache" != 1; then
4947 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4950 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4951 echo "$as_me:$LINENO: result: yes" >&5
4952 echo "${ECHO_T}yes" >&6
4954 echo "$as_me:$LINENO: result: no" >&5
4955 echo "${ECHO_T}no" >&6
4960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4963 # Check whether --enable-exceptions or --disable-exceptions was given.
4964 if test "${enable_exceptions+set}" = set; then
4965 enableval
="$enable_exceptions"
4967 if test "$enableval" = yes; then
4968 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4970 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4975 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x
; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4986 eval "$ac_cv_use_exceptions"
4987 if test "$no_cache" != 1; then
4988 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4991 if test "$wxUSE_EXCEPTIONS" = yes; then
4992 echo "$as_me:$LINENO: result: yes" >&5
4993 echo "${ECHO_T}yes" >&6
4995 echo "$as_me:$LINENO: result: no" >&5
4996 echo "${ECHO_T}no" >&6
5001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5004 # Check whether --enable-ffile or --disable-ffile was given.
5005 if test "${enable_ffile+set}" = set; then
5006 enableval
="$enable_ffile"
5008 if test "$enableval" = yes; then
5009 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5011 ac_cv_use_ffile
='wxUSE_FFILE=no'
5016 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x
; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5027 eval "$ac_cv_use_ffile"
5028 if test "$no_cache" != 1; then
5029 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5032 if test "$wxUSE_FFILE" = yes; then
5033 echo "$as_me:$LINENO: result: yes" >&5
5034 echo "${ECHO_T}yes" >&6
5036 echo "$as_me:$LINENO: result: no" >&5
5037 echo "${ECHO_T}no" >&6
5042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5043 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5045 # Check whether --enable-file or --disable-file was given.
5046 if test "${enable_file+set}" = set; then
5047 enableval
="$enable_file"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_file
='wxUSE_FILE=yes'
5052 ac_cv_use_file
='wxUSE_FILE=no'
5057 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5068 eval "$ac_cv_use_file"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5073 if test "$wxUSE_FILE" = yes; then
5074 echo "$as_me:$LINENO: result: yes" >&5
5075 echo "${ECHO_T}yes" >&6
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5086 # Check whether --enable-filesystem or --disable-filesystem was given.
5087 if test "${enable_filesystem+set}" = set; then
5088 enableval
="$enable_filesystem"
5090 if test "$enableval" = yes; then
5091 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5093 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5098 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x
; then
5100 eval "DEFAULT_$LINE"
5105 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5109 eval "$ac_cv_use_filesystem"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_FILESYSTEM" = yes; then
5115 echo "$as_me:$LINENO: result: yes" >&5
5116 echo "${ECHO_T}yes" >&6
5118 echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6
5124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5127 # Check whether --enable-fontmap or --disable-fontmap was given.
5128 if test "${enable_fontmap+set}" = set; then
5129 enableval
="$enable_fontmap"
5131 if test "$enableval" = yes; then
5132 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5134 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5139 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x
; then
5141 eval "DEFAULT_$LINE"
5146 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5150 eval "$ac_cv_use_fontmap"
5151 if test "$no_cache" != 1; then
5152 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5155 if test "$wxUSE_FONTMAP" = yes; then
5156 echo "$as_me:$LINENO: result: yes" >&5
5157 echo "${ECHO_T}yes" >&6
5159 echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5168 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5169 if test "${enable_fs_inet+set}" = set; then
5170 enableval
="$enable_fs_inet"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5175 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5180 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x
; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5191 eval "$ac_cv_use_fs_inet"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5196 if test "$wxUSE_FS_INET" = yes; then
5197 echo "$as_me:$LINENO: result: yes" >&5
5198 echo "${ECHO_T}yes" >&6
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5209 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5210 if test "${enable_fs_zip+set}" = set; then
5211 enableval
="$enable_fs_zip"
5213 if test "$enableval" = yes; then
5214 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5216 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5221 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x
; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5232 eval "$ac_cv_use_fs_zip"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5237 if test "$wxUSE_FS_ZIP" = yes; then
5238 echo "$as_me:$LINENO: result: yes" >&5
5239 echo "${ECHO_T}yes" >&6
5241 echo "$as_me:$LINENO: result: no" >&5
5242 echo "${ECHO_T}no" >&6
5247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5250 # Check whether --enable-geometry or --disable-geometry was given.
5251 if test "${enable_geometry+set}" = set; then
5252 enableval
="$enable_geometry"
5254 if test "$enableval" = yes; then
5255 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5257 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5262 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x
; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5273 eval "$ac_cv_use_geometry"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5278 if test "$wxUSE_GEOMETRY" = yes; then
5279 echo "$as_me:$LINENO: result: yes" >&5
5280 echo "${ECHO_T}yes" >&6
5282 echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5291 # Check whether --enable-log or --disable-log was given.
5292 if test "${enable_log+set}" = set; then
5293 enableval
="$enable_log"
5295 if test "$enableval" = yes; then
5296 ac_cv_use_log
='wxUSE_LOG=yes'
5298 ac_cv_use_log
='wxUSE_LOG=no'
5303 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5310 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5314 eval "$ac_cv_use_log"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5319 if test "$wxUSE_LOG" = yes; then
5320 echo "$as_me:$LINENO: result: yes" >&5
5321 echo "${ECHO_T}yes" >&6
5323 echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6
5329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5332 # Check whether --enable-longlong or --disable-longlong was given.
5333 if test "${enable_longlong+set}" = set; then
5334 enableval
="$enable_longlong"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5339 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5344 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5355 eval "$ac_cv_use_longlong"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5360 if test "$wxUSE_LONGLONG" = yes; then
5361 echo "$as_me:$LINENO: result: yes" >&5
5362 echo "${ECHO_T}yes" >&6
5364 echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5373 # Check whether --enable-mimetype or --disable-mimetype was given.
5374 if test "${enable_mimetype+set}" = set; then
5375 enableval
="$enable_mimetype"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5380 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5385 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x
; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5396 eval "$ac_cv_use_mimetype"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_MIMETYPE" = yes; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5414 # Check whether --enable-mslu or --disable-mslu was given.
5415 if test "${enable_mslu+set}" = set; then
5416 enableval
="$enable_mslu"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5421 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5426 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x
; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5437 eval "$ac_cv_use_mslu"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_UNICODE_MSLU" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5455 # Check whether --enable-snglinst or --disable-snglinst was given.
5456 if test "${enable_snglinst+set}" = set; then
5457 enableval
="$enable_snglinst"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5462 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5467 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x
; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5478 eval "$ac_cv_use_snglinst"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5496 # Check whether --enable-streams or --disable-streams was given.
5497 if test "${enable_streams+set}" = set; then
5498 enableval
="$enable_streams"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5503 ac_cv_use_streams
='wxUSE_STREAMS=no'
5508 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x
; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5519 eval "$ac_cv_use_streams"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_STREAMS" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5537 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5538 if test "${enable_std_iostreams+set}" = set; then
5539 enableval
="$enable_std_iostreams"
5541 if test "$enableval" = yes; then
5542 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5544 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5549 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x
; then
5551 eval "DEFAULT_$LINE"
5556 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5560 eval "$ac_cv_use_std_iostreams"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_STD_IOSTREAM" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5578 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5579 if test "${enable_stopwatch+set}" = set; then
5580 enableval
="$enable_stopwatch"
5582 if test "$enableval" = yes; then
5583 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5585 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5590 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x
; then
5592 eval "DEFAULT_$LINE"
5597 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5601 eval "$ac_cv_use_stopwatch"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_STOPWATCH" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5619 # Check whether --enable-system_options or --disable-system_options was given.
5620 if test "${enable_system_options+set}" = set; then
5621 enableval
="$enable_system_options"
5623 if test "$enableval" = yes; then
5624 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5626 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5631 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x
; then
5633 eval "DEFAULT_$LINE"
5638 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5642 eval "$ac_cv_use_system_options"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5660 # Check whether --enable-textbuf or --disable-textbuf was given.
5661 if test "${enable_textbuf+set}" = set; then
5662 enableval
="$enable_textbuf"
5664 if test "$enableval" = yes; then
5665 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5667 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5672 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5673 if test "x$LINE" != x
; then
5674 eval "DEFAULT_$LINE"
5679 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5683 eval "$ac_cv_use_textbuf"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_TEXTBUFFER" = yes; then
5689 echo "$as_me:$LINENO: result: yes" >&5
5690 echo "${ECHO_T}yes" >&6
5692 echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5701 # Check whether --enable-textfile or --disable-textfile was given.
5702 if test "${enable_textfile+set}" = set; then
5703 enableval
="$enable_textfile"
5705 if test "$enableval" = yes; then
5706 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5708 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5713 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x
; then
5715 eval "DEFAULT_$LINE"
5720 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5724 eval "$ac_cv_use_textfile"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5729 if test "$wxUSE_TEXTFILE" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5733 echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6
5739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5742 # Check whether --enable-timer or --disable-timer was given.
5743 if test "${enable_timer+set}" = set; then
5744 enableval
="$enable_timer"
5746 if test "$enableval" = yes; then
5747 ac_cv_use_timer
='wxUSE_TIMER=yes'
5749 ac_cv_use_timer
='wxUSE_TIMER=no'
5754 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x
; then
5756 eval "DEFAULT_$LINE"
5761 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5765 eval "$ac_cv_use_timer"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5770 if test "$wxUSE_TIMER" = yes; then
5771 echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6
5774 echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6
5780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5783 # Check whether --enable-unicode or --disable-unicode was given.
5784 if test "${enable_unicode+set}" = set; then
5785 enableval
="$enable_unicode"
5787 if test "$enableval" = yes; then
5788 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5790 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5795 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x
; then
5797 eval "DEFAULT_$LINE"
5802 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5806 eval "$ac_cv_use_unicode"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_UNICODE" = yes; then
5812 echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6
5815 echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6
5821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5824 # Check whether --enable-sound or --disable-sound was given.
5825 if test "${enable_sound+set}" = set; then
5826 enableval
="$enable_sound"
5828 if test "$enableval" = yes; then
5829 ac_cv_use_sound
='wxUSE_SOUND=yes'
5831 ac_cv_use_sound
='wxUSE_SOUND=no'
5836 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x
; then
5838 eval "DEFAULT_$LINE"
5843 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5847 eval "$ac_cv_use_sound"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5852 if test "$wxUSE_SOUND" = yes; then
5853 echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5865 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5866 if test "${enable_mediactrl+set}" = set; then
5867 enableval
="$enable_mediactrl"
5869 if test "$enableval" = yes; then
5870 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5872 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5877 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x
; then
5879 eval "DEFAULT_$LINE"
5884 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5888 eval "$ac_cv_use_mediactrl"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5893 if test "$wxUSE_MEDIACTRL" = yes; then
5894 echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6
5897 echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5906 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5907 if test "${enable_wxprintfv+set}" = set; then
5908 enableval
="$enable_wxprintfv"
5910 if test "$enableval" = yes; then
5911 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5913 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5918 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5919 if test "x$LINE" != x
; then
5920 eval "DEFAULT_$LINE"
5925 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5929 eval "$ac_cv_use_wxprintfv"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5934 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5935 echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6
5938 echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6
5944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5947 # Check whether --enable-zipstream or --disable-zipstream was given.
5948 if test "${enable_zipstream+set}" = set; then
5949 enableval
="$enable_zipstream"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5954 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5959 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5970 eval "$ac_cv_use_zipstream"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5975 if test "$wxUSE_ZIPSTREAM" = yes; then
5976 echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6
5979 echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6
5986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5987 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5989 # Check whether --enable-url or --disable-url was given.
5990 if test "${enable_url+set}" = set; then
5991 enableval
="$enable_url"
5993 if test "$enableval" = yes; then
5994 ac_cv_use_url
='wxUSE_URL=yes'
5996 ac_cv_use_url
='wxUSE_URL=no'
6001 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6002 if test "x$LINE" != x
; then
6003 eval "DEFAULT_$LINE"
6008 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6012 eval "$ac_cv_use_url"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6017 if test "$wxUSE_URL" = yes; then
6018 echo "$as_me:$LINENO: result: yes" >&5
6019 echo "${ECHO_T}yes" >&6
6021 echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6
6027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6028 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6030 # Check whether --enable-protocol or --disable-protocol was given.
6031 if test "${enable_protocol+set}" = set; then
6032 enableval
="$enable_protocol"
6034 if test "$enableval" = yes; then
6035 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6037 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6042 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6043 if test "x$LINE" != x
; then
6044 eval "DEFAULT_$LINE"
6049 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6053 eval "$ac_cv_use_protocol"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6058 if test "$wxUSE_PROTOCOL" = yes; then
6059 echo "$as_me:$LINENO: result: yes" >&5
6060 echo "${ECHO_T}yes" >&6
6062 echo "$as_me:$LINENO: result: no" >&5
6063 echo "${ECHO_T}no" >&6
6068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6069 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6071 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6072 if test "${enable_protocol_http+set}" = set; then
6073 enableval
="$enable_protocol_http"
6075 if test "$enableval" = yes; then
6076 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6078 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6083 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6084 if test "x$LINE" != x
; then
6085 eval "DEFAULT_$LINE"
6090 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6094 eval "$ac_cv_use_protocol_http"
6095 if test "$no_cache" != 1; then
6096 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6099 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6100 echo "$as_me:$LINENO: result: yes" >&5
6101 echo "${ECHO_T}yes" >&6
6103 echo "$as_me:$LINENO: result: no" >&5
6104 echo "${ECHO_T}no" >&6
6109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6112 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6113 if test "${enable_protocol_ftp+set}" = set; then
6114 enableval
="$enable_protocol_ftp"
6116 if test "$enableval" = yes; then
6117 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6119 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6124 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6125 if test "x$LINE" != x
; then
6126 eval "DEFAULT_$LINE"
6131 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6135 eval "$ac_cv_use_protocol_ftp"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6140 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6141 echo "$as_me:$LINENO: result: yes" >&5
6142 echo "${ECHO_T}yes" >&6
6144 echo "$as_me:$LINENO: result: no" >&5
6145 echo "${ECHO_T}no" >&6
6150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6151 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6153 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6154 if test "${enable_protocol_file+set}" = set; then
6155 enableval
="$enable_protocol_file"
6157 if test "$enableval" = yes; then
6158 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6160 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6165 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6166 if test "x$LINE" != x
; then
6167 eval "DEFAULT_$LINE"
6172 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6176 eval "$ac_cv_use_protocol_file"
6177 if test "$no_cache" != 1; then
6178 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6181 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6182 echo "$as_me:$LINENO: result: yes" >&5
6183 echo "${ECHO_T}yes" >&6
6185 echo "$as_me:$LINENO: result: no" >&5
6186 echo "${ECHO_T}no" >&6
6194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6197 # Check whether --enable-threads or --disable-threads was given.
6198 if test "${enable_threads+set}" = set; then
6199 enableval
="$enable_threads"
6201 if test "$enableval" = yes; then
6202 ac_cv_use_threads
='wxUSE_THREADS=yes'
6204 ac_cv_use_threads
='wxUSE_THREADS=no'
6209 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x
; then
6211 eval "DEFAULT_$LINE"
6216 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6220 eval "$ac_cv_use_threads"
6221 if test "$no_cache" != 1; then
6222 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6225 if test "$wxUSE_THREADS" = yes; then
6226 echo "$as_me:$LINENO: result: yes" >&5
6227 echo "${ECHO_T}yes" >&6
6229 echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6234 if test "$wxUSE_GUI" = "yes"; then
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6242 # Check whether --enable-docview or --disable-docview was given.
6243 if test "${enable_docview+set}" = set; then
6244 enableval
="$enable_docview"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6249 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6254 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6265 eval "$ac_cv_use_docview"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6283 # Check whether --enable-help or --disable-help was given.
6284 if test "${enable_help+set}" = set; then
6285 enableval
="$enable_help"
6287 if test "$enableval" = yes; then
6288 ac_cv_use_help
='wxUSE_HELP=yes'
6290 ac_cv_use_help
='wxUSE_HELP=no'
6295 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x
; then
6297 eval "DEFAULT_$LINE"
6302 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6306 eval "$ac_cv_use_help"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_HELP" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6324 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6325 if test "${enable_mshtmlhelp+set}" = set; then
6326 enableval
="$enable_mshtmlhelp"
6328 if test "$enableval" = yes; then
6329 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6331 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6336 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x
; then
6338 eval "DEFAULT_$LINE"
6343 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6347 eval "$ac_cv_use_mshtmlhelp"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_MS_HTML_HELP" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6365 # Check whether --enable-html or --disable-html was given.
6366 if test "${enable_html+set}" = set; then
6367 enableval
="$enable_html"
6369 if test "$enableval" = yes; then
6370 ac_cv_use_html
='wxUSE_HTML=yes'
6372 ac_cv_use_html
='wxUSE_HTML=no'
6377 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x
; then
6379 eval "DEFAULT_$LINE"
6384 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6388 eval "$ac_cv_use_html"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_HTML" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6406 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6407 if test "${enable_htmlhelp+set}" = set; then
6408 enableval
="$enable_htmlhelp"
6410 if test "$enableval" = yes; then
6411 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6413 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6418 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x
; then
6420 eval "DEFAULT_$LINE"
6425 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6429 eval "$ac_cv_use_htmlhelp"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6434 if test "$wxUSE_WXHTML_HELP" = yes; then
6435 echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6
6438 echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6
6444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6447 # Check whether --enable-xrc or --disable-xrc was given.
6448 if test "${enable_xrc+set}" = set; then
6449 enableval
="$enable_xrc"
6451 if test "$enableval" = yes; then
6452 ac_cv_use_xrc
='wxUSE_XRC=yes'
6454 ac_cv_use_xrc
='wxUSE_XRC=no'
6459 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x
; then
6461 eval "DEFAULT_$LINE"
6466 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6470 eval "$ac_cv_use_xrc"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6475 if test "$wxUSE_XRC" = yes; then
6476 echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6479 echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6488 # Check whether --enable-constraints or --disable-constraints was given.
6489 if test "${enable_constraints+set}" = set; then
6490 enableval
="$enable_constraints"
6492 if test "$enableval" = yes; then
6493 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6495 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6500 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x
; then
6502 eval "DEFAULT_$LINE"
6507 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6511 eval "$ac_cv_use_constraints"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_CONSTRAINTS" = yes; then
6517 echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6
6520 echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6
6526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6529 # Check whether --enable-printarch or --disable-printarch was given.
6530 if test "${enable_printarch+set}" = set; then
6531 enableval
="$enable_printarch"
6533 if test "$enableval" = yes; then
6534 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6536 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6541 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6542 if test "x$LINE" != x
; then
6543 eval "DEFAULT_$LINE"
6548 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6552 eval "$ac_cv_use_printarch"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6557 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6558 echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6
6567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6570 # Check whether --enable-mdi or --disable-mdi was given.
6571 if test "${enable_mdi+set}" = set; then
6572 enableval
="$enable_mdi"
6574 if test "$enableval" = yes; then
6575 ac_cv_use_mdi
='wxUSE_MDI=yes'
6577 ac_cv_use_mdi
='wxUSE_MDI=no'
6582 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x
; then
6584 eval "DEFAULT_$LINE"
6589 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6593 eval "$ac_cv_use_mdi"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6598 if test "$wxUSE_MDI" = yes; then
6599 echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6
6602 echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6
6608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6611 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6612 if test "${enable_mdidoc+set}" = set; then
6613 enableval
="$enable_mdidoc"
6615 if test "$enableval" = yes; then
6616 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6618 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6623 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x
; then
6625 eval "DEFAULT_$LINE"
6630 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6634 eval "$ac_cv_use_mdidoc"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6640 echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6
6643 echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6
6649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6652 # Check whether --enable-loggui or --disable-loggui was given.
6653 if test "${enable_loggui+set}" = set; then
6654 enableval
="$enable_loggui"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6659 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6664 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6675 eval "$ac_cv_use_loggui"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_LOGGUI" = yes; then
6681 echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6
6684 echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6693 # Check whether --enable-logwin or --disable-logwin was given.
6694 if test "${enable_logwin+set}" = set; then
6695 enableval
="$enable_logwin"
6697 if test "$enableval" = yes; then
6698 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6700 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6705 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x
; then
6707 eval "DEFAULT_$LINE"
6712 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6716 eval "$ac_cv_use_logwin"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_LOGWINDOW" = yes; then
6722 echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6
6725 echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6
6731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6734 # Check whether --enable-logdialog or --disable-logdialog was given.
6735 if test "${enable_logdialog+set}" = set; then
6736 enableval
="$enable_logdialog"
6738 if test "$enableval" = yes; then
6739 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6741 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6746 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x
; then
6748 eval "DEFAULT_$LINE"
6753 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6757 eval "$ac_cv_use_logdialog"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6762 if test "$wxUSE_LOGDIALOG" = yes; then
6763 echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6775 # Check whether --enable-webkit or --disable-webkit was given.
6776 if test "${enable_webkit+set}" = set; then
6777 enableval
="$enable_webkit"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6782 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6787 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6798 eval "$ac_cv_use_webkit"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_WEBKIT" = yes; then
6804 echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6
6807 echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6
6814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6815 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6817 # Check whether --enable-postscript or --disable-postscript was given.
6818 if test "${enable_postscript+set}" = set; then
6819 enableval
="$enable_postscript"
6821 if test "$enableval" = yes; then
6822 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6824 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6829 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x
; then
6831 eval "DEFAULT_$LINE"
6836 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6840 eval "$ac_cv_use_postscript"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6845 if test "$wxUSE_POSTSCRIPT" = yes; then
6846 echo "$as_me:$LINENO: result: yes" >&5
6847 echo "${ECHO_T}yes" >&6
6849 echo "$as_me:$LINENO: result: no" >&5
6850 echo "${ECHO_T}no" >&6
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6861 # Check whether --enable-prologio or --disable-prologio was given.
6862 if test "${enable_prologio+set}" = set; then
6863 enableval
="$enable_prologio"
6865 if test "$enableval" = yes; then
6866 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6868 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6873 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x
; then
6875 eval "DEFAULT_$LINE"
6880 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6884 eval "$ac_cv_use_prologio"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_PROLOGIO" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891 echo "${ECHO_T}yes" >&6
6893 echo "$as_me:$LINENO: result: no" >&5
6894 echo "${ECHO_T}no" >&6
6899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6900 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6902 # Check whether --enable-resources or --disable-resources was given.
6903 if test "${enable_resources+set}" = set; then
6904 enableval
="$enable_resources"
6906 if test "$enableval" = yes; then
6907 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6909 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6914 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6915 if test "x$LINE" != x
; then
6916 eval "DEFAULT_$LINE"
6921 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6925 eval "$ac_cv_use_resources"
6926 if test "$no_cache" != 1; then
6927 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6930 if test "$wxUSE_RESOURCES" = yes; then
6931 echo "$as_me:$LINENO: result: yes" >&5
6932 echo "${ECHO_T}yes" >&6
6934 echo "$as_me:$LINENO: result: no" >&5
6935 echo "${ECHO_T}no" >&6
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6945 # Check whether --enable-clipboard or --disable-clipboard was given.
6946 if test "${enable_clipboard+set}" = set; then
6947 enableval
="$enable_clipboard"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6952 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6957 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6968 eval "$ac_cv_use_clipboard"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_CLIPBOARD" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6986 # Check whether --enable-dnd or --disable-dnd was given.
6987 if test "${enable_dnd+set}" = set; then
6988 enableval
="$enable_dnd"
6990 if test "$enableval" = yes; then
6991 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6993 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6998 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6999 if test "x$LINE" != x
; then
7000 eval "DEFAULT_$LINE"
7005 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7009 eval "$ac_cv_use_dnd"
7010 if test "$no_cache" != 1; then
7011 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7014 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7015 echo "$as_me:$LINENO: result: yes" >&5
7016 echo "${ECHO_T}yes" >&6
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7025 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7027 # Check whether --enable-metafile or --disable-metafile was given.
7028 if test "${enable_metafile+set}" = set; then
7029 enableval
="$enable_metafile"
7031 if test "$enableval" = yes; then
7032 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7034 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7039 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x
; then
7041 eval "DEFAULT_$LINE"
7046 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7050 eval "$ac_cv_use_metafile"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7055 if test "$wxUSE_METAFILE" = yes; then
7056 echo "$as_me:$LINENO: result: yes" >&5
7057 echo "${ECHO_T}yes" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7071 # Check whether --enable-controls or --disable-controls was given.
7072 if test "${enable_controls+set}" = set; then
7073 enableval
="$enable_controls"
7075 if test "$enableval" = yes; then
7076 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7078 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7083 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x
; then
7085 eval "DEFAULT_$LINE"
7090 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7094 eval "$ac_cv_use_controls"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7099 if test "$wxUSE_CONTROLS" = yes; then
7100 echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7108 if test "$wxUSE_CONTROLS" = "yes"; then
7109 DEFAULT_wxUSE_ACCEL
=yes
7110 DEFAULT_wxUSE_BMPBUTTON
=yes
7111 DEFAULT_wxUSE_BUTTON
=yes
7112 DEFAULT_wxUSE_CALCTRL
=yes
7113 DEFAULT_wxUSE_CARET
=yes
7114 DEFAULT_wxUSE_COMBOBOX
=yes
7115 DEFAULT_wxUSE_CHECKBOX
=yes
7116 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7117 DEFAULT_wxUSE_CHOICE
=yes
7118 DEFAULT_wxUSE_CHOICEBOOK
=yes
7119 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7120 DEFAULT_wxUSE_GAUGE
=yes
7121 DEFAULT_wxUSE_GRID
=yes
7122 DEFAULT_wxUSE_IMAGLIST
=yes
7123 DEFAULT_wxUSE_LISTBOOK
=yes
7124 DEFAULT_wxUSE_LISTBOX
=yes
7125 DEFAULT_wxUSE_LISTCTRL
=yes
7126 DEFAULT_wxUSE_NOTEBOOK
=yes
7127 DEFAULT_wxUSE_RADIOBOX
=yes
7128 DEFAULT_wxUSE_RADIOBTN
=yes
7129 DEFAULT_wxUSE_SASH
=yes
7130 DEFAULT_wxUSE_SCROLLBAR
=yes
7131 DEFAULT_wxUSE_SLIDER
=yes
7132 DEFAULT_wxUSE_SPINBTN
=yes
7133 DEFAULT_wxUSE_SPINCTRL
=yes
7134 DEFAULT_wxUSE_SPLITTER
=yes
7135 DEFAULT_wxUSE_STATBMP
=yes
7136 DEFAULT_wxUSE_STATBOX
=yes
7137 DEFAULT_wxUSE_STATLINE
=yes
7138 DEFAULT_wxUSE_STATUSBAR
=yes
7139 DEFAULT_wxUSE_TAB_DIALOG
=yes
7140 DEFAULT_wxUSE_TOGGLEBTN
=yes
7141 DEFAULT_wxUSE_TOOLBAR
=yes
7142 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7143 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7144 DEFAULT_wxUSE_TOOLTIPS
=yes
7145 DEFAULT_wxUSE_TREECTRL
=yes
7146 DEFAULT_wxUSE_POPUPWIN
=yes
7147 DEFAULT_wxUSE_TIPWINDOW
=yes
7148 elif test "$wxUSE_CONTROLS" = "no"; then
7149 DEFAULT_wxUSE_ACCEL
=no
7150 DEFAULT_wxUSE_BMPBUTTON
=no
7151 DEFAULT_wxUSE_BUTTON
=no
7152 DEFAULT_wxUSE_CALCTRL
=no
7153 DEFAULT_wxUSE_CARET
=no
7154 DEFAULT_wxUSE_COMBOBOX
=no
7155 DEFAULT_wxUSE_CHECKBOX
=no
7156 DEFAULT_wxUSE_CHECKLISTBOX
=no
7157 DEFAULT_wxUSE_CHOICE
=no
7158 DEFAULT_wxUSE_CHOICEBOOK
=no
7159 DEFAULT_wxUSE_DATEPICKCTRL
=no
7160 DEFAULT_wxUSE_GAUGE
=no
7161 DEFAULT_wxUSE_GRID
=no
7162 DEFAULT_wxUSE_IMAGLIST
=no
7163 DEFAULT_wxUSE_LISTBOOK
=no
7164 DEFAULT_wxUSE_LISTBOX
=no
7165 DEFAULT_wxUSE_LISTCTRL
=no
7166 DEFAULT_wxUSE_NOTEBOOK
=no
7167 DEFAULT_wxUSE_RADIOBOX
=no
7168 DEFAULT_wxUSE_RADIOBTN
=no
7169 DEFAULT_wxUSE_SASH
=no
7170 DEFAULT_wxUSE_SCROLLBAR
=no
7171 DEFAULT_wxUSE_SLIDER
=no
7172 DEFAULT_wxUSE_SPINBTN
=no
7173 DEFAULT_wxUSE_SPINCTRL
=no
7174 DEFAULT_wxUSE_SPLITTER
=no
7175 DEFAULT_wxUSE_STATBMP
=no
7176 DEFAULT_wxUSE_STATBOX
=no
7177 DEFAULT_wxUSE_STATLINE
=no
7178 DEFAULT_wxUSE_STATUSBAR
=no
7179 DEFAULT_wxUSE_TAB_DIALOG
=no
7180 DEFAULT_wxUSE_TOGGLEBTN
=no
7181 DEFAULT_wxUSE_TOOLBAR
=no
7182 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7183 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7184 DEFAULT_wxUSE_TOOLTIPS
=no
7185 DEFAULT_wxUSE_TREECTRL
=no
7186 DEFAULT_wxUSE_POPUPWIN
=no
7187 DEFAULT_wxUSE_TIPWINDOW
=no
7192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7193 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7195 # Check whether --enable-accel or --disable-accel was given.
7196 if test "${enable_accel+set}" = set; then
7197 enableval
="$enable_accel"
7199 if test "$enableval" = yes; then
7200 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7202 ac_cv_use_accel
='wxUSE_ACCEL=no'
7207 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x
; then
7209 eval "DEFAULT_$LINE"
7214 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7218 eval "$ac_cv_use_accel"
7219 if test "$no_cache" != 1; then
7220 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7223 if test "$wxUSE_ACCEL" = yes; then
7224 echo "$as_me:$LINENO: result: yes" >&5
7225 echo "${ECHO_T}yes" >&6
7227 echo "$as_me:$LINENO: result: no" >&5
7228 echo "${ECHO_T}no" >&6
7233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7234 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7236 # Check whether --enable-button or --disable-button was given.
7237 if test "${enable_button+set}" = set; then
7238 enableval
="$enable_button"
7240 if test "$enableval" = yes; then
7241 ac_cv_use_button
='wxUSE_BUTTON=yes'
7243 ac_cv_use_button
='wxUSE_BUTTON=no'
7248 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x
; then
7250 eval "DEFAULT_$LINE"
7255 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7259 eval "$ac_cv_use_button"
7260 if test "$no_cache" != 1; then
7261 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7264 if test "$wxUSE_BUTTON" = yes; then
7265 echo "$as_me:$LINENO: result: yes" >&5
7266 echo "${ECHO_T}yes" >&6
7268 echo "$as_me:$LINENO: result: no" >&5
7269 echo "${ECHO_T}no" >&6
7274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7275 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7277 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7278 if test "${enable_bmpbutton+set}" = set; then
7279 enableval
="$enable_bmpbutton"
7281 if test "$enableval" = yes; then
7282 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7284 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7289 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x
; then
7291 eval "DEFAULT_$LINE"
7296 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7300 eval "$ac_cv_use_bmpbutton"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7305 if test "$wxUSE_BMPBUTTON" = yes; then
7306 echo "$as_me:$LINENO: result: yes" >&5
7307 echo "${ECHO_T}yes" >&6
7309 echo "$as_me:$LINENO: result: no" >&5
7310 echo "${ECHO_T}no" >&6
7315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7318 # Check whether --enable-calendar or --disable-calendar was given.
7319 if test "${enable_calendar+set}" = set; then
7320 enableval
="$enable_calendar"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7325 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7330 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x
; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7341 eval "$ac_cv_use_calendar"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7346 if test "$wxUSE_CALCTRL" = yes; then
7347 echo "$as_me:$LINENO: result: yes" >&5
7348 echo "${ECHO_T}yes" >&6
7350 echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6
7356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7357 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7359 # Check whether --enable-caret or --disable-caret was given.
7360 if test "${enable_caret+set}" = set; then
7361 enableval
="$enable_caret"
7363 if test "$enableval" = yes; then
7364 ac_cv_use_caret
='wxUSE_CARET=yes'
7366 ac_cv_use_caret
='wxUSE_CARET=no'
7371 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x
; then
7373 eval "DEFAULT_$LINE"
7378 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7382 eval "$ac_cv_use_caret"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7387 if test "$wxUSE_CARET" = yes; then
7388 echo "$as_me:$LINENO: result: yes" >&5
7389 echo "${ECHO_T}yes" >&6
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7400 # Check whether --enable-checkbox or --disable-checkbox was given.
7401 if test "${enable_checkbox+set}" = set; then
7402 enableval
="$enable_checkbox"
7404 if test "$enableval" = yes; then
7405 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7407 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7412 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x
; then
7414 eval "DEFAULT_$LINE"
7419 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7423 eval "$ac_cv_use_checkbox"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7428 if test "$wxUSE_CHECKBOX" = yes; then
7429 echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6
7432 echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6
7438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7441 # Check whether --enable-checklst or --disable-checklst was given.
7442 if test "${enable_checklst+set}" = set; then
7443 enableval
="$enable_checklst"
7445 if test "$enableval" = yes; then
7446 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7448 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7453 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x
; then
7455 eval "DEFAULT_$LINE"
7460 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7464 eval "$ac_cv_use_checklst"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7469 if test "$wxUSE_CHECKLST" = yes; then
7470 echo "$as_me:$LINENO: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6
7473 echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6
7479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7482 # Check whether --enable-choice or --disable-choice was given.
7483 if test "${enable_choice+set}" = set; then
7484 enableval
="$enable_choice"
7486 if test "$enableval" = yes; then
7487 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7489 ac_cv_use_choice
='wxUSE_CHOICE=no'
7494 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7495 if test "x$LINE" != x
; then
7496 eval "DEFAULT_$LINE"
7501 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7505 eval "$ac_cv_use_choice"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7510 if test "$wxUSE_CHOICE" = yes; then
7511 echo "$as_me:$LINENO: result: yes" >&5
7512 echo "${ECHO_T}yes" >&6
7514 echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6
7520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7523 # Check whether --enable-choicebook or --disable-choicebook was given.
7524 if test "${enable_choicebook+set}" = set; then
7525 enableval
="$enable_choicebook"
7527 if test "$enableval" = yes; then
7528 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7530 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7535 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7536 if test "x$LINE" != x
; then
7537 eval "DEFAULT_$LINE"
7542 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7546 eval "$ac_cv_use_choicebook"
7547 if test "$no_cache" != 1; then
7548 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7551 if test "$wxUSE_CHOICEBOOK" = yes; then
7552 echo "$as_me:$LINENO: result: yes" >&5
7553 echo "${ECHO_T}yes" >&6
7555 echo "$as_me:$LINENO: result: no" >&5
7556 echo "${ECHO_T}no" >&6
7561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7564 # Check whether --enable-combobox or --disable-combobox was given.
7565 if test "${enable_combobox+set}" = set; then
7566 enableval
="$enable_combobox"
7568 if test "$enableval" = yes; then
7569 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7571 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7576 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x
; then
7578 eval "DEFAULT_$LINE"
7583 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7587 eval "$ac_cv_use_combobox"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7592 if test "$wxUSE_COMBOBOX" = yes; then
7593 echo "$as_me:$LINENO: result: yes" >&5
7594 echo "${ECHO_T}yes" >&6
7596 echo "$as_me:$LINENO: result: no" >&5
7597 echo "${ECHO_T}no" >&6
7602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7605 # Check whether --enable-datepick or --disable-datepick was given.
7606 if test "${enable_datepick+set}" = set; then
7607 enableval
="$enable_datepick"
7609 if test "$enableval" = yes; then
7610 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7612 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7617 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x
; then
7619 eval "DEFAULT_$LINE"
7624 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7628 eval "$ac_cv_use_datepick"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7633 if test "$wxUSE_DATEPICKCTRL" = yes; then
7634 echo "$as_me:$LINENO: result: yes" >&5
7635 echo "${ECHO_T}yes" >&6
7637 echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6
7643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7644 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7646 # Check whether --enable-display or --disable-display was given.
7647 if test "${enable_display+set}" = set; then
7648 enableval
="$enable_display"
7650 if test "$enableval" = yes; then
7651 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7653 ac_cv_use_display
='wxUSE_DISPLAY=no'
7658 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x
; then
7660 eval "DEFAULT_$LINE"
7665 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7669 eval "$ac_cv_use_display"
7670 if test "$no_cache" != 1; then
7671 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7674 if test "$wxUSE_DISPLAY" = yes; then
7675 echo "$as_me:$LINENO: result: yes" >&5
7676 echo "${ECHO_T}yes" >&6
7678 echo "$as_me:$LINENO: result: no" >&5
7679 echo "${ECHO_T}no" >&6
7684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7685 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7687 # Check whether --enable-gauge or --disable-gauge was given.
7688 if test "${enable_gauge+set}" = set; then
7689 enableval
="$enable_gauge"
7691 if test "$enableval" = yes; then
7692 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7694 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7699 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x
; then
7701 eval "DEFAULT_$LINE"
7706 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7710 eval "$ac_cv_use_gauge"
7711 if test "$no_cache" != 1; then
7712 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7715 if test "$wxUSE_GAUGE" = yes; then
7716 echo "$as_me:$LINENO: result: yes" >&5
7717 echo "${ECHO_T}yes" >&6
7719 echo "$as_me:$LINENO: result: no" >&5
7720 echo "${ECHO_T}no" >&6
7725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7726 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7728 # Check whether --enable-grid or --disable-grid was given.
7729 if test "${enable_grid+set}" = set; then
7730 enableval
="$enable_grid"
7732 if test "$enableval" = yes; then
7733 ac_cv_use_grid
='wxUSE_GRID=yes'
7735 ac_cv_use_grid
='wxUSE_GRID=no'
7740 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x
; then
7742 eval "DEFAULT_$LINE"
7747 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7751 eval "$ac_cv_use_grid"
7752 if test "$no_cache" != 1; then
7753 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7756 if test "$wxUSE_GRID" = yes; then
7757 echo "$as_me:$LINENO: result: yes" >&5
7758 echo "${ECHO_T}yes" >&6
7760 echo "$as_me:$LINENO: result: no" >&5
7761 echo "${ECHO_T}no" >&6
7766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7769 # Check whether --enable-imaglist or --disable-imaglist was given.
7770 if test "${enable_imaglist+set}" = set; then
7771 enableval
="$enable_imaglist"
7773 if test "$enableval" = yes; then
7774 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7776 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7781 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x
; then
7783 eval "DEFAULT_$LINE"
7788 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7792 eval "$ac_cv_use_imaglist"
7793 if test "$no_cache" != 1; then
7794 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7797 if test "$wxUSE_IMAGLIST" = yes; then
7798 echo "$as_me:$LINENO: result: yes" >&5
7799 echo "${ECHO_T}yes" >&6
7801 echo "$as_me:$LINENO: result: no" >&5
7802 echo "${ECHO_T}no" >&6
7807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7810 # Check whether --enable-listbook or --disable-listbook was given.
7811 if test "${enable_listbook+set}" = set; then
7812 enableval
="$enable_listbook"
7814 if test "$enableval" = yes; then
7815 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7817 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7822 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x
; then
7824 eval "DEFAULT_$LINE"
7829 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7833 eval "$ac_cv_use_listbook"
7834 if test "$no_cache" != 1; then
7835 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7838 if test "$wxUSE_LISTBOOK" = yes; then
7839 echo "$as_me:$LINENO: result: yes" >&5
7840 echo "${ECHO_T}yes" >&6
7842 echo "$as_me:$LINENO: result: no" >&5
7843 echo "${ECHO_T}no" >&6
7848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7849 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7851 # Check whether --enable-listbox or --disable-listbox was given.
7852 if test "${enable_listbox+set}" = set; then
7853 enableval
="$enable_listbox"
7855 if test "$enableval" = yes; then
7856 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7858 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7863 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x
; then
7865 eval "DEFAULT_$LINE"
7870 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7874 eval "$ac_cv_use_listbox"
7875 if test "$no_cache" != 1; then
7876 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7879 if test "$wxUSE_LISTBOX" = yes; then
7880 echo "$as_me:$LINENO: result: yes" >&5
7881 echo "${ECHO_T}yes" >&6
7883 echo "$as_me:$LINENO: result: no" >&5
7884 echo "${ECHO_T}no" >&6
7889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7890 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7892 # Check whether --enable-listctrl or --disable-listctrl was given.
7893 if test "${enable_listctrl+set}" = set; then
7894 enableval
="$enable_listctrl"
7896 if test "$enableval" = yes; then
7897 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7899 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7904 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x
; then
7906 eval "DEFAULT_$LINE"
7911 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7915 eval "$ac_cv_use_listctrl"
7916 if test "$no_cache" != 1; then
7917 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7920 if test "$wxUSE_LISTCTRL" = yes; then
7921 echo "$as_me:$LINENO: result: yes" >&5
7922 echo "${ECHO_T}yes" >&6
7924 echo "$as_me:$LINENO: result: no" >&5
7925 echo "${ECHO_T}no" >&6
7930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7933 # Check whether --enable-notebook or --disable-notebook was given.
7934 if test "${enable_notebook+set}" = set; then
7935 enableval
="$enable_notebook"
7937 if test "$enableval" = yes; then
7938 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7940 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7945 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x
; then
7947 eval "DEFAULT_$LINE"
7952 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7956 eval "$ac_cv_use_notebook"
7957 if test "$no_cache" != 1; then
7958 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7961 if test "$wxUSE_NOTEBOOK" = yes; then
7962 echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7965 echo "$as_me:$LINENO: result: no" >&5
7966 echo "${ECHO_T}no" >&6
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7974 # Check whether --enable-radiobox or --disable-radiobox was given.
7975 if test "${enable_radiobox+set}" = set; then
7976 enableval
="$enable_radiobox"
7978 if test "$enableval" = yes; then
7979 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7981 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7986 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x
; then
7988 eval "DEFAULT_$LINE"
7993 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7997 eval "$ac_cv_use_radiobox"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8002 if test "$wxUSE_RADIOBOX" = yes; then
8003 echo "$as_me:$LINENO: result: yes" >&5
8004 echo "${ECHO_T}yes" >&6
8006 echo "$as_me:$LINENO: result: no" >&5
8007 echo "${ECHO_T}no" >&6
8012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8015 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8016 if test "${enable_radiobtn+set}" = set; then
8017 enableval
="$enable_radiobtn"
8019 if test "$enableval" = yes; then
8020 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8022 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8027 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x
; then
8029 eval "DEFAULT_$LINE"
8034 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8038 eval "$ac_cv_use_radiobtn"
8039 if test "$no_cache" != 1; then
8040 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8043 if test "$wxUSE_RADIOBTN" = yes; then
8044 echo "$as_me:$LINENO: result: yes" >&5
8045 echo "${ECHO_T}yes" >&6
8047 echo "$as_me:$LINENO: result: no" >&5
8048 echo "${ECHO_T}no" >&6
8053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8056 # Check whether --enable-sash or --disable-sash was given.
8057 if test "${enable_sash+set}" = set; then
8058 enableval
="$enable_sash"
8060 if test "$enableval" = yes; then
8061 ac_cv_use_sash
='wxUSE_SASH=yes'
8063 ac_cv_use_sash
='wxUSE_SASH=no'
8068 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x
; then
8070 eval "DEFAULT_$LINE"
8075 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8079 eval "$ac_cv_use_sash"
8080 if test "$no_cache" != 1; then
8081 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8084 if test "$wxUSE_SASH" = yes; then
8085 echo "$as_me:$LINENO: result: yes" >&5
8086 echo "${ECHO_T}yes" >&6
8088 echo "$as_me:$LINENO: result: no" >&5
8089 echo "${ECHO_T}no" >&6
8094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8097 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8098 if test "${enable_scrollbar+set}" = set; then
8099 enableval
="$enable_scrollbar"
8101 if test "$enableval" = yes; then
8102 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8104 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8109 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x
; then
8111 eval "DEFAULT_$LINE"
8116 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8120 eval "$ac_cv_use_scrollbar"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8125 if test "$wxUSE_SCROLLBAR" = yes; then
8126 echo "$as_me:$LINENO: result: yes" >&5
8127 echo "${ECHO_T}yes" >&6
8129 echo "$as_me:$LINENO: result: no" >&5
8130 echo "${ECHO_T}no" >&6
8135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8138 # Check whether --enable-slider or --disable-slider was given.
8139 if test "${enable_slider+set}" = set; then
8140 enableval
="$enable_slider"
8142 if test "$enableval" = yes; then
8143 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8145 ac_cv_use_slider
='wxUSE_SLIDER=no'
8150 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x
; then
8152 eval "DEFAULT_$LINE"
8157 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8161 eval "$ac_cv_use_slider"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8166 if test "$wxUSE_SLIDER" = yes; then
8167 echo "$as_me:$LINENO: result: yes" >&5
8168 echo "${ECHO_T}yes" >&6
8170 echo "$as_me:$LINENO: result: no" >&5
8171 echo "${ECHO_T}no" >&6
8176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8177 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8179 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8180 if test "${enable_spinbtn+set}" = set; then
8181 enableval
="$enable_spinbtn"
8183 if test "$enableval" = yes; then
8184 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8186 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8191 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x
; then
8193 eval "DEFAULT_$LINE"
8198 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8202 eval "$ac_cv_use_spinbtn"
8203 if test "$no_cache" != 1; then
8204 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8207 if test "$wxUSE_SPINBTN" = yes; then
8208 echo "$as_me:$LINENO: result: yes" >&5
8209 echo "${ECHO_T}yes" >&6
8211 echo "$as_me:$LINENO: result: no" >&5
8212 echo "${ECHO_T}no" >&6
8217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8218 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8220 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8221 if test "${enable_spinctrl+set}" = set; then
8222 enableval
="$enable_spinctrl"
8224 if test "$enableval" = yes; then
8225 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8227 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8232 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x
; then
8234 eval "DEFAULT_$LINE"
8239 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8243 eval "$ac_cv_use_spinctrl"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8248 if test "$wxUSE_SPINCTRL" = yes; then
8249 echo "$as_me:$LINENO: result: yes" >&5
8250 echo "${ECHO_T}yes" >&6
8252 echo "$as_me:$LINENO: result: no" >&5
8253 echo "${ECHO_T}no" >&6
8258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8261 # Check whether --enable-splitter or --disable-splitter was given.
8262 if test "${enable_splitter+set}" = set; then
8263 enableval
="$enable_splitter"
8265 if test "$enableval" = yes; then
8266 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8268 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8273 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x
; then
8275 eval "DEFAULT_$LINE"
8280 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8284 eval "$ac_cv_use_splitter"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8289 if test "$wxUSE_SPLITTER" = yes; then
8290 echo "$as_me:$LINENO: result: yes" >&5
8291 echo "${ECHO_T}yes" >&6
8293 echo "$as_me:$LINENO: result: no" >&5
8294 echo "${ECHO_T}no" >&6
8299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8300 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8302 # Check whether --enable-statbmp or --disable-statbmp was given.
8303 if test "${enable_statbmp+set}" = set; then
8304 enableval
="$enable_statbmp"
8306 if test "$enableval" = yes; then
8307 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8309 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8314 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x
; then
8316 eval "DEFAULT_$LINE"
8321 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8325 eval "$ac_cv_use_statbmp"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8330 if test "$wxUSE_STATBMP" = yes; then
8331 echo "$as_me:$LINENO: result: yes" >&5
8332 echo "${ECHO_T}yes" >&6
8334 echo "$as_me:$LINENO: result: no" >&5
8335 echo "${ECHO_T}no" >&6
8340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8343 # Check whether --enable-statbox or --disable-statbox was given.
8344 if test "${enable_statbox+set}" = set; then
8345 enableval
="$enable_statbox"
8347 if test "$enableval" = yes; then
8348 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8350 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8355 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x
; then
8357 eval "DEFAULT_$LINE"
8362 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8366 eval "$ac_cv_use_statbox"
8367 if test "$no_cache" != 1; then
8368 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8371 if test "$wxUSE_STATBOX" = yes; then
8372 echo "$as_me:$LINENO: result: yes" >&5
8373 echo "${ECHO_T}yes" >&6
8375 echo "$as_me:$LINENO: result: no" >&5
8376 echo "${ECHO_T}no" >&6
8381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8382 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8384 # Check whether --enable-statline or --disable-statline was given.
8385 if test "${enable_statline+set}" = set; then
8386 enableval
="$enable_statline"
8388 if test "$enableval" = yes; then
8389 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8391 ac_cv_use_statline
='wxUSE_STATLINE=no'
8396 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8397 if test "x$LINE" != x
; then
8398 eval "DEFAULT_$LINE"
8403 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8407 eval "$ac_cv_use_statline"
8408 if test "$no_cache" != 1; then
8409 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8412 if test "$wxUSE_STATLINE" = yes; then
8413 echo "$as_me:$LINENO: result: yes" >&5
8414 echo "${ECHO_T}yes" >&6
8416 echo "$as_me:$LINENO: result: no" >&5
8417 echo "${ECHO_T}no" >&6
8422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8425 # Check whether --enable-stattext or --disable-stattext was given.
8426 if test "${enable_stattext+set}" = set; then
8427 enableval
="$enable_stattext"
8429 if test "$enableval" = yes; then
8430 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8432 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8437 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8438 if test "x$LINE" != x
; then
8439 eval "DEFAULT_$LINE"
8444 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8448 eval "$ac_cv_use_stattext"
8449 if test "$no_cache" != 1; then
8450 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8453 if test "$wxUSE_STATTEXT" = yes; then
8454 echo "$as_me:$LINENO: result: yes" >&5
8455 echo "${ECHO_T}yes" >&6
8457 echo "$as_me:$LINENO: result: no" >&5
8458 echo "${ECHO_T}no" >&6
8463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8464 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8466 # Check whether --enable-statusbar or --disable-statusbar was given.
8467 if test "${enable_statusbar+set}" = set; then
8468 enableval
="$enable_statusbar"
8470 if test "$enableval" = yes; then
8471 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8473 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8478 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8479 if test "x$LINE" != x
; then
8480 eval "DEFAULT_$LINE"
8485 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8489 eval "$ac_cv_use_statusbar"
8490 if test "$no_cache" != 1; then
8491 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8494 if test "$wxUSE_STATUSBAR" = yes; then
8495 echo "$as_me:$LINENO: result: yes" >&5
8496 echo "${ECHO_T}yes" >&6
8498 echo "$as_me:$LINENO: result: no" >&5
8499 echo "${ECHO_T}no" >&6
8504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8505 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8507 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8508 if test "${enable_tabdialog+set}" = set; then
8509 enableval
="$enable_tabdialog"
8511 if test "$enableval" = yes; then
8512 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8514 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8519 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8520 if test "x$LINE" != x
; then
8521 eval "DEFAULT_$LINE"
8526 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8530 eval "$ac_cv_use_tabdialog"
8531 if test "$no_cache" != 1; then
8532 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8535 if test "$wxUSE_TABDIALOG" = yes; then
8536 echo "$as_me:$LINENO: result: yes" >&5
8537 echo "${ECHO_T}yes" >&6
8539 echo "$as_me:$LINENO: result: no" >&5
8540 echo "${ECHO_T}no" >&6
8545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8548 # Check whether --enable-textctrl or --disable-textctrl was given.
8549 if test "${enable_textctrl+set}" = set; then
8550 enableval
="$enable_textctrl"
8552 if test "$enableval" = yes; then
8553 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8555 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8560 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x
; then
8562 eval "DEFAULT_$LINE"
8567 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8571 eval "$ac_cv_use_textctrl"
8572 if test "$no_cache" != 1; then
8573 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8576 if test "$wxUSE_TEXTCTRL" = yes; then
8577 echo "$as_me:$LINENO: result: yes" >&5
8578 echo "${ECHO_T}yes" >&6
8580 echo "$as_me:$LINENO: result: no" >&5
8581 echo "${ECHO_T}no" >&6
8586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8589 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8590 if test "${enable_togglebtn+set}" = set; then
8591 enableval
="$enable_togglebtn"
8593 if test "$enableval" = yes; then
8594 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8596 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8601 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x
; then
8603 eval "DEFAULT_$LINE"
8608 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8612 eval "$ac_cv_use_togglebtn"
8613 if test "$no_cache" != 1; then
8614 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8617 if test "$wxUSE_TOGGLEBTN" = yes; then
8618 echo "$as_me:$LINENO: result: yes" >&5
8619 echo "${ECHO_T}yes" >&6
8621 echo "$as_me:$LINENO: result: no" >&5
8622 echo "${ECHO_T}no" >&6
8627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8630 # Check whether --enable-toolbar or --disable-toolbar was given.
8631 if test "${enable_toolbar+set}" = set; then
8632 enableval
="$enable_toolbar"
8634 if test "$enableval" = yes; then
8635 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8637 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8642 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8643 if test "x$LINE" != x
; then
8644 eval "DEFAULT_$LINE"
8649 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8653 eval "$ac_cv_use_toolbar"
8654 if test "$no_cache" != 1; then
8655 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8658 if test "$wxUSE_TOOLBAR" = yes; then
8659 echo "$as_me:$LINENO: result: yes" >&5
8660 echo "${ECHO_T}yes" >&6
8662 echo "$as_me:$LINENO: result: no" >&5
8663 echo "${ECHO_T}no" >&6
8668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8669 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8671 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8672 if test "${enable_tbarnative+set}" = set; then
8673 enableval
="$enable_tbarnative"
8675 if test "$enableval" = yes; then
8676 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8678 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8683 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8684 if test "x$LINE" != x
; then
8685 eval "DEFAULT_$LINE"
8690 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8694 eval "$ac_cv_use_tbarnative"
8695 if test "$no_cache" != 1; then
8696 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8699 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8700 echo "$as_me:$LINENO: result: yes" >&5
8701 echo "${ECHO_T}yes" >&6
8703 echo "$as_me:$LINENO: result: no" >&5
8704 echo "${ECHO_T}no" >&6
8709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8712 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8713 if test "${enable_tbarsmpl+set}" = set; then
8714 enableval
="$enable_tbarsmpl"
8716 if test "$enableval" = yes; then
8717 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8719 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8724 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8725 if test "x$LINE" != x
; then
8726 eval "DEFAULT_$LINE"
8731 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8735 eval "$ac_cv_use_tbarsmpl"
8736 if test "$no_cache" != 1; then
8737 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8740 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8741 echo "$as_me:$LINENO: result: yes" >&5
8742 echo "${ECHO_T}yes" >&6
8744 echo "$as_me:$LINENO: result: no" >&5
8745 echo "${ECHO_T}no" >&6
8750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8753 # Check whether --enable-treectrl or --disable-treectrl was given.
8754 if test "${enable_treectrl+set}" = set; then
8755 enableval
="$enable_treectrl"
8757 if test "$enableval" = yes; then
8758 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8760 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8765 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8766 if test "x$LINE" != x
; then
8767 eval "DEFAULT_$LINE"
8772 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8776 eval "$ac_cv_use_treectrl"
8777 if test "$no_cache" != 1; then
8778 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8781 if test "$wxUSE_TREECTRL" = yes; then
8782 echo "$as_me:$LINENO: result: yes" >&5
8783 echo "${ECHO_T}yes" >&6
8785 echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6
8791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8792 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8794 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8795 if test "${enable_tipwindow+set}" = set; then
8796 enableval
="$enable_tipwindow"
8798 if test "$enableval" = yes; then
8799 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8801 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8806 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8807 if test "x$LINE" != x
; then
8808 eval "DEFAULT_$LINE"
8813 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8817 eval "$ac_cv_use_tipwindow"
8818 if test "$no_cache" != 1; then
8819 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8822 if test "$wxUSE_TIPWINDOW" = yes; then
8823 echo "$as_me:$LINENO: result: yes" >&5
8824 echo "${ECHO_T}yes" >&6
8826 echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6
8832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8833 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8835 # Check whether --enable-popupwin or --disable-popupwin was given.
8836 if test "${enable_popupwin+set}" = set; then
8837 enableval
="$enable_popupwin"
8839 if test "$enableval" = yes; then
8840 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8842 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8847 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8848 if test "x$LINE" != x
; then
8849 eval "DEFAULT_$LINE"
8854 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8858 eval "$ac_cv_use_popupwin"
8859 if test "$no_cache" != 1; then
8860 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8863 if test "$wxUSE_POPUPWIN" = yes; then
8864 echo "$as_me:$LINENO: result: yes" >&5
8865 echo "${ECHO_T}yes" >&6
8867 echo "$as_me:$LINENO: result: no" >&5
8868 echo "${ECHO_T}no" >&6
8875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8878 # Check whether --enable-commondlg or --disable-commondlg was given.
8879 if test "${enable_commondlg+set}" = set; then
8880 enableval
="$enable_commondlg"
8882 if test "$enableval" = yes; then
8883 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8885 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8890 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x
; then
8892 eval "DEFAULT_$LINE"
8897 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8901 eval "$ac_cv_use_commondlg"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8906 if test "$wxUSE_COMMONDLGS" = yes; then
8907 echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6
8910 echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6
8916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8919 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8920 if test "${enable_choicedlg+set}" = set; then
8921 enableval
="$enable_choicedlg"
8923 if test "$enableval" = yes; then
8924 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8926 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8931 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x
; then
8933 eval "DEFAULT_$LINE"
8938 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8942 eval "$ac_cv_use_choicedlg"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8947 if test "$wxUSE_CHOICEDLG" = yes; then
8948 echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6
8951 echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6
8957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8958 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8960 # Check whether --enable-coldlg or --disable-coldlg was given.
8961 if test "${enable_coldlg+set}" = set; then
8962 enableval
="$enable_coldlg"
8964 if test "$enableval" = yes; then
8965 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8967 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8972 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x
; then
8974 eval "DEFAULT_$LINE"
8979 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8983 eval "$ac_cv_use_coldlg"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8988 if test "$wxUSE_COLOURDLG" = yes; then
8989 echo "$as_me:$LINENO: result: yes" >&5
8990 echo "${ECHO_T}yes" >&6
8992 echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6
8998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8999 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9001 # Check whether --enable-filedlg or --disable-filedlg was given.
9002 if test "${enable_filedlg+set}" = set; then
9003 enableval
="$enable_filedlg"
9005 if test "$enableval" = yes; then
9006 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9008 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9013 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x
; then
9015 eval "DEFAULT_$LINE"
9020 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9024 eval "$ac_cv_use_filedlg"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9029 if test "$wxUSE_FILEDLG" = yes; then
9030 echo "$as_me:$LINENO: result: yes" >&5
9031 echo "${ECHO_T}yes" >&6
9033 echo "$as_me:$LINENO: result: no" >&5
9034 echo "${ECHO_T}no" >&6
9039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9042 # Check whether --enable-finddlg or --disable-finddlg was given.
9043 if test "${enable_finddlg+set}" = set; then
9044 enableval
="$enable_finddlg"
9046 if test "$enableval" = yes; then
9047 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9049 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9054 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x
; then
9056 eval "DEFAULT_$LINE"
9061 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9065 eval "$ac_cv_use_finddlg"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9070 if test "$wxUSE_FINDREPLDLG" = yes; then
9071 echo "$as_me:$LINENO: result: yes" >&5
9072 echo "${ECHO_T}yes" >&6
9074 echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6
9080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9083 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9084 if test "${enable_fontdlg+set}" = set; then
9085 enableval
="$enable_fontdlg"
9087 if test "$enableval" = yes; then
9088 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9090 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9095 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x
; then
9097 eval "DEFAULT_$LINE"
9102 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9106 eval "$ac_cv_use_fontdlg"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9111 if test "$wxUSE_FONTDLG" = yes; then
9112 echo "$as_me:$LINENO: result: yes" >&5
9113 echo "${ECHO_T}yes" >&6
9115 echo "$as_me:$LINENO: result: no" >&5
9116 echo "${ECHO_T}no" >&6
9121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9124 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9125 if test "${enable_dirdlg+set}" = set; then
9126 enableval
="$enable_dirdlg"
9128 if test "$enableval" = yes; then
9129 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9131 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9136 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9137 if test "x$LINE" != x
; then
9138 eval "DEFAULT_$LINE"
9143 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9147 eval "$ac_cv_use_dirdlg"
9148 if test "$no_cache" != 1; then
9149 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9152 if test "$wxUSE_DIRDLG" = yes; then
9153 echo "$as_me:$LINENO: result: yes" >&5
9154 echo "${ECHO_T}yes" >&6
9156 echo "$as_me:$LINENO: result: no" >&5
9157 echo "${ECHO_T}no" >&6
9162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9165 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9166 if test "${enable_msgdlg+set}" = set; then
9167 enableval
="$enable_msgdlg"
9169 if test "$enableval" = yes; then
9170 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9172 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9177 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x
; then
9179 eval "DEFAULT_$LINE"
9184 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9188 eval "$ac_cv_use_msgdlg"
9189 if test "$no_cache" != 1; then
9190 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9193 if test "$wxUSE_MSGDLG" = yes; then
9194 echo "$as_me:$LINENO: result: yes" >&5
9195 echo "${ECHO_T}yes" >&6
9197 echo "$as_me:$LINENO: result: no" >&5
9198 echo "${ECHO_T}no" >&6
9203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9206 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9207 if test "${enable_numberdlg+set}" = set; then
9208 enableval
="$enable_numberdlg"
9210 if test "$enableval" = yes; then
9211 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9213 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9218 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x
; then
9220 eval "DEFAULT_$LINE"
9225 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9229 eval "$ac_cv_use_numberdlg"
9230 if test "$no_cache" != 1; then
9231 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9234 if test "$wxUSE_NUMBERDLG" = yes; then
9235 echo "$as_me:$LINENO: result: yes" >&5
9236 echo "${ECHO_T}yes" >&6
9238 echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6
9244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9247 # Check whether --enable-splash or --disable-splash was given.
9248 if test "${enable_splash+set}" = set; then
9249 enableval
="$enable_splash"
9251 if test "$enableval" = yes; then
9252 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9254 ac_cv_use_splash
='wxUSE_SPLASH=no'
9259 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9260 if test "x$LINE" != x
; then
9261 eval "DEFAULT_$LINE"
9266 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9270 eval "$ac_cv_use_splash"
9271 if test "$no_cache" != 1; then
9272 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9275 if test "$wxUSE_SPLASH" = yes; then
9276 echo "$as_me:$LINENO: result: yes" >&5
9277 echo "${ECHO_T}yes" >&6
9279 echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6
9285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9288 # Check whether --enable-textdlg or --disable-textdlg was given.
9289 if test "${enable_textdlg+set}" = set; then
9290 enableval
="$enable_textdlg"
9292 if test "$enableval" = yes; then
9293 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9295 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9300 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x
; then
9302 eval "DEFAULT_$LINE"
9307 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9311 eval "$ac_cv_use_textdlg"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9316 if test "$wxUSE_TEXTDLG" = yes; then
9317 echo "$as_me:$LINENO: result: yes" >&5
9318 echo "${ECHO_T}yes" >&6
9320 echo "$as_me:$LINENO: result: no" >&5
9321 echo "${ECHO_T}no" >&6
9326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9329 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9330 if test "${enable_tipdlg+set}" = set; then
9331 enableval
="$enable_tipdlg"
9333 if test "$enableval" = yes; then
9334 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9336 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9341 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x
; then
9343 eval "DEFAULT_$LINE"
9348 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9352 eval "$ac_cv_use_tipdlg"
9353 if test "$no_cache" != 1; then
9354 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9357 if test "$wxUSE_STARTUP_TIPS" = yes; then
9358 echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6
9361 echo "$as_me:$LINENO: result: no" >&5
9362 echo "${ECHO_T}no" >&6
9367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9370 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9371 if test "${enable_progressdlg+set}" = set; then
9372 enableval
="$enable_progressdlg"
9374 if test "$enableval" = yes; then
9375 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9377 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9382 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x
; then
9384 eval "DEFAULT_$LINE"
9389 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9393 eval "$ac_cv_use_progressdlg"
9394 if test "$no_cache" != 1; then
9395 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9398 if test "$wxUSE_PROGRESSDLG" = yes; then
9399 echo "$as_me:$LINENO: result: yes" >&5
9400 echo "${ECHO_T}yes" >&6
9402 echo "$as_me:$LINENO: result: no" >&5
9403 echo "${ECHO_T}no" >&6
9408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9411 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9412 if test "${enable_wizarddlg+set}" = set; then
9413 enableval
="$enable_wizarddlg"
9415 if test "$enableval" = yes; then
9416 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9418 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9423 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x
; then
9425 eval "DEFAULT_$LINE"
9430 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9434 eval "$ac_cv_use_wizarddlg"
9435 if test "$no_cache" != 1; then
9436 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9439 if test "$wxUSE_WIZARDDLG" = yes; then
9440 echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6
9443 echo "$as_me:$LINENO: result: no" >&5
9444 echo "${ECHO_T}no" >&6
9451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9452 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9454 # Check whether --enable-menus or --disable-menus was given.
9455 if test "${enable_menus+set}" = set; then
9456 enableval
="$enable_menus"
9458 if test "$enableval" = yes; then
9459 ac_cv_use_menus
='wxUSE_MENUS=yes'
9461 ac_cv_use_menus
='wxUSE_MENUS=no'
9466 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9467 if test "x$LINE" != x
; then
9468 eval "DEFAULT_$LINE"
9473 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9477 eval "$ac_cv_use_menus"
9478 if test "$no_cache" != 1; then
9479 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9482 if test "$wxUSE_MENUS" = yes; then
9483 echo "$as_me:$LINENO: result: yes" >&5
9484 echo "${ECHO_T}yes" >&6
9486 echo "$as_me:$LINENO: result: no" >&5
9487 echo "${ECHO_T}no" >&6
9492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9495 # Check whether --enable-miniframe or --disable-miniframe was given.
9496 if test "${enable_miniframe+set}" = set; then
9497 enableval
="$enable_miniframe"
9499 if test "$enableval" = yes; then
9500 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9502 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9507 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x
; then
9509 eval "DEFAULT_$LINE"
9514 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9518 eval "$ac_cv_use_miniframe"
9519 if test "$no_cache" != 1; then
9520 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9523 if test "$wxUSE_MINIFRAME" = yes; then
9524 echo "$as_me:$LINENO: result: yes" >&5
9525 echo "${ECHO_T}yes" >&6
9527 echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6
9533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9536 # Check whether --enable-tooltips or --disable-tooltips was given.
9537 if test "${enable_tooltips+set}" = set; then
9538 enableval
="$enable_tooltips"
9540 if test "$enableval" = yes; then
9541 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9543 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9548 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9549 if test "x$LINE" != x
; then
9550 eval "DEFAULT_$LINE"
9555 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9559 eval "$ac_cv_use_tooltips"
9560 if test "$no_cache" != 1; then
9561 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9564 if test "$wxUSE_TOOLTIPS" = yes; then
9565 echo "$as_me:$LINENO: result: yes" >&5
9566 echo "${ECHO_T}yes" >&6
9568 echo "$as_me:$LINENO: result: no" >&5
9569 echo "${ECHO_T}no" >&6
9574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9575 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9577 # Check whether --enable-splines or --disable-splines was given.
9578 if test "${enable_splines+set}" = set; then
9579 enableval
="$enable_splines"
9581 if test "$enableval" = yes; then
9582 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9584 ac_cv_use_splines
='wxUSE_SPLINES=no'
9589 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9590 if test "x$LINE" != x
; then
9591 eval "DEFAULT_$LINE"
9596 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9600 eval "$ac_cv_use_splines"
9601 if test "$no_cache" != 1; then
9602 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9605 if test "$wxUSE_SPLINES" = yes; then
9606 echo "$as_me:$LINENO: result: yes" >&5
9607 echo "${ECHO_T}yes" >&6
9609 echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6
9615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9616 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9618 # Check whether --enable-validators or --disable-validators was given.
9619 if test "${enable_validators+set}" = set; then
9620 enableval
="$enable_validators"
9622 if test "$enableval" = yes; then
9623 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9625 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9630 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9631 if test "x$LINE" != x
; then
9632 eval "DEFAULT_$LINE"
9637 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9641 eval "$ac_cv_use_validators"
9642 if test "$no_cache" != 1; then
9643 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9646 if test "$wxUSE_VALIDATORS" = yes; then
9647 echo "$as_me:$LINENO: result: yes" >&5
9648 echo "${ECHO_T}yes" >&6
9650 echo "$as_me:$LINENO: result: no" >&5
9651 echo "${ECHO_T}no" >&6
9656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9657 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9659 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9660 if test "${enable_busyinfo+set}" = set; then
9661 enableval
="$enable_busyinfo"
9663 if test "$enableval" = yes; then
9664 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9666 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9671 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x
; then
9673 eval "DEFAULT_$LINE"
9678 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9682 eval "$ac_cv_use_busyinfo"
9683 if test "$no_cache" != 1; then
9684 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9687 if test "$wxUSE_BUSYINFO" = yes; then
9688 echo "$as_me:$LINENO: result: yes" >&5
9689 echo "${ECHO_T}yes" >&6
9691 echo "$as_me:$LINENO: result: no" >&5
9692 echo "${ECHO_T}no" >&6
9697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9700 # Check whether --enable-joystick or --disable-joystick was given.
9701 if test "${enable_joystick+set}" = set; then
9702 enableval
="$enable_joystick"
9704 if test "$enableval" = yes; then
9705 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9707 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9712 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9713 if test "x$LINE" != x
; then
9714 eval "DEFAULT_$LINE"
9719 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9723 eval "$ac_cv_use_joystick"
9724 if test "$no_cache" != 1; then
9725 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9728 if test "$wxUSE_JOYSTICK" = yes; then
9729 echo "$as_me:$LINENO: result: yes" >&5
9730 echo "${ECHO_T}yes" >&6
9732 echo "$as_me:$LINENO: result: no" >&5
9733 echo "${ECHO_T}no" >&6
9738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9741 # Check whether --enable-metafile or --disable-metafile was given.
9742 if test "${enable_metafile+set}" = set; then
9743 enableval
="$enable_metafile"
9745 if test "$enableval" = yes; then
9746 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9748 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9753 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9754 if test "x$LINE" != x
; then
9755 eval "DEFAULT_$LINE"
9760 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9764 eval "$ac_cv_use_metafile"
9765 if test "$no_cache" != 1; then
9766 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9769 if test "$wxUSE_METAFILE" = yes; then
9770 echo "$as_me:$LINENO: result: yes" >&5
9771 echo "${ECHO_T}yes" >&6
9773 echo "$as_me:$LINENO: result: no" >&5
9774 echo "${ECHO_T}no" >&6
9779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9782 # Check whether --enable-dragimage or --disable-dragimage was given.
9783 if test "${enable_dragimage+set}" = set; then
9784 enableval
="$enable_dragimage"
9786 if test "$enableval" = yes; then
9787 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9789 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9794 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x
; then
9796 eval "DEFAULT_$LINE"
9801 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9805 eval "$ac_cv_use_dragimage"
9806 if test "$no_cache" != 1; then
9807 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9810 if test "$wxUSE_DRAGIMAGE" = yes; then
9811 echo "$as_me:$LINENO: result: yes" >&5
9812 echo "${ECHO_T}yes" >&6
9814 echo "$as_me:$LINENO: result: no" >&5
9815 echo "${ECHO_T}no" >&6
9820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9823 # Check whether --enable-accessibility or --disable-accessibility was given.
9824 if test "${enable_accessibility+set}" = set; then
9825 enableval
="$enable_accessibility"
9827 if test "$enableval" = yes; then
9828 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9830 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9835 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9836 if test "x$LINE" != x
; then
9837 eval "DEFAULT_$LINE"
9842 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9846 eval "$ac_cv_use_accessibility"
9847 if test "$no_cache" != 1; then
9848 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9851 if test "$wxUSE_ACCESSIBILITY" = yes; then
9852 echo "$as_me:$LINENO: result: yes" >&5
9853 echo "${ECHO_T}yes" >&6
9855 echo "$as_me:$LINENO: result: no" >&5
9856 echo "${ECHO_T}no" >&6
9863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9864 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9866 # Check whether --enable-palette or --disable-palette was given.
9867 if test "${enable_palette+set}" = set; then
9868 enableval
="$enable_palette"
9870 if test "$enableval" = yes; then
9871 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9873 ac_cv_use_palette
='wxUSE_PALETTE=no'
9878 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x
; then
9880 eval "DEFAULT_$LINE"
9885 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9889 eval "$ac_cv_use_palette"
9890 if test "$no_cache" != 1; then
9891 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9894 if test "$wxUSE_PALETTE" = yes; then
9895 echo "$as_me:$LINENO: result: yes" >&5
9896 echo "${ECHO_T}yes" >&6
9898 echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6
9904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9905 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9907 # Check whether --enable-image or --disable-image was given.
9908 if test "${enable_image+set}" = set; then
9909 enableval
="$enable_image"
9911 if test "$enableval" = yes; then
9912 ac_cv_use_image
='wxUSE_IMAGE=yes'
9914 ac_cv_use_image
='wxUSE_IMAGE=no'
9919 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x
; then
9921 eval "DEFAULT_$LINE"
9926 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9930 eval "$ac_cv_use_image"
9931 if test "$no_cache" != 1; then
9932 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9935 if test "$wxUSE_IMAGE" = yes; then
9936 echo "$as_me:$LINENO: result: yes" >&5
9937 echo "${ECHO_T}yes" >&6
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9946 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9948 # Check whether --enable-gif or --disable-gif was given.
9949 if test "${enable_gif+set}" = set; then
9950 enableval
="$enable_gif"
9952 if test "$enableval" = yes; then
9953 ac_cv_use_gif
='wxUSE_GIF=yes'
9955 ac_cv_use_gif
='wxUSE_GIF=no'
9960 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x
; then
9962 eval "DEFAULT_$LINE"
9967 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9971 eval "$ac_cv_use_gif"
9972 if test "$no_cache" != 1; then
9973 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9976 if test "$wxUSE_GIF" = yes; then
9977 echo "$as_me:$LINENO: result: yes" >&5
9978 echo "${ECHO_T}yes" >&6
9980 echo "$as_me:$LINENO: result: no" >&5
9981 echo "${ECHO_T}no" >&6
9986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9989 # Check whether --enable-pcx or --disable-pcx was given.
9990 if test "${enable_pcx+set}" = set; then
9991 enableval
="$enable_pcx"
9993 if test "$enableval" = yes; then
9994 ac_cv_use_pcx
='wxUSE_PCX=yes'
9996 ac_cv_use_pcx
='wxUSE_PCX=no'
10001 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x
; then
10003 eval "DEFAULT_$LINE"
10008 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10012 eval "$ac_cv_use_pcx"
10013 if test "$no_cache" != 1; then
10014 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10017 if test "$wxUSE_PCX" = yes; then
10018 echo "$as_me:$LINENO: result: yes" >&5
10019 echo "${ECHO_T}yes" >&6
10021 echo "$as_me:$LINENO: result: no" >&5
10022 echo "${ECHO_T}no" >&6
10027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10030 # Check whether --enable-iff or --disable-iff was given.
10031 if test "${enable_iff+set}" = set; then
10032 enableval
="$enable_iff"
10034 if test "$enableval" = yes; then
10035 ac_cv_use_iff
='wxUSE_IFF=yes'
10037 ac_cv_use_iff
='wxUSE_IFF=no'
10042 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x
; then
10044 eval "DEFAULT_$LINE"
10049 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10053 eval "$ac_cv_use_iff"
10054 if test "$no_cache" != 1; then
10055 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10058 if test "$wxUSE_IFF" = yes; then
10059 echo "$as_me:$LINENO: result: yes" >&5
10060 echo "${ECHO_T}yes" >&6
10062 echo "$as_me:$LINENO: result: no" >&5
10063 echo "${ECHO_T}no" >&6
10068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10071 # Check whether --enable-pnm or --disable-pnm was given.
10072 if test "${enable_pnm+set}" = set; then
10073 enableval
="$enable_pnm"
10075 if test "$enableval" = yes; then
10076 ac_cv_use_pnm
='wxUSE_PNM=yes'
10078 ac_cv_use_pnm
='wxUSE_PNM=no'
10083 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x
; then
10085 eval "DEFAULT_$LINE"
10090 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10094 eval "$ac_cv_use_pnm"
10095 if test "$no_cache" != 1; then
10096 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10099 if test "$wxUSE_PNM" = yes; then
10100 echo "$as_me:$LINENO: result: yes" >&5
10101 echo "${ECHO_T}yes" >&6
10103 echo "$as_me:$LINENO: result: no" >&5
10104 echo "${ECHO_T}no" >&6
10109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10112 # Check whether --enable-xpm or --disable-xpm was given.
10113 if test "${enable_xpm+set}" = set; then
10114 enableval
="$enable_xpm"
10116 if test "$enableval" = yes; then
10117 ac_cv_use_xpm
='wxUSE_XPM=yes'
10119 ac_cv_use_xpm
='wxUSE_XPM=no'
10124 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x
; then
10126 eval "DEFAULT_$LINE"
10131 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10135 eval "$ac_cv_use_xpm"
10136 if test "$no_cache" != 1; then
10137 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10140 if test "$wxUSE_XPM" = yes; then
10141 echo "$as_me:$LINENO: result: yes" >&5
10142 echo "${ECHO_T}yes" >&6
10144 echo "$as_me:$LINENO: result: no" >&5
10145 echo "${ECHO_T}no" >&6
10150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10153 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10154 if test "${enable_ico_cur+set}" = set; then
10155 enableval
="$enable_ico_cur"
10157 if test "$enableval" = yes; then
10158 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10160 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10165 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x
; then
10167 eval "DEFAULT_$LINE"
10172 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10176 eval "$ac_cv_use_ico_cur"
10177 if test "$no_cache" != 1; then
10178 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10181 if test "$wxUSE_ICO_CUR" = yes; then
10182 echo "$as_me:$LINENO: result: yes" >&5
10183 echo "${ECHO_T}yes" >&6
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10194 # Check whether --with-flavour or --without-flavour was given.
10195 if test "${with_flavour+set}" = set; then
10196 withval
="$with_flavour"
10197 WX_FLAVOUR
="$withval"
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10206 # Check whether --enable-official_build or --disable-official_build was given.
10207 if test "${enable_official_build+set}" = set; then
10208 enableval
="$enable_official_build"
10210 if test "$enableval" = yes; then
10211 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10213 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10218 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x
; then
10220 eval "DEFAULT_$LINE"
10225 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10229 eval "$ac_cv_use_official_build"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10234 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10242 # Check whether --enable-vendor or --disable-vendor was given.
10243 if test "${enable_vendor+set}" = set; then
10244 enableval
="$enable_vendor"
10245 VENDOR
="$enableval"
10247 if test "x$VENDOR" = "x"; then
10254 echo "saving argument cache $wx_arg_cache_file"
10255 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10259 echo "$as_me:$LINENO: checking for toolkit" >&5
10260 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10262 # In Wine, we need to default to MSW, not GTK or MOTIF
10263 if test "$wxUSE_WINE" = "yes"; then
10264 DEFAULT_DEFAULT_wxUSE_GTK
=0
10265 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10266 DEFAULT_DEFAULT_wxUSE_MSW
=1
10270 if test "$wxUSE_GUI" = "yes"; then
10272 if test "$USE_BEOS" = 1; then
10273 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10274 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10275 { (exit 1); exit 1; }; }
10278 if test "$TOOLKIT_GIVEN" = 1; then
10279 for toolkit
in `echo $ALL_TOOLKITS`; do
10281 eval "value=\$${var}"
10282 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10285 for toolkit
in `echo $ALL_TOOLKITS`; do
10286 if test "$has_toolkit_in_cache" != 1; then
10287 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10289 var
=DEFAULT_wxUSE_
$toolkit
10291 eval "wxUSE_$toolkit=\$${var}"
10295 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10296 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10297 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10300 *-pc-os2_emx | *-pc-os2-emx )
10301 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10304 case "$NUM_TOOLKITS" in
10308 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10309 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10310 { (exit 1); exit 1; }; }
10313 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10314 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10315 { (exit 1); exit 1; }; }
10318 for toolkit
in `echo $ALL_TOOLKITS`; do
10320 eval "value=\$${var}"
10321 if test "x$value" != x
; then
10322 cache_var
=CACHE_
$toolkit
10323 eval "cache=\$${cache_var}"
10324 if test "$cache" = 1; then
10325 echo "$var=$value" >> ${wx_arg_cache_file}
10327 if test "$value" = 1; then
10328 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10329 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10330 echo "${ECHO_T}$toolkit_echo" >&6
10335 if test "x$host_alias" != "x"; then
10336 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10337 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10339 echo "$as_me:$LINENO: result: base only" >&5
10340 echo "${ECHO_T}base only" >&6
10345 doesnt_want_win32
=0
10348 if test "$wxUSE_MSW" = 1 ; then
10351 doesnt_want_win32
=1
10359 if test "$wxUSE_WINE" = "yes"; then
10364 LDFLAGS_GUI
="-mwindows"
10367 if test "$wants_win32" = 1 ; then
10370 cat >>confdefs.h
<<\_ACEOF
10371 #define __WIN32__ 1
10374 cat >>confdefs.h
<<\_ACEOF
10375 #define __WIN95__ 1
10378 cat >>confdefs.h
<<\_ACEOF
10379 #define __WINDOWS__ 1
10382 cat >>confdefs.h
<<\_ACEOF
10383 #define __GNUWIN32__ 1
10386 cat >>confdefs.h
<<\_ACEOF
10390 cat >>confdefs.h
<<\_ACEOF
10391 #define WINVER 0x0400
10395 if test "$doesnt_want_win32" = 1 ; then
10400 if test "$USE_UNIX" = 1 ; then
10402 cat >>confdefs.h
<<\_ACEOF
10409 cat >confcache
<<\_ACEOF
10410 # This file is a shell script that caches the results of configure
10411 # tests run on this system so they can be shared between configure
10412 # scripts and configure runs, see configure's option --config-cache.
10413 # It is not useful on other systems. If it contains results you don't
10414 # want to keep, you may remove or edit it.
10416 # config.status only pays attention to the cache file if you give it
10417 # the --recheck option to rerun configure.
10419 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10421 # following values.
10425 # The following way of writing the cache mishandles newlines in values,
10426 # but we know of no workaround that is simple, portable, and efficient.
10427 # So, don't put newlines in cache variables' values.
10428 # Ultrix sh set writes to stderr and can't be redirected directly,
10429 # and sets the high bit in the cache file unless we assign to the vars.
10432 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10434 # `set' does not quote correctly, so add quotes (double-quote
10435 # substitution turns \\\\ into \\, and sed turns \\ into \).
10438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10441 # `set' quotes correctly as required by POSIX, so do not add quotes.
10443 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10452 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10454 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10455 if test -w $cache_file; then
10456 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10457 cat confcache
>$cache_file
10459 echo "not updating unwritable cache $cache_file"
10464 if test "$build" != "$host" ; then
10465 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10467 CXX
=$host_alias-c++
10469 RANLIB
=$host_alias-ranlib
10470 DLLTOOL
=$host_alias-dlltool
10471 RESCOMP
=$host_alias-windres
10472 STRIP
=$host_alias-strip
10473 elif test "x$CC" '!=' "x"; then
10474 echo "You set CC, I assume you know what you are doing."
10476 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10477 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10478 { (exit 1); exit 1; }; }
10484 ac_cpp
='$CPP $CPPFLAGS'
10485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10488 if test -n "$ac_tool_prefix"; then
10489 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10490 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10491 echo "$as_me:$LINENO: checking for $ac_word" >&5
10492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10493 if test "${ac_cv_prog_CC+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 if test -n "$CC"; then
10497 ac_cv_prog_CC
="$CC" # Let the user override the test.
10499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10500 for as_dir
in $PATH
10503 test -z "$as_dir" && as_dir
=.
10504 for ac_exec_ext
in '' $ac_executable_extensions; do
10505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10506 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10516 if test -n "$CC"; then
10517 echo "$as_me:$LINENO: result: $CC" >&5
10518 echo "${ECHO_T}$CC" >&6
10520 echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6
10525 if test -z "$ac_cv_prog_CC"; then
10527 # Extract the first word of "gcc", so it can be a program name with args.
10528 set dummy gcc
; ac_word
=$2
10529 echo "$as_me:$LINENO: checking for $ac_word" >&5
10530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10531 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 if test -n "$ac_ct_CC"; then
10535 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10538 for as_dir
in $PATH
10541 test -z "$as_dir" && as_dir
=.
10542 for ac_exec_ext
in '' $ac_executable_extensions; do
10543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10544 ac_cv_prog_ac_ct_CC
="gcc"
10545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10553 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10554 if test -n "$ac_ct_CC"; then
10555 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10556 echo "${ECHO_T}$ac_ct_CC" >&6
10558 echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6
10564 CC
="$ac_cv_prog_CC"
10567 if test -z "$CC"; then
10568 if test -n "$ac_tool_prefix"; then
10569 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10570 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10571 echo "$as_me:$LINENO: checking for $ac_word" >&5
10572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10573 if test "${ac_cv_prog_CC+set}" = set; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10576 if test -n "$CC"; then
10577 ac_cv_prog_CC
="$CC" # Let the user override the test.
10579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10580 for as_dir
in $PATH
10583 test -z "$as_dir" && as_dir
=.
10584 for ac_exec_ext
in '' $ac_executable_extensions; do
10585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10586 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 if test -n "$CC"; then
10597 echo "$as_me:$LINENO: result: $CC" >&5
10598 echo "${ECHO_T}$CC" >&6
10600 echo "$as_me:$LINENO: result: no" >&5
10601 echo "${ECHO_T}no" >&6
10605 if test -z "$ac_cv_prog_CC"; then
10607 # Extract the first word of "cc", so it can be a program name with args.
10608 set dummy cc
; ac_word
=$2
10609 echo "$as_me:$LINENO: checking for $ac_word" >&5
10610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 if test -n "$ac_ct_CC"; then
10615 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10618 for as_dir
in $PATH
10621 test -z "$as_dir" && as_dir
=.
10622 for ac_exec_ext
in '' $ac_executable_extensions; do
10623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10624 ac_cv_prog_ac_ct_CC
="cc"
10625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10634 if test -n "$ac_ct_CC"; then
10635 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10636 echo "${ECHO_T}$ac_ct_CC" >&6
10638 echo "$as_me:$LINENO: result: no" >&5
10639 echo "${ECHO_T}no" >&6
10644 CC
="$ac_cv_prog_CC"
10648 if test -z "$CC"; then
10649 # Extract the first word of "cc", so it can be a program name with args.
10650 set dummy cc
; ac_word
=$2
10651 echo "$as_me:$LINENO: checking for $ac_word" >&5
10652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10653 if test "${ac_cv_prog_CC+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 if test -n "$CC"; then
10657 ac_cv_prog_CC
="$CC" # Let the user override the test.
10659 ac_prog_rejected
=no
10660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10661 for as_dir
in $PATH
10664 test -z "$as_dir" && as_dir
=.
10665 for ac_exec_ext
in '' $ac_executable_extensions; do
10666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10668 ac_prog_rejected
=yes
10672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10678 if test $ac_prog_rejected = yes; then
10679 # We found a bogon in the path, so make sure we never use it.
10680 set dummy
$ac_cv_prog_CC
10682 if test $# != 0; then
10683 # We chose a different compiler from the bogus one.
10684 # However, it has the same basename, so the bogon will be chosen
10685 # first if we set CC to just the basename; use the full file name.
10687 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10693 if test -n "$CC"; then
10694 echo "$as_me:$LINENO: result: $CC" >&5
10695 echo "${ECHO_T}$CC" >&6
10697 echo "$as_me:$LINENO: result: no" >&5
10698 echo "${ECHO_T}no" >&6
10702 if test -z "$CC"; then
10703 if test -n "$ac_tool_prefix"; then
10706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10707 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10708 echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10710 if test "${ac_cv_prog_CC+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 if test -n "$CC"; then
10714 ac_cv_prog_CC
="$CC" # Let the user override the test.
10716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10717 for as_dir
in $PATH
10720 test -z "$as_dir" && as_dir
=.
10721 for ac_exec_ext
in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10741 test -n "$CC" && break
10744 if test -z "$CC"; then
10748 # Extract the first word of "$ac_prog", so it can be a program name with args.
10749 set dummy
$ac_prog; ac_word
=$2
10750 echo "$as_me:$LINENO: checking for $ac_word" >&5
10751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 if test -n "$ac_ct_CC"; then
10756 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10759 for as_dir
in $PATH
10762 test -z "$as_dir" && as_dir
=.
10763 for ac_exec_ext
in '' $ac_executable_extensions; do
10764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10765 ac_cv_prog_ac_ct_CC
="$ac_prog"
10766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10774 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10775 if test -n "$ac_ct_CC"; then
10776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10777 echo "${ECHO_T}$ac_ct_CC" >&6
10779 echo "$as_me:$LINENO: result: no" >&5
10780 echo "${ECHO_T}no" >&6
10783 test -n "$ac_ct_CC" && break
10792 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: no acceptable C compiler found in \$PATH
10795 See \`config.log' for more details." >&2;}
10796 { (exit 1); exit 1; }; }
10798 # Provide some information about the compiler.
10799 echo "$as_me:$LINENO:" \
10800 "checking for C compiler version" >&5
10801 ac_compiler
=`set X $ac_compile; echo $2`
10802 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10803 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }
10807 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10808 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }
10812 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10813 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }
10818 cat >conftest.
$ac_ext <<_ACEOF
10821 cat confdefs.h
>>conftest.
$ac_ext
10822 cat >>conftest.
$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10833 ac_clean_files_save
=$ac_clean_files
10834 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10835 # Try to create an executable without -o first, disregard a.out.
10836 # It will help us diagnose broken compilers, and finding out an intuition
10838 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10839 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10840 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10841 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10842 (eval $ac_link_default) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; then
10846 # Find the output, starting from the most likely. This scheme is
10847 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10850 # Be careful to initialize this variable, since it used to be cached.
10851 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10853 # b.out is created by i960 compilers.
10854 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10856 test -f "$ac_file" || continue
10858 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10861 # This is the source file.
10864 # We found the default executable, but exeext='' is most
10868 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10869 # FIXME: I believe we export ac_cv_exeext for Libtool,
10870 # but it would be cool to find out if it's true. Does anybody
10871 # maintain Libtool? --akim.
10872 export ac_cv_exeext
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.
$ac_ext >&5
10882 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10883 See \`config.log' for more details." >&5
10884 echo "$as_me: error: C compiler cannot create executables
10885 See \`config.log' for more details." >&2;}
10886 { (exit 77); exit 77; }; }
10889 ac_exeext
=$ac_cv_exeext
10890 echo "$as_me:$LINENO: result: $ac_file" >&5
10891 echo "${ECHO_T}$ac_file" >&6
10893 # Check the compiler produces executables we can run. If not, either
10894 # the compiler is broken, or we cross compile.
10895 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10896 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10897 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10898 # If not cross compiling, check that we can run a simple program.
10899 if test "$cross_compiling" != yes; then
10900 if { ac_try
='./$ac_file'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10908 if test "$cross_compiling" = maybe
; then
10909 cross_compiling
=yes
10911 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10912 If you meant to cross compile, use \`--host'.
10913 See \`config.log' for more details." >&5
10914 echo "$as_me: error: cannot run C compiled programs.
10915 If you meant to cross compile, use \`--host'.
10916 See \`config.log' for more details." >&2;}
10917 { (exit 1); exit 1; }; }
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10924 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10925 ac_clean_files
=$ac_clean_files_save
10926 # Check the compiler produces executables we can run. If not, either
10927 # the compiler is broken, or we cross compile.
10928 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10929 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10930 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10931 echo "${ECHO_T}$cross_compiling" >&6
10933 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10934 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10936 (eval $ac_link) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; then
10940 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10941 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10942 # work properly (i.e., refer to `conftest.exe'), while it won't with
10944 for ac_file
in conftest.exe conftest conftest.
*; do
10945 test -f "$ac_file" || continue
10947 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10948 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10949 export ac_cv_exeext
10955 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10956 See \`config.log' for more details." >&5
10957 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10958 See \`config.log' for more details." >&2;}
10959 { (exit 1); exit 1; }; }
10962 rm -f conftest
$ac_cv_exeext
10963 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10964 echo "${ECHO_T}$ac_cv_exeext" >&6
10966 rm -f conftest.
$ac_ext
10967 EXEEXT
=$ac_cv_exeext
10969 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10970 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10971 if test "${ac_cv_objext+set}" = set; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 cat >conftest.
$ac_ext <<_ACEOF
10977 cat confdefs.h
>>conftest.
$ac_ext
10978 cat >>conftest.
$ac_ext <<_ACEOF
10979 /* end confdefs.h. */
10989 rm -f conftest.o conftest.obj
10990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10991 (eval $ac_compile) 2>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; then
10995 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10997 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10998 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11003 echo "$as_me: failed program was:" >&5
11004 sed 's/^/| /' conftest.
$ac_ext >&5
11006 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11007 See \`config.log' for more details." >&5
11008 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11009 See \`config.log' for more details." >&2;}
11010 { (exit 1); exit 1; }; }
11013 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11015 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11016 echo "${ECHO_T}$ac_cv_objext" >&6
11017 OBJEXT
=$ac_cv_objext
11019 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 cat >conftest.
$ac_ext <<_ACEOF
11027 cat confdefs.h
>>conftest.
$ac_ext
11028 cat >>conftest.
$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11042 rm -f conftest.
$ac_objext
11043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>conftest.er1
11046 grep -v '^ *+' conftest.er1
>conftest.err
11048 cat conftest.err
>&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); } &&
11051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11053 (eval $ac_try) 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }; } &&
11057 { ac_try
='test -s conftest.$ac_objext'
11058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059 (eval $ac_try) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; }; then
11063 ac_compiler_gnu
=yes
11065 echo "$as_me: failed program was:" >&5
11066 sed 's/^/| /' conftest.
$ac_ext >&5
11070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11071 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11074 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11075 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11076 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11077 ac_test_CFLAGS
=${CFLAGS+set}
11078 ac_save_CFLAGS
=$CFLAGS
11080 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11081 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11082 if test "${ac_cv_prog_cc_g+set}" = set; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 cat >conftest.
$ac_ext <<_ACEOF
11088 cat confdefs.h
>>conftest.
$ac_ext
11089 cat >>conftest.
$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11100 rm -f conftest.
$ac_objext
11101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11102 (eval $ac_compile) 2>conftest.er1
11104 grep -v '^ *+' conftest.er1
>conftest.err
11106 cat conftest.err
>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); } &&
11109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; } &&
11115 { ac_try
='test -s conftest.$ac_objext'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; }; then
11121 ac_cv_prog_cc_g
=yes
11123 echo "$as_me: failed program was:" >&5
11124 sed 's/^/| /' conftest.
$ac_ext >&5
11128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11130 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11131 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11132 if test "$ac_test_CFLAGS" = set; then
11133 CFLAGS
=$ac_save_CFLAGS
11134 elif test $ac_cv_prog_cc_g = yes; then
11135 if test "$GCC" = yes; then
11141 if test "$GCC" = yes; then
11147 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11148 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11149 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11152 ac_cv_prog_cc_stdc
=no
11154 cat >conftest.
$ac_ext <<_ACEOF
11157 cat confdefs.h
>>conftest.
$ac_ext
11158 cat >>conftest.
$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11160 #include <stdarg.h>
11162 #include <sys/types.h>
11163 #include <sys/stat.h>
11164 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11165 struct buf { int x; };
11166 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11167 static char *e (p, i)
11173 static char *f (char * (*g) (char **, int), char **p, ...)
11178 s = g (p, va_arg (v,int));
11183 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11184 function prototypes and stuff, but not '\xHH' hex character constants.
11185 These don't provoke an error unfortunately, instead are silently treated
11186 as 'x'. The following induces an error, until -std1 is added to get
11187 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11188 array size at least. It's necessary to write '\x00'==0 to get something
11189 that's true only with -std1. */
11190 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11192 int test (int i, double x);
11193 struct s1 {int (*f) (int a);};
11194 struct s2 {int (*f) (double a);};
11195 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11201 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11206 # Don't try gcc -ansi; that turns off useful extensions and
11207 # breaks some systems' header files.
11208 # AIX -qlanglvl=ansi
11209 # Ultrix and OSF/1 -std1
11210 # HP-UX 10.20 and later -Ae
11211 # HP-UX older versions -Aa -D_HPUX_SOURCE
11212 # SVR4 -Xc -D__EXTENSIONS__
11213 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11215 CC
="$ac_save_CC $ac_arg"
11216 rm -f conftest.
$ac_objext
11217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11218 (eval $ac_compile) 2>conftest.er1
11220 grep -v '^ *+' conftest.er1
>conftest.err
11222 cat conftest.err
>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; } &&
11231 { ac_try
='test -s conftest.$ac_objext'
11232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11233 (eval $ac_try) 2>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; }; then
11237 ac_cv_prog_cc_stdc
=$ac_arg
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.
$ac_ext >&5
11244 rm -f conftest.err conftest.
$ac_objext
11246 rm -f conftest.
$ac_ext conftest.
$ac_objext
11251 case "x$ac_cv_prog_cc_stdc" in
11253 echo "$as_me:$LINENO: result: none needed" >&5
11254 echo "${ECHO_T}none needed" >&6 ;;
11256 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11257 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11258 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11261 # Some people use a C++ compiler to compile C. Since we use `exit',
11262 # in C++ we need to declare it. In case someone uses the same compiler
11263 # for both compiling C and C++ we need to have the C++ compiler decide
11264 # the declaration of exit, since it's the most demanding environment.
11265 cat >conftest.
$ac_ext <<_ACEOF
11266 #ifndef __cplusplus
11270 rm -f conftest.
$ac_objext
11271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11272 (eval $ac_compile) 2>conftest.er1
11274 grep -v '^ *+' conftest.er1
>conftest.err
11276 cat conftest.err
>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); } &&
11279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; } &&
11285 { ac_try
='test -s conftest.$ac_objext'
11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11287 (eval $ac_try) 2>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; }; then
11291 for ac_declaration
in \
11293 'extern "C" void std::exit (int) throw (); using std::exit;' \
11294 'extern "C" void std::exit (int); using std::exit;' \
11295 'extern "C" void exit (int) throw ();' \
11296 'extern "C" void exit (int);' \
11299 cat >conftest.
$ac_ext <<_ACEOF
11302 cat confdefs.h
>>conftest.
$ac_ext
11303 cat >>conftest.
$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11306 #include <stdlib.h>
11315 rm -f conftest.
$ac_objext
11316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11317 (eval $ac_compile) 2>conftest.er1
11319 grep -v '^ *+' conftest.er1
>conftest.err
11321 cat conftest.err
>&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } &&
11324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326 (eval $ac_try) 2>&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); }; } &&
11330 { ac_try
='test -s conftest.$ac_objext'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; }; then
11338 echo "$as_me: failed program was:" >&5
11339 sed 's/^/| /' conftest.
$ac_ext >&5
11343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11344 cat >conftest.
$ac_ext <<_ACEOF
11347 cat confdefs.h
>>conftest.
$ac_ext
11348 cat >>conftest.
$ac_ext <<_ACEOF
11349 /* end confdefs.h. */
11359 rm -f conftest.
$ac_objext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11361 (eval $ac_compile) 2>conftest.er1
11363 grep -v '^ *+' conftest.er1
>conftest.err
11365 cat conftest.err
>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } &&
11368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11370 (eval $ac_try) 2>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); }; } &&
11374 { ac_try
='test -s conftest.$ac_objext'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; }; then
11382 echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.
$ac_ext >&5
11386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11389 if test -n "$ac_declaration"; then
11390 echo '#ifdef __cplusplus' >>confdefs.h
11391 echo $ac_declaration >>confdefs.h
11392 echo '#endif' >>confdefs.h
11396 echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.
$ac_ext >&5
11400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11402 ac_cpp
='$CPP $CPPFLAGS'
11403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11409 ac_cpp
='$CPP $CPPFLAGS'
11410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11414 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11415 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11416 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 cat >conftest.
$ac_ext <<_ACEOF
11422 cat confdefs.h
>>conftest.
$ac_ext
11423 cat >>conftest.
$ac_ext <<_ACEOF
11424 /* end confdefs.h. */
11437 rm -f conftest.
$ac_objext
11438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11439 (eval $ac_compile) 2>conftest.er1
11441 grep -v '^ *+' conftest.er1
>conftest.err
11443 cat conftest.err
>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } &&
11446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; } &&
11452 { ac_try
='test -s conftest.$ac_objext'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; }; then
11458 bakefile_compiler_mwerks
=yes
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.
$ac_ext >&5
11463 bakefile_compiler_mwerks
=no
11465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11466 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11469 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11470 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11472 MWCC
=`test $bakefile_compiler_mwerks = yes && echo yes`
11474 ac_cpp
='$CPP $CPPFLAGS'
11475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11482 ac_cpp
='$CPP $CPPFLAGS'
11483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11486 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11487 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11488 # On Suns, sometimes $CPP names a directory.
11489 if test -n "$CPP" && test -d "$CPP"; then
11492 if test -z "$CPP"; then
11493 if test "${ac_cv_prog_CPP+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 # Double quotes because CPP needs to be expanded
11497 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11499 ac_preproc_ok
=false
11500 for ac_c_preproc_warn_flag
in '' yes
11502 # Use a header file that comes with gcc, so configuring glibc
11503 # with a fresh cross-compiler works.
11504 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11505 # <limits.h> exists even on freestanding compilers.
11506 # On the NeXT, cc -E runs the code through the compiler's parser,
11507 # not just through cpp. "Syntax error" is here to catch this case.
11508 cat >conftest.
$ac_ext <<_ACEOF
11511 cat confdefs.h
>>conftest.
$ac_ext
11512 cat >>conftest.
$ac_ext <<_ACEOF
11513 /* end confdefs.h. */
11515 # include <limits.h>
11517 # include <assert.h>
11521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11522 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11524 grep -v '^ *+' conftest.er1
>conftest.err
11526 cat conftest.err
>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } >/dev
/null
; then
11529 if test -s conftest.err
; then
11530 ac_cpp_err
=$ac_c_preproc_warn_flag
11531 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11538 if test -z "$ac_cpp_err"; then
11541 echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.
$ac_ext >&5
11544 # Broken: fails on valid input.
11547 rm -f conftest.err conftest.
$ac_ext
11549 # OK, works on sane cases. Now check whether non-existent headers
11550 # can be detected and how.
11551 cat >conftest.
$ac_ext <<_ACEOF
11554 cat confdefs.h
>>conftest.
$ac_ext
11555 cat >>conftest.
$ac_ext <<_ACEOF
11556 /* end confdefs.h. */
11557 #include <ac_nonexistent.h>
11559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11562 grep -v '^ *+' conftest.er1
>conftest.err
11564 cat conftest.err
>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } >/dev
/null
; then
11567 if test -s conftest.err
; then
11568 ac_cpp_err
=$ac_c_preproc_warn_flag
11569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11576 if test -z "$ac_cpp_err"; then
11577 # Broken: success on invalid input.
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.
$ac_ext >&5
11583 # Passes both tests.
11587 rm -f conftest.err conftest.
$ac_ext
11590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11591 rm -f conftest.err conftest.
$ac_ext
11592 if $ac_preproc_ok; then
11597 ac_cv_prog_CPP
=$CPP
11600 CPP
=$ac_cv_prog_CPP
11602 ac_cv_prog_CPP
=$CPP
11604 echo "$as_me:$LINENO: result: $CPP" >&5
11605 echo "${ECHO_T}$CPP" >&6
11606 ac_preproc_ok
=false
11607 for ac_c_preproc_warn_flag
in '' yes
11609 # Use a header file that comes with gcc, so configuring glibc
11610 # with a fresh cross-compiler works.
11611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11612 # <limits.h> exists even on freestanding compilers.
11613 # On the NeXT, cc -E runs the code through the compiler's parser,
11614 # not just through cpp. "Syntax error" is here to catch this case.
11615 cat >conftest.
$ac_ext <<_ACEOF
11618 cat confdefs.h
>>conftest.
$ac_ext
11619 cat >>conftest.
$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11622 # include <limits.h>
11624 # include <assert.h>
11628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11629 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11631 grep -v '^ *+' conftest.er1
>conftest.err
11633 cat conftest.err
>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } >/dev
/null
; then
11636 if test -s conftest.err
; then
11637 ac_cpp_err
=$ac_c_preproc_warn_flag
11638 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11645 if test -z "$ac_cpp_err"; then
11648 echo "$as_me: failed program was:" >&5
11649 sed 's/^/| /' conftest.
$ac_ext >&5
11651 # Broken: fails on valid input.
11654 rm -f conftest.err conftest.
$ac_ext
11656 # OK, works on sane cases. Now check whether non-existent headers
11657 # can be detected and how.
11658 cat >conftest.
$ac_ext <<_ACEOF
11661 cat confdefs.h
>>conftest.
$ac_ext
11662 cat >>conftest.
$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11664 #include <ac_nonexistent.h>
11666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11667 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11669 grep -v '^ *+' conftest.er1
>conftest.err
11671 cat conftest.err
>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); } >/dev
/null
; then
11674 if test -s conftest.err
; then
11675 ac_cpp_err
=$ac_c_preproc_warn_flag
11676 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11683 if test -z "$ac_cpp_err"; then
11684 # Broken: success on invalid input.
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.
$ac_ext >&5
11690 # Passes both tests.
11694 rm -f conftest.err conftest.
$ac_ext
11697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11698 rm -f conftest.err conftest.
$ac_ext
11699 if $ac_preproc_ok; then
11702 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11703 See \`config.log' for more details." >&5
11704 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11705 See \`config.log' for more details." >&2;}
11706 { (exit 1); exit 1; }; }
11710 ac_cpp
='$CPP $CPPFLAGS'
11711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11716 echo "$as_me:$LINENO: checking for egrep" >&5
11717 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11718 if test "${ac_cv_prog_egrep+set}" = set; then
11719 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11722 then ac_cv_prog_egrep
='grep -E'
11723 else ac_cv_prog_egrep
='egrep'
11726 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11727 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11728 EGREP
=$ac_cv_prog_egrep
11731 if test $ac_cv_c_compiler_gnu = yes; then
11732 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11733 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11734 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 ac_pattern
="Autoconf.*'x'"
11738 cat >conftest.
$ac_ext <<_ACEOF
11741 cat confdefs.h
>>conftest.
$ac_ext
11742 cat >>conftest.
$ac_ext <<_ACEOF
11743 /* end confdefs.h. */
11747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11748 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11749 ac_cv_prog_gcc_traditional
=yes
11751 ac_cv_prog_gcc_traditional
=no
11756 if test $ac_cv_prog_gcc_traditional = no
; then
11757 cat >conftest.
$ac_ext <<_ACEOF
11760 cat confdefs.h
>>conftest.
$ac_ext
11761 cat >>conftest.
$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11763 #include <termio.h>
11766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11767 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11768 ac_cv_prog_gcc_traditional
=yes
11774 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11775 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11776 if test $ac_cv_prog_gcc_traditional = yes; then
11777 CC
="$CC -traditional"
11785 ac_cpp
='$CXXCPP $CPPFLAGS'
11786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11791 CXXFLAGS
=${CXXFLAGS:=}
11793 ac_cpp
='$CXXCPP $CPPFLAGS'
11794 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11795 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11796 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11797 if test -n "$ac_tool_prefix"; then
11798 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11801 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11802 echo "$as_me:$LINENO: checking for $ac_word" >&5
11803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11804 if test "${ac_cv_prog_CXX+set}" = set; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 if test -n "$CXX"; then
11808 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11811 for as_dir
in $PATH
11814 test -z "$as_dir" && as_dir
=.
11815 for ac_exec_ext
in '' $ac_executable_extensions; do
11816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11817 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11826 CXX
=$ac_cv_prog_CXX
11827 if test -n "$CXX"; then
11828 echo "$as_me:$LINENO: result: $CXX" >&5
11829 echo "${ECHO_T}$CXX" >&6
11831 echo "$as_me:$LINENO: result: no" >&5
11832 echo "${ECHO_T}no" >&6
11835 test -n "$CXX" && break
11838 if test -z "$CXX"; then
11840 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11842 # Extract the first word of "$ac_prog", so it can be a program name with args.
11843 set dummy
$ac_prog; ac_word
=$2
11844 echo "$as_me:$LINENO: checking for $ac_word" >&5
11845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11846 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 if test -n "$ac_ct_CXX"; then
11850 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11853 for as_dir
in $PATH
11856 test -z "$as_dir" && as_dir
=.
11857 for ac_exec_ext
in '' $ac_executable_extensions; do
11858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11859 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11868 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11869 if test -n "$ac_ct_CXX"; then
11870 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11871 echo "${ECHO_T}$ac_ct_CXX" >&6
11873 echo "$as_me:$LINENO: result: no" >&5
11874 echo "${ECHO_T}no" >&6
11877 test -n "$ac_ct_CXX" && break
11879 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11885 # Provide some information about the compiler.
11886 echo "$as_me:$LINENO:" \
11887 "checking for C++ compiler version" >&5
11888 ac_compiler
=`set X $ac_compile; echo $2`
11889 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11890 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }
11894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11895 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }
11899 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11900 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }
11905 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11906 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11907 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 cat >conftest.
$ac_ext <<_ACEOF
11913 cat confdefs.h
>>conftest.
$ac_ext
11914 cat >>conftest.
$ac_ext <<_ACEOF
11915 /* end confdefs.h. */
11928 rm -f conftest.
$ac_objext
11929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11930 (eval $ac_compile) 2>conftest.er1
11932 grep -v '^ *+' conftest.er1
>conftest.err
11934 cat conftest.err
>&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); } &&
11937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; } &&
11943 { ac_try
='test -s conftest.$ac_objext'
11944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945 (eval $ac_try) 2>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); }; }; then
11949 ac_compiler_gnu
=yes
11951 echo "$as_me: failed program was:" >&5
11952 sed 's/^/| /' conftest.
$ac_ext >&5
11956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11957 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11960 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11961 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11962 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11963 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11964 ac_save_CXXFLAGS
=$CXXFLAGS
11966 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11967 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11968 if test "${ac_cv_prog_cxx_g+set}" = set; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 cat >conftest.
$ac_ext <<_ACEOF
11974 cat confdefs.h
>>conftest.
$ac_ext
11975 cat >>conftest.
$ac_ext <<_ACEOF
11976 /* end confdefs.h. */
11986 rm -f conftest.
$ac_objext
11987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11988 (eval $ac_compile) 2>conftest.er1
11990 grep -v '^ *+' conftest.er1
>conftest.err
11992 cat conftest.err
>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); } &&
11995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; } &&
12001 { ac_try
='test -s conftest.$ac_objext'
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; }; then
12007 ac_cv_prog_cxx_g
=yes
12009 echo "$as_me: failed program was:" >&5
12010 sed 's/^/| /' conftest.
$ac_ext >&5
12012 ac_cv_prog_cxx_g
=no
12014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12016 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12017 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12018 if test "$ac_test_CXXFLAGS" = set; then
12019 CXXFLAGS
=$ac_save_CXXFLAGS
12020 elif test $ac_cv_prog_cxx_g = yes; then
12021 if test "$GXX" = yes; then
12027 if test "$GXX" = yes; then
12033 for ac_declaration
in \
12035 'extern "C" void std::exit (int) throw (); using std::exit;' \
12036 'extern "C" void std::exit (int); using std::exit;' \
12037 'extern "C" void exit (int) throw ();' \
12038 'extern "C" void exit (int);' \
12041 cat >conftest.
$ac_ext <<_ACEOF
12044 cat confdefs.h
>>conftest.
$ac_ext
12045 cat >>conftest.
$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12048 #include <stdlib.h>
12057 rm -f conftest.
$ac_objext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12059 (eval $ac_compile) 2>conftest.er1
12061 grep -v '^ *+' conftest.er1
>conftest.err
12063 cat conftest.err
>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); }; } &&
12072 { ac_try
='test -s conftest.$ac_objext'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; }; then
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.
$ac_ext >&5
12085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12086 cat >conftest.
$ac_ext <<_ACEOF
12089 cat confdefs.h
>>conftest.
$ac_ext
12090 cat >>conftest.
$ac_ext <<_ACEOF
12091 /* end confdefs.h. */
12101 rm -f conftest.
$ac_objext
12102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12103 (eval $ac_compile) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } &&
12110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; } &&
12116 { ac_try
='test -s conftest.$ac_objext'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12131 if test -n "$ac_declaration"; then
12132 echo '#ifdef __cplusplus' >>confdefs.h
12133 echo $ac_declaration >>confdefs.h
12134 echo '#endif' >>confdefs.h
12138 ac_cpp
='$CXXCPP $CPPFLAGS'
12139 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12140 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12141 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12145 ac_cpp
='$CXXCPP $CPPFLAGS'
12146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12150 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12151 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12152 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 cat >conftest.
$ac_ext <<_ACEOF
12158 cat confdefs.h
>>conftest.
$ac_ext
12159 cat >>conftest.
$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12173 rm -f conftest.
$ac_objext
12174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12175 (eval $ac_compile) 2>conftest.er1
12177 grep -v '^ *+' conftest.er1
>conftest.err
12179 cat conftest.err
>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } &&
12182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; } &&
12188 { ac_try
='test -s conftest.$ac_objext'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 bakefile_compiler_mwerks
=yes
12196 echo "$as_me: failed program was:" >&5
12197 sed 's/^/| /' conftest.
$ac_ext >&5
12199 bakefile_compiler_mwerks
=no
12201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12202 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12205 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12206 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12208 MWCXX
=`test $bakefile_compiler_mwerks = yes && echo yes`
12210 ac_cpp
='$CXXCPP $CPPFLAGS'
12211 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12212 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12213 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12218 ac_cpp
='$CPP $CPPFLAGS'
12219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12224 if test -n "$ac_tool_prefix"; then
12225 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12226 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12227 echo "$as_me:$LINENO: checking for $ac_word" >&5
12228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12229 if test "${ac_cv_prog_RANLIB+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 if test -n "$RANLIB"; then
12233 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12236 for as_dir
in $PATH
12239 test -z "$as_dir" && as_dir
=.
12240 for ac_exec_ext
in '' $ac_executable_extensions; do
12241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12242 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 RANLIB
=$ac_cv_prog_RANLIB
12252 if test -n "$RANLIB"; then
12253 echo "$as_me:$LINENO: result: $RANLIB" >&5
12254 echo "${ECHO_T}$RANLIB" >&6
12256 echo "$as_me:$LINENO: result: no" >&5
12257 echo "${ECHO_T}no" >&6
12261 if test -z "$ac_cv_prog_RANLIB"; then
12262 ac_ct_RANLIB
=$RANLIB
12263 # Extract the first word of "ranlib", so it can be a program name with args.
12264 set dummy ranlib
; ac_word
=$2
12265 echo "$as_me:$LINENO: checking for $ac_word" >&5
12266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12267 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 if test -n "$ac_ct_RANLIB"; then
12271 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12274 for as_dir
in $PATH
12277 test -z "$as_dir" && as_dir
=.
12278 for ac_exec_ext
in '' $ac_executable_extensions; do
12279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12280 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12287 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12290 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12291 if test -n "$ac_ct_RANLIB"; then
12292 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12293 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12295 echo "$as_me:$LINENO: result: no" >&5
12296 echo "${ECHO_T}no" >&6
12299 RANLIB
=$ac_ct_RANLIB
12301 RANLIB
="$ac_cv_prog_RANLIB"
12305 # Extract the first word of "ar", so it can be a program name with args.
12306 set dummy
ar; ac_word
=$2
12307 echo "$as_me:$LINENO: checking for $ac_word" >&5
12308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12309 if test "${ac_cv_prog_AR+set}" = set; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 if test -n "$AR"; then
12313 ac_cv_prog_AR
="$AR" # Let the user override the test.
12315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12316 for as_dir
in $PATH
12319 test -z "$as_dir" && as_dir
=.
12320 for ac_exec_ext
in '' $ac_executable_extensions; do
12321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12332 if test -n "$AR"; then
12333 echo "$as_me:$LINENO: result: $AR" >&5
12334 echo "${ECHO_T}$AR" >&6
12336 echo "$as_me:$LINENO: result: no" >&5
12337 echo "${ECHO_T}no" >&6
12340 if test "x$AR" = "x" ; then
12341 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12342 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12343 { (exit 1); exit 1; }; }
12346 # Find a good install program. We prefer a C program (faster),
12347 # so one script is as good as another. But avoid the broken or
12348 # incompatible versions:
12349 # SysV /etc/install, /usr/sbin/install
12350 # SunOS /usr/etc/install
12351 # IRIX /sbin/install
12353 # AmigaOS /C/install, which installs bootblocks on floppy discs
12354 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12355 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12356 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12357 # OS/2's system install, which has a completely different semantic
12358 # ./install, which can be erroneously created by make from ./install.sh.
12359 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12360 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12361 if test -z "$INSTALL"; then
12362 if test "${ac_cv_path_install+set}" = set; then
12363 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12366 for as_dir
in $PATH
12369 test -z "$as_dir" && as_dir
=.
12370 # Account for people who put trailing slashes in PATH elements.
12372 .
/ | .
// | /cC
/* | \
12373 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12374 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12377 # OSF1 and SCO ODT 3.0 have their own names for install.
12378 # Don't use installbsd from OSF since it installs stuff as root
12380 for ac_prog
in ginstall scoinst
install; do
12381 for ac_exec_ext
in '' $ac_executable_extensions; do
12382 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12383 if test $ac_prog = install &&
12384 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12385 # AIX install. It has an incompatible calling convention.
12387 elif test $ac_prog = install &&
12388 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12389 # program-specific install script used by HP pwplus--don't use.
12392 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12404 if test "${ac_cv_path_install+set}" = set; then
12405 INSTALL
=$ac_cv_path_install
12407 # As a last resort, use the slow shell script. We don't cache a
12408 # path for INSTALL within a source directory, because that will
12409 # break other packages using the cache if that directory is
12410 # removed, or if the path is relative.
12411 INSTALL
=$ac_install_sh
12414 echo "$as_me:$LINENO: result: $INSTALL" >&5
12415 echo "${ECHO_T}$INSTALL" >&6
12417 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12418 # It thinks the first close brace ends the variable substitution.
12419 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12421 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12423 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12429 ?
:* ) # Drive letter, considered as absolute.
12432 INSTALL
=`pwd`/${INSTALL} ;;
12438 powerpc
-*-darwin* )
12439 INSTALL_PROGRAM
="cp -fp"
12440 INSTALL_DATA
="cp -fp"
12446 # Extract the first word of "strip", so it can be a program name with args.
12447 set dummy strip
; ac_word
=$2
12448 echo "$as_me:$LINENO: checking for $ac_word" >&5
12449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12450 if test "${ac_cv_prog_STRIP+set}" = set; then
12451 echo $ECHO_N "(cached) $ECHO_C" >&6
12453 if test -n "$STRIP"; then
12454 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12457 for as_dir
in $PATH
12460 test -z "$as_dir" && as_dir
=.
12461 for ac_exec_ext
in '' $ac_executable_extensions; do
12462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12463 ac_cv_prog_STRIP
="strip"
12464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12470 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12473 STRIP
=$ac_cv_prog_STRIP
12474 if test -n "$STRIP"; then
12475 echo "$as_me:$LINENO: result: $STRIP" >&5
12476 echo "${ECHO_T}$STRIP" >&6
12478 echo "$as_me:$LINENO: result: no" >&5
12479 echo "${ECHO_T}no" >&6
12483 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12484 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12485 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12486 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12490 egrep -s GNU
> /dev
/null
); then
12491 wx_cv_prog_makeisgnu
="yes"
12493 wx_cv_prog_makeisgnu
="no"
12497 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12498 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12500 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12508 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12509 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12510 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12511 if test "${wx_cv_prog_makevpath+set}" = set; then
12512 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 cat - << EOF > confMake
12521 if test ! -d sub
; then
12524 echo dummy
> sub
/file
12525 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12527 rm -f sub
/file check final_file confMake
12529 if test "$RESULT" = 0; then
12530 wx_cv_prog_makevpath
="yes"
12532 wx_cv_prog_makevpath
="no"
12536 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12537 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12539 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12540 { { echo "$as_me:$LINENO: error:
12541 You need a make-utility that is able to use the variable
12543 If your version of make does not support VPATH correctly,
12544 please install GNU-make (possibly as gmake), and start
12545 configure with the following command:
12546 export MAKE=gmake; ./configure for sh-type shells
12547 setenv MAKE gmake; ./configure for csh-type shells
12548 Also please do remember to use gmake in this case every time
12549 you are trying to compile.
12551 echo "$as_me: error:
12552 You need a make-utility that is able to use the variable
12554 If your version of make does not support VPATH correctly,
12555 please install GNU-make (possibly as gmake), and start
12556 configure with the following command:
12557 export MAKE=gmake; ./configure for sh-type shells
12558 setenv MAKE gmake; ./configure for csh-type shells
12559 Also please do remember to use gmake in this case every time
12560 you are trying to compile.
12562 { (exit 1); exit 1; }; }
12564 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12565 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12567 if test "$LN_S" = "ln -s"; then
12568 echo "$as_me:$LINENO: result: yes" >&5
12569 echo "${ECHO_T}yes" >&6
12571 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12572 echo "${ECHO_T}no, using $LN_S" >&6
12578 *-pc-os2_emx | *-pc-os2-emx )
12579 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12580 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12581 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12582 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 ac_check_lib_save_LIBS
=$LIBS
12586 LIBS
="-lcExt $LIBS"
12587 cat >conftest.
$ac_ext <<_ACEOF
12590 cat confdefs.h
>>conftest.
$ac_ext
12591 cat >>conftest.
$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12594 /* Override any gcc2 internal prototype to avoid an error. */
12598 /* We use char because int might match the return type of a gcc2
12599 builtin and then its argument prototype would still apply. */
12609 rm -f conftest.
$ac_objext conftest
$ac_exeext
12610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12611 (eval $ac_link) 2>conftest.er1
12613 grep -v '^ *+' conftest.er1
>conftest.err
12615 cat conftest.err
>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); } &&
12618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12620 (eval $ac_try) 2>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); }; } &&
12624 { ac_try
='test -s conftest$ac_exeext'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; }; then
12630 ac_cv_lib_cExt_drand48
=yes
12632 echo "$as_me: failed program was:" >&5
12633 sed 's/^/| /' conftest.
$ac_ext >&5
12635 ac_cv_lib_cExt_drand48
=no
12637 rm -f conftest.err conftest.
$ac_objext \
12638 conftest
$ac_exeext conftest.
$ac_ext
12639 LIBS
=$ac_check_lib_save_LIBS
12641 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12642 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12643 if test $ac_cv_lib_cExt_drand48 = yes; then
12644 LIBS
="$LIBS -lcExt"
12648 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12650 echo "$as_me:$LINENO: checking for gcc version" >&5
12651 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12652 if test "${wx_cv_gccversion+set}" = set; then
12653 echo $ECHO_N "(cached) $ECHO_C" >&6
12656 cat >conftest.
$ac_ext <<_ACEOF
12659 cat confdefs.h
>>conftest.
$ac_ext
12660 cat >>conftest.
$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12675 rm -f conftest.
$ac_objext
12676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12677 (eval $ac_compile) 2>conftest.er1
12679 grep -v '^ *+' conftest.er1
>conftest.err
12681 cat conftest.err
>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } &&
12684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; } &&
12690 { ac_try
='test -s conftest.$ac_objext'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; }; then
12697 cat >conftest.
$ac_ext <<_ACEOF
12700 cat confdefs.h
>>conftest.
$ac_ext
12701 cat >>conftest.
$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12708 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12709 #error intermediate gcc
12716 rm -f conftest.
$ac_objext
12717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12718 (eval $ac_compile) 2>conftest.er1
12720 grep -v '^ *+' conftest.er1
>conftest.err
12722 cat conftest.err
>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); } &&
12725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; } &&
12731 { ac_try
='test -s conftest.$ac_objext'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; }; then
12738 wx_cv_gccversion
=Innotek
12741 echo "$as_me: failed program was:" >&5
12742 sed 's/^/| /' conftest.
$ac_ext >&5
12749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12752 echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.
$ac_ext >&5
12760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12763 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12764 echo "${ECHO_T}$wx_cv_gccversion" >&6
12765 if test "$wx_cv_gccversion" = "2"; then
12766 LIBS
="$LIBS -lstdcpp"
12767 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12769 if test "$wx_cv_gccversion" = "3"; then
12770 LIBS
="$LIBS -lstdcxx"
12771 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12773 LIBS
="$LIBS -lstdc++"
12776 if test "$wxUSE_OMF" = "yes"; then
12777 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12785 ac_cpp
='$CXXCPP $CPPFLAGS'
12786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12791 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12792 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12793 if test "${ac_cv_string_strcasecmp+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 cat >conftest.
$ac_ext <<_ACEOF
12800 cat confdefs.h
>>conftest.
$ac_ext
12801 cat >>conftest.
$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12804 #include <string.h>
12810 strcasecmp("foo", "bar");
12816 rm -f conftest.
$ac_objext conftest
$ac_exeext
12817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12818 (eval $ac_link) 2>conftest.er1
12820 grep -v '^ *+' conftest.er1
>conftest.err
12822 cat conftest.err
>&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); } &&
12825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12827 (eval $ac_try) 2>&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); }; } &&
12831 { ac_try
='test -s conftest$ac_exeext'
12832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12833 (eval $ac_try) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }; }; then
12837 ac_cv_string_strcasecmp
=yes
12839 echo "$as_me: failed program was:" >&5
12840 sed 's/^/| /' conftest.
$ac_ext >&5
12842 ac_cv_string_strcasecmp
=no
12845 rm -f conftest.err conftest.
$ac_objext \
12846 conftest
$ac_exeext conftest.
$ac_ext
12849 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12850 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12852 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12853 cat >>confdefs.h
<<\_ACEOF
12854 #define HAVE_STRCASECMP_IN_STRING_H 1
12858 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12859 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12860 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12861 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 cat >conftest.
$ac_ext <<_ACEOF
12867 cat confdefs.h
>>conftest.
$ac_ext
12868 cat >>conftest.
$ac_ext <<_ACEOF
12869 /* end confdefs.h. */
12871 #include <strings.h>
12877 strcasecmp("foo", "bar");
12883 rm -f conftest.
$ac_objext conftest
$ac_exeext
12884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12885 (eval $ac_link) 2>conftest.er1
12887 grep -v '^ *+' conftest.er1
>conftest.err
12889 cat conftest.err
>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } &&
12892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; } &&
12898 { ac_try
='test -s conftest$ac_exeext'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; }; then
12904 ac_cv_strings_strcasecmp
=yes
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.
$ac_ext >&5
12909 ac_cv_strings_strcasecmp
=no
12912 rm -f conftest.err conftest.
$ac_objext \
12913 conftest
$ac_exeext conftest.
$ac_ext
12916 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12917 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12919 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12920 cat >>confdefs.h
<<\_ACEOF
12921 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12925 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12926 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12927 { (exit 1); exit 1; }; }
12932 ac_cpp
='$CPP $CPPFLAGS'
12933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12941 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12942 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12943 if test "${ac_cv_header_stdc+set}" = set; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12946 cat >conftest.
$ac_ext <<_ACEOF
12949 cat confdefs.h
>>conftest.
$ac_ext
12950 cat >>conftest.
$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 #include <stdlib.h>
12953 #include <stdarg.h>
12954 #include <string.h>
12965 rm -f conftest.
$ac_objext
12966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12967 (eval $ac_compile) 2>conftest.er1
12969 grep -v '^ *+' conftest.er1
>conftest.err
12971 cat conftest.err
>&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } &&
12974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12976 (eval $ac_try) 2>&5
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); }; } &&
12980 { ac_try
='test -s conftest.$ac_objext'
12981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 (eval $ac_try) 2>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); }; }; then
12986 ac_cv_header_stdc
=yes
12988 echo "$as_me: failed program was:" >&5
12989 sed 's/^/| /' conftest.
$ac_ext >&5
12991 ac_cv_header_stdc
=no
12993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12995 if test $ac_cv_header_stdc = yes; then
12996 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12997 cat >conftest.
$ac_ext <<_ACEOF
13000 cat confdefs.h
>>conftest.
$ac_ext
13001 cat >>conftest.
$ac_ext <<_ACEOF
13002 /* end confdefs.h. */
13003 #include <string.h>
13006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13007 $EGREP "memchr" >/dev
/null
2>&1; then
13010 ac_cv_header_stdc
=no
13016 if test $ac_cv_header_stdc = yes; then
13017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13018 cat >conftest.
$ac_ext <<_ACEOF
13021 cat confdefs.h
>>conftest.
$ac_ext
13022 cat >>conftest.
$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 #include <stdlib.h>
13027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13028 $EGREP "free" >/dev
/null
2>&1; then
13031 ac_cv_header_stdc
=no
13037 if test $ac_cv_header_stdc = yes; then
13038 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13039 if test "$cross_compiling" = yes; then
13042 cat >conftest.
$ac_ext <<_ACEOF
13045 cat confdefs.h
>>conftest.
$ac_ext
13046 cat >>conftest.
$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13049 #if ((' ' & 0x0FF) == 0x020)
13050 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13051 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13053 # define ISLOWER(c) \
13054 (('a' <= (c) && (c) <= 'i') \
13055 || ('j' <= (c) && (c) <= 'r') \
13056 || ('s' <= (c) && (c) <= 'z'))
13057 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13060 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13065 for (i = 0; i < 256; i++)
13066 if (XOR (islower (i), ISLOWER (i))
13067 || toupper (i) != TOUPPER (i))
13072 rm -f conftest
$ac_exeext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13074 (eval $ac_link) 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; }; then
13085 echo "$as_me: program exited with status $ac_status" >&5
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.
$ac_ext >&5
13089 ( exit $ac_status )
13090 ac_cv_header_stdc
=no
13092 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13096 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13097 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13098 if test $ac_cv_header_stdc = yes; then
13100 cat >>confdefs.h
<<\_ACEOF
13101 #define STDC_HEADERS 1
13106 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13116 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13117 inttypes.h stdint.h unistd.h
13119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13120 echo "$as_me:$LINENO: checking for $ac_header" >&5
13121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 $ac_includes_default
13133 #include <$ac_header>
13135 rm -f conftest.
$ac_objext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13137 (eval $ac_compile) 2>conftest.er1
13139 grep -v '^ *+' conftest.er1
>conftest.err
13141 cat conftest.err
>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; } &&
13150 { ac_try
='test -s conftest.$ac_objext'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; }; then
13156 eval "$as_ac_Header=yes"
13158 echo "$as_me: failed program was:" >&5
13159 sed 's/^/| /' conftest.
$ac_ext >&5
13161 eval "$as_ac_Header=no"
13163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13168 cat >>confdefs.h
<<_ACEOF
13169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13178 for ac_header
in stdlib.h
13180 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13182 echo "$as_me:$LINENO: checking for $ac_header" >&5
13183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13190 # Is the header compilable?
13191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13193 cat >conftest.
$ac_ext <<_ACEOF
13196 cat confdefs.h
>>conftest.
$ac_ext
13197 cat >>conftest.
$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13199 $ac_includes_default
13200 #include <$ac_header>
13202 rm -f conftest.
$ac_objext
13203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13204 (eval $ac_compile) 2>conftest.er1
13206 grep -v '^ *+' conftest.er1
>conftest.err
13208 cat conftest.err
>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); } &&
13211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; } &&
13217 { ac_try
='test -s conftest.$ac_objext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then
13223 ac_header_compiler
=yes
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.
$ac_ext >&5
13228 ac_header_compiler
=no
13230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13232 echo "${ECHO_T}$ac_header_compiler" >&6
13234 # Is the header present?
13235 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13236 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13237 cat >conftest.
$ac_ext <<_ACEOF
13240 cat confdefs.h
>>conftest.
$ac_ext
13241 cat >>conftest.
$ac_ext <<_ACEOF
13242 /* end confdefs.h. */
13243 #include <$ac_header>
13245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13246 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13248 grep -v '^ *+' conftest.er1
>conftest.err
13250 cat conftest.err
>&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); } >/dev
/null
; then
13253 if test -s conftest.err
; then
13254 ac_cpp_err
=$ac_c_preproc_warn_flag
13255 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13262 if test -z "$ac_cpp_err"; then
13263 ac_header_preproc
=yes
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.
$ac_ext >&5
13268 ac_header_preproc
=no
13270 rm -f conftest.err conftest.
$ac_ext
13271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13272 echo "${ECHO_T}$ac_header_preproc" >&6
13274 # So? What about this header?
13275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13280 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13281 ac_header_preproc
=yes
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13288 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13289 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13290 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13291 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13294 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13295 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13298 ## ----------------------------------------- ##
13299 ## Report this to wx-dev@lists.wxwidgets.org ##
13300 ## ----------------------------------------- ##
13303 sed "s/^/$as_me: WARNING: /" >&2
13306 echo "$as_me:$LINENO: checking for $ac_header" >&5
13307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 eval "$as_ac_Header=\$ac_header_preproc"
13313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13318 cat >>confdefs.h
<<_ACEOF
13319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13327 for ac_header
in malloc.h
13329 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13331 echo "$as_me:$LINENO: checking for $ac_header" >&5
13332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13339 # Is the header compilable?
13340 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13342 cat >conftest.
$ac_ext <<_ACEOF
13345 cat confdefs.h
>>conftest.
$ac_ext
13346 cat >>conftest.
$ac_ext <<_ACEOF
13347 /* end confdefs.h. */
13348 $ac_includes_default
13349 #include <$ac_header>
13351 rm -f conftest.
$ac_objext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13353 (eval $ac_compile) 2>conftest.er1
13355 grep -v '^ *+' conftest.er1
>conftest.err
13357 cat conftest.err
>&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); } &&
13360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13362 (eval $ac_try) 2>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); }; } &&
13366 { ac_try
='test -s conftest.$ac_objext'
13367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; }; then
13372 ac_header_compiler
=yes
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.
$ac_ext >&5
13377 ac_header_compiler
=no
13379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13381 echo "${ECHO_T}$ac_header_compiler" >&6
13383 # Is the header present?
13384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13386 cat >conftest.
$ac_ext <<_ACEOF
13389 cat confdefs.h
>>conftest.
$ac_ext
13390 cat >>conftest.
$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 #include <$ac_header>
13394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13397 grep -v '^ *+' conftest.er1
>conftest.err
13399 cat conftest.err
>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } >/dev
/null
; then
13402 if test -s conftest.err
; then
13403 ac_cpp_err
=$ac_c_preproc_warn_flag
13404 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13411 if test -z "$ac_cpp_err"; then
13412 ac_header_preproc
=yes
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13417 ac_header_preproc
=no
13419 rm -f conftest.err conftest.
$ac_ext
13420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13421 echo "${ECHO_T}$ac_header_preproc" >&6
13423 # So? What about this header?
13424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13430 ac_header_preproc
=yes
13433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13447 ## ----------------------------------------- ##
13448 ## Report this to wx-dev@lists.wxwidgets.org ##
13449 ## ----------------------------------------- ##
13452 sed "s/^/$as_me: WARNING: /" >&2
13455 echo "$as_me:$LINENO: checking for $ac_header" >&5
13456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13458 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 eval "$as_ac_Header=\$ac_header_preproc"
13462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13467 cat >>confdefs.h
<<_ACEOF
13468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13476 for ac_header
in unistd.h
13478 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13480 echo "$as_me:$LINENO: checking for $ac_header" >&5
13481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13488 # Is the header compilable?
13489 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13490 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13491 cat >conftest.
$ac_ext <<_ACEOF
13494 cat confdefs.h
>>conftest.
$ac_ext
13495 cat >>conftest.
$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13497 $ac_includes_default
13498 #include <$ac_header>
13500 rm -f conftest.
$ac_objext
13501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13502 (eval $ac_compile) 2>conftest.er1
13504 grep -v '^ *+' conftest.er1
>conftest.err
13506 cat conftest.err
>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } &&
13509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13511 (eval $ac_try) 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; } &&
13515 { ac_try
='test -s conftest.$ac_objext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 ac_header_compiler
=yes
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.
$ac_ext >&5
13526 ac_header_compiler
=no
13528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13530 echo "${ECHO_T}$ac_header_compiler" >&6
13532 # Is the header present?
13533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13535 cat >conftest.
$ac_ext <<_ACEOF
13538 cat confdefs.h
>>conftest.
$ac_ext
13539 cat >>conftest.
$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541 #include <$ac_header>
13543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13546 grep -v '^ *+' conftest.er1
>conftest.err
13548 cat conftest.err
>&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); } >/dev
/null
; then
13551 if test -s conftest.err
; then
13552 ac_cpp_err
=$ac_c_preproc_warn_flag
13553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13560 if test -z "$ac_cpp_err"; then
13561 ac_header_preproc
=yes
13563 echo "$as_me: failed program was:" >&5
13564 sed 's/^/| /' conftest.
$ac_ext >&5
13566 ac_header_preproc
=no
13568 rm -f conftest.err conftest.
$ac_ext
13569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13570 echo "${ECHO_T}$ac_header_preproc" >&6
13572 # So? What about this header?
13573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13579 ac_header_preproc
=yes
13582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13596 ## ----------------------------------------- ##
13597 ## Report this to wx-dev@lists.wxwidgets.org ##
13598 ## ----------------------------------------- ##
13601 sed "s/^/$as_me: WARNING: /" >&2
13604 echo "$as_me:$LINENO: checking for $ac_header" >&5
13605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 eval "$as_ac_Header=\$ac_header_preproc"
13611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13616 cat >>confdefs.h
<<_ACEOF
13617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13625 for ac_header
in wchar.h
13627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13629 echo "$as_me:$LINENO: checking for $ac_header" >&5
13630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13637 # Is the header compilable?
13638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13640 cat >conftest.
$ac_ext <<_ACEOF
13643 cat confdefs.h
>>conftest.
$ac_ext
13644 cat >>conftest.
$ac_ext <<_ACEOF
13645 /* end confdefs.h. */
13646 $ac_includes_default
13647 #include <$ac_header>
13649 rm -f conftest.
$ac_objext
13650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13651 (eval $ac_compile) 2>conftest.er1
13653 grep -v '^ *+' conftest.er1
>conftest.err
13655 cat conftest.err
>&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); } &&
13658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; } &&
13664 { ac_try
='test -s conftest.$ac_objext'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; }; then
13670 ac_header_compiler
=yes
13672 echo "$as_me: failed program was:" >&5
13673 sed 's/^/| /' conftest.
$ac_ext >&5
13675 ac_header_compiler
=no
13677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13679 echo "${ECHO_T}$ac_header_compiler" >&6
13681 # Is the header present?
13682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13684 cat >conftest.
$ac_ext <<_ACEOF
13687 cat confdefs.h
>>conftest.
$ac_ext
13688 cat >>conftest.
$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690 #include <$ac_header>
13692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13693 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13695 grep -v '^ *+' conftest.er1
>conftest.err
13697 cat conftest.err
>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } >/dev
/null
; then
13700 if test -s conftest.err
; then
13701 ac_cpp_err
=$ac_c_preproc_warn_flag
13702 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13709 if test -z "$ac_cpp_err"; then
13710 ac_header_preproc
=yes
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.
$ac_ext >&5
13715 ac_header_preproc
=no
13717 rm -f conftest.err conftest.
$ac_ext
13718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13719 echo "${ECHO_T}$ac_header_preproc" >&6
13721 # So? What about this header?
13722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13728 ac_header_preproc
=yes
13731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13745 ## ----------------------------------------- ##
13746 ## Report this to wx-dev@lists.wxwidgets.org ##
13747 ## ----------------------------------------- ##
13750 sed "s/^/$as_me: WARNING: /" >&2
13753 echo "$as_me:$LINENO: checking for $ac_header" >&5
13754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 eval "$as_ac_Header=\$ac_header_preproc"
13760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13765 cat >>confdefs.h
<<_ACEOF
13766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13774 if test "$ac_cv_header_wchar_h" != "yes"; then
13776 for ac_header
in wcstr.h
13778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13780 echo "$as_me:$LINENO: checking for $ac_header" >&5
13781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13783 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13788 # Is the header compilable?
13789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13791 cat >conftest.
$ac_ext <<_ACEOF
13794 cat confdefs.h
>>conftest.
$ac_ext
13795 cat >>conftest.
$ac_ext <<_ACEOF
13796 /* end confdefs.h. */
13797 $ac_includes_default
13798 #include <$ac_header>
13800 rm -f conftest.
$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try
='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_header_compiler
=yes
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 ac_header_compiler
=no
13828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13830 echo "${ECHO_T}$ac_header_compiler" >&6
13832 # Is the header present?
13833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13835 cat >conftest.
$ac_ext <<_ACEOF
13838 cat confdefs.h
>>conftest.
$ac_ext
13839 cat >>conftest.
$ac_ext <<_ACEOF
13840 /* end confdefs.h. */
13841 #include <$ac_header>
13843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13846 grep -v '^ *+' conftest.er1
>conftest.err
13848 cat conftest.err
>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } >/dev
/null
; then
13851 if test -s conftest.err
; then
13852 ac_cpp_err
=$ac_c_preproc_warn_flag
13853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13860 if test -z "$ac_cpp_err"; then
13861 ac_header_preproc
=yes
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 ac_header_preproc
=no
13868 rm -f conftest.err conftest.
$ac_ext
13869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13870 echo "${ECHO_T}$ac_header_preproc" >&6
13872 # So? What about this header?
13873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13879 ac_header_preproc
=yes
13882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13896 ## ----------------------------------------- ##
13897 ## Report this to wx-dev@lists.wxwidgets.org ##
13898 ## ----------------------------------------- ##
13901 sed "s/^/$as_me: WARNING: /" >&2
13904 echo "$as_me:$LINENO: checking for $ac_header" >&5
13905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 eval "$as_ac_Header=\$ac_header_preproc"
13911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13916 cat >>confdefs.h
<<_ACEOF
13917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13927 for ac_header
in fnmatch.h
13929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13931 echo "$as_me:$LINENO: checking for $ac_header" >&5
13932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13939 # Is the header compilable?
13940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13942 cat >conftest.
$ac_ext <<_ACEOF
13945 cat confdefs.h
>>conftest.
$ac_ext
13946 cat >>conftest.
$ac_ext <<_ACEOF
13947 /* end confdefs.h. */
13948 $ac_includes_default
13949 #include <$ac_header>
13951 rm -f conftest.
$ac_objext
13952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>conftest.er1
13955 grep -v '^ *+' conftest.er1
>conftest.err
13957 cat conftest.err
>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; } &&
13966 { ac_try
='test -s conftest.$ac_objext'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; }; then
13972 ac_header_compiler
=yes
13974 echo "$as_me: failed program was:" >&5
13975 sed 's/^/| /' conftest.
$ac_ext >&5
13977 ac_header_compiler
=no
13979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13981 echo "${ECHO_T}$ac_header_compiler" >&6
13983 # Is the header present?
13984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13986 cat >conftest.
$ac_ext <<_ACEOF
13989 cat confdefs.h
>>conftest.
$ac_ext
13990 cat >>conftest.
$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13992 #include <$ac_header>
13994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13997 grep -v '^ *+' conftest.er1
>conftest.err
13999 cat conftest.err
>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); } >/dev
/null
; then
14002 if test -s conftest.err
; then
14003 ac_cpp_err
=$ac_c_preproc_warn_flag
14004 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14011 if test -z "$ac_cpp_err"; then
14012 ac_header_preproc
=yes
14014 echo "$as_me: failed program was:" >&5
14015 sed 's/^/| /' conftest.
$ac_ext >&5
14017 ac_header_preproc
=no
14019 rm -f conftest.err conftest.
$ac_ext
14020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14021 echo "${ECHO_T}$ac_header_preproc" >&6
14023 # So? What about this header?
14024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14030 ac_header_preproc
=yes
14033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14047 ## ----------------------------------------- ##
14048 ## Report this to wx-dev@lists.wxwidgets.org ##
14049 ## ----------------------------------------- ##
14052 sed "s/^/$as_me: WARNING: /" >&2
14055 echo "$as_me:$LINENO: checking for $ac_header" >&5
14056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 eval "$as_ac_Header=\$ac_header_preproc"
14062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14067 cat >>confdefs.h
<<_ACEOF
14068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14076 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14078 for ac_func
in fnmatch
14080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14081 echo "$as_me:$LINENO: checking for $ac_func" >&5
14082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14083 if eval "test \"\${$as_ac_var+set}\" = set"; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 cat >conftest.
$ac_ext <<_ACEOF
14089 cat confdefs.h
>>conftest.
$ac_ext
14090 cat >>conftest.
$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14094 #define $ac_func innocuous_$ac_func
14096 /* System header to define __stub macros and hopefully few prototypes,
14097 which can conflict with char $ac_func (); below.
14098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14099 <limits.h> exists even on freestanding compilers. */
14102 # include <limits.h>
14104 # include <assert.h>
14109 /* Override any gcc2 internal prototype to avoid an error. */
14114 /* We use char because int might match the return type of a gcc2
14115 builtin and then its argument prototype would still apply. */
14117 /* The GNU C library defines this for functions which it implements
14118 to always fail with ENOSYS. Some functions are actually named
14119 something starting with __ and the normal name is an alias. */
14120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14123 char (*f) () = $ac_func;
14132 return f != $ac_func;
14137 rm -f conftest.
$ac_objext conftest
$ac_exeext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14139 (eval $ac_link) 2>conftest.er1
14141 grep -v '^ *+' conftest.er1
>conftest.err
14143 cat conftest.err
>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; } &&
14152 { ac_try
='test -s conftest$ac_exeext'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; }; then
14158 eval "$as_ac_var=yes"
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.
$ac_ext >&5
14163 eval "$as_ac_var=no"
14165 rm -f conftest.err conftest.
$ac_objext \
14166 conftest
$ac_exeext conftest.
$ac_ext
14168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14170 if test `eval echo '${'$as_ac_var'}'` = yes; then
14171 cat >>confdefs.h
<<_ACEOF
14172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14181 for ac_header
in langinfo.h
14183 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14185 echo "$as_me:$LINENO: checking for $ac_header" >&5
14186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14193 # Is the header compilable?
14194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14196 cat >conftest.
$ac_ext <<_ACEOF
14199 cat confdefs.h
>>conftest.
$ac_ext
14200 cat >>conftest.
$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14202 $ac_includes_default
14203 #include <$ac_header>
14205 rm -f conftest.
$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>conftest.er1
14209 grep -v '^ *+' conftest.er1
>conftest.err
14211 cat conftest.err
>&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } &&
14214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14216 (eval $ac_try) 2>&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); }; } &&
14220 { ac_try
='test -s conftest.$ac_objext'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; }; then
14226 ac_header_compiler
=yes
14228 echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.
$ac_ext >&5
14231 ac_header_compiler
=no
14233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14235 echo "${ECHO_T}$ac_header_compiler" >&6
14237 # Is the header present?
14238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14240 cat >conftest.
$ac_ext <<_ACEOF
14243 cat confdefs.h
>>conftest.
$ac_ext
14244 cat >>conftest.
$ac_ext <<_ACEOF
14245 /* end confdefs.h. */
14246 #include <$ac_header>
14248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14251 grep -v '^ *+' conftest.er1
>conftest.err
14253 cat conftest.err
>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); } >/dev
/null
; then
14256 if test -s conftest.err
; then
14257 ac_cpp_err
=$ac_c_preproc_warn_flag
14258 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14265 if test -z "$ac_cpp_err"; then
14266 ac_header_preproc
=yes
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14271 ac_header_preproc
=no
14273 rm -f conftest.err conftest.
$ac_ext
14274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14275 echo "${ECHO_T}$ac_header_preproc" >&6
14277 # So? What about this header?
14278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14284 ac_header_preproc
=yes
14287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14301 ## ----------------------------------------- ##
14302 ## Report this to wx-dev@lists.wxwidgets.org ##
14303 ## ----------------------------------------- ##
14306 sed "s/^/$as_me: WARNING: /" >&2
14309 echo "$as_me:$LINENO: checking for $ac_header" >&5
14310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14312 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 eval "$as_ac_Header=\$ac_header_preproc"
14316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14321 cat >>confdefs.h
<<_ACEOF
14322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14331 *-pc-os2_emx | *-pc-os2-emx )
14332 if test $ac_cv_header_langinfo_h = "yes"; then
14333 LIBS
="$LIBS -lintl"
14338 if test "$wxUSE_GUI" = "yes"; then
14339 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14341 for ac_header
in X
11/Xlib.h
14343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14345 echo "$as_me:$LINENO: checking for $ac_header" >&5
14346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14353 # Is the header compilable?
14354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14356 cat >conftest.
$ac_ext <<_ACEOF
14359 cat confdefs.h
>>conftest.
$ac_ext
14360 cat >>conftest.
$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362 $ac_includes_default
14363 #include <$ac_header>
14365 rm -f conftest.
$ac_objext
14366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14367 (eval $ac_compile) 2>conftest.er1
14369 grep -v '^ *+' conftest.er1
>conftest.err
14371 cat conftest.err
>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); } &&
14374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; } &&
14380 { ac_try
='test -s conftest.$ac_objext'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; }; then
14386 ac_header_compiler
=yes
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.
$ac_ext >&5
14391 ac_header_compiler
=no
14393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14395 echo "${ECHO_T}$ac_header_compiler" >&6
14397 # Is the header present?
14398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14400 cat >conftest.
$ac_ext <<_ACEOF
14403 cat confdefs.h
>>conftest.
$ac_ext
14404 cat >>conftest.
$ac_ext <<_ACEOF
14405 /* end confdefs.h. */
14406 #include <$ac_header>
14408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14411 grep -v '^ *+' conftest.er1
>conftest.err
14413 cat conftest.err
>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); } >/dev
/null
; then
14416 if test -s conftest.err
; then
14417 ac_cpp_err
=$ac_c_preproc_warn_flag
14418 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14425 if test -z "$ac_cpp_err"; then
14426 ac_header_preproc
=yes
14428 echo "$as_me: failed program was:" >&5
14429 sed 's/^/| /' conftest.
$ac_ext >&5
14431 ac_header_preproc
=no
14433 rm -f conftest.err conftest.
$ac_ext
14434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14435 echo "${ECHO_T}$ac_header_preproc" >&6
14437 # So? What about this header?
14438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14444 ac_header_preproc
=yes
14447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14461 ## ----------------------------------------- ##
14462 ## Report this to wx-dev@lists.wxwidgets.org ##
14463 ## ----------------------------------------- ##
14466 sed "s/^/$as_me: WARNING: /" >&2
14469 echo "$as_me:$LINENO: checking for $ac_header" >&5
14470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14474 eval "$as_ac_Header=\$ac_header_preproc"
14476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14481 cat >>confdefs.h
<<_ACEOF
14482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14490 for ac_header
in X
11/XKBlib.h
14492 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14493 echo "$as_me:$LINENO: checking for $ac_header" >&5
14494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14496 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 cat >conftest.
$ac_ext <<_ACEOF
14501 cat confdefs.h
>>conftest.
$ac_ext
14502 cat >>conftest.
$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14505 #if HAVE_X11_XLIB_H
14506 #include <X11/Xlib.h>
14510 #include <$ac_header>
14512 rm -f conftest.
$ac_objext
14513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14514 (eval $ac_compile) 2>conftest.er1
14516 grep -v '^ *+' conftest.er1
>conftest.err
14518 cat conftest.err
>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } &&
14521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14523 (eval $ac_try) 2>&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); }; } &&
14527 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14533 eval "$as_ac_Header=yes"
14535 echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.
$ac_ext >&5
14538 eval "$as_ac_Header=no"
14540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14545 cat >>confdefs.h
<<_ACEOF
14546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14557 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14558 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14559 if test "${ac_cv_c_const+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 cat >conftest.
$ac_ext <<_ACEOF
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14572 /* FIXME: Include the comments suggested by Paul. */
14573 #ifndef __cplusplus
14574 /* Ultrix mips cc rejects this. */
14575 typedef int charset[2];
14577 /* SunOS 4.1.1 cc rejects this. */
14578 char const *const *ccp;
14580 /* NEC SVR4.0.2 mips cc rejects this. */
14581 struct point {int x, y;};
14582 static struct point const zero = {0,0};
14583 /* AIX XL C 1.02.0.0 rejects this.
14584 It does not let you subtract one const X* pointer from another in
14585 an arm of an if-expression whose if-part is not a constant
14587 const char *g = "string";
14588 ccp = &g + (g ? g-g : 0);
14589 /* HPUX 7.0 cc rejects these. */
14592 ccp = (char const *const *) p;
14593 { /* SCO 3.2v4 cc rejects this. */
14595 char const *s = 0 ? (char *) 0 : (char const *) 0;
14599 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14600 int x[] = {25, 17};
14601 const int *foo = &x[0];
14604 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14605 typedef const int *iptr;
14609 { /* AIX XL C 1.02.0.0 rejects this saying
14610 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14611 struct s { int j; const int *ap[3]; };
14612 struct s *b; b->j = 5;
14614 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14615 const int foo = 10;
14623 rm -f conftest.
$ac_objext
14624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625 (eval $ac_compile) 2>conftest.er1
14627 grep -v '^ *+' conftest.er1
>conftest.err
14629 cat conftest.err
>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } &&
14632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try
='test -s conftest.$ac_objext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.
$ac_ext >&5
14651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14653 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14654 echo "${ECHO_T}$ac_cv_c_const" >&6
14655 if test $ac_cv_c_const = no
; then
14657 cat >>confdefs.h
<<\_ACEOF
14663 echo "$as_me:$LINENO: checking for inline" >&5
14664 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14665 if test "${ac_cv_c_inline+set}" = set; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 for ac_kw
in inline __inline__ __inline
; do
14670 cat >conftest.
$ac_ext <<_ACEOF
14673 cat confdefs.h
>>conftest.
$ac_ext
14674 cat >>conftest.
$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676 #ifndef __cplusplus
14678 static $ac_kw foo_t static_foo () {return 0; }
14679 $ac_kw foo_t foo () {return 0; }
14683 rm -f conftest.
$ac_objext
14684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14685 (eval $ac_compile) 2>conftest.er1
14687 grep -v '^ *+' conftest.er1
>conftest.err
14689 cat conftest.err
>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try
='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 ac_cv_c_inline
=$ac_kw; break
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14714 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14715 echo "${ECHO_T}$ac_cv_c_inline" >&6
14718 case $ac_cv_c_inline in
14721 case $ac_cv_c_inline in
14723 *) ac_val
=$ac_cv_c_inline;;
14725 cat >>confdefs.h
<<_ACEOF
14726 #ifndef __cplusplus
14727 #define inline $ac_val
14734 echo "$as_me:$LINENO: checking for char" >&5
14735 echo $ECHO_N "checking for char... $ECHO_C" >&6
14736 if test "${ac_cv_type_char+set}" = set; then
14737 echo $ECHO_N "(cached) $ECHO_C" >&6
14739 cat >conftest.
$ac_ext <<_ACEOF
14742 cat confdefs.h
>>conftest.
$ac_ext
14743 cat >>conftest.
$ac_ext <<_ACEOF
14744 /* end confdefs.h. */
14745 $ac_includes_default
14757 rm -f conftest.
$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759 (eval $ac_compile) 2>conftest.er1
14761 grep -v '^ *+' conftest.er1
>conftest.err
14763 cat conftest.err
>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } &&
14766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; } &&
14772 { ac_try
='test -s conftest.$ac_objext'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; }; then
14778 ac_cv_type_char
=yes
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.
$ac_ext >&5
14785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14787 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14788 echo "${ECHO_T}$ac_cv_type_char" >&6
14790 echo "$as_me:$LINENO: checking size of char" >&5
14791 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14792 if test "${ac_cv_sizeof_char+set}" = set; then
14793 echo $ECHO_N "(cached) $ECHO_C" >&6
14795 if test "$ac_cv_type_char" = yes; then
14796 # The cast to unsigned long works around a bug in the HP C Compiler
14797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14799 # This bug is HP SR number 8606223364.
14800 if test "$cross_compiling" = yes; then
14801 # Depending upon the size, compute the lo and hi bounds.
14802 cat >conftest.
$ac_ext <<_ACEOF
14805 cat confdefs.h
>>conftest.
$ac_ext
14806 cat >>conftest.
$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 $ac_includes_default
14812 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14819 rm -f conftest.
$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>conftest.er1
14823 grep -v '^ *+' conftest.er1
>conftest.err
14825 cat conftest.err
>&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14830 (eval $ac_try) 2>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }; } &&
14834 { ac_try
='test -s conftest.$ac_objext'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; }; then
14842 cat >conftest.
$ac_ext <<_ACEOF
14845 cat confdefs.h
>>conftest.
$ac_ext
14846 cat >>conftest.
$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 $ac_includes_default
14852 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14859 rm -f conftest.
$ac_objext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14861 (eval $ac_compile) 2>conftest.er1
14863 grep -v '^ *+' conftest.er1
>conftest.err
14865 cat conftest.err
>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } &&
14868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; } &&
14874 { ac_try
='test -s conftest.$ac_objext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14880 ac_hi
=$ac_mid; break
14882 echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.
$ac_ext >&5
14885 ac_lo
=`expr $ac_mid + 1`
14886 if test $ac_lo -le $ac_mid; then
14890 ac_mid
=`expr 2 '*' $ac_mid + 1`
14892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.
$ac_ext >&5
14898 cat >conftest.
$ac_ext <<_ACEOF
14901 cat confdefs.h
>>conftest.
$ac_ext
14902 cat >>conftest.
$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 $ac_includes_default
14908 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14915 rm -f conftest.
$ac_objext
14916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14917 (eval $ac_compile) 2>conftest.er1
14919 grep -v '^ *+' conftest.er1
>conftest.err
14921 cat conftest.err
>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } &&
14924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14926 (eval $ac_try) 2>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); }; } &&
14930 { ac_try
='test -s conftest.$ac_objext'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; }; then
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 $ac_includes_default
14948 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14955 rm -f conftest.
$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>conftest.er1
14959 grep -v '^ *+' conftest.er1
>conftest.err
14961 cat conftest.err
>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } &&
14964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; } &&
14970 { ac_try
='test -s conftest.$ac_objext'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; }; then
14976 ac_lo
=$ac_mid; break
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14981 ac_hi
=`expr '(' $ac_mid ')' - 1`
14982 if test $ac_mid -le $ac_hi; then
14986 ac_mid
=`expr 2 '*' $ac_mid`
14988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.
$ac_ext >&5
14996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14999 # Binary search between lo and hi bounds.
15000 while test "x$ac_lo" != "x$ac_hi"; do
15001 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15002 cat >conftest.
$ac_ext <<_ACEOF
15005 cat confdefs.h
>>conftest.
$ac_ext
15006 cat >>conftest.
$ac_ext <<_ACEOF
15007 /* end confdefs.h. */
15008 $ac_includes_default
15012 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15019 rm -f conftest.
$ac_objext
15020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15021 (eval $ac_compile) 2>conftest.er1
15023 grep -v '^ *+' conftest.er1
>conftest.err
15025 cat conftest.err
>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; } &&
15034 { ac_try
='test -s conftest.$ac_objext'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.
$ac_ext >&5
15045 ac_lo
=`expr '(' $ac_mid ')' + 1`
15047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15050 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15051 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15052 See \`config.log' for more details." >&5
15053 echo "$as_me: error: cannot compute sizeof (char), 77
15054 See \`config.log' for more details." >&2;}
15055 { (exit 1); exit 1; }; } ;;
15058 if test "$cross_compiling" = yes; then
15059 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15060 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15061 { (exit 1); exit 1; }; }
15063 cat >conftest.
$ac_ext <<_ACEOF
15066 cat confdefs.h
>>conftest.
$ac_ext
15067 cat >>conftest.
$ac_ext <<_ACEOF
15068 /* end confdefs.h. */
15069 $ac_includes_default
15070 long longval () { return (long) (sizeof (char)); }
15071 unsigned long ulongval () { return (long) (sizeof (char)); }
15073 #include <stdlib.h>
15078 FILE *f = fopen ("conftest.val", "w");
15081 if (((long) (sizeof (char))) < 0)
15083 long i = longval ();
15084 if (i != ((long) (sizeof (char))))
15086 fprintf (f, "%ld\n", i);
15090 unsigned long i = ulongval ();
15091 if (i != ((long) (sizeof (char))))
15093 fprintf (f, "%lu\n", i);
15095 exit (ferror (f) || fclose (f) != 0);
15101 rm -f conftest
$ac_exeext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15103 (eval $ac_link) 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 ac_cv_sizeof_char
=`cat conftest.val`
15114 echo "$as_me: program exited with status $ac_status" >&5
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.
$ac_ext >&5
15118 ( exit $ac_status )
15119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15120 See \`config.log' for more details." >&5
15121 echo "$as_me: error: cannot compute sizeof (char), 77
15122 See \`config.log' for more details." >&2;}
15123 { (exit 1); exit 1; }; }
15125 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15130 ac_cv_sizeof_char
=0
15133 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15134 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15135 cat >>confdefs.h
<<_ACEOF
15136 #define SIZEOF_CHAR $ac_cv_sizeof_char
15140 echo "$as_me:$LINENO: checking for short" >&5
15141 echo $ECHO_N "checking for short... $ECHO_C" >&6
15142 if test "${ac_cv_type_short+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 cat >conftest.
$ac_ext <<_ACEOF
15148 cat confdefs.h
>>conftest.
$ac_ext
15149 cat >>conftest.
$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 $ac_includes_default
15157 if (sizeof (short))
15163 rm -f conftest.
$ac_objext
15164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15165 (eval $ac_compile) 2>conftest.er1
15167 grep -v '^ *+' conftest.er1
>conftest.err
15169 cat conftest.err
>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } &&
15172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try
='test -s conftest.$ac_objext'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15184 ac_cv_type_short
=yes
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.
$ac_ext >&5
15189 ac_cv_type_short
=no
15191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15193 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15194 echo "${ECHO_T}$ac_cv_type_short" >&6
15196 echo "$as_me:$LINENO: checking size of short" >&5
15197 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15198 if test "${ac_cv_sizeof_short+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 if test "$ac_cv_type_short" = yes; then
15202 # The cast to unsigned long works around a bug in the HP C Compiler
15203 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15204 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15205 # This bug is HP SR number 8606223364.
15206 if test "$cross_compiling" = yes; then
15207 # Depending upon the size, compute the lo and hi bounds.
15208 cat >conftest.
$ac_ext <<_ACEOF
15211 cat confdefs.h
>>conftest.
$ac_ext
15212 cat >>conftest.
$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214 $ac_includes_default
15218 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15225 rm -f conftest.
$ac_objext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15227 (eval $ac_compile) 2>conftest.er1
15229 grep -v '^ *+' conftest.er1
>conftest.err
15231 cat conftest.err
>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; } &&
15240 { ac_try
='test -s conftest.$ac_objext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15248 cat >conftest.
$ac_ext <<_ACEOF
15251 cat confdefs.h
>>conftest.
$ac_ext
15252 cat >>conftest.
$ac_ext <<_ACEOF
15253 /* end confdefs.h. */
15254 $ac_includes_default
15258 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15265 rm -f conftest.
$ac_objext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15267 (eval $ac_compile) 2>conftest.er1
15269 grep -v '^ *+' conftest.er1
>conftest.err
15271 cat conftest.err
>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } &&
15274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15276 (eval $ac_try) 2>&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); }; } &&
15280 { ac_try
='test -s conftest.$ac_objext'
15281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 (eval $ac_try) 2>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); }; }; then
15286 ac_hi
=$ac_mid; break
15288 echo "$as_me: failed program was:" >&5
15289 sed 's/^/| /' conftest.
$ac_ext >&5
15291 ac_lo
=`expr $ac_mid + 1`
15292 if test $ac_lo -le $ac_mid; then
15296 ac_mid
=`expr 2 '*' $ac_mid + 1`
15298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.
$ac_ext >&5
15304 cat >conftest.
$ac_ext <<_ACEOF
15307 cat confdefs.h
>>conftest.
$ac_ext
15308 cat >>conftest.
$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 $ac_includes_default
15314 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15321 rm -f conftest.
$ac_objext
15322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15323 (eval $ac_compile) 2>conftest.er1
15325 grep -v '^ *+' conftest.er1
>conftest.err
15327 cat conftest.err
>&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); } &&
15330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try
='test -s conftest.$ac_objext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15344 cat >conftest.
$ac_ext <<_ACEOF
15347 cat confdefs.h
>>conftest.
$ac_ext
15348 cat >>conftest.
$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15350 $ac_includes_default
15354 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15361 rm -f conftest.
$ac_objext
15362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15363 (eval $ac_compile) 2>conftest.er1
15365 grep -v '^ *+' conftest.er1
>conftest.err
15367 cat conftest.err
>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } &&
15370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; } &&
15376 { ac_try
='test -s conftest.$ac_objext'
15377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15378 (eval $ac_try) 2>&5
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); }; }; then
15382 ac_lo
=$ac_mid; break
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.
$ac_ext >&5
15387 ac_hi
=`expr '(' $ac_mid ')' - 1`
15388 if test $ac_mid -le $ac_hi; then
15392 ac_mid
=`expr 2 '*' $ac_mid`
15394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15397 echo "$as_me: failed program was:" >&5
15398 sed 's/^/| /' conftest.
$ac_ext >&5
15402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15405 # Binary search between lo and hi bounds.
15406 while test "x$ac_lo" != "x$ac_hi"; do
15407 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15408 cat >conftest.
$ac_ext <<_ACEOF
15411 cat confdefs.h
>>conftest.
$ac_ext
15412 cat >>conftest.
$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15414 $ac_includes_default
15418 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15425 rm -f conftest.
$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>conftest.er1
15429 grep -v '^ *+' conftest.er1
>conftest.err
15431 cat conftest.err
>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } &&
15434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try
='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.
$ac_ext >&5
15451 ac_lo
=`expr '(' $ac_mid ')' + 1`
15453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15456 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15457 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15458 See \`config.log' for more details." >&5
15459 echo "$as_me: error: cannot compute sizeof (short), 77
15460 See \`config.log' for more details." >&2;}
15461 { (exit 1); exit 1; }; } ;;
15464 if test "$cross_compiling" = yes; then
15465 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15466 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15467 { (exit 1); exit 1; }; }
15469 cat >conftest.
$ac_ext <<_ACEOF
15472 cat confdefs.h
>>conftest.
$ac_ext
15473 cat >>conftest.
$ac_ext <<_ACEOF
15474 /* end confdefs.h. */
15475 $ac_includes_default
15476 long longval () { return (long) (sizeof (short)); }
15477 unsigned long ulongval () { return (long) (sizeof (short)); }
15479 #include <stdlib.h>
15484 FILE *f = fopen ("conftest.val", "w");
15487 if (((long) (sizeof (short))) < 0)
15489 long i = longval ();
15490 if (i != ((long) (sizeof (short))))
15492 fprintf (f, "%ld\n", i);
15496 unsigned long i = ulongval ();
15497 if (i != ((long) (sizeof (short))))
15499 fprintf (f, "%lu\n", i);
15501 exit (ferror (f) || fclose (f) != 0);
15507 rm -f conftest
$ac_exeext
15508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15509 (eval $ac_link) 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15514 (eval $ac_try) 2>&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); }; }; then
15518 ac_cv_sizeof_short
=`cat conftest.val`
15520 echo "$as_me: program exited with status $ac_status" >&5
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.
$ac_ext >&5
15524 ( exit $ac_status )
15525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15526 See \`config.log' for more details." >&5
15527 echo "$as_me: error: cannot compute sizeof (short), 77
15528 See \`config.log' for more details." >&2;}
15529 { (exit 1); exit 1; }; }
15531 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15536 ac_cv_sizeof_short
=0
15539 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15540 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15541 cat >>confdefs.h
<<_ACEOF
15542 #define SIZEOF_SHORT $ac_cv_sizeof_short
15546 echo "$as_me:$LINENO: checking for void *" >&5
15547 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15548 if test "${ac_cv_type_void_p+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 cat >conftest.
$ac_ext <<_ACEOF
15554 cat confdefs.h
>>conftest.
$ac_ext
15555 cat >>conftest.
$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557 $ac_includes_default
15563 if (sizeof (void *))
15569 rm -f conftest.
$ac_objext
15570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15571 (eval $ac_compile) 2>conftest.er1
15573 grep -v '^ *+' conftest.er1
>conftest.err
15575 cat conftest.err
>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; } &&
15584 { ac_try
='test -s conftest.$ac_objext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15590 ac_cv_type_void_p
=yes
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.
$ac_ext >&5
15595 ac_cv_type_void_p
=no
15597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15599 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15600 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15602 echo "$as_me:$LINENO: checking size of void *" >&5
15603 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15604 if test "${ac_cv_sizeof_void_p+set}" = set; then
15605 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 if test "$ac_cv_type_void_p" = yes; then
15608 # The cast to unsigned long works around a bug in the HP C Compiler
15609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15611 # This bug is HP SR number 8606223364.
15612 if test "$cross_compiling" = yes; then
15613 # Depending upon the size, compute the lo and hi bounds.
15614 cat >conftest.
$ac_ext <<_ACEOF
15617 cat confdefs.h
>>conftest.
$ac_ext
15618 cat >>conftest.
$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620 $ac_includes_default
15624 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15631 rm -f conftest.
$ac_objext
15632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15633 (eval $ac_compile) 2>conftest.er1
15635 grep -v '^ *+' conftest.er1
>conftest.err
15637 cat conftest.err
>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } &&
15640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; } &&
15646 { ac_try
='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15654 cat >conftest.
$ac_ext <<_ACEOF
15657 cat confdefs.h
>>conftest.
$ac_ext
15658 cat >>conftest.
$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660 $ac_includes_default
15664 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15671 rm -f conftest.
$ac_objext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15673 (eval $ac_compile) 2>conftest.er1
15675 grep -v '^ *+' conftest.er1
>conftest.err
15677 cat conftest.err
>&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } &&
15680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; } &&
15686 { ac_try
='test -s conftest.$ac_objext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 ac_hi
=$ac_mid; break
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 ac_lo
=`expr $ac_mid + 1`
15698 if test $ac_lo -le $ac_mid; then
15702 ac_mid
=`expr 2 '*' $ac_mid + 1`
15704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.
$ac_ext >&5
15710 cat >conftest.
$ac_ext <<_ACEOF
15713 cat confdefs.h
>>conftest.
$ac_ext
15714 cat >>conftest.
$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15716 $ac_includes_default
15720 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15727 rm -f conftest.
$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>conftest.er1
15731 grep -v '^ *+' conftest.er1
>conftest.err
15733 cat conftest.err
>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); } &&
15736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; } &&
15742 { ac_try
='test -s conftest.$ac_objext'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; }; then
15750 cat >conftest.
$ac_ext <<_ACEOF
15753 cat confdefs.h
>>conftest.
$ac_ext
15754 cat >>conftest.
$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15756 $ac_includes_default
15760 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15767 rm -f conftest.
$ac_objext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15769 (eval $ac_compile) 2>conftest.er1
15771 grep -v '^ *+' conftest.er1
>conftest.err
15773 cat conftest.err
>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; } &&
15782 { ac_try
='test -s conftest.$ac_objext'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; }; then
15788 ac_lo
=$ac_mid; break
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.
$ac_ext >&5
15793 ac_hi
=`expr '(' $ac_mid ')' - 1`
15794 if test $ac_mid -le $ac_hi; then
15798 ac_mid
=`expr 2 '*' $ac_mid`
15800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.
$ac_ext >&5
15808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15811 # Binary search between lo and hi bounds.
15812 while test "x$ac_lo" != "x$ac_hi"; do
15813 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15814 cat >conftest.
$ac_ext <<_ACEOF
15817 cat confdefs.h
>>conftest.
$ac_ext
15818 cat >>conftest.
$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15820 $ac_includes_default
15824 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15831 rm -f conftest.
$ac_objext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15833 (eval $ac_compile) 2>conftest.er1
15835 grep -v '^ *+' conftest.er1
>conftest.err
15837 cat conftest.err
>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try
='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.
$ac_ext >&5
15857 ac_lo
=`expr '(' $ac_mid ')' + 1`
15859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15862 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15863 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15864 See \`config.log' for more details." >&5
15865 echo "$as_me: error: cannot compute sizeof (void *), 77
15866 See \`config.log' for more details." >&2;}
15867 { (exit 1); exit 1; }; } ;;
15870 if test "$cross_compiling" = yes; then
15871 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15872 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15873 { (exit 1); exit 1; }; }
15875 cat >conftest.
$ac_ext <<_ACEOF
15878 cat confdefs.h
>>conftest.
$ac_ext
15879 cat >>conftest.
$ac_ext <<_ACEOF
15880 /* end confdefs.h. */
15881 $ac_includes_default
15882 long longval () { return (long) (sizeof (void *)); }
15883 unsigned long ulongval () { return (long) (sizeof (void *)); }
15885 #include <stdlib.h>
15890 FILE *f = fopen ("conftest.val", "w");
15893 if (((long) (sizeof (void *))) < 0)
15895 long i = longval ();
15896 if (i != ((long) (sizeof (void *))))
15898 fprintf (f, "%ld\n", i);
15902 unsigned long i = ulongval ();
15903 if (i != ((long) (sizeof (void *))))
15905 fprintf (f, "%lu\n", i);
15907 exit (ferror (f) || fclose (f) != 0);
15913 rm -f conftest
$ac_exeext
15914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15915 (eval $ac_link) 2>&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15920 (eval $ac_try) 2>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); }; }; then
15924 ac_cv_sizeof_void_p
=`cat conftest.val`
15926 echo "$as_me: program exited with status $ac_status" >&5
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.
$ac_ext >&5
15930 ( exit $ac_status )
15931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15932 See \`config.log' for more details." >&5
15933 echo "$as_me: error: cannot compute sizeof (void *), 77
15934 See \`config.log' for more details." >&2;}
15935 { (exit 1); exit 1; }; }
15937 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15942 ac_cv_sizeof_void_p
=0
15945 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15946 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15947 cat >>confdefs.h
<<_ACEOF
15948 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15952 echo "$as_me:$LINENO: checking for int" >&5
15953 echo $ECHO_N "checking for int... $ECHO_C" >&6
15954 if test "${ac_cv_type_int+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 cat >conftest.
$ac_ext <<_ACEOF
15960 cat confdefs.h
>>conftest.
$ac_ext
15961 cat >>conftest.
$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15975 rm -f conftest.
$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; } &&
15990 { ac_try
='test -s conftest.$ac_objext'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; }; then
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.
$ac_ext >&5
16003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16005 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16006 echo "${ECHO_T}$ac_cv_type_int" >&6
16008 echo "$as_me:$LINENO: checking size of int" >&5
16009 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16010 if test "${ac_cv_sizeof_int+set}" = set; then
16011 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 if test "$ac_cv_type_int" = yes; then
16014 # The cast to unsigned long works around a bug in the HP C Compiler
16015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16017 # This bug is HP SR number 8606223364.
16018 if test "$cross_compiling" = yes; then
16019 # Depending upon the size, compute the lo and hi bounds.
16020 cat >conftest.
$ac_ext <<_ACEOF
16023 cat confdefs.h
>>conftest.
$ac_ext
16024 cat >>conftest.
$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16026 $ac_includes_default
16030 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16037 rm -f conftest.
$ac_objext
16038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16039 (eval $ac_compile) 2>conftest.er1
16041 grep -v '^ *+' conftest.er1
>conftest.err
16043 cat conftest.err
>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); } &&
16046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; } &&
16052 { ac_try
='test -s conftest.$ac_objext'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; }; then
16060 cat >conftest.
$ac_ext <<_ACEOF
16063 cat confdefs.h
>>conftest.
$ac_ext
16064 cat >>conftest.
$ac_ext <<_ACEOF
16065 /* end confdefs.h. */
16066 $ac_includes_default
16070 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16077 rm -f conftest.
$ac_objext
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>conftest.er1
16081 grep -v '^ *+' conftest.er1
>conftest.err
16083 cat conftest.err
>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } &&
16086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; } &&
16092 { ac_try
='test -s conftest.$ac_objext'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; }; then
16098 ac_hi
=$ac_mid; break
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.
$ac_ext >&5
16103 ac_lo
=`expr $ac_mid + 1`
16104 if test $ac_lo -le $ac_mid; then
16108 ac_mid
=`expr 2 '*' $ac_mid + 1`
16110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.
$ac_ext >&5
16116 cat >conftest.
$ac_ext <<_ACEOF
16119 cat confdefs.h
>>conftest.
$ac_ext
16120 cat >>conftest.
$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 $ac_includes_default
16126 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16133 rm -f conftest.
$ac_objext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16135 (eval $ac_compile) 2>conftest.er1
16137 grep -v '^ *+' conftest.er1
>conftest.err
16139 cat conftest.err
>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; } &&
16148 { ac_try
='test -s conftest.$ac_objext'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; }; then
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 (int))) >= $ac_mid)];
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" || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try
='test -s conftest.$ac_objext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16194 ac_lo
=$ac_mid; break
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.
$ac_ext >&5
16199 ac_hi
=`expr '(' $ac_mid ')' - 1`
16200 if test $ac_mid -le $ac_hi; then
16204 ac_mid
=`expr 2 '*' $ac_mid`
16206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16209 echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.
$ac_ext >&5
16214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16217 # Binary search between lo and hi bounds.
16218 while test "x$ac_lo" != "x$ac_hi"; do
16219 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16220 cat >conftest.
$ac_ext <<_ACEOF
16223 cat confdefs.h
>>conftest.
$ac_ext
16224 cat >>conftest.
$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 $ac_includes_default
16230 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16237 rm -f conftest.
$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1
>conftest.err
16243 cat conftest.err
>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try
='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 ac_lo
=`expr '(' $ac_mid ')' + 1`
16265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16268 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16269 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16270 See \`config.log' for more details." >&5
16271 echo "$as_me: error: cannot compute sizeof (int), 77
16272 See \`config.log' for more details." >&2;}
16273 { (exit 1); exit 1; }; } ;;
16276 if test "$cross_compiling" = yes; then
16277 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16278 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16279 { (exit 1); exit 1; }; }
16281 cat >conftest.
$ac_ext <<_ACEOF
16284 cat confdefs.h
>>conftest.
$ac_ext
16285 cat >>conftest.
$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16287 $ac_includes_default
16288 long longval () { return (long) (sizeof (int)); }
16289 unsigned long ulongval () { return (long) (sizeof (int)); }
16291 #include <stdlib.h>
16296 FILE *f = fopen ("conftest.val", "w");
16299 if (((long) (sizeof (int))) < 0)
16301 long i = longval ();
16302 if (i != ((long) (sizeof (int))))
16304 fprintf (f, "%ld\n", i);
16308 unsigned long i = ulongval ();
16309 if (i != ((long) (sizeof (int))))
16311 fprintf (f, "%lu\n", i);
16313 exit (ferror (f) || fclose (f) != 0);
16319 rm -f conftest
$ac_exeext
16320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16321 (eval $ac_link) 2>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16326 (eval $ac_try) 2>&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); }; }; then
16330 ac_cv_sizeof_int
=`cat conftest.val`
16332 echo "$as_me: program exited with status $ac_status" >&5
16333 echo "$as_me: failed program was:" >&5
16334 sed 's/^/| /' conftest.
$ac_ext >&5
16336 ( exit $ac_status )
16337 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16338 See \`config.log' for more details." >&5
16339 echo "$as_me: error: cannot compute sizeof (int), 77
16340 See \`config.log' for more details." >&2;}
16341 { (exit 1); exit 1; }; }
16343 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16351 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16352 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16353 cat >>confdefs.h
<<_ACEOF
16354 #define SIZEOF_INT $ac_cv_sizeof_int
16358 echo "$as_me:$LINENO: checking for long" >&5
16359 echo $ECHO_N "checking for long... $ECHO_C" >&6
16360 if test "${ac_cv_type_long+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 cat >conftest.
$ac_ext <<_ACEOF
16366 cat confdefs.h
>>conftest.
$ac_ext
16367 cat >>conftest.
$ac_ext <<_ACEOF
16368 /* end confdefs.h. */
16369 $ac_includes_default
16381 rm -f conftest.
$ac_objext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>conftest.er1
16385 grep -v '^ *+' conftest.er1
>conftest.err
16387 cat conftest.err
>&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); } &&
16390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try
='test -s conftest.$ac_objext'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; }; then
16402 ac_cv_type_long
=yes
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.
$ac_ext >&5
16409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16411 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16412 echo "${ECHO_T}$ac_cv_type_long" >&6
16414 echo "$as_me:$LINENO: checking size of long" >&5
16415 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16416 if test "${ac_cv_sizeof_long+set}" = set; then
16417 echo $ECHO_N "(cached) $ECHO_C" >&6
16419 if test "$ac_cv_type_long" = yes; then
16420 # The cast to unsigned long works around a bug in the HP C Compiler
16421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16423 # This bug is HP SR number 8606223364.
16424 if test "$cross_compiling" = yes; then
16425 # Depending upon the size, compute the lo and hi bounds.
16426 cat >conftest.
$ac_ext <<_ACEOF
16429 cat confdefs.h
>>conftest.
$ac_ext
16430 cat >>conftest.
$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16432 $ac_includes_default
16436 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16443 rm -f conftest.
$ac_objext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16445 (eval $ac_compile) 2>conftest.er1
16447 grep -v '^ *+' conftest.er1
>conftest.err
16449 cat conftest.err
>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } &&
16452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; } &&
16458 { ac_try
='test -s conftest.$ac_objext'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; }; then
16466 cat >conftest.
$ac_ext <<_ACEOF
16469 cat confdefs.h
>>conftest.
$ac_ext
16470 cat >>conftest.
$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16472 $ac_includes_default
16476 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16483 rm -f conftest.
$ac_objext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16485 (eval $ac_compile) 2>conftest.er1
16487 grep -v '^ *+' conftest.er1
>conftest.err
16489 cat conftest.err
>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } &&
16492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; } &&
16498 { ac_try
='test -s conftest.$ac_objext'
16499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16500 (eval $ac_try) 2>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); }; }; then
16504 ac_hi
=$ac_mid; break
16506 echo "$as_me: failed program was:" >&5
16507 sed 's/^/| /' conftest.
$ac_ext >&5
16509 ac_lo
=`expr $ac_mid + 1`
16510 if test $ac_lo -le $ac_mid; then
16514 ac_mid
=`expr 2 '*' $ac_mid + 1`
16516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.
$ac_ext >&5
16522 cat >conftest.
$ac_ext <<_ACEOF
16525 cat confdefs.h
>>conftest.
$ac_ext
16526 cat >>conftest.
$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 $ac_includes_default
16532 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16539 rm -f conftest.
$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16543 grep -v '^ *+' conftest.er1
>conftest.err
16545 cat conftest.err
>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; } &&
16554 { ac_try
='test -s conftest.$ac_objext'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; }; then
16562 cat >conftest.
$ac_ext <<_ACEOF
16565 cat confdefs.h
>>conftest.
$ac_ext
16566 cat >>conftest.
$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 $ac_includes_default
16572 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16579 rm -f conftest.
$ac_objext
16580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16581 (eval $ac_compile) 2>conftest.er1
16583 grep -v '^ *+' conftest.er1
>conftest.err
16585 cat conftest.err
>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } &&
16588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; } &&
16594 { ac_try
='test -s conftest.$ac_objext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16600 ac_lo
=$ac_mid; break
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.
$ac_ext >&5
16605 ac_hi
=`expr '(' $ac_mid ')' - 1`
16606 if test $ac_mid -le $ac_hi; then
16610 ac_mid
=`expr 2 '*' $ac_mid`
16612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.
$ac_ext >&5
16620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16623 # Binary search between lo and hi bounds.
16624 while test "x$ac_lo" != "x$ac_hi"; do
16625 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16626 cat >conftest.
$ac_ext <<_ACEOF
16629 cat confdefs.h
>>conftest.
$ac_ext
16630 cat >>conftest.
$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 $ac_includes_default
16636 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16643 rm -f conftest.
$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16647 grep -v '^ *+' conftest.er1
>conftest.err
16649 cat conftest.err
>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try
='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16669 ac_lo
=`expr '(' $ac_mid ')' + 1`
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16674 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16675 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16676 See \`config.log' for more details." >&5
16677 echo "$as_me: error: cannot compute sizeof (long), 77
16678 See \`config.log' for more details." >&2;}
16679 { (exit 1); exit 1; }; } ;;
16682 if test "$cross_compiling" = yes; then
16683 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16684 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16685 { (exit 1); exit 1; }; }
16687 cat >conftest.
$ac_ext <<_ACEOF
16690 cat confdefs.h
>>conftest.
$ac_ext
16691 cat >>conftest.
$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693 $ac_includes_default
16694 long longval () { return (long) (sizeof (long)); }
16695 unsigned long ulongval () { return (long) (sizeof (long)); }
16697 #include <stdlib.h>
16702 FILE *f = fopen ("conftest.val", "w");
16705 if (((long) (sizeof (long))) < 0)
16707 long i = longval ();
16708 if (i != ((long) (sizeof (long))))
16710 fprintf (f, "%ld\n", i);
16714 unsigned long i = ulongval ();
16715 if (i != ((long) (sizeof (long))))
16717 fprintf (f, "%lu\n", i);
16719 exit (ferror (f) || fclose (f) != 0);
16725 rm -f conftest
$ac_exeext
16726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16727 (eval $ac_link) 2>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_cv_sizeof_long
=`cat conftest.val`
16738 echo "$as_me: program exited with status $ac_status" >&5
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.
$ac_ext >&5
16742 ( exit $ac_status )
16743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16744 See \`config.log' for more details." >&5
16745 echo "$as_me: error: cannot compute sizeof (long), 77
16746 See \`config.log' for more details." >&2;}
16747 { (exit 1); exit 1; }; }
16749 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16754 ac_cv_sizeof_long
=0
16757 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16758 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16759 cat >>confdefs.h
<<_ACEOF
16760 #define SIZEOF_LONG $ac_cv_sizeof_long
16764 echo "$as_me:$LINENO: checking for size_t" >&5
16765 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16766 if test "${ac_cv_type_size_t+set}" = set; then
16767 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 cat >conftest.
$ac_ext <<_ACEOF
16772 cat confdefs.h
>>conftest.
$ac_ext
16773 cat >>conftest.
$ac_ext <<_ACEOF
16774 /* end confdefs.h. */
16775 $ac_includes_default
16781 if (sizeof (size_t))
16787 rm -f conftest.
$ac_objext
16788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16789 (eval $ac_compile) 2>conftest.er1
16791 grep -v '^ *+' conftest.er1
>conftest.err
16793 cat conftest.err
>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } &&
16796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try
='test -s conftest.$ac_objext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_type_size_t
=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16813 ac_cv_type_size_t
=no
16815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16818 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16820 echo "$as_me:$LINENO: checking size of size_t" >&5
16821 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16822 if test "${ac_cv_sizeof_size_t+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 if test "$ac_cv_type_size_t" = yes; then
16826 # The cast to unsigned long works around a bug in the HP C Compiler
16827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16829 # This bug is HP SR number 8606223364.
16830 if test "$cross_compiling" = yes; then
16831 # Depending upon the size, compute the lo and hi bounds.
16832 cat >conftest.
$ac_ext <<_ACEOF
16835 cat confdefs.h
>>conftest.
$ac_ext
16836 cat >>conftest.
$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16838 $ac_includes_default
16842 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16849 rm -f conftest.
$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16853 grep -v '^ *+' conftest.er1
>conftest.err
16855 cat conftest.err
>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try
='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16872 cat >conftest.
$ac_ext <<_ACEOF
16875 cat confdefs.h
>>conftest.
$ac_ext
16876 cat >>conftest.
$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 $ac_includes_default
16882 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16889 rm -f conftest.
$ac_objext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>conftest.er1
16893 grep -v '^ *+' conftest.er1
>conftest.err
16895 cat conftest.err
>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; } &&
16904 { ac_try
='test -s conftest.$ac_objext'
16905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16906 (eval $ac_try) 2>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); }; }; then
16910 ac_hi
=$ac_mid; break
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 ac_lo
=`expr $ac_mid + 1`
16916 if test $ac_lo -le $ac_mid; then
16920 ac_mid
=`expr 2 '*' $ac_mid + 1`
16922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.
$ac_ext >&5
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16938 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16945 rm -f conftest.
$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; } &&
16960 { ac_try
='test -s conftest.$ac_objext'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; }; then
16968 cat >conftest.
$ac_ext <<_ACEOF
16971 cat confdefs.h
>>conftest.
$ac_ext
16972 cat >>conftest.
$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16974 $ac_includes_default
16978 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16985 rm -f conftest.
$ac_objext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16987 (eval $ac_compile) 2>conftest.er1
16989 grep -v '^ *+' conftest.er1
>conftest.err
16991 cat conftest.err
>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } &&
16994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16996 (eval $ac_try) 2>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); }; } &&
17000 { ac_try
='test -s conftest.$ac_objext'
17001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17002 (eval $ac_try) 2>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); }; }; then
17006 ac_lo
=$ac_mid; break
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.
$ac_ext >&5
17011 ac_hi
=`expr '(' $ac_mid ')' - 1`
17012 if test $ac_mid -le $ac_hi; then
17016 ac_mid
=`expr 2 '*' $ac_mid`
17018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.
$ac_ext >&5
17026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17029 # Binary search between lo and hi bounds.
17030 while test "x$ac_lo" != "x$ac_hi"; do
17031 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17032 cat >conftest.
$ac_ext <<_ACEOF
17035 cat confdefs.h
>>conftest.
$ac_ext
17036 cat >>conftest.
$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 $ac_includes_default
17042 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17049 rm -f conftest.
$ac_objext
17050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17051 (eval $ac_compile) 2>conftest.er1
17053 grep -v '^ *+' conftest.er1
>conftest.err
17055 cat conftest.err
>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } &&
17058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try
='test -s conftest.$ac_objext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.
$ac_ext >&5
17075 ac_lo
=`expr '(' $ac_mid ')' + 1`
17077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17080 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17081 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17082 See \`config.log' for more details." >&5
17083 echo "$as_me: error: cannot compute sizeof (size_t), 77
17084 See \`config.log' for more details." >&2;}
17085 { (exit 1); exit 1; }; } ;;
17088 if test "$cross_compiling" = yes; then
17089 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17090 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17091 { (exit 1); exit 1; }; }
17093 cat >conftest.
$ac_ext <<_ACEOF
17096 cat confdefs.h
>>conftest.
$ac_ext
17097 cat >>conftest.
$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17100 long longval () { return (long) (sizeof (size_t)); }
17101 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17103 #include <stdlib.h>
17108 FILE *f = fopen ("conftest.val", "w");
17111 if (((long) (sizeof (size_t))) < 0)
17113 long i = longval ();
17114 if (i != ((long) (sizeof (size_t))))
17116 fprintf (f, "%ld\n", i);
17120 unsigned long i = ulongval ();
17121 if (i != ((long) (sizeof (size_t))))
17123 fprintf (f, "%lu\n", i);
17125 exit (ferror (f) || fclose (f) != 0);
17131 rm -f conftest
$ac_exeext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17133 (eval $ac_link) 2>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17142 ac_cv_sizeof_size_t
=`cat conftest.val`
17144 echo "$as_me: program exited with status $ac_status" >&5
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.
$ac_ext >&5
17148 ( exit $ac_status )
17149 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17150 See \`config.log' for more details." >&5
17151 echo "$as_me: error: cannot compute sizeof (size_t), 77
17152 See \`config.log' for more details." >&2;}
17153 { (exit 1); exit 1; }; }
17155 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17160 ac_cv_sizeof_size_t
=0
17163 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17164 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17165 cat >>confdefs.h
<<_ACEOF
17166 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17173 echo "$as_me:$LINENO: checking for long long" >&5
17174 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17175 if test "${ac_cv_type_long_long+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 cat >conftest.
$ac_ext <<_ACEOF
17181 cat confdefs.h
>>conftest.
$ac_ext
17182 cat >>conftest.
$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184 $ac_includes_default
17188 if ((long long *) 0)
17190 if (sizeof (long long))
17196 rm -f conftest.
$ac_objext
17197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17198 (eval $ac_compile) 2>conftest.er1
17200 grep -v '^ *+' conftest.er1
>conftest.err
17202 cat conftest.err
>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); } &&
17205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207 (eval $ac_try) 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }; } &&
17211 { ac_try
='test -s conftest.$ac_objext'
17212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17213 (eval $ac_try) 2>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); }; }; then
17217 ac_cv_type_long_long
=yes
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.
$ac_ext >&5
17222 ac_cv_type_long_long
=no
17224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17226 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17227 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17229 echo "$as_me:$LINENO: checking size of long long" >&5
17230 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17231 if test "${ac_cv_sizeof_long_long+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 if test "$ac_cv_type_long_long" = yes; then
17235 # The cast to unsigned long works around a bug in the HP C Compiler
17236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17238 # This bug is HP SR number 8606223364.
17239 if test "$cross_compiling" = yes; then
17240 # Depending upon the size, compute the lo and hi bounds.
17241 cat >conftest.
$ac_ext <<_ACEOF
17244 cat confdefs.h
>>conftest.
$ac_ext
17245 cat >>conftest.
$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247 $ac_includes_default
17251 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17258 rm -f conftest.
$ac_objext
17259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17260 (eval $ac_compile) 2>conftest.er1
17262 grep -v '^ *+' conftest.er1
>conftest.err
17264 cat conftest.err
>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } &&
17267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; } &&
17273 { ac_try
='test -s conftest.$ac_objext'
17274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275 (eval $ac_try) 2>&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); }; }; then
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 $ac_includes_default
17291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17298 rm -f conftest.
$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17302 grep -v '^ *+' conftest.er1
>conftest.err
17304 cat conftest.err
>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; } &&
17313 { ac_try
='test -s conftest.$ac_objext'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; }; then
17319 ac_hi
=$ac_mid; break
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.
$ac_ext >&5
17324 ac_lo
=`expr $ac_mid + 1`
17325 if test $ac_lo -le $ac_mid; then
17329 ac_mid
=`expr 2 '*' $ac_mid + 1`
17331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.
$ac_ext >&5
17337 cat >conftest.
$ac_ext <<_ACEOF
17340 cat confdefs.h
>>conftest.
$ac_ext
17341 cat >>conftest.
$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17347 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17354 rm -f conftest.
$ac_objext
17355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>conftest.er1
17358 grep -v '^ *+' conftest.er1
>conftest.err
17360 cat conftest.err
>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } &&
17363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; } &&
17369 { ac_try
='test -s conftest.$ac_objext'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; }; then
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 $ac_includes_default
17387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17394 rm -f conftest.
$ac_objext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396 (eval $ac_compile) 2>conftest.er1
17398 grep -v '^ *+' conftest.er1
>conftest.err
17400 cat conftest.err
>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } &&
17403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try
='test -s conftest.$ac_objext'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17415 ac_lo
=$ac_mid; break
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.
$ac_ext >&5
17420 ac_hi
=`expr '(' $ac_mid ')' - 1`
17421 if test $ac_mid -le $ac_hi; then
17425 ac_mid
=`expr 2 '*' $ac_mid`
17427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.
$ac_ext >&5
17435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17438 # Binary search between lo and hi bounds.
17439 while test "x$ac_lo" != "x$ac_hi"; do
17440 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17441 cat >conftest.
$ac_ext <<_ACEOF
17444 cat confdefs.h
>>conftest.
$ac_ext
17445 cat >>conftest.
$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17447 $ac_includes_default
17451 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17458 rm -f conftest.
$ac_objext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460 (eval $ac_compile) 2>conftest.er1
17462 grep -v '^ *+' conftest.er1
>conftest.err
17464 cat conftest.err
>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } &&
17467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17469 (eval $ac_try) 2>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); }; } &&
17473 { ac_try
='test -s conftest.$ac_objext'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; }; then
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.
$ac_ext >&5
17484 ac_lo
=`expr '(' $ac_mid ')' + 1`
17486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17489 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17490 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17491 See \`config.log' for more details." >&5
17492 echo "$as_me: error: cannot compute sizeof (long long), 77
17493 See \`config.log' for more details." >&2;}
17494 { (exit 1); exit 1; }; } ;;
17497 if test "$cross_compiling" = yes; then
17498 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17499 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17500 { (exit 1); exit 1; }; }
17502 cat >conftest.
$ac_ext <<_ACEOF
17505 cat confdefs.h
>>conftest.
$ac_ext
17506 cat >>conftest.
$ac_ext <<_ACEOF
17507 /* end confdefs.h. */
17508 $ac_includes_default
17509 long longval () { return (long) (sizeof (long long)); }
17510 unsigned long ulongval () { return (long) (sizeof (long long)); }
17512 #include <stdlib.h>
17517 FILE *f = fopen ("conftest.val", "w");
17520 if (((long) (sizeof (long long))) < 0)
17522 long i = longval ();
17523 if (i != ((long) (sizeof (long long))))
17525 fprintf (f, "%ld\n", i);
17529 unsigned long i = ulongval ();
17530 if (i != ((long) (sizeof (long long))))
17532 fprintf (f, "%lu\n", i);
17534 exit (ferror (f) || fclose (f) != 0);
17540 rm -f conftest
$ac_exeext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17542 (eval $ac_link) 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; }; then
17551 ac_cv_sizeof_long_long
=`cat conftest.val`
17553 echo "$as_me: program exited with status $ac_status" >&5
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.
$ac_ext >&5
17557 ( exit $ac_status )
17558 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17559 See \`config.log' for more details." >&5
17560 echo "$as_me: error: cannot compute sizeof (long long), 77
17561 See \`config.log' for more details." >&2;}
17562 { (exit 1); exit 1; }; }
17564 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17569 ac_cv_sizeof_long_long
=0
17572 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17573 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17574 cat >>confdefs.h
<<_ACEOF
17575 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17581 echo "$as_me:$LINENO: checking for long long" >&5
17582 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17583 if test "${ac_cv_type_long_long+set}" = set; then
17584 echo $ECHO_N "(cached) $ECHO_C" >&6
17586 cat >conftest.
$ac_ext <<_ACEOF
17589 cat confdefs.h
>>conftest.
$ac_ext
17590 cat >>conftest.
$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 $ac_includes_default
17596 if ((long long *) 0)
17598 if (sizeof (long long))
17604 rm -f conftest.
$ac_objext
17605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17606 (eval $ac_compile) 2>conftest.er1
17608 grep -v '^ *+' conftest.er1
>conftest.err
17610 cat conftest.err
>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } &&
17613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; } &&
17619 { ac_try
='test -s conftest.$ac_objext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17625 ac_cv_type_long_long
=yes
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.
$ac_ext >&5
17630 ac_cv_type_long_long
=no
17632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17634 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17635 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17637 echo "$as_me:$LINENO: checking size of long long" >&5
17638 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17639 if test "${ac_cv_sizeof_long_long+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 if test "$ac_cv_type_long_long" = yes; then
17643 # The cast to unsigned long works around a bug in the HP C Compiler
17644 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17645 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17646 # This bug is HP SR number 8606223364.
17647 if test "$cross_compiling" = yes; then
17648 # Depending upon the size, compute the lo and hi bounds.
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 $ac_includes_default
17659 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17666 rm -f conftest.
$ac_objext
17667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17668 (eval $ac_compile) 2>conftest.er1
17670 grep -v '^ *+' conftest.er1
>conftest.err
17672 cat conftest.err
>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } &&
17675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; } &&
17681 { ac_try
='test -s conftest.$ac_objext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17689 cat >conftest.
$ac_ext <<_ACEOF
17692 cat confdefs.h
>>conftest.
$ac_ext
17693 cat >>conftest.
$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 $ac_includes_default
17699 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17706 rm -f conftest.
$ac_objext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17708 (eval $ac_compile) 2>conftest.er1
17710 grep -v '^ *+' conftest.er1
>conftest.err
17712 cat conftest.err
>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; } &&
17721 { ac_try
='test -s conftest.$ac_objext'
17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723 (eval $ac_try) 2>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; }; then
17727 ac_hi
=$ac_mid; break
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.
$ac_ext >&5
17732 ac_lo
=`expr $ac_mid + 1`
17733 if test $ac_lo -le $ac_mid; then
17737 ac_mid
=`expr 2 '*' $ac_mid + 1`
17739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17742 echo "$as_me: failed program was:" >&5
17743 sed 's/^/| /' conftest.
$ac_ext >&5
17745 cat >conftest.
$ac_ext <<_ACEOF
17748 cat confdefs.h
>>conftest.
$ac_ext
17749 cat >>conftest.
$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751 $ac_includes_default
17755 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17762 rm -f conftest.
$ac_objext
17763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17764 (eval $ac_compile) 2>conftest.er1
17766 grep -v '^ *+' conftest.er1
>conftest.err
17768 cat conftest.err
>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } &&
17771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; } &&
17777 { ac_try
='test -s conftest.$ac_objext'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; }; then
17785 cat >conftest.
$ac_ext <<_ACEOF
17788 cat confdefs.h
>>conftest.
$ac_ext
17789 cat >>conftest.
$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791 $ac_includes_default
17795 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17802 rm -f conftest.
$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17806 grep -v '^ *+' conftest.er1
>conftest.err
17808 cat conftest.err
>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try
='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_lo
=$ac_mid; break
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.
$ac_ext >&5
17828 ac_hi
=`expr '(' $ac_mid ')' - 1`
17829 if test $ac_mid -le $ac_hi; then
17833 ac_mid
=`expr 2 '*' $ac_mid`
17835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.
$ac_ext >&5
17843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17846 # Binary search between lo and hi bounds.
17847 while test "x$ac_lo" != "x$ac_hi"; do
17848 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17849 cat >conftest.
$ac_ext <<_ACEOF
17852 cat confdefs.h
>>conftest.
$ac_ext
17853 cat >>conftest.
$ac_ext <<_ACEOF
17854 /* end confdefs.h. */
17855 $ac_includes_default
17859 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17866 rm -f conftest.
$ac_objext
17867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17868 (eval $ac_compile) 2>conftest.er1
17870 grep -v '^ *+' conftest.er1
>conftest.err
17872 cat conftest.err
>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; } &&
17881 { ac_try
='test -s conftest.$ac_objext'
17882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883 (eval $ac_try) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); }; }; then
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.
$ac_ext >&5
17892 ac_lo
=`expr '(' $ac_mid ')' + 1`
17894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17897 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17898 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17899 See \`config.log' for more details." >&5
17900 echo "$as_me: error: cannot compute sizeof (long long), 77
17901 See \`config.log' for more details." >&2;}
17902 { (exit 1); exit 1; }; } ;;
17905 if test "$cross_compiling" = yes; then
17906 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17907 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17908 { (exit 1); exit 1; }; }
17910 cat >conftest.
$ac_ext <<_ACEOF
17913 cat confdefs.h
>>conftest.
$ac_ext
17914 cat >>conftest.
$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17917 long longval () { return (long) (sizeof (long long)); }
17918 unsigned long ulongval () { return (long) (sizeof (long long)); }
17920 #include <stdlib.h>
17925 FILE *f = fopen ("conftest.val", "w");
17928 if (((long) (sizeof (long long))) < 0)
17930 long i = longval ();
17931 if (i != ((long) (sizeof (long long))))
17933 fprintf (f, "%ld\n", i);
17937 unsigned long i = ulongval ();
17938 if (i != ((long) (sizeof (long long))))
17940 fprintf (f, "%lu\n", i);
17942 exit (ferror (f) || fclose (f) != 0);
17948 rm -f conftest
$ac_exeext
17949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17950 (eval $ac_link) 2>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17955 (eval $ac_try) 2>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); }; }; then
17959 ac_cv_sizeof_long_long
=`cat conftest.val`
17961 echo "$as_me: program exited with status $ac_status" >&5
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.
$ac_ext >&5
17965 ( exit $ac_status )
17966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17967 See \`config.log' for more details." >&5
17968 echo "$as_me: error: cannot compute sizeof (long long), 77
17969 See \`config.log' for more details." >&2;}
17970 { (exit 1); exit 1; }; }
17972 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17977 ac_cv_sizeof_long_long
=0
17980 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17981 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17982 cat >>confdefs.h
<<_ACEOF
17983 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17987 if test "$ac_cv_sizeof_long_long" != "0"; then
17988 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17992 echo "$as_me:$LINENO: checking for long long" >&5
17993 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17994 if test "${ac_cv_type_long_long+set}" = set; then
17995 echo $ECHO_N "(cached) $ECHO_C" >&6
17997 cat >conftest.
$ac_ext <<_ACEOF
18000 cat confdefs.h
>>conftest.
$ac_ext
18001 cat >>conftest.
$ac_ext <<_ACEOF
18002 /* end confdefs.h. */
18003 $ac_includes_default
18007 if ((long long *) 0)
18009 if (sizeof (long long))
18015 rm -f conftest.
$ac_objext
18016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18017 (eval $ac_compile) 2>conftest.er1
18019 grep -v '^ *+' conftest.er1
>conftest.err
18021 cat conftest.err
>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } &&
18024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; } &&
18030 { ac_try
='test -s conftest.$ac_objext'
18031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18032 (eval $ac_try) 2>&5
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); }; }; then
18036 ac_cv_type_long_long
=yes
18038 echo "$as_me: failed program was:" >&5
18039 sed 's/^/| /' conftest.
$ac_ext >&5
18041 ac_cv_type_long_long
=no
18043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18045 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18046 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18048 echo "$as_me:$LINENO: checking size of long long" >&5
18049 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18050 if test "${ac_cv_sizeof_long_long+set}" = set; then
18051 echo $ECHO_N "(cached) $ECHO_C" >&6
18053 if test "$ac_cv_type_long_long" = yes; then
18054 # The cast to unsigned long works around a bug in the HP C Compiler
18055 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18056 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18057 # This bug is HP SR number 8606223364.
18058 if test "$cross_compiling" = yes; then
18059 # Depending upon the size, compute the lo and hi bounds.
18060 cat >conftest.
$ac_ext <<_ACEOF
18063 cat confdefs.h
>>conftest.
$ac_ext
18064 cat >>conftest.
$ac_ext <<_ACEOF
18065 /* end confdefs.h. */
18066 $ac_includes_default
18070 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18077 rm -f conftest.
$ac_objext
18078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18079 (eval $ac_compile) 2>conftest.er1
18081 grep -v '^ *+' conftest.er1
>conftest.err
18083 cat conftest.err
>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); } &&
18086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; } &&
18092 { ac_try
='test -s conftest.$ac_objext'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; }; then
18100 cat >conftest.
$ac_ext <<_ACEOF
18103 cat confdefs.h
>>conftest.
$ac_ext
18104 cat >>conftest.
$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 $ac_includes_default
18110 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18117 rm -f conftest.
$ac_objext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119 (eval $ac_compile) 2>conftest.er1
18121 grep -v '^ *+' conftest.er1
>conftest.err
18123 cat conftest.err
>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } &&
18126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; } &&
18132 { ac_try
='test -s conftest.$ac_objext'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; }; then
18138 ac_hi
=$ac_mid; break
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.
$ac_ext >&5
18143 ac_lo
=`expr $ac_mid + 1`
18144 if test $ac_lo -le $ac_mid; then
18148 ac_mid
=`expr 2 '*' $ac_mid + 1`
18150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18156 cat >conftest.
$ac_ext <<_ACEOF
18159 cat confdefs.h
>>conftest.
$ac_ext
18160 cat >>conftest.
$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 $ac_includes_default
18166 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18173 rm -f conftest.
$ac_objext
18174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18175 (eval $ac_compile) 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; } &&
18188 { ac_try
='test -s conftest.$ac_objext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18196 cat >conftest.
$ac_ext <<_ACEOF
18199 cat confdefs.h
>>conftest.
$ac_ext
18200 cat >>conftest.
$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18206 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18213 rm -f conftest.
$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18217 grep -v '^ *+' conftest.er1
>conftest.err
18219 cat conftest.err
>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try
='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 ac_lo
=$ac_mid; break
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.
$ac_ext >&5
18239 ac_hi
=`expr '(' $ac_mid ')' - 1`
18240 if test $ac_mid -le $ac_hi; then
18244 ac_mid
=`expr 2 '*' $ac_mid`
18246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.
$ac_ext >&5
18254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18257 # Binary search between lo and hi bounds.
18258 while test "x$ac_lo" != "x$ac_hi"; do
18259 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18260 cat >conftest.
$ac_ext <<_ACEOF
18263 cat confdefs.h
>>conftest.
$ac_ext
18264 cat >>conftest.
$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 $ac_includes_default
18270 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18277 rm -f conftest.
$ac_objext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18279 (eval $ac_compile) 2>conftest.er1
18281 grep -v '^ *+' conftest.er1
>conftest.err
18283 cat conftest.err
>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } &&
18286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; } &&
18292 { ac_try
='test -s conftest.$ac_objext'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.
$ac_ext >&5
18303 ac_lo
=`expr '(' $ac_mid ')' + 1`
18305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18308 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18309 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18310 See \`config.log' for more details." >&5
18311 echo "$as_me: error: cannot compute sizeof (long long), 77
18312 See \`config.log' for more details." >&2;}
18313 { (exit 1); exit 1; }; } ;;
18316 if test "$cross_compiling" = yes; then
18317 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18318 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18319 { (exit 1); exit 1; }; }
18321 cat >conftest.
$ac_ext <<_ACEOF
18324 cat confdefs.h
>>conftest.
$ac_ext
18325 cat >>conftest.
$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 $ac_includes_default
18328 long longval () { return (long) (sizeof (long long)); }
18329 unsigned long ulongval () { return (long) (sizeof (long long)); }
18331 #include <stdlib.h>
18336 FILE *f = fopen ("conftest.val", "w");
18339 if (((long) (sizeof (long long))) < 0)
18341 long i = longval ();
18342 if (i != ((long) (sizeof (long long))))
18344 fprintf (f, "%ld\n", i);
18348 unsigned long i = ulongval ();
18349 if (i != ((long) (sizeof (long long))))
18351 fprintf (f, "%lu\n", i);
18353 exit (ferror (f) || fclose (f) != 0);
18359 rm -f conftest
$ac_exeext
18360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18361 (eval $ac_link) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_cv_sizeof_long_long
=`cat conftest.val`
18372 echo "$as_me: program exited with status $ac_status" >&5
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18376 ( exit $ac_status )
18377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18378 See \`config.log' for more details." >&5
18379 echo "$as_me: error: cannot compute sizeof (long long), 77
18380 See \`config.log' for more details." >&2;}
18381 { (exit 1); exit 1; }; }
18383 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18388 ac_cv_sizeof_long_long
=0
18391 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18392 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18393 cat >>confdefs.h
<<_ACEOF
18394 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18400 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18401 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18402 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18406 if test "$cross_compiling" = yes; then
18410 wx_cv_sizeof_wchar_t
=0
18413 wx_cv_sizeof_wchar_t
=4
18419 cat >conftest.
$ac_ext <<_ACEOF
18422 cat confdefs.h
>>conftest.
$ac_ext
18423 cat >>conftest.
$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18426 /* DJGPP only has fake wchar_t: */
18428 # error "fake wchar_t"
18430 #ifdef HAVE_WCHAR_H
18432 # include <stddef.h>
18434 # include <wchar.h>
18436 #ifdef HAVE_STDLIB_H
18437 # include <stdlib.h>
18442 FILE *f=fopen("conftestval", "w");
18444 fprintf(f, "%i", sizeof(wchar_t));
18449 rm -f conftest
$ac_exeext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18451 (eval $ac_link) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18456 (eval $ac_try) 2>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }; }; then
18460 wx_cv_sizeof_wchar_t
=`cat conftestval`
18462 echo "$as_me: program exited with status $ac_status" >&5
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.
$ac_ext >&5
18466 ( exit $ac_status )
18467 wx_cv_sizeof_wchar_t
=0
18469 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18473 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18474 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18476 cat >>confdefs.h
<<_ACEOF
18477 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18481 echo "$as_me:$LINENO: checking for va_copy" >&5
18482 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18483 if test "${wx_cv_func_va_copy+set}" = set; then
18484 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 cat >conftest.
$ac_ext <<_ACEOF
18489 #include <stdarg.h>
18490 void foo(char *f, ...)
18504 rm -f conftest.
$ac_objext conftest
$ac_exeext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18506 (eval $ac_link) 2>conftest.er1
18508 grep -v '^ *+' conftest.er1
>conftest.err
18510 cat conftest.err
>&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } &&
18513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515 (eval $ac_try) 2>&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); }; } &&
18519 { ac_try
='test -s conftest$ac_exeext'
18520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18521 (eval $ac_try) 2>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; }; then
18525 wx_cv_func_va_copy
=yes
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.
$ac_ext >&5
18530 wx_cv_func_va_copy
=no
18533 rm -f conftest.err conftest.
$ac_objext \
18534 conftest
$ac_exeext conftest.
$ac_ext
18538 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18539 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18541 if test $wx_cv_func_va_copy = "yes"; then
18542 cat >>confdefs.h
<<\_ACEOF
18543 #define HAVE_VA_COPY 1
18547 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18548 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18549 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 if test "$cross_compiling" = yes; then
18554 wx_cv_type_va_list_lvalue
=yes
18557 cat >conftest.
$ac_ext <<_ACEOF
18559 #include <stdarg.h>
18560 int foo(char *f, ...)
18565 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18573 return foo("hi", 17);
18576 rm -f conftest
$ac_exeext
18577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18578 (eval $ac_link) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; }; then
18587 wx_cv_type_va_list_lvalue
=yes
18589 echo "$as_me: program exited with status $ac_status" >&5
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.
$ac_ext >&5
18593 ( exit $ac_status )
18594 wx_cv_type_va_list_lvalue
=no
18596 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18601 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18602 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18604 if test $wx_cv_type_va_list_lvalue != "yes"; then
18605 cat >>confdefs.h
<<\_ACEOF
18606 #define VA_LIST_IS_ARRAY 1
18612 # Check whether --enable-largefile or --disable-largefile was given.
18613 if test "${enable_largefile+set}" = set; then
18614 enableval
="$enable_largefile"
18617 if test "$enable_largefile" != no
; then
18620 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18621 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18622 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 cat >conftest.
$ac_ext <<_ACEOF
18629 cat confdefs.h
>>conftest.
$ac_ext
18630 cat >>conftest.
$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #define _FILE_OFFSET_BITS 64
18633 #include <sys/types.h>
18638 unsigned int field: sizeof(off_t) == 8;
18645 rm -f conftest.
$ac_objext
18646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18647 (eval $ac_compile) 2>conftest.er1
18649 grep -v '^ *+' conftest.er1
>conftest.err
18651 cat conftest.err
>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } &&
18654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18656 (eval $ac_try) 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; } &&
18660 { ac_try
='test -s conftest.$ac_objext'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; }; then
18666 ac_cv_sys_file_offset_bits
=64
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.
$ac_ext >&5
18671 ac_cv_sys_file_offset_bits
=no
18673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18677 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18678 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18680 if test "$ac_cv_sys_file_offset_bits" != no
; then
18682 cat >>confdefs.h
<<_ACEOF
18683 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18688 if test "x$wx_largefile" != "xyes"; then
18690 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18691 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18692 if test "${ac_cv_sys_large_files+set}" = set; then
18693 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 cat >conftest.
$ac_ext <<_ACEOF
18699 cat confdefs.h
>>conftest.
$ac_ext
18700 cat >>conftest.
$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 #define _LARGE_FILES 1
18703 #include <sys/types.h>
18708 unsigned int field: sizeof(off_t) == 8;
18715 rm -f conftest.
$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try
='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18736 ac_cv_sys_large_files
=1
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18741 ac_cv_sys_large_files
=no
18743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18748 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18750 if test "$ac_cv_sys_large_files" != no
; then
18752 cat >>confdefs.h
<<_ACEOF
18753 #define _LARGE_FILES $ac_cv_sys_large_files
18760 echo "$as_me:$LINENO: checking if large file support is available" >&5
18761 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18762 if test "x$wx_largefile" = "xyes"; then
18763 cat >>confdefs.h
<<\_ACEOF
18764 #define HAVE_LARGEFILE_SUPPORT 1
18768 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18769 echo "${ECHO_T}$wx_largefile" >&6
18773 if test "x$wx_largefile" = "xyes"; then
18774 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18775 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18777 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18779 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18780 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18781 if test "${ac_cv_sys_largefile_source+set}" = set; then
18782 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 ac_cv_sys_largefile_source
=no
18786 cat >conftest.
$ac_ext <<_ACEOF
18789 cat confdefs.h
>>conftest.
$ac_ext
18790 cat >>conftest.
$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18801 rm -f conftest.
$ac_objext
18802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18803 (eval $ac_compile) 2>conftest.er1
18805 grep -v '^ *+' conftest.er1
>conftest.err
18807 cat conftest.err
>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } &&
18810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; } &&
18816 { ac_try
='test -s conftest.$ac_objext'
18817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818 (eval $ac_try) 2>&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); }; }; then
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.
$ac_ext >&5
18828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18829 cat >conftest.
$ac_ext <<_ACEOF
18832 cat confdefs.h
>>conftest.
$ac_ext
18833 cat >>conftest.
$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18835 #define _LARGEFILE_SOURCE 1
18845 rm -f conftest.
$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>conftest.er1
18849 grep -v '^ *+' conftest.er1
>conftest.err
18851 cat conftest.err
>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); } &&
18854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try
='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_cv_sys_largefile_source
=1; break
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.
$ac_ext >&5
18872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18876 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18877 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18878 if test "$ac_cv_sys_largefile_source" != no
; then
18880 cat >>confdefs.h
<<_ACEOF
18881 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18887 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18888 # in glibc 2.1.3, but that breaks too many other things.
18889 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18890 echo "$as_me:$LINENO: checking for fseeko" >&5
18891 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18892 if test "${ac_cv_func_fseeko+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 cat >conftest.
$ac_ext <<_ACEOF
18898 cat confdefs.h
>>conftest.
$ac_ext
18899 cat >>conftest.
$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18905 return fseeko && fseeko (stdin, 0, 0);
18910 rm -f conftest.
$ac_objext conftest
$ac_exeext
18911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18912 (eval $ac_link) 2>conftest.er1
18914 grep -v '^ *+' conftest.er1
>conftest.err
18916 cat conftest.err
>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } &&
18919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921 (eval $ac_try) 2>&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); }; } &&
18925 { ac_try
='test -s conftest$ac_exeext'
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; }; then
18931 ac_cv_func_fseeko
=yes
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.
$ac_ext >&5
18936 ac_cv_func_fseeko
=no
18938 rm -f conftest.err conftest.
$ac_objext \
18939 conftest
$ac_exeext conftest.
$ac_ext
18941 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
18942 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
18943 if test $ac_cv_func_fseeko = yes; then
18945 cat >>confdefs.h
<<\_ACEOF
18946 #define HAVE_FSEEKO 1
18951 if test "$ac_cv_sys_largefile_source" != no
; then
18952 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
18954 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18957 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18958 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18959 if test "${ac_cv_c_bigendian+set}" = set; then
18960 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 ac_cv_c_bigendian
=unknown
18963 # See if sys/param.h defines the BYTE_ORDER macro.
18964 cat >conftest.
$ac_ext <<_ACEOF
18967 cat confdefs.h
>>conftest.
$ac_ext
18968 cat >>conftest.
$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 #include <sys/types.h>
18971 #include <sys/param.h>
18976 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18977 bogus endian macros
18983 rm -f conftest.
$ac_objext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18985 (eval $ac_compile) 2>conftest.er1
18987 grep -v '^ *+' conftest.er1
>conftest.err
18989 cat conftest.err
>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } &&
18992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18994 (eval $ac_try) 2>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; } &&
18998 { ac_try
='test -s conftest.$ac_objext'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; }; then
19004 # It does; now see whether it defined to BIG_ENDIAN or not.
19005 cat >conftest.
$ac_ext <<_ACEOF
19008 cat confdefs.h
>>conftest.
$ac_ext
19009 cat >>conftest.
$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 #include <sys/types.h>
19012 #include <sys/param.h>
19017 #if BYTE_ORDER != BIG_ENDIAN
19024 rm -f conftest.
$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19028 grep -v '^ *+' conftest.er1
>conftest.err
19030 cat conftest.err
>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try
='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_cv_c_bigendian
=yes
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.
$ac_ext >&5
19050 ac_cv_c_bigendian
=no
19052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.
$ac_ext >&5
19058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19059 if test $ac_cv_c_bigendian = unknown
; then
19060 if test "$cross_compiling" = yes; then
19061 ac_cv_c_bigendian
=unknown
19063 cat >conftest.
$ac_ext <<_ACEOF
19066 cat confdefs.h
>>conftest.
$ac_ext
19067 cat >>conftest.
$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19070 /* Are we little or big endian? From Harbison&Steele. */
19074 char c[sizeof (long)];
19077 exit (u.c[sizeof (long) - 1] == 1);
19080 rm -f conftest
$ac_exeext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19082 (eval $ac_link) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; }; then
19091 ac_cv_c_bigendian
=no
19093 echo "$as_me: program exited with status $ac_status" >&5
19094 echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.
$ac_ext >&5
19097 ( exit $ac_status )
19098 ac_cv_c_bigendian
=yes
19100 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19104 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19105 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19106 if test $ac_cv_c_bigendian = unknown
; then
19107 { 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
19108 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;}
19110 if test $ac_cv_c_bigendian = yes; then
19111 cat >>confdefs.h
<<\_ACEOF
19112 #define WORDS_BIGENDIAN 1
19119 ac_cpp
='$CXXCPP $CPPFLAGS'
19120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19123 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19124 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19125 if test -z "$CXXCPP"; then
19126 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19127 echo $ECHO_N "(cached) $ECHO_C" >&6
19129 # Double quotes because CXXCPP needs to be expanded
19130 for CXXCPP
in "$CXX -E" "/lib/cpp"
19132 ac_preproc_ok
=false
19133 for ac_cxx_preproc_warn_flag
in '' yes
19135 # Use a header file that comes with gcc, so configuring glibc
19136 # with a fresh cross-compiler works.
19137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19138 # <limits.h> exists even on freestanding compilers.
19139 # On the NeXT, cc -E runs the code through the compiler's parser,
19140 # not just through cpp. "Syntax error" is here to catch this case.
19141 cat >conftest.
$ac_ext <<_ACEOF
19144 cat confdefs.h
>>conftest.
$ac_ext
19145 cat >>conftest.
$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19148 # include <limits.h>
19150 # include <assert.h>
19154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19157 grep -v '^ *+' conftest.er1
>conftest.err
19159 cat conftest.err
>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } >/dev
/null
; then
19162 if test -s conftest.err
; then
19163 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19164 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19171 if test -z "$ac_cpp_err"; then
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.
$ac_ext >&5
19177 # Broken: fails on valid input.
19180 rm -f conftest.err conftest.
$ac_ext
19182 # OK, works on sane cases. Now check whether non-existent headers
19183 # can be detected and how.
19184 cat >conftest.
$ac_ext <<_ACEOF
19187 cat confdefs.h
>>conftest.
$ac_ext
19188 cat >>conftest.
$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 #include <ac_nonexistent.h>
19192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19195 grep -v '^ *+' conftest.er1
>conftest.err
19197 cat conftest.err
>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } >/dev
/null
; then
19200 if test -s conftest.err
; then
19201 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19202 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19209 if test -z "$ac_cpp_err"; then
19210 # Broken: success on invalid input.
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.
$ac_ext >&5
19216 # Passes both tests.
19220 rm -f conftest.err conftest.
$ac_ext
19223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19224 rm -f conftest.err conftest.
$ac_ext
19225 if $ac_preproc_ok; then
19230 ac_cv_prog_CXXCPP
=$CXXCPP
19233 CXXCPP
=$ac_cv_prog_CXXCPP
19235 ac_cv_prog_CXXCPP
=$CXXCPP
19237 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19238 echo "${ECHO_T}$CXXCPP" >&6
19239 ac_preproc_ok
=false
19240 for ac_cxx_preproc_warn_flag
in '' yes
19242 # Use a header file that comes with gcc, so configuring glibc
19243 # with a fresh cross-compiler works.
19244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19245 # <limits.h> exists even on freestanding compilers.
19246 # On the NeXT, cc -E runs the code through the compiler's parser,
19247 # not just through cpp. "Syntax error" is here to catch this case.
19248 cat >conftest.
$ac_ext <<_ACEOF
19251 cat confdefs.h
>>conftest.
$ac_ext
19252 cat >>conftest.
$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19255 # include <limits.h>
19257 # include <assert.h>
19261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19264 grep -v '^ *+' conftest.er1
>conftest.err
19266 cat conftest.err
>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } >/dev
/null
; then
19269 if test -s conftest.err
; then
19270 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19271 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19278 if test -z "$ac_cpp_err"; then
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 # Broken: fails on valid input.
19287 rm -f conftest.err conftest.
$ac_ext
19289 # OK, works on sane cases. Now check whether non-existent headers
19290 # can be detected and how.
19291 cat >conftest.
$ac_ext <<_ACEOF
19294 cat confdefs.h
>>conftest.
$ac_ext
19295 cat >>conftest.
$ac_ext <<_ACEOF
19296 /* end confdefs.h. */
19297 #include <ac_nonexistent.h>
19299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19302 grep -v '^ *+' conftest.er1
>conftest.err
19304 cat conftest.err
>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } >/dev
/null
; then
19307 if test -s conftest.err
; then
19308 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19309 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19316 if test -z "$ac_cpp_err"; then
19317 # Broken: success on invalid input.
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.
$ac_ext >&5
19323 # Passes both tests.
19327 rm -f conftest.err conftest.
$ac_ext
19330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19331 rm -f conftest.err conftest.
$ac_ext
19332 if $ac_preproc_ok; then
19335 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19336 See \`config.log' for more details." >&5
19337 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19338 See \`config.log' for more details." >&2;}
19339 { (exit 1); exit 1; }; }
19343 ac_cpp
='$CXXCPP $CPPFLAGS'
19344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19353 ac_cpp
='$CXXCPP $CPPFLAGS'
19354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19360 for ac_header
in iostream
19362 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19364 echo "$as_me:$LINENO: checking for $ac_header" >&5
19365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19367 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19372 # Is the header compilable?
19373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19375 cat >conftest.
$ac_ext <<_ACEOF
19378 cat confdefs.h
>>conftest.
$ac_ext
19379 cat >>conftest.
$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19381 $ac_includes_default
19382 #include <$ac_header>
19384 rm -f conftest.
$ac_objext
19385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19386 (eval $ac_compile) 2>conftest.er1
19388 grep -v '^ *+' conftest.er1
>conftest.err
19390 cat conftest.err
>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } &&
19393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; } &&
19399 { ac_try
='test -s conftest.$ac_objext'
19400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401 (eval $ac_try) 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; }; then
19405 ac_header_compiler
=yes
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.
$ac_ext >&5
19410 ac_header_compiler
=no
19412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19414 echo "${ECHO_T}$ac_header_compiler" >&6
19416 # Is the header present?
19417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19419 cat >conftest.
$ac_ext <<_ACEOF
19422 cat confdefs.h
>>conftest.
$ac_ext
19423 cat >>conftest.
$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <$ac_header>
19427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19430 grep -v '^ *+' conftest.er1
>conftest.err
19432 cat conftest.err
>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } >/dev
/null
; then
19435 if test -s conftest.err
; then
19436 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19437 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19444 if test -z "$ac_cpp_err"; then
19445 ac_header_preproc
=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.
$ac_ext >&5
19450 ac_header_preproc
=no
19452 rm -f conftest.err conftest.
$ac_ext
19453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19454 echo "${ECHO_T}$ac_header_preproc" >&6
19456 # So? What about this header?
19457 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19463 ac_header_preproc
=yes
19466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19480 ## ----------------------------------------- ##
19481 ## Report this to wx-dev@lists.wxwidgets.org ##
19482 ## ----------------------------------------- ##
19485 sed "s/^/$as_me: WARNING: /" >&2
19488 echo "$as_me:$LINENO: checking for $ac_header" >&5
19489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19493 eval "$as_ac_Header=\$ac_header_preproc"
19495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19500 cat >>confdefs.h
<<_ACEOF
19501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19509 if test "$ac_cv_header_iostream" = "yes" ; then
19512 cat >>confdefs.h
<<\_ACEOF
19513 #define wxUSE_IOSTREAMH 1
19519 ac_cpp
='$CPP $CPPFLAGS'
19520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19527 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19528 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19529 if test "${wx_cv_cpp_bool+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 ac_cpp
='$CXXCPP $CPPFLAGS'
19537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19542 cat >conftest.
$ac_ext <<_ACEOF
19545 cat confdefs.h
>>conftest.
$ac_ext
19546 cat >>conftest.
$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19562 rm -f conftest.
$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19566 grep -v '^ *+' conftest.er1
>conftest.err
19568 cat conftest.err
>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; } &&
19577 { ac_try
='test -s conftest.$ac_objext'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; }; then
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.
$ac_ext >&5
19595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 ac_cpp
='$CPP $CPPFLAGS'
19599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19605 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19606 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19608 if test "$wx_cv_cpp_bool" = "yes"; then
19609 cat >>confdefs.h
<<\_ACEOF
19610 #define HAVE_BOOL 1
19617 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19618 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19619 if test "${wx_cv_explicit+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 ac_cpp
='$CXXCPP $CPPFLAGS'
19627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19632 cat >conftest.
$ac_ext <<_ACEOF
19635 cat confdefs.h
>>conftest.
$ac_ext
19636 cat >>conftest.
$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19639 class Foo { public: explicit Foo(int) {} };
19651 rm -f conftest.
$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; } &&
19666 { ac_try
='test -s conftest.$ac_objext'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; }; then
19673 cat >conftest.
$ac_ext <<_ACEOF
19676 cat confdefs.h
>>conftest.
$ac_ext
19677 cat >>conftest.
$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19680 class Foo { public: explicit Foo(int) {} };
19681 static void TakeFoo(const Foo& foo) { }
19694 rm -f conftest.
$ac_objext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19696 (eval $ac_compile) 2>conftest.er1
19698 grep -v '^ *+' conftest.er1
>conftest.err
19700 cat conftest.err
>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; } &&
19709 { ac_try
='test -s conftest.$ac_objext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.
$ac_ext >&5
19723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.
$ac_ext >&5
19732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19735 ac_cpp
='$CPP $CPPFLAGS'
19736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19742 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19743 echo "${ECHO_T}$wx_cv_explicit" >&6
19745 if test "$wx_cv_explicit" = "yes"; then
19746 cat >>confdefs.h
<<\_ACEOF
19747 #define HAVE_EXPLICIT 1
19753 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19754 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19755 if test "${ac_cv_cxx_const_cast+set}" = set; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 ac_cpp
='$CXXCPP $CPPFLAGS'
19762 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19763 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19764 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19766 cat >conftest.
$ac_ext <<_ACEOF
19769 cat confdefs.h
>>conftest.
$ac_ext
19770 cat >>conftest.
$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19776 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19781 rm -f conftest.
$ac_objext
19782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19783 (eval $ac_compile) 2>conftest.er1
19785 grep -v '^ *+' conftest.er1
>conftest.err
19787 cat conftest.err
>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); } &&
19790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19792 (eval $ac_try) 2>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); }; } &&
19796 { ac_try
='test -s conftest.$ac_objext'
19797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19798 (eval $ac_try) 2>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); }; }; then
19802 ac_cv_cxx_const_cast
=yes
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.
$ac_ext >&5
19807 ac_cv_cxx_const_cast
=no
19809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19811 ac_cpp
='$CPP $CPPFLAGS'
19812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19818 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19819 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19820 if test "$ac_cv_cxx_const_cast" = yes; then
19822 cat >>confdefs.h
<<\_ACEOF
19823 #define HAVE_CONST_CAST
19828 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19829 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19830 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19836 ac_cpp
='$CXXCPP $CPPFLAGS'
19837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19841 cat >conftest.
$ac_ext <<_ACEOF
19844 cat confdefs.h
>>conftest.
$ac_ext
19845 cat >>conftest.
$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 #include <typeinfo>
19848 class Base { public : Base () {} virtual void f () = 0;};
19849 class Derived : public Base { public : Derived () {} virtual void f () {} };
19850 class Unrelated { public : Unrelated () {} };
19851 int g (Unrelated&) { return 0; }
19856 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19861 rm -f conftest.
$ac_objext
19862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19863 (eval $ac_compile) 2>conftest.er1
19865 grep -v '^ *+' conftest.er1
>conftest.err
19867 cat conftest.err
>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } &&
19870 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; } &&
19876 { ac_try
='test -s conftest.$ac_objext'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 ac_cv_cxx_reinterpret_cast
=yes
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.
$ac_ext >&5
19887 ac_cv_cxx_reinterpret_cast
=no
19889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19891 ac_cpp
='$CPP $CPPFLAGS'
19892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19898 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19899 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19900 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19902 cat >>confdefs.h
<<\_ACEOF
19903 #define HAVE_REINTERPRET_CAST
19908 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19909 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19910 if test "${ac_cv_cxx_static_cast+set}" = set; then
19911 echo $ECHO_N "(cached) $ECHO_C" >&6
19916 ac_cpp
='$CXXCPP $CPPFLAGS'
19917 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19918 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19919 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19921 cat >conftest.
$ac_ext <<_ACEOF
19924 cat confdefs.h
>>conftest.
$ac_ext
19925 cat >>conftest.
$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19927 #include <typeinfo>
19928 class Base { public : Base () {} virtual void f () = 0; };
19929 class Derived : public Base { public : Derived () {} virtual void f () {} };
19930 int g (Derived&) { return 0; }
19935 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19940 rm -f conftest.
$ac_objext
19941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19942 (eval $ac_compile) 2>conftest.er1
19944 grep -v '^ *+' conftest.er1
>conftest.err
19946 cat conftest.err
>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } &&
19949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; } &&
19955 { ac_try
='test -s conftest.$ac_objext'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; }; then
19961 ac_cv_cxx_static_cast
=yes
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.
$ac_ext >&5
19966 ac_cv_cxx_static_cast
=no
19968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19970 ac_cpp
='$CPP $CPPFLAGS'
19971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19977 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19978 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19979 if test "$ac_cv_cxx_static_cast" = yes; then
19981 cat >>confdefs.h
<<\_ACEOF
19982 #define HAVE_STATIC_CAST
19988 if test "$wxUSE_STL" = "yes"; then
19990 ac_cpp
='$CXXCPP $CPPFLAGS'
19991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19996 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19997 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19998 cat >conftest.
$ac_ext <<_ACEOF
20001 cat confdefs.h
>>conftest.
$ac_ext
20002 cat >>conftest.
$ac_ext <<_ACEOF
20003 /* end confdefs.h. */
20005 #include <functional>
20006 #include <algorithm>
20012 std::vector<int> moo;
20013 std::list<int> foo;
20014 std::vector<int>::iterator it =
20015 std::find_if(moo.begin(), moo.end(),
20016 std::bind2nd(std::less<int>(), 3));
20021 rm -f conftest.
$ac_objext
20022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20023 (eval $ac_compile) 2>conftest.er1
20025 grep -v '^ *+' conftest.er1
>conftest.err
20027 cat conftest.err
>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } &&
20030 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try
='test -s conftest.$ac_objext'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; }; then
20042 echo "$as_me:$LINENO: result: yes" >&5
20043 echo "${ECHO_T}yes" >&6
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.
$ac_ext >&5
20048 echo "$as_me:$LINENO: result: no" >&5
20049 echo "${ECHO_T}no" >&6
20050 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20051 echo "$as_me: error: Basic STL functionality missing" >&2;}
20052 { (exit 1); exit 1; }; }
20054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20056 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20057 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20058 cat >conftest.
$ac_ext <<_ACEOF
20061 cat confdefs.h
>>conftest.
$ac_ext
20062 cat >>conftest.
$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20073 rm -f conftest.
$ac_objext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075 (eval $ac_compile) 2>conftest.er1
20077 grep -v '^ *+' conftest.er1
>conftest.err
20079 cat conftest.err
>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } &&
20082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; } &&
20088 { ac_try
='test -s conftest.$ac_objext'
20089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20090 (eval $ac_try) 2>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); }; }; then
20094 echo "$as_me:$LINENO: result: yes" >&5
20095 echo "${ECHO_T}yes" >&6
20096 cat >>confdefs.h
<<\_ACEOF
20097 #define HAVE_STD_WSTRING 1
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.
$ac_ext >&5
20104 echo "$as_me:$LINENO: result: no" >&5
20105 echo "${ECHO_T}no" >&6
20107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20109 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20110 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20111 cat >conftest.
$ac_ext <<_ACEOF
20114 cat confdefs.h
>>conftest.
$ac_ext
20115 cat >>conftest.
$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20121 std::string foo, bar;
20123 foo.compare(1, 1, bar);
20124 foo.compare(1, 1, bar, 1, 1);
20126 foo.compare(1, 1, "");
20127 foo.compare(1, 1, "", 2);
20132 rm -f conftest.
$ac_objext
20133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20134 (eval $ac_compile) 2>conftest.er1
20136 grep -v '^ *+' conftest.er1
>conftest.err
20138 cat conftest.err
>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); } &&
20141 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_STD_STRING_COMPARE 1
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.
$ac_ext >&5
20163 echo "$as_me:$LINENO: result: no" >&5
20164 echo "${ECHO_T}no" >&6
20166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20168 if test "${ac_cv_header_hash_map+set}" = set; then
20169 echo "$as_me:$LINENO: checking for hash_map" >&5
20170 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20171 if test "${ac_cv_header_hash_map+set}" = set; then
20172 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20175 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20177 # Is the header compilable?
20178 echo "$as_me:$LINENO: checking hash_map usability" >&5
20179 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20180 cat >conftest.
$ac_ext <<_ACEOF
20183 cat confdefs.h
>>conftest.
$ac_ext
20184 cat >>conftest.
$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 $ac_includes_default
20187 #include <hash_map>
20189 rm -f conftest.
$ac_objext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20191 (eval $ac_compile) 2>conftest.er1
20193 grep -v '^ *+' conftest.er1
>conftest.err
20195 cat conftest.err
>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } &&
20198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; } &&
20204 { ac_try
='test -s conftest.$ac_objext'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; }; then
20210 ac_header_compiler
=yes
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.
$ac_ext >&5
20215 ac_header_compiler
=no
20217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20219 echo "${ECHO_T}$ac_header_compiler" >&6
20221 # Is the header present?
20222 echo "$as_me:$LINENO: checking hash_map presence" >&5
20223 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20224 cat >conftest.
$ac_ext <<_ACEOF
20227 cat confdefs.h
>>conftest.
$ac_ext
20228 cat >>conftest.
$ac_ext <<_ACEOF
20229 /* end confdefs.h. */
20230 #include <hash_map>
20232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20235 grep -v '^ *+' conftest.er1
>conftest.err
20237 cat conftest.err
>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } >/dev
/null
; then
20240 if test -s conftest.err
; then
20241 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20242 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20249 if test -z "$ac_cpp_err"; then
20250 ac_header_preproc
=yes
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.
$ac_ext >&5
20255 ac_header_preproc
=no
20257 rm -f conftest.err conftest.
$ac_ext
20258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20259 echo "${ECHO_T}$ac_header_preproc" >&6
20261 # So? What about this header?
20262 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20264 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20265 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20266 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20267 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20268 ac_header_preproc
=yes
20271 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20272 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20273 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20274 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20275 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20276 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20277 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20278 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20279 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20280 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20281 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20282 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20285 ## ----------------------------------------- ##
20286 ## Report this to wx-dev@lists.wxwidgets.org ##
20287 ## ----------------------------------------- ##
20290 sed "s/^/$as_me: WARNING: /" >&2
20293 echo "$as_me:$LINENO: checking for hash_map" >&5
20294 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20295 if test "${ac_cv_header_hash_map+set}" = set; then
20296 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 ac_cv_header_hash_map
=$ac_header_preproc
20300 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20301 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20304 if test $ac_cv_header_hash_map = yes; then
20305 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20306 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20307 cat >conftest.
$ac_ext <<_ACEOF
20310 cat confdefs.h
>>conftest.
$ac_ext
20311 cat >>conftest.
$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313 #include <hash_map>
20314 #include <hash_set>
20318 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20319 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20324 rm -f conftest.
$ac_objext
20325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20326 (eval $ac_compile) 2>conftest.er1
20328 grep -v '^ *+' conftest.er1
>conftest.err
20330 cat conftest.err
>&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } &&
20333 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20335 (eval $ac_try) 2>&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); }; } &&
20339 { ac_try
='test -s conftest.$ac_objext'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; }; then
20345 echo "$as_me:$LINENO: result: yes" >&5
20346 echo "${ECHO_T}yes" >&6
20347 cat >>confdefs.h
<<\_ACEOF
20348 #define HAVE_HASH_MAP 1
20351 cat >>confdefs.h
<<\_ACEOF
20352 #define HAVE_STD_HASH_MAP 1
20356 echo "$as_me: failed program was:" >&5
20357 sed 's/^/| /' conftest.
$ac_ext >&5
20359 echo "$as_me:$LINENO: result: no" >&5
20360 echo "${ECHO_T}no" >&6
20362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20368 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20369 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20370 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20371 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20374 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20375 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20377 # Is the header compilable?
20378 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20379 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20380 cat >conftest.
$ac_ext <<_ACEOF
20383 cat confdefs.h
>>conftest.
$ac_ext
20384 cat >>conftest.
$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 $ac_includes_default
20387 #include <ext/hash_map>
20389 rm -f conftest.
$ac_objext
20390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20391 (eval $ac_compile) 2>conftest.er1
20393 grep -v '^ *+' conftest.er1
>conftest.err
20395 cat conftest.err
>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } &&
20398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; } &&
20404 { ac_try
='test -s conftest.$ac_objext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 ac_header_compiler
=yes
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.
$ac_ext >&5
20415 ac_header_compiler
=no
20417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20419 echo "${ECHO_T}$ac_header_compiler" >&6
20421 # Is the header present?
20422 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20423 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20424 cat >conftest.
$ac_ext <<_ACEOF
20427 cat confdefs.h
>>conftest.
$ac_ext
20428 cat >>conftest.
$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 #include <ext/hash_map>
20432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20435 grep -v '^ *+' conftest.er1
>conftest.err
20437 cat conftest.err
>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } >/dev
/null
; then
20440 if test -s conftest.err
; then
20441 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20442 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20449 if test -z "$ac_cpp_err"; then
20450 ac_header_preproc
=yes
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.
$ac_ext >&5
20455 ac_header_preproc
=no
20457 rm -f conftest.err conftest.
$ac_ext
20458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20459 echo "${ECHO_T}$ac_header_preproc" >&6
20461 # So? What about this header?
20462 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20464 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20465 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20466 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20467 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20468 ac_header_preproc
=yes
20471 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20472 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20473 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20474 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20475 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20476 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20477 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20478 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20479 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20480 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20481 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20482 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20485 ## ----------------------------------------- ##
20486 ## Report this to wx-dev@lists.wxwidgets.org ##
20487 ## ----------------------------------------- ##
20490 sed "s/^/$as_me: WARNING: /" >&2
20493 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20494 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20495 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20498 ac_cv_header_ext_hash_map
=$ac_header_preproc
20500 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20501 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20504 if test $ac_cv_header_ext_hash_map = yes; then
20505 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20506 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20507 cat >conftest.
$ac_ext <<_ACEOF
20510 cat confdefs.h
>>conftest.
$ac_ext
20511 cat >>conftest.
$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 #include <ext/hash_map>
20514 #include <ext/hash_set>
20518 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20519 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20524 rm -f conftest.
$ac_objext
20525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20526 (eval $ac_compile) 2>conftest.er1
20528 grep -v '^ *+' conftest.er1
>conftest.err
20530 cat conftest.err
>&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); } &&
20533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20535 (eval $ac_try) 2>&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); }; } &&
20539 { ac_try
='test -s conftest.$ac_objext'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; }; then
20545 echo "$as_me:$LINENO: result: yes" >&5
20546 echo "${ECHO_T}yes" >&6
20547 cat >>confdefs.h
<<\_ACEOF
20548 #define HAVE_EXT_HASH_MAP 1
20551 cat >>confdefs.h
<<\_ACEOF
20552 #define HAVE_GNU_CXX_HASH_MAP 1
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 echo "$as_me:$LINENO: result: no" >&5
20560 echo "${ECHO_T}no" >&6
20562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20569 ac_cpp
='$CPP $CPPFLAGS'
20570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20578 /usr/local/include \
20580 /usr/Motif-2.1/include \
20581 /usr/Motif-1.2/include \
20582 /usr/include/Motif1.2 \
20583 /opt/xpm/include/X11 \
20584 /opt/GBxpm/include/ \
20585 /opt/GBxpm/X11/include/ \
20588 /usr/openwin/include \
20592 /usr/X11R6/include \
20593 /usr/X11R6.4/include \
20594 /usr/X11R5/include \
20595 /usr/X11R4/include \
20597 /usr/include/X11R6 \
20598 /usr/include/X11R5 \
20599 /usr/include/X11R4 \
20601 /usr/local/X11R6/include \
20602 /usr/local/X11R5/include \
20603 /usr/local/X11R4/include \
20605 /usr/local/include/X11R6 \
20606 /usr/local/include/X11R5 \
20607 /usr/local/include/X11R4 \
20611 /usr/local/X11/include \
20612 /usr/local/include/X11 \
20614 /usr/X386/include \
20615 /usr/x386/include \
20616 /usr/XFree86/include/X11 \
20618 X:/XFree86/include \
20619 X:/XFree86/include/X11 \
20622 /usr/local/include/gtk \
20623 /usr/include/glib \
20624 /usr/local/include/glib \
20627 /usr/local/include/qt \
20629 /usr/local/arm/3.3.2/include \
20631 /usr/include/windows \
20632 /usr/include/wine \
20633 /usr/local/include/wine \
20635 /usr/unsupported/include \
20636 /usr/athena/include \
20637 /usr/local/x11r5/include \
20638 /usr/lpp/Xamples/include \
20640 /usr/openwin/share/include"
20642 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20645 cat >confcache
<<\_ACEOF
20646 # This file is a shell script that caches the results of configure
20647 # tests run on this system so they can be shared between configure
20648 # scripts and configure runs, see configure's option --config-cache.
20649 # It is not useful on other systems. If it contains results you don't
20650 # want to keep, you may remove or edit it.
20652 # config.status only pays attention to the cache file if you give it
20653 # the --recheck option to rerun configure.
20655 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20656 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20657 # following values.
20661 # The following way of writing the cache mishandles newlines in values,
20662 # but we know of no workaround that is simple, portable, and efficient.
20663 # So, don't put newlines in cache variables' values.
20664 # Ultrix sh set writes to stderr and can't be redirected directly,
20665 # and sets the high bit in the cache file unless we assign to the vars.
20668 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20670 # `set' does not quote correctly, so add quotes (double-quote
20671 # substitution turns \\\\ into \\, and sed turns \\ into \).
20674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20677 # `set' quotes correctly as required by POSIX, so do not add quotes.
20679 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20688 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20690 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20691 if test -w $cache_file; then
20692 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20693 cat confcache
>$cache_file
20695 echo "not updating unwritable cache $cache_file"
20700 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20701 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20702 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20703 if test "${wx_cv_lib_glibc21+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 cat >conftest.
$ac_ext <<_ACEOF
20710 cat confdefs.h
>>conftest.
$ac_ext
20711 cat >>conftest.
$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 #include <features.h>
20718 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20719 #error not glibc2.1
20726 rm -f conftest.
$ac_objext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20728 (eval $ac_compile) 2>conftest.er1
20730 grep -v '^ *+' conftest.er1
>conftest.err
20732 cat conftest.err
>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } &&
20735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; } &&
20741 { ac_try
='test -s conftest.$ac_objext'
20742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20743 (eval $ac_try) 2>&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); }; }; then
20748 wx_cv_lib_glibc21
=yes
20751 echo "$as_me: failed program was:" >&5
20752 sed 's/^/| /' conftest.
$ac_ext >&5
20755 wx_cv_lib_glibc21
=no
20759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20762 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20763 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20764 if test "$wx_cv_lib_glibc21" = "yes"; then
20765 cat >>confdefs.h
<<\_ACEOF
20766 #define wxHAVE_GLIBC2 1
20772 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20773 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20774 cat >>confdefs.h
<<\_ACEOF
20775 #define _GNU_SOURCE 1
20783 if test "$wxUSE_REGEX" != "no"; then
20784 cat >>confdefs.h
<<\_ACEOF
20785 #define wxUSE_REGEX 1
20789 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20790 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20791 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20792 wxUSE_REGEX
=builtin
20795 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20796 if test "${ac_cv_header_regex_h+set}" = set; then
20797 echo "$as_me:$LINENO: checking for regex.h" >&5
20798 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20799 if test "${ac_cv_header_regex_h+set}" = set; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20803 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20805 # Is the header compilable?
20806 echo "$as_me:$LINENO: checking regex.h usability" >&5
20807 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20808 cat >conftest.
$ac_ext <<_ACEOF
20811 cat confdefs.h
>>conftest.
$ac_ext
20812 cat >>conftest.
$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20817 rm -f conftest.
$ac_objext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20819 (eval $ac_compile) 2>conftest.er1
20821 grep -v '^ *+' conftest.er1
>conftest.err
20823 cat conftest.err
>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; } &&
20832 { ac_try
='test -s conftest.$ac_objext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_header_compiler
=yes
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.
$ac_ext >&5
20843 ac_header_compiler
=no
20845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20847 echo "${ECHO_T}$ac_header_compiler" >&6
20849 # Is the header present?
20850 echo "$as_me:$LINENO: checking regex.h presence" >&5
20851 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20852 cat >conftest.
$ac_ext <<_ACEOF
20855 cat confdefs.h
>>conftest.
$ac_ext
20856 cat >>conftest.
$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20861 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20863 grep -v '^ *+' conftest.er1
>conftest.err
20865 cat conftest.err
>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } >/dev
/null
; then
20868 if test -s conftest.err
; then
20869 ac_cpp_err
=$ac_c_preproc_warn_flag
20870 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20877 if test -z "$ac_cpp_err"; then
20878 ac_header_preproc
=yes
20880 echo "$as_me: failed program was:" >&5
20881 sed 's/^/| /' conftest.
$ac_ext >&5
20883 ac_header_preproc
=no
20885 rm -f conftest.err conftest.
$ac_ext
20886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20887 echo "${ECHO_T}$ac_header_preproc" >&6
20889 # So? What about this header?
20890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20892 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20893 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20894 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20895 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20896 ac_header_preproc
=yes
20899 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20900 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20901 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20902 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20903 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20904 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20905 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20906 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20907 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20908 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20909 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20910 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20913 ## ----------------------------------------- ##
20914 ## Report this to wx-dev@lists.wxwidgets.org ##
20915 ## ----------------------------------------- ##
20918 sed "s/^/$as_me: WARNING: /" >&2
20921 echo "$as_me:$LINENO: checking for regex.h" >&5
20922 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20923 if test "${ac_cv_header_regex_h+set}" = set; then
20924 echo $ECHO_N "(cached) $ECHO_C" >&6
20926 ac_cv_header_regex_h
=$ac_header_preproc
20928 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20929 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20932 if test $ac_cv_header_regex_h = yes; then
20934 for ac_func
in regcomp
20936 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20937 echo "$as_me:$LINENO: checking for $ac_func" >&5
20938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20939 if eval "test \"\${$as_ac_var+set}\" = set"; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 cat >conftest.
$ac_ext <<_ACEOF
20945 cat confdefs.h
>>conftest.
$ac_ext
20946 cat >>conftest.
$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20950 #define $ac_func innocuous_$ac_func
20952 /* System header to define __stub macros and hopefully few prototypes,
20953 which can conflict with char $ac_func (); below.
20954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20955 <limits.h> exists even on freestanding compilers. */
20958 # include <limits.h>
20960 # include <assert.h>
20965 /* Override any gcc2 internal prototype to avoid an error. */
20970 /* We use char because int might match the return type of a gcc2
20971 builtin and then its argument prototype would still apply. */
20973 /* The GNU C library defines this for functions which it implements
20974 to always fail with ENOSYS. Some functions are actually named
20975 something starting with __ and the normal name is an alias. */
20976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20979 char (*f) () = $ac_func;
20988 return f != $ac_func;
20993 rm -f conftest.
$ac_objext conftest
$ac_exeext
20994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20995 (eval $ac_link) 2>conftest.er1
20997 grep -v '^ *+' conftest.er1
>conftest.err
20999 cat conftest.err
>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } &&
21002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; } &&
21008 { ac_try
='test -s conftest$ac_exeext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 eval "$as_ac_var=yes"
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.
$ac_ext >&5
21019 eval "$as_ac_var=no"
21021 rm -f conftest.err conftest.
$ac_objext \
21022 conftest
$ac_exeext conftest.
$ac_ext
21024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21026 if test `eval echo '${'$as_ac_var'}'` = yes; then
21027 cat >>confdefs.h
<<_ACEOF
21028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21038 if test "x$ac_cv_func_regcomp" != "xyes"; then
21039 if test "$wxUSE_REGEX" = "sys" ; then
21040 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21041 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21042 { (exit 1); exit 1; }; }
21044 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21045 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21046 wxUSE_REGEX
=builtin
21050 cat >>confdefs.h
<<\_ACEOF
21051 #define WX_NO_REGEX_ADVANCED 1
21060 if test "$wxUSE_ZLIB" != "no" ; then
21061 cat >>confdefs.h
<<\_ACEOF
21062 #define wxUSE_ZLIB 1
21066 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21067 if test "$USE_DARWIN" = 1; then
21068 system_zlib_h_ok
="yes"
21070 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21071 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21072 if test "${ac_cv_header_zlib_h+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 if test "$cross_compiling" = yes; then
21076 unset ac_cv_header_zlib_h
21079 cat >conftest.
$ac_ext <<_ACEOF
21082 cat confdefs.h
>>conftest.
$ac_ext
21083 cat >>conftest.
$ac_ext <<_ACEOF
21084 /* end confdefs.h. */
21091 FILE *f=fopen("conftestval", "w");
21094 ZLIB_VERSION[0] == '1' &&
21095 (ZLIB_VERSION[2] > '1' ||
21096 (ZLIB_VERSION[2] == '1' &&
21097 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21102 rm -f conftest
$ac_exeext
21103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21104 (eval $ac_link) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; }; then
21113 ac_cv_header_zlib_h
=`cat conftestval`
21115 echo "$as_me: program exited with status $ac_status" >&5
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.
$ac_ext >&5
21119 ( exit $ac_status )
21120 ac_cv_header_zlib_h
=no
21122 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21126 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21127 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21128 if test "${ac_cv_header_zlib_h+set}" = set; then
21129 echo "$as_me:$LINENO: checking for zlib.h" >&5
21130 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21131 if test "${ac_cv_header_zlib_h+set}" = set; then
21132 echo $ECHO_N "(cached) $ECHO_C" >&6
21134 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21137 # Is the header compilable?
21138 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21139 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21140 cat >conftest.
$ac_ext <<_ACEOF
21143 cat confdefs.h
>>conftest.
$ac_ext
21144 cat >>conftest.
$ac_ext <<_ACEOF
21145 /* end confdefs.h. */
21146 $ac_includes_default
21149 rm -f conftest.
$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>conftest.er1
21153 grep -v '^ *+' conftest.er1
>conftest.err
21155 cat conftest.err
>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; } &&
21164 { ac_try
='test -s conftest.$ac_objext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_header_compiler
=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21175 ac_header_compiler
=no
21177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21179 echo "${ECHO_T}$ac_header_compiler" >&6
21181 # Is the header present?
21182 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21183 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21184 cat >conftest.
$ac_ext <<_ACEOF
21187 cat confdefs.h
>>conftest.
$ac_ext
21188 cat >>conftest.
$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21195 grep -v '^ *+' conftest.er1
>conftest.err
21197 cat conftest.err
>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } >/dev
/null
; then
21200 if test -s conftest.err
; then
21201 ac_cpp_err
=$ac_c_preproc_warn_flag
21202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21209 if test -z "$ac_cpp_err"; then
21210 ac_header_preproc
=yes
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.
$ac_ext >&5
21215 ac_header_preproc
=no
21217 rm -f conftest.err conftest.
$ac_ext
21218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21219 echo "${ECHO_T}$ac_header_preproc" >&6
21221 # So? What about this header?
21222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21224 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21225 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21226 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21227 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21228 ac_header_preproc
=yes
21231 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21232 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21233 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21234 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21235 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21236 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21237 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21238 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21239 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21240 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21241 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21242 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21245 ## ----------------------------------------- ##
21246 ## Report this to wx-dev@lists.wxwidgets.org ##
21247 ## ----------------------------------------- ##
21250 sed "s/^/$as_me: WARNING: /" >&2
21253 echo "$as_me:$LINENO: checking for zlib.h" >&5
21254 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21255 if test "${ac_cv_header_zlib_h+set}" = set; then
21256 echo $ECHO_N "(cached) $ECHO_C" >&6
21258 ac_cv_header_zlib_h
=$ac_header_preproc
21260 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21261 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21267 system_zlib_h_ok
=$ac_cv_header_zlib_h
21270 if test "$system_zlib_h_ok" = "yes"; then
21271 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21272 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21273 if test "${ac_cv_lib_z_deflate+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 ac_check_lib_save_LIBS
=$LIBS
21278 cat >conftest.
$ac_ext <<_ACEOF
21281 cat confdefs.h
>>conftest.
$ac_ext
21282 cat >>conftest.
$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21285 /* Override any gcc2 internal prototype to avoid an error. */
21289 /* We use char because int might match the return type of a gcc2
21290 builtin and then its argument prototype would still apply. */
21300 rm -f conftest.
$ac_objext conftest
$ac_exeext
21301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21302 (eval $ac_link) 2>conftest.er1
21304 grep -v '^ *+' conftest.er1
>conftest.err
21306 cat conftest.err
>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try
='test -s conftest$ac_exeext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_cv_lib_z_deflate
=yes
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21326 ac_cv_lib_z_deflate
=no
21328 rm -f conftest.err conftest.
$ac_objext \
21329 conftest
$ac_exeext conftest.
$ac_ext
21330 LIBS
=$ac_check_lib_save_LIBS
21332 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21333 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21334 if test $ac_cv_lib_z_deflate = yes; then
21340 if test "x$ZLIB_LINK" = "x" ; then
21341 if test "$wxUSE_ZLIB" = "sys" ; then
21342 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21343 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21344 { (exit 1); exit 1; }; }
21346 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21347 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21358 if test "$wxUSE_LIBPNG" != "no" ; then
21359 cat >>confdefs.h
<<\_ACEOF
21360 #define wxUSE_LIBPNG 1
21364 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21365 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21366 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21370 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21371 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21372 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21373 wxUSE_LIBPNG
=builtin
21376 if test "$wxUSE_MGL" != 1 ; then
21377 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21378 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21379 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21380 if test "${ac_cv_header_png_h+set}" = set; then
21381 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 if test "$cross_compiling" = yes; then
21384 unset ac_cv_header_png_h
21387 cat >conftest.
$ac_ext <<_ACEOF
21390 cat confdefs.h
>>conftest.
$ac_ext
21391 cat >>conftest.
$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21399 FILE *f=fopen("conftestval", "w");
21402 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21407 rm -f conftest
$ac_exeext
21408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21409 (eval $ac_link) 2>&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21414 (eval $ac_try) 2>&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); }; }; then
21418 ac_cv_header_png_h
=`cat conftestval`
21420 echo "$as_me: program exited with status $ac_status" >&5
21421 echo "$as_me: failed program was:" >&5
21422 sed 's/^/| /' conftest.
$ac_ext >&5
21424 ( exit $ac_status )
21425 ac_cv_header_png_h
=no
21427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21431 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21432 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21433 if test "${ac_cv_header_png_h+set}" = set; then
21434 echo "$as_me:$LINENO: checking for png.h" >&5
21435 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21436 if test "${ac_cv_header_png_h+set}" = set; then
21437 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21440 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21442 # Is the header compilable?
21443 echo "$as_me:$LINENO: checking png.h usability" >&5
21444 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21445 cat >conftest.
$ac_ext <<_ACEOF
21448 cat confdefs.h
>>conftest.
$ac_ext
21449 cat >>conftest.
$ac_ext <<_ACEOF
21450 /* end confdefs.h. */
21451 $ac_includes_default
21454 rm -f conftest.
$ac_objext
21455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21456 (eval $ac_compile) 2>conftest.er1
21458 grep -v '^ *+' conftest.er1
>conftest.err
21460 cat conftest.err
>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); } &&
21463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; } &&
21469 { ac_try
='test -s conftest.$ac_objext'
21470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471 (eval $ac_try) 2>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); }; }; then
21475 ac_header_compiler
=yes
21477 echo "$as_me: failed program was:" >&5
21478 sed 's/^/| /' conftest.
$ac_ext >&5
21480 ac_header_compiler
=no
21482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21484 echo "${ECHO_T}$ac_header_compiler" >&6
21486 # Is the header present?
21487 echo "$as_me:$LINENO: checking png.h presence" >&5
21488 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21489 cat >conftest.
$ac_ext <<_ACEOF
21492 cat confdefs.h
>>conftest.
$ac_ext
21493 cat >>conftest.
$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21500 grep -v '^ *+' conftest.er1
>conftest.err
21502 cat conftest.err
>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } >/dev
/null
; then
21505 if test -s conftest.err
; then
21506 ac_cpp_err
=$ac_c_preproc_warn_flag
21507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21514 if test -z "$ac_cpp_err"; then
21515 ac_header_preproc
=yes
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.
$ac_ext >&5
21520 ac_header_preproc
=no
21522 rm -f conftest.err conftest.
$ac_ext
21523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21524 echo "${ECHO_T}$ac_header_preproc" >&6
21526 # So? What about this header?
21527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21529 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21530 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21531 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21532 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21533 ac_header_preproc
=yes
21536 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21537 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21538 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21539 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21540 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21541 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21542 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21543 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21544 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21545 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21546 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21547 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21550 ## ----------------------------------------- ##
21551 ## Report this to wx-dev@lists.wxwidgets.org ##
21552 ## ----------------------------------------- ##
21555 sed "s/^/$as_me: WARNING: /" >&2
21558 echo "$as_me:$LINENO: checking for png.h" >&5
21559 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21560 if test "${ac_cv_header_png_h+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21563 ac_cv_header_png_h
=$ac_header_preproc
21565 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21566 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21572 if test "$ac_cv_header_png_h" = "yes"; then
21573 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21574 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21575 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21578 ac_check_lib_save_LIBS
=$LIBS
21579 LIBS
="-lpng -lz -lm $LIBS"
21580 cat >conftest.
$ac_ext <<_ACEOF
21583 cat confdefs.h
>>conftest.
$ac_ext
21584 cat >>conftest.
$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21587 /* Override any gcc2 internal prototype to avoid an error. */
21591 /* We use char because int might match the return type of a gcc2
21592 builtin and then its argument prototype would still apply. */
21593 char png_check_sig ();
21602 rm -f conftest.
$ac_objext conftest
$ac_exeext
21603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21604 (eval $ac_link) 2>conftest.er1
21606 grep -v '^ *+' conftest.er1
>conftest.err
21608 cat conftest.err
>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } &&
21611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; } &&
21617 { ac_try
='test -s conftest$ac_exeext'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; }; then
21623 ac_cv_lib_png_png_check_sig
=yes
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.
$ac_ext >&5
21628 ac_cv_lib_png_png_check_sig
=no
21630 rm -f conftest.err conftest.
$ac_objext \
21631 conftest
$ac_exeext conftest.
$ac_ext
21632 LIBS
=$ac_check_lib_save_LIBS
21634 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21635 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21636 if test $ac_cv_lib_png_png_check_sig = yes; then
21637 PNG_LINK
=" -lpng -lz"
21642 if test "x$PNG_LINK" = "x" ; then
21643 if test "$wxUSE_LIBPNG" = "sys" ; then
21644 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21645 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21646 { (exit 1); exit 1; }; }
21648 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21649 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21650 wxUSE_LIBPNG
=builtin
21658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21663 if test "$wxUSE_LIBJPEG" != "no" ; then
21664 cat >>confdefs.h
<<\_ACEOF
21665 #define wxUSE_LIBJPEG 1
21669 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21670 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21671 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21675 if test "$wxUSE_MGL" != 1 ; then
21676 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21677 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21678 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21679 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 cat >conftest.
$ac_ext <<_ACEOF
21685 cat confdefs.h
>>conftest.
$ac_ext
21686 cat >>conftest.
$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21689 #undef HAVE_STDLIB_H
21691 #include <jpeglib.h>
21702 rm -f conftest.
$ac_objext
21703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21704 (eval $ac_compile) 2>conftest.er1
21706 grep -v '^ *+' conftest.er1
>conftest.err
21708 cat conftest.err
>&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); } &&
21711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; } &&
21717 { ac_try
='test -s conftest.$ac_objext'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; }; then
21723 ac_cv_header_jpeglib_h
=yes
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.
$ac_ext >&5
21728 ac_cv_header_jpeglib_h
=no
21731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21735 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21736 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21738 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21739 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21740 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21741 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21742 echo $ECHO_N "(cached) $ECHO_C" >&6
21744 ac_check_lib_save_LIBS
=$LIBS
21745 LIBS
="-ljpeg $LIBS"
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21753 /* Override any gcc2 internal prototype to avoid an error. */
21757 /* We use char because int might match the return type of a gcc2
21758 builtin and then its argument prototype would still apply. */
21759 char jpeg_read_header ();
21763 jpeg_read_header ();
21768 rm -f conftest.
$ac_objext conftest
$ac_exeext
21769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21770 (eval $ac_link) 2>conftest.er1
21772 grep -v '^ *+' conftest.er1
>conftest.err
21774 cat conftest.err
>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } &&
21777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779 (eval $ac_try) 2>&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); }; } &&
21783 { ac_try
='test -s conftest$ac_exeext'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; }; then
21789 ac_cv_lib_jpeg_jpeg_read_header
=yes
21791 echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.
$ac_ext >&5
21794 ac_cv_lib_jpeg_jpeg_read_header
=no
21796 rm -f conftest.err conftest.
$ac_objext \
21797 conftest
$ac_exeext conftest.
$ac_ext
21798 LIBS
=$ac_check_lib_save_LIBS
21800 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21801 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21802 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21803 JPEG_LINK
=" -ljpeg"
21808 if test "x$JPEG_LINK" = "x" ; then
21809 if test "$wxUSE_LIBJPEG" = "sys" ; then
21810 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21811 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21812 { (exit 1); exit 1; }; }
21814 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21815 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21816 wxUSE_LIBJPEG
=builtin
21827 TIFF_PREREQ_LINKS
=-lm
21828 if test "$wxUSE_LIBTIFF" != "no" ; then
21829 cat >>confdefs.h
<<\_ACEOF
21830 #define wxUSE_LIBTIFF 1
21834 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21835 if test "$wxUSE_LIBJPEG" = "sys"; then
21836 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21838 if test "$wxUSE_ZLIB" = "sys"; then
21839 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21841 if test "${ac_cv_header_tiffio_h+set}" = set; then
21842 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21843 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21844 if test "${ac_cv_header_tiffio_h+set}" = set; then
21845 echo $ECHO_N "(cached) $ECHO_C" >&6
21847 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21848 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21850 # Is the header compilable?
21851 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21852 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21853 cat >conftest.
$ac_ext <<_ACEOF
21856 cat confdefs.h
>>conftest.
$ac_ext
21857 cat >>conftest.
$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21859 $ac_includes_default
21860 #include <tiffio.h>
21862 rm -f conftest.
$ac_objext
21863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21864 (eval $ac_compile) 2>conftest.er1
21866 grep -v '^ *+' conftest.er1
>conftest.err
21868 cat conftest.err
>&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } &&
21871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873 (eval $ac_try) 2>&5
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; } &&
21877 { ac_try
='test -s conftest.$ac_objext'
21878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21879 (eval $ac_try) 2>&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); }; }; then
21883 ac_header_compiler
=yes
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.
$ac_ext >&5
21888 ac_header_compiler
=no
21890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21892 echo "${ECHO_T}$ac_header_compiler" >&6
21894 # Is the header present?
21895 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21896 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21897 cat >conftest.
$ac_ext <<_ACEOF
21900 cat confdefs.h
>>conftest.
$ac_ext
21901 cat >>conftest.
$ac_ext <<_ACEOF
21902 /* end confdefs.h. */
21903 #include <tiffio.h>
21905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21908 grep -v '^ *+' conftest.er1
>conftest.err
21910 cat conftest.err
>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } >/dev
/null
; then
21913 if test -s conftest.err
; then
21914 ac_cpp_err
=$ac_c_preproc_warn_flag
21915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21922 if test -z "$ac_cpp_err"; then
21923 ac_header_preproc
=yes
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.
$ac_ext >&5
21928 ac_header_preproc
=no
21930 rm -f conftest.err conftest.
$ac_ext
21931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21932 echo "${ECHO_T}$ac_header_preproc" >&6
21934 # So? What about this header?
21935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21937 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21938 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21939 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21940 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21941 ac_header_preproc
=yes
21944 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21945 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21946 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21947 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21948 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21949 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21950 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21951 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21952 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21953 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21954 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21955 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21958 ## ----------------------------------------- ##
21959 ## Report this to wx-dev@lists.wxwidgets.org ##
21960 ## ----------------------------------------- ##
21963 sed "s/^/$as_me: WARNING: /" >&2
21966 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21967 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21968 if test "${ac_cv_header_tiffio_h+set}" = set; then
21969 echo $ECHO_N "(cached) $ECHO_C" >&6
21971 ac_cv_header_tiffio_h
=$ac_header_preproc
21973 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21974 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21977 if test $ac_cv_header_tiffio_h = yes; then
21979 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21980 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21981 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21982 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 ac_check_lib_save_LIBS
=$LIBS
21985 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21986 cat >conftest.
$ac_ext <<_ACEOF
21989 cat confdefs.h
>>conftest.
$ac_ext
21990 cat >>conftest.
$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21993 /* Override any gcc2 internal prototype to avoid an error. */
21997 /* We use char because int might match the return type of a gcc2
21998 builtin and then its argument prototype would still apply. */
22008 rm -f conftest.
$ac_objext conftest
$ac_exeext
22009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22010 (eval $ac_link) 2>conftest.er1
22012 grep -v '^ *+' conftest.er1
>conftest.err
22014 cat conftest.err
>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } &&
22017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; } &&
22023 { ac_try
='test -s conftest$ac_exeext'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; }; then
22029 ac_cv_lib_tiff_TIFFError
=yes
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.
$ac_ext >&5
22034 ac_cv_lib_tiff_TIFFError
=no
22036 rm -f conftest.err conftest.
$ac_objext \
22037 conftest
$ac_exeext conftest.
$ac_ext
22038 LIBS
=$ac_check_lib_save_LIBS
22040 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22041 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22042 if test $ac_cv_lib_tiff_TIFFError = yes; then
22043 TIFF_LINK
=" -ltiff"
22052 if test "x$TIFF_LINK" = "x" ; then
22053 if test "$wxUSE_LIBTIFF" = "sys" ; then
22054 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22055 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22056 { (exit 1); exit 1; }; }
22058 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22059 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22060 wxUSE_LIBTIFF
=builtin
22069 if test "$wxUSE_EXPAT" != "no"; then
22071 cat >>confdefs.h
<<\_ACEOF
22072 #define wxUSE_EXPAT 1
22075 cat >>confdefs.h
<<\_ACEOF
22076 #define wxUSE_XML 1
22080 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22081 if test "${ac_cv_header_expat_h+set}" = set; then
22082 echo "$as_me:$LINENO: checking for expat.h" >&5
22083 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22084 if test "${ac_cv_header_expat_h+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22088 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22090 # Is the header compilable?
22091 echo "$as_me:$LINENO: checking expat.h usability" >&5
22092 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22093 cat >conftest.
$ac_ext <<_ACEOF
22096 cat confdefs.h
>>conftest.
$ac_ext
22097 cat >>conftest.
$ac_ext <<_ACEOF
22098 /* end confdefs.h. */
22099 $ac_includes_default
22102 rm -f conftest.
$ac_objext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22104 (eval $ac_compile) 2>conftest.er1
22106 grep -v '^ *+' conftest.er1
>conftest.err
22108 cat conftest.err
>&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } &&
22111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; } &&
22117 { ac_try
='test -s conftest.$ac_objext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 ac_header_compiler
=yes
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.
$ac_ext >&5
22128 ac_header_compiler
=no
22130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22132 echo "${ECHO_T}$ac_header_compiler" >&6
22134 # Is the header present?
22135 echo "$as_me:$LINENO: checking expat.h presence" >&5
22136 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22137 cat >conftest.
$ac_ext <<_ACEOF
22140 cat confdefs.h
>>conftest.
$ac_ext
22141 cat >>conftest.
$ac_ext <<_ACEOF
22142 /* end confdefs.h. */
22145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22148 grep -v '^ *+' conftest.er1
>conftest.err
22150 cat conftest.err
>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); } >/dev
/null
; then
22153 if test -s conftest.err
; then
22154 ac_cpp_err
=$ac_c_preproc_warn_flag
22155 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22162 if test -z "$ac_cpp_err"; then
22163 ac_header_preproc
=yes
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.
$ac_ext >&5
22168 ac_header_preproc
=no
22170 rm -f conftest.err conftest.
$ac_ext
22171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22172 echo "${ECHO_T}$ac_header_preproc" >&6
22174 # So? What about this header?
22175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22177 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22178 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22179 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22180 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22181 ac_header_preproc
=yes
22184 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22185 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22186 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22187 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22188 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22189 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22190 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22191 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22192 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22193 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22194 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22195 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22198 ## ----------------------------------------- ##
22199 ## Report this to wx-dev@lists.wxwidgets.org ##
22200 ## ----------------------------------------- ##
22203 sed "s/^/$as_me: WARNING: /" >&2
22206 echo "$as_me:$LINENO: checking for expat.h" >&5
22207 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22208 if test "${ac_cv_header_expat_h+set}" = set; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22211 ac_cv_header_expat_h
=$ac_header_preproc
22213 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22214 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22217 if test $ac_cv_header_expat_h = yes; then
22222 if test "x$found_expat_h" = "x1"; then
22223 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22224 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22225 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22232 ac_cpp
='$CXXCPP $CPPFLAGS'
22233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22237 cat >conftest.
$ac_ext <<_ACEOF
22240 cat confdefs.h
>>conftest.
$ac_ext
22241 cat >>conftest.
$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22252 rm -f conftest.
$ac_objext
22253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22254 (eval $ac_compile) 2>conftest.er1
22256 grep -v '^ *+' conftest.er1
>conftest.err
22258 cat conftest.err
>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; } &&
22267 { ac_try
='test -s conftest.$ac_objext'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; }; then
22273 wx_cv_expat_is_not_broken
=yes
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.
$ac_ext >&5
22278 wx_cv_expat_is_not_broken
=no
22281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22283 ac_cpp
='$CPP $CPPFLAGS'
22284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22291 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22292 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22293 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22294 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22295 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22296 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22297 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 ac_check_lib_save_LIBS
=$LIBS
22300 LIBS
="-lexpat $LIBS"
22301 cat >conftest.
$ac_ext <<_ACEOF
22304 cat confdefs.h
>>conftest.
$ac_ext
22305 cat >>conftest.
$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22308 /* Override any gcc2 internal prototype to avoid an error. */
22312 /* We use char because int might match the return type of a gcc2
22313 builtin and then its argument prototype would still apply. */
22314 char XML_ParserCreate ();
22318 XML_ParserCreate ();
22323 rm -f conftest.
$ac_objext conftest
$ac_exeext
22324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22325 (eval $ac_link) 2>conftest.er1
22327 grep -v '^ *+' conftest.er1
>conftest.err
22329 cat conftest.err
>&5
22330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331 (exit $ac_status); } &&
22332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22334 (eval $ac_try) 2>&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); }; } &&
22338 { ac_try
='test -s conftest$ac_exeext'
22339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22340 (eval $ac_try) 2>&5
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); }; }; then
22344 ac_cv_lib_expat_XML_ParserCreate
=yes
22346 echo "$as_me: failed program was:" >&5
22347 sed 's/^/| /' conftest.
$ac_ext >&5
22349 ac_cv_lib_expat_XML_ParserCreate
=no
22351 rm -f conftest.err conftest.
$ac_objext \
22352 conftest
$ac_exeext conftest.
$ac_ext
22353 LIBS
=$ac_check_lib_save_LIBS
22355 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22356 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22357 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22358 EXPAT_LINK
=" -lexpat"
22363 if test "x$EXPAT_LINK" = "x" ; then
22364 if test "$wxUSE_EXPAT" = "sys" ; then
22365 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22366 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22367 { (exit 1); exit 1; }; }
22369 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22370 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22371 wxUSE_EXPAT
=builtin
22377 if test "$wxUSE_EXPAT" = "builtin" ; then
22380 subdirs
="$subdirs src/expat"
22387 if test "$wxUSE_LIBMSPACK" != "no"; then
22388 if test "${ac_cv_header_mspack_h+set}" = set; then
22389 echo "$as_me:$LINENO: checking for mspack.h" >&5
22390 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22391 if test "${ac_cv_header_mspack_h+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22395 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22397 # Is the header compilable?
22398 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22399 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22400 cat >conftest.
$ac_ext <<_ACEOF
22403 cat confdefs.h
>>conftest.
$ac_ext
22404 cat >>conftest.
$ac_ext <<_ACEOF
22405 /* end confdefs.h. */
22406 $ac_includes_default
22407 #include <mspack.h>
22409 rm -f conftest.
$ac_objext
22410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22411 (eval $ac_compile) 2>conftest.er1
22413 grep -v '^ *+' conftest.er1
>conftest.err
22415 cat conftest.err
>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } &&
22418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; } &&
22424 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22430 ac_header_compiler
=yes
22432 echo "$as_me: failed program was:" >&5
22433 sed 's/^/| /' conftest.
$ac_ext >&5
22435 ac_header_compiler
=no
22437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22439 echo "${ECHO_T}$ac_header_compiler" >&6
22441 # Is the header present?
22442 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22443 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22444 cat >conftest.
$ac_ext <<_ACEOF
22447 cat confdefs.h
>>conftest.
$ac_ext
22448 cat >>conftest.
$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 #include <mspack.h>
22452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22455 grep -v '^ *+' conftest.er1
>conftest.err
22457 cat conftest.err
>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } >/dev
/null
; then
22460 if test -s conftest.err
; then
22461 ac_cpp_err
=$ac_c_preproc_warn_flag
22462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22469 if test -z "$ac_cpp_err"; then
22470 ac_header_preproc
=yes
22472 echo "$as_me: failed program was:" >&5
22473 sed 's/^/| /' conftest.
$ac_ext >&5
22475 ac_header_preproc
=no
22477 rm -f conftest.err conftest.
$ac_ext
22478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22479 echo "${ECHO_T}$ac_header_preproc" >&6
22481 # So? What about this header?
22482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22484 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22485 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22486 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22487 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22488 ac_header_preproc
=yes
22491 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22492 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22493 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22494 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22495 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22496 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22497 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22498 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22499 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22500 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22501 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22502 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22505 ## ----------------------------------------- ##
22506 ## Report this to wx-dev@lists.wxwidgets.org ##
22507 ## ----------------------------------------- ##
22510 sed "s/^/$as_me: WARNING: /" >&2
22513 echo "$as_me:$LINENO: checking for mspack.h" >&5
22514 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22515 if test "${ac_cv_header_mspack_h+set}" = set; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22518 ac_cv_header_mspack_h
=$ac_header_preproc
22520 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22521 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22524 if test $ac_cv_header_mspack_h = yes; then
22529 if test "x$found_mspack_h" = "x1"; then
22530 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22531 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22532 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22533 echo $ECHO_N "(cached) $ECHO_C" >&6
22535 ac_check_lib_save_LIBS
=$LIBS
22536 LIBS
="-lmspack $LIBS"
22537 cat >conftest.
$ac_ext <<_ACEOF
22540 cat confdefs.h
>>conftest.
$ac_ext
22541 cat >>conftest.
$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22544 /* Override any gcc2 internal prototype to avoid an error. */
22548 /* We use char because int might match the return type of a gcc2
22549 builtin and then its argument prototype would still apply. */
22550 char mspack_create_chm_decompressor ();
22554 mspack_create_chm_decompressor ();
22559 rm -f conftest.
$ac_objext conftest
$ac_exeext
22560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22561 (eval $ac_link) 2>conftest.er1
22563 grep -v '^ *+' conftest.er1
>conftest.err
22565 cat conftest.err
>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } &&
22568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; } &&
22574 { ac_try
='test -s conftest$ac_exeext'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; }; then
22580 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.
$ac_ext >&5
22585 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22587 rm -f conftest.err conftest.
$ac_objext \
22588 conftest
$ac_exeext conftest.
$ac_ext
22589 LIBS
=$ac_check_lib_save_LIBS
22591 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22592 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22593 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22594 MSPACK_LINK
=" -lmspack"
22598 if test "x$MSPACK_LINK" = "x" ; then
22603 if test "$wxUSE_LIBMSPACK" != "no"; then
22604 cat >>confdefs.h
<<\_ACEOF
22605 #define wxUSE_LIBMSPACK 1
22619 if test "$USE_WIN32" = 1 ; then
22621 for ac_header
in w32api.h
22623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22625 echo "$as_me:$LINENO: checking for $ac_header" >&5
22626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22628 echo $ECHO_N "(cached) $ECHO_C" >&6
22630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22633 # Is the header compilable?
22634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22643 #include <$ac_header>
22645 rm -f conftest.
$ac_objext
22646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22647 (eval $ac_compile) 2>conftest.er1
22649 grep -v '^ *+' conftest.er1
>conftest.err
22651 cat conftest.err
>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } &&
22654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; } &&
22660 { ac_try
='test -s conftest.$ac_objext'
22661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662 (eval $ac_try) 2>&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); }; }; then
22666 ac_header_compiler
=yes
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.
$ac_ext >&5
22671 ac_header_compiler
=no
22673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22675 echo "${ECHO_T}$ac_header_compiler" >&6
22677 # Is the header present?
22678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22680 cat >conftest.
$ac_ext <<_ACEOF
22683 cat confdefs.h
>>conftest.
$ac_ext
22684 cat >>conftest.
$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 #include <$ac_header>
22688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22689 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22691 grep -v '^ *+' conftest.er1
>conftest.err
22693 cat conftest.err
>&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } >/dev
/null
; then
22696 if test -s conftest.err
; then
22697 ac_cpp_err
=$ac_c_preproc_warn_flag
22698 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22705 if test -z "$ac_cpp_err"; then
22706 ac_header_preproc
=yes
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.
$ac_ext >&5
22711 ac_header_preproc
=no
22713 rm -f conftest.err conftest.
$ac_ext
22714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22715 echo "${ECHO_T}$ac_header_preproc" >&6
22717 # So? What about this header?
22718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22724 ac_header_preproc
=yes
22727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22741 ## ----------------------------------------- ##
22742 ## Report this to wx-dev@lists.wxwidgets.org ##
22743 ## ----------------------------------------- ##
22746 sed "s/^/$as_me: WARNING: /" >&2
22749 echo "$as_me:$LINENO: checking for $ac_header" >&5
22750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22752 echo $ECHO_N "(cached) $ECHO_C" >&6
22754 eval "$as_ac_Header=\$ac_header_preproc"
22756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22761 cat >>confdefs.h
<<_ACEOF
22762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22769 if test "${ac_cv_header_windows_h+set}" = set; then
22770 echo "$as_me:$LINENO: checking for windows.h" >&5
22771 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22772 if test "${ac_cv_header_windows_h+set}" = set; then
22773 echo $ECHO_N "(cached) $ECHO_C" >&6
22775 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22776 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22778 # Is the header compilable?
22779 echo "$as_me:$LINENO: checking windows.h usability" >&5
22780 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22781 cat >conftest.
$ac_ext <<_ACEOF
22784 cat confdefs.h
>>conftest.
$ac_ext
22785 cat >>conftest.
$ac_ext <<_ACEOF
22786 /* end confdefs.h. */
22787 $ac_includes_default
22788 #include <windows.h>
22790 rm -f conftest.
$ac_objext
22791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22792 (eval $ac_compile) 2>conftest.er1
22794 grep -v '^ *+' conftest.er1
>conftest.err
22796 cat conftest.err
>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); } &&
22799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; } &&
22805 { ac_try
='test -s conftest.$ac_objext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_header_compiler
=yes
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.
$ac_ext >&5
22816 ac_header_compiler
=no
22818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22820 echo "${ECHO_T}$ac_header_compiler" >&6
22822 # Is the header present?
22823 echo "$as_me:$LINENO: checking windows.h presence" >&5
22824 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22825 cat >conftest.
$ac_ext <<_ACEOF
22828 cat confdefs.h
>>conftest.
$ac_ext
22829 cat >>conftest.
$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 #include <windows.h>
22833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22836 grep -v '^ *+' conftest.er1
>conftest.err
22838 cat conftest.err
>&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } >/dev
/null
; then
22841 if test -s conftest.err
; then
22842 ac_cpp_err
=$ac_c_preproc_warn_flag
22843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22850 if test -z "$ac_cpp_err"; then
22851 ac_header_preproc
=yes
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.
$ac_ext >&5
22856 ac_header_preproc
=no
22858 rm -f conftest.err conftest.
$ac_ext
22859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22860 echo "${ECHO_T}$ac_header_preproc" >&6
22862 # So? What about this header?
22863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22865 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22866 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22867 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22868 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22869 ac_header_preproc
=yes
22872 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22873 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22874 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22875 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22876 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22877 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22878 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22879 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22880 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22881 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22882 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22883 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22886 ## ----------------------------------------- ##
22887 ## Report this to wx-dev@lists.wxwidgets.org ##
22888 ## ----------------------------------------- ##
22891 sed "s/^/$as_me: WARNING: /" >&2
22894 echo "$as_me:$LINENO: checking for windows.h" >&5
22895 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22896 if test "${ac_cv_header_windows_h+set}" = set; then
22897 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 ac_cv_header_windows_h
=$ac_header_preproc
22901 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22902 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22905 if test $ac_cv_header_windows_h = yes; then
22909 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22910 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22911 { (exit 1); exit 1; }; }
22917 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22919 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22920 LIBS
="$LIBS -loleacc"
22925 LIBS
="$LIBS -lkernel32 -luser32"
22926 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22929 if test "$wxUSE_ODBC" = "sys" ; then
22932 if test "$wxUSE_ODBC" = "yes" ; then
22933 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22934 cat >>confdefs.h
<<\_ACEOF
22935 #define wxUSE_ODBC 1
22940 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22941 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22943 WIN32INSTALL
=win32install
22946 if test "$wxUSE_GUI" = "yes"; then
22956 if test "$wxUSE_COCOA" = 1 ; then
22957 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22958 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22959 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22960 wxUSE_PRINTING_ARCHITECTURE
=no
22962 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22963 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22964 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22965 wxUSE_DRAG_AND_DROP
=no
22967 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22968 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22969 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22974 if test "$wxUSE_MSW" = 1 ; then
22980 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22984 if test "$wxUSE_GTK" = 1; then
22985 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22986 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22988 gtk_version_cached
=1
22989 if test "${wx_cv_lib_gtk+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 gtk_version_cached
=0
22994 echo "$as_me:$LINENO: result: " >&5
22995 echo "${ECHO_T}" >&6
22998 if test "$wxUSE_THREADS" = "yes"; then
22999 GTK_MODULES
=gthread
23003 if test "x$wxUSE_GTK2" = "xyes"; then
23004 # Check whether --enable-gtktest or --disable-gtktest was given.
23005 if test "${enable_gtktest+set}" = set; then
23006 enableval
="$enable_gtktest"
23012 pkg_config_args
=gtk
+-2.0
23013 for module
in .
$GTK_MODULES
23017 pkg_config_args
="$pkg_config_args gthread-2.0"
23024 # Extract the first word of "pkg-config", so it can be a program name with args.
23025 set dummy pkg
-config; ac_word
=$2
23026 echo "$as_me:$LINENO: checking for $ac_word" >&5
23027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23028 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 case $PKG_CONFIG in
23033 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23037 for as_dir
in $PATH
23040 test -z "$as_dir" && as_dir
=.
23041 for ac_exec_ext
in '' $ac_executable_extensions; do
23042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23043 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23050 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23054 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23056 if test -n "$PKG_CONFIG"; then
23057 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23058 echo "${ECHO_T}$PKG_CONFIG" >&6
23060 echo "$as_me:$LINENO: result: no" >&5
23061 echo "${ECHO_T}no" >&6
23065 if test x
$PKG_CONFIG != xno
; then
23066 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23069 echo "*** pkg-config too old; version 0.7 or better required."
23077 min_gtk_version
=2.0.0
23078 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23079 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23081 if test x
$PKG_CONFIG != xno
; then
23082 ## don't try to run the test against uninstalled libtool libs
23083 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23084 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23088 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23095 if test x
"$no_gtk" = x
; then
23096 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23097 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23098 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23099 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23100 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23102 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23103 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23104 if test "x$enable_gtktest" = "xyes" ; then
23105 ac_save_CFLAGS
="$CFLAGS"
23106 ac_save_LIBS
="$LIBS"
23107 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23108 LIBS
="$GTK_LIBS $LIBS"
23110 if test "$cross_compiling" = yes; then
23111 echo $ac_n "cross compiling; assumed OK... $ac_c"
23113 cat >conftest.
$ac_ext <<_ACEOF
23116 cat confdefs.h
>>conftest.
$ac_ext
23117 cat >>conftest.
$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23120 #include <gtk/gtk.h>
23122 #include <stdlib.h>
23127 int major, minor, micro;
23130 system ("touch conf.gtktest");
23132 /* HP/UX 9 (%@#!) writes to sscanf strings */
23133 tmp_version = g_strdup("$min_gtk_version");
23134 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23135 printf("%s, bad version string\n", "$min_gtk_version");
23139 if ((gtk_major_version != $gtk_config_major_version) ||
23140 (gtk_minor_version != $gtk_config_minor_version) ||
23141 (gtk_micro_version != $gtk_config_micro_version))
23143 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23144 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23145 gtk_major_version, gtk_minor_version, gtk_micro_version);
23146 printf ("*** was found! If pkg-config was correct, then it is best\n");
23147 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23148 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23149 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23150 printf("*** required on your system.\n");
23151 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23152 printf("*** to point to the correct configuration files\n");
23154 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23155 (gtk_minor_version != GTK_MINOR_VERSION) ||
23156 (gtk_micro_version != GTK_MICRO_VERSION))
23158 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23159 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23160 printf("*** library (version %d.%d.%d)\n",
23161 gtk_major_version, gtk_minor_version, gtk_micro_version);
23165 if ((gtk_major_version > major) ||
23166 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23167 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23173 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23174 gtk_major_version, gtk_minor_version, gtk_micro_version);
23175 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23176 major, minor, micro);
23177 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23179 printf("*** If you have already installed a sufficiently new version, this error\n");
23180 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23181 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23182 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23183 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23184 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23185 printf("*** so that the correct libraries are found at run-time))\n");
23192 rm -f conftest
$ac_exeext
23193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23194 (eval $ac_link) 2>&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23205 echo "$as_me: program exited with status $ac_status" >&5
23206 echo "$as_me: failed program was:" >&5
23207 sed 's/^/| /' conftest.
$ac_ext >&5
23209 ( exit $ac_status )
23212 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23214 CFLAGS
="$ac_save_CFLAGS"
23215 LIBS
="$ac_save_LIBS"
23218 if test "x$no_gtk" = x
; then
23219 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23220 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23223 echo "$as_me:$LINENO: result: no" >&5
23224 echo "${ECHO_T}no" >&6
23225 if test "$PKG_CONFIG" = "no" ; then
23226 echo "*** A new enough version of pkg-config was not found."
23227 echo "*** See http://pkgconfig.sourceforge.net"
23229 if test -f conf.gtktest
; then
23232 echo "*** Could not run GTK+ test program, checking why..."
23233 ac_save_CFLAGS
="$CFLAGS"
23234 ac_save_LIBS
="$LIBS"
23235 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23236 LIBS
="$LIBS $GTK_LIBS"
23237 cat >conftest.
$ac_ext <<_ACEOF
23240 cat confdefs.h
>>conftest.
$ac_ext
23241 cat >>conftest.
$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23244 #include <gtk/gtk.h>
23250 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23255 rm -f conftest.
$ac_objext conftest
$ac_exeext
23256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23257 (eval $ac_link) 2>conftest.er1
23259 grep -v '^ *+' conftest.er1
>conftest.err
23261 cat conftest.err
>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } &&
23264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23266 (eval $ac_try) 2>&5
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); }; } &&
23270 { ac_try
='test -s conftest$ac_exeext'
23271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); }; }; then
23276 echo "*** The test program compiled, but did not run. This usually means"
23277 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23278 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23279 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23280 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23281 echo "*** is required on your system"
23283 echo "*** If you have an old version installed, it is best to remove it, although"
23284 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.
$ac_ext >&5
23289 echo "*** The test program failed to compile or link. See the file config.log for the"
23290 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23292 rm -f conftest.err conftest.
$ac_objext \
23293 conftest
$ac_exeext conftest.
$ac_ext
23294 CFLAGS
="$ac_save_CFLAGS"
23295 LIBS
="$ac_save_LIBS"
23308 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23309 if test "${with_gtk_prefix+set}" = set; then
23310 withval
="$with_gtk_prefix"
23311 gtk_config_prefix
="$withval"
23313 gtk_config_prefix
=""
23316 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23317 if test "${with_gtk_exec_prefix+set}" = set; then
23318 withval
="$with_gtk_exec_prefix"
23319 gtk_config_exec_prefix
="$withval"
23321 gtk_config_exec_prefix
=""
23323 # Check whether --enable-gtktest or --disable-gtktest was given.
23324 if test "${enable_gtktest+set}" = set; then
23325 enableval
="$enable_gtktest"
23331 for module
in .
$GTK_MODULES
23335 gtk_config_args
="$gtk_config_args gthread"
23340 if test x
$gtk_config_exec_prefix != x
; then
23341 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23342 if test x
${GTK_CONFIG+set} != xset
; then
23343 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23346 if test x
$gtk_config_prefix != x
; then
23347 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23348 if test x
${GTK_CONFIG+set} != xset
; then
23349 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23353 # Extract the first word of "gtk-config", so it can be a program name with args.
23354 set dummy gtk
-config; ac_word
=$2
23355 echo "$as_me:$LINENO: checking for $ac_word" >&5
23356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23357 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23358 echo $ECHO_N "(cached) $ECHO_C" >&6
23360 case $GTK_CONFIG in
23362 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23366 for as_dir
in $PATH
23369 test -z "$as_dir" && as_dir
=.
23370 for ac_exec_ext
in '' $ac_executable_extensions; do
23371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23372 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23379 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23383 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23385 if test -n "$GTK_CONFIG"; then
23386 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23387 echo "${ECHO_T}$GTK_CONFIG" >&6
23389 echo "$as_me:$LINENO: result: no" >&5
23390 echo "${ECHO_T}no" >&6
23393 min_gtk_version
=1.2.7
23394 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23395 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23397 if test "$GTK_CONFIG" = "no" ; then
23400 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23401 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23402 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23404 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23405 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23406 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23407 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23408 if test "x$enable_gtktest" = "xyes" ; then
23409 ac_save_CFLAGS
="$CFLAGS"
23410 ac_save_LIBS
="$LIBS"
23411 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23412 LIBS
="$GTK_LIBS $LIBS"
23414 if test "$cross_compiling" = yes; then
23415 echo $ac_n "cross compiling; assumed OK... $ac_c"
23417 cat >conftest.
$ac_ext <<_ACEOF
23420 cat confdefs.h
>>conftest.
$ac_ext
23421 cat >>conftest.
$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23424 #include <gtk/gtk.h>
23426 #include <stdlib.h>
23431 int major, minor, micro;
23434 system ("touch conf.gtktest");
23436 /* HP/UX 9 (%@#!) writes to sscanf strings */
23437 tmp_version = g_strdup("$min_gtk_version");
23438 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23439 printf("%s, bad version string\n", "$min_gtk_version");
23443 if ((gtk_major_version != $gtk_config_major_version) ||
23444 (gtk_minor_version != $gtk_config_minor_version) ||
23445 (gtk_micro_version != $gtk_config_micro_version))
23447 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23448 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23449 gtk_major_version, gtk_minor_version, gtk_micro_version);
23450 printf ("*** was found! If gtk-config was correct, then it is best\n");
23451 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23452 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23453 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23454 printf("*** required on your system.\n");
23455 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23456 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23457 printf("*** before re-running configure\n");
23459 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23460 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23461 (gtk_minor_version != GTK_MINOR_VERSION) ||
23462 (gtk_micro_version != GTK_MICRO_VERSION))
23464 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23465 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23466 printf("*** library (version %d.%d.%d)\n",
23467 gtk_major_version, gtk_minor_version, gtk_micro_version);
23469 #endif /* defined (GTK_MAJOR_VERSION) ... */
23472 if ((gtk_major_version > major) ||
23473 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23474 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23480 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23481 gtk_major_version, gtk_minor_version, gtk_micro_version);
23482 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23483 major, minor, micro);
23484 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23486 printf("*** If you have already installed a sufficiently new version, this error\n");
23487 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23488 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23489 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23490 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23491 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23492 printf("*** so that the correct libraries are found at run-time))\n");
23499 rm -f conftest
$ac_exeext
23500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23501 (eval $ac_link) 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; }; then
23512 echo "$as_me: program exited with status $ac_status" >&5
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.
$ac_ext >&5
23516 ( exit $ac_status )
23519 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23521 CFLAGS
="$ac_save_CFLAGS"
23522 LIBS
="$ac_save_LIBS"
23525 if test "x$no_gtk" = x
; then
23526 echo "$as_me:$LINENO: result: yes" >&5
23527 echo "${ECHO_T}yes" >&6
23528 wx_cv_lib_gtk
=1.2.7
23530 echo "$as_me:$LINENO: result: no" >&5
23531 echo "${ECHO_T}no" >&6
23532 if test "$GTK_CONFIG" = "no" ; then
23533 echo "*** The gtk-config script installed by GTK could not be found"
23534 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23535 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23536 echo "*** full path to gtk-config."
23538 if test -f conf.gtktest
; then
23541 echo "*** Could not run GTK test program, checking why..."
23542 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23543 LIBS
="$LIBS $GTK_LIBS"
23544 cat >conftest.
$ac_ext <<_ACEOF
23547 cat confdefs.h
>>conftest.
$ac_ext
23548 cat >>conftest.
$ac_ext <<_ACEOF
23549 /* end confdefs.h. */
23551 #include <gtk/gtk.h>
23557 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23562 rm -f conftest.
$ac_objext conftest
$ac_exeext
23563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23564 (eval $ac_link) 2>conftest.er1
23566 grep -v '^ *+' conftest.er1
>conftest.err
23568 cat conftest.err
>&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23573 (eval $ac_try) 2>&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); }; } &&
23577 { ac_try
='test -s conftest$ac_exeext'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; }; then
23583 echo "*** The test program compiled, but did not run. This usually means"
23584 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23585 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23586 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23587 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23588 echo "*** is required on your system"
23590 echo "*** If you have an old version installed, it is best to remove it, although"
23591 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23593 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23594 echo "*** came with the system with the command"
23596 echo "*** rpm --erase --nodeps gtk gtk-devel"
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.
$ac_ext >&5
23601 echo "*** The test program failed to compile or link. See the file config.log for the"
23602 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23603 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23604 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23606 rm -f conftest.err conftest.
$ac_objext \
23607 conftest
$ac_exeext conftest.
$ac_ext
23608 CFLAGS
="$ac_save_CFLAGS"
23609 LIBS
="$ac_save_LIBS"
23621 if test -z "$wx_cv_lib_gtk"; then
23623 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23624 if test "${with_gtk_prefix+set}" = set; then
23625 withval
="$with_gtk_prefix"
23626 gtk_config_prefix
="$withval"
23628 gtk_config_prefix
=""
23631 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23632 if test "${with_gtk_exec_prefix+set}" = set; then
23633 withval
="$with_gtk_exec_prefix"
23634 gtk_config_exec_prefix
="$withval"
23636 gtk_config_exec_prefix
=""
23638 # Check whether --enable-gtktest or --disable-gtktest was given.
23639 if test "${enable_gtktest+set}" = set; then
23640 enableval
="$enable_gtktest"
23646 for module
in .
$GTK_MODULES
23650 gtk_config_args
="$gtk_config_args gthread"
23655 if test x
$gtk_config_exec_prefix != x
; then
23656 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23657 if test x
${GTK_CONFIG+set} != xset
; then
23658 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23661 if test x
$gtk_config_prefix != x
; then
23662 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23663 if test x
${GTK_CONFIG+set} != xset
; then
23664 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23668 # Extract the first word of "gtk-config", so it can be a program name with args.
23669 set dummy gtk
-config; ac_word
=$2
23670 echo "$as_me:$LINENO: checking for $ac_word" >&5
23671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23672 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23675 case $GTK_CONFIG in
23677 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23681 for as_dir
in $PATH
23684 test -z "$as_dir" && as_dir
=.
23685 for ac_exec_ext
in '' $ac_executable_extensions; do
23686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23687 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23694 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23698 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23700 if test -n "$GTK_CONFIG"; then
23701 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23702 echo "${ECHO_T}$GTK_CONFIG" >&6
23704 echo "$as_me:$LINENO: result: no" >&5
23705 echo "${ECHO_T}no" >&6
23708 min_gtk_version
=1.2.3
23709 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23710 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23712 if test "$GTK_CONFIG" = "no" ; then
23715 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23716 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23717 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23719 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23721 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23723 if test "x$enable_gtktest" = "xyes" ; then
23724 ac_save_CFLAGS
="$CFLAGS"
23725 ac_save_LIBS
="$LIBS"
23726 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23727 LIBS
="$GTK_LIBS $LIBS"
23729 if test "$cross_compiling" = yes; then
23730 echo $ac_n "cross compiling; assumed OK... $ac_c"
23732 cat >conftest.
$ac_ext <<_ACEOF
23735 cat confdefs.h
>>conftest.
$ac_ext
23736 cat >>conftest.
$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23739 #include <gtk/gtk.h>
23741 #include <stdlib.h>
23746 int major, minor, micro;
23749 system ("touch conf.gtktest");
23751 /* HP/UX 9 (%@#!) writes to sscanf strings */
23752 tmp_version = g_strdup("$min_gtk_version");
23753 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23754 printf("%s, bad version string\n", "$min_gtk_version");
23758 if ((gtk_major_version != $gtk_config_major_version) ||
23759 (gtk_minor_version != $gtk_config_minor_version) ||
23760 (gtk_micro_version != $gtk_config_micro_version))
23762 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23763 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23764 gtk_major_version, gtk_minor_version, gtk_micro_version);
23765 printf ("*** was found! If gtk-config was correct, then it is best\n");
23766 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23767 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23768 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23769 printf("*** required on your system.\n");
23770 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23771 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23772 printf("*** before re-running configure\n");
23774 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23775 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23776 (gtk_minor_version != GTK_MINOR_VERSION) ||
23777 (gtk_micro_version != GTK_MICRO_VERSION))
23779 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23780 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23781 printf("*** library (version %d.%d.%d)\n",
23782 gtk_major_version, gtk_minor_version, gtk_micro_version);
23784 #endif /* defined (GTK_MAJOR_VERSION) ... */
23787 if ((gtk_major_version > major) ||
23788 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23789 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23795 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23796 gtk_major_version, gtk_minor_version, gtk_micro_version);
23797 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23798 major, minor, micro);
23799 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23801 printf("*** If you have already installed a sufficiently new version, this error\n");
23802 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23803 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23804 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23805 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23806 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23807 printf("*** so that the correct libraries are found at run-time))\n");
23814 rm -f conftest
$ac_exeext
23815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23816 (eval $ac_link) 2>&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821 (eval $ac_try) 2>&5
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); }; }; then
23827 echo "$as_me: program exited with status $ac_status" >&5
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.
$ac_ext >&5
23831 ( exit $ac_status )
23834 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23836 CFLAGS
="$ac_save_CFLAGS"
23837 LIBS
="$ac_save_LIBS"
23840 if test "x$no_gtk" = x
; then
23841 echo "$as_me:$LINENO: result: yes" >&5
23842 echo "${ECHO_T}yes" >&6
23843 wx_cv_lib_gtk
=1.2.3
23845 echo "$as_me:$LINENO: result: no" >&5
23846 echo "${ECHO_T}no" >&6
23847 if test "$GTK_CONFIG" = "no" ; then
23848 echo "*** The gtk-config script installed by GTK could not be found"
23849 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23850 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23851 echo "*** full path to gtk-config."
23853 if test -f conf.gtktest
; then
23856 echo "*** Could not run GTK test program, checking why..."
23857 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23858 LIBS
="$LIBS $GTK_LIBS"
23859 cat >conftest.
$ac_ext <<_ACEOF
23862 cat confdefs.h
>>conftest.
$ac_ext
23863 cat >>conftest.
$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23866 #include <gtk/gtk.h>
23872 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23877 rm -f conftest.
$ac_objext conftest
$ac_exeext
23878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23879 (eval $ac_link) 2>conftest.er1
23881 grep -v '^ *+' conftest.er1
>conftest.err
23883 cat conftest.err
>&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } &&
23886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; } &&
23892 { ac_try
='test -s conftest$ac_exeext'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; }; then
23898 echo "*** The test program compiled, but did not run. This usually means"
23899 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23900 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23901 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23902 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23903 echo "*** is required on your system"
23905 echo "*** If you have an old version installed, it is best to remove it, although"
23906 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23908 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23909 echo "*** came with the system with the command"
23911 echo "*** rpm --erase --nodeps gtk gtk-devel"
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.
$ac_ext >&5
23916 echo "*** The test program failed to compile or link. See the file config.log for the"
23917 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23918 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23919 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23921 rm -f conftest.err conftest.
$ac_objext \
23922 conftest
$ac_exeext conftest.
$ac_ext
23923 CFLAGS
="$ac_save_CFLAGS"
23924 LIBS
="$ac_save_LIBS"
23938 if test -z "$wx_cv_lib_gtk"; then
23941 wx_cv_cflags_gtk
=$GTK_CFLAGS
23942 wx_cv_libs_gtk
=$GTK_LIBS
23949 if test "$gtk_version_cached" = 1; then
23950 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23951 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23954 case "$wx_cv_lib_gtk" in
23963 *) { { echo "$as_me:$LINENO: error:
23964 Please check that gtk-config is in path, the directory
23965 where GTK+ libraries are installed (returned by
23966 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23967 equivalent variable and GTK+ is version 1.2.3 or above.
23969 echo "$as_me: error:
23970 Please check that gtk-config is in path, the directory
23971 where GTK+ libraries are installed (returned by
23972 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23973 equivalent variable and GTK+ is version 1.2.3 or above.
23975 { (exit 1); exit 1; }; }
23979 if test "$WXGTK20" = 1; then
23980 save_CFLAGS
="$CFLAGS"
23982 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23983 LIBS
="$LIBS $GTK_LIBS"
23986 for ac_func
in pango_font_family_is_monospace
23988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23989 echo "$as_me:$LINENO: checking for $ac_func" >&5
23990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23991 if eval "test \"\${$as_ac_var+set}\" = set"; then
23992 echo $ECHO_N "(cached) $ECHO_C" >&6
23994 cat >conftest.
$ac_ext <<_ACEOF
23997 cat confdefs.h
>>conftest.
$ac_ext
23998 cat >>conftest.
$ac_ext <<_ACEOF
23999 /* end confdefs.h. */
24000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24002 #define $ac_func innocuous_$ac_func
24004 /* System header to define __stub macros and hopefully few prototypes,
24005 which can conflict with char $ac_func (); below.
24006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24007 <limits.h> exists even on freestanding compilers. */
24010 # include <limits.h>
24012 # include <assert.h>
24017 /* Override any gcc2 internal prototype to avoid an error. */
24022 /* We use char because int might match the return type of a gcc2
24023 builtin and then its argument prototype would still apply. */
24025 /* The GNU C library defines this for functions which it implements
24026 to always fail with ENOSYS. Some functions are actually named
24027 something starting with __ and the normal name is an alias. */
24028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24031 char (*f) () = $ac_func;
24040 return f != $ac_func;
24045 rm -f conftest.
$ac_objext conftest
$ac_exeext
24046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24047 (eval $ac_link) 2>conftest.er1
24049 grep -v '^ *+' conftest.er1
>conftest.err
24051 cat conftest.err
>&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } &&
24054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24056 (eval $ac_try) 2>&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); }; } &&
24060 { ac_try
='test -s conftest$ac_exeext'
24061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24062 (eval $ac_try) 2>&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); }; }; then
24066 eval "$as_ac_var=yes"
24068 echo "$as_me: failed program was:" >&5
24069 sed 's/^/| /' conftest.
$ac_ext >&5
24071 eval "$as_ac_var=no"
24073 rm -f conftest.err conftest.
$ac_objext \
24074 conftest
$ac_exeext conftest.
$ac_ext
24076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24078 if test `eval echo '${'$as_ac_var'}'` = yes; then
24079 cat >>confdefs.h
<<_ACEOF
24080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24087 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24088 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24089 cat >conftest.
$ac_ext <<_ACEOF
24092 cat confdefs.h
>>conftest.
$ac_ext
24093 cat >>conftest.
$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24096 #include <gtk/gtk.h>
24102 #if !GTK_CHECK_VERSION(2,4,0)
24103 #error "Not GTK+ 2.4"
24110 rm -f conftest.
$ac_objext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24112 (eval $ac_compile) 2>conftest.er1
24114 grep -v '^ *+' conftest.er1
>conftest.err
24116 cat conftest.err
>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } &&
24119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; } &&
24125 { ac_try
='test -s conftest.$ac_objext'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; }; then
24132 cat >>confdefs.h
<<\_ACEOF
24133 #define __WXGTK24__ 1
24136 echo "$as_me:$LINENO: result: yes" >&5
24137 echo "${ECHO_T}yes" >&6
24140 echo "$as_me: failed program was:" >&5
24141 sed 's/^/| /' conftest.
$ac_ext >&5
24144 echo "$as_me:$LINENO: result: no" >&5
24145 echo "${ECHO_T}no" >&6
24148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24150 CFLAGS
="$save_CFLAGS"
24153 if test "$wxUSE_UNICODE" = "yes"; then
24154 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24155 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24160 if test "$USE_DARWIN" != 1; then
24162 for ac_func
in poll
24164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24165 echo "$as_me:$LINENO: checking for $ac_func" >&5
24166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24167 if eval "test \"\${$as_ac_var+set}\" = set"; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24170 cat >conftest.
$ac_ext <<_ACEOF
24173 cat confdefs.h
>>conftest.
$ac_ext
24174 cat >>conftest.
$ac_ext <<_ACEOF
24175 /* end confdefs.h. */
24176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24178 #define $ac_func innocuous_$ac_func
24180 /* System header to define __stub macros and hopefully few prototypes,
24181 which can conflict with char $ac_func (); below.
24182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24183 <limits.h> exists even on freestanding compilers. */
24186 # include <limits.h>
24188 # include <assert.h>
24193 /* Override any gcc2 internal prototype to avoid an error. */
24198 /* We use char because int might match the return type of a gcc2
24199 builtin and then its argument prototype would still apply. */
24201 /* The GNU C library defines this for functions which it implements
24202 to always fail with ENOSYS. Some functions are actually named
24203 something starting with __ and the normal name is an alias. */
24204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24207 char (*f) () = $ac_func;
24216 return f != $ac_func;
24221 rm -f conftest.
$ac_objext conftest
$ac_exeext
24222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24223 (eval $ac_link) 2>conftest.er1
24225 grep -v '^ *+' conftest.er1
>conftest.err
24227 cat conftest.err
>&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } &&
24230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232 (eval $ac_try) 2>&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; } &&
24236 { ac_try
='test -s conftest$ac_exeext'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; }; then
24242 eval "$as_ac_var=yes"
24244 echo "$as_me: failed program was:" >&5
24245 sed 's/^/| /' conftest.
$ac_ext >&5
24247 eval "$as_ac_var=no"
24249 rm -f conftest.err conftest.
$ac_objext \
24250 conftest
$ac_exeext conftest.
$ac_ext
24252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24254 if test `eval echo '${'$as_ac_var'}'` = yes; then
24255 cat >>confdefs.h
<<_ACEOF
24256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24264 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24265 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24267 AFMINSTALL
=afminstall
24271 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24272 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24273 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24276 ac_check_lib_save_LIBS
=$LIBS
24278 cat >conftest.
$ac_ext <<_ACEOF
24281 cat confdefs.h
>>conftest.
$ac_ext
24282 cat >>conftest.
$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24285 /* Override any gcc2 internal prototype to avoid an error. */
24289 /* We use char because int might match the return type of a gcc2
24290 builtin and then its argument prototype would still apply. */
24291 char gdk_im_open ();
24300 rm -f conftest.
$ac_objext conftest
$ac_exeext
24301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24302 (eval $ac_link) 2>conftest.er1
24304 grep -v '^ *+' conftest.er1
>conftest.err
24306 cat conftest.err
>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); } &&
24309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; } &&
24315 { ac_try
='test -s conftest$ac_exeext'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; }; then
24321 ac_cv_lib_gdk_gdk_im_open
=yes
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.
$ac_ext >&5
24326 ac_cv_lib_gdk_gdk_im_open
=no
24328 rm -f conftest.err conftest.
$ac_objext \
24329 conftest
$ac_exeext conftest.
$ac_ext
24330 LIBS
=$ac_check_lib_save_LIBS
24332 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24333 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24334 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24335 cat >>confdefs.h
<<\_ACEOF
24343 if test "$wxUSE_GPE" = "yes"; then
24344 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24345 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24348 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24350 for ac_extension
in a so sl dylib
; do
24351 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24352 ac_find_libraries
=$ac_dir
24358 if test "$ac_find_libraries" != "" ; then
24360 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24362 if test $result = 0; then
24365 ac_path_to_link
=" -L$ac_find_libraries"
24368 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24370 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24371 echo "${ECHO_T}found at $ac_find_libraries" >&6
24373 echo "$as_me:$LINENO: result: not found" >&5
24374 echo "${ECHO_T}not found" >&6
24380 if test "$wxUSE_MGL" = 1; then
24381 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24382 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24383 if test "x$MGL_ROOT" = x
; then
24384 echo "$as_me:$LINENO: result: not found" >&5
24385 echo "${ECHO_T}not found" >&6
24386 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24387 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24388 { (exit 1); exit 1; }; }
24390 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24391 echo "${ECHO_T}$MGL_ROOT" >&6
24394 echo "$as_me:$LINENO: checking for libmgl location" >&5
24395 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24398 if test "x$wxUSE_SHARED" = xyes
; then
24399 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24401 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24405 mgl_os_candidates
="dos32/dj2"
24408 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24409 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24410 { (exit 1); exit 1; }; }
24416 for mgl_os_i
in $mgl_os_candidates ; do
24417 if test "x$mgl_os" = x
; then
24418 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24419 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24420 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24425 if test "x$mgl_lib_type" = x
; then
24426 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24427 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24428 mgl_lib_type
=release
24435 if test "x$mgl_os" = x
; then
24436 echo "$as_me:$LINENO: result: not found" >&5
24437 echo "${ECHO_T}not found" >&6
24438 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24439 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24440 { (exit 1); exit 1; }; }
24442 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24443 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24445 wxUSE_UNIVERSAL
="yes"
24447 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24448 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24450 AFMINSTALL
=afminstall
24455 if test "$wxUSE_MICROWIN" = 1; then
24456 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24457 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24458 if test "x$MICROWINDOWS" = x
; then
24459 echo "$as_me:$LINENO: result: not found" >&5
24460 echo "${ECHO_T}not found" >&6
24461 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24462 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24463 { (exit 1); exit 1; }; }
24465 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24466 echo "${ECHO_T}$MICROWINDOWS" >&6
24469 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24470 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24471 echo "${ECHO_T}MicroWindows' libraries found." >&6
24473 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24474 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24475 { (exit 1); exit 1; }; }
24478 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24479 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24481 wxUSE_UNIVERSAL
="yes"
24483 AFMINSTALL
=afminstall
24485 GUIDIST
=MICROWIN_DIST
24487 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24490 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24492 if test "x$ac_path_x_has_been_run" != xyes
; then
24493 echo "$as_me:$LINENO: checking for X" >&5
24494 echo $ECHO_N "checking for X... $ECHO_C" >&6
24496 ac_path_x_has_been_run
=yes
24498 # Check whether --with-x or --without-x was given.
24499 if test "${with_x+set}" = set; then
24503 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24504 if test "x$with_x" = xno
; then
24505 # The user explicitly disabled X.
24508 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24509 # Both variables are already set.
24512 if test "${ac_cv_have_x+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 # One or both of the vars are not set, and there is no cached value.
24516 ac_x_includes
=no ac_x_libraries
=no
24517 rm -fr conftest.dir
24518 if mkdir conftest.dir
; then
24520 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24521 cat >Imakefile
<<'_ACEOF'
24523 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24525 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24526 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24527 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24528 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24529 for ac_extension
in a so sl
; do
24530 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24531 test -f $ac_im_libdir/libX11.
$ac_extension; then
24532 ac_im_usrlibdir
=$ac_im_libdir; break
24535 # Screen out bogus values from the imake configuration. They are
24536 # bogus both because they are the default anyway, and because
24537 # using them would break gcc on systems where it needs fixed includes.
24538 case $ac_im_incroot in
24540 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24542 case $ac_im_usrlibdir in
24543 /usr
/lib
| /lib
) ;;
24544 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24548 rm -fr conftest.dir
24551 # Standard set of common directories for X headers.
24552 # Check X11 before X11Rn because it is often a symlink to the current release.
24564 /usr/local/X11/include
24565 /usr/local/X11R6/include
24566 /usr/local/X11R5/include
24567 /usr/local/X11R4/include
24569 /usr/local/include/X11
24570 /usr/local/include/X11R6
24571 /usr/local/include/X11R5
24572 /usr/local/include/X11R4
24576 /usr/XFree86/include/X11
24580 /usr/unsupported/include
24581 /usr/athena/include
24582 /usr/local/x11r5/include
24583 /usr/lpp/Xamples/include
24585 /usr/openwin/include
24586 /usr/openwin/share/include'
24588 if test "$ac_x_includes" = no
; then
24589 # Guess where to find include files, by looking for a specified header file.
24590 # First, try using that file with no special directory specified.
24591 cat >conftest.
$ac_ext <<_ACEOF
24594 cat confdefs.h
>>conftest.
$ac_ext
24595 cat >>conftest.
$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 #include <X11/Intrinsic.h>
24599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24600 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24602 grep -v '^ *+' conftest.er1
>conftest.err
24604 cat conftest.err
>&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } >/dev
/null
; then
24607 if test -s conftest.err
; then
24608 ac_cpp_err
=$ac_c_preproc_warn_flag
24609 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24616 if test -z "$ac_cpp_err"; then
24617 # We can compile using X headers with no special include directory.
24620 echo "$as_me: failed program was:" >&5
24621 sed 's/^/| /' conftest.
$ac_ext >&5
24623 for ac_dir
in $ac_x_header_dirs; do
24624 if test -r "$ac_dir/X11/Intrinsic.h"; then
24625 ac_x_includes
=$ac_dir
24630 rm -f conftest.err conftest.
$ac_ext
24631 fi # $ac_x_includes = no
24633 if test "$ac_x_libraries" = no
; then
24634 # Check for the libraries.
24635 # See if we find them without any special options.
24636 # Don't add to $LIBS permanently.
24639 cat >conftest.
$ac_ext <<_ACEOF
24642 cat confdefs.h
>>conftest.
$ac_ext
24643 cat >>conftest.
$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24645 #include <X11/Intrinsic.h>
24654 rm -f conftest.
$ac_objext conftest
$ac_exeext
24655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24656 (eval $ac_link) 2>conftest.er1
24658 grep -v '^ *+' conftest.er1
>conftest.err
24660 cat conftest.err
>&5
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); } &&
24663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24665 (eval $ac_try) 2>&5
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); }; } &&
24669 { ac_try
='test -s conftest$ac_exeext'
24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671 (eval $ac_try) 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; }; then
24676 # We can link X programs with no special library path.
24679 echo "$as_me: failed program was:" >&5
24680 sed 's/^/| /' conftest.
$ac_ext >&5
24683 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24685 # Don't even attempt the hair of trying to link an X program!
24686 for ac_extension
in a so sl
; do
24687 if test -r $ac_dir/libXt.
$ac_extension; then
24688 ac_x_libraries
=$ac_dir
24694 rm -f conftest.err conftest.
$ac_objext \
24695 conftest
$ac_exeext conftest.
$ac_ext
24696 fi # $ac_x_libraries = no
24698 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24699 # Didn't find X anywhere. Cache the known absence of X.
24700 ac_cv_have_x
="have_x=no"
24702 # Record where we found X for the cache.
24703 ac_cv_have_x
="have_x=yes \
24704 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24709 eval "$ac_cv_have_x"
24712 if test "$have_x" != yes; then
24713 echo "$as_me:$LINENO: result: $have_x" >&5
24714 echo "${ECHO_T}$have_x" >&6
24717 # If each of the values was on the command line, it overrides each guess.
24718 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24719 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24720 # Update the cache value to reflect the command line values.
24721 ac_cv_have_x
="have_x=yes \
24722 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24723 # It might be that x_includes is empty (headers are found in the
24724 # standard search path. Then output the corresponding message
24725 ac_out_x_includes
=$x_includes
24726 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24727 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24728 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24732 if test "$no_x" = yes; then
24733 # Not all programs may use this symbol, but it does not hurt to define it.
24735 cat >>confdefs.h
<<\_ACEOF
24736 #define X_DISPLAY_MISSING 1
24739 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24741 if test -n "$x_includes"; then
24742 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24745 # It would also be nice to do this for all -L options, not just this one.
24746 if test -n "$x_libraries"; then
24747 X_LIBS
="$X_LIBS -L$x_libraries"
24748 # For Solaris; some versions of Sun CC require a space after -R and
24749 # others require no space. Words are not sufficient . . . .
24750 case `(uname -sr) 2>/dev/null` in
24752 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24753 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24754 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24755 cat >conftest.
$ac_ext <<_ACEOF
24758 cat confdefs.h
>>conftest.
$ac_ext
24759 cat >>conftest.
$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24770 rm -f conftest.
$ac_objext conftest
$ac_exeext
24771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24772 (eval $ac_link) 2>conftest.er1
24774 grep -v '^ *+' conftest.er1
>conftest.err
24776 cat conftest.err
>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; } &&
24785 { ac_try
='test -s conftest$ac_exeext'
24786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24787 (eval $ac_try) 2>&5
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); }; }; then
24793 echo "$as_me: failed program was:" >&5
24794 sed 's/^/| /' conftest.
$ac_ext >&5
24798 rm -f conftest.err conftest.
$ac_objext \
24799 conftest
$ac_exeext conftest.
$ac_ext
24800 if test $ac_R_nospace = yes; then
24801 echo "$as_me:$LINENO: result: no" >&5
24802 echo "${ECHO_T}no" >&6
24803 X_LIBS
="$X_LIBS -R$x_libraries"
24805 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24806 cat >conftest.
$ac_ext <<_ACEOF
24809 cat confdefs.h
>>conftest.
$ac_ext
24810 cat >>conftest.
$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24821 rm -f conftest.
$ac_objext conftest
$ac_exeext
24822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24823 (eval $ac_link) 2>conftest.er1
24825 grep -v '^ *+' conftest.er1
>conftest.err
24827 cat conftest.err
>&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } &&
24830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; } &&
24836 { ac_try
='test -s conftest$ac_exeext'
24837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838 (eval $ac_try) 2>&5
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); }; }; then
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.
$ac_ext >&5
24849 rm -f conftest.err conftest.
$ac_objext \
24850 conftest
$ac_exeext conftest.
$ac_ext
24851 if test $ac_R_space = yes; then
24852 echo "$as_me:$LINENO: result: yes" >&5
24853 echo "${ECHO_T}yes" >&6
24854 X_LIBS
="$X_LIBS -R $x_libraries"
24856 echo "$as_me:$LINENO: result: neither works" >&5
24857 echo "${ECHO_T}neither works" >&6
24860 LIBS
=$ac_xsave_LIBS
24864 # Check for system-dependent libraries X programs must link with.
24865 # Do this before checking for the system-independent R6 libraries
24866 # (-lICE), since we may need -lsocket or whatever for X linking.
24868 if test "$ISC" = yes; then
24869 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24871 # Martyn Johnson says this is needed for Ultrix, if the X
24872 # libraries were built with DECnet support. And Karl Berry says
24873 # the Alpha needs dnet_stub (dnet does not exist).
24874 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24875 cat >conftest.
$ac_ext <<_ACEOF
24878 cat confdefs.h
>>conftest.
$ac_ext
24879 cat >>conftest.
$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24882 /* Override any gcc2 internal prototype to avoid an error. */
24886 /* We use char because int might match the return type of a gcc2
24887 builtin and then its argument prototype would still apply. */
24888 char XOpenDisplay ();
24897 rm -f conftest.
$ac_objext conftest
$ac_exeext
24898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24899 (eval $ac_link) 2>conftest.er1
24901 grep -v '^ *+' conftest.er1
>conftest.err
24903 cat conftest.err
>&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); } &&
24906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24908 (eval $ac_try) 2>&5
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); }; } &&
24912 { ac_try
='test -s conftest$ac_exeext'
24913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24914 (eval $ac_try) 2>&5
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); }; }; then
24920 echo "$as_me: failed program was:" >&5
24921 sed 's/^/| /' conftest.
$ac_ext >&5
24923 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24924 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24925 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24926 echo $ECHO_N "(cached) $ECHO_C" >&6
24928 ac_check_lib_save_LIBS
=$LIBS
24929 LIBS
="-ldnet $LIBS"
24930 cat >conftest.
$ac_ext <<_ACEOF
24933 cat confdefs.h
>>conftest.
$ac_ext
24934 cat >>conftest.
$ac_ext <<_ACEOF
24935 /* end confdefs.h. */
24937 /* Override any gcc2 internal prototype to avoid an error. */
24941 /* We use char because int might match the return type of a gcc2
24942 builtin and then its argument prototype would still apply. */
24952 rm -f conftest.
$ac_objext conftest
$ac_exeext
24953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24954 (eval $ac_link) 2>conftest.er1
24956 grep -v '^ *+' conftest.er1
>conftest.err
24958 cat conftest.err
>&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; } &&
24967 { ac_try
='test -s conftest$ac_exeext'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 ac_cv_lib_dnet_dnet_ntoa
=yes
24975 echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.
$ac_ext >&5
24978 ac_cv_lib_dnet_dnet_ntoa
=no
24980 rm -f conftest.err conftest.
$ac_objext \
24981 conftest
$ac_exeext conftest.
$ac_ext
24982 LIBS
=$ac_check_lib_save_LIBS
24984 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24985 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24986 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24987 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24990 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24991 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24992 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24993 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24994 echo $ECHO_N "(cached) $ECHO_C" >&6
24996 ac_check_lib_save_LIBS
=$LIBS
24997 LIBS
="-ldnet_stub $LIBS"
24998 cat >conftest.
$ac_ext <<_ACEOF
25001 cat confdefs.h
>>conftest.
$ac_ext
25002 cat >>conftest.
$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25005 /* Override any gcc2 internal prototype to avoid an error. */
25009 /* We use char because int might match the return type of a gcc2
25010 builtin and then its argument prototype would still apply. */
25020 rm -f conftest.
$ac_objext conftest
$ac_exeext
25021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25022 (eval $ac_link) 2>conftest.er1
25024 grep -v '^ *+' conftest.er1
>conftest.err
25026 cat conftest.err
>&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); } &&
25029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25031 (eval $ac_try) 2>&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; } &&
25035 { ac_try
='test -s conftest$ac_exeext'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; }; then
25041 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25043 echo "$as_me: failed program was:" >&5
25044 sed 's/^/| /' conftest.
$ac_ext >&5
25046 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25048 rm -f conftest.err conftest.
$ac_objext \
25049 conftest
$ac_exeext conftest.
$ac_ext
25050 LIBS
=$ac_check_lib_save_LIBS
25052 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25053 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25054 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25055 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25060 rm -f conftest.err conftest.
$ac_objext \
25061 conftest
$ac_exeext conftest.
$ac_ext
25062 LIBS
="$ac_xsave_LIBS"
25064 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25065 # to get the SysV transport functions.
25066 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25068 # The nsl library prevents programs from opening the X display
25069 # on Irix 5.2, according to T.E. Dickey.
25070 # The functions gethostbyname, getservbyname, and inet_addr are
25071 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25072 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25073 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25074 if test "${ac_cv_func_gethostbyname+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25077 cat >conftest.
$ac_ext <<_ACEOF
25080 cat confdefs.h
>>conftest.
$ac_ext
25081 cat >>conftest.
$ac_ext <<_ACEOF
25082 /* end confdefs.h. */
25083 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25085 #define gethostbyname innocuous_gethostbyname
25087 /* System header to define __stub macros and hopefully few prototypes,
25088 which can conflict with char gethostbyname (); below.
25089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25090 <limits.h> exists even on freestanding compilers. */
25093 # include <limits.h>
25095 # include <assert.h>
25098 #undef gethostbyname
25100 /* Override any gcc2 internal prototype to avoid an error. */
25105 /* We use char because int might match the return type of a gcc2
25106 builtin and then its argument prototype would still apply. */
25107 char gethostbyname ();
25108 /* The GNU C library defines this for functions which it implements
25109 to always fail with ENOSYS. Some functions are actually named
25110 something starting with __ and the normal name is an alias. */
25111 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25114 char (*f) () = gethostbyname;
25123 return f != gethostbyname;
25128 rm -f conftest.
$ac_objext conftest
$ac_exeext
25129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25130 (eval $ac_link) 2>conftest.er1
25132 grep -v '^ *+' conftest.er1
>conftest.err
25134 cat conftest.err
>&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } &&
25137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; } &&
25143 { ac_try
='test -s conftest$ac_exeext'
25144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25145 (eval $ac_try) 2>&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); }; }; then
25149 ac_cv_func_gethostbyname
=yes
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.
$ac_ext >&5
25154 ac_cv_func_gethostbyname
=no
25156 rm -f conftest.err conftest.
$ac_objext \
25157 conftest
$ac_exeext conftest.
$ac_ext
25159 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25160 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25162 if test $ac_cv_func_gethostbyname = no
; then
25163 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25164 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25165 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25166 echo $ECHO_N "(cached) $ECHO_C" >&6
25168 ac_check_lib_save_LIBS
=$LIBS
25170 cat >conftest.
$ac_ext <<_ACEOF
25173 cat confdefs.h
>>conftest.
$ac_ext
25174 cat >>conftest.
$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25177 /* Override any gcc2 internal prototype to avoid an error. */
25181 /* We use char because int might match the return type of a gcc2
25182 builtin and then its argument prototype would still apply. */
25183 char gethostbyname ();
25192 rm -f conftest.
$ac_objext conftest
$ac_exeext
25193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25194 (eval $ac_link) 2>conftest.er1
25196 grep -v '^ *+' conftest.er1
>conftest.err
25198 cat conftest.err
>&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } &&
25201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; } &&
25207 { ac_try
='test -s conftest$ac_exeext'
25208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209 (eval $ac_try) 2>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); }; }; then
25213 ac_cv_lib_nsl_gethostbyname
=yes
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.
$ac_ext >&5
25218 ac_cv_lib_nsl_gethostbyname
=no
25220 rm -f conftest.err conftest.
$ac_objext \
25221 conftest
$ac_exeext conftest.
$ac_ext
25222 LIBS
=$ac_check_lib_save_LIBS
25224 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25225 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25226 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25227 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25230 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25231 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25232 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25233 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25234 echo $ECHO_N "(cached) $ECHO_C" >&6
25236 ac_check_lib_save_LIBS
=$LIBS
25238 cat >conftest.
$ac_ext <<_ACEOF
25241 cat confdefs.h
>>conftest.
$ac_ext
25242 cat >>conftest.
$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25245 /* Override any gcc2 internal prototype to avoid an error. */
25249 /* We use char because int might match the return type of a gcc2
25250 builtin and then its argument prototype would still apply. */
25251 char gethostbyname ();
25260 rm -f conftest.
$ac_objext conftest
$ac_exeext
25261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25262 (eval $ac_link) 2>conftest.er1
25264 grep -v '^ *+' conftest.er1
>conftest.err
25266 cat conftest.err
>&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } &&
25269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; } &&
25275 { ac_try
='test -s conftest$ac_exeext'
25276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25277 (eval $ac_try) 2>&5
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); }; }; then
25281 ac_cv_lib_bsd_gethostbyname
=yes
25283 echo "$as_me: failed program was:" >&5
25284 sed 's/^/| /' conftest.
$ac_ext >&5
25286 ac_cv_lib_bsd_gethostbyname
=no
25288 rm -f conftest.err conftest.
$ac_objext \
25289 conftest
$ac_exeext conftest.
$ac_ext
25290 LIBS
=$ac_check_lib_save_LIBS
25292 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25293 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25294 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25295 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25301 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25302 # socket/setsockopt and other routines are undefined under SCO ODT
25303 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25304 # on later versions), says Simon Leinen: it contains gethostby*
25305 # variants that don't use the name server (or something). -lsocket
25306 # must be given before -lnsl if both are needed. We assume that
25307 # if connect needs -lnsl, so does gethostbyname.
25308 echo "$as_me:$LINENO: checking for connect" >&5
25309 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25310 if test "${ac_cv_func_connect+set}" = set; then
25311 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 cat >conftest.
$ac_ext <<_ACEOF
25316 cat confdefs.h
>>conftest.
$ac_ext
25317 cat >>conftest.
$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25319 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25321 #define connect innocuous_connect
25323 /* System header to define __stub macros and hopefully few prototypes,
25324 which can conflict with char connect (); below.
25325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25326 <limits.h> exists even on freestanding compilers. */
25329 # include <limits.h>
25331 # include <assert.h>
25336 /* Override any gcc2 internal prototype to avoid an error. */
25341 /* We use char because int might match the return type of a gcc2
25342 builtin and then its argument prototype would still apply. */
25344 /* The GNU C library defines this for functions which it implements
25345 to always fail with ENOSYS. Some functions are actually named
25346 something starting with __ and the normal name is an alias. */
25347 #if defined (__stub_connect) || defined (__stub___connect)
25350 char (*f) () = connect;
25359 return f != connect;
25364 rm -f conftest.
$ac_objext conftest
$ac_exeext
25365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25366 (eval $ac_link) 2>conftest.er1
25368 grep -v '^ *+' conftest.er1
>conftest.err
25370 cat conftest.err
>&5
25371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25372 (exit $ac_status); } &&
25373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25375 (eval $ac_try) 2>&5
25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378 (exit $ac_status); }; } &&
25379 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
25385 ac_cv_func_connect
=yes
25387 echo "$as_me: failed program was:" >&5
25388 sed 's/^/| /' conftest.
$ac_ext >&5
25390 ac_cv_func_connect
=no
25392 rm -f conftest.err conftest.
$ac_objext \
25393 conftest
$ac_exeext conftest.
$ac_ext
25395 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25396 echo "${ECHO_T}$ac_cv_func_connect" >&6
25398 if test $ac_cv_func_connect = no
; then
25399 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25400 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25401 if test "${ac_cv_lib_socket_connect+set}" = set; then
25402 echo $ECHO_N "(cached) $ECHO_C" >&6
25404 ac_check_lib_save_LIBS
=$LIBS
25405 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25406 cat >conftest.
$ac_ext <<_ACEOF
25409 cat confdefs.h
>>conftest.
$ac_ext
25410 cat >>conftest.
$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25413 /* Override any gcc2 internal prototype to avoid an error. */
25417 /* We use char because int might match the return type of a gcc2
25418 builtin and then its argument prototype would still apply. */
25428 rm -f conftest.
$ac_objext conftest
$ac_exeext
25429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25430 (eval $ac_link) 2>conftest.er1
25432 grep -v '^ *+' conftest.er1
>conftest.err
25434 cat conftest.err
>&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); } &&
25437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; } &&
25443 { ac_try
='test -s conftest$ac_exeext'
25444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25445 (eval $ac_try) 2>&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); }; }; then
25449 ac_cv_lib_socket_connect
=yes
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.
$ac_ext >&5
25454 ac_cv_lib_socket_connect
=no
25456 rm -f conftest.err conftest.
$ac_objext \
25457 conftest
$ac_exeext conftest.
$ac_ext
25458 LIBS
=$ac_check_lib_save_LIBS
25460 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25461 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25462 if test $ac_cv_lib_socket_connect = yes; then
25463 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25468 # Guillermo Gomez says -lposix is necessary on A/UX.
25469 echo "$as_me:$LINENO: checking for remove" >&5
25470 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25471 if test "${ac_cv_func_remove+set}" = set; then
25472 echo $ECHO_N "(cached) $ECHO_C" >&6
25474 cat >conftest.
$ac_ext <<_ACEOF
25477 cat confdefs.h
>>conftest.
$ac_ext
25478 cat >>conftest.
$ac_ext <<_ACEOF
25479 /* end confdefs.h. */
25480 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25482 #define remove innocuous_remove
25484 /* System header to define __stub macros and hopefully few prototypes,
25485 which can conflict with char remove (); below.
25486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25487 <limits.h> exists even on freestanding compilers. */
25490 # include <limits.h>
25492 # include <assert.h>
25497 /* Override any gcc2 internal prototype to avoid an error. */
25502 /* We use char because int might match the return type of a gcc2
25503 builtin and then its argument prototype would still apply. */
25505 /* The GNU C library defines this for functions which it implements
25506 to always fail with ENOSYS. Some functions are actually named
25507 something starting with __ and the normal name is an alias. */
25508 #if defined (__stub_remove) || defined (__stub___remove)
25511 char (*f) () = remove;
25520 return f != remove;
25525 rm -f conftest.
$ac_objext conftest
$ac_exeext
25526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25527 (eval $ac_link) 2>conftest.er1
25529 grep -v '^ *+' conftest.er1
>conftest.err
25531 cat conftest.err
>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; } &&
25540 { ac_try
='test -s conftest$ac_exeext'
25541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25542 (eval $ac_try) 2>&5
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); }; }; then
25546 ac_cv_func_remove
=yes
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.
$ac_ext >&5
25551 ac_cv_func_remove
=no
25553 rm -f conftest.err conftest.
$ac_objext \
25554 conftest
$ac_exeext conftest.
$ac_ext
25556 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25557 echo "${ECHO_T}$ac_cv_func_remove" >&6
25559 if test $ac_cv_func_remove = no
; then
25560 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25561 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25562 if test "${ac_cv_lib_posix_remove+set}" = set; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25565 ac_check_lib_save_LIBS
=$LIBS
25566 LIBS
="-lposix $LIBS"
25567 cat >conftest.
$ac_ext <<_ACEOF
25570 cat confdefs.h
>>conftest.
$ac_ext
25571 cat >>conftest.
$ac_ext <<_ACEOF
25572 /* end confdefs.h. */
25574 /* Override any gcc2 internal prototype to avoid an error. */
25578 /* We use char because int might match the return type of a gcc2
25579 builtin and then its argument prototype would still apply. */
25589 rm -f conftest.
$ac_objext conftest
$ac_exeext
25590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25591 (eval $ac_link) 2>conftest.er1
25593 grep -v '^ *+' conftest.er1
>conftest.err
25595 cat conftest.err
>&5
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); } &&
25598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25600 (eval $ac_try) 2>&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); }; } &&
25604 { ac_try
='test -s conftest$ac_exeext'
25605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25606 (eval $ac_try) 2>&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); }; }; then
25610 ac_cv_lib_posix_remove
=yes
25612 echo "$as_me: failed program was:" >&5
25613 sed 's/^/| /' conftest.
$ac_ext >&5
25615 ac_cv_lib_posix_remove
=no
25617 rm -f conftest.err conftest.
$ac_objext \
25618 conftest
$ac_exeext conftest.
$ac_ext
25619 LIBS
=$ac_check_lib_save_LIBS
25621 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25622 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25623 if test $ac_cv_lib_posix_remove = yes; then
25624 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25629 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25630 echo "$as_me:$LINENO: checking for shmat" >&5
25631 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25632 if test "${ac_cv_func_shmat+set}" = set; then
25633 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 cat >conftest.
$ac_ext <<_ACEOF
25638 cat confdefs.h
>>conftest.
$ac_ext
25639 cat >>conftest.
$ac_ext <<_ACEOF
25640 /* end confdefs.h. */
25641 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25643 #define shmat innocuous_shmat
25645 /* System header to define __stub macros and hopefully few prototypes,
25646 which can conflict with char shmat (); below.
25647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25648 <limits.h> exists even on freestanding compilers. */
25651 # include <limits.h>
25653 # include <assert.h>
25658 /* Override any gcc2 internal prototype to avoid an error. */
25663 /* We use char because int might match the return type of a gcc2
25664 builtin and then its argument prototype would still apply. */
25666 /* The GNU C library defines this for functions which it implements
25667 to always fail with ENOSYS. Some functions are actually named
25668 something starting with __ and the normal name is an alias. */
25669 #if defined (__stub_shmat) || defined (__stub___shmat)
25672 char (*f) () = shmat;
25686 rm -f conftest.
$ac_objext conftest
$ac_exeext
25687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25688 (eval $ac_link) 2>conftest.er1
25690 grep -v '^ *+' conftest.er1
>conftest.err
25692 cat conftest.err
>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; } &&
25701 { ac_try
='test -s conftest$ac_exeext'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 ac_cv_func_shmat
=yes
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.
$ac_ext >&5
25712 ac_cv_func_shmat
=no
25714 rm -f conftest.err conftest.
$ac_objext \
25715 conftest
$ac_exeext conftest.
$ac_ext
25717 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25718 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25720 if test $ac_cv_func_shmat = no
; then
25721 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25722 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25723 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25724 echo $ECHO_N "(cached) $ECHO_C" >&6
25726 ac_check_lib_save_LIBS
=$LIBS
25728 cat >conftest.
$ac_ext <<_ACEOF
25731 cat confdefs.h
>>conftest.
$ac_ext
25732 cat >>conftest.
$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25735 /* Override any gcc2 internal prototype to avoid an error. */
25739 /* We use char because int might match the return type of a gcc2
25740 builtin and then its argument prototype would still apply. */
25750 rm -f conftest.
$ac_objext conftest
$ac_exeext
25751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25752 (eval $ac_link) 2>conftest.er1
25754 grep -v '^ *+' conftest.er1
>conftest.err
25756 cat conftest.err
>&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); } &&
25759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25761 (eval $ac_try) 2>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); }; } &&
25765 { ac_try
='test -s conftest$ac_exeext'
25766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25767 (eval $ac_try) 2>&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); }; }; then
25771 ac_cv_lib_ipc_shmat
=yes
25773 echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.
$ac_ext >&5
25776 ac_cv_lib_ipc_shmat
=no
25778 rm -f conftest.err conftest.
$ac_objext \
25779 conftest
$ac_exeext conftest.
$ac_ext
25780 LIBS
=$ac_check_lib_save_LIBS
25782 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25783 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25784 if test $ac_cv_lib_ipc_shmat = yes; then
25785 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25791 # Check for libraries that X11R6 Xt/Xaw programs need.
25792 ac_save_LDFLAGS
=$LDFLAGS
25793 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25794 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25795 # check for ICE first), but we must link in the order -lSM -lICE or
25796 # we get undefined symbols. So assume we have SM if we have ICE.
25797 # These have to be linked with before -lX11, unlike the other
25798 # libraries we check for below, so use a different variable.
25799 # John Interrante, Karl Berry
25800 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25801 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25802 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25803 echo $ECHO_N "(cached) $ECHO_C" >&6
25805 ac_check_lib_save_LIBS
=$LIBS
25806 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25807 cat >conftest.
$ac_ext <<_ACEOF
25810 cat confdefs.h
>>conftest.
$ac_ext
25811 cat >>conftest.
$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25814 /* Override any gcc2 internal prototype to avoid an error. */
25818 /* We use char because int might match the return type of a gcc2
25819 builtin and then its argument prototype would still apply. */
25820 char IceConnectionNumber ();
25824 IceConnectionNumber ();
25829 rm -f conftest.
$ac_objext conftest
$ac_exeext
25830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25831 (eval $ac_link) 2>conftest.er1
25833 grep -v '^ *+' conftest.er1
>conftest.err
25835 cat conftest.err
>&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } &&
25838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; } &&
25844 { ac_try
='test -s conftest$ac_exeext'
25845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25846 (eval $ac_try) 2>&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); }; }; then
25850 ac_cv_lib_ICE_IceConnectionNumber
=yes
25852 echo "$as_me: failed program was:" >&5
25853 sed 's/^/| /' conftest.
$ac_ext >&5
25855 ac_cv_lib_ICE_IceConnectionNumber
=no
25857 rm -f conftest.err conftest.
$ac_objext \
25858 conftest
$ac_exeext conftest.
$ac_ext
25859 LIBS
=$ac_check_lib_save_LIBS
25861 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25862 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25863 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25864 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25867 LDFLAGS
=$ac_save_LDFLAGS
25872 if test "$no_x" = "yes"; then
25873 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25874 echo "$as_me: error: X11 not found" >&2;}
25875 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25878 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25879 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25880 AFMINSTALL
=afminstall
25881 COMPILED_X_PROGRAM
=0
25885 if test "$wxUSE_X11" = 1; then
25886 if test "$wxUSE_NANOX" = "yes"; then
25887 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25888 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25889 if test "x$MICROWIN" = x
; then
25890 echo "$as_me:$LINENO: result: not found" >&5
25891 echo "${ECHO_T}not found" >&6
25892 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25893 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25894 { (exit 1); exit 1; }; }
25896 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25897 echo "${ECHO_T}$MICROWIN" >&6
25898 cat >>confdefs.h
<<\_ACEOF
25899 #define wxUSE_NANOX 1
25905 if test "$wxUSE_UNICODE" = "yes"; then
25909 if test -z "$PKG_CONFIG"; then
25910 # Extract the first word of "pkg-config", so it can be a program name with args.
25911 set dummy pkg
-config; ac_word
=$2
25912 echo "$as_me:$LINENO: checking for $ac_word" >&5
25913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25914 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25915 echo $ECHO_N "(cached) $ECHO_C" >&6
25917 case $PKG_CONFIG in
25919 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25923 for as_dir
in $PATH
25926 test -z "$as_dir" && as_dir
=.
25927 for ac_exec_ext
in '' $ac_executable_extensions; do
25928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25929 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25936 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25940 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25942 if test -n "$PKG_CONFIG"; then
25943 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25944 echo "${ECHO_T}$PKG_CONFIG" >&6
25946 echo "$as_me:$LINENO: result: no" >&5
25947 echo "${ECHO_T}no" >&6
25952 if test "$PKG_CONFIG" = "no" ; then
25953 echo "*** The pkg-config script could not be found. Make sure it is"
25954 echo "*** in your path, or set the PKG_CONFIG environment variable"
25955 echo "*** to the full path to pkg-config."
25956 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25958 PKG_CONFIG_MIN_VERSION
=0.9.0
25959 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25960 echo "$as_me:$LINENO: checking for pangox" >&5
25961 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25963 if $PKG_CONFIG --exists "pangox" ; then
25964 echo "$as_me:$LINENO: result: yes" >&5
25965 echo "${ECHO_T}yes" >&6
25968 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25969 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25970 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25971 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25972 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25974 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25975 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25976 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25977 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25978 echo "${ECHO_T}$PANGOX_LIBS" >&6
25982 ## If we have a custom action on failure, don't print errors, but
25983 ## do set a variable so people can do so.
25984 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25991 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25992 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25996 if test $succeeded = yes; then
25998 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25999 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
26003 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26004 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26005 { (exit 1); exit 1; }; }
26013 if test -z "$PKG_CONFIG"; then
26014 # Extract the first word of "pkg-config", so it can be a program name with args.
26015 set dummy pkg
-config; ac_word
=$2
26016 echo "$as_me:$LINENO: checking for $ac_word" >&5
26017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26018 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26021 case $PKG_CONFIG in
26023 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26027 for as_dir
in $PATH
26030 test -z "$as_dir" && as_dir
=.
26031 for ac_exec_ext
in '' $ac_executable_extensions; do
26032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26033 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26040 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26044 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26046 if test -n "$PKG_CONFIG"; then
26047 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26048 echo "${ECHO_T}$PKG_CONFIG" >&6
26050 echo "$as_me:$LINENO: result: no" >&5
26051 echo "${ECHO_T}no" >&6
26056 if test "$PKG_CONFIG" = "no" ; then
26057 echo "*** The pkg-config script could not be found. Make sure it is"
26058 echo "*** in your path, or set the PKG_CONFIG environment variable"
26059 echo "*** to the full path to pkg-config."
26060 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26062 PKG_CONFIG_MIN_VERSION
=0.9.0
26063 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26064 echo "$as_me:$LINENO: checking for pangoft2" >&5
26065 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26067 if $PKG_CONFIG --exists "pangoft2" ; then
26068 echo "$as_me:$LINENO: result: yes" >&5
26069 echo "${ECHO_T}yes" >&6
26072 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26073 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26074 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
26075 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26076 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26078 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26079 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26080 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
26081 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26082 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26086 ## If we have a custom action on failure, don't print errors, but
26087 ## do set a variable so people can do so.
26088 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26095 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26096 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26100 if test $succeeded = yes; then
26102 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
26103 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26107 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26108 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26109 wxUSE_PRINTING_ARCHITECTURE
="no"
26117 if test -z "$PKG_CONFIG"; then
26118 # Extract the first word of "pkg-config", so it can be a program name with args.
26119 set dummy pkg
-config; ac_word
=$2
26120 echo "$as_me:$LINENO: checking for $ac_word" >&5
26121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26122 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26123 echo $ECHO_N "(cached) $ECHO_C" >&6
26125 case $PKG_CONFIG in
26127 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26131 for as_dir
in $PATH
26134 test -z "$as_dir" && as_dir
=.
26135 for ac_exec_ext
in '' $ac_executable_extensions; do
26136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26137 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26144 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26148 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26150 if test -n "$PKG_CONFIG"; then
26151 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26152 echo "${ECHO_T}$PKG_CONFIG" >&6
26154 echo "$as_me:$LINENO: result: no" >&5
26155 echo "${ECHO_T}no" >&6
26160 if test "$PKG_CONFIG" = "no" ; then
26161 echo "*** The pkg-config script could not be found. Make sure it is"
26162 echo "*** in your path, or set the PKG_CONFIG environment variable"
26163 echo "*** to the full path to pkg-config."
26164 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26166 PKG_CONFIG_MIN_VERSION
=0.9.0
26167 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26168 echo "$as_me:$LINENO: checking for pangoxft" >&5
26169 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26171 if $PKG_CONFIG --exists "pangoxft" ; then
26172 echo "$as_me:$LINENO: result: yes" >&5
26173 echo "${ECHO_T}yes" >&6
26176 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26177 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26178 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
26179 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26180 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26182 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26183 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26184 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
26185 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26186 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26190 ## If we have a custom action on failure, don't print errors, but
26191 ## do set a variable so people can do so.
26192 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26199 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26200 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26204 if test $succeeded = yes; then
26206 cat >>confdefs.h
<<\_ACEOF
26207 #define HAVE_PANGO_XFT 1
26210 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26215 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26216 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26221 save_CFLAGS
="$CFLAGS"
26223 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26224 LIBS
="$LIBS $PANGOX_LIBS"
26226 for ac_func
in pango_font_family_is_monospace
26228 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26229 echo "$as_me:$LINENO: checking for $ac_func" >&5
26230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26231 if eval "test \"\${$as_ac_var+set}\" = set"; then
26232 echo $ECHO_N "(cached) $ECHO_C" >&6
26234 cat >conftest.
$ac_ext <<_ACEOF
26237 cat confdefs.h
>>conftest.
$ac_ext
26238 cat >>conftest.
$ac_ext <<_ACEOF
26239 /* end confdefs.h. */
26240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26242 #define $ac_func innocuous_$ac_func
26244 /* System header to define __stub macros and hopefully few prototypes,
26245 which can conflict with char $ac_func (); below.
26246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26247 <limits.h> exists even on freestanding compilers. */
26250 # include <limits.h>
26252 # include <assert.h>
26257 /* Override any gcc2 internal prototype to avoid an error. */
26262 /* We use char because int might match the return type of a gcc2
26263 builtin and then its argument prototype would still apply. */
26265 /* The GNU C library defines this for functions which it implements
26266 to always fail with ENOSYS. Some functions are actually named
26267 something starting with __ and the normal name is an alias. */
26268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26271 char (*f) () = $ac_func;
26280 return f != $ac_func;
26285 rm -f conftest.
$ac_objext conftest
$ac_exeext
26286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26287 (eval $ac_link) 2>conftest.er1
26289 grep -v '^ *+' conftest.er1
>conftest.err
26291 cat conftest.err
>&5
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; } &&
26300 { ac_try
='test -s conftest$ac_exeext'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; }; then
26306 eval "$as_ac_var=yes"
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.
$ac_ext >&5
26311 eval "$as_ac_var=no"
26313 rm -f conftest.err conftest.
$ac_objext \
26314 conftest
$ac_exeext conftest.
$ac_ext
26316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26318 if test `eval echo '${'$as_ac_var'}'` = yes; then
26319 cat >>confdefs.h
<<_ACEOF
26320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26326 CFLAGS
="$save_CFLAGS"
26330 wxUSE_UNIVERSAL
="yes"
26332 if test "$wxUSE_NANOX" = "yes"; then
26333 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26334 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"
26335 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26337 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26344 if test "$wxUSE_MOTIF" = 1; then
26345 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26346 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26349 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26351 if test -f "$ac_dir/Xm/Xm.h"; then
26352 ac_find_includes
=$ac_dir
26357 if test "$ac_find_includes" != "" ; then
26358 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26359 echo "${ECHO_T}found in $ac_find_includes" >&6
26361 if test "x$ac_find_includes" = "x/usr/include"; then
26362 ac_path_to_include
=""
26364 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26366 if test $result = 0; then
26367 ac_path_to_include
=""
26369 ac_path_to_include
=" -I$ac_find_includes"
26373 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26375 cat >conftest.
$ac_ext <<_ACEOF
26378 cat confdefs.h
>>conftest.
$ac_ext
26379 cat >>conftest.
$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26389 version = xmUseVersion;
26395 rm -f conftest.
$ac_objext
26396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26397 (eval $ac_compile) 2>conftest.er1
26399 grep -v '^ *+' conftest.er1
>conftest.err
26401 cat conftest.err
>&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; } &&
26410 { ac_try
='test -s conftest.$ac_objext'
26411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26412 (eval $ac_try) 2>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); }; }; then
26417 echo "$as_me:$LINENO: result: found in default search path" >&5
26418 echo "${ECHO_T}found in default search path" >&6
26419 COMPILED_X_PROGRAM
=1
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.
$ac_ext >&5
26426 echo "$as_me:$LINENO: result: no" >&5
26427 echo "${ECHO_T}no" >&6
26428 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26429 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26430 { (exit 1); exit 1; }; }
26434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26437 if test "$COMPILED_X_PROGRAM" = 0; then
26438 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26439 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26442 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26444 for ac_extension
in a so sl dylib
; do
26445 if test -f "$ac_dir/libXm.$ac_extension"; then
26446 ac_find_libraries
=$ac_dir
26452 if test "$ac_find_libraries" != "" ; then
26453 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26454 echo "${ECHO_T}found at $ac_find_libraries" >&6
26457 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26459 if test $result = 0; then
26462 ac_path_to_link
=" -L$ac_find_libraries"
26465 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26467 save_CFLAGS
=$CFLAGS
26468 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26470 cat >conftest.
$ac_ext <<_ACEOF
26473 cat confdefs.h
>>conftest.
$ac_ext
26474 cat >>conftest.
$ac_ext <<_ACEOF
26475 /* end confdefs.h. */
26484 version = xmUseVersion;
26490 rm -f conftest.
$ac_objext
26491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26492 (eval $ac_compile) 2>conftest.er1
26494 grep -v '^ *+' conftest.er1
>conftest.err
26496 cat conftest.err
>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); } &&
26499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; } &&
26505 { ac_try
='test -s conftest.$ac_objext'
26506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26507 (eval $ac_try) 2>&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); }; }; then
26512 echo "$as_me:$LINENO: result: found in default search path" >&5
26513 echo "${ECHO_T}found in default search path" >&6
26514 COMPILED_X_PROGRAM
=1
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.
$ac_ext >&5
26521 echo "$as_me:$LINENO: result: no" >&5
26522 echo "${ECHO_T}no" >&6
26523 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26524 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26525 { (exit 1); exit 1; }; }
26529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26531 CFLAGS
=$save_CFLAGS
26535 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26536 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26540 for libp
in "" " -lXp"; do
26541 if test "$libs_found" = "0"; then
26542 for libsm_ice
in "" " -lSM -lICE"; do
26543 if test "$libs_found" = "0"; then
26545 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26546 save_CFLAGS
=$CFLAGS
26547 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26549 cat >conftest.
$ac_ext <<_ACEOF
26552 cat confdefs.h
>>conftest.
$ac_ext
26553 cat >>conftest.
$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26557 #include <Xm/List.h>
26563 XmString string = NULL;
26566 XmListAddItem(w, string, position);
26572 rm -f conftest.
$ac_objext conftest
$ac_exeext
26573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26574 (eval $ac_link) 2>conftest.er1
26576 grep -v '^ *+' conftest.er1
>conftest.err
26578 cat conftest.err
>&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } &&
26581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; } &&
26587 { ac_try
='test -s conftest$ac_exeext'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; }; then
26595 libsm_ice_link
="$libsm_ice"
26596 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26597 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26601 echo "$as_me: failed program was:" >&5
26602 sed 's/^/| /' conftest.
$ac_ext >&5
26607 rm -f conftest.err conftest.
$ac_objext \
26608 conftest
$ac_exeext conftest.
$ac_ext
26611 CFLAGS
=$save_CFLAGS
26617 if test "$libs_found" = "0"; then
26618 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26619 echo "${ECHO_T}can't find the right libraries" >&6
26620 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26621 echo "$as_me: error: can't link a simple motif program" >&2;}
26622 { (exit 1); exit 1; }; }
26625 save_CFLAGS
=$CFLAGS
26626 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26627 echo "$as_me:$LINENO: checking for Motif 2" >&5
26628 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26629 cat >conftest.
$ac_ext <<_ACEOF
26632 cat confdefs.h
>>conftest.
$ac_ext
26633 cat >>conftest.
$ac_ext <<_ACEOF
26634 /* end confdefs.h. */
26642 #if XmVersion < 2000
26643 #error "Not Motif 2"
26650 rm -f conftest.
$ac_objext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26652 (eval $ac_compile) 2>conftest.er1
26654 grep -v '^ *+' conftest.er1
>conftest.err
26656 cat conftest.err
>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26661 (eval $ac_try) 2>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); }; } &&
26665 { ac_try
='test -s conftest.$ac_objext'
26666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26667 (eval $ac_try) 2>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; }; then
26672 cat >>confdefs.h
<<\_ACEOF
26673 #define __WXMOTIF20__ 1
26676 echo "$as_me:$LINENO: result: found" >&5
26677 echo "${ECHO_T}found" >&6
26680 echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.
$ac_ext >&5
26684 cat >>confdefs.h
<<\_ACEOF
26685 #define __WXMOTIF20__ 0
26688 echo "$as_me:$LINENO: result: not found" >&5
26689 echo "${ECHO_T}not found" >&6
26692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26693 CFLAGS
=$save_CFLAGS
26695 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26700 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26701 if test "$wxUSE_LIBXPM" = "sys"; then
26702 echo "$as_me:$LINENO: checking for Xpm library" >&5
26703 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26706 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26708 for ac_extension
in a so sl dylib
; do
26709 if test -f "$ac_dir/libXpm.$ac_extension"; then
26710 ac_find_libraries
=$ac_dir
26716 if test "$ac_find_libraries" != "" ; then
26718 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26720 if test $result = 0; then
26723 ac_path_to_link
=" -L$ac_find_libraries"
26726 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26727 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26728 echo "${ECHO_T}found at $ac_find_libraries" >&6
26730 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26731 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26732 if test "${wx_cv_x11_xpm_h+set}" = set; then
26733 echo $ECHO_N "(cached) $ECHO_C" >&6
26736 save_CFLAGS
=$CFLAGS
26737 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26739 cat >conftest.
$ac_ext <<_ACEOF
26742 cat confdefs.h
>>conftest.
$ac_ext
26743 cat >>conftest.
$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26746 #include <X11/xpm.h>
26753 version = XpmLibraryVersion();
26759 rm -f conftest.
$ac_objext
26760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26761 (eval $ac_compile) 2>conftest.er1
26763 grep -v '^ *+' conftest.er1
>conftest.err
26765 cat conftest.err
>&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); } &&
26768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26770 (eval $ac_try) 2>&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); }; } &&
26774 { ac_try
='test -s conftest.$ac_objext'
26775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26776 (eval $ac_try) 2>&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); }; }; then
26780 wx_cv_x11_xpm_h
=yes
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.
$ac_ext >&5
26788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26790 CFLAGS
=$save_CFLAGS
26794 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26795 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26797 if test $wx_cv_x11_xpm_h = "yes"; then
26798 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26799 cat >>confdefs.h
<<\_ACEOF
26800 #define wxHAVE_LIB_XPM 1
26804 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26805 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26811 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26812 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26813 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26816 ac_check_lib_save_LIBS
=$LIBS
26817 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26818 cat >conftest.
$ac_ext <<_ACEOF
26821 cat confdefs.h
>>conftest.
$ac_ext
26822 cat >>conftest.
$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26825 /* Override any gcc2 internal prototype to avoid an error. */
26829 /* We use char because int might match the return type of a gcc2
26830 builtin and then its argument prototype would still apply. */
26831 char XShapeQueryExtension ();
26835 XShapeQueryExtension ();
26840 rm -f conftest.
$ac_objext conftest
$ac_exeext
26841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26842 (eval $ac_link) 2>conftest.er1
26844 grep -v '^ *+' conftest.er1
>conftest.err
26846 cat conftest.err
>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } &&
26849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; } &&
26855 { ac_try
='test -s conftest$ac_exeext'
26856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26857 (eval $ac_try) 2>&5
26859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26860 (exit $ac_status); }; }; then
26861 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26863 echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.
$ac_ext >&5
26866 ac_cv_lib_Xext_XShapeQueryExtension
=no
26868 rm -f conftest.err conftest.
$ac_objext \
26869 conftest
$ac_exeext conftest.
$ac_ext
26870 LIBS
=$ac_check_lib_save_LIBS
26872 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26873 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26874 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26876 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26882 if test "$wxHAVE_XEXT_LIB" = 1; then
26883 save_CFLAGS
="$CFLAGS"
26884 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26886 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26887 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26888 cat >conftest.
$ac_ext <<_ACEOF
26891 cat confdefs.h
>>conftest.
$ac_ext
26892 cat >>conftest.
$ac_ext <<_ACEOF
26893 /* end confdefs.h. */
26895 #include <X11/Xlib.h>
26896 #include <X11/extensions/shape.h>
26902 int dummy1, dummy2;
26903 XShapeQueryExtension((Display*)NULL,
26904 (int*)NULL, (int*)NULL);
26910 rm -f conftest.
$ac_objext
26911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26912 (eval $ac_compile) 2>conftest.er1
26914 grep -v '^ *+' conftest.er1
>conftest.err
26916 cat conftest.err
>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); } &&
26919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; } &&
26925 { ac_try
='test -s conftest.$ac_objext'
26926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26927 (eval $ac_try) 2>&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); }; }; then
26932 cat >>confdefs.h
<<\_ACEOF
26933 #define HAVE_XSHAPE 1
26936 echo "$as_me:$LINENO: result: found" >&5
26937 echo "${ECHO_T}found" >&6
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.
$ac_ext >&5
26944 echo "$as_me:$LINENO: result: not found" >&5
26945 echo "${ECHO_T}not found" >&6
26948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26949 CFLAGS
="$save_CFLAGS"
26954 if test "$wxUSE_MAC" = 1; then
26955 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26956 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26957 if test "$GCC" = yes; then
26958 echo "$as_me:$LINENO: result: gcc" >&5
26959 echo "${ECHO_T}gcc" >&6
26960 CPPFLAGS_PASCAL
="-fpascal-strings"
26961 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26962 echo "$as_me:$LINENO: result: xlc" >&5
26963 echo "${ECHO_T}xlc" >&6
26964 CPPFLAGS_PASCAL
="-qmacpstr"
26966 echo "$as_me:$LINENO: result: none" >&5
26967 echo "${ECHO_T}none" >&6
26970 if test "x$wxUSE_UNIX" = "xyes"; then
26971 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26973 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26978 WXBASEPORT
="_carbon"
26981 if test "$wxUSE_COCOA" = 1; then
26986 if test "$wxUSE_PM" = 1; then
26989 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26990 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26991 if test "${wx_cv_spbcdata+set}" = set; then
26992 echo $ECHO_N "(cached) $ECHO_C" >&6
26995 cat >conftest.
$ac_ext <<_ACEOF
26998 cat confdefs.h
>>conftest.
$ac_ext
26999 cat >>conftest.
$ac_ext <<_ACEOF
27000 /* end confdefs.h. */
27015 rm -f conftest.
$ac_objext
27016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27017 (eval $ac_compile) 2>conftest.er1
27019 grep -v '^ *+' conftest.er1
>conftest.err
27021 cat conftest.err
>&5
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); } &&
27024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026 (eval $ac_try) 2>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; } &&
27030 { ac_try
='test -s conftest.$ac_objext'
27031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27032 (eval $ac_try) 2>&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); }; }; then
27038 echo "$as_me: failed program was:" >&5
27039 sed 's/^/| /' conftest.
$ac_ext >&5
27044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27048 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27049 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27051 if test $wx_cv_spbcdata = "yes"; then
27052 cat >>confdefs.h
<<\_ACEOF
27053 #define HAVE_SPBCDATA 1
27059 if test "$TOOLKIT" = "PM" ; then
27062 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27065 if test "$wxUSE_UNIVERSAL" = "yes"; then
27066 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27070 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27071 DISTDIR
="wx\$(TOOLKIT)"
27077 if test "$USE_WIN32" = 1 ; then
27081 GUIDIST
="BASE_DIST"
27091 if test "$TOOLKIT" != "MSW" ; then
27093 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27095 if test "${ac_cv_header_sql_h+set}" = set; then
27096 echo "$as_me:$LINENO: checking for sql.h" >&5
27097 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27098 if test "${ac_cv_header_sql_h+set}" = set; then
27099 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27102 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27104 # Is the header compilable?
27105 echo "$as_me:$LINENO: checking sql.h usability" >&5
27106 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27107 cat >conftest.
$ac_ext <<_ACEOF
27110 cat confdefs.h
>>conftest.
$ac_ext
27111 cat >>conftest.
$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113 $ac_includes_default
27116 rm -f conftest.
$ac_objext
27117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27118 (eval $ac_compile) 2>conftest.er1
27120 grep -v '^ *+' conftest.er1
>conftest.err
27122 cat conftest.err
>&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } &&
27125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try
='test -s conftest.$ac_objext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 ac_header_compiler
=yes
27139 echo "$as_me: failed program was:" >&5
27140 sed 's/^/| /' conftest.
$ac_ext >&5
27142 ac_header_compiler
=no
27144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27146 echo "${ECHO_T}$ac_header_compiler" >&6
27148 # Is the header present?
27149 echo "$as_me:$LINENO: checking sql.h presence" >&5
27150 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27151 cat >conftest.
$ac_ext <<_ACEOF
27154 cat confdefs.h
>>conftest.
$ac_ext
27155 cat >>conftest.
$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27160 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27162 grep -v '^ *+' conftest.er1
>conftest.err
27164 cat conftest.err
>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } >/dev
/null
; then
27167 if test -s conftest.err
; then
27168 ac_cpp_err
=$ac_c_preproc_warn_flag
27169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27176 if test -z "$ac_cpp_err"; then
27177 ac_header_preproc
=yes
27179 echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.
$ac_ext >&5
27182 ac_header_preproc
=no
27184 rm -f conftest.err conftest.
$ac_ext
27185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27186 echo "${ECHO_T}$ac_header_preproc" >&6
27188 # So? What about this header?
27189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27191 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27192 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27193 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27194 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27195 ac_header_preproc
=yes
27198 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27199 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27200 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27201 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27202 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27203 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27204 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27205 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27206 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27207 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27208 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27209 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27212 ## ----------------------------------------- ##
27213 ## Report this to wx-dev@lists.wxwidgets.org ##
27214 ## ----------------------------------------- ##
27217 sed "s/^/$as_me: WARNING: /" >&2
27220 echo "$as_me:$LINENO: checking for sql.h" >&5
27221 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27222 if test "${ac_cv_header_sql_h+set}" = set; then
27223 echo $ECHO_N "(cached) $ECHO_C" >&6
27225 ac_cv_header_sql_h
=$ac_header_preproc
27227 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27228 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27231 if test $ac_cv_header_sql_h = yes; then
27236 if test "x$found_sql_h" = "x1" ; then
27237 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27238 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27239 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27240 echo $ECHO_N "(cached) $ECHO_C" >&6
27242 ac_check_lib_save_LIBS
=$LIBS
27243 LIBS
="-liodbc $LIBS"
27244 cat >conftest.
$ac_ext <<_ACEOF
27247 cat confdefs.h
>>conftest.
$ac_ext
27248 cat >>conftest.
$ac_ext <<_ACEOF
27249 /* end confdefs.h. */
27251 /* Override any gcc2 internal prototype to avoid an error. */
27255 /* We use char because int might match the return type of a gcc2
27256 builtin and then its argument prototype would still apply. */
27257 char SQLAllocEnv ();
27266 rm -f conftest.
$ac_objext conftest
$ac_exeext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27268 (eval $ac_link) 2>conftest.er1
27270 grep -v '^ *+' conftest.er1
>conftest.err
27272 cat conftest.err
>&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } &&
27275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277 (eval $ac_try) 2>&5
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); }; } &&
27281 { ac_try
='test -s conftest$ac_exeext'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; }; then
27287 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27289 echo "$as_me: failed program was:" >&5
27290 sed 's/^/| /' conftest.
$ac_ext >&5
27292 ac_cv_lib_iodbc_SQLAllocEnv
=no
27294 rm -f conftest.err conftest.
$ac_objext \
27295 conftest
$ac_exeext conftest.
$ac_ext
27296 LIBS
=$ac_check_lib_save_LIBS
27298 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27299 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27300 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27301 ODBC_LINK
=" -liodbc"
27304 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27305 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27306 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 ac_check_lib_save_LIBS
=$LIBS
27310 LIBS
="-lunixodbc $LIBS"
27311 cat >conftest.
$ac_ext <<_ACEOF
27314 cat confdefs.h
>>conftest.
$ac_ext
27315 cat >>conftest.
$ac_ext <<_ACEOF
27316 /* end confdefs.h. */
27318 /* Override any gcc2 internal prototype to avoid an error. */
27322 /* We use char because int might match the return type of a gcc2
27323 builtin and then its argument prototype would still apply. */
27324 char SQLAllocEnv ();
27333 rm -f conftest.
$ac_objext conftest
$ac_exeext
27334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27335 (eval $ac_link) 2>conftest.er1
27337 grep -v '^ *+' conftest.er1
>conftest.err
27339 cat conftest.err
>&5
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); } &&
27342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27344 (eval $ac_try) 2>&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); }; } &&
27348 { ac_try
='test -s conftest$ac_exeext'
27349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27350 (eval $ac_try) 2>&5
27352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353 (exit $ac_status); }; }; then
27354 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.
$ac_ext >&5
27359 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27361 rm -f conftest.err conftest.
$ac_objext \
27362 conftest
$ac_exeext conftest.
$ac_ext
27363 LIBS
=$ac_check_lib_save_LIBS
27365 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27366 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27367 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27368 ODBC_LINK
=" -lunixodbc"
27371 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27372 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27373 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 ac_check_lib_save_LIBS
=$LIBS
27377 LIBS
="-lodbc $LIBS"
27378 cat >conftest.
$ac_ext <<_ACEOF
27381 cat confdefs.h
>>conftest.
$ac_ext
27382 cat >>conftest.
$ac_ext <<_ACEOF
27383 /* end confdefs.h. */
27385 /* Override any gcc2 internal prototype to avoid an error. */
27389 /* We use char because int might match the return type of a gcc2
27390 builtin and then its argument prototype would still apply. */
27391 char SQLAllocEnv ();
27400 rm -f conftest.
$ac_objext conftest
$ac_exeext
27401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27402 (eval $ac_link) 2>conftest.er1
27404 grep -v '^ *+' conftest.er1
>conftest.err
27406 cat conftest.err
>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } &&
27409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; } &&
27415 { ac_try
='test -s conftest$ac_exeext'
27416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27417 (eval $ac_try) 2>&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); }; }; then
27421 ac_cv_lib_odbc_SQLAllocEnv
=yes
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.
$ac_ext >&5
27426 ac_cv_lib_odbc_SQLAllocEnv
=no
27428 rm -f conftest.err conftest.
$ac_objext \
27429 conftest
$ac_exeext conftest.
$ac_ext
27430 LIBS
=$ac_check_lib_save_LIBS
27432 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27433 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27434 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27435 ODBC_LINK
=" -lodbc"
27445 if test "x$ODBC_LINK" = "x" ; then
27446 if test "$wxUSE_ODBC" = "sys" ; then
27447 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27448 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27449 { (exit 1); exit 1; }; }
27451 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27452 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27459 if test "$wxUSE_ODBC" != "no" ; then
27460 cat >>confdefs.h
<<\_ACEOF
27461 #define wxUSE_ODBC 1
27464 if test "$wxUSE_ODBC" = "builtin" ; then
27465 cat >>confdefs.h
<<\_ACEOF
27466 #define wxUSE_BUILTIN_IODBC 1
27470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27472 WXODBCFLAG
="-D_IODBC_"
27478 if test "$wxUSE_DISPLAY" = "yes"; then
27479 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27480 echo "$as_me:$LINENO: checking for Xinerama" >&5
27481 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27484 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27486 for ac_extension
in a so sl dylib
; do
27487 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27488 ac_find_libraries
=$ac_dir
27494 if test "$ac_find_libraries" != "" ; then
27496 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27498 if test $result = 0; then
27501 ac_path_to_link
=" -L$ac_find_libraries"
27504 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27505 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27507 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27508 echo "$as_me:$LINENO: result: yes" >&5
27509 echo "${ECHO_T}yes" >&6
27511 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27512 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27515 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27517 for ac_extension
in a so sl dylib
; do
27518 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27519 ac_find_libraries
=$ac_dir
27525 if test "$ac_find_libraries" != "" ; then
27526 echo "$as_me:$LINENO: result: yes" >&5
27527 echo "${ECHO_T}yes" >&6
27529 for ac_header
in X
11/extensions
/xf86vmode.h
27531 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27532 echo "$as_me:$LINENO: checking for $ac_header" >&5
27533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27535 echo $ECHO_N "(cached) $ECHO_C" >&6
27537 cat >conftest.
$ac_ext <<_ACEOF
27540 cat confdefs.h
>>conftest.
$ac_ext
27541 cat >>conftest.
$ac_ext <<_ACEOF
27542 /* end confdefs.h. */
27544 #if HAVE_X11_XLIB_H
27545 #include <X11/Xlib.h>
27549 #include <$ac_header>
27551 rm -f conftest.
$ac_objext
27552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27553 (eval $ac_compile) 2>conftest.er1
27555 grep -v '^ *+' conftest.er1
>conftest.err
27557 cat conftest.err
>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } &&
27560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27562 (eval $ac_try) 2>&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; } &&
27566 { ac_try
='test -s conftest.$ac_objext'
27567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27568 (eval $ac_try) 2>&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); }; }; then
27572 eval "$as_ac_Header=yes"
27574 echo "$as_me: failed program was:" >&5
27575 sed 's/^/| /' conftest.
$ac_ext >&5
27577 eval "$as_ac_Header=no"
27579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27584 cat >>confdefs.h
<<_ACEOF
27585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27588 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27595 echo "$as_me:$LINENO: result: no" >&5
27596 echo "${ECHO_T}no" >&6
27600 echo "$as_me:$LINENO: result: no" >&5
27601 echo "${ECHO_T}no" >&6
27602 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27603 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27606 elif test "$wxUSE_MSW" = 1; then
27609 for ac_header
in multimon.h ddraw.h
27611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27612 echo "$as_me:$LINENO: checking for $ac_header" >&5
27613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27617 cat >conftest.
$ac_ext <<_ACEOF
27620 cat confdefs.h
>>conftest.
$ac_ext
27621 cat >>conftest.
$ac_ext <<_ACEOF
27622 /* end confdefs.h. */
27623 #include <windows.h>
27625 #include <$ac_header>
27627 rm -f conftest.
$ac_objext
27628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27629 (eval $ac_compile) 2>conftest.er1
27631 grep -v '^ *+' conftest.er1
>conftest.err
27633 cat conftest.err
>&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); } &&
27636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27638 (eval $ac_try) 2>&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); }; } &&
27642 { ac_try
='test -s conftest.$ac_objext'
27643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27644 (eval $ac_try) 2>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); }; }; then
27648 eval "$as_ac_Header=yes"
27650 echo "$as_me: failed program was:" >&5
27651 sed 's/^/| /' conftest.
$ac_ext >&5
27653 eval "$as_ac_Header=no"
27655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27660 cat >>confdefs.h
<<_ACEOF
27661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27667 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27668 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27678 if test "$wxUSE_MEDIACTRL" = "yes"; then
27679 if test "$wxUSE_MSW" = 1; then
27680 wxUSE_DIRECTSHOW
="yes"
27682 for ac_header
in dshow.h
27684 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27685 echo "$as_me:$LINENO: checking for $ac_header" >&5
27686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27688 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 cat >conftest.
$ac_ext <<_ACEOF
27693 cat confdefs.h
>>conftest.
$ac_ext
27694 cat >>conftest.
$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27696 #include <windows.h>
27698 #include <$ac_header>
27700 rm -f conftest.
$ac_objext
27701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27702 (eval $ac_compile) 2>conftest.er1
27704 grep -v '^ *+' conftest.er1
>conftest.err
27706 cat conftest.err
>&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); } &&
27709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27711 (eval $ac_try) 2>&5
27713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27714 (exit $ac_status); }; } &&
27715 { ac_try
='test -s conftest.$ac_objext'
27716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27717 (eval $ac_try) 2>&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); }; }; then
27721 eval "$as_ac_Header=yes"
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.
$ac_ext >&5
27726 eval "$as_ac_Header=no"
27728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27733 cat >>confdefs.h
<<_ACEOF
27734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27739 wxUSE_DIRECTSHOW
="no"
27740 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27741 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27748 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27749 cat >>confdefs.h
<<\_ACEOF
27750 #define wxUSE_DIRECTSHOW 1
27753 LIBS
="$LIBS -lstrmiids"
27757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27758 cat >>confdefs.h
<<\_ACEOF
27759 #define wxUSE_MEDIACTRL 1
27766 if test "$wxUSE_OPENGL" = "yes"; then
27767 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27768 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27769 elif test "$wxUSE_MSW" = 1; then
27770 OPENGL_LIBS
="-lopengl32 -lglu32"
27775 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27777 if test -f "$ac_dir/GL/gl.h"; then
27778 ac_find_includes
=$ac_dir
27783 if test "$ac_find_includes" != "" ; then
27784 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27785 echo "${ECHO_T}found in $ac_find_includes" >&6
27787 if test "x$ac_find_includes" = "x/usr/include"; then
27788 ac_path_to_include
=""
27790 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27792 if test $result = 0; then
27793 ac_path_to_include
=""
27795 ac_path_to_include
=" -I$ac_find_includes"
27799 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27802 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27803 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27804 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27805 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27806 echo $ECHO_N "(cached) $ECHO_C" >&6
27808 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27809 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27811 # Is the header compilable?
27812 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27813 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27814 cat >conftest.
$ac_ext <<_ACEOF
27817 cat confdefs.h
>>conftest.
$ac_ext
27818 cat >>conftest.
$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27820 $ac_includes_default
27823 rm -f conftest.
$ac_objext
27824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27825 (eval $ac_compile) 2>conftest.er1
27827 grep -v '^ *+' conftest.er1
>conftest.err
27829 cat conftest.err
>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } &&
27832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27834 (eval $ac_try) 2>&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); }; } &&
27838 { ac_try
='test -s conftest.$ac_objext'
27839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27840 (eval $ac_try) 2>&5
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); }; }; then
27844 ac_header_compiler
=yes
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.
$ac_ext >&5
27849 ac_header_compiler
=no
27851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27853 echo "${ECHO_T}$ac_header_compiler" >&6
27855 # Is the header present?
27856 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27857 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27858 cat >conftest.
$ac_ext <<_ACEOF
27861 cat confdefs.h
>>conftest.
$ac_ext
27862 cat >>conftest.
$ac_ext <<_ACEOF
27863 /* end confdefs.h. */
27866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27869 grep -v '^ *+' conftest.er1
>conftest.err
27871 cat conftest.err
>&5
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); } >/dev
/null
; then
27874 if test -s conftest.err
; then
27875 ac_cpp_err
=$ac_c_preproc_warn_flag
27876 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27883 if test -z "$ac_cpp_err"; then
27884 ac_header_preproc
=yes
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.
$ac_ext >&5
27889 ac_header_preproc
=no
27891 rm -f conftest.err conftest.
$ac_ext
27892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27893 echo "${ECHO_T}$ac_header_preproc" >&6
27895 # So? What about this header?
27896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27898 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27899 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27900 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27901 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27902 ac_header_preproc
=yes
27905 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27906 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27907 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27908 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27909 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27910 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27911 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27912 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27913 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27914 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27915 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27916 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27919 ## ----------------------------------------- ##
27920 ## Report this to wx-dev@lists.wxwidgets.org ##
27921 ## ----------------------------------------- ##
27924 sed "s/^/$as_me: WARNING: /" >&2
27927 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27928 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27929 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27930 echo $ECHO_N "(cached) $ECHO_C" >&6
27932 ac_cv_header_GL_gl_h
=$ac_header_preproc
27934 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27935 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27938 if test $ac_cv_header_GL_gl_h = yes; then
27942 echo "$as_me:$LINENO: checking for -lGL" >&5
27943 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27946 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27948 for ac_extension
in a so sl dylib
; do
27949 if test -f "$ac_dir/libGL.$ac_extension"; then
27950 ac_find_libraries
=$ac_dir
27956 if test "$ac_find_libraries" != "" ; then
27958 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27960 if test $result = 0; then
27963 ac_path_to_link
=" -L$ac_find_libraries"
27966 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27967 LDFLAGS_GL
="$ac_path_to_link"
27972 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27974 for ac_extension
in a so sl dylib
; do
27975 if test -f "$ac_dir/libGLU.$ac_extension"; then
27976 ac_find_libraries
=$ac_dir
27982 if test "$ac_find_libraries" != "" ; then
27984 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27986 if test $result = 0; then
27989 ac_path_to_link
=" -L$ac_find_libraries"
27992 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27993 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27994 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27998 OPENGL_LIBS
="-lGL -lGLU"
27999 echo "$as_me:$LINENO: result: yes" >&5
28000 echo "${ECHO_T}yes" >&6
28004 if test "$found_gl" != 1; then
28005 echo "$as_me:$LINENO: result: no" >&5
28006 echo "${ECHO_T}no" >&6
28007 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28008 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28011 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28013 for ac_extension
in a so sl dylib
; do
28014 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28015 ac_find_libraries
=$ac_dir
28021 if test "$ac_find_libraries" != "" ; then
28023 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28025 if test $result = 0; then
28028 ac_path_to_link
=" -L$ac_find_libraries"
28031 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28032 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28033 echo "$as_me:$LINENO: result: yes" >&5
28034 echo "${ECHO_T}yes" >&6
28036 echo "$as_me:$LINENO: result: no" >&5
28037 echo "${ECHO_T}no" >&6
28045 if test "x$OPENGL_LIBS" = "x"; then
28046 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28047 echo "$as_me: error: OpenGL libraries not available" >&2;}
28048 { (exit 1); exit 1; }; }
28052 if test "$wxUSE_OPENGL" = "yes"; then
28054 cat >>confdefs.h
<<\_ACEOF
28055 #define wxUSE_OPENGL 1
28058 cat >>confdefs.h
<<\_ACEOF
28059 #define wxUSE_GLCANVAS 1
28062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28067 if test -n "$TOOLKIT" ; then
28068 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28073 if test "$wxUSE_SHARED" = "yes"; then
28077 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28078 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28083 if test "$wxUSE_SHARED" = "yes"; then
28086 found_versioning
=no
28089 if test $found_versioning = no
; then
28090 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28091 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28092 if test "${wx_cv_version_script+set}" = set; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 echo "VER_1 { *; };" >conftest.sym
28097 echo "int main() { return 0; }" >conftest.cpp
28100 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28101 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28103 (eval $ac_try) 2>&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); }; } ; then
28107 if test -s conftest.stderr
; then
28108 wx_cv_version_script
=no
28110 wx_cv_version_script
=yes
28113 wx_cv_version_script
=no
28115 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28118 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28119 echo "${ECHO_T}$wx_cv_version_script" >&6
28120 if test $wx_cv_version_script = yes ; then
28121 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28127 *-*-linux* | *-*-gnu* )
28128 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28129 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28133 if test "$GCC" = yes ; then
28134 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28136 saveLdflags
="$LDFLAGS"
28137 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28138 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28139 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28140 cat >conftest.
$ac_ext <<_ACEOF
28143 cat confdefs.h
>>conftest.
$ac_ext
28144 cat >>conftest.
$ac_ext <<_ACEOF
28145 /* end confdefs.h. */
28155 rm -f conftest.
$ac_objext conftest
$ac_exeext
28156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28157 (eval $ac_link) 2>conftest.er1
28159 grep -v '^ *+' conftest.er1
>conftest.err
28161 cat conftest.err
>&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); } &&
28164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28166 (eval $ac_try) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; } &&
28170 { ac_try
='test -s conftest$ac_exeext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28177 echo "$as_me:$LINENO: result: yes" >&5
28178 echo "${ECHO_T}yes" >&6
28179 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28180 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28183 echo "$as_me: failed program was:" >&5
28184 sed 's/^/| /' conftest.
$ac_ext >&5
28187 echo "$as_me:$LINENO: result: no" >&5
28188 echo "${ECHO_T}no" >&6
28189 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28190 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28191 LDFLAGS
="$saveLdflags -Wl,-R,/"
28192 cat >conftest.
$ac_ext <<_ACEOF
28195 cat confdefs.h
>>conftest.
$ac_ext
28196 cat >>conftest.
$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28207 rm -f conftest.
$ac_objext conftest
$ac_exeext
28208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28209 (eval $ac_link) 2>conftest.er1
28211 grep -v '^ *+' conftest.er1
>conftest.err
28213 cat conftest.err
>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } &&
28216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; } &&
28222 { ac_try
='test -s conftest$ac_exeext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28229 echo "$as_me:$LINENO: result: yes" >&5
28230 echo "${ECHO_T}yes" >&6
28231 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28232 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28235 echo "$as_me: failed program was:" >&5
28236 sed 's/^/| /' conftest.
$ac_ext >&5
28239 echo "$as_me:$LINENO: result: no" >&5
28240 echo "${ECHO_T}no" >&6
28243 rm -f conftest.err conftest.
$ac_objext \
28244 conftest
$ac_exeext conftest.
$ac_ext
28247 rm -f conftest.err conftest.
$ac_objext \
28248 conftest
$ac_exeext conftest.
$ac_ext
28249 LDFLAGS
="$saveLdflags"
28251 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28252 WXCONFIG_RPATH
="-R\$libdir"
28256 powerpc
-*-darwin* )
28257 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28258 cat <<EOF >change-install-names
28260 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28261 inst_cmd="install_name_tool "
28262 for i in \${libnames} ; do
28263 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28267 chmod +x change
-install-names
28270 *-*-cygwin* | *-*-mingw32* )
28271 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28276 if test $wxUSE_RPATH = "no"; then
28277 SAMPLES_RPATH_FLAG
=''
28278 SAMPLES_RPATH_POSTLINK
=''
28286 config_linkage_component
="-static"
28293 lib_unicode_suffix
=
28295 if test "$wxUSE_UNICODE" = "yes"; then
28296 lib_unicode_suffix
=u
28297 WX_CHARTYPE
="unicode"
28302 WX_DEBUGTYPE
="release"
28304 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28306 WX_DEBUGTYPE
="debug"
28310 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28311 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28314 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28318 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28320 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28322 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28324 if test "$cross_compiling" = "yes"; then
28325 HOST_SUFFIX
="-$host_alias"
28326 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28327 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28330 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28331 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28335 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28336 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28337 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28339 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28341 # Extract the first word of "Rez", so it can be a program name with args.
28342 set dummy Rez
; ac_word
=$2
28343 echo "$as_me:$LINENO: checking for $ac_word" >&5
28344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28345 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28346 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 if test -n "$RESCOMP"; then
28349 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28352 for as_dir
in $PATH
28355 test -z "$as_dir" && as_dir
=.
28356 for ac_exec_ext
in '' $ac_executable_extensions; do
28357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28358 ac_cv_prog_RESCOMP
="Rez"
28359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28365 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28368 RESCOMP
=$ac_cv_prog_RESCOMP
28369 if test -n "$RESCOMP"; then
28370 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28371 echo "${ECHO_T}$RESCOMP" >&6
28373 echo "$as_me:$LINENO: result: no" >&5
28374 echo "${ECHO_T}no" >&6
28377 # Extract the first word of "DeRez", so it can be a program name with args.
28378 set dummy DeRez
; ac_word
=$2
28379 echo "$as_me:$LINENO: checking for $ac_word" >&5
28380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28381 if test "${ac_cv_prog_DEREZ+set}" = set; then
28382 echo $ECHO_N "(cached) $ECHO_C" >&6
28384 if test -n "$DEREZ"; then
28385 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28388 for as_dir
in $PATH
28391 test -z "$as_dir" && as_dir
=.
28392 for ac_exec_ext
in '' $ac_executable_extensions; do
28393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28394 ac_cv_prog_DEREZ
="DeRez"
28395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28401 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28404 DEREZ
=$ac_cv_prog_DEREZ
28405 if test -n "$DEREZ"; then
28406 echo "$as_me:$LINENO: result: $DEREZ" >&5
28407 echo "${ECHO_T}$DEREZ" >&6
28409 echo "$as_me:$LINENO: result: no" >&5
28410 echo "${ECHO_T}no" >&6
28413 # Extract the first word of "SetFile", so it can be a program name with args.
28414 set dummy SetFile
; ac_word
=$2
28415 echo "$as_me:$LINENO: checking for $ac_word" >&5
28416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28417 if test "${ac_cv_prog_SETFILE+set}" = set; then
28418 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 if test -n "$SETFILE"; then
28421 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28424 for as_dir
in $PATH
28427 test -z "$as_dir" && as_dir
=.
28428 for ac_exec_ext
in '' $ac_executable_extensions; do
28429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28430 ac_cv_prog_SETFILE
="SetFile"
28431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28437 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28440 SETFILE
=$ac_cv_prog_SETFILE
28441 if test -n "$SETFILE"; then
28442 echo "$as_me:$LINENO: result: $SETFILE" >&5
28443 echo "${ECHO_T}$SETFILE" >&6
28445 echo "$as_me:$LINENO: result: no" >&5
28446 echo "${ECHO_T}no" >&6
28450 MACSETFILE
="\$(SETFILE)"
28452 if test "$wxUSE_MAC" = 1; then
28453 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28455 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28457 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28458 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28462 MACRESWXCONFIG
="@true"
28464 if test "$wxUSE_PM" = 1; then
28465 MACRESCOMP
="emxbind -ep"
28473 echo "$as_me:$LINENO: checking for mode_t" >&5
28474 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28475 if test "${ac_cv_type_mode_t+set}" = set; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 cat >conftest.
$ac_ext <<_ACEOF
28481 cat confdefs.h
>>conftest.
$ac_ext
28482 cat >>conftest.
$ac_ext <<_ACEOF
28483 /* end confdefs.h. */
28484 $ac_includes_default
28490 if (sizeof (mode_t))
28496 rm -f conftest.
$ac_objext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28498 (eval $ac_compile) 2>conftest.er1
28500 grep -v '^ *+' conftest.er1
>conftest.err
28502 cat conftest.err
>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } &&
28505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507 (eval $ac_try) 2>&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); }; } &&
28511 { ac_try
='test -s conftest.$ac_objext'
28512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28513 (eval $ac_try) 2>&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); }; }; then
28517 ac_cv_type_mode_t
=yes
28519 echo "$as_me: failed program was:" >&5
28520 sed 's/^/| /' conftest.
$ac_ext >&5
28522 ac_cv_type_mode_t
=no
28524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28526 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28527 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28528 if test $ac_cv_type_mode_t = yes; then
28532 cat >>confdefs.h
<<_ACEOF
28538 echo "$as_me:$LINENO: checking for off_t" >&5
28539 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28540 if test "${ac_cv_type_off_t+set}" = set; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 cat >conftest.
$ac_ext <<_ACEOF
28546 cat confdefs.h
>>conftest.
$ac_ext
28547 cat >>conftest.
$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28549 $ac_includes_default
28555 if (sizeof (off_t))
28561 rm -f conftest.
$ac_objext
28562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28563 (eval $ac_compile) 2>conftest.er1
28565 grep -v '^ *+' conftest.er1
>conftest.err
28567 cat conftest.err
>&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); } &&
28570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28572 (eval $ac_try) 2>&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); }; } &&
28576 { ac_try
='test -s conftest.$ac_objext'
28577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28578 (eval $ac_try) 2>&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); }; }; then
28582 ac_cv_type_off_t
=yes
28584 echo "$as_me: failed program was:" >&5
28585 sed 's/^/| /' conftest.
$ac_ext >&5
28587 ac_cv_type_off_t
=no
28589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28591 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28592 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28593 if test $ac_cv_type_off_t = yes; then
28597 cat >>confdefs.h
<<_ACEOF
28603 echo "$as_me:$LINENO: checking for pid_t" >&5
28604 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28605 if test "${ac_cv_type_pid_t+set}" = set; then
28606 echo $ECHO_N "(cached) $ECHO_C" >&6
28608 cat >conftest.
$ac_ext <<_ACEOF
28611 cat confdefs.h
>>conftest.
$ac_ext
28612 cat >>conftest.
$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28614 $ac_includes_default
28620 if (sizeof (pid_t))
28626 rm -f conftest.
$ac_objext
28627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28628 (eval $ac_compile) 2>conftest.er1
28630 grep -v '^ *+' conftest.er1
>conftest.err
28632 cat conftest.err
>&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } &&
28635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28637 (eval $ac_try) 2>&5
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); }; } &&
28641 { ac_try
='test -s conftest.$ac_objext'
28642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28643 (eval $ac_try) 2>&5
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); }; }; then
28647 ac_cv_type_pid_t
=yes
28649 echo "$as_me: failed program was:" >&5
28650 sed 's/^/| /' conftest.
$ac_ext >&5
28652 ac_cv_type_pid_t
=no
28654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28656 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28657 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28658 if test $ac_cv_type_pid_t = yes; then
28662 cat >>confdefs.h
<<_ACEOF
28668 echo "$as_me:$LINENO: checking for size_t" >&5
28669 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28670 if test "${ac_cv_type_size_t+set}" = set; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 cat >conftest.
$ac_ext <<_ACEOF
28676 cat confdefs.h
>>conftest.
$ac_ext
28677 cat >>conftest.
$ac_ext <<_ACEOF
28678 /* end confdefs.h. */
28679 $ac_includes_default
28685 if (sizeof (size_t))
28691 rm -f conftest.
$ac_objext
28692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28693 (eval $ac_compile) 2>conftest.er1
28695 grep -v '^ *+' conftest.er1
>conftest.err
28697 cat conftest.err
>&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); } &&
28700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; } &&
28706 { ac_try
='test -s conftest.$ac_objext'
28707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708 (eval $ac_try) 2>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); }; }; then
28712 ac_cv_type_size_t
=yes
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.
$ac_ext >&5
28717 ac_cv_type_size_t
=no
28719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28721 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28722 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28723 if test $ac_cv_type_size_t = yes; then
28727 cat >>confdefs.h
<<_ACEOF
28728 #define size_t unsigned
28733 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28734 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28735 if test "${ac_cv_type_uid_t+set}" = set; then
28736 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 cat >conftest.
$ac_ext <<_ACEOF
28741 cat confdefs.h
>>conftest.
$ac_ext
28742 cat >>conftest.
$ac_ext <<_ACEOF
28743 /* end confdefs.h. */
28744 #include <sys/types.h>
28747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28748 $EGREP "uid_t" >/dev
/null
2>&1; then
28749 ac_cv_type_uid_t
=yes
28751 ac_cv_type_uid_t
=no
28756 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28757 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28758 if test $ac_cv_type_uid_t = no
; then
28760 cat >>confdefs.h
<<\_ACEOF
28765 cat >>confdefs.h
<<\_ACEOF
28772 echo "$as_me:$LINENO: checking for ssize_t" >&5
28773 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28774 if test "${ac_cv_type_ssize_t+set}" = set; then
28775 echo $ECHO_N "(cached) $ECHO_C" >&6
28777 cat >conftest.
$ac_ext <<_ACEOF
28780 cat confdefs.h
>>conftest.
$ac_ext
28781 cat >>conftest.
$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28783 $ac_includes_default
28789 if (sizeof (ssize_t))
28795 rm -f conftest.
$ac_objext
28796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28797 (eval $ac_compile) 2>conftest.er1
28799 grep -v '^ *+' conftest.er1
>conftest.err
28801 cat conftest.err
>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); } &&
28804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; } &&
28810 { ac_try
='test -s conftest.$ac_objext'
28811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28812 (eval $ac_try) 2>&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); }; }; then
28816 ac_cv_type_ssize_t
=yes
28818 echo "$as_me: failed program was:" >&5
28819 sed 's/^/| /' conftest.
$ac_ext >&5
28821 ac_cv_type_ssize_t
=no
28823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28825 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28826 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28827 if test $ac_cv_type_ssize_t = yes; then
28829 cat >>confdefs.h
<<_ACEOF
28830 #define HAVE_SSIZE_T 1
28840 ac_cpp
='$CXXCPP $CPPFLAGS'
28841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28845 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28846 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28847 if test "${wx_cv_size_t_is_uint+set}" = set; then
28848 echo $ECHO_N "(cached) $ECHO_C" >&6
28851 cat >conftest.
$ac_ext <<_ACEOF
28854 cat confdefs.h
>>conftest.
$ac_ext
28855 cat >>conftest.
$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28857 #include <stddef.h>
28864 struct Foo { void foo(size_t); void foo(unsigned int); };
28872 rm -f conftest.
$ac_objext
28873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28874 (eval $ac_compile) 2>conftest.er1
28876 grep -v '^ *+' conftest.er1
>conftest.err
28878 cat conftest.err
>&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } &&
28881 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; } &&
28887 { ac_try
='test -s conftest.$ac_objext'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; }; then
28893 wx_cv_size_t_is_uint
=no
28895 echo "$as_me: failed program was:" >&5
28896 sed 's/^/| /' conftest.
$ac_ext >&5
28898 wx_cv_size_t_is_uint
=yes
28901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28905 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28906 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28908 if test "$wx_cv_size_t_is_uint" = "yes"; then
28909 cat >>confdefs.h
<<\_ACEOF
28910 #define wxSIZE_T_IS_UINT 1
28914 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28915 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28916 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 cat >conftest.
$ac_ext <<_ACEOF
28922 cat confdefs.h
>>conftest.
$ac_ext
28923 cat >>conftest.
$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925 #include <stddef.h>
28932 struct Foo { void foo(size_t); void foo(unsigned long); };
28940 rm -f conftest.
$ac_objext
28941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28942 (eval $ac_compile) 2>conftest.er1
28944 grep -v '^ *+' conftest.er1
>conftest.err
28946 cat conftest.err
>&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } &&
28949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; } &&
28955 { ac_try
='test -s conftest.$ac_objext'
28956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28957 (eval $ac_try) 2>&5
28959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960 (exit $ac_status); }; }; then
28961 wx_cv_size_t_is_ulong
=no
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.
$ac_ext >&5
28966 wx_cv_size_t_is_ulong
=yes
28969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28972 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28973 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28975 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28976 cat >>confdefs.h
<<\_ACEOF
28977 #define wxSIZE_T_IS_ULONG 1
28984 ac_cpp
='$CPP $CPPFLAGS'
28985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28991 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28992 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28993 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28994 echo $ECHO_N "(cached) $ECHO_C" >&6
28997 cat >conftest.
$ac_ext <<_ACEOF
29000 cat confdefs.h
>>conftest.
$ac_ext
29001 cat >>conftest.
$ac_ext <<_ACEOF
29002 /* end confdefs.h. */
29016 rm -f conftest.
$ac_objext
29017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29018 (eval $ac_compile) 2>conftest.er1
29020 grep -v '^ *+' conftest.er1
>conftest.err
29022 cat conftest.err
>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); } &&
29025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; } &&
29031 { ac_try
='test -s conftest.$ac_objext'
29032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29033 (eval $ac_try) 2>&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); }; }; then
29038 wx_cv_struct_pw_gecos
=yes
29041 echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.
$ac_ext >&5
29045 wx_cv_struct_pw_gecos
=no
29049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29053 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29054 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29056 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29057 cat >>confdefs.h
<<\_ACEOF
29058 #define HAVE_PW_GECOS 1
29064 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29065 cat >>confdefs.h
<<\_ACEOF
29066 #define wxUSE_WCHAR_T 1
29073 for ac_func
in wcslen
29075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29076 echo "$as_me:$LINENO: checking for $ac_func" >&5
29077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29078 if eval "test \"\${$as_ac_var+set}\" = set"; then
29079 echo $ECHO_N "(cached) $ECHO_C" >&6
29081 cat >conftest.
$ac_ext <<_ACEOF
29084 cat confdefs.h
>>conftest.
$ac_ext
29085 cat >>conftest.
$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29089 #define $ac_func innocuous_$ac_func
29091 /* System header to define __stub macros and hopefully few prototypes,
29092 which can conflict with char $ac_func (); below.
29093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29094 <limits.h> exists even on freestanding compilers. */
29097 # include <limits.h>
29099 # include <assert.h>
29104 /* Override any gcc2 internal prototype to avoid an error. */
29109 /* We use char because int might match the return type of a gcc2
29110 builtin and then its argument prototype would still apply. */
29112 /* The GNU C library defines this for functions which it implements
29113 to always fail with ENOSYS. Some functions are actually named
29114 something starting with __ and the normal name is an alias. */
29115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29118 char (*f) () = $ac_func;
29127 return f != $ac_func;
29132 rm -f conftest.
$ac_objext conftest
$ac_exeext
29133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29134 (eval $ac_link) 2>conftest.er1
29136 grep -v '^ *+' conftest.er1
>conftest.err
29138 cat conftest.err
>&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } &&
29141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143 (eval $ac_try) 2>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); }; } &&
29147 { ac_try
='test -s conftest$ac_exeext'
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; }; then
29153 eval "$as_ac_var=yes"
29155 echo "$as_me: failed program was:" >&5
29156 sed 's/^/| /' conftest.
$ac_ext >&5
29158 eval "$as_ac_var=no"
29160 rm -f conftest.err conftest.
$ac_objext \
29161 conftest
$ac_exeext conftest.
$ac_ext
29163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29165 if test `eval echo '${'$as_ac_var'}'` = yes; then
29166 cat >>confdefs.h
<<_ACEOF
29167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29174 if test "$WCSLEN_FOUND" = 0; then
29175 if test "$TOOLKIT" = "MSW"; then
29176 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29177 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29178 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29179 echo $ECHO_N "(cached) $ECHO_C" >&6
29181 ac_check_lib_save_LIBS
=$LIBS
29182 LIBS
="-lmsvcrt $LIBS"
29183 cat >conftest.
$ac_ext <<_ACEOF
29186 cat confdefs.h
>>conftest.
$ac_ext
29187 cat >>conftest.
$ac_ext <<_ACEOF
29188 /* end confdefs.h. */
29190 /* Override any gcc2 internal prototype to avoid an error. */
29194 /* We use char because int might match the return type of a gcc2
29195 builtin and then its argument prototype would still apply. */
29205 rm -f conftest.
$ac_objext conftest
$ac_exeext
29206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29207 (eval $ac_link) 2>conftest.er1
29209 grep -v '^ *+' conftest.er1
>conftest.err
29211 cat conftest.err
>&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } &&
29214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29216 (eval $ac_try) 2>&5
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); }; } &&
29220 { ac_try
='test -s conftest$ac_exeext'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; }; then
29226 ac_cv_lib_msvcrt_wcslen
=yes
29228 echo "$as_me: failed program was:" >&5
29229 sed 's/^/| /' conftest.
$ac_ext >&5
29231 ac_cv_lib_msvcrt_wcslen
=no
29233 rm -f conftest.err conftest.
$ac_objext \
29234 conftest
$ac_exeext conftest.
$ac_ext
29235 LIBS
=$ac_check_lib_save_LIBS
29237 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29238 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29239 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29244 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29245 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29246 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29249 ac_check_lib_save_LIBS
=$LIBS
29251 cat >conftest.
$ac_ext <<_ACEOF
29254 cat confdefs.h
>>conftest.
$ac_ext
29255 cat >>conftest.
$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29258 /* Override any gcc2 internal prototype to avoid an error. */
29262 /* We use char because int might match the return type of a gcc2
29263 builtin and then its argument prototype would still apply. */
29273 rm -f conftest.
$ac_objext conftest
$ac_exeext
29274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29275 (eval $ac_link) 2>conftest.er1
29277 grep -v '^ *+' conftest.er1
>conftest.err
29279 cat conftest.err
>&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } &&
29282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284 (eval $ac_try) 2>&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; } &&
29288 { ac_try
='test -s conftest$ac_exeext'
29289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29290 (eval $ac_try) 2>&5
29292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293 (exit $ac_status); }; }; then
29294 ac_cv_lib_w_wcslen
=yes
29296 echo "$as_me: failed program was:" >&5
29297 sed 's/^/| /' conftest.
$ac_ext >&5
29299 ac_cv_lib_w_wcslen
=no
29301 rm -f conftest.err conftest.
$ac_objext \
29302 conftest
$ac_exeext conftest.
$ac_ext
29303 LIBS
=$ac_check_lib_save_LIBS
29305 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29306 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29307 if test $ac_cv_lib_w_wcslen = yes; then
29317 if test "$WCSLEN_FOUND" = 1; then
29318 cat >>confdefs.h
<<\_ACEOF
29319 #define HAVE_WCSLEN 1
29324 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29325 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29329 for ac_func
in wcsrtombs
29331 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29332 echo "$as_me:$LINENO: checking for $ac_func" >&5
29333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29334 if eval "test \"\${$as_ac_var+set}\" = set"; then
29335 echo $ECHO_N "(cached) $ECHO_C" >&6
29337 cat >conftest.
$ac_ext <<_ACEOF
29340 cat confdefs.h
>>conftest.
$ac_ext
29341 cat >>conftest.
$ac_ext <<_ACEOF
29342 /* end confdefs.h. */
29343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29345 #define $ac_func innocuous_$ac_func
29347 /* System header to define __stub macros and hopefully few prototypes,
29348 which can conflict with char $ac_func (); below.
29349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29350 <limits.h> exists even on freestanding compilers. */
29353 # include <limits.h>
29355 # include <assert.h>
29360 /* Override any gcc2 internal prototype to avoid an error. */
29365 /* We use char because int might match the return type of a gcc2
29366 builtin and then its argument prototype would still apply. */
29368 /* The GNU C library defines this for functions which it implements
29369 to always fail with ENOSYS. Some functions are actually named
29370 something starting with __ and the normal name is an alias. */
29371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29374 char (*f) () = $ac_func;
29383 return f != $ac_func;
29388 rm -f conftest.
$ac_objext conftest
$ac_exeext
29389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29390 (eval $ac_link) 2>conftest.er1
29392 grep -v '^ *+' conftest.er1
>conftest.err
29394 cat conftest.err
>&5
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); } &&
29397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29399 (eval $ac_try) 2>&5
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; } &&
29403 { ac_try
='test -s conftest$ac_exeext'
29404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29405 (eval $ac_try) 2>&5
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); }; }; then
29409 eval "$as_ac_var=yes"
29411 echo "$as_me: failed program was:" >&5
29412 sed 's/^/| /' conftest.
$ac_ext >&5
29414 eval "$as_ac_var=no"
29416 rm -f conftest.err conftest.
$ac_objext \
29417 conftest
$ac_exeext conftest.
$ac_ext
29419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29421 if test `eval echo '${'$as_ac_var'}'` = yes; then
29422 cat >>confdefs.h
<<_ACEOF
29423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29430 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29431 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29437 ac_cpp
='$CXXCPP $CPPFLAGS'
29438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29444 for ac_func
in vsnprintf
29446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29447 echo "$as_me:$LINENO: checking for $ac_func" >&5
29448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29449 if eval "test \"\${$as_ac_var+set}\" = set"; then
29450 echo $ECHO_N "(cached) $ECHO_C" >&6
29452 cat >conftest.
$ac_ext <<_ACEOF
29455 cat confdefs.h
>>conftest.
$ac_ext
29456 cat >>conftest.
$ac_ext <<_ACEOF
29457 /* end confdefs.h. */
29458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29460 #define $ac_func innocuous_$ac_func
29462 /* System header to define __stub macros and hopefully few prototypes,
29463 which can conflict with char $ac_func (); below.
29464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29465 <limits.h> exists even on freestanding compilers. */
29468 # include <limits.h>
29470 # include <assert.h>
29475 /* Override any gcc2 internal prototype to avoid an error. */
29480 /* We use char because int might match the return type of a gcc2
29481 builtin and then its argument prototype would still apply. */
29483 /* The GNU C library defines this for functions which it implements
29484 to always fail with ENOSYS. Some functions are actually named
29485 something starting with __ and the normal name is an alias. */
29486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29489 char (*f) () = $ac_func;
29498 return f != $ac_func;
29503 rm -f conftest.
$ac_objext conftest
$ac_exeext
29504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29505 (eval $ac_link) 2>conftest.er1
29507 grep -v '^ *+' conftest.er1
>conftest.err
29509 cat conftest.err
>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); } &&
29512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; } &&
29518 { ac_try
='test -s conftest$ac_exeext'
29519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520 (eval $ac_try) 2>&5
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; }; then
29524 eval "$as_ac_var=yes"
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.
$ac_ext >&5
29529 eval "$as_ac_var=no"
29531 rm -f conftest.err conftest.
$ac_objext \
29532 conftest
$ac_exeext conftest.
$ac_ext
29534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29536 if test `eval echo '${'$as_ac_var'}'` = yes; then
29537 cat >>confdefs.h
<<_ACEOF
29538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29545 if test "$ac_cv_func_vsnprintf" = "yes"; then
29546 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29547 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29548 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29549 echo $ECHO_N "(cached) $ECHO_C" >&6
29552 cat >conftest.
$ac_ext <<_ACEOF
29555 cat confdefs.h
>>conftest.
$ac_ext
29556 cat >>conftest.
$ac_ext <<_ACEOF
29557 /* end confdefs.h. */
29560 #include <stdarg.h>
29568 vsnprintf(buf, 10u, "%s", ap);
29574 rm -f conftest.
$ac_objext
29575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29576 (eval $ac_compile) 2>conftest.er1
29578 grep -v '^ *+' conftest.er1
>conftest.err
29580 cat conftest.err
>&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); } &&
29583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29585 (eval $ac_try) 2>&5
29587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588 (exit $ac_status); }; } &&
29589 { ac_try
='test -s conftest.$ac_objext'
29590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29591 (eval $ac_try) 2>&5
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); }; }; then
29595 wx_cv_func_vsnprintf_decl
=yes
29597 echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.
$ac_ext >&5
29601 cat >conftest.
$ac_ext <<_ACEOF
29604 cat confdefs.h
>>conftest.
$ac_ext
29605 cat >>conftest.
$ac_ext <<_ACEOF
29606 /* end confdefs.h. */
29609 #include <stdarg.h>
29610 using namespace std;
29618 vsnprintf(buf, 10u, "%s", ap);
29624 rm -f conftest.
$ac_objext
29625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29626 (eval $ac_compile) 2>conftest.er1
29628 grep -v '^ *+' conftest.er1
>conftest.err
29630 cat conftest.err
>&5
29631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29632 (exit $ac_status); } &&
29633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29635 (eval $ac_try) 2>&5
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); }; } &&
29639 { ac_try
='test -s conftest.$ac_objext'
29640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29641 (eval $ac_try) 2>&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); }; }; then
29645 wx_cv_func_vsnprintf_decl
=yes
29647 echo "$as_me: failed program was:" >&5
29648 sed 's/^/| /' conftest.
$ac_ext >&5
29650 wx_cv_func_vsnprintf_decl
=no
29653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29661 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29662 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29664 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29665 cat >>confdefs.h
<<\_ACEOF
29666 #define HAVE_VSNPRINTF_DECL 1
29672 if test "$wxUSE_UNICODE" = yes; then
29679 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29682 echo "$as_me:$LINENO: checking for $ac_func" >&5
29683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29684 if eval "test \"\${$as_ac_var+set}\" = set"; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 cat >conftest.
$ac_ext <<_ACEOF
29690 cat confdefs.h
>>conftest.
$ac_ext
29691 cat >>conftest.
$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29695 #define $ac_func innocuous_$ac_func
29697 /* System header to define __stub macros and hopefully few prototypes,
29698 which can conflict with char $ac_func (); below.
29699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29700 <limits.h> exists even on freestanding compilers. */
29703 # include <limits.h>
29705 # include <assert.h>
29710 /* Override any gcc2 internal prototype to avoid an error. */
29715 /* We use char because int might match the return type of a gcc2
29716 builtin and then its argument prototype would still apply. */
29718 /* The GNU C library defines this for functions which it implements
29719 to always fail with ENOSYS. Some functions are actually named
29720 something starting with __ and the normal name is an alias. */
29721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29724 char (*f) () = $ac_func;
29733 return f != $ac_func;
29738 rm -f conftest.
$ac_objext conftest
$ac_exeext
29739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29740 (eval $ac_link) 2>conftest.er1
29742 grep -v '^ *+' conftest.er1
>conftest.err
29744 cat conftest.err
>&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } &&
29747 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; } &&
29753 { ac_try
='test -s conftest$ac_exeext'
29754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 (eval $ac_try) 2>&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); }; }; then
29759 eval "$as_ac_var=yes"
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.
$ac_ext >&5
29764 eval "$as_ac_var=no"
29766 rm -f conftest.err conftest.
$ac_objext \
29767 conftest
$ac_exeext conftest.
$ac_ext
29769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29771 if test `eval echo '${'$as_ac_var'}'` = yes; then
29772 cat >>confdefs.h
<<_ACEOF
29773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29780 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29781 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29782 cat >conftest.
$ac_ext <<_ACEOF
29785 cat confdefs.h
>>conftest.
$ac_ext
29786 cat >>conftest.
$ac_ext <<_ACEOF
29787 /* end confdefs.h. */
29797 rm -f conftest.
$ac_objext
29798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29799 (eval $ac_compile) 2>conftest.er1
29801 grep -v '^ *+' conftest.er1
>conftest.err
29803 cat conftest.err
>&5
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); } &&
29806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; } &&
29812 { ac_try
='test -s conftest.$ac_objext'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; }; then
29818 echo "$as_me:$LINENO: result: yes" >&5
29819 echo "${ECHO_T}yes" >&6
29820 cat >>confdefs.h
<<\_ACEOF
29821 #define HAVE__VSNWPRINTF 1
29825 echo "$as_me: failed program was:" >&5
29826 sed 's/^/| /' conftest.
$ac_ext >&5
29828 echo "$as_me:$LINENO: result: no" >&5
29829 echo "${ECHO_T}no" >&6
29831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29835 ac_cpp
='$CPP $CPPFLAGS'
29836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29843 if test "$TOOLKIT" != "MSW"; then
29849 ac_cpp
='$CXXCPP $CPPFLAGS'
29850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29857 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29858 if test "${with_libiconv_prefix+set}" = set; then
29859 withval
="$with_libiconv_prefix"
29861 for dir
in `echo "$withval" | tr : ' '`; do
29862 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29863 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29868 echo "$as_me:$LINENO: checking for iconv" >&5
29869 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29870 if test "${am_cv_func_iconv+set}" = set; then
29871 echo $ECHO_N "(cached) $ECHO_C" >&6
29874 am_cv_func_iconv
="no, consider installing GNU libiconv"
29876 cat >conftest.
$ac_ext <<_ACEOF
29879 cat confdefs.h
>>conftest.
$ac_ext
29880 cat >>conftest.
$ac_ext <<_ACEOF
29881 /* end confdefs.h. */
29882 #include <stdlib.h>
29887 iconv_t cd = iconv_open("","");
29888 iconv(cd,NULL,NULL,NULL,NULL);
29894 rm -f conftest.
$ac_objext conftest
$ac_exeext
29895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29896 (eval $ac_link) 2>conftest.er1
29898 grep -v '^ *+' conftest.er1
>conftest.err
29900 cat conftest.err
>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; } &&
29909 { ac_try
='test -s conftest$ac_exeext'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; }; then
29915 am_cv_func_iconv
=yes
29917 echo "$as_me: failed program was:" >&5
29918 sed 's/^/| /' conftest.
$ac_ext >&5
29921 rm -f conftest.err conftest.
$ac_objext \
29922 conftest
$ac_exeext conftest.
$ac_ext
29923 if test "$am_cv_func_iconv" != yes; then
29924 am_save_LIBS
="$LIBS"
29925 LIBS
="$LIBS -liconv"
29926 cat >conftest.
$ac_ext <<_ACEOF
29929 cat confdefs.h
>>conftest.
$ac_ext
29930 cat >>conftest.
$ac_ext <<_ACEOF
29931 /* end confdefs.h. */
29932 #include <stdlib.h>
29937 iconv_t cd = iconv_open("","");
29938 iconv(cd,NULL,NULL,NULL,NULL);
29944 rm -f conftest.
$ac_objext conftest
$ac_exeext
29945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29946 (eval $ac_link) 2>conftest.er1
29948 grep -v '^ *+' conftest.er1
>conftest.err
29950 cat conftest.err
>&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); } &&
29953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; } &&
29959 { ac_try
='test -s conftest$ac_exeext'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; }; then
29965 am_cv_lib_iconv
=yes
29966 am_cv_func_iconv
=yes
29968 echo "$as_me: failed program was:" >&5
29969 sed 's/^/| /' conftest.
$ac_ext >&5
29972 rm -f conftest.err conftest.
$ac_objext \
29973 conftest
$ac_exeext conftest.
$ac_ext
29974 LIBS
="$am_save_LIBS"
29978 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29979 echo "${ECHO_T}$am_cv_func_iconv" >&6
29980 if test "$am_cv_func_iconv" = yes; then
29982 cat >>confdefs.h
<<\_ACEOF
29983 #define HAVE_ICONV 1
29986 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29987 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29988 if test "${wx_cv_func_iconv_const+set}" = set; then
29989 echo $ECHO_N "(cached) $ECHO_C" >&6
29991 cat >conftest.
$ac_ext <<_ACEOF
29994 cat confdefs.h
>>conftest.
$ac_ext
29995 cat >>conftest.
$ac_ext <<_ACEOF
29996 /* end confdefs.h. */
29998 #include <stdlib.h>
30004 #if defined(__STDC__) || defined(__cplusplus)
30005 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30018 rm -f conftest.
$ac_objext
30019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30020 (eval $ac_compile) 2>conftest.er1
30022 grep -v '^ *+' conftest.er1
>conftest.err
30024 cat conftest.err
>&5
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); } &&
30027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; } &&
30033 { ac_try
='test -s conftest.$ac_objext'
30034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30035 (eval $ac_try) 2>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); }; }; then
30039 wx_cv_func_iconv_const
="no"
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.
$ac_ext >&5
30044 wx_cv_func_iconv_const
="yes"
30047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30050 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30051 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30054 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30055 iconv_const
="const"
30059 cat >>confdefs.h
<<_ACEOF
30060 #define ICONV_CONST $iconv_const
30065 if test "$am_cv_lib_iconv" = yes; then
30070 LIBS
="$LIBICONV $LIBS"
30072 ac_cpp
='$CPP $CPPFLAGS'
30073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30078 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30080 for ac_func
in sigaction
30082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30083 echo "$as_me:$LINENO: checking for $ac_func" >&5
30084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30085 if eval "test \"\${$as_ac_var+set}\" = set"; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30088 cat >conftest.
$ac_ext <<_ACEOF
30091 cat confdefs.h
>>conftest.
$ac_ext
30092 cat >>conftest.
$ac_ext <<_ACEOF
30093 /* end confdefs.h. */
30094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30096 #define $ac_func innocuous_$ac_func
30098 /* System header to define __stub macros and hopefully few prototypes,
30099 which can conflict with char $ac_func (); below.
30100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30101 <limits.h> exists even on freestanding compilers. */
30104 # include <limits.h>
30106 # include <assert.h>
30111 /* Override any gcc2 internal prototype to avoid an error. */
30116 /* We use char because int might match the return type of a gcc2
30117 builtin and then its argument prototype would still apply. */
30119 /* The GNU C library defines this for functions which it implements
30120 to always fail with ENOSYS. Some functions are actually named
30121 something starting with __ and the normal name is an alias. */
30122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30125 char (*f) () = $ac_func;
30134 return f != $ac_func;
30139 rm -f conftest.
$ac_objext conftest
$ac_exeext
30140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30141 (eval $ac_link) 2>conftest.er1
30143 grep -v '^ *+' conftest.er1
>conftest.err
30145 cat conftest.err
>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } &&
30148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150 (eval $ac_try) 2>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); }; } &&
30154 { ac_try
='test -s conftest$ac_exeext'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; }; then
30160 eval "$as_ac_var=yes"
30162 echo "$as_me: failed program was:" >&5
30163 sed 's/^/| /' conftest.
$ac_ext >&5
30165 eval "$as_ac_var=no"
30167 rm -f conftest.err conftest.
$ac_objext \
30168 conftest
$ac_exeext conftest.
$ac_ext
30170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30172 if test `eval echo '${'$as_ac_var'}'` = yes; then
30173 cat >>confdefs.h
<<_ACEOF
30174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30181 if test "$ac_cv_func_sigaction" = "no"; then
30182 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30183 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30184 wxUSE_ON_FATAL_EXCEPTION
=no
30187 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30191 ac_cpp
='$CXXCPP $CPPFLAGS'
30192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30197 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30198 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30199 if test "${wx_cv_type_sa_handler+set}" = set; then
30200 echo $ECHO_N "(cached) $ECHO_C" >&6
30203 cat >conftest.
$ac_ext <<_ACEOF
30206 cat confdefs.h
>>conftest.
$ac_ext
30207 cat >>conftest.
$ac_ext <<_ACEOF
30208 /* end confdefs.h. */
30209 #include <signal.h>
30214 extern void testSigHandler(int);
30216 struct sigaction sa;
30217 sa.sa_handler = testSigHandler;
30223 rm -f conftest.
$ac_objext
30224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30225 (eval $ac_compile) 2>conftest.er1
30227 grep -v '^ *+' conftest.er1
>conftest.err
30229 cat conftest.err
>&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } &&
30232 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; } &&
30238 { ac_try
='test -s conftest.$ac_objext'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; }; then
30245 wx_cv_type_sa_handler
=int
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.
$ac_ext >&5
30252 wx_cv_type_sa_handler
=void
30255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30258 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30259 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30262 ac_cpp
='$CPP $CPPFLAGS'
30263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30268 cat >>confdefs.h
<<_ACEOF
30269 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30275 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30279 ac_cpp
='$CXXCPP $CPPFLAGS'
30280 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30285 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30286 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30287 if test "${wx_cv_func_backtrace+set}" = set; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30291 cat >conftest.
$ac_ext <<_ACEOF
30294 cat confdefs.h
>>conftest.
$ac_ext
30295 cat >>conftest.
$ac_ext <<_ACEOF
30296 /* end confdefs.h. */
30297 #include <execinfo.h>
30305 backtrace(trace, 1);
30306 messages = backtrace_symbols(trace, 1);
30312 rm -f conftest.
$ac_objext
30313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30314 (eval $ac_compile) 2>conftest.er1
30316 grep -v '^ *+' conftest.er1
>conftest.err
30318 cat conftest.err
>&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); } &&
30321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30323 (eval $ac_try) 2>&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); }; } &&
30327 { ac_try
='test -s conftest.$ac_objext'
30328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30329 (eval $ac_try) 2>&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); }; }; then
30333 wx_cv_func_backtrace
=yes
30335 echo "$as_me: failed program was:" >&5
30336 sed 's/^/| /' conftest.
$ac_ext >&5
30338 wx_cv_func_backtrace
=no
30341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30345 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30346 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30349 if test "$wx_cv_func_backtrace" = "no"; then
30350 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30351 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30352 wxUSE_STACKWALKER
=no
30354 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30355 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30356 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30357 echo $ECHO_N "(cached) $ECHO_C" >&6
30360 cat >conftest.
$ac_ext <<_ACEOF
30363 cat confdefs.h
>>conftest.
$ac_ext
30364 cat >>conftest.
$ac_ext <<_ACEOF
30365 /* end confdefs.h. */
30366 #include <cxxabi.h>
30372 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30378 rm -f conftest.
$ac_objext
30379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30380 (eval $ac_compile) 2>conftest.er1
30382 grep -v '^ *+' conftest.er1
>conftest.err
30384 cat conftest.err
>&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); } &&
30387 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30389 (eval $ac_try) 2>&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); }; } &&
30393 { ac_try
='test -s conftest.$ac_objext'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; }; then
30399 wx_cv_func_cxa_demangle
=yes
30401 echo "$as_me: failed program was:" >&5
30402 sed 's/^/| /' conftest.
$ac_ext >&5
30404 wx_cv_func_cxa_demangle
=no
30407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30411 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30412 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30414 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30415 cat >>confdefs.h
<<\_ACEOF
30416 #define HAVE_CXA_DEMANGLE 1
30423 ac_cpp
='$CPP $CPPFLAGS'
30424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30432 for ac_func
in mkstemp mktemp
30434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30435 echo "$as_me:$LINENO: checking for $ac_func" >&5
30436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30437 if eval "test \"\${$as_ac_var+set}\" = set"; then
30438 echo $ECHO_N "(cached) $ECHO_C" >&6
30440 cat >conftest.
$ac_ext <<_ACEOF
30443 cat confdefs.h
>>conftest.
$ac_ext
30444 cat >>conftest.
$ac_ext <<_ACEOF
30445 /* end confdefs.h. */
30446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30448 #define $ac_func innocuous_$ac_func
30450 /* System header to define __stub macros and hopefully few prototypes,
30451 which can conflict with char $ac_func (); below.
30452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30453 <limits.h> exists even on freestanding compilers. */
30456 # include <limits.h>
30458 # include <assert.h>
30463 /* Override any gcc2 internal prototype to avoid an error. */
30468 /* We use char because int might match the return type of a gcc2
30469 builtin and then its argument prototype would still apply. */
30471 /* The GNU C library defines this for functions which it implements
30472 to always fail with ENOSYS. Some functions are actually named
30473 something starting with __ and the normal name is an alias. */
30474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30477 char (*f) () = $ac_func;
30486 return f != $ac_func;
30491 rm -f conftest.
$ac_objext conftest
$ac_exeext
30492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30493 (eval $ac_link) 2>conftest.er1
30495 grep -v '^ *+' conftest.er1
>conftest.err
30497 cat conftest.err
>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); } &&
30500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30502 (eval $ac_try) 2>&5
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); }; } &&
30506 { ac_try
='test -s conftest$ac_exeext'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; }; then
30512 eval "$as_ac_var=yes"
30514 echo "$as_me: failed program was:" >&5
30515 sed 's/^/| /' conftest.
$ac_ext >&5
30517 eval "$as_ac_var=no"
30519 rm -f conftest.err conftest.
$ac_objext \
30520 conftest
$ac_exeext conftest.
$ac_ext
30522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30524 if test `eval echo '${'$as_ac_var'}'` = yes; then
30525 cat >>confdefs.h
<<_ACEOF
30526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30533 echo "$as_me:$LINENO: checking for statfs" >&5
30534 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30535 if test "${wx_cv_func_statfs+set}" = set; then
30536 echo $ECHO_N "(cached) $ECHO_C" >&6
30538 cat >conftest.
$ac_ext <<_ACEOF
30541 cat confdefs.h
>>conftest.
$ac_ext
30542 cat >>conftest.
$ac_ext <<_ACEOF
30543 /* end confdefs.h. */
30545 #if defined(__BSD__)
30546 #include <sys/param.h>
30547 #include <sys/mount.h>
30549 #include <sys/vfs.h>
30567 rm -f conftest.
$ac_objext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30569 (eval $ac_compile) 2>conftest.er1
30571 grep -v '^ *+' conftest.er1
>conftest.err
30573 cat conftest.err
>&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; } &&
30582 { ac_try
='test -s conftest.$ac_objext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30589 wx_cv_func_statfs
=yes
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.
$ac_ext >&5
30596 wx_cv_func_statfs
=no
30600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30603 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30604 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30606 if test "$wx_cv_func_statfs" = "yes"; then
30607 wx_cv_type_statvfs_t
="struct statfs"
30608 cat >>confdefs.h
<<\_ACEOF
30609 #define HAVE_STATFS 1
30613 echo "$as_me:$LINENO: checking for statvfs" >&5
30614 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30615 if test "${wx_cv_func_statvfs+set}" = set; then
30616 echo $ECHO_N "(cached) $ECHO_C" >&6
30618 cat >conftest.
$ac_ext <<_ACEOF
30621 cat confdefs.h
>>conftest.
$ac_ext
30622 cat >>conftest.
$ac_ext <<_ACEOF
30623 /* end confdefs.h. */
30625 #include <stddef.h>
30626 #include <sys/statvfs.h>
30632 statvfs("/", NULL);
30638 rm -f conftest.
$ac_objext
30639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30640 (eval $ac_compile) 2>conftest.er1
30642 grep -v '^ *+' conftest.er1
>conftest.err
30644 cat conftest.err
>&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); } &&
30647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; } &&
30653 { ac_try
='test -s conftest.$ac_objext'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; }; then
30659 wx_cv_func_statvfs
=yes
30661 echo "$as_me: failed program was:" >&5
30662 sed 's/^/| /' conftest.
$ac_ext >&5
30664 wx_cv_func_statvfs
=no
30667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30670 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30671 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30673 if test "$wx_cv_func_statvfs" = "yes"; then
30677 ac_cpp
='$CXXCPP $CPPFLAGS'
30678 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30683 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30684 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30685 if test "${wx_cv_type_statvfs_t+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30688 cat >conftest.
$ac_ext <<_ACEOF
30691 cat confdefs.h
>>conftest.
$ac_ext
30692 cat >>conftest.
$ac_ext <<_ACEOF
30693 /* end confdefs.h. */
30695 #include <sys/statvfs.h>
30712 rm -f conftest.
$ac_objext
30713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30714 (eval $ac_compile) 2>conftest.er1
30716 grep -v '^ *+' conftest.er1
>conftest.err
30718 cat conftest.err
>&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); } &&
30721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30723 (eval $ac_try) 2>&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); }; } &&
30727 { ac_try
='test -s conftest.$ac_objext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30733 wx_cv_type_statvfs_t
=statvfs_t
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.
$ac_ext >&5
30739 cat >conftest.
$ac_ext <<_ACEOF
30742 cat confdefs.h
>>conftest.
$ac_ext
30743 cat >>conftest.
$ac_ext <<_ACEOF
30744 /* end confdefs.h. */
30746 #include <sys/statvfs.h>
30763 rm -f conftest.
$ac_objext
30764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30765 (eval $ac_compile) 2>conftest.er1
30767 grep -v '^ *+' conftest.er1
>conftest.err
30769 cat conftest.err
>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); } &&
30772 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; } &&
30778 { ac_try
='test -s conftest.$ac_objext'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; }; then
30784 wx_cv_type_statvfs_t
="struct statvfs"
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.
$ac_ext >&5
30789 wx_cv_type_statvfs_t
="unknown"
30792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30799 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30800 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30803 ac_cpp
='$CPP $CPPFLAGS'
30804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30809 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30810 cat >>confdefs.h
<<\_ACEOF
30811 #define HAVE_STATVFS 1
30816 wx_cv_type_statvfs_t
="unknown"
30820 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30821 cat >>confdefs.h
<<_ACEOF
30822 #define WX_STATFS_T $wx_cv_type_statvfs_t
30826 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30827 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30830 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30833 for ac_func
in fcntl flock
30835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30836 echo "$as_me:$LINENO: checking for $ac_func" >&5
30837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30838 if eval "test \"\${$as_ac_var+set}\" = set"; then
30839 echo $ECHO_N "(cached) $ECHO_C" >&6
30841 cat >conftest.
$ac_ext <<_ACEOF
30844 cat confdefs.h
>>conftest.
$ac_ext
30845 cat >>conftest.
$ac_ext <<_ACEOF
30846 /* end confdefs.h. */
30847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30849 #define $ac_func innocuous_$ac_func
30851 /* System header to define __stub macros and hopefully few prototypes,
30852 which can conflict with char $ac_func (); below.
30853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30854 <limits.h> exists even on freestanding compilers. */
30857 # include <limits.h>
30859 # include <assert.h>
30864 /* Override any gcc2 internal prototype to avoid an error. */
30869 /* We use char because int might match the return type of a gcc2
30870 builtin and then its argument prototype would still apply. */
30872 /* The GNU C library defines this for functions which it implements
30873 to always fail with ENOSYS. Some functions are actually named
30874 something starting with __ and the normal name is an alias. */
30875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30878 char (*f) () = $ac_func;
30887 return f != $ac_func;
30892 rm -f conftest.
$ac_objext conftest
$ac_exeext
30893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30894 (eval $ac_link) 2>conftest.er1
30896 grep -v '^ *+' conftest.er1
>conftest.err
30898 cat conftest.err
>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); } &&
30901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; } &&
30907 { ac_try
='test -s conftest$ac_exeext'
30908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30909 (eval $ac_try) 2>&5
30911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912 (exit $ac_status); }; }; then
30913 eval "$as_ac_var=yes"
30915 echo "$as_me: failed program was:" >&5
30916 sed 's/^/| /' conftest.
$ac_ext >&5
30918 eval "$as_ac_var=no"
30920 rm -f conftest.err conftest.
$ac_objext \
30921 conftest
$ac_exeext conftest.
$ac_ext
30923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30925 if test `eval echo '${'$as_ac_var'}'` = yes; then
30926 cat >>confdefs.h
<<_ACEOF
30927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30934 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30935 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30936 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30937 wxUSE_SNGLINST_CHECKER
=no
30942 for ac_func
in timegm
30944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30945 echo "$as_me:$LINENO: checking for $ac_func" >&5
30946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30947 if eval "test \"\${$as_ac_var+set}\" = set"; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30950 cat >conftest.
$ac_ext <<_ACEOF
30953 cat confdefs.h
>>conftest.
$ac_ext
30954 cat >>conftest.
$ac_ext <<_ACEOF
30955 /* end confdefs.h. */
30956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30958 #define $ac_func innocuous_$ac_func
30960 /* System header to define __stub macros and hopefully few prototypes,
30961 which can conflict with char $ac_func (); below.
30962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30963 <limits.h> exists even on freestanding compilers. */
30966 # include <limits.h>
30968 # include <assert.h>
30973 /* Override any gcc2 internal prototype to avoid an error. */
30978 /* We use char because int might match the return type of a gcc2
30979 builtin and then its argument prototype would still apply. */
30981 /* The GNU C library defines this for functions which it implements
30982 to always fail with ENOSYS. Some functions are actually named
30983 something starting with __ and the normal name is an alias. */
30984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30987 char (*f) () = $ac_func;
30996 return f != $ac_func;
31001 rm -f conftest.
$ac_objext conftest
$ac_exeext
31002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31003 (eval $ac_link) 2>conftest.er1
31005 grep -v '^ *+' conftest.er1
>conftest.err
31007 cat conftest.err
>&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } &&
31010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012 (eval $ac_try) 2>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; } &&
31016 { ac_try
='test -s conftest$ac_exeext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 eval "$as_ac_var=yes"
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.
$ac_ext >&5
31027 eval "$as_ac_var=no"
31029 rm -f conftest.err conftest.
$ac_objext \
31030 conftest
$ac_exeext conftest.
$ac_ext
31032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31034 if test `eval echo '${'$as_ac_var'}'` = yes; then
31035 cat >>confdefs.h
<<_ACEOF
31036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31045 for ac_func
in putenv setenv
31047 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31048 echo "$as_me:$LINENO: checking for $ac_func" >&5
31049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31050 if eval "test \"\${$as_ac_var+set}\" = set"; then
31051 echo $ECHO_N "(cached) $ECHO_C" >&6
31053 cat >conftest.
$ac_ext <<_ACEOF
31056 cat confdefs.h
>>conftest.
$ac_ext
31057 cat >>conftest.
$ac_ext <<_ACEOF
31058 /* end confdefs.h. */
31059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31061 #define $ac_func innocuous_$ac_func
31063 /* System header to define __stub macros and hopefully few prototypes,
31064 which can conflict with char $ac_func (); below.
31065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31066 <limits.h> exists even on freestanding compilers. */
31069 # include <limits.h>
31071 # include <assert.h>
31076 /* Override any gcc2 internal prototype to avoid an error. */
31081 /* We use char because int might match the return type of a gcc2
31082 builtin and then its argument prototype would still apply. */
31084 /* The GNU C library defines this for functions which it implements
31085 to always fail with ENOSYS. Some functions are actually named
31086 something starting with __ and the normal name is an alias. */
31087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31090 char (*f) () = $ac_func;
31099 return f != $ac_func;
31104 rm -f conftest.
$ac_objext conftest
$ac_exeext
31105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31106 (eval $ac_link) 2>conftest.er1
31108 grep -v '^ *+' conftest.er1
>conftest.err
31110 cat conftest.err
>&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } &&
31113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 (eval $ac_try) 2>&5
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; } &&
31119 { ac_try
='test -s conftest$ac_exeext'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; }; then
31125 eval "$as_ac_var=yes"
31127 echo "$as_me: failed program was:" >&5
31128 sed 's/^/| /' conftest.
$ac_ext >&5
31130 eval "$as_ac_var=no"
31132 rm -f conftest.err conftest.
$ac_objext \
31133 conftest
$ac_exeext conftest.
$ac_ext
31135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31137 if test `eval echo '${'$as_ac_var'}'` = yes; then
31138 cat >>confdefs.h
<<_ACEOF
31139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31146 HAVE_SOME_SLEEP_FUNC
=0
31147 if test "$USE_BEOS" = 1; then
31148 cat >>confdefs.h
<<\_ACEOF
31149 #define HAVE_SLEEP 1
31152 HAVE_SOME_SLEEP_FUNC
=1
31155 if test "$USE_DARWIN" = 1; then
31156 cat >>confdefs.h
<<\_ACEOF
31157 #define HAVE_USLEEP 1
31160 HAVE_SOME_SLEEP_FUNC
=1
31163 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31166 for ac_func
in nanosleep
31168 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31169 echo "$as_me:$LINENO: checking for $ac_func" >&5
31170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31171 if eval "test \"\${$as_ac_var+set}\" = set"; then
31172 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 cat >conftest.
$ac_ext <<_ACEOF
31177 cat confdefs.h
>>conftest.
$ac_ext
31178 cat >>conftest.
$ac_ext <<_ACEOF
31179 /* end confdefs.h. */
31180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31182 #define $ac_func innocuous_$ac_func
31184 /* System header to define __stub macros and hopefully few prototypes,
31185 which can conflict with char $ac_func (); below.
31186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31187 <limits.h> exists even on freestanding compilers. */
31190 # include <limits.h>
31192 # include <assert.h>
31197 /* Override any gcc2 internal prototype to avoid an error. */
31202 /* We use char because int might match the return type of a gcc2
31203 builtin and then its argument prototype would still apply. */
31205 /* The GNU C library defines this for functions which it implements
31206 to always fail with ENOSYS. Some functions are actually named
31207 something starting with __ and the normal name is an alias. */
31208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31211 char (*f) () = $ac_func;
31220 return f != $ac_func;
31225 rm -f conftest.
$ac_objext conftest
$ac_exeext
31226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31227 (eval $ac_link) 2>conftest.er1
31229 grep -v '^ *+' conftest.er1
>conftest.err
31231 cat conftest.err
>&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); } &&
31234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31236 (eval $ac_try) 2>&5
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); }; } &&
31240 { ac_try
='test -s conftest$ac_exeext'
31241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31242 (eval $ac_try) 2>&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); }; }; then
31246 eval "$as_ac_var=yes"
31248 echo "$as_me: failed program was:" >&5
31249 sed 's/^/| /' conftest.
$ac_ext >&5
31251 eval "$as_ac_var=no"
31253 rm -f conftest.err conftest.
$ac_objext \
31254 conftest
$ac_exeext conftest.
$ac_ext
31256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31258 if test `eval echo '${'$as_ac_var'}'` = yes; then
31259 cat >>confdefs.h
<<_ACEOF
31260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31262 cat >>confdefs.h
<<\_ACEOF
31263 #define HAVE_NANOSLEEP 1
31268 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31269 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31270 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31271 echo $ECHO_N "(cached) $ECHO_C" >&6
31273 ac_check_lib_save_LIBS
=$LIBS
31274 LIBS
="-lposix4 $LIBS"
31275 cat >conftest.
$ac_ext <<_ACEOF
31278 cat confdefs.h
>>conftest.
$ac_ext
31279 cat >>conftest.
$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31282 /* Override any gcc2 internal prototype to avoid an error. */
31286 /* We use char because int might match the return type of a gcc2
31287 builtin and then its argument prototype would still apply. */
31297 rm -f conftest.
$ac_objext conftest
$ac_exeext
31298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31299 (eval $ac_link) 2>conftest.er1
31301 grep -v '^ *+' conftest.er1
>conftest.err
31303 cat conftest.err
>&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } &&
31306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; } &&
31312 { ac_try
='test -s conftest$ac_exeext'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; }; then
31318 ac_cv_lib_posix4_nanosleep
=yes
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.
$ac_ext >&5
31323 ac_cv_lib_posix4_nanosleep
=no
31325 rm -f conftest.err conftest.
$ac_objext \
31326 conftest
$ac_exeext conftest.
$ac_ext
31327 LIBS
=$ac_check_lib_save_LIBS
31329 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31330 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31331 if test $ac_cv_lib_posix4_nanosleep = yes; then
31333 cat >>confdefs.h
<<\_ACEOF
31334 #define HAVE_NANOSLEEP 1
31337 POSIX4_LINK
=" -lposix4"
31342 for ac_func
in usleep
31344 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31345 echo "$as_me:$LINENO: checking for $ac_func" >&5
31346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31347 if eval "test \"\${$as_ac_var+set}\" = set"; then
31348 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 cat >conftest.
$ac_ext <<_ACEOF
31353 cat confdefs.h
>>conftest.
$ac_ext
31354 cat >>conftest.
$ac_ext <<_ACEOF
31355 /* end confdefs.h. */
31356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31358 #define $ac_func innocuous_$ac_func
31360 /* System header to define __stub macros and hopefully few prototypes,
31361 which can conflict with char $ac_func (); below.
31362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31363 <limits.h> exists even on freestanding compilers. */
31366 # include <limits.h>
31368 # include <assert.h>
31373 /* Override any gcc2 internal prototype to avoid an error. */
31378 /* We use char because int might match the return type of a gcc2
31379 builtin and then its argument prototype would still apply. */
31381 /* The GNU C library defines this for functions which it implements
31382 to always fail with ENOSYS. Some functions are actually named
31383 something starting with __ and the normal name is an alias. */
31384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31387 char (*f) () = $ac_func;
31396 return f != $ac_func;
31401 rm -f conftest.
$ac_objext conftest
$ac_exeext
31402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31403 (eval $ac_link) 2>conftest.er1
31405 grep -v '^ *+' conftest.er1
>conftest.err
31407 cat conftest.err
>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } &&
31410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; } &&
31416 { ac_try
='test -s conftest$ac_exeext'
31417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31418 (eval $ac_try) 2>&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); }; }; then
31422 eval "$as_ac_var=yes"
31424 echo "$as_me: failed program was:" >&5
31425 sed 's/^/| /' conftest.
$ac_ext >&5
31427 eval "$as_ac_var=no"
31429 rm -f conftest.err conftest.
$ac_objext \
31430 conftest
$ac_exeext conftest.
$ac_ext
31432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31434 if test `eval echo '${'$as_ac_var'}'` = yes; then
31435 cat >>confdefs.h
<<_ACEOF
31436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31438 cat >>confdefs.h
<<\_ACEOF
31439 #define HAVE_USLEEP 1
31443 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31444 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31462 for ac_func
in uname gethostname
31464 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31465 echo "$as_me:$LINENO: checking for $ac_func" >&5
31466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31467 if eval "test \"\${$as_ac_var+set}\" = set"; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31470 cat >conftest.
$ac_ext <<_ACEOF
31473 cat confdefs.h
>>conftest.
$ac_ext
31474 cat >>conftest.
$ac_ext <<_ACEOF
31475 /* end confdefs.h. */
31476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31478 #define $ac_func innocuous_$ac_func
31480 /* System header to define __stub macros and hopefully few prototypes,
31481 which can conflict with char $ac_func (); below.
31482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31483 <limits.h> exists even on freestanding compilers. */
31486 # include <limits.h>
31488 # include <assert.h>
31493 /* Override any gcc2 internal prototype to avoid an error. */
31498 /* We use char because int might match the return type of a gcc2
31499 builtin and then its argument prototype would still apply. */
31501 /* The GNU C library defines this for functions which it implements
31502 to always fail with ENOSYS. Some functions are actually named
31503 something starting with __ and the normal name is an alias. */
31504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31507 char (*f) () = $ac_func;
31516 return f != $ac_func;
31521 rm -f conftest.
$ac_objext conftest
$ac_exeext
31522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31523 (eval $ac_link) 2>conftest.er1
31525 grep -v '^ *+' conftest.er1
>conftest.err
31527 cat conftest.err
>&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); } &&
31530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532 (eval $ac_try) 2>&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); }; } &&
31536 { ac_try
='test -s conftest$ac_exeext'
31537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31538 (eval $ac_try) 2>&5
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); }; }; then
31542 eval "$as_ac_var=yes"
31544 echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.
$ac_ext >&5
31547 eval "$as_ac_var=no"
31549 rm -f conftest.err conftest.
$ac_objext \
31550 conftest
$ac_exeext conftest.
$ac_ext
31552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31554 if test `eval echo '${'$as_ac_var'}'` = yes; then
31555 cat >>confdefs.h
<<_ACEOF
31556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31566 ac_cpp
='$CXXCPP $CPPFLAGS'
31567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31573 for ac_func
in strtok_r
31575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31576 echo "$as_me:$LINENO: checking for $ac_func" >&5
31577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31578 if eval "test \"\${$as_ac_var+set}\" = set"; then
31579 echo $ECHO_N "(cached) $ECHO_C" >&6
31581 cat >conftest.
$ac_ext <<_ACEOF
31584 cat confdefs.h
>>conftest.
$ac_ext
31585 cat >>conftest.
$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31589 #define $ac_func innocuous_$ac_func
31591 /* System header to define __stub macros and hopefully few prototypes,
31592 which can conflict with char $ac_func (); below.
31593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31594 <limits.h> exists even on freestanding compilers. */
31597 # include <limits.h>
31599 # include <assert.h>
31604 /* Override any gcc2 internal prototype to avoid an error. */
31609 /* We use char because int might match the return type of a gcc2
31610 builtin and then its argument prototype would still apply. */
31612 /* The GNU C library defines this for functions which it implements
31613 to always fail with ENOSYS. Some functions are actually named
31614 something starting with __ and the normal name is an alias. */
31615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31618 char (*f) () = $ac_func;
31627 return f != $ac_func;
31632 rm -f conftest.
$ac_objext conftest
$ac_exeext
31633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31634 (eval $ac_link) 2>conftest.er1
31636 grep -v '^ *+' conftest.er1
>conftest.err
31638 cat conftest.err
>&5
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); } &&
31641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; } &&
31647 { ac_try
='test -s conftest$ac_exeext'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; }; then
31653 eval "$as_ac_var=yes"
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.
$ac_ext >&5
31658 eval "$as_ac_var=no"
31660 rm -f conftest.err conftest.
$ac_objext \
31661 conftest
$ac_exeext conftest.
$ac_ext
31663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31665 if test `eval echo '${'$as_ac_var'}'` = yes; then
31666 cat >>confdefs.h
<<_ACEOF
31667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31675 ac_cpp
='$CPP $CPPFLAGS'
31676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31683 for ac_func
in inet_addr
31685 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31686 echo "$as_me:$LINENO: checking for $ac_func" >&5
31687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31688 if eval "test \"\${$as_ac_var+set}\" = set"; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31691 cat >conftest.
$ac_ext <<_ACEOF
31694 cat confdefs.h
>>conftest.
$ac_ext
31695 cat >>conftest.
$ac_ext <<_ACEOF
31696 /* end confdefs.h. */
31697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31699 #define $ac_func innocuous_$ac_func
31701 /* System header to define __stub macros and hopefully few prototypes,
31702 which can conflict with char $ac_func (); below.
31703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31704 <limits.h> exists even on freestanding compilers. */
31707 # include <limits.h>
31709 # include <assert.h>
31714 /* Override any gcc2 internal prototype to avoid an error. */
31719 /* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31722 /* The GNU C library defines this for functions which it implements
31723 to always fail with ENOSYS. Some functions are actually named
31724 something starting with __ and the normal name is an alias. */
31725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31728 char (*f) () = $ac_func;
31737 return f != $ac_func;
31742 rm -f conftest.
$ac_objext conftest
$ac_exeext
31743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31744 (eval $ac_link) 2>conftest.er1
31746 grep -v '^ *+' conftest.er1
>conftest.err
31748 cat conftest.err
>&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } &&
31751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; } &&
31757 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
31763 eval "$as_ac_var=yes"
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.
$ac_ext >&5
31768 eval "$as_ac_var=no"
31770 rm -f conftest.err conftest.
$ac_objext \
31771 conftest
$ac_exeext conftest.
$ac_ext
31773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31775 if test `eval echo '${'$as_ac_var'}'` = yes; then
31776 cat >>confdefs.h
<<_ACEOF
31777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31779 cat >>confdefs.h
<<\_ACEOF
31780 #define HAVE_INET_ADDR 1
31785 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31786 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31787 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31788 echo $ECHO_N "(cached) $ECHO_C" >&6
31790 ac_check_lib_save_LIBS
=$LIBS
31792 cat >conftest.
$ac_ext <<_ACEOF
31795 cat confdefs.h
>>conftest.
$ac_ext
31796 cat >>conftest.
$ac_ext <<_ACEOF
31797 /* end confdefs.h. */
31799 /* Override any gcc2 internal prototype to avoid an error. */
31803 /* We use char because int might match the return type of a gcc2
31804 builtin and then its argument prototype would still apply. */
31814 rm -f conftest.
$ac_objext conftest
$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>conftest.er1
31818 grep -v '^ *+' conftest.er1
>conftest.err
31820 cat conftest.err
>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } &&
31823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try
='test -s conftest$ac_exeext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835 ac_cv_lib_nsl_inet_addr
=yes
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.
$ac_ext >&5
31840 ac_cv_lib_nsl_inet_addr
=no
31842 rm -f conftest.err conftest.
$ac_objext \
31843 conftest
$ac_exeext conftest.
$ac_ext
31844 LIBS
=$ac_check_lib_save_LIBS
31846 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31847 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31848 if test $ac_cv_lib_nsl_inet_addr = yes; then
31852 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31853 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31854 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31857 ac_check_lib_save_LIBS
=$LIBS
31858 LIBS
="-lresolv $LIBS"
31859 cat >conftest.
$ac_ext <<_ACEOF
31862 cat confdefs.h
>>conftest.
$ac_ext
31863 cat >>conftest.
$ac_ext <<_ACEOF
31864 /* end confdefs.h. */
31866 /* Override any gcc2 internal prototype to avoid an error. */
31870 /* We use char because int might match the return type of a gcc2
31871 builtin and then its argument prototype would still apply. */
31881 rm -f conftest.
$ac_objext conftest
$ac_exeext
31882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31883 (eval $ac_link) 2>conftest.er1
31885 grep -v '^ *+' conftest.er1
>conftest.err
31887 cat conftest.err
>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } &&
31890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; } &&
31896 { ac_try
='test -s conftest$ac_exeext'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; }; then
31902 ac_cv_lib_resolv_inet_addr
=yes
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.
$ac_ext >&5
31907 ac_cv_lib_resolv_inet_addr
=no
31909 rm -f conftest.err conftest.
$ac_objext \
31910 conftest
$ac_exeext conftest.
$ac_ext
31911 LIBS
=$ac_check_lib_save_LIBS
31913 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31914 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31915 if test $ac_cv_lib_resolv_inet_addr = yes; then
31919 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31920 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31921 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31924 ac_check_lib_save_LIBS
=$LIBS
31925 LIBS
="-lsocket $LIBS"
31926 cat >conftest.
$ac_ext <<_ACEOF
31929 cat confdefs.h
>>conftest.
$ac_ext
31930 cat >>conftest.
$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31933 /* Override any gcc2 internal prototype to avoid an error. */
31937 /* We use char because int might match the return type of a gcc2
31938 builtin and then its argument prototype would still apply. */
31948 rm -f conftest.
$ac_objext conftest
$ac_exeext
31949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31950 (eval $ac_link) 2>conftest.er1
31952 grep -v '^ *+' conftest.er1
>conftest.err
31954 cat conftest.err
>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } &&
31957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; } &&
31963 { ac_try
='test -s conftest$ac_exeext'
31964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31965 (eval $ac_try) 2>&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); }; }; then
31969 ac_cv_lib_socket_inet_addr
=yes
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.
$ac_ext >&5
31974 ac_cv_lib_socket_inet_addr
=no
31976 rm -f conftest.err conftest.
$ac_objext \
31977 conftest
$ac_exeext conftest.
$ac_ext
31978 LIBS
=$ac_check_lib_save_LIBS
31980 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31981 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31982 if test $ac_cv_lib_socket_inet_addr = yes; then
32002 for ac_func
in inet_aton
32004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32005 echo "$as_me:$LINENO: checking for $ac_func" >&5
32006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32007 if eval "test \"\${$as_ac_var+set}\" = set"; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 cat >conftest.
$ac_ext <<_ACEOF
32013 cat confdefs.h
>>conftest.
$ac_ext
32014 cat >>conftest.
$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32018 #define $ac_func innocuous_$ac_func
32020 /* System header to define __stub macros and hopefully few prototypes,
32021 which can conflict with char $ac_func (); below.
32022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32023 <limits.h> exists even on freestanding compilers. */
32026 # include <limits.h>
32028 # include <assert.h>
32033 /* Override any gcc2 internal prototype to avoid an error. */
32038 /* We use char because int might match the return type of a gcc2
32039 builtin and then its argument prototype would still apply. */
32041 /* The GNU C library defines this for functions which it implements
32042 to always fail with ENOSYS. Some functions are actually named
32043 something starting with __ and the normal name is an alias. */
32044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32047 char (*f) () = $ac_func;
32056 return f != $ac_func;
32061 rm -f conftest.
$ac_objext conftest
$ac_exeext
32062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32063 (eval $ac_link) 2>conftest.er1
32065 grep -v '^ *+' conftest.er1
>conftest.err
32067 cat conftest.err
>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); } &&
32070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32072 (eval $ac_try) 2>&5
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); }; } &&
32076 { ac_try
='test -s conftest$ac_exeext'
32077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32078 (eval $ac_try) 2>&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); }; }; then
32082 eval "$as_ac_var=yes"
32084 echo "$as_me: failed program was:" >&5
32085 sed 's/^/| /' conftest.
$ac_ext >&5
32087 eval "$as_ac_var=no"
32089 rm -f conftest.err conftest.
$ac_objext \
32090 conftest
$ac_exeext conftest.
$ac_ext
32092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32094 if test `eval echo '${'$as_ac_var'}'` = yes; then
32095 cat >>confdefs.h
<<_ACEOF
32096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32098 cat >>confdefs.h
<<\_ACEOF
32099 #define HAVE_INET_ATON 1
32104 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32105 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32106 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32107 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32108 echo $ECHO_N "(cached) $ECHO_C" >&6
32110 ac_check_lib_save_LIBS
=$LIBS
32111 LIBS
="-l$INET_LINK $LIBS"
32112 cat >conftest.
$ac_ext <<_ACEOF
32115 cat confdefs.h
>>conftest.
$ac_ext
32116 cat >>conftest.
$ac_ext <<_ACEOF
32117 /* end confdefs.h. */
32119 /* Override any gcc2 internal prototype to avoid an error. */
32123 /* We use char because int might match the return type of a gcc2
32124 builtin and then its argument prototype would still apply. */
32134 rm -f conftest.
$ac_objext conftest
$ac_exeext
32135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32136 (eval $ac_link) 2>conftest.er1
32138 grep -v '^ *+' conftest.er1
>conftest.err
32140 cat conftest.err
>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); } &&
32143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32145 (eval $ac_try) 2>&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); }; } &&
32149 { ac_try
='test -s conftest$ac_exeext'
32150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32151 (eval $ac_try) 2>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); }; }; then
32155 eval "$as_ac_Lib=yes"
32157 echo "$as_me: failed program was:" >&5
32158 sed 's/^/| /' conftest.
$ac_ext >&5
32160 eval "$as_ac_Lib=no"
32162 rm -f conftest.err conftest.
$ac_objext \
32163 conftest
$ac_exeext conftest.
$ac_ext
32164 LIBS
=$ac_check_lib_save_LIBS
32166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32167 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32168 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32169 cat >>confdefs.h
<<\_ACEOF
32170 #define HAVE_INET_ATON 1
32180 if test "x$INET_LINK" != "x"; then
32181 cat >>confdefs.h
<<\_ACEOF
32182 #define HAVE_INET_ADDR 1
32185 INET_LINK
=" -l$INET_LINK"
32193 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32194 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32195 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32196 echo $ECHO_N "(cached) $ECHO_C" >&6
32198 ac_check_lib_save_LIBS
=$LIBS
32200 cat >conftest.
$ac_ext <<_ACEOF
32203 cat confdefs.h
>>conftest.
$ac_ext
32204 cat >>conftest.
$ac_ext <<_ACEOF
32205 /* end confdefs.h. */
32207 /* Override any gcc2 internal prototype to avoid an error. */
32211 /* We use char because int might match the return type of a gcc2
32212 builtin and then its argument prototype would still apply. */
32222 rm -f conftest.
$ac_objext conftest
$ac_exeext
32223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32224 (eval $ac_link) 2>conftest.er1
32226 grep -v '^ *+' conftest.er1
>conftest.err
32228 cat conftest.err
>&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } &&
32231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32233 (eval $ac_try) 2>&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); }; } &&
32237 { ac_try
='test -s conftest$ac_exeext'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; }; then
32243 ac_cv_lib_esd_esd_close
=yes
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.
$ac_ext >&5
32248 ac_cv_lib_esd_esd_close
=no
32250 rm -f conftest.err conftest.
$ac_objext \
32251 conftest
$ac_exeext conftest.
$ac_ext
32252 LIBS
=$ac_check_lib_save_LIBS
32254 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32255 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32256 if test $ac_cv_lib_esd_esd_close = yes; then
32259 for ac_header
in esd.h
32261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32263 echo "$as_me:$LINENO: checking for $ac_header" >&5
32264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32266 echo $ECHO_N "(cached) $ECHO_C" >&6
32268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32271 # Is the header compilable?
32272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32274 cat >conftest.
$ac_ext <<_ACEOF
32277 cat confdefs.h
>>conftest.
$ac_ext
32278 cat >>conftest.
$ac_ext <<_ACEOF
32279 /* end confdefs.h. */
32280 $ac_includes_default
32281 #include <$ac_header>
32283 rm -f conftest.
$ac_objext
32284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32285 (eval $ac_compile) 2>conftest.er1
32287 grep -v '^ *+' conftest.er1
>conftest.err
32289 cat conftest.err
>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); } &&
32292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; } &&
32298 { ac_try
='test -s conftest.$ac_objext'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; }; then
32304 ac_header_compiler
=yes
32306 echo "$as_me: failed program was:" >&5
32307 sed 's/^/| /' conftest.
$ac_ext >&5
32309 ac_header_compiler
=no
32311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32313 echo "${ECHO_T}$ac_header_compiler" >&6
32315 # Is the header present?
32316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32318 cat >conftest.
$ac_ext <<_ACEOF
32321 cat confdefs.h
>>conftest.
$ac_ext
32322 cat >>conftest.
$ac_ext <<_ACEOF
32323 /* end confdefs.h. */
32324 #include <$ac_header>
32326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32329 grep -v '^ *+' conftest.er1
>conftest.err
32331 cat conftest.err
>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); } >/dev
/null
; then
32334 if test -s conftest.err
; then
32335 ac_cpp_err
=$ac_c_preproc_warn_flag
32336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32343 if test -z "$ac_cpp_err"; then
32344 ac_header_preproc
=yes
32346 echo "$as_me: failed program was:" >&5
32347 sed 's/^/| /' conftest.
$ac_ext >&5
32349 ac_header_preproc
=no
32351 rm -f conftest.err conftest.
$ac_ext
32352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32353 echo "${ECHO_T}$ac_header_preproc" >&6
32355 # So? What about this header?
32356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32362 ac_header_preproc
=yes
32365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32379 ## ----------------------------------------- ##
32380 ## Report this to wx-dev@lists.wxwidgets.org ##
32381 ## ----------------------------------------- ##
32384 sed "s/^/$as_me: WARNING: /" >&2
32387 echo "$as_me:$LINENO: checking for $ac_header" >&5
32388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 eval "$as_ac_Header=\$ac_header_preproc"
32394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32399 cat >>confdefs.h
<<_ACEOF
32400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32403 EXTRALIBS_ESD
="-lesd"
32414 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32415 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32416 cat >conftest.
$ac_ext <<_ACEOF
32419 cat confdefs.h
>>conftest.
$ac_ext
32420 cat >>conftest.
$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32423 #include <linux/cdrom.h>
32426 #include <sys/cdio.h>
32432 struct cdrom_tocentry entry, old_entry;
32437 rm -f conftest.
$ac_objext
32438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32439 (eval $ac_compile) 2>conftest.er1
32441 grep -v '^ *+' conftest.er1
>conftest.err
32443 cat conftest.err
>&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } &&
32446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; } &&
32452 { ac_try
='test -s conftest.$ac_objext'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; }; then
32458 echo "$as_me:$LINENO: result: yes" >&5
32459 echo "${ECHO_T}yes" >&6
32460 cat >>confdefs.h
<<\_ACEOF
32461 #define HAVE_KNOWN_CDROM_INTERFACE 1
32465 echo "$as_me: failed program was:" >&5
32466 sed 's/^/| /' conftest.
$ac_ext >&5
32468 echo "$as_me:$LINENO: result: no" >&5
32469 echo "${ECHO_T}no" >&6
32471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32474 cat >confcache
<<\_ACEOF
32475 # This file is a shell script that caches the results of configure
32476 # tests run on this system so they can be shared between configure
32477 # scripts and configure runs, see configure's option --config-cache.
32478 # It is not useful on other systems. If it contains results you don't
32479 # want to keep, you may remove or edit it.
32481 # config.status only pays attention to the cache file if you give it
32482 # the --recheck option to rerun configure.
32484 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32485 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32486 # following values.
32490 # The following way of writing the cache mishandles newlines in values,
32491 # but we know of no workaround that is simple, portable, and efficient.
32492 # So, don't put newlines in cache variables' values.
32493 # Ultrix sh set writes to stderr and can't be redirected directly,
32494 # and sets the high bit in the cache file unless we assign to the vars.
32497 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32499 # `set' does not quote correctly, so add quotes (double-quote
32500 # substitution turns \\\\ into \\, and sed turns \\ into \).
32503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32506 # `set' quotes correctly as required by POSIX, so do not add quotes.
32508 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32517 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32519 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32520 if test -w $cache_file; then
32521 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32522 cat confcache
>$cache_file
32524 echo "not updating unwritable cache $cache_file"
32531 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32537 if test "$wxUSE_THREADS" = "yes" ; then
32538 if test "$USE_BEOS" = 1; then
32539 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32540 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32545 if test "$wxUSE_THREADS" = "yes" ; then
32548 THREAD_OPTS
="-pthread"
32550 *-*-solaris2* | *-*-sunos4* )
32551 if test "x$GCC" = "xyes"; then
32552 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32554 THREAD_OPTS
="-mt $THREAD_OPTS"
32558 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32560 *-*-darwin* | *-*-cygwin* )
32564 THREAD_OPTS
="pthreads"
32567 if test "x$GCC" != "xyes"; then
32573 if test "x$GCC" = "xyes"; then
32579 if test "x$GCC" != "xyes"; then
32580 THREAD_OPTS
="-Ethread"
32585 THREAD_OPTS
="$THREAD_OPTS pthread none"
32588 for flag
in $THREAD_OPTS; do
32591 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32592 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32596 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32597 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32598 THREADS_CFLAGS
="$flag"
32602 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32603 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32604 THREADS_LINK
="-l$flag"
32609 save_CFLAGS
="$CFLAGS"
32610 LIBS
="$THREADS_LINK $LIBS"
32611 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32613 cat >conftest.
$ac_ext <<_ACEOF
32616 cat confdefs.h
>>conftest.
$ac_ext
32617 cat >>conftest.
$ac_ext <<_ACEOF
32618 /* end confdefs.h. */
32619 #include <pthread.h>
32623 pthread_create(0,0,0,0);
32628 rm -f conftest.
$ac_objext conftest
$ac_exeext
32629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32630 (eval $ac_link) 2>conftest.er1
32632 grep -v '^ *+' conftest.er1
>conftest.err
32634 cat conftest.err
>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); } &&
32637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; } &&
32643 { ac_try
='test -s conftest$ac_exeext'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; }; then
32651 echo "$as_me: failed program was:" >&5
32652 sed 's/^/| /' conftest.
$ac_ext >&5
32655 rm -f conftest.err conftest.
$ac_objext \
32656 conftest
$ac_exeext conftest.
$ac_ext
32659 CFLAGS
="$save_CFLAGS"
32661 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32662 echo "${ECHO_T}$THREADS_OK" >&6
32663 if test "x$THREADS_OK" = "xyes"; then
32671 if test "x$THREADS_OK" != "xyes"; then
32673 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32674 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32676 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32677 LIBS
="$THREADS_LINK $LIBS"
32679 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32680 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32684 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32685 flag
="-D_THREAD_SAFE"
32688 flag
="-D_THREAD_SAFE"
32691 flag
="-D_REENTRANT"
32692 if test "x$GCC" != "xyes"; then
32693 flag
="$flag -D_RWSTD_MULTI_THREAD"
32696 *solaris
* | alpha
*-osf*)
32697 flag
="-D_REENTRANT"
32700 echo "$as_me:$LINENO: result: ${flag}" >&5
32701 echo "${ECHO_T}${flag}" >&6
32702 if test "x$flag" != xno
; then
32703 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32706 if test "x$THREADS_CFLAGS" != "x"; then
32707 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32708 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32713 if test "$wxUSE_THREADS" = "yes" ; then
32715 for ac_func
in thr_setconcurrency
32717 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32718 echo "$as_me:$LINENO: checking for $ac_func" >&5
32719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32720 if eval "test \"\${$as_ac_var+set}\" = set"; then
32721 echo $ECHO_N "(cached) $ECHO_C" >&6
32723 cat >conftest.
$ac_ext <<_ACEOF
32726 cat confdefs.h
>>conftest.
$ac_ext
32727 cat >>conftest.
$ac_ext <<_ACEOF
32728 /* end confdefs.h. */
32729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32731 #define $ac_func innocuous_$ac_func
32733 /* System header to define __stub macros and hopefully few prototypes,
32734 which can conflict with char $ac_func (); below.
32735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32736 <limits.h> exists even on freestanding compilers. */
32739 # include <limits.h>
32741 # include <assert.h>
32746 /* Override any gcc2 internal prototype to avoid an error. */
32751 /* We use char because int might match the return type of a gcc2
32752 builtin and then its argument prototype would still apply. */
32754 /* The GNU C library defines this for functions which it implements
32755 to always fail with ENOSYS. Some functions are actually named
32756 something starting with __ and the normal name is an alias. */
32757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32760 char (*f) () = $ac_func;
32769 return f != $ac_func;
32774 rm -f conftest.
$ac_objext conftest
$ac_exeext
32775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32776 (eval $ac_link) 2>conftest.er1
32778 grep -v '^ *+' conftest.er1
>conftest.err
32780 cat conftest.err
>&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } &&
32783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32785 (eval $ac_try) 2>&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); }; } &&
32789 { ac_try
='test -s conftest$ac_exeext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 eval "$as_ac_var=yes"
32797 echo "$as_me: failed program was:" >&5
32798 sed 's/^/| /' conftest.
$ac_ext >&5
32800 eval "$as_ac_var=no"
32802 rm -f conftest.err conftest.
$ac_objext \
32803 conftest
$ac_exeext conftest.
$ac_ext
32805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32807 if test `eval echo '${'$as_ac_var'}'` = yes; then
32808 cat >>confdefs.h
<<_ACEOF
32809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32817 for ac_header
in sched.h
32819 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32821 echo "$as_me:$LINENO: checking for $ac_header" >&5
32822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32824 echo $ECHO_N "(cached) $ECHO_C" >&6
32826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32829 # Is the header compilable?
32830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32832 cat >conftest.
$ac_ext <<_ACEOF
32835 cat confdefs.h
>>conftest.
$ac_ext
32836 cat >>conftest.
$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32838 $ac_includes_default
32839 #include <$ac_header>
32841 rm -f conftest.
$ac_objext
32842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32843 (eval $ac_compile) 2>conftest.er1
32845 grep -v '^ *+' conftest.er1
>conftest.err
32847 cat conftest.err
>&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } &&
32850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32852 (eval $ac_try) 2>&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); }; } &&
32856 { ac_try
='test -s conftest.$ac_objext'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; }; then
32862 ac_header_compiler
=yes
32864 echo "$as_me: failed program was:" >&5
32865 sed 's/^/| /' conftest.
$ac_ext >&5
32867 ac_header_compiler
=no
32869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32871 echo "${ECHO_T}$ac_header_compiler" >&6
32873 # Is the header present?
32874 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32876 cat >conftest.
$ac_ext <<_ACEOF
32879 cat confdefs.h
>>conftest.
$ac_ext
32880 cat >>conftest.
$ac_ext <<_ACEOF
32881 /* end confdefs.h. */
32882 #include <$ac_header>
32884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32885 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32887 grep -v '^ *+' conftest.er1
>conftest.err
32889 cat conftest.err
>&5
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); } >/dev
/null
; then
32892 if test -s conftest.err
; then
32893 ac_cpp_err
=$ac_c_preproc_warn_flag
32894 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32901 if test -z "$ac_cpp_err"; then
32902 ac_header_preproc
=yes
32904 echo "$as_me: failed program was:" >&5
32905 sed 's/^/| /' conftest.
$ac_ext >&5
32907 ac_header_preproc
=no
32909 rm -f conftest.err conftest.
$ac_ext
32910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32911 echo "${ECHO_T}$ac_header_preproc" >&6
32913 # So? What about this header?
32914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32916 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32917 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32919 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32920 ac_header_preproc
=yes
32923 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32924 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32925 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32926 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32927 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32928 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32929 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32930 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32932 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32933 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32934 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32937 ## ----------------------------------------- ##
32938 ## Report this to wx-dev@lists.wxwidgets.org ##
32939 ## ----------------------------------------- ##
32942 sed "s/^/$as_me: WARNING: /" >&2
32945 echo "$as_me:$LINENO: checking for $ac_header" >&5
32946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32948 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 eval "$as_ac_Header=\$ac_header_preproc"
32952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32957 cat >>confdefs.h
<<_ACEOF
32958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32965 if test "$ac_cv_header_sched_h" = "yes"; then
32966 echo "$as_me:$LINENO: checking for sched_yield" >&5
32967 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32968 if test "${ac_cv_func_sched_yield+set}" = set; then
32969 echo $ECHO_N "(cached) $ECHO_C" >&6
32971 cat >conftest.
$ac_ext <<_ACEOF
32974 cat confdefs.h
>>conftest.
$ac_ext
32975 cat >>conftest.
$ac_ext <<_ACEOF
32976 /* end confdefs.h. */
32977 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32979 #define sched_yield innocuous_sched_yield
32981 /* System header to define __stub macros and hopefully few prototypes,
32982 which can conflict with char sched_yield (); below.
32983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32984 <limits.h> exists even on freestanding compilers. */
32987 # include <limits.h>
32989 # include <assert.h>
32994 /* Override any gcc2 internal prototype to avoid an error. */
32999 /* We use char because int might match the return type of a gcc2
33000 builtin and then its argument prototype would still apply. */
33001 char sched_yield ();
33002 /* The GNU C library defines this for functions which it implements
33003 to always fail with ENOSYS. Some functions are actually named
33004 something starting with __ and the normal name is an alias. */
33005 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33008 char (*f) () = sched_yield;
33017 return f != sched_yield;
33022 rm -f conftest.
$ac_objext conftest
$ac_exeext
33023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33024 (eval $ac_link) 2>conftest.er1
33026 grep -v '^ *+' conftest.er1
>conftest.err
33028 cat conftest.err
>&5
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); } &&
33031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33033 (eval $ac_try) 2>&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); }; } &&
33037 { ac_try
='test -s conftest$ac_exeext'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; }; then
33043 ac_cv_func_sched_yield
=yes
33045 echo "$as_me: failed program was:" >&5
33046 sed 's/^/| /' conftest.
$ac_ext >&5
33048 ac_cv_func_sched_yield
=no
33050 rm -f conftest.err conftest.
$ac_objext \
33051 conftest
$ac_exeext conftest.
$ac_ext
33053 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33054 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33055 if test $ac_cv_func_sched_yield = yes; then
33056 cat >>confdefs.h
<<\_ACEOF
33057 #define HAVE_SCHED_YIELD 1
33062 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33063 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33064 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 ac_check_lib_save_LIBS
=$LIBS
33068 LIBS
="-lposix4 $LIBS"
33069 cat >conftest.
$ac_ext <<_ACEOF
33072 cat confdefs.h
>>conftest.
$ac_ext
33073 cat >>conftest.
$ac_ext <<_ACEOF
33074 /* end confdefs.h. */
33076 /* Override any gcc2 internal prototype to avoid an error. */
33080 /* We use char because int might match the return type of a gcc2
33081 builtin and then its argument prototype would still apply. */
33082 char sched_yield ();
33091 rm -f conftest.
$ac_objext conftest
$ac_exeext
33092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33093 (eval $ac_link) 2>conftest.er1
33095 grep -v '^ *+' conftest.er1
>conftest.err
33097 cat conftest.err
>&5
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); } &&
33100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33102 (eval $ac_try) 2>&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); }; } &&
33106 { ac_try
='test -s conftest$ac_exeext'
33107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33108 (eval $ac_try) 2>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; }; then
33112 ac_cv_lib_posix4_sched_yield
=yes
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.
$ac_ext >&5
33117 ac_cv_lib_posix4_sched_yield
=no
33119 rm -f conftest.err conftest.
$ac_objext \
33120 conftest
$ac_exeext conftest.
$ac_ext
33121 LIBS
=$ac_check_lib_save_LIBS
33123 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33124 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33125 if test $ac_cv_lib_posix4_sched_yield = yes; then
33126 cat >>confdefs.h
<<\_ACEOF
33127 #define HAVE_SCHED_YIELD 1
33129 POSIX4_LINK
=" -lposix4"
33131 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33132 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33143 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33144 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33145 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33146 echo $ECHO_N "(cached) $ECHO_C" >&6
33148 cat >conftest.
$ac_ext <<_ACEOF
33151 cat confdefs.h
>>conftest.
$ac_ext
33152 cat >>conftest.
$ac_ext <<_ACEOF
33153 /* end confdefs.h. */
33154 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33156 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33158 /* System header to define __stub macros and hopefully few prototypes,
33159 which can conflict with char pthread_attr_getschedpolicy (); below.
33160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33161 <limits.h> exists even on freestanding compilers. */
33164 # include <limits.h>
33166 # include <assert.h>
33169 #undef pthread_attr_getschedpolicy
33171 /* Override any gcc2 internal prototype to avoid an error. */
33176 /* We use char because int might match the return type of a gcc2
33177 builtin and then its argument prototype would still apply. */
33178 char pthread_attr_getschedpolicy ();
33179 /* The GNU C library defines this for functions which it implements
33180 to always fail with ENOSYS. Some functions are actually named
33181 something starting with __ and the normal name is an alias. */
33182 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33185 char (*f) () = pthread_attr_getschedpolicy;
33194 return f != pthread_attr_getschedpolicy;
33199 rm -f conftest.
$ac_objext conftest
$ac_exeext
33200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33201 (eval $ac_link) 2>conftest.er1
33203 grep -v '^ *+' conftest.er1
>conftest.err
33205 cat conftest.err
>&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } &&
33208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; } &&
33214 { ac_try
='test -s conftest$ac_exeext'
33215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33216 (eval $ac_try) 2>&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); }; }; then
33220 ac_cv_func_pthread_attr_getschedpolicy
=yes
33222 echo "$as_me: failed program was:" >&5
33223 sed 's/^/| /' conftest.
$ac_ext >&5
33225 ac_cv_func_pthread_attr_getschedpolicy
=no
33227 rm -f conftest.err conftest.
$ac_objext \
33228 conftest
$ac_exeext conftest.
$ac_ext
33230 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33231 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33232 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33233 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33234 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33235 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33236 echo $ECHO_N "(cached) $ECHO_C" >&6
33238 cat >conftest.
$ac_ext <<_ACEOF
33241 cat confdefs.h
>>conftest.
$ac_ext
33242 cat >>conftest.
$ac_ext <<_ACEOF
33243 /* end confdefs.h. */
33244 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33246 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33248 /* System header to define __stub macros and hopefully few prototypes,
33249 which can conflict with char pthread_attr_setschedparam (); below.
33250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33251 <limits.h> exists even on freestanding compilers. */
33254 # include <limits.h>
33256 # include <assert.h>
33259 #undef pthread_attr_setschedparam
33261 /* Override any gcc2 internal prototype to avoid an error. */
33266 /* We use char because int might match the return type of a gcc2
33267 builtin and then its argument prototype would still apply. */
33268 char pthread_attr_setschedparam ();
33269 /* The GNU C library defines this for functions which it implements
33270 to always fail with ENOSYS. Some functions are actually named
33271 something starting with __ and the normal name is an alias. */
33272 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33275 char (*f) () = pthread_attr_setschedparam;
33284 return f != pthread_attr_setschedparam;
33289 rm -f conftest.
$ac_objext conftest
$ac_exeext
33290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33291 (eval $ac_link) 2>conftest.er1
33293 grep -v '^ *+' conftest.er1
>conftest.err
33295 cat conftest.err
>&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } &&
33298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33300 (eval $ac_try) 2>&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); }; } &&
33304 { ac_try
='test -s conftest$ac_exeext'
33305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306 (eval $ac_try) 2>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; }; then
33310 ac_cv_func_pthread_attr_setschedparam
=yes
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.
$ac_ext >&5
33315 ac_cv_func_pthread_attr_setschedparam
=no
33317 rm -f conftest.err conftest.
$ac_objext \
33318 conftest
$ac_exeext conftest.
$ac_ext
33320 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33321 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33322 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33323 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33324 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33325 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 cat >conftest.
$ac_ext <<_ACEOF
33331 cat confdefs.h
>>conftest.
$ac_ext
33332 cat >>conftest.
$ac_ext <<_ACEOF
33333 /* end confdefs.h. */
33334 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33336 #define sched_get_priority_max innocuous_sched_get_priority_max
33338 /* System header to define __stub macros and hopefully few prototypes,
33339 which can conflict with char sched_get_priority_max (); below.
33340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33341 <limits.h> exists even on freestanding compilers. */
33344 # include <limits.h>
33346 # include <assert.h>
33349 #undef sched_get_priority_max
33351 /* Override any gcc2 internal prototype to avoid an error. */
33356 /* We use char because int might match the return type of a gcc2
33357 builtin and then its argument prototype would still apply. */
33358 char sched_get_priority_max ();
33359 /* The GNU C library defines this for functions which it implements
33360 to always fail with ENOSYS. Some functions are actually named
33361 something starting with __ and the normal name is an alias. */
33362 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33365 char (*f) () = sched_get_priority_max;
33374 return f != sched_get_priority_max;
33379 rm -f conftest.
$ac_objext conftest
$ac_exeext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33381 (eval $ac_link) 2>conftest.er1
33383 grep -v '^ *+' conftest.er1
>conftest.err
33385 cat conftest.err
>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } &&
33388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; } &&
33394 { ac_try
='test -s conftest$ac_exeext'
33395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33396 (eval $ac_try) 2>&5
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); }; }; then
33400 ac_cv_func_sched_get_priority_max
=yes
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.
$ac_ext >&5
33405 ac_cv_func_sched_get_priority_max
=no
33407 rm -f conftest.err conftest.
$ac_objext \
33408 conftest
$ac_exeext conftest.
$ac_ext
33410 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33411 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33412 if test $ac_cv_func_sched_get_priority_max = yes; then
33415 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33416 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33417 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 ac_check_lib_save_LIBS
=$LIBS
33421 LIBS
="-lposix4 $LIBS"
33422 cat >conftest.
$ac_ext <<_ACEOF
33425 cat confdefs.h
>>conftest.
$ac_ext
33426 cat >>conftest.
$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33429 /* Override any gcc2 internal prototype to avoid an error. */
33433 /* We use char because int might match the return type of a gcc2
33434 builtin and then its argument prototype would still apply. */
33435 char sched_get_priority_max ();
33439 sched_get_priority_max ();
33444 rm -f conftest.
$ac_objext conftest
$ac_exeext
33445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33446 (eval $ac_link) 2>conftest.er1
33448 grep -v '^ *+' conftest.er1
>conftest.err
33450 cat conftest.err
>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); } &&
33453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; } &&
33459 { ac_try
='test -s conftest$ac_exeext'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; }; then
33465 ac_cv_lib_posix4_sched_get_priority_max
=yes
33467 echo "$as_me: failed program was:" >&5
33468 sed 's/^/| /' conftest.
$ac_ext >&5
33470 ac_cv_lib_posix4_sched_get_priority_max
=no
33472 rm -f conftest.err conftest.
$ac_objext \
33473 conftest
$ac_exeext conftest.
$ac_ext
33474 LIBS
=$ac_check_lib_save_LIBS
33476 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33477 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33478 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33481 POSIX4_LINK
=" -lposix4"
33495 if test "$HAVE_PRIOR_FUNCS" = 1; then
33496 cat >>confdefs.h
<<\_ACEOF
33497 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33501 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33502 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33505 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33506 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33507 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33510 cat >conftest.
$ac_ext <<_ACEOF
33513 cat confdefs.h
>>conftest.
$ac_ext
33514 cat >>conftest.
$ac_ext <<_ACEOF
33515 /* end confdefs.h. */
33516 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33518 #define pthread_cancel innocuous_pthread_cancel
33520 /* System header to define __stub macros and hopefully few prototypes,
33521 which can conflict with char pthread_cancel (); below.
33522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33523 <limits.h> exists even on freestanding compilers. */
33526 # include <limits.h>
33528 # include <assert.h>
33531 #undef pthread_cancel
33533 /* Override any gcc2 internal prototype to avoid an error. */
33538 /* We use char because int might match the return type of a gcc2
33539 builtin and then its argument prototype would still apply. */
33540 char pthread_cancel ();
33541 /* The GNU C library defines this for functions which it implements
33542 to always fail with ENOSYS. Some functions are actually named
33543 something starting with __ and the normal name is an alias. */
33544 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33547 char (*f) () = pthread_cancel;
33556 return f != pthread_cancel;
33561 rm -f conftest.
$ac_objext conftest
$ac_exeext
33562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33563 (eval $ac_link) 2>conftest.er1
33565 grep -v '^ *+' conftest.er1
>conftest.err
33567 cat conftest.err
>&5
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); } &&
33570 { ac_try
='test -z "$ac_c_werror_flag" || 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 ac_cv_func_pthread_cancel
=yes
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.
$ac_ext >&5
33587 ac_cv_func_pthread_cancel
=no
33589 rm -f conftest.err conftest.
$ac_objext \
33590 conftest
$ac_exeext conftest.
$ac_ext
33592 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33593 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33594 if test $ac_cv_func_pthread_cancel = yes; then
33595 cat >>confdefs.h
<<\_ACEOF
33596 #define HAVE_PTHREAD_CANCEL 1
33600 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33601 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33607 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33608 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33609 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33613 cat >conftest.
$ac_ext <<_ACEOF
33616 cat confdefs.h
>>conftest.
$ac_ext
33617 cat >>conftest.
$ac_ext <<_ACEOF
33618 /* end confdefs.h. */
33619 #include <pthread.h>
33624 pthread_mutexattr_t attr;
33625 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33631 rm -f conftest.
$ac_objext
33632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33633 (eval $ac_compile) 2>conftest.er1
33635 grep -v '^ *+' conftest.er1
>conftest.err
33637 cat conftest.err
>&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } &&
33640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33642 (eval $ac_try) 2>&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; } &&
33646 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33653 wx_cv_type_pthread_mutexattr_t
=yes
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.
$ac_ext >&5
33660 wx_cv_type_pthread_mutexattr_t
=no
33664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33667 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33668 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33670 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33671 cat >>confdefs.h
<<\_ACEOF
33672 #define HAVE_PTHREAD_MUTEXATTR_T 1
33676 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33677 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33678 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33679 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 cat >conftest.
$ac_ext <<_ACEOF
33685 cat confdefs.h
>>conftest.
$ac_ext
33686 cat >>conftest.
$ac_ext <<_ACEOF
33687 /* end confdefs.h. */
33688 #include <pthread.h>
33693 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33699 rm -f conftest.
$ac_objext
33700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33701 (eval $ac_compile) 2>conftest.er1
33703 grep -v '^ *+' conftest.er1
>conftest.err
33705 cat conftest.err
>&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } &&
33708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33710 (eval $ac_try) 2>&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); }; } &&
33714 { ac_try
='test -s conftest.$ac_objext'
33715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33716 (eval $ac_try) 2>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); }; }; then
33721 wx_cv_type_pthread_rec_mutex_init
=yes
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.
$ac_ext >&5
33728 wx_cv_type_pthread_rec_mutex_init
=no
33732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33735 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33736 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33737 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33738 cat >>confdefs.h
<<\_ACEOF
33739 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33743 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33744 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33750 if test "$wxUSE_THREADS" = "yes" ; then
33753 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33754 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33755 if test "${wx_cv_cflags_mthread+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 CFLAGS_OLD
="$CFLAGS"
33760 CFLAGS
="$CFLAGS -mthreads"
33761 cat >conftest.
$ac_ext <<_ACEOF
33764 cat confdefs.h
>>conftest.
$ac_ext
33765 cat >>conftest.
$ac_ext <<_ACEOF
33766 /* end confdefs.h. */
33776 rm -f conftest.
$ac_objext
33777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33778 (eval $ac_compile) 2>conftest.er1
33780 grep -v '^ *+' conftest.er1
>conftest.err
33782 cat conftest.err
>&5
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); } &&
33785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; } &&
33791 { ac_try
='test -s conftest.$ac_objext'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; }; then
33797 wx_cv_cflags_mthread
=yes
33799 echo "$as_me: failed program was:" >&5
33800 sed 's/^/| /' conftest.
$ac_ext >&5
33802 wx_cv_cflags_mthread
=no
33805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33809 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33810 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33812 if test "$wx_cv_cflags_mthread" = "yes"; then
33813 CXXFLAGS
="$CXXFLAGS -mthreads"
33814 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33815 LDFLAGS
="$LDFLAGS -mthreads"
33817 CFLAGS
="$CFLAGS_OLD"
33821 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33822 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33823 LDFLAGS
="$LDFLAGS -Zmt"
33829 if test "$wxUSE_THREADS" = "yes"; then
33830 cat >>confdefs.h
<<\_ACEOF
33831 #define wxUSE_THREADS 1
33835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33837 if test "$ac_cv_func_strtok_r" = "yes"; then
33838 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33839 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33840 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33841 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33842 echo "$as_me:$LINENO: result: yes" >&5
33843 echo "${ECHO_T}yes" >&6
33845 echo "$as_me:$LINENO: result: no" >&5
33846 echo "${ECHO_T}no" >&6
33851 if test "$WXGTK20" = 1 ; then
33852 cat >>confdefs.h
<<_ACEOF
33853 #define __WXGTK20__ $WXGTK20
33859 if test "$WXGTK12" = 1 ; then
33860 cat >>confdefs.h
<<_ACEOF
33861 #define __WXGTK12__ $WXGTK12
33866 if test "$WXGTK127" = 1 ; then
33867 cat >>confdefs.h
<<_ACEOF
33868 #define __WXGTK127__ $WXGTK127
33873 if test "$WXGPE" = 1 ; then
33874 cat >>confdefs.h
<<_ACEOF
33875 #define __WXGPE__ $WXGPE
33882 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33887 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33888 wxUSE_DEBUG_INFO
=yes
33892 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33893 cat >>confdefs.h
<<\_ACEOF
33897 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33899 if test "$wxUSE_GTK" = 1 ; then
33900 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33904 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33905 cat >>confdefs.h
<<\_ACEOF
33906 #define wxUSE_MEMORY_TRACING 1
33909 cat >>confdefs.h
<<\_ACEOF
33910 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33913 cat >>confdefs.h
<<\_ACEOF
33914 #define wxUSE_DEBUG_NEW_ALWAYS 1
33917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33920 if test "$wxUSE_DMALLOC" = "yes" ; then
33921 DMALLOC_LIBS
="-ldmalloc"
33925 if test "$wxUSE_PROFILE" = "yes" ; then
33930 CODE_GEN_FLAGS_CXX
=
33931 if test "$GCC" = "yes" ; then
33932 if test "$wxUSE_NO_RTTI" = "yes" ; then
33933 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33935 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33936 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33938 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33939 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33944 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33947 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33953 if test "$wxUSE_OPTIMISE" = "no" ; then
33954 if test "$GCC" = yes ; then
33958 if test "$GCC" = yes ; then
33962 i586
-*-*|i686
-*-* )
33963 OPTIMISE
="${OPTIMISE} "
33972 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33973 cat >>confdefs.h
<<\_ACEOF
33974 #define WXWIN_COMPATIBILITY_2_2 1
33978 WXWIN_COMPATIBILITY_2_4
="yes"
33981 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33982 cat >>confdefs.h
<<\_ACEOF
33983 #define WXWIN_COMPATIBILITY_2_4 1
33989 if test "$wxUSE_GUI" = "yes"; then
33990 cat >>confdefs.h
<<\_ACEOF
33991 #define wxUSE_GUI 1
33998 if test "$wxUSE_UNIX" = "yes"; then
33999 cat >>confdefs.h
<<\_ACEOF
34000 #define wxUSE_UNIX 1
34006 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34010 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34011 if test "$USE_DARWIN" = 1; then
34015 for ac_func
in dlopen
34017 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34018 echo "$as_me:$LINENO: checking for $ac_func" >&5
34019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34020 if eval "test \"\${$as_ac_var+set}\" = set"; then
34021 echo $ECHO_N "(cached) $ECHO_C" >&6
34023 cat >conftest.
$ac_ext <<_ACEOF
34026 cat confdefs.h
>>conftest.
$ac_ext
34027 cat >>conftest.
$ac_ext <<_ACEOF
34028 /* end confdefs.h. */
34029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34031 #define $ac_func innocuous_$ac_func
34033 /* System header to define __stub macros and hopefully few prototypes,
34034 which can conflict with char $ac_func (); below.
34035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34036 <limits.h> exists even on freestanding compilers. */
34039 # include <limits.h>
34041 # include <assert.h>
34046 /* Override any gcc2 internal prototype to avoid an error. */
34051 /* We use char because int might match the return type of a gcc2
34052 builtin and then its argument prototype would still apply. */
34054 /* The GNU C library defines this for functions which it implements
34055 to always fail with ENOSYS. Some functions are actually named
34056 something starting with __ and the normal name is an alias. */
34057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34060 char (*f) () = $ac_func;
34069 return f != $ac_func;
34074 rm -f conftest.
$ac_objext conftest
$ac_exeext
34075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34076 (eval $ac_link) 2>conftest.er1
34078 grep -v '^ *+' conftest.er1
>conftest.err
34080 cat conftest.err
>&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); } &&
34083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34085 (eval $ac_try) 2>&5
34087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34088 (exit $ac_status); }; } &&
34089 { ac_try
='test -s conftest$ac_exeext'
34090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34091 (eval $ac_try) 2>&5
34093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34094 (exit $ac_status); }; }; then
34095 eval "$as_ac_var=yes"
34097 echo "$as_me: failed program was:" >&5
34098 sed 's/^/| /' conftest.
$ac_ext >&5
34100 eval "$as_ac_var=no"
34102 rm -f conftest.err conftest.
$ac_objext \
34103 conftest
$ac_exeext conftest.
$ac_ext
34105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34107 if test `eval echo '${'$as_ac_var'}'` = yes; then
34108 cat >>confdefs.h
<<_ACEOF
34109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34112 cat >>confdefs.h
<<\_ACEOF
34113 #define HAVE_DLOPEN 1
34120 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34121 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34122 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 ac_check_lib_save_LIBS
=$LIBS
34127 cat >conftest.
$ac_ext <<_ACEOF
34130 cat confdefs.h
>>conftest.
$ac_ext
34131 cat >>conftest.
$ac_ext <<_ACEOF
34132 /* end confdefs.h. */
34134 /* Override any gcc2 internal prototype to avoid an error. */
34138 /* We use char because int might match the return type of a gcc2
34139 builtin and then its argument prototype would still apply. */
34149 rm -f conftest.
$ac_objext conftest
$ac_exeext
34150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34151 (eval $ac_link) 2>conftest.er1
34153 grep -v '^ *+' conftest.er1
>conftest.err
34155 cat conftest.err
>&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); } &&
34158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34160 (eval $ac_try) 2>&5
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); }; } &&
34164 { ac_try
='test -s conftest$ac_exeext'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; }; then
34170 ac_cv_lib_dl_dlopen
=yes
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.
$ac_ext >&5
34175 ac_cv_lib_dl_dlopen
=no
34177 rm -f conftest.err conftest.
$ac_objext \
34178 conftest
$ac_exeext conftest.
$ac_ext
34179 LIBS
=$ac_check_lib_save_LIBS
34181 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34182 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34183 if test $ac_cv_lib_dl_dlopen = yes; then
34185 cat >>confdefs.h
<<\_ACEOF
34186 #define HAVE_DLOPEN 1
34190 DL_LINK
=" -ldl$DL_LINK"
34195 for ac_func
in shl_load
34197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34198 echo "$as_me:$LINENO: checking for $ac_func" >&5
34199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34200 if eval "test \"\${$as_ac_var+set}\" = set"; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 cat >conftest.
$ac_ext <<_ACEOF
34206 cat confdefs.h
>>conftest.
$ac_ext
34207 cat >>conftest.
$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34211 #define $ac_func innocuous_$ac_func
34213 /* System header to define __stub macros and hopefully few prototypes,
34214 which can conflict with char $ac_func (); below.
34215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34216 <limits.h> exists even on freestanding compilers. */
34219 # include <limits.h>
34221 # include <assert.h>
34226 /* Override any gcc2 internal prototype to avoid an error. */
34231 /* We use char because int might match the return type of a gcc2
34232 builtin and then its argument prototype would still apply. */
34234 /* The GNU C library defines this for functions which it implements
34235 to always fail with ENOSYS. Some functions are actually named
34236 something starting with __ and the normal name is an alias. */
34237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34240 char (*f) () = $ac_func;
34249 return f != $ac_func;
34254 rm -f conftest.
$ac_objext conftest
$ac_exeext
34255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34256 (eval $ac_link) 2>conftest.er1
34258 grep -v '^ *+' conftest.er1
>conftest.err
34260 cat conftest.err
>&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); } &&
34263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34265 (eval $ac_try) 2>&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); }; } &&
34269 { ac_try
='test -s conftest$ac_exeext'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; }; then
34275 eval "$as_ac_var=yes"
34277 echo "$as_me: failed program was:" >&5
34278 sed 's/^/| /' conftest.
$ac_ext >&5
34280 eval "$as_ac_var=no"
34282 rm -f conftest.err conftest.
$ac_objext \
34283 conftest
$ac_exeext conftest.
$ac_ext
34285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34287 if test `eval echo '${'$as_ac_var'}'` = yes; then
34288 cat >>confdefs.h
<<_ACEOF
34289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34292 cat >>confdefs.h
<<\_ACEOF
34293 #define HAVE_SHL_LOAD 1
34300 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34301 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34302 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34303 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 ac_check_lib_save_LIBS
=$LIBS
34306 LIBS
="-lshl_load $LIBS"
34307 cat >conftest.
$ac_ext <<_ACEOF
34310 cat confdefs.h
>>conftest.
$ac_ext
34311 cat >>conftest.
$ac_ext <<_ACEOF
34312 /* end confdefs.h. */
34314 /* Override any gcc2 internal prototype to avoid an error. */
34318 /* We use char because int might match the return type of a gcc2
34319 builtin and then its argument prototype would still apply. */
34329 rm -f conftest.
$ac_objext conftest
$ac_exeext
34330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34331 (eval $ac_link) 2>conftest.er1
34333 grep -v '^ *+' conftest.er1
>conftest.err
34335 cat conftest.err
>&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } &&
34338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; } &&
34344 { ac_try
='test -s conftest$ac_exeext'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; }; then
34350 ac_cv_lib_shl_load_dld
=yes
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.
$ac_ext >&5
34355 ac_cv_lib_shl_load_dld
=no
34357 rm -f conftest.err conftest.
$ac_objext \
34358 conftest
$ac_exeext conftest.
$ac_ext
34359 LIBS
=$ac_check_lib_save_LIBS
34361 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34362 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34363 if test $ac_cv_lib_shl_load_dld = yes; then
34366 DL_LINK
=" -ldld$DL_LINK"
34382 if test "$HAVE_DL_FUNCS" = 1; then
34384 for ac_func
in dlerror
34386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34387 echo "$as_me:$LINENO: checking for $ac_func" >&5
34388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34389 if eval "test \"\${$as_ac_var+set}\" = set"; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 cat >conftest.
$ac_ext <<_ACEOF
34395 cat confdefs.h
>>conftest.
$ac_ext
34396 cat >>conftest.
$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34400 #define $ac_func innocuous_$ac_func
34402 /* System header to define __stub macros and hopefully few prototypes,
34403 which can conflict with char $ac_func (); below.
34404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34405 <limits.h> exists even on freestanding compilers. */
34408 # include <limits.h>
34410 # include <assert.h>
34415 /* Override any gcc2 internal prototype to avoid an error. */
34420 /* We use char because int might match the return type of a gcc2
34421 builtin and then its argument prototype would still apply. */
34423 /* The GNU C library defines this for functions which it implements
34424 to always fail with ENOSYS. Some functions are actually named
34425 something starting with __ and the normal name is an alias. */
34426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34429 char (*f) () = $ac_func;
34438 return f != $ac_func;
34443 rm -f conftest.
$ac_objext conftest
$ac_exeext
34444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34445 (eval $ac_link) 2>conftest.er1
34447 grep -v '^ *+' conftest.er1
>conftest.err
34449 cat conftest.err
>&5
34450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 (exit $ac_status); } &&
34452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 (eval $ac_try) 2>&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); }; } &&
34458 { ac_try
='test -s conftest$ac_exeext'
34459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34460 (eval $ac_try) 2>&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); }; }; then
34464 eval "$as_ac_var=yes"
34466 echo "$as_me: failed program was:" >&5
34467 sed 's/^/| /' conftest.
$ac_ext >&5
34469 eval "$as_ac_var=no"
34471 rm -f conftest.err conftest.
$ac_objext \
34472 conftest
$ac_exeext conftest.
$ac_ext
34474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34476 if test `eval echo '${'$as_ac_var'}'` = yes; then
34477 cat >>confdefs.h
<<_ACEOF
34478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34480 cat >>confdefs.h
<<\_ACEOF
34481 #define HAVE_DLERROR 1
34486 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34487 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34488 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 ac_check_lib_save_LIBS
=$LIBS
34493 cat >conftest.
$ac_ext <<_ACEOF
34496 cat confdefs.h
>>conftest.
$ac_ext
34497 cat >>conftest.
$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34500 /* Override any gcc2 internal prototype to avoid an error. */
34504 /* We use char because int might match the return type of a gcc2
34505 builtin and then its argument prototype would still apply. */
34515 rm -f conftest.
$ac_objext conftest
$ac_exeext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34517 (eval $ac_link) 2>conftest.er1
34519 grep -v '^ *+' conftest.er1
>conftest.err
34521 cat conftest.err
>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } &&
34524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34526 (eval $ac_try) 2>&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); }; } &&
34530 { ac_try
='test -s conftest$ac_exeext'
34531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34532 (eval $ac_try) 2>&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); }; }; then
34536 ac_cv_lib_dl_dlerror
=yes
34538 echo "$as_me: failed program was:" >&5
34539 sed 's/^/| /' conftest.
$ac_ext >&5
34541 ac_cv_lib_dl_dlerror
=no
34543 rm -f conftest.err conftest.
$ac_objext \
34544 conftest
$ac_exeext conftest.
$ac_ext
34545 LIBS
=$ac_check_lib_save_LIBS
34547 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34548 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34549 if test $ac_cv_lib_dl_dlerror = yes; then
34550 cat >>confdefs.h
<<\_ACEOF
34551 #define HAVE_DLERROR 1
34564 if test "$HAVE_DL_FUNCS" = 0; then
34565 if test "$HAVE_SHL_FUNCS" = 0; then
34566 if test "$USE_UNIX" = 1; then
34567 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34568 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34569 wxUSE_DYNAMIC_LOADER
=no
34570 wxUSE_DYNLIB_CLASS
=no
34572 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34573 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34580 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34581 cat >>confdefs.h
<<\_ACEOF
34582 #define wxUSE_DYNAMIC_LOADER 1
34586 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34587 cat >>confdefs.h
<<\_ACEOF
34588 #define wxUSE_DYNLIB_CLASS 1
34595 if test "$wxUSE_PLUGINS" = "yes" ; then
34596 if test "$wxUSE_SHARED" = "no" ; then
34597 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34598 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34601 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34602 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34603 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34606 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34607 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34608 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34611 if test "$wxUSE_PLUGINS" = "yes" ; then
34612 cat >>confdefs.h
<<\_ACEOF
34613 #define wxUSE_PLUGINS 1
34620 if test "$wxUSE_STL" = "yes"; then
34621 cat >>confdefs.h
<<\_ACEOF
34622 #define wxUSE_STL 1
34627 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34628 cat >>confdefs.h
<<\_ACEOF
34629 #define wxUSE_APPLE_IEEE 1
34634 if test "$wxUSE_TIMER" = "yes"; then
34635 cat >>confdefs.h
<<\_ACEOF
34636 #define wxUSE_TIMER 1
34642 if test "$wxUSE_SOUND" = "yes"; then
34643 if test "$USE_UNIX" = "1" ; then
34645 for ac_header
in sys
/soundcard.h
34647 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34649 echo "$as_me:$LINENO: checking for $ac_header" >&5
34650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34652 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34657 # Is the header compilable?
34658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34660 cat >conftest.
$ac_ext <<_ACEOF
34663 cat confdefs.h
>>conftest.
$ac_ext
34664 cat >>conftest.
$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 $ac_includes_default
34667 #include <$ac_header>
34669 rm -f conftest.
$ac_objext
34670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34671 (eval $ac_compile) 2>conftest.er1
34673 grep -v '^ *+' conftest.er1
>conftest.err
34675 cat conftest.err
>&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } &&
34678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34680 (eval $ac_try) 2>&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); }; } &&
34684 { ac_try
='test -s conftest.$ac_objext'
34685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34686 (eval $ac_try) 2>&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; }; then
34690 ac_header_compiler
=yes
34692 echo "$as_me: failed program was:" >&5
34693 sed 's/^/| /' conftest.
$ac_ext >&5
34695 ac_header_compiler
=no
34697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34699 echo "${ECHO_T}$ac_header_compiler" >&6
34701 # Is the header present?
34702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34704 cat >conftest.
$ac_ext <<_ACEOF
34707 cat confdefs.h
>>conftest.
$ac_ext
34708 cat >>conftest.
$ac_ext <<_ACEOF
34709 /* end confdefs.h. */
34710 #include <$ac_header>
34712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34715 grep -v '^ *+' conftest.er1
>conftest.err
34717 cat conftest.err
>&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } >/dev
/null
; then
34720 if test -s conftest.err
; then
34721 ac_cpp_err
=$ac_c_preproc_warn_flag
34722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34729 if test -z "$ac_cpp_err"; then
34730 ac_header_preproc
=yes
34732 echo "$as_me: failed program was:" >&5
34733 sed 's/^/| /' conftest.
$ac_ext >&5
34735 ac_header_preproc
=no
34737 rm -f conftest.err conftest.
$ac_ext
34738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34739 echo "${ECHO_T}$ac_header_preproc" >&6
34741 # So? What about this header?
34742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34748 ac_header_preproc
=yes
34751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34765 ## ----------------------------------------- ##
34766 ## Report this to wx-dev@lists.wxwidgets.org ##
34767 ## ----------------------------------------- ##
34770 sed "s/^/$as_me: WARNING: /" >&2
34773 echo "$as_me:$LINENO: checking for $ac_header" >&5
34774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34776 echo $ECHO_N "(cached) $ECHO_C" >&6
34778 eval "$as_ac_Header=\$ac_header_preproc"
34780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34785 cat >>confdefs.h
<<_ACEOF
34786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34794 if test "$wxUSE_LIBSDL" != "no"; then
34796 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34797 if test "${with_sdl_prefix+set}" = set; then
34798 withval
="$with_sdl_prefix"
34799 sdl_prefix
="$withval"
34804 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34805 if test "${with_sdl_exec_prefix+set}" = set; then
34806 withval
="$with_sdl_exec_prefix"
34807 sdl_exec_prefix
="$withval"
34811 # Check whether --enable-sdltest or --disable-sdltest was given.
34812 if test "${enable_sdltest+set}" = set; then
34813 enableval
="$enable_sdltest"
34819 if test x
$sdl_exec_prefix != x
; then
34820 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34821 if test x
${SDL_CONFIG+set} != xset
; then
34822 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34825 if test x
$sdl_prefix != x
; then
34826 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34827 if test x
${SDL_CONFIG+set} != xset
; then
34828 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34833 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34834 # Extract the first word of "sdl-config", so it can be a program name with args.
34835 set dummy sdl
-config; ac_word
=$2
34836 echo "$as_me:$LINENO: checking for $ac_word" >&5
34837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34838 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 case $SDL_CONFIG in
34843 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34847 for as_dir
in $PATH
34850 test -z "$as_dir" && as_dir
=.
34851 for ac_exec_ext
in '' $ac_executable_extensions; do
34852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34853 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34860 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34864 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34866 if test -n "$SDL_CONFIG"; then
34867 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34868 echo "${ECHO_T}$SDL_CONFIG" >&6
34870 echo "$as_me:$LINENO: result: no" >&5
34871 echo "${ECHO_T}no" >&6
34874 min_sdl_version
=1.2.0
34875 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34876 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34878 if test "$SDL_CONFIG" = "no" ; then
34881 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34882 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34884 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34886 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34887 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34888 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34889 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34890 if test "x$enable_sdltest" = "xyes" ; then
34891 ac_save_CFLAGS
="$CFLAGS"
34892 ac_save_LIBS
="$LIBS"
34893 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34894 LIBS
="$LIBS $SDL_LIBS"
34896 if test "$cross_compiling" = yes; then
34897 echo $ac_n "cross compiling; assumed OK... $ac_c"
34899 cat >conftest.
$ac_ext <<_ACEOF
34902 cat confdefs.h
>>conftest.
$ac_ext
34903 cat >>conftest.
$ac_ext <<_ACEOF
34904 /* end confdefs.h. */
34907 #include <stdlib.h>
34908 #include <string.h>
34912 my_strdup (char *str)
34918 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34919 strcpy (new_str, str);
34927 int main (int argc, char *argv[])
34929 int major, minor, micro;
34932 /* This hangs on some systems (?)
34933 system ("touch conf.sdltest");
34935 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34937 /* HP/UX 9 (%@#!) writes to sscanf strings */
34938 tmp_version = my_strdup("$min_sdl_version");
34939 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34940 printf("%s, bad version string\n", "$min_sdl_version");
34944 if (($sdl_major_version > major) ||
34945 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34946 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34952 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34953 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34954 printf("*** best to upgrade to the required version.\n");
34955 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34956 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34957 printf("*** config.cache before re-running configure\n");
34964 rm -f conftest
$ac_exeext
34965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34966 (eval $ac_link) 2>&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971 (eval $ac_try) 2>&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; }; then
34977 echo "$as_me: program exited with status $ac_status" >&5
34978 echo "$as_me: failed program was:" >&5
34979 sed 's/^/| /' conftest.
$ac_ext >&5
34981 ( exit $ac_status )
34984 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34986 CFLAGS
="$ac_save_CFLAGS"
34987 LIBS
="$ac_save_LIBS"
34990 if test "x$no_sdl" = x
; then
34991 echo "$as_me:$LINENO: result: yes" >&5
34992 echo "${ECHO_T}yes" >&6
34994 EXTRALIBS_SDL
="$SDL_LIBS"
34995 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34996 cat >>confdefs.h
<<\_ACEOF
34997 #define wxUSE_LIBSDL 1
35002 echo "$as_me:$LINENO: result: no" >&5
35003 echo "${ECHO_T}no" >&6
35004 if test "$SDL_CONFIG" = "no" ; then
35005 echo "*** The sdl-config script installed by SDL could not be found"
35006 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35007 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35008 echo "*** full path to sdl-config."
35010 if test -f conf.sdltest
; then
35013 echo "*** Could not run SDL test program, checking why..."
35014 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35015 LIBS
="$LIBS $SDL_LIBS"
35016 cat >conftest.
$ac_ext <<_ACEOF
35019 cat confdefs.h
>>conftest.
$ac_ext
35020 cat >>conftest.
$ac_ext <<_ACEOF
35021 /* end confdefs.h. */
35026 int main(int argc, char *argv[])
35029 #define main K_and_R_C_main
35039 rm -f conftest.
$ac_objext conftest
$ac_exeext
35040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35041 (eval $ac_link) 2>conftest.er1
35043 grep -v '^ *+' conftest.er1
>conftest.err
35045 cat conftest.err
>&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } &&
35048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35050 (eval $ac_try) 2>&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); }; } &&
35054 { ac_try
='test -s conftest$ac_exeext'
35055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056 (eval $ac_try) 2>&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); }; }; then
35060 echo "*** The test program compiled, but did not run. This usually means"
35061 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35062 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35063 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35064 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35065 echo "*** is required on your system"
35067 echo "*** If you have an old version installed, it is best to remove it, although"
35068 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35070 echo "$as_me: failed program was:" >&5
35071 sed 's/^/| /' conftest.
$ac_ext >&5
35073 echo "*** The test program failed to compile or link. See the file config.log for the"
35074 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35075 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35076 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35078 rm -f conftest.err conftest.
$ac_objext \
35079 conftest
$ac_exeext conftest.
$ac_ext
35080 CFLAGS
="$ac_save_CFLAGS"
35081 LIBS
="$ac_save_LIBS"
35092 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35098 cat >>confdefs.h
<<\_ACEOF
35099 #define wxUSE_SOUND 1
35102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35105 if test "$WXGTK20" = 1; then
35106 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35107 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35112 if test -z "$PKG_CONFIG"; then
35113 # Extract the first word of "pkg-config", so it can be a program name with args.
35114 set dummy pkg
-config; ac_word
=$2
35115 echo "$as_me:$LINENO: checking for $ac_word" >&5
35116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35117 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35120 case $PKG_CONFIG in
35122 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35126 for as_dir
in $PATH
35129 test -z "$as_dir" && as_dir
=.
35130 for ac_exec_ext
in '' $ac_executable_extensions; do
35131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35132 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35139 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
35143 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35145 if test -n "$PKG_CONFIG"; then
35146 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35147 echo "${ECHO_T}$PKG_CONFIG" >&6
35149 echo "$as_me:$LINENO: result: no" >&5
35150 echo "${ECHO_T}no" >&6
35155 if test "$PKG_CONFIG" = "no" ; then
35156 echo "*** The pkg-config script could not be found. Make sure it is"
35157 echo "*** in your path, or set the PKG_CONFIG environment variable"
35158 echo "*** to the full path to pkg-config."
35159 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35161 PKG_CONFIG_MIN_VERSION
=0.9.0
35162 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35163 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35164 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35166 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35167 echo "$as_me:$LINENO: result: yes" >&5
35168 echo "${ECHO_T}yes" >&6
35171 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35172 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35173 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35174 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35175 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35177 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35178 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35179 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35180 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35181 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35183 LIBGNOMEPRINTUI_CFLAGS
=""
35184 LIBGNOMEPRINTUI_LIBS
=""
35185 ## If we have a custom action on failure, don't print errors, but
35186 ## do set a variable so people can do so.
35187 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35194 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35195 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35199 if test $succeeded = yes; then
35201 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35202 cat >>confdefs.h
<<\_ACEOF
35203 #define wxUSE_LIBGNOMEPRINT 1
35209 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35210 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35211 wxUSE_LIBGNOMEPRINT
="no"
35221 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35222 cat >>confdefs.h
<<\_ACEOF
35223 #define wxUSE_CMDLINE_PARSER 1
35228 if test "$wxUSE_STOPWATCH" = "yes"; then
35229 cat >>confdefs.h
<<\_ACEOF
35230 #define wxUSE_STOPWATCH 1
35235 if test "$wxUSE_DATETIME" = "yes"; then
35236 cat >>confdefs.h
<<\_ACEOF
35237 #define wxUSE_DATETIME 1
35242 if test "$wxUSE_FILE" = "yes"; then
35243 cat >>confdefs.h
<<\_ACEOF
35244 #define wxUSE_FILE 1
35249 if test "$wxUSE_FFILE" = "yes"; then
35250 cat >>confdefs.h
<<\_ACEOF
35251 #define wxUSE_FFILE 1
35256 if test "$wxUSE_FILESYSTEM" = "yes"; then
35257 cat >>confdefs.h
<<\_ACEOF
35258 #define wxUSE_FILESYSTEM 1
35263 if test "$wxUSE_FS_ZIP" = "yes"; then
35264 cat >>confdefs.h
<<\_ACEOF
35265 #define wxUSE_FS_ZIP 1
35270 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35271 cat >>confdefs.h
<<\_ACEOF
35272 #define wxUSE_ZIPSTREAM 1
35277 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35278 cat >>confdefs.h
<<\_ACEOF
35279 #define wxUSE_ON_FATAL_EXCEPTION 1
35284 if test "$wxUSE_STACKWALKER" = "yes"; then
35285 cat >>confdefs.h
<<\_ACEOF
35286 #define wxUSE_STACKWALKER 1
35291 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35292 cat >>confdefs.h
<<\_ACEOF
35293 #define wxUSE_SNGLINST_CHECKER 1
35298 if test "$wxUSE_BUSYINFO" = "yes"; then
35299 cat >>confdefs.h
<<\_ACEOF
35300 #define wxUSE_BUSYINFO 1
35305 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35306 cat >>confdefs.h
<<\_ACEOF
35307 #define wxUSE_STD_IOSTREAM 1
35312 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35313 cat >>confdefs.h
<<\_ACEOF
35314 #define wxUSE_TEXTBUFFER 1
35319 if test "$wxUSE_TEXTFILE" = "yes"; then
35320 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35321 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35322 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35324 cat >>confdefs.h
<<\_ACEOF
35325 #define wxUSE_TEXTFILE 1
35331 if test "$wxUSE_CONFIG" = "yes" ; then
35332 if test "$wxUSE_TEXTFILE" != "yes"; then
35333 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35334 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35336 cat >>confdefs.h
<<\_ACEOF
35337 #define wxUSE_CONFIG 1
35340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35344 if test "$wxUSE_INTL" = "yes" ; then
35345 if test "$wxUSE_FILE" != "yes"; then
35346 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35347 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35349 cat >>confdefs.h
<<\_ACEOF
35350 #define wxUSE_INTL 1
35353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35354 GUIDIST
="$GUIDIST INTL_DIST"
35358 if test "$wxUSE_LOG" = "yes"; then
35359 cat >>confdefs.h
<<\_ACEOF
35360 #define wxUSE_LOG 1
35364 if test "$wxUSE_LOGGUI" = "yes"; then
35365 cat >>confdefs.h
<<\_ACEOF
35366 #define wxUSE_LOGGUI 1
35371 if test "$wxUSE_LOGWINDOW" = "yes"; then
35372 cat >>confdefs.h
<<\_ACEOF
35373 #define wxUSE_LOGWINDOW 1
35378 if test "$wxUSE_LOGDIALOG" = "yes"; then
35379 cat >>confdefs.h
<<\_ACEOF
35380 #define wxUSE_LOG_DIALOG 1
35386 if test "$wxUSE_LONGLONG" = "yes"; then
35387 cat >>confdefs.h
<<\_ACEOF
35388 #define wxUSE_LONGLONG 1
35393 if test "$wxUSE_GEOMETRY" = "yes"; then
35394 cat >>confdefs.h
<<\_ACEOF
35395 #define wxUSE_GEOMETRY 1
35400 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35401 cat >>confdefs.h
<<\_ACEOF
35402 #define wxUSE_DIALUP_MANAGER 1
35405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35408 if test "$wxUSE_STREAMS" = "yes" ; then
35409 cat >>confdefs.h
<<\_ACEOF
35410 #define wxUSE_STREAMS 1
35416 if test "$wxUSE_DATETIME" = "yes"; then
35418 for ac_func
in strptime
35420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35421 echo "$as_me:$LINENO: checking for $ac_func" >&5
35422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35423 if eval "test \"\${$as_ac_var+set}\" = set"; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35426 cat >conftest.
$ac_ext <<_ACEOF
35429 cat confdefs.h
>>conftest.
$ac_ext
35430 cat >>conftest.
$ac_ext <<_ACEOF
35431 /* end confdefs.h. */
35432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35434 #define $ac_func innocuous_$ac_func
35436 /* System header to define __stub macros and hopefully few prototypes,
35437 which can conflict with char $ac_func (); below.
35438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35439 <limits.h> exists even on freestanding compilers. */
35442 # include <limits.h>
35444 # include <assert.h>
35449 /* Override any gcc2 internal prototype to avoid an error. */
35454 /* We use char because int might match the return type of a gcc2
35455 builtin and then its argument prototype would still apply. */
35457 /* The GNU C library defines this for functions which it implements
35458 to always fail with ENOSYS. Some functions are actually named
35459 something starting with __ and the normal name is an alias. */
35460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35463 char (*f) () = $ac_func;
35472 return f != $ac_func;
35477 rm -f conftest.
$ac_objext conftest
$ac_exeext
35478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35479 (eval $ac_link) 2>conftest.er1
35481 grep -v '^ *+' conftest.er1
>conftest.err
35483 cat conftest.err
>&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); } &&
35486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; } &&
35492 { ac_try
='test -s conftest$ac_exeext'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; }; then
35498 eval "$as_ac_var=yes"
35500 echo "$as_me: failed program was:" >&5
35501 sed 's/^/| /' conftest.
$ac_ext >&5
35503 eval "$as_ac_var=no"
35505 rm -f conftest.err conftest.
$ac_objext \
35506 conftest
$ac_exeext conftest.
$ac_ext
35508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35510 if test `eval echo '${'$as_ac_var'}'` = yes; then
35511 cat >>confdefs.h
<<_ACEOF
35512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35519 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35520 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35521 if test "${wx_cv_var_timezone+set}" = set; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35525 cat >conftest.
$ac_ext <<_ACEOF
35528 cat confdefs.h
>>conftest.
$ac_ext
35529 cat >>conftest.
$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35545 rm -f conftest.
$ac_objext
35546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35547 (eval $ac_compile) 2>conftest.er1
35549 grep -v '^ *+' conftest.er1
>conftest.err
35551 cat conftest.err
>&5
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); } &&
35554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35556 (eval $ac_try) 2>&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); }; } &&
35560 { ac_try
='test -s conftest.$ac_objext'
35561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35562 (eval $ac_try) 2>&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); }; }; then
35567 wx_cv_var_timezone
=timezone
35570 echo "$as_me: failed program was:" >&5
35571 sed 's/^/| /' conftest.
$ac_ext >&5
35574 cat >conftest.
$ac_ext <<_ACEOF
35577 cat confdefs.h
>>conftest.
$ac_ext
35578 cat >>conftest.
$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35594 rm -f conftest.
$ac_objext
35595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35596 (eval $ac_compile) 2>conftest.er1
35598 grep -v '^ *+' conftest.er1
>conftest.err
35600 cat conftest.err
>&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } &&
35603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; } &&
35609 { ac_try
='test -s conftest.$ac_objext'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35616 wx_cv_var_timezone
=_timezone
35619 echo "$as_me: failed program was:" >&5
35620 sed 's/^/| /' conftest.
$ac_ext >&5
35623 cat >conftest.
$ac_ext <<_ACEOF
35626 cat confdefs.h
>>conftest.
$ac_ext
35627 cat >>conftest.
$ac_ext <<_ACEOF
35628 /* end confdefs.h. */
35643 rm -f conftest.
$ac_objext
35644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35645 (eval $ac_compile) 2>conftest.er1
35647 grep -v '^ *+' conftest.er1
>conftest.err
35649 cat conftest.err
>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); } &&
35652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; } &&
35658 { ac_try
='test -s conftest.$ac_objext'
35659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35660 (eval $ac_try) 2>&5
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); }; }; then
35665 wx_cv_var_timezone
=__timezone
35668 echo "$as_me: failed program was:" >&5
35669 sed 's/^/| /' conftest.
$ac_ext >&5
35672 if test "$USE_DOS" = 0 ; then
35673 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35674 echo "$as_me: WARNING: no timezone variable" >&2;}
35679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35691 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35692 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35694 if test "x$wx_cv_var_timezone" != x
; then
35695 cat >>confdefs.h
<<_ACEOF
35696 #define WX_TIMEZONE $wx_cv_var_timezone
35702 for ac_func
in localtime
35704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35705 echo "$as_me:$LINENO: checking for $ac_func" >&5
35706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35707 if eval "test \"\${$as_ac_var+set}\" = set"; then
35708 echo $ECHO_N "(cached) $ECHO_C" >&6
35710 cat >conftest.
$ac_ext <<_ACEOF
35713 cat confdefs.h
>>conftest.
$ac_ext
35714 cat >>conftest.
$ac_ext <<_ACEOF
35715 /* end confdefs.h. */
35716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35718 #define $ac_func innocuous_$ac_func
35720 /* System header to define __stub macros and hopefully few prototypes,
35721 which can conflict with char $ac_func (); below.
35722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35723 <limits.h> exists even on freestanding compilers. */
35726 # include <limits.h>
35728 # include <assert.h>
35733 /* Override any gcc2 internal prototype to avoid an error. */
35738 /* We use char because int might match the return type of a gcc2
35739 builtin and then its argument prototype would still apply. */
35741 /* The GNU C library defines this for functions which it implements
35742 to always fail with ENOSYS. Some functions are actually named
35743 something starting with __ and the normal name is an alias. */
35744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35747 char (*f) () = $ac_func;
35756 return f != $ac_func;
35761 rm -f conftest.
$ac_objext conftest
$ac_exeext
35762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35763 (eval $ac_link) 2>conftest.er1
35765 grep -v '^ *+' conftest.er1
>conftest.err
35767 cat conftest.err
>&5
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); } &&
35770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35772 (eval $ac_try) 2>&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); }; } &&
35776 { ac_try
='test -s conftest$ac_exeext'
35777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35778 (eval $ac_try) 2>&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); }; }; then
35782 eval "$as_ac_var=yes"
35784 echo "$as_me: failed program was:" >&5
35785 sed 's/^/| /' conftest.
$ac_ext >&5
35787 eval "$as_ac_var=no"
35789 rm -f conftest.err conftest.
$ac_objext \
35790 conftest
$ac_exeext conftest.
$ac_ext
35792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35794 if test `eval echo '${'$as_ac_var'}'` = yes; then
35795 cat >>confdefs.h
<<_ACEOF
35796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35803 if test "$ac_cv_func_localtime" = "yes"; then
35804 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35805 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35806 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35810 cat >conftest.
$ac_ext <<_ACEOF
35813 cat confdefs.h
>>conftest.
$ac_ext
35814 cat >>conftest.
$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35830 rm -f conftest.
$ac_objext
35831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35832 (eval $ac_compile) 2>conftest.er1
35834 grep -v '^ *+' conftest.er1
>conftest.err
35836 cat conftest.err
>&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } &&
35839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35841 (eval $ac_try) 2>&5
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); }; } &&
35845 { ac_try
='test -s conftest.$ac_objext'
35846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35847 (eval $ac_try) 2>&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); }; }; then
35852 wx_cv_struct_tm_has_gmtoff
=yes
35855 echo "$as_me: failed program was:" >&5
35856 sed 's/^/| /' conftest.
$ac_ext >&5
35858 wx_cv_struct_tm_has_gmtoff
=no
35861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35864 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35865 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35868 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35869 cat >>confdefs.h
<<\_ACEOF
35870 #define WX_GMTOFF_IN_TM 1
35877 for ac_func
in gettimeofday ftime
35879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35880 echo "$as_me:$LINENO: checking for $ac_func" >&5
35881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35882 if eval "test \"\${$as_ac_var+set}\" = set"; then
35883 echo $ECHO_N "(cached) $ECHO_C" >&6
35885 cat >conftest.
$ac_ext <<_ACEOF
35888 cat confdefs.h
>>conftest.
$ac_ext
35889 cat >>conftest.
$ac_ext <<_ACEOF
35890 /* end confdefs.h. */
35891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35893 #define $ac_func innocuous_$ac_func
35895 /* System header to define __stub macros and hopefully few prototypes,
35896 which can conflict with char $ac_func (); below.
35897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35898 <limits.h> exists even on freestanding compilers. */
35901 # include <limits.h>
35903 # include <assert.h>
35908 /* Override any gcc2 internal prototype to avoid an error. */
35913 /* We use char because int might match the return type of a gcc2
35914 builtin and then its argument prototype would still apply. */
35916 /* The GNU C library defines this for functions which it implements
35917 to always fail with ENOSYS. Some functions are actually named
35918 something starting with __ and the normal name is an alias. */
35919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35922 char (*f) () = $ac_func;
35931 return f != $ac_func;
35936 rm -f conftest.
$ac_objext conftest
$ac_exeext
35937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35938 (eval $ac_link) 2>conftest.er1
35940 grep -v '^ *+' conftest.er1
>conftest.err
35942 cat conftest.err
>&5
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); } &&
35945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; } &&
35951 { ac_try
='test -s conftest$ac_exeext'
35952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35953 (eval $ac_try) 2>&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); }; }; then
35957 eval "$as_ac_var=yes"
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.
$ac_ext >&5
35962 eval "$as_ac_var=no"
35964 rm -f conftest.err conftest.
$ac_objext \
35965 conftest
$ac_exeext conftest.
$ac_ext
35967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35969 if test `eval echo '${'$as_ac_var'}'` = yes; then
35970 cat >>confdefs.h
<<_ACEOF
35971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35978 if test "$ac_cv_func_gettimeofday" = "yes"; then
35979 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35980 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35981 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35988 ac_cpp
='$CXXCPP $CPPFLAGS'
35989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35994 cat >conftest.
$ac_ext <<_ACEOF
35997 cat confdefs.h
>>conftest.
$ac_ext
35998 cat >>conftest.
$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36001 #include <sys/time.h>
36002 #include <unistd.h>
36009 gettimeofday(&tv, NULL);
36015 rm -f conftest.
$ac_objext
36016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36017 (eval $ac_compile) 2>conftest.er1
36019 grep -v '^ *+' conftest.er1
>conftest.err
36021 cat conftest.err
>&5
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); } &&
36024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36026 (eval $ac_try) 2>&5
36028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029 (exit $ac_status); }; } &&
36030 { ac_try
='test -s conftest.$ac_objext'
36031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36032 (eval $ac_try) 2>&5
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); }; }; then
36036 wx_cv_func_gettimeofday_has_2_args
=yes
36038 echo "$as_me: failed program was:" >&5
36039 sed 's/^/| /' conftest.
$ac_ext >&5
36041 cat >conftest.
$ac_ext <<_ACEOF
36044 cat confdefs.h
>>conftest.
$ac_ext
36045 cat >>conftest.
$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36048 #include <sys/time.h>
36049 #include <unistd.h>
36062 rm -f conftest.
$ac_objext
36063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36064 (eval $ac_compile) 2>conftest.er1
36066 grep -v '^ *+' conftest.er1
>conftest.err
36068 cat conftest.err
>&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); } &&
36071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36073 (eval $ac_try) 2>&5
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); }; } &&
36077 { ac_try
='test -s conftest.$ac_objext'
36078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36079 (eval $ac_try) 2>&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); }; }; then
36083 wx_cv_func_gettimeofday_has_2_args
=no
36085 echo "$as_me: failed program was:" >&5
36086 sed 's/^/| /' conftest.
$ac_ext >&5
36089 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36090 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36091 wx_cv_func_gettimeofday_has_2_args
=unknown
36095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36100 ac_cpp
='$CPP $CPPFLAGS'
36101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36107 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36108 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36110 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36111 cat >>confdefs.h
<<\_ACEOF
36112 #define WX_GETTIMEOFDAY_NO_TZ 1
36118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36122 if test "$wxUSE_SOCKETS" = "yes"; then
36123 if test "$wxUSE_MGL" = "1"; then
36124 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36125 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36130 if test "$wxUSE_SOCKETS" = "yes"; then
36131 if test "$TOOLKIT" != "MSW"; then
36132 echo "$as_me:$LINENO: checking for socket" >&5
36133 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36134 if test "${ac_cv_func_socket+set}" = set; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36137 cat >conftest.
$ac_ext <<_ACEOF
36140 cat confdefs.h
>>conftest.
$ac_ext
36141 cat >>conftest.
$ac_ext <<_ACEOF
36142 /* end confdefs.h. */
36143 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36145 #define socket innocuous_socket
36147 /* System header to define __stub macros and hopefully few prototypes,
36148 which can conflict with char socket (); below.
36149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36150 <limits.h> exists even on freestanding compilers. */
36153 # include <limits.h>
36155 # include <assert.h>
36160 /* Override any gcc2 internal prototype to avoid an error. */
36165 /* We use char because int might match the return type of a gcc2
36166 builtin and then its argument prototype would still apply. */
36168 /* The GNU C library defines this for functions which it implements
36169 to always fail with ENOSYS. Some functions are actually named
36170 something starting with __ and the normal name is an alias. */
36171 #if defined (__stub_socket) || defined (__stub___socket)
36174 char (*f) () = socket;
36183 return f != socket;
36188 rm -f conftest.
$ac_objext conftest
$ac_exeext
36189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36190 (eval $ac_link) 2>conftest.er1
36192 grep -v '^ *+' conftest.er1
>conftest.err
36194 cat conftest.err
>&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } &&
36197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
36203 { ac_try
='test -s conftest$ac_exeext'
36204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36205 (eval $ac_try) 2>&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); }; }; then
36209 ac_cv_func_socket
=yes
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.
$ac_ext >&5
36214 ac_cv_func_socket
=no
36216 rm -f conftest.err conftest.
$ac_objext \
36217 conftest
$ac_exeext conftest.
$ac_ext
36219 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36220 echo "${ECHO_T}$ac_cv_func_socket" >&6
36221 if test $ac_cv_func_socket = yes; then
36225 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36226 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36227 if test "${ac_cv_lib_socket_socket+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36230 ac_check_lib_save_LIBS
=$LIBS
36231 LIBS
="-lsocket $LIBS"
36232 cat >conftest.
$ac_ext <<_ACEOF
36235 cat confdefs.h
>>conftest.
$ac_ext
36236 cat >>conftest.
$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36239 /* Override any gcc2 internal prototype to avoid an error. */
36243 /* We use char because int might match the return type of a gcc2
36244 builtin and then its argument prototype would still apply. */
36254 rm -f conftest.
$ac_objext conftest
$ac_exeext
36255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36256 (eval $ac_link) 2>conftest.er1
36258 grep -v '^ *+' conftest.er1
>conftest.err
36260 cat conftest.err
>&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); } &&
36263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try
='test -s conftest$ac_exeext'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; }; then
36275 ac_cv_lib_socket_socket
=yes
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.
$ac_ext >&5
36280 ac_cv_lib_socket_socket
=no
36282 rm -f conftest.err conftest.
$ac_objext \
36283 conftest
$ac_exeext conftest.
$ac_ext
36284 LIBS
=$ac_check_lib_save_LIBS
36286 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36287 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36288 if test $ac_cv_lib_socket_socket = yes; then
36289 if test "$INET_LINK" != " -lsocket"; then
36290 INET_LINK
="$INET_LINK -lsocket"
36294 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36295 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36308 if test "$wxUSE_SOCKETS" = "yes" ; then
36309 if test "$TOOLKIT" != "MSW"; then
36311 ac_cpp
='$CXXCPP $CPPFLAGS'
36312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36316 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36317 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36318 if test "${wx_cv_type_getsockname3+set}" = set; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 cat >conftest.
$ac_ext <<_ACEOF
36325 cat confdefs.h
>>conftest.
$ac_ext
36326 cat >>conftest.
$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36329 #include <sys/types.h>
36330 #include <sys/socket.h>
36337 getsockname(0, 0, &len);
36343 rm -f conftest.
$ac_objext
36344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36345 (eval $ac_compile) 2>conftest.er1
36347 grep -v '^ *+' conftest.er1
>conftest.err
36349 cat conftest.err
>&5
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); } &&
36352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36354 (eval $ac_try) 2>&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); }; } &&
36358 { ac_try
='test -s conftest.$ac_objext'
36359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36360 (eval $ac_try) 2>&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); }; }; then
36364 wx_cv_type_getsockname3
=socklen_t
36366 echo "$as_me: failed program was:" >&5
36367 sed 's/^/| /' conftest.
$ac_ext >&5
36370 CFLAGS_OLD
="$CFLAGS"
36371 if test "$GCC" = yes ; then
36372 CFLAGS
="$CFLAGS -Werror"
36375 cat >conftest.
$ac_ext <<_ACEOF
36378 cat confdefs.h
>>conftest.
$ac_ext
36379 cat >>conftest.
$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36382 #include <sys/types.h>
36383 #include <sys/socket.h>
36390 getsockname(0, 0, &len);
36396 rm -f conftest.
$ac_objext
36397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36398 (eval $ac_compile) 2>conftest.er1
36400 grep -v '^ *+' conftest.er1
>conftest.err
36402 cat conftest.err
>&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); } &&
36405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; } &&
36411 { ac_try
='test -s conftest.$ac_objext'
36412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36413 (eval $ac_try) 2>&5
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); }; }; then
36417 wx_cv_type_getsockname3
=size_t
36419 echo "$as_me: failed program was:" >&5
36420 sed 's/^/| /' conftest.
$ac_ext >&5
36422 cat >conftest.
$ac_ext <<_ACEOF
36425 cat confdefs.h
>>conftest.
$ac_ext
36426 cat >>conftest.
$ac_ext <<_ACEOF
36427 /* end confdefs.h. */
36429 #include <sys/types.h>
36430 #include <sys/socket.h>
36437 getsockname(0, 0, &len);
36443 rm -f conftest.
$ac_objext
36444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36445 (eval $ac_compile) 2>conftest.er1
36447 grep -v '^ *+' conftest.er1
>conftest.err
36449 cat conftest.err
>&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } &&
36452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36454 (eval $ac_try) 2>&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); }; } &&
36458 { ac_try
='test -s conftest.$ac_objext'
36459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36460 (eval $ac_try) 2>&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); }; }; then
36464 wx_cv_type_getsockname3
=int
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.
$ac_ext >&5
36469 wx_cv_type_getsockname3
=unknown
36472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36477 CFLAGS
="$CFLAGS_OLD"
36481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36484 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36485 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36487 if test "$wx_cv_type_getsockname3" = "unknown"; then
36489 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36490 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36492 cat >>confdefs.h
<<_ACEOF
36493 #define SOCKLEN_T $wx_cv_type_getsockname3
36497 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36498 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36499 if test "${wx_cv_type_getsockopt5+set}" = set; then
36500 echo $ECHO_N "(cached) $ECHO_C" >&6
36503 cat >conftest.
$ac_ext <<_ACEOF
36506 cat confdefs.h
>>conftest.
$ac_ext
36507 cat >>conftest.
$ac_ext <<_ACEOF
36508 /* end confdefs.h. */
36510 #include <sys/types.h>
36511 #include <sys/socket.h>
36518 getsockopt(0, 0, 0, 0, &len);
36524 rm -f conftest.
$ac_objext
36525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36526 (eval $ac_compile) 2>conftest.er1
36528 grep -v '^ *+' conftest.er1
>conftest.err
36530 cat conftest.err
>&5
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); } &&
36533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36535 (eval $ac_try) 2>&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); }; } &&
36539 { ac_try
='test -s conftest.$ac_objext'
36540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36541 (eval $ac_try) 2>&5
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); }; }; then
36545 wx_cv_type_getsockopt5
=socklen_t
36547 echo "$as_me: failed program was:" >&5
36548 sed 's/^/| /' conftest.
$ac_ext >&5
36551 CFLAGS_OLD
="$CFLAGS"
36552 if test "$GCC" = yes ; then
36553 CFLAGS
="$CFLAGS -Werror"
36556 cat >conftest.
$ac_ext <<_ACEOF
36559 cat confdefs.h
>>conftest.
$ac_ext
36560 cat >>conftest.
$ac_ext <<_ACEOF
36561 /* end confdefs.h. */
36563 #include <sys/types.h>
36564 #include <sys/socket.h>
36571 getsockopt(0, 0, 0, 0, &len);
36577 rm -f conftest.
$ac_objext
36578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36579 (eval $ac_compile) 2>conftest.er1
36581 grep -v '^ *+' conftest.er1
>conftest.err
36583 cat conftest.err
>&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); } &&
36586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36588 (eval $ac_try) 2>&5
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); }; } &&
36592 { ac_try
='test -s conftest.$ac_objext'
36593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36594 (eval $ac_try) 2>&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); }; }; then
36598 wx_cv_type_getsockopt5
=size_t
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.
$ac_ext >&5
36603 cat >conftest.
$ac_ext <<_ACEOF
36606 cat confdefs.h
>>conftest.
$ac_ext
36607 cat >>conftest.
$ac_ext <<_ACEOF
36608 /* end confdefs.h. */
36610 #include <sys/types.h>
36611 #include <sys/socket.h>
36618 getsockopt(0, 0, 0, 0, &len);
36624 rm -f conftest.
$ac_objext
36625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36626 (eval $ac_compile) 2>conftest.er1
36628 grep -v '^ *+' conftest.er1
>conftest.err
36630 cat conftest.err
>&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); } &&
36633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; } &&
36639 { ac_try
='test -s conftest.$ac_objext'
36640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36641 (eval $ac_try) 2>&5
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); }; }; then
36645 wx_cv_type_getsockopt5
=int
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.
$ac_ext >&5
36650 wx_cv_type_getsockopt5
=unknown
36653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36658 CFLAGS
="$CFLAGS_OLD"
36662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36665 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36666 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36668 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36670 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36671 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36673 cat >>confdefs.h
<<_ACEOF
36674 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36679 ac_cpp
='$CPP $CPPFLAGS'
36680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36687 if test "$wxUSE_SOCKETS" = "yes" ; then
36688 cat >>confdefs.h
<<\_ACEOF
36689 #define wxUSE_SOCKETS 1
36692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36695 if test "$wxUSE_PROTOCOL" = "yes"; then
36696 if test "$wxUSE_SOCKETS" != "yes"; then
36697 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36698 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36703 if test "$wxUSE_PROTOCOL" = "yes"; then
36704 cat >>confdefs.h
<<\_ACEOF
36705 #define wxUSE_PROTOCOL 1
36709 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36710 cat >>confdefs.h
<<\_ACEOF
36711 #define wxUSE_PROTOCOL_HTTP 1
36715 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36716 cat >>confdefs.h
<<\_ACEOF
36717 #define wxUSE_PROTOCOL_FTP 1
36721 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36722 cat >>confdefs.h
<<\_ACEOF
36723 #define wxUSE_PROTOCOL_FILE 1
36728 if test "$wxUSE_FS_INET" = "yes"; then
36729 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36730 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36735 if test "$wxUSE_URL" = "yes"; then
36736 if test "$wxUSE_PROTOCOL" != "yes"; then
36737 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36738 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36741 if test "$wxUSE_URL" = "yes"; then
36742 cat >>confdefs.h
<<\_ACEOF
36743 #define wxUSE_URL 1
36749 if test "$wxUSE_FS_INET" = "yes"; then
36750 cat >>confdefs.h
<<\_ACEOF
36751 #define wxUSE_FS_INET 1
36757 if test "$wxUSE_GUI" = "yes"; then
36759 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36760 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36761 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36765 if test "$TOOLKIT" != "MSW"; then
36766 if test "$wxUSE_JOYSTICK" = "yes"; then
36768 for ac_header
in linux
/joystick.h
36770 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36772 echo "$as_me:$LINENO: checking for $ac_header" >&5
36773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36775 echo $ECHO_N "(cached) $ECHO_C" >&6
36777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36780 # Is the header compilable?
36781 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36783 cat >conftest.
$ac_ext <<_ACEOF
36786 cat confdefs.h
>>conftest.
$ac_ext
36787 cat >>conftest.
$ac_ext <<_ACEOF
36788 /* end confdefs.h. */
36789 $ac_includes_default
36790 #include <$ac_header>
36792 rm -f conftest.
$ac_objext
36793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36794 (eval $ac_compile) 2>conftest.er1
36796 grep -v '^ *+' conftest.er1
>conftest.err
36798 cat conftest.err
>&5
36799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36800 (exit $ac_status); } &&
36801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36803 (eval $ac_try) 2>&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); }; } &&
36807 { ac_try
='test -s conftest.$ac_objext'
36808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36809 (eval $ac_try) 2>&5
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); }; }; then
36813 ac_header_compiler
=yes
36815 echo "$as_me: failed program was:" >&5
36816 sed 's/^/| /' conftest.
$ac_ext >&5
36818 ac_header_compiler
=no
36820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36822 echo "${ECHO_T}$ac_header_compiler" >&6
36824 # Is the header present?
36825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36827 cat >conftest.
$ac_ext <<_ACEOF
36830 cat confdefs.h
>>conftest.
$ac_ext
36831 cat >>conftest.
$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833 #include <$ac_header>
36835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36838 grep -v '^ *+' conftest.er1
>conftest.err
36840 cat conftest.err
>&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); } >/dev
/null
; then
36843 if test -s conftest.err
; then
36844 ac_cpp_err
=$ac_c_preproc_warn_flag
36845 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36852 if test -z "$ac_cpp_err"; then
36853 ac_header_preproc
=yes
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.
$ac_ext >&5
36858 ac_header_preproc
=no
36860 rm -f conftest.err conftest.
$ac_ext
36861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36862 echo "${ECHO_T}$ac_header_preproc" >&6
36864 # So? What about this header?
36865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36870 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36871 ac_header_preproc
=yes
36874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36878 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36879 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36880 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36881 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36884 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36885 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36888 ## ----------------------------------------- ##
36889 ## Report this to wx-dev@lists.wxwidgets.org ##
36890 ## ----------------------------------------- ##
36893 sed "s/^/$as_me: WARNING: /" >&2
36896 echo "$as_me:$LINENO: checking for $ac_header" >&5
36897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36899 echo $ECHO_N "(cached) $ECHO_C" >&6
36901 eval "$as_ac_Header=\$ac_header_preproc"
36903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36908 cat >>confdefs.h
<<_ACEOF
36909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36916 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36918 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36919 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36924 if test "$wxUSE_JOYSTICK" = "yes"; then
36925 cat >>confdefs.h
<<\_ACEOF
36926 #define wxUSE_JOYSTICK 1
36929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36935 if test "$wxUSE_FONTMAP" = "yes" ; then
36936 cat >>confdefs.h
<<\_ACEOF
36937 #define wxUSE_FONTMAP 1
36942 if test "$wxUSE_UNICODE" = "yes" ; then
36943 cat >>confdefs.h
<<\_ACEOF
36944 #define wxUSE_UNICODE 1
36948 if test "$USE_WIN32" != 1; then
36949 wxUSE_UNICODE_MSLU
=no
36952 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36953 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36954 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36955 if test "${ac_cv_lib_unicows_main+set}" = set; then
36956 echo $ECHO_N "(cached) $ECHO_C" >&6
36958 ac_check_lib_save_LIBS
=$LIBS
36959 LIBS
="-lunicows $LIBS"
36960 cat >conftest.
$ac_ext <<_ACEOF
36963 cat confdefs.h
>>conftest.
$ac_ext
36964 cat >>conftest.
$ac_ext <<_ACEOF
36965 /* end confdefs.h. */
36976 rm -f conftest.
$ac_objext conftest
$ac_exeext
36977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36978 (eval $ac_link) 2>conftest.er1
36980 grep -v '^ *+' conftest.er1
>conftest.err
36982 cat conftest.err
>&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); } &&
36985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36987 (eval $ac_try) 2>&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; } &&
36991 { ac_try
='test -s conftest$ac_exeext'
36992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36993 (eval $ac_try) 2>&5
36995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36996 (exit $ac_status); }; }; then
36997 ac_cv_lib_unicows_main
=yes
36999 echo "$as_me: failed program was:" >&5
37000 sed 's/^/| /' conftest.
$ac_ext >&5
37002 ac_cv_lib_unicows_main
=no
37004 rm -f conftest.err conftest.
$ac_objext \
37005 conftest
$ac_exeext conftest.
$ac_ext
37006 LIBS
=$ac_check_lib_save_LIBS
37008 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37009 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37010 if test $ac_cv_lib_unicows_main = yes; then
37012 cat >>confdefs.h
<<\_ACEOF
37013 #define wxUSE_UNICODE_MSLU 1
37019 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37020 Applications will only run on Windows NT/2000/XP!" >&5
37021 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37022 Applications will only run on Windows NT/2000/XP!" >&2;}
37023 wxUSE_UNICODE_MSLU
=no
37030 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37031 cat >>confdefs.h
<<\_ACEOF
37032 #define wxUSE_EXPERIMENTAL_PRINTF 1
37038 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37039 cat >>confdefs.h
<<\_ACEOF
37040 #define wxUSE_POSTSCRIPT 1
37045 cat >>confdefs.h
<<\_ACEOF
37046 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37050 cat >>confdefs.h
<<\_ACEOF
37051 #define wxUSE_NORMALIZED_PS_FONTS 1
37056 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37057 cat >>confdefs.h
<<\_ACEOF
37058 #define wxUSE_CONSTRAINTS 1
37061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37064 if test "$wxUSE_MDI" = "yes"; then
37065 cat >>confdefs.h
<<\_ACEOF
37066 #define wxUSE_MDI 1
37070 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37071 cat >>confdefs.h
<<\_ACEOF
37072 #define wxUSE_MDI_ARCHITECTURE 1
37075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37079 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37080 cat >>confdefs.h
<<\_ACEOF
37081 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37085 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37090 if test "$wxUSE_HELP" = "yes"; then
37091 cat >>confdefs.h
<<\_ACEOF
37092 #define wxUSE_HELP 1
37095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37097 if test "$wxUSE_MSW" = 1; then
37098 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37099 cat >>confdefs.h
<<\_ACEOF
37100 #define wxUSE_MS_HTML_HELP 1
37106 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37107 if test "$wxUSE_HTML" = "yes"; then
37108 cat >>confdefs.h
<<\_ACEOF
37109 #define wxUSE_WXHTML_HELP 1
37113 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37114 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37115 wxUSE_WXHTML_HELP
=no
37120 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37121 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37122 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37123 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37125 cat >>confdefs.h
<<\_ACEOF
37126 #define wxUSE_PRINTING_ARCHITECTURE 1
37130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37133 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37134 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37135 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37136 { (exit 1); exit 1; }; }
37140 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37141 -o "$wxUSE_CLIPBOARD" = "yes" \
37142 -o "$wxUSE_OLE" = "yes" \
37143 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37145 for ac_header
in ole2.h
37147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37149 echo "$as_me:$LINENO: checking for $ac_header" >&5
37150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37152 echo $ECHO_N "(cached) $ECHO_C" >&6
37154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37157 # Is the header compilable?
37158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37160 cat >conftest.
$ac_ext <<_ACEOF
37163 cat confdefs.h
>>conftest.
$ac_ext
37164 cat >>conftest.
$ac_ext <<_ACEOF
37165 /* end confdefs.h. */
37166 $ac_includes_default
37167 #include <$ac_header>
37169 rm -f conftest.
$ac_objext
37170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37171 (eval $ac_compile) 2>conftest.er1
37173 grep -v '^ *+' conftest.er1
>conftest.err
37175 cat conftest.err
>&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } &&
37178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37180 (eval $ac_try) 2>&5
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); }; } &&
37184 { ac_try
='test -s conftest.$ac_objext'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; }; then
37190 ac_header_compiler
=yes
37192 echo "$as_me: failed program was:" >&5
37193 sed 's/^/| /' conftest.
$ac_ext >&5
37195 ac_header_compiler
=no
37197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37199 echo "${ECHO_T}$ac_header_compiler" >&6
37201 # Is the header present?
37202 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37204 cat >conftest.
$ac_ext <<_ACEOF
37207 cat confdefs.h
>>conftest.
$ac_ext
37208 cat >>conftest.
$ac_ext <<_ACEOF
37209 /* end confdefs.h. */
37210 #include <$ac_header>
37212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37215 grep -v '^ *+' conftest.er1
>conftest.err
37217 cat conftest.err
>&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } >/dev
/null
; then
37220 if test -s conftest.err
; then
37221 ac_cpp_err
=$ac_c_preproc_warn_flag
37222 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37229 if test -z "$ac_cpp_err"; then
37230 ac_header_preproc
=yes
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.
$ac_ext >&5
37235 ac_header_preproc
=no
37237 rm -f conftest.err conftest.
$ac_ext
37238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37239 echo "${ECHO_T}$ac_header_preproc" >&6
37241 # So? What about this header?
37242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37244 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37245 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37247 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37248 ac_header_preproc
=yes
37251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37254 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37255 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37256 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37257 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37258 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37260 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37261 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37262 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37265 ## ----------------------------------------- ##
37266 ## Report this to wx-dev@lists.wxwidgets.org ##
37267 ## ----------------------------------------- ##
37270 sed "s/^/$as_me: WARNING: /" >&2
37273 echo "$as_me:$LINENO: checking for $ac_header" >&5
37274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37276 echo $ECHO_N "(cached) $ECHO_C" >&6
37278 eval "$as_ac_Header=\$ac_header_preproc"
37280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37285 cat >>confdefs.h
<<_ACEOF
37286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37294 if test "$ac_cv_header_ole2_h" = "yes" ; then
37295 if test "$GCC" = yes ; then
37299 ac_cpp
='$CXXCPP $CPPFLAGS'
37300 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37305 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37306 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37307 cat >conftest.
$ac_ext <<_ACEOF
37310 cat confdefs.h
>>conftest.
$ac_ext
37311 cat >>conftest.
$ac_ext <<_ACEOF
37312 /* end confdefs.h. */
37313 #include <windows.h>
37323 rm -f conftest.
$ac_objext
37324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37325 (eval $ac_compile) 2>conftest.er1
37327 grep -v '^ *+' conftest.er1
>conftest.err
37329 cat conftest.err
>&5
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); } &&
37332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; } &&
37338 { ac_try
='test -s conftest.$ac_objext'
37339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37340 (eval $ac_try) 2>&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); }; }; then
37344 echo "$as_me:$LINENO: result: no" >&5
37345 echo "${ECHO_T}no" >&6
37347 echo "$as_me: failed program was:" >&5
37348 sed 's/^/| /' conftest.
$ac_ext >&5
37350 echo "$as_me:$LINENO: result: yes" >&5
37351 echo "${ECHO_T}yes" >&6
37352 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37356 ac_cpp
='$CPP $CPPFLAGS'
37357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37361 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37362 if test "$wxUSE_OLE" = "yes" ; then
37363 cat >>confdefs.h
<<\_ACEOF
37364 #define wxUSE_OLE 1
37370 if test "$wxUSE_DATAOBJ" = "yes" ; then
37371 cat >>confdefs.h
<<\_ACEOF
37372 #define wxUSE_DATAOBJ 1
37377 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37378 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37381 wxUSE_DRAG_AND_DROP
=no
37386 if test "$wxUSE_METAFILE" = "yes"; then
37387 cat >>confdefs.h
<<\_ACEOF
37388 #define wxUSE_METAFILE 1
37392 cat >>confdefs.h
<<\_ACEOF
37393 #define wxUSE_ENH_METAFILE 1
37399 if test "$wxUSE_IPC" = "yes"; then
37400 if test "$wxUSE_SOCKETS" != "yes"; then
37401 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37402 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37405 cat >>confdefs.h
<<\_ACEOF
37406 #define wxUSE_IPC 1
37411 if test "$wxUSE_CLIPBOARD" = "yes"; then
37412 if test "$wxUSE_MGL" = 1; then
37413 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37414 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37418 if test "$wxUSE_CLIPBOARD" = "yes"; then
37419 cat >>confdefs.h
<<\_ACEOF
37420 #define wxUSE_CLIPBOARD 1
37424 cat >>confdefs.h
<<\_ACEOF
37425 #define wxUSE_DATAOBJ 1
37431 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37432 if test "$wxUSE_GTK" = 1; then
37433 if test "$WXGTK12" != 1; then
37434 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37435 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37436 wxUSE_DRAG_AND_DROP
=no
37440 if test "$wxUSE_MOTIF" = 1; then
37441 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37442 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37443 wxUSE_DRAG_AND_DROP
=no
37446 if test "$wxUSE_X11" = 1; then
37447 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37448 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37449 wxUSE_DRAG_AND_DROP
=no
37452 if test "$wxUSE_MGL" = 1; then
37453 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37454 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37455 wxUSE_DRAG_AND_DROP
=no
37458 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37459 cat >>confdefs.h
<<\_ACEOF
37460 #define wxUSE_DRAG_AND_DROP 1
37467 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37471 if test "$wxUSE_SPLINES" = "yes" ; then
37472 cat >>confdefs.h
<<\_ACEOF
37473 #define wxUSE_SPLINES 1
37480 if test "$wxUSE_CONTROLS" = "yes"; then
37484 if test "$wxUSE_ACCEL" = "yes"; then
37485 cat >>confdefs.h
<<\_ACEOF
37486 #define wxUSE_ACCEL 1
37492 if test "$wxUSE_BUTTON" = "yes"; then
37493 cat >>confdefs.h
<<\_ACEOF
37494 #define wxUSE_BUTTON 1
37500 if test "$wxUSE_BMPBUTTON" = "yes"; then
37501 cat >>confdefs.h
<<\_ACEOF
37502 #define wxUSE_BMPBUTTON 1
37508 if test "$wxUSE_CALCTRL" = "yes"; then
37509 cat >>confdefs.h
<<\_ACEOF
37510 #define wxUSE_CALENDARCTRL 1
37514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37517 if test "$wxUSE_CARET" = "yes"; then
37518 cat >>confdefs.h
<<\_ACEOF
37519 #define wxUSE_CARET 1
37523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37526 if test "$wxUSE_COMBOBOX" = "yes"; then
37527 cat >>confdefs.h
<<\_ACEOF
37528 #define wxUSE_COMBOBOX 1
37534 if test "$wxUSE_CHOICE" = "yes"; then
37535 cat >>confdefs.h
<<\_ACEOF
37536 #define wxUSE_CHOICE 1
37542 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37543 cat >>confdefs.h
<<\_ACEOF
37544 #define wxUSE_CHOICEBOOK 1
37550 if test "$wxUSE_CHECKBOX" = "yes"; then
37551 cat >>confdefs.h
<<\_ACEOF
37552 #define wxUSE_CHECKBOX 1
37558 if test "$wxUSE_CHECKLST" = "yes"; then
37559 cat >>confdefs.h
<<\_ACEOF
37560 #define wxUSE_CHECKLISTBOX 1
37564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37567 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37568 cat >>confdefs.h
<<\_ACEOF
37569 #define wxUSE_DATEPICKCTRL 1
37575 if test "$wxUSE_DISPLAY" = "yes"; then
37576 cat >>confdefs.h
<<\_ACEOF
37577 #define wxUSE_DISPLAY 1
37580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37583 if test "$wxUSE_GAUGE" = "yes"; then
37584 cat >>confdefs.h
<<\_ACEOF
37585 #define wxUSE_GAUGE 1
37591 if test "$wxUSE_GRID" = "yes"; then
37592 cat >>confdefs.h
<<\_ACEOF
37593 #define wxUSE_GRID 1
37597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37600 if test "$wxUSE_IMAGLIST" = "yes"; then
37601 cat >>confdefs.h
<<\_ACEOF
37602 #define wxUSE_IMAGLIST 1
37607 if test "$wxUSE_LISTBOOK" = "yes"; then
37608 cat >>confdefs.h
<<\_ACEOF
37609 #define wxUSE_LISTBOOK 1
37615 if test "$wxUSE_LISTBOX" = "yes"; then
37616 cat >>confdefs.h
<<\_ACEOF
37617 #define wxUSE_LISTBOX 1
37623 if test "$wxUSE_LISTCTRL" = "yes"; then
37624 if test "$wxUSE_IMAGLIST" = "yes"; then
37625 cat >>confdefs.h
<<\_ACEOF
37626 #define wxUSE_LISTCTRL 1
37630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37632 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37633 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37637 if test "$wxUSE_NOTEBOOK" = "yes"; then
37638 cat >>confdefs.h
<<\_ACEOF
37639 #define wxUSE_NOTEBOOK 1
37643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37647 if test "$wxUSE_RADIOBOX" = "yes"; then
37648 cat >>confdefs.h
<<\_ACEOF
37649 #define wxUSE_RADIOBOX 1
37655 if test "$wxUSE_RADIOBTN" = "yes"; then
37656 cat >>confdefs.h
<<\_ACEOF
37657 #define wxUSE_RADIOBTN 1
37663 if test "$wxUSE_SASH" = "yes"; then
37664 cat >>confdefs.h
<<\_ACEOF
37665 #define wxUSE_SASH 1
37668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37671 if test "$wxUSE_SCROLLBAR" = "yes"; then
37672 cat >>confdefs.h
<<\_ACEOF
37673 #define wxUSE_SCROLLBAR 1
37677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37680 if test "$wxUSE_SLIDER" = "yes"; then
37681 cat >>confdefs.h
<<\_ACEOF
37682 #define wxUSE_SLIDER 1
37688 if test "$wxUSE_SPINBTN" = "yes"; then
37689 cat >>confdefs.h
<<\_ACEOF
37690 #define wxUSE_SPINBTN 1
37696 if test "$wxUSE_SPINCTRL" = "yes"; then
37697 cat >>confdefs.h
<<\_ACEOF
37698 #define wxUSE_SPINCTRL 1
37704 if test "$wxUSE_SPLITTER" = "yes"; then
37705 cat >>confdefs.h
<<\_ACEOF
37706 #define wxUSE_SPLITTER 1
37709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37712 if test "$wxUSE_STATBMP" = "yes"; then
37713 cat >>confdefs.h
<<\_ACEOF
37714 #define wxUSE_STATBMP 1
37720 if test "$wxUSE_STATBOX" = "yes"; then
37721 cat >>confdefs.h
<<\_ACEOF
37722 #define wxUSE_STATBOX 1
37728 if test "$wxUSE_STATTEXT" = "yes"; then
37729 cat >>confdefs.h
<<\_ACEOF
37730 #define wxUSE_STATTEXT 1
37736 if test "$wxUSE_STATLINE" = "yes"; then
37737 cat >>confdefs.h
<<\_ACEOF
37738 #define wxUSE_STATLINE 1
37744 if test "$wxUSE_STATUSBAR" = "yes"; then
37745 cat >>confdefs.h
<<\_ACEOF
37746 #define wxUSE_NATIVE_STATUSBAR 1
37749 cat >>confdefs.h
<<\_ACEOF
37750 #define wxUSE_STATUSBAR 1
37755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37758 if test "$wxUSE_TABDIALOG" = "yes"; then
37759 cat >>confdefs.h
<<\_ACEOF
37760 #define wxUSE_TAB_DIALOG 1
37763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37766 if test "$wxUSE_TEXTCTRL" = "yes"; then
37767 cat >>confdefs.h
<<\_ACEOF
37768 #define wxUSE_TEXTCTRL 1
37772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37775 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37776 if test "$wxUSE_COCOA" = 1 ; then
37777 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37778 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37781 if test "$wxUSE_PM" = 1; then
37782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37783 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37787 if test "$wxUSE_UNIVERSAL" = "yes"; then
37788 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37789 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37793 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37794 cat >>confdefs.h
<<\_ACEOF
37795 #define wxUSE_TOGGLEBTN 1
37802 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37803 cat >>confdefs.h
<<\_ACEOF
37804 #define wxUSE_TOOLBAR_SIMPLE 1
37807 wxUSE_TOOLBAR
="yes"
37811 if test "$wxUSE_TOOLBAR" = "yes"; then
37812 cat >>confdefs.h
<<\_ACEOF
37813 #define wxUSE_TOOLBAR 1
37818 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37819 wxUSE_TOOLBAR_NATIVE
="yes"
37822 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37823 cat >>confdefs.h
<<\_ACEOF
37824 #define wxUSE_TOOLBAR_NATIVE 1
37830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37833 if test "$wxUSE_TOOLTIPS" = "yes"; then
37834 if test "$wxUSE_MOTIF" = 1; then
37835 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37836 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37838 if test "$wxUSE_UNIVERSAL" = "yes"; then
37839 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37840 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37842 cat >>confdefs.h
<<\_ACEOF
37843 #define wxUSE_TOOLTIPS 1
37850 if test "$wxUSE_TREECTRL" = "yes"; then
37851 if test "$wxUSE_IMAGLIST" = "yes"; then
37852 cat >>confdefs.h
<<\_ACEOF
37853 #define wxUSE_TREECTRL 1
37857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37859 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37860 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37864 if test "$wxUSE_POPUPWIN" = "yes"; then
37865 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37866 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37867 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37869 if test "$wxUSE_PM" = 1; then
37870 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37871 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37873 cat >>confdefs.h
<<\_ACEOF
37874 #define wxUSE_POPUPWIN 1
37883 if test "$wxUSE_TIPWINDOW" = "yes"; then
37884 if test "$wxUSE_PM" = 1; then
37885 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37886 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37888 cat >>confdefs.h
<<\_ACEOF
37889 #define wxUSE_TIPWINDOW 1
37895 if test "$USES_CONTROLS" = 1; then
37896 cat >>confdefs.h
<<\_ACEOF
37897 #define wxUSE_CONTROLS 1
37903 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37904 cat >>confdefs.h
<<\_ACEOF
37905 #define wxUSE_ACCESSIBILITY 1
37908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37911 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37912 cat >>confdefs.h
<<\_ACEOF
37913 #define wxUSE_DRAGIMAGE 1
37916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37919 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37920 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37921 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37922 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37924 cat >>confdefs.h
<<\_ACEOF
37925 #define wxUSE_EXCEPTIONS 1
37928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37933 if test "$wxUSE_HTML" = "yes"; then
37934 cat >>confdefs.h
<<\_ACEOF
37935 #define wxUSE_HTML 1
37939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37940 if test "$wxUSE_MAC" = 1; then
37941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37944 if test "$wxUSE_WEBKIT" = "yes"; then
37945 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37946 old_CPPFLAGS
="$CPPFLAGS"
37947 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37948 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37949 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37950 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37951 echo $ECHO_N "(cached) $ECHO_C" >&6
37953 cat >conftest.
$ac_ext <<_ACEOF
37956 cat confdefs.h
>>conftest.
$ac_ext
37957 cat >>conftest.
$ac_ext <<_ACEOF
37958 /* end confdefs.h. */
37959 #include <Carbon/Carbon.h>
37961 #include <WebKit/HIWebView.h>
37963 rm -f conftest.
$ac_objext
37964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37965 (eval $ac_compile) 2>conftest.er1
37967 grep -v '^ *+' conftest.er1
>conftest.err
37969 cat conftest.err
>&5
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); } &&
37972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37974 (eval $ac_try) 2>&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); }; } &&
37978 { ac_try
='test -s conftest.$ac_objext'
37979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37980 (eval $ac_try) 2>&5
37982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983 (exit $ac_status); }; }; then
37984 ac_cv_header_WebKit_HIWebView_h
=yes
37986 echo "$as_me: failed program was:" >&5
37987 sed 's/^/| /' conftest.
$ac_ext >&5
37989 ac_cv_header_WebKit_HIWebView_h
=no
37991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37993 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37994 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37995 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37997 cat >>confdefs.h
<<\_ACEOF
37998 #define wxUSE_WEBKIT 1
38001 WEBKIT_LINK
="-framework WebKit"
38005 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38006 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38012 CPPFLAGS
="$old_CPPFLAGS"
38013 elif test "$wxUSE_COCOA" = 1; then
38014 cat >>confdefs.h
<<\_ACEOF
38015 #define wxUSE_WEBKIT 1
38024 if test "$wxUSE_XRC" = "yes"; then
38025 if test "$wxUSE_XML" != "yes"; then
38026 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38027 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38030 cat >>confdefs.h
<<\_ACEOF
38031 #define wxUSE_XRC 1
38035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
38039 if test "$wxUSE_MENUS" = "yes"; then
38040 cat >>confdefs.h
<<\_ACEOF
38041 #define wxUSE_MENUS 1
38044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38047 if test "$wxUSE_METAFILE" = "yes"; then
38048 cat >>confdefs.h
<<\_ACEOF
38049 #define wxUSE_METAFILE 1
38054 if test "$wxUSE_MIMETYPE" = "yes"; then
38055 cat >>confdefs.h
<<\_ACEOF
38056 #define wxUSE_MIMETYPE 1
38061 if test "$wxUSE_MINIFRAME" = "yes"; then
38062 cat >>confdefs.h
<<\_ACEOF
38063 #define wxUSE_MINIFRAME 1
38066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38069 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38070 cat >>confdefs.h
<<\_ACEOF
38071 #define wxUSE_SYSTEM_OPTIONS 1
38074 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38075 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38081 if test "$wxUSE_VALIDATORS" = "yes"; then
38082 cat >>confdefs.h
<<\_ACEOF
38083 #define wxUSE_VALIDATORS 1
38086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38089 if test "$wxUSE_PALETTE" = "yes" ; then
38090 cat >>confdefs.h
<<\_ACEOF
38091 #define wxUSE_PALETTE 1
38096 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38097 LIBS
=" -lunicows $LIBS"
38101 if test "$wxUSE_IMAGE" = "yes" ; then
38102 cat >>confdefs.h
<<\_ACEOF
38103 #define wxUSE_IMAGE 1
38107 if test "$wxUSE_GIF" = "yes" ; then
38108 cat >>confdefs.h
<<\_ACEOF
38109 #define wxUSE_GIF 1
38114 if test "$wxUSE_PCX" = "yes" ; then
38115 cat >>confdefs.h
<<\_ACEOF
38116 #define wxUSE_PCX 1
38121 if test "$wxUSE_IFF" = "yes" ; then
38122 cat >>confdefs.h
<<\_ACEOF
38123 #define wxUSE_IFF 1
38128 if test "$wxUSE_PNM" = "yes" ; then
38129 cat >>confdefs.h
<<\_ACEOF
38130 #define wxUSE_PNM 1
38135 if test "$wxUSE_XPM" = "yes" ; then
38136 cat >>confdefs.h
<<\_ACEOF
38137 #define wxUSE_XPM 1
38142 if test "$wxUSE_ICO_CUR" = "yes" ; then
38143 cat >>confdefs.h
<<\_ACEOF
38144 #define wxUSE_ICO_CUR 1
38151 if test "$wxUSE_CHOICEDLG" = "yes"; then
38152 cat >>confdefs.h
<<\_ACEOF
38153 #define wxUSE_CHOICEDLG 1
38158 if test "$wxUSE_COLOURDLG" = "yes"; then
38159 cat >>confdefs.h
<<\_ACEOF
38160 #define wxUSE_COLOURDLG 1
38165 if test "$wxUSE_FILEDLG" = "yes"; then
38166 cat >>confdefs.h
<<\_ACEOF
38167 #define wxUSE_FILEDLG 1
38172 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38173 cat >>confdefs.h
<<\_ACEOF
38174 #define wxUSE_FINDREPLDLG 1
38179 if test "$wxUSE_FONTDLG" = "yes"; then
38180 cat >>confdefs.h
<<\_ACEOF
38181 #define wxUSE_FONTDLG 1
38186 if test "$wxUSE_DIRDLG" = "yes"; then
38187 if test "$wxUSE_TREECTRL" != "yes"; then
38188 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38189 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38191 cat >>confdefs.h
<<\_ACEOF
38192 #define wxUSE_DIRDLG 1
38198 if test "$wxUSE_MSGDLG" = "yes"; then
38199 cat >>confdefs.h
<<\_ACEOF
38200 #define wxUSE_MSGDLG 1
38205 if test "$wxUSE_NUMBERDLG" = "yes"; then
38206 cat >>confdefs.h
<<\_ACEOF
38207 #define wxUSE_NUMBERDLG 1
38212 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38213 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38214 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38215 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38217 cat >>confdefs.h
<<\_ACEOF
38218 #define wxUSE_PROGRESSDLG 1
38224 if test "$wxUSE_SPLASH" = "yes"; then
38225 cat >>confdefs.h
<<\_ACEOF
38226 #define wxUSE_SPLASH 1
38229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
38232 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38233 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38234 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38235 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38237 cat >>confdefs.h
<<\_ACEOF
38238 #define wxUSE_STARTUP_TIPS 1
38244 if test "$wxUSE_TEXTDLG" = "yes"; then
38245 cat >>confdefs.h
<<\_ACEOF
38246 #define wxUSE_TEXTDLG 1
38251 if test "$wxUSE_WIZARDDLG" = "yes"; then
38252 cat >>confdefs.h
<<\_ACEOF
38253 #define wxUSE_WIZARDDLG 1
38256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38260 if test "$cross_compiling" = "yes"; then
38263 OSINFO
=`uname -s -r -m`
38264 OSINFO
="\"$OSINFO\""
38267 cat >>confdefs.h
<<_ACEOF
38268 #define WXWIN_OS_DESCRIPTION $OSINFO
38273 if test "x$prefix" != "xNONE"; then
38276 wxPREFIX
=$ac_default_prefix
38279 cat >>confdefs.h
<<_ACEOF
38280 #define wxINSTALL_PREFIX "$wxPREFIX"
38286 CORE_BASE_LIBS
="net base"
38287 CORE_GUI_LIBS
="adv core"
38289 if test "$wxUSE_XML" = "yes" ; then
38290 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38292 if test "$wxUSE_ODBC" != "no" ; then
38293 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38294 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38296 if test "$wxUSE_HTML" = "yes" ; then
38297 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38299 if test "$wxUSE_XRC" = "yes" ; then
38300 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
38303 if test "$wxUSE_GUI" != "yes"; then
38314 if test "$wxUSE_MAC" = 1 ; then
38315 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38316 if test "$USE_DARWIN" = 1; then
38317 LDFLAGS
="$LDFLAGS -framework QuickTime"
38319 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
38322 if test "$USE_DARWIN" = 1; then
38323 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38325 LDFLAGS
="$LDFLAGS -lCarbonLib"
38328 if test "$wxUSE_COCOA" = 1 ; then
38329 LDFLAGS
="$LDFLAGS -framework Cocoa"
38333 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38341 echo "$as_me:$LINENO: checking for $ac_func" >&5
38342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38343 if eval "test \"\${$as_ac_var+set}\" = set"; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38346 cat >conftest.
$ac_ext <<_ACEOF
38349 cat confdefs.h
>>conftest.
$ac_ext
38350 cat >>conftest.
$ac_ext <<_ACEOF
38351 /* end confdefs.h. */
38352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38354 #define $ac_func innocuous_$ac_func
38356 /* System header to define __stub macros and hopefully few prototypes,
38357 which can conflict with char $ac_func (); below.
38358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38359 <limits.h> exists even on freestanding compilers. */
38362 # include <limits.h>
38364 # include <assert.h>
38369 /* Override any gcc2 internal prototype to avoid an error. */
38374 /* We use char because int might match the return type of a gcc2
38375 builtin and then its argument prototype would still apply. */
38377 /* The GNU C library defines this for functions which it implements
38378 to always fail with ENOSYS. Some functions are actually named
38379 something starting with __ and the normal name is an alias. */
38380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38383 char (*f) () = $ac_func;
38392 return f != $ac_func;
38397 rm -f conftest.
$ac_objext conftest
$ac_exeext
38398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38399 (eval $ac_link) 2>conftest.er1
38401 grep -v '^ *+' conftest.er1
>conftest.err
38403 cat conftest.err
>&5
38404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38405 (exit $ac_status); } &&
38406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38408 (eval $ac_try) 2>&5
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); }; } &&
38412 { ac_try
='test -s conftest$ac_exeext'
38413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38414 (eval $ac_try) 2>&5
38416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 (exit $ac_status); }; }; then
38418 eval "$as_ac_var=yes"
38420 echo "$as_me: failed program was:" >&5
38421 sed 's/^/| /' conftest.
$ac_ext >&5
38423 eval "$as_ac_var=no"
38425 rm -f conftest.err conftest.
$ac_objext \
38426 conftest
$ac_exeext conftest.
$ac_ext
38428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38430 if test `eval echo '${'$as_ac_var'}'` = yes; then
38431 cat >>confdefs.h
<<_ACEOF
38432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38439 for ac_func
in floor
38441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38442 echo "$as_me:$LINENO: checking for $ac_func" >&5
38443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38444 if eval "test \"\${$as_ac_var+set}\" = set"; then
38445 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 cat >conftest.
$ac_ext <<_ACEOF
38450 cat confdefs.h
>>conftest.
$ac_ext
38451 cat >>conftest.
$ac_ext <<_ACEOF
38452 /* end confdefs.h. */
38453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38455 #define $ac_func innocuous_$ac_func
38457 /* System header to define __stub macros and hopefully few prototypes,
38458 which can conflict with char $ac_func (); below.
38459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38460 <limits.h> exists even on freestanding compilers. */
38463 # include <limits.h>
38465 # include <assert.h>
38470 /* Override any gcc2 internal prototype to avoid an error. */
38475 /* We use char because int might match the return type of a gcc2
38476 builtin and then its argument prototype would still apply. */
38478 /* The GNU C library defines this for functions which it implements
38479 to always fail with ENOSYS. Some functions are actually named
38480 something starting with __ and the normal name is an alias. */
38481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38484 char (*f) () = $ac_func;
38493 return f != $ac_func;
38498 rm -f conftest.
$ac_objext conftest
$ac_exeext
38499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38500 (eval $ac_link) 2>conftest.er1
38502 grep -v '^ *+' conftest.er1
>conftest.err
38504 cat conftest.err
>&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } &&
38507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38509 (eval $ac_try) 2>&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); }; } &&
38513 { ac_try
='test -s conftest$ac_exeext'
38514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515 (eval $ac_try) 2>&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); }; }; then
38519 eval "$as_ac_var=yes"
38521 echo "$as_me: failed program was:" >&5
38522 sed 's/^/| /' conftest.
$ac_ext >&5
38524 eval "$as_ac_var=no"
38526 rm -f conftest.err conftest.
$ac_objext \
38527 conftest
$ac_exeext conftest.
$ac_ext
38529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38531 if test `eval echo '${'$as_ac_var'}'` = yes; then
38532 cat >>confdefs.h
<<_ACEOF
38533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38539 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38540 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38541 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38542 echo "$as_me:$LINENO: result: yes" >&5
38543 echo "${ECHO_T}yes" >&6
38545 echo "$as_me:$LINENO: result: no" >&5
38546 echo "${ECHO_T}no" >&6
38548 # use different functions to avoid configure caching
38554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38555 echo "$as_me:$LINENO: checking for $ac_func" >&5
38556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38557 if eval "test \"\${$as_ac_var+set}\" = set"; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38560 cat >conftest.
$ac_ext <<_ACEOF
38563 cat confdefs.h
>>conftest.
$ac_ext
38564 cat >>conftest.
$ac_ext <<_ACEOF
38565 /* end confdefs.h. */
38566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38568 #define $ac_func innocuous_$ac_func
38570 /* System header to define __stub macros and hopefully few prototypes,
38571 which can conflict with char $ac_func (); below.
38572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38573 <limits.h> exists even on freestanding compilers. */
38576 # include <limits.h>
38578 # include <assert.h>
38583 /* Override any gcc2 internal prototype to avoid an error. */
38588 /* We use char because int might match the return type of a gcc2
38589 builtin and then its argument prototype would still apply. */
38591 /* The GNU C library defines this for functions which it implements
38592 to always fail with ENOSYS. Some functions are actually named
38593 something starting with __ and the normal name is an alias. */
38594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38597 char (*f) () = $ac_func;
38606 return f != $ac_func;
38611 rm -f conftest.
$ac_objext conftest
$ac_exeext
38612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38613 (eval $ac_link) 2>conftest.er1
38615 grep -v '^ *+' conftest.er1
>conftest.err
38617 cat conftest.err
>&5
38618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38619 (exit $ac_status); } &&
38620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38622 (eval $ac_try) 2>&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); }; } &&
38626 { ac_try
='test -s conftest$ac_exeext'
38627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628 (eval $ac_try) 2>&5
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); }; }; then
38632 eval "$as_ac_var=yes"
38634 echo "$as_me: failed program was:" >&5
38635 sed 's/^/| /' conftest.
$ac_ext >&5
38637 eval "$as_ac_var=no"
38639 rm -f conftest.err conftest.
$ac_objext \
38640 conftest
$ac_exeext conftest.
$ac_ext
38642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38644 if test `eval echo '${'$as_ac_var'}'` = yes; then
38645 cat >>confdefs.h
<<_ACEOF
38646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38653 for ac_func
in ceil
38655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38656 echo "$as_me:$LINENO: checking for $ac_func" >&5
38657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38658 if eval "test \"\${$as_ac_var+set}\" = set"; then
38659 echo $ECHO_N "(cached) $ECHO_C" >&6
38661 cat >conftest.
$ac_ext <<_ACEOF
38664 cat confdefs.h
>>conftest.
$ac_ext
38665 cat >>conftest.
$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38669 #define $ac_func innocuous_$ac_func
38671 /* System header to define __stub macros and hopefully few prototypes,
38672 which can conflict with char $ac_func (); below.
38673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38674 <limits.h> exists even on freestanding compilers. */
38677 # include <limits.h>
38679 # include <assert.h>
38684 /* Override any gcc2 internal prototype to avoid an error. */
38689 /* We use char because int might match the return type of a gcc2
38690 builtin and then its argument prototype would still apply. */
38692 /* The GNU C library defines this for functions which it implements
38693 to always fail with ENOSYS. Some functions are actually named
38694 something starting with __ and the normal name is an alias. */
38695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38698 char (*f) () = $ac_func;
38707 return f != $ac_func;
38712 rm -f conftest.
$ac_objext conftest
$ac_exeext
38713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38714 (eval $ac_link) 2>conftest.er1
38716 grep -v '^ *+' conftest.er1
>conftest.err
38718 cat conftest.err
>&5
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); } &&
38721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; } &&
38727 { ac_try
='test -s conftest$ac_exeext'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; }; then
38733 eval "$as_ac_var=yes"
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.
$ac_ext >&5
38738 eval "$as_ac_var=no"
38740 rm -f conftest.err conftest.
$ac_objext \
38741 conftest
$ac_exeext conftest.
$ac_ext
38743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38745 if test `eval echo '${'$as_ac_var'}'` = yes; then
38746 cat >>confdefs.h
<<_ACEOF
38747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38753 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38754 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38755 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38756 echo "$as_me:$LINENO: result: yes" >&5
38757 echo "${ECHO_T}yes" >&6
38759 echo "$as_me:$LINENO: result: no" >&5
38760 echo "${ECHO_T}no" >&6
38761 # not sure we should warn the user, crash, etc.
38765 if test "$wxUSE_GUI" = "yes"; then
38768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38769 drawing dynamic erase event exec font image \
38770 minimal propsize rotate shaped widgets render"
38772 if test "$wxUSE_MONOLITHIC" != "yes"; then
38773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38776 SAMPLES_SUBDIRS
="console"
38780 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38781 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38783 if test "$GXX" = yes ; then
38785 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
38788 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38790 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38791 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
38792 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38794 if test "x$MWCC" = "xyes"; then
38796 CC
="$CC -cwd source -I-"
38797 CXX
="$CXX -cwd source -I-"
38802 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38803 EXTRALIBS_XML
="$EXPAT_LINK"
38804 EXTRALIBS_HTML
="$MSPACK_LINK"
38805 EXTRALIBS_ODBC
="$ODBC_LINK"
38806 if test "$wxUSE_GUI" = "yes"; then
38807 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38809 if test "$wxUSE_OPENGL" = "yes"; then
38810 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38813 LDFLAGS
="$LDFLAGS $PROFILE"
38815 if test "$wxUSE_GTK" = 1; then
38818 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38821 WXCONFIG_EXTRALIBS
="$LIBS"
38823 if test "$wxUSE_REGEX" = "builtin" ; then
38824 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38826 if test "$wxUSE_EXPAT" = "builtin" ; then
38827 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38829 if test "$wxUSE_ODBC" = "builtin" ; then
38830 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38832 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38833 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38835 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38836 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38838 if test "$wxUSE_LIBPNG" = "builtin" ; then
38839 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38841 if test "$wxUSE_ZLIB" = "builtin" ; then
38842 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38844 if test "$wxUSE_ODBC" = "builtin" ; then
38845 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38848 for i
in $wxconfig_3rdparty ; do
38849 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38853 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38867 if test $wxUSE_MONOLITHIC = "yes" ; then
38873 if test $wxUSE_PLUGINS = "yes" ; then
38879 if test $wxUSE_ODBC != "no" ; then
38885 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38913 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38924 TOOLKIT_USER
="GTK+"
38925 if test "$WXGTK20" = 1; then
38926 TOOLKIT_USER
="$TOOLKIT_USER 2"
38931 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38938 if test "x$BAKEFILE_HOST" = "x"; then
38939 BAKEFILE_HOST
="${host}"
38942 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38944 if test -n "$ac_tool_prefix"; then
38945 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38946 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38947 echo "$as_me:$LINENO: checking for $ac_word" >&5
38948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38949 if test "${ac_cv_prog_RANLIB+set}" = set; then
38950 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 if test -n "$RANLIB"; then
38953 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38956 for as_dir
in $PATH
38959 test -z "$as_dir" && as_dir
=.
38960 for ac_exec_ext
in '' $ac_executable_extensions; do
38961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38962 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38971 RANLIB
=$ac_cv_prog_RANLIB
38972 if test -n "$RANLIB"; then
38973 echo "$as_me:$LINENO: result: $RANLIB" >&5
38974 echo "${ECHO_T}$RANLIB" >&6
38976 echo "$as_me:$LINENO: result: no" >&5
38977 echo "${ECHO_T}no" >&6
38981 if test -z "$ac_cv_prog_RANLIB"; then
38982 ac_ct_RANLIB
=$RANLIB
38983 # Extract the first word of "ranlib", so it can be a program name with args.
38984 set dummy ranlib
; ac_word
=$2
38985 echo "$as_me:$LINENO: checking for $ac_word" >&5
38986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38987 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 if test -n "$ac_ct_RANLIB"; then
38991 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38994 for as_dir
in $PATH
38997 test -z "$as_dir" && as_dir
=.
38998 for ac_exec_ext
in '' $ac_executable_extensions; do
38999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39000 ac_cv_prog_ac_ct_RANLIB
="ranlib"
39001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39007 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39010 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39011 if test -n "$ac_ct_RANLIB"; then
39012 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39013 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39015 echo "$as_me:$LINENO: result: no" >&5
39016 echo "${ECHO_T}no" >&6
39019 RANLIB
=$ac_ct_RANLIB
39021 RANLIB
="$ac_cv_prog_RANLIB"
39024 # Find a good install program. We prefer a C program (faster),
39025 # so one script is as good as another. But avoid the broken or
39026 # incompatible versions:
39027 # SysV /etc/install, /usr/sbin/install
39028 # SunOS /usr/etc/install
39029 # IRIX /sbin/install
39031 # AmigaOS /C/install, which installs bootblocks on floppy discs
39032 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39033 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39034 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39035 # OS/2's system install, which has a completely different semantic
39036 # ./install, which can be erroneously created by make from ./install.sh.
39037 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39038 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39039 if test -z "$INSTALL"; then
39040 if test "${ac_cv_path_install+set}" = set; then
39041 echo $ECHO_N "(cached) $ECHO_C" >&6
39043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39044 for as_dir
in $PATH
39047 test -z "$as_dir" && as_dir
=.
39048 # Account for people who put trailing slashes in PATH elements.
39050 .
/ | .
// | /cC
/* | \
39051 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39052 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39055 # OSF1 and SCO ODT 3.0 have their own names for install.
39056 # Don't use installbsd from OSF since it installs stuff as root
39058 for ac_prog
in ginstall scoinst
install; do
39059 for ac_exec_ext
in '' $ac_executable_extensions; do
39060 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39061 if test $ac_prog = install &&
39062 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39063 # AIX install. It has an incompatible calling convention.
39065 elif test $ac_prog = install &&
39066 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39067 # program-specific install script used by HP pwplus--don't use.
39070 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39082 if test "${ac_cv_path_install+set}" = set; then
39083 INSTALL
=$ac_cv_path_install
39085 # As a last resort, use the slow shell script. We don't cache a
39086 # path for INSTALL within a source directory, because that will
39087 # break other packages using the cache if that directory is
39088 # removed, or if the path is relative.
39089 INSTALL
=$ac_install_sh
39092 echo "$as_me:$LINENO: result: $INSTALL" >&5
39093 echo "${ECHO_T}$INSTALL" >&6
39095 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39096 # It thinks the first close brace ends the variable substitution.
39097 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39099 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39101 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39103 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39106 if test "$LN_S" = "ln -s"; then
39107 echo "$as_me:$LINENO: result: yes" >&5
39108 echo "${ECHO_T}yes" >&6
39110 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39111 echo "${ECHO_T}no, using $LN_S" >&6
39115 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39116 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39117 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39118 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39119 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 cat >conftest.
make <<\_ACEOF
39123 @
echo 'ac_maketemp="$(MAKE)"'
39125 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39126 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39127 if test -n "$ac_maketemp"; then
39128 eval ac_cv_prog_make_
${ac_make}_set
=yes
39130 eval ac_cv_prog_make_
${ac_make}_set
=no
39132 rm -f conftest.
make
39134 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39135 echo "$as_me:$LINENO: result: yes" >&5
39136 echo "${ECHO_T}yes" >&6
39139 echo "$as_me:$LINENO: result: no" >&5
39140 echo "${ECHO_T}no" >&6
39141 SET_MAKE
="MAKE=${MAKE-make}"
39146 if test -n "$ac_tool_prefix"; then
39147 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39148 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39149 echo "$as_me:$LINENO: checking for $ac_word" >&5
39150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39151 if test "${ac_cv_prog_AR+set}" = set; then
39152 echo $ECHO_N "(cached) $ECHO_C" >&6
39154 if test -n "$AR"; then
39155 ac_cv_prog_AR
="$AR" # Let the user override the test.
39157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39158 for as_dir
in $PATH
39161 test -z "$as_dir" && as_dir
=.
39162 for ac_exec_ext
in '' $ac_executable_extensions; do
39163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39164 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39174 if test -n "$AR"; then
39175 echo "$as_me:$LINENO: result: $AR" >&5
39176 echo "${ECHO_T}$AR" >&6
39178 echo "$as_me:$LINENO: result: no" >&5
39179 echo "${ECHO_T}no" >&6
39183 if test -z "$ac_cv_prog_AR"; then
39185 # Extract the first word of "ar", so it can be a program name with args.
39186 set dummy
ar; ac_word
=$2
39187 echo "$as_me:$LINENO: checking for $ac_word" >&5
39188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39189 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39190 echo $ECHO_N "(cached) $ECHO_C" >&6
39192 if test -n "$ac_ct_AR"; then
39193 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39196 for as_dir
in $PATH
39199 test -z "$as_dir" && as_dir
=.
39200 for ac_exec_ext
in '' $ac_executable_extensions; do
39201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39202 ac_cv_prog_ac_ct_AR
="ar"
39203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39209 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39212 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39213 if test -n "$ac_ct_AR"; then
39214 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39215 echo "${ECHO_T}$ac_ct_AR" >&6
39217 echo "$as_me:$LINENO: result: no" >&5
39218 echo "${ECHO_T}no" >&6
39223 AR
="$ac_cv_prog_AR"
39226 if test -n "$ac_tool_prefix"; then
39227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39228 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39229 echo "$as_me:$LINENO: checking for $ac_word" >&5
39230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39231 if test "${ac_cv_prog_STRIP+set}" = set; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39234 if test -n "$STRIP"; then
39235 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39238 for as_dir
in $PATH
39241 test -z "$as_dir" && as_dir
=.
39242 for ac_exec_ext
in '' $ac_executable_extensions; do
39243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39244 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39253 STRIP
=$ac_cv_prog_STRIP
39254 if test -n "$STRIP"; then
39255 echo "$as_me:$LINENO: result: $STRIP" >&5
39256 echo "${ECHO_T}$STRIP" >&6
39258 echo "$as_me:$LINENO: result: no" >&5
39259 echo "${ECHO_T}no" >&6
39263 if test -z "$ac_cv_prog_STRIP"; then
39265 # Extract the first word of "strip", so it can be a program name with args.
39266 set dummy strip
; ac_word
=$2
39267 echo "$as_me:$LINENO: checking for $ac_word" >&5
39268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39269 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39270 echo $ECHO_N "(cached) $ECHO_C" >&6
39272 if test -n "$ac_ct_STRIP"; then
39273 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39276 for as_dir
in $PATH
39279 test -z "$as_dir" && as_dir
=.
39280 for ac_exec_ext
in '' $ac_executable_extensions; do
39281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39282 ac_cv_prog_ac_ct_STRIP
="strip"
39283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39289 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39292 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39293 if test -n "$ac_ct_STRIP"; then
39294 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39295 echo "${ECHO_T}$ac_ct_STRIP" >&6
39297 echo "$as_me:$LINENO: result: no" >&5
39298 echo "${ECHO_T}no" >&6
39303 STRIP
="$ac_cv_prog_STRIP"
39306 if test -n "$ac_tool_prefix"; then
39307 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39308 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39309 echo "$as_me:$LINENO: checking for $ac_word" >&5
39310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39311 if test "${ac_cv_prog_NM+set}" = set; then
39312 echo $ECHO_N "(cached) $ECHO_C" >&6
39314 if test -n "$NM"; then
39315 ac_cv_prog_NM
="$NM" # Let the user override the test.
39317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39318 for as_dir
in $PATH
39321 test -z "$as_dir" && as_dir
=.
39322 for ac_exec_ext
in '' $ac_executable_extensions; do
39323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39324 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39334 if test -n "$NM"; then
39335 echo "$as_me:$LINENO: result: $NM" >&5
39336 echo "${ECHO_T}$NM" >&6
39338 echo "$as_me:$LINENO: result: no" >&5
39339 echo "${ECHO_T}no" >&6
39343 if test -z "$ac_cv_prog_NM"; then
39345 # Extract the first word of "nm", so it can be a program name with args.
39346 set dummy nm
; ac_word
=$2
39347 echo "$as_me:$LINENO: checking for $ac_word" >&5
39348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39349 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 if test -n "$ac_ct_NM"; then
39353 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39356 for as_dir
in $PATH
39359 test -z "$as_dir" && as_dir
=.
39360 for ac_exec_ext
in '' $ac_executable_extensions; do
39361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39362 ac_cv_prog_ac_ct_NM
="nm"
39363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39369 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39372 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39373 if test -n "$ac_ct_NM"; then
39374 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39375 echo "${ECHO_T}$ac_ct_NM" >&6
39377 echo "$as_me:$LINENO: result: no" >&5
39378 echo "${ECHO_T}no" >&6
39383 NM
="$ac_cv_prog_NM"
39387 case ${BAKEFILE_HOST} in
39389 INSTALL_DIR
="mkdir -p"
39391 *) INSTALL_DIR
="$INSTALL -d"
39397 case ${BAKEFILE_HOST} in
39398 *-*-cygwin* | *-*-mingw32* )
39399 LDFLAGS_GUI
="-mwindows"
39405 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39406 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39407 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39408 echo $ECHO_N "(cached) $ECHO_C" >&6
39411 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39412 egrep -s GNU
> /dev
/null
); then
39413 bakefile_cv_prog_makeisgnu
="yes"
39415 bakefile_cv_prog_makeisgnu
="no"
39419 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39420 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39422 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39439 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39440 case "${BAKEFILE_HOST}" in
39441 *-*-cygwin* | *-*-mingw32* )
39447 *-pc-os2_emx | *-pc-os2-emx )
39450 powerpc
-*-darwin* )
39457 powerpc
-apple-macos* )
39466 case "$BAKEFILE_FORCE_PLATFORM" in
39487 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39488 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39489 { (exit 1); exit 1; }; }
39504 # Check whether --enable-omf or --disable-omf was given.
39505 if test "${enable_omf+set}" = set; then
39506 enableval
="$enable_omf"
39507 bk_os2_use_omf
="$enableval"
39510 case "${BAKEFILE_HOST}" in
39512 CFLAGS
="$CFLAGS -fno-common"
39513 CXXFLAGS
="$CXXFLAGS -fno-common"
39516 *-pc-os2_emx | *-pc-os2-emx )
39517 if test "x$bk_os2_use_omf" = "xyes" ; then
39520 LDFLAGS
="-Zomf $LDFLAGS"
39521 CFLAGS
="-Zomf $CFLAGS"
39522 CXXFLAGS
="-Zomf $CXXFLAGS"
39530 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39536 SO_SUFFIX_MODULE
="so"
39541 DLLPREFIX_MODULE
=""
39544 case "${BAKEFILE_HOST}" in
39547 SO_SUFFIX_MODULE
="sl"
39551 SO_SUFFIX_MODULE
="a"
39553 *-*-cygwin* | *-*-mingw32* )
39555 SO_SUFFIX_MODULE
="dll"
39556 DLLIMP_SUFFIX
="dll.a"
39564 *-pc-os2_emx | *-pc-os2-emx )
39566 SO_SUFFIX_MODULE
="dll"
39567 DLLIMP_SUFFIX
=$OS2_LIBEXT
39571 LIBEXT
=".$OS2_LIBEXT"
39573 powerpc
-*-darwin* )
39575 SO_SUFFIX_MODULE
="bundle"
39579 if test "x$DLLIMP_SUFFIX" = "x" ; then
39580 DLLIMP_SUFFIX
="$SO_SUFFIX"
39594 if test "x$GCC" = "xyes"; then
39598 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39599 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39601 case "${BAKEFILE_HOST}" in
39603 if test "x$GCC" != "xyes"; then
39604 LDFLAGS
="$LDFLAGS -L/usr/lib"
39606 SHARED_LD_CC
="${CC} -b -o"
39607 SHARED_LD_CXX
="${CXX} -b -o"
39613 if test "x$GCC" != "xyes"; then
39614 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39615 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39616 if test "${bakefile_cv_prog_icc+set}" = set; then
39617 echo $ECHO_N "(cached) $ECHO_C" >&6
39620 cat >conftest.
$ac_ext <<_ACEOF
39623 cat confdefs.h
>>conftest.
$ac_ext
39624 cat >>conftest.
$ac_ext <<_ACEOF
39625 /* end confdefs.h. */
39631 #ifndef __INTEL_COMPILER
39639 rm -f conftest.
$ac_objext
39640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39641 (eval $ac_compile) 2>conftest.er1
39643 grep -v '^ *+' conftest.er1
>conftest.err
39645 cat conftest.err
>&5
39646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647 (exit $ac_status); } &&
39648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39650 (eval $ac_try) 2>&5
39652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39653 (exit $ac_status); }; } &&
39654 { ac_try
='test -s conftest.$ac_objext'
39655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39656 (eval $ac_try) 2>&5
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); }; }; then
39660 bakefile_cv_prog_icc
=yes
39662 echo "$as_me: failed program was:" >&5
39663 sed 's/^/| /' conftest.
$ac_ext >&5
39665 bakefile_cv_prog_icc
=no
39668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39671 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39672 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39673 if test "$bakefile_cv_prog_icc" = "yes"; then
39680 if test "x$GCC" != xyes
; then
39681 SHARED_LD_CC
="${CC} -G -o"
39682 SHARED_LD_CXX
="${CXX} -G -o"
39689 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39690 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39691 if test "${wx_cv_gcc31+set}" = set; then
39692 echo $ECHO_N "(cached) $ECHO_C" >&6
39695 cat >conftest.
$ac_ext <<_ACEOF
39698 cat confdefs.h
>>conftest.
$ac_ext
39699 cat >>conftest.
$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39706 #if (__GNUC__ < 3) || \
39707 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39715 rm -f conftest.
$ac_objext
39716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39717 (eval $ac_compile) 2>conftest.er1
39719 grep -v '^ *+' conftest.er1
>conftest.err
39721 cat conftest.err
>&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); } &&
39724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39726 (eval $ac_try) 2>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); }; } &&
39730 { ac_try
='test -s conftest.$ac_objext'
39731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39732 (eval $ac_try) 2>&5
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); }; }; then
39740 echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.
$ac_ext >&5
39748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39751 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39752 echo "${ECHO_T}$wx_cv_gcc31" >&6
39753 if test "$wx_cv_gcc31" = "no"; then
39756 cat <<EOF >shared-ld-sh
39758 #-----------------------------------------------------------------------------
39759 #-- Name: distrib/mac/shared-ld-sh
39760 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39761 #-- Author: Gilles Depeyrot
39762 #-- Copyright: (c) 2002 Gilles Depeyrot
39763 #-- Licence: any use permitted
39764 #-----------------------------------------------------------------------------
39769 linking_flag="-dynamiclib"
39771 while test ${D}# -gt 0; do
39778 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39779 # collect these options and values
39780 args="${D}{args} ${D}1 ${D}2"
39784 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39785 # collect these options
39786 args="${D}{args} ${D}1"
39789 -dynamiclib|-bundle)
39790 linking_flag="${D}1"
39794 echo "shared-ld: unhandled option '${D}1'"
39798 *.o | *.a | *.dylib)
39799 # collect object files
39800 objects="${D}{objects} ${D}1"
39804 echo "shared-ld: unhandled argument '${D}1'"
39813 # Link one module containing all the others
39815 if test ${D}{verbose} = 1; then
39816 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39818 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39820 if test ${D}{status} != 0; then
39825 # Link the shared library from the single module created
39827 if test ${D}{verbose} = 1; then
39828 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39830 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39832 if test ${D}{status} != 0; then
39837 # Remove intermediate module
39839 rm -f master.${D}${D}.o
39844 chmod +x shared
-ld-sh
39846 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39847 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39848 SHARED_LD_CXX
="$SHARED_LD_CC"
39849 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39851 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39852 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39853 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39854 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39857 PIC_FLAG
="-dynamic -fPIC"
39861 if test "x$GCC" != "xyes"; then
39862 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39863 set dummy makeC
++SharedLib
; ac_word
=$2
39864 echo "$as_me:$LINENO: checking for $ac_word" >&5
39865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39866 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39867 echo $ECHO_N "(cached) $ECHO_C" >&6
39869 if test -n "$AIX_CXX_LD"; then
39870 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39873 for as_dir
in $PATH
39876 test -z "$as_dir" && as_dir
=.
39877 for ac_exec_ext
in '' $ac_executable_extensions; do
39878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39879 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39886 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39889 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39890 if test -n "$AIX_CXX_LD"; then
39891 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39892 echo "${ECHO_T}$AIX_CXX_LD" >&6
39894 echo "$as_me:$LINENO: result: no" >&5
39895 echo "${ECHO_T}no" >&6
39898 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39899 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39904 SHARED_LD_CC
="${LD} -nostart -o"
39905 SHARED_LD_CXX
="${LD} -nostart -o"
39909 if test "x$GCC" != "xyes"; then
39914 *-*-cygwin* | *-*-mingw32* )
39916 SHARED_LD_CC
="\$(CC) -shared -o"
39917 SHARED_LD_CXX
="\$(CXX) -shared -o"
39920 *-pc-os2_emx | *-pc-os2-emx )
39921 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39922 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39926 cat <<EOF >dllar.sh
39929 # dllar - a tool to build both a .dll and an .a file
39930 # from a set of object (.o) files for EMX/OS2.
39932 # Written by Andrew Zabolotny, bit@freya.etu.ru
39933 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39935 # This script will accept a set of files on the command line.
39936 # All the public symbols from the .o files will be exported into
39937 # a .DEF file, then linker will be run (through gcc) against them to
39938 # build a shared library consisting of all given .o files. All libraries
39939 # (.a) will be first decompressed into component .o files then act as
39940 # described above. You can optionally give a description (-d "description")
39941 # which will be put into .DLL. To see the list of accepted options (as well
39942 # as command-line format) simply run this program without options. The .DLL
39943 # is built to be imported by name (there is no guarantee that new versions
39944 # of the library you build will have same ordinals for same symbols).
39946 # dllar is free software; you can redistribute it and/or modify
39947 # it under the terms of the GNU General Public License as published by
39948 # the Free Software Foundation; either version 2, or (at your option)
39949 # any later version.
39951 # dllar is distributed in the hope that it will be useful,
39952 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39953 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39954 # GNU General Public License for more details.
39956 # You should have received a copy of the GNU General Public License
39957 # along with dllar; see the file COPYING. If not, write to the Free
39958 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39961 # To successfuly run this program you will need:
39962 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39963 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39965 # (used to build the .dll)
39967 # (used to create .def file from .o files)
39969 # (used to create .a file from .def file)
39970 # - GNU text utilites (cat, sort, uniq)
39971 # used to process emxexp output
39972 # - GNU file utilities (mv, rm)
39974 # - lxlite (optional, see flag below)
39975 # (used for general .dll cleanup)
39982 # basnam, variant of basename, which does _not_ remove the path, _iff_
39983 # second argument (suffix to remove) is given
39987 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39990 echo ${D}1 | sed 's/'${D}2'${D}//'
39993 echo "error in basnam ${D}*"
39999 # Cleanup temporary files and output
40002 for i in ${D}inputFiles ; do
40005 rm -rf \`basnam ${D}i !\`
40012 # Kill result in case of failure as there is just to many stupid make/nmake
40013 # things out there which doesn't do this.
40014 if [ ${D}# -eq 0 ]; then
40015 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40019 # Print usage and exit script with rc=1.
40021 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40022 echo ' [-name-mangler-script script.sh]'
40023 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40024 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40025 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40026 echo ' [*.o] [*.a]'
40027 echo '*> "output_file" should have no extension.'
40028 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40029 echo ' The import library name is derived from this and is set to "name".a,'
40030 echo ' unless overridden by -import'
40031 echo '*> "importlib_name" should have no extension.'
40032 echo ' If it has the .o, or .a extension, it is automatically removed.'
40033 echo ' This name is used as the import library name and may be longer and'
40034 echo ' more descriptive than the DLL name which has to follow the old '
40035 echo ' 8.3 convention of FAT.'
40036 echo '*> "script.sh may be given to override the output_file name by a'
40037 echo ' different name. It is mainly useful if the regular make process'
40038 echo ' of some package does not take into account OS/2 restriction of'
40039 echo ' DLL name lengths. It takes the importlib name as input and is'
40040 echo ' supposed to procude a shorter name as output. The script should'
40041 echo ' expect to get importlib_name without extension and should produce'
40042 echo ' a (max.) 8 letter name without extension.'
40043 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40044 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40045 echo ' These flags will be put at the start of GCC command line.'
40046 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40047 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40048 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40049 echo ' If the last character of a symbol is "*", all symbols beginning'
40050 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40051 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40052 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40053 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40054 echo ' C runtime DLLs.'
40055 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40056 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40057 echo ' unchanged to GCC at the end of command line.'
40058 echo '*> If you create a DLL from a library and you do not specify -o,'
40059 echo ' the basename for DLL and import library will be set to library name,'
40060 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40061 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40062 echo ' library will be renamed into gcc_s.a.'
40065 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40066 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40071 # Execute a command.
40072 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40073 # @Uses Whatever CleanUp() uses.
40079 if [ ${D}rcCmd -ne 0 ]; then
40080 echo "command failed, exit code="${D}rcCmd
40095 CFLAGS="-s -Zcrtdll"
40097 EXPORT_BY_ORDINALS=0
40102 case ${D}curDirS in
40106 curDirS=${D}{curDirS}"/"
40109 # Parse commandline
40112 while [ ${D}1 ]; do
40115 EXPORT_BY_ORDINALS=1;
40125 -name-mangler-script)
40146 exclude_symbols=${D}{exclude_symbols}${D}1" "
40150 library_flags=${D}{library_flags}${D}1" "
40169 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40172 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40173 if [ ${D}omfLinking -eq 1 ]; then
40174 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40176 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40181 if [ ${D}libsToLink -ne 0 ]; then
40182 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40184 for file in ${D}1 ; do
40185 if [ -f ${D}file ]; then
40186 inputFiles="${D}{inputFiles} ${D}file"
40190 if [ ${D}found -eq 0 ]; then
40191 echo "ERROR: No file(s) found: "${D}1
40198 done # iterate cmdline words
40201 if [ -z "${D}inputFiles" ]; then
40202 echo "dllar: no input files"
40206 # Now extract all .o files from .a files
40208 for file in ${D}inputFiles ; do
40219 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40224 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40226 if [ ${D}? -ne 0 ]; then
40227 echo "Failed to create subdirectory ./${D}dirname"
40231 # Append '!' to indicate archive
40232 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40233 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40236 for subfile in ${D}dirname/*.o* ; do
40237 if [ -f ${D}subfile ]; then
40239 if [ -s ${D}subfile ]; then
40240 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40241 newInputFiles="${D}newInputFiles ${D}subfile"
40245 if [ ${D}found -eq 0 ]; then
40246 echo "WARNING: there are no files in archive \\'${D}file\\'"
40250 newInputFiles="${D}{newInputFiles} ${D}file"
40254 inputFiles="${D}newInputFiles"
40256 # Output filename(s).
40258 if [ -z ${D}outFile ]; then
40260 set outFile ${D}inputFiles; outFile=${D}2
40263 # If it is an archive, remove the '!' and the '_%' suffixes
40264 case ${D}outFile in
40266 outFile=\`basnam ${D}outFile _%!\`
40271 case ${D}outFile in
40273 outFile=\`basnam ${D}outFile .dll\`
40276 outFile=\`basnam ${D}outFile .DLL\`
40279 outFile=\`basnam ${D}outFile .o\`
40282 outFile=\`basnam ${D}outFile .obj\`
40285 outFile=\`basnam ${D}outFile .a\`
40288 outFile=\`basnam ${D}outFile .lib\`
40293 case ${D}outimpFile in
40295 outimpFile=\`basnam ${D}outimpFile .a\`
40298 outimpFile=\`basnam ${D}outimpFile .lib\`
40303 if [ -z ${D}outimpFile ]; then
40304 outimpFile=${D}outFile
40306 defFile="${D}{outFile}.def"
40307 arcFile="${D}{outimpFile}.a"
40308 arcFile2="${D}{outimpFile}.lib"
40310 #create ${D}dllFile as something matching 8.3 restrictions,
40311 if [ -z ${D}renameScript ] ; then
40312 dllFile="${D}outFile"
40314 dllFile=\`${D}renameScript ${D}outimpFile\`
40317 if [ ${D}do_backup -ne 0 ] ; then
40318 if [ -f ${D}arcFile ] ; then
40319 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40321 if [ -f ${D}arcFile2 ] ; then
40322 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40326 # Extract public symbols from all the object files.
40327 tmpdefFile=${D}{defFile}_%
40328 rm -f ${D}tmpdefFile
40329 for file in ${D}inputFiles ; do
40334 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40339 # Create the def file.
40341 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40342 dllFile="${D}{dllFile}.dll"
40343 if [ ! -z ${D}description ]; then
40344 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40346 echo "EXPORTS" >> ${D}defFile
40348 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40349 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40351 # Checks if the export is ok or not.
40352 for word in ${D}exclude_symbols; do
40353 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40354 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40358 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40359 sed "=" < ${D}tmpdefFile | \\
40363 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40365 ' > ${D}{tmpdefFile}%
40366 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40368 rm -f ${D}{tmpdefFile}%
40370 cat ${D}tmpdefFile >> ${D}defFile
40371 rm -f ${D}tmpdefFile
40373 # Do linking, create implib, and apply lxlite.
40375 for file in ${D}inputFiles ; do
40380 gccCmdl="${D}gccCmdl ${D}file"
40384 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40385 touch "${D}{outFile}.dll"
40387 doCommand "emximp -o ${D}arcFile ${D}defFile"
40388 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40390 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40393 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40395 doCommand "emxomf -s -l ${D}arcFile"
40405 powerpc
-apple-macos* | \
40406 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40414 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40415 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40416 { (exit 1); exit 1; }; }
40419 if test "x$PIC_FLAG" != "x" ; then
40420 PIC_FLAG
="$PIC_FLAG -DPIC"
40423 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40424 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40426 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40427 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40444 case "${BAKEFILE_HOST}" in
40445 *-*-linux* | *-*-freebsd* )
40446 SONAME_FLAG
="-Wl,-soname,"
40474 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40475 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40478 if test "x$GCC" = "xyes"; then
40481 case "${BAKEFILE_HOST}" in
40482 powerpc
-*-darwin* )
40483 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40486 DEPSFLAG_GCC
="-MMD"
40489 echo "$as_me:$LINENO: result: gcc" >&5
40490 echo "${ECHO_T}gcc" >&6
40491 elif test "x$MWCC" = "xyes"; then
40494 DEPSFLAG_GCC
="-MMD"
40495 echo "$as_me:$LINENO: result: mwcc" >&5
40496 echo "${ECHO_T}mwcc" >&6
40498 echo "$as_me:$LINENO: result: none" >&5
40499 echo "${ECHO_T}none" >&6
40502 if test $DEPS_TRACKING = 1 ; then
40508 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40509 # script. It is used to track C/C++ files dependencies in portable way.
40511 # Permission is given to use this file in any way.
40513 DEPSMODE=${DEPSMODE}
40515 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40517 mkdir -p ${D}DEPSDIR
40519 if test ${D}DEPSMODE = gcc ; then
40520 ${D}* ${D}{DEPSFLAG_GCC}
40522 if test ${D}{status} != 0 ; then
40525 # move created file to the location we want it in:
40526 while test ${D}# -gt 0; do
40540 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40541 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40542 if test -f ${D}depfile ; then
40543 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40546 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40547 if test -f ${D}depfile ; then
40548 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40568 case ${BAKEFILE_HOST} in
40569 *-*-cygwin* | *-*-mingw32* )
40570 if test "$build" != "$host" ; then
40571 RESCOMP
=$host_alias-windres
40573 # Extract the first word of "windres", so it can be a program name with args.
40574 set dummy windres
; ac_word
=$2
40575 echo "$as_me:$LINENO: checking for $ac_word" >&5
40576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40577 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40578 echo $ECHO_N "(cached) $ECHO_C" >&6
40580 if test -n "$RESCOMP"; then
40581 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40584 for as_dir
in $PATH
40587 test -z "$as_dir" && as_dir
=.
40588 for ac_exec_ext
in '' $ac_executable_extensions; do
40589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40590 ac_cv_prog_RESCOMP
="windres"
40591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40597 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40600 RESCOMP
=$ac_cv_prog_RESCOMP
40601 if test -n "$RESCOMP"; then
40602 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40603 echo "${ECHO_T}$RESCOMP" >&6
40605 echo "$as_me:$LINENO: result: no" >&5
40606 echo "${ECHO_T}no" >&6
40612 *-*-darwin* | powerpc
-apple-macos* )
40613 # Extract the first word of "Rez", so it can be a program name with args.
40614 set dummy Rez
; ac_word
=$2
40615 echo "$as_me:$LINENO: checking for $ac_word" >&5
40616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40617 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40618 echo $ECHO_N "(cached) $ECHO_C" >&6
40620 if test -n "$RESCOMP"; then
40621 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40624 for as_dir
in $PATH
40627 test -z "$as_dir" && as_dir
=.
40628 for ac_exec_ext
in '' $ac_executable_extensions; do
40629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40630 ac_cv_prog_RESCOMP
="Rez"
40631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40637 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40640 RESCOMP
=$ac_cv_prog_RESCOMP
40641 if test -n "$RESCOMP"; then
40642 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40643 echo "${ECHO_T}$RESCOMP" >&6
40645 echo "$as_me:$LINENO: result: no" >&5
40646 echo "${ECHO_T}no" >&6
40649 # Extract the first word of "SetFile", so it can be a program name with args.
40650 set dummy SetFile
; ac_word
=$2
40651 echo "$as_me:$LINENO: checking for $ac_word" >&5
40652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40653 if test "${ac_cv_prog_SETFILE+set}" = set; then
40654 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 if test -n "$SETFILE"; then
40657 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40660 for as_dir
in $PATH
40663 test -z "$as_dir" && as_dir
=.
40664 for ac_exec_ext
in '' $ac_executable_extensions; do
40665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40666 ac_cv_prog_SETFILE
="SetFile"
40667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40673 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40676 SETFILE
=$ac_cv_prog_SETFILE
40677 if test -n "$SETFILE"; then
40678 echo "$as_me:$LINENO: result: $SETFILE" >&5
40679 echo "${ECHO_T}$SETFILE" >&6
40681 echo "$as_me:$LINENO: result: no" >&5
40682 echo "${ECHO_T}no" >&6
40692 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.5"
40695 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.5"
40699 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40700 if test "${enable_precomp_headers+set}" = set; then
40701 enableval
="$enable_precomp_headers"
40702 bk_use_pch
="$enableval"
40707 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40708 if test "x$GCC" = "xyes"; then
40709 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40710 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40711 cat >conftest.
$ac_ext <<_ACEOF
40714 cat confdefs.h
>>conftest.
$ac_ext
40715 cat >>conftest.
$ac_ext <<_ACEOF
40716 /* end confdefs.h. */
40722 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40723 #error "no pch support"
40726 #error "no pch support"
40728 #if (__GNUC__ == 3) && \
40729 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40730 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40731 #error "no pch support"
40738 rm -f conftest.
$ac_objext
40739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40740 (eval $ac_compile) 2>conftest.er1
40742 grep -v '^ *+' conftest.er1
>conftest.err
40744 cat conftest.err
>&5
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); } &&
40747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40749 (eval $ac_try) 2>&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); }; } &&
40753 { ac_try
='test -s conftest.$ac_objext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40760 echo "$as_me:$LINENO: result: yes" >&5
40761 echo "${ECHO_T}yes" >&6
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.
$ac_ext >&5
40769 echo "$as_me:$LINENO: result: no" >&5
40770 echo "${ECHO_T}no" >&6
40773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40774 if test $GCC_PCH = 1 ; then
40777 cat <<EOF >bk-make-pch
40780 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40781 # script. It is used to generated precompiled headers.
40783 # Permission is given to use this file in any way.
40792 while test ${D}{#} -gt 0; do
40795 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40796 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40797 headerfile="${D}{incdir}/${D}{header}"
40801 compiler="${D}{compiler} ${D}{1}"
40805 if test "x${D}{headerfile}" = "x" ; then
40806 echo "error: can't find header ${D}{header} in include paths" >2
40808 if test -f ${D}{outfile} ; then
40809 rm -f ${D}{outfile}
40811 mkdir -p \`dirname ${D}{outfile}\`
40813 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40815 # can do this because gcc is >= 3.4:
40816 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40821 chmod +x bk
-make-pch
40828 COND_BUILD_DEBUG
="#"
40829 if test "x$BUILD" = "xdebug" ; then
40830 COND_BUILD_DEBUG
=""
40833 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40834 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40835 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40838 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40839 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40840 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40843 COND_BUILD_DEBUG_UNICODE_0
="#"
40844 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40845 COND_BUILD_DEBUG_UNICODE_0
=""
40848 COND_BUILD_DEBUG_UNICODE_1
="#"
40849 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40850 COND_BUILD_DEBUG_UNICODE_1
=""
40853 COND_BUILD_RELEASE
="#"
40854 if test "x$BUILD" = "xrelease" ; then
40855 COND_BUILD_RELEASE
=""
40858 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40859 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40860 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40863 COND_BUILD_RELEASE_UNICODE_0
="#"
40864 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40865 COND_BUILD_RELEASE_UNICODE_0
=""
40868 COND_BUILD_RELEASE_UNICODE_1
="#"
40869 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40870 COND_BUILD_RELEASE_UNICODE_1
=""
40873 COND_DEBUG_FLAG_1
="#"
40874 if test "x$DEBUG_FLAG" = "x1" ; then
40875 COND_DEBUG_FLAG_1
=""
40878 COND_DEBUG_INFO_0
="#"
40879 if test "x$DEBUG_INFO" = "x0" ; then
40880 COND_DEBUG_INFO_0
=""
40883 COND_DEBUG_INFO_1
="#"
40884 if test "x$DEBUG_INFO" = "x1" ; then
40885 COND_DEBUG_INFO_1
=""
40888 COND_DEPS_TRACKING_0
="#"
40889 if test "x$DEPS_TRACKING" = "x0" ; then
40890 COND_DEPS_TRACKING_0
=""
40893 COND_DEPS_TRACKING_1
="#"
40894 if test "x$DEPS_TRACKING" = "x1" ; then
40895 COND_DEPS_TRACKING_1
=""
40899 if test "x$GCC_PCH" = "x1" ; then
40903 COND_MONOLITHIC_0
="#"
40904 if test "x$MONOLITHIC" = "x0" ; then
40905 COND_MONOLITHIC_0
=""
40908 COND_MONOLITHIC_0_SHARED_0
="#"
40909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40910 COND_MONOLITHIC_0_SHARED_0
=""
40913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40925 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40928 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40930 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40933 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40935 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40938 COND_MONOLITHIC_0_SHARED_1
="#"
40939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40940 COND_MONOLITHIC_0_SHARED_1
=""
40943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40955 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40958 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40960 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40963 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40965 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40968 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40969 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40970 COND_MONOLITHIC_0_USE_ODBC_1
=""
40973 COND_MONOLITHIC_1
="#"
40974 if test "x$MONOLITHIC" = "x1" ; then
40975 COND_MONOLITHIC_1
=""
40978 COND_MONOLITHIC_1_SHARED_0
="#"
40979 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40980 COND_MONOLITHIC_1_SHARED_0
=""
40983 COND_MONOLITHIC_1_SHARED_1
="#"
40984 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40985 COND_MONOLITHIC_1_SHARED_1
=""
40988 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40989 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40990 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40993 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40994 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40995 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40998 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40999 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41000 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41003 COND_PLATFORM_MACOSX_1
="#"
41004 if test "x$PLATFORM_MACOSX" = "x1" ; then
41005 COND_PLATFORM_MACOSX_1
=""
41008 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
41009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41010 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
41013 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41015 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41018 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41020 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41023 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41025 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41028 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
41029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
41033 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41035 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41038 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
41039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41040 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
41043 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
41044 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41045 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
41048 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41049 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41050 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41053 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41054 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41055 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41058 COND_PLATFORM_MACOS_1
="#"
41059 if test "x$PLATFORM_MACOS" = "x1" ; then
41060 COND_PLATFORM_MACOS_1
=""
41063 COND_PLATFORM_MAC_1
="#"
41064 if test "x$PLATFORM_MAC" = "x1" ; then
41065 COND_PLATFORM_MAC_1
=""
41068 COND_PLATFORM_OS2_1
="#"
41069 if test "x$PLATFORM_OS2" = "x1" ; then
41070 COND_PLATFORM_OS2_1
=""
41073 COND_PLATFORM_UNIX_0
="#"
41074 if test "x$PLATFORM_UNIX" = "x0" ; then
41075 COND_PLATFORM_UNIX_0
=""
41078 COND_PLATFORM_UNIX_1
="#"
41079 if test "x$PLATFORM_UNIX" = "x1" ; then
41080 COND_PLATFORM_UNIX_1
=""
41083 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41084 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41085 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41088 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41089 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41090 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41093 COND_PLATFORM_WIN32_0
="#"
41094 if test "x$PLATFORM_WIN32" = "x0" ; then
41095 COND_PLATFORM_WIN32_0
=""
41098 COND_PLATFORM_WIN32_1
="#"
41099 if test "x$PLATFORM_WIN32" = "x1" ; then
41100 COND_PLATFORM_WIN32_1
=""
41104 if test "x$SHARED" = "x0" ; then
41108 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
41109 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41110 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
41113 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
41114 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41115 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
41118 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
41119 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41120 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
41123 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41124 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41125 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41128 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41129 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41130 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41133 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41134 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41135 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41138 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41139 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41140 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41143 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41144 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41145 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41148 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41149 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41150 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41153 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41154 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41155 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41158 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41159 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41160 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41164 if test "x$SHARED" = "x1" ; then
41168 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41169 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41170 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41174 if test "x$TOOLKIT" = "x" ; then
41178 COND_TOOLKIT_COCOA
="#"
41179 if test "x$TOOLKIT" = "xCOCOA" ; then
41180 COND_TOOLKIT_COCOA
=""
41183 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
41184 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41185 COND_TOOLKIT_COCOA_USE_GUI_1
=""
41188 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41189 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41190 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41193 COND_TOOLKIT_GTK
="#"
41194 if test "x$TOOLKIT" = "xGTK" ; then
41195 COND_TOOLKIT_GTK
=""
41198 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41199 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41200 COND_TOOLKIT_GTK_USE_GUI_1
=""
41203 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41204 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41205 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41208 COND_TOOLKIT_MAC
="#"
41209 if test "x$TOOLKIT" = "xMAC" ; then
41210 COND_TOOLKIT_MAC
=""
41213 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41214 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41215 COND_TOOLKIT_MAC_USE_GUI_1
=""
41218 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41219 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41220 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41223 COND_TOOLKIT_MGL
="#"
41224 if test "x$TOOLKIT" = "xMGL" ; then
41225 COND_TOOLKIT_MGL
=""
41228 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41229 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41230 COND_TOOLKIT_MGL_USE_GUI_1
=""
41233 COND_TOOLKIT_MOTIF
="#"
41234 if test "x$TOOLKIT" = "xMOTIF" ; then
41235 COND_TOOLKIT_MOTIF
=""
41238 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41239 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41240 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41243 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41244 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41245 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41248 COND_TOOLKIT_MSW
="#"
41249 if test "x$TOOLKIT" = "xMSW" ; then
41250 COND_TOOLKIT_MSW
=""
41253 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41254 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41255 COND_TOOLKIT_MSW_USE_GUI_1
=""
41258 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41259 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41260 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41263 COND_TOOLKIT_PM
="#"
41264 if test "x$TOOLKIT" = "xPM" ; then
41268 COND_TOOLKIT_PM_USE_GUI_1
="#"
41269 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41270 COND_TOOLKIT_PM_USE_GUI_1
=""
41273 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41274 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41275 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41278 COND_TOOLKIT_WINCE
="#"
41279 if test "x$TOOLKIT" = "xWINCE" ; then
41280 COND_TOOLKIT_WINCE
=""
41283 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41284 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41285 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41288 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41289 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41290 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41293 COND_TOOLKIT_X11
="#"
41294 if test "x$TOOLKIT" = "xX11" ; then
41295 COND_TOOLKIT_X11
=""
41298 COND_TOOLKIT_X11_USE_GUI_1
="#"
41299 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41300 COND_TOOLKIT_X11_USE_GUI_1
=""
41304 if test "x$UNICODE" = "x1" ; then
41308 COND_USE_EXCEPTIONS_0
="#"
41309 if test "x$USE_EXCEPTIONS" = "x0" ; then
41310 COND_USE_EXCEPTIONS_0
=""
41313 COND_USE_EXCEPTIONS_1
="#"
41314 if test "x$USE_EXCEPTIONS" = "x1" ; then
41315 COND_USE_EXCEPTIONS_1
=""
41319 if test "x$USE_GUI" = "x0" ; then
41324 if test "x$USE_GUI" = "x1" ; then
41328 COND_USE_GUI_1_WXUNIV_0
="#"
41329 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41330 COND_USE_GUI_1_WXUNIV_0
=""
41333 COND_USE_GUI_1_WXUNIV_1
="#"
41334 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41335 COND_USE_GUI_1_WXUNIV_1
=""
41338 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41339 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41340 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41343 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41344 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41345 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41348 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41349 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41350 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41353 COND_USE_ODBC_1
="#"
41354 if test "x$USE_ODBC" = "x1" ; then
41358 COND_USE_OPENGL_1
="#"
41359 if test "x$USE_OPENGL" = "x1" ; then
41360 COND_USE_OPENGL_1
=""
41363 COND_USE_PLUGINS_0
="#"
41364 if test "x$USE_PLUGINS" = "x0" ; then
41365 COND_USE_PLUGINS_0
=""
41368 COND_USE_SOSYMLINKS_1
="#"
41369 if test "x$USE_SOSYMLINKS" = "x1" ; then
41370 COND_USE_SOSYMLINKS_1
=""
41373 COND_USE_SOVERLINUX_1
="#"
41374 if test "x$USE_SOVERLINUX" = "x1" ; then
41375 COND_USE_SOVERLINUX_1
=""
41378 COND_USE_SOVERSION_0
="#"
41379 if test "x$USE_SOVERSION" = "x0" ; then
41380 COND_USE_SOVERSION_0
=""
41383 COND_USE_SOVERSOLARIS_1
="#"
41384 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41385 COND_USE_SOVERSOLARIS_1
=""
41389 if test "x$USE_XRC" = "x1" ; then
41393 COND_WITH_PLUGIN_SDL_1
="#"
41394 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41395 COND_WITH_PLUGIN_SDL_1
=""
41399 if test "x$WXUNIV" = "x0" ; then
41404 if test "x$WXUNIV" = "x1" ; then
41408 COND_WXUSE_EXPAT_BUILTIN
="#"
41409 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41410 COND_WXUSE_EXPAT_BUILTIN
=""
41413 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41414 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41415 COND_WXUSE_LIBJPEG_BUILTIN
=""
41418 COND_WXUSE_LIBPNG_BUILTIN
="#"
41419 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41420 COND_WXUSE_LIBPNG_BUILTIN
=""
41423 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41424 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41425 COND_WXUSE_LIBTIFF_BUILTIN
=""
41428 COND_WXUSE_ODBC_BUILTIN
="#"
41429 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41430 COND_WXUSE_ODBC_BUILTIN
=""
41433 COND_WXUSE_REGEX_BUILTIN
="#"
41434 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41435 COND_WXUSE_REGEX_BUILTIN
=""
41438 COND_WXUSE_ZLIB_BUILTIN
="#"
41439 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41440 COND_WXUSE_ZLIB_BUILTIN
=""
41445 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41446 { { 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
41447 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;}
41448 { (exit 1); exit 1; }; }
41452 if test "$wxUSE_SHARED" = "yes"; then
41454 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41455 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41458 *-pc-os2_emx | *-pc-os2-emx )
41459 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41460 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41461 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41462 cp -p ${srcdir}/src
/os
2/dllar.sh .
41467 EXE_LINKER
="$CXX -o"
41471 GCC_PRAGMA_FLAGS
=""
41473 if test $GCC_PCH = 1 ; then
41474 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41475 PCH_FLAGS
="-DWX_PRECOMP"
41478 powerpc
-*-darwin* )
41479 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41482 if test "$wxUSE_STL" = "yes" -o \
41483 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41484 "$wxUSE_NO_RTTI" != "yes"; then
41485 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41486 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41487 cat >conftest.
$ac_ext <<_ACEOF
41490 cat confdefs.h
>>conftest.
$ac_ext
41491 cat >>conftest.
$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41497 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41498 #error "Not GCC 3.2 or greater"
41505 rm -f conftest.
$ac_objext
41506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41507 (eval $ac_compile) 2>conftest.er1
41509 grep -v '^ *+' conftest.er1
>conftest.err
41511 cat conftest.err
>&5
41512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513 (exit $ac_status); } &&
41514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41516 (eval $ac_try) 2>&5
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); }; } &&
41520 { ac_try
='test -s conftest.$ac_objext'
41521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41522 (eval $ac_try) 2>&5
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); }; }; then
41526 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41527 echo "$as_me:$LINENO: result: yes" >&5
41528 echo "${ECHO_T}yes" >&6
41530 echo "$as_me: failed program was:" >&5
41531 sed 's/^/| /' conftest.
$ac_ext >&5
41533 echo "$as_me:$LINENO: result: no" >&5
41534 echo "${ECHO_T}no" >&6
41536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41539 *-pc-os2_emx | *-pc-os2-emx )
41540 if test "$wxUSE_STL" = "yes"; then
41541 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41542 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41543 cat >conftest.
$ac_ext <<_ACEOF
41546 cat confdefs.h
>>conftest.
$ac_ext
41547 cat >>conftest.
$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41553 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41554 #error "Not GCC 3.2 or greater"
41561 rm -f conftest.
$ac_objext
41562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41563 (eval $ac_compile) 2>conftest.er1
41565 grep -v '^ *+' conftest.er1
>conftest.err
41567 cat conftest.err
>&5
41568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41569 (exit $ac_status); } &&
41570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41572 (eval $ac_try) 2>&5
41574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575 (exit $ac_status); }; } &&
41576 { ac_try
='test -s conftest.$ac_objext'
41577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41578 (eval $ac_try) 2>&5
41580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581 (exit $ac_status); }; }; then
41582 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41583 echo "$as_me:$LINENO: result: yes" >&5
41584 echo "${ECHO_T}yes" >&6
41586 echo "$as_me: failed program was:" >&5
41587 sed 's/^/| /' conftest.
$ac_ext >&5
41589 echo "$as_me:$LINENO: result: no" >&5
41590 echo "${ECHO_T}no" >&6
41592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41597 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41600 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41664 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41665 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41666 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41667 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41668 echo $ECHO_N "(cached) $ECHO_C" >&6
41670 cat >conftest.
make <<\_ACEOF
41672 @
echo 'ac_maketemp="$(MAKE)"'
41674 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41675 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41676 if test -n "$ac_maketemp"; then
41677 eval ac_cv_prog_make_
${ac_make}_set
=yes
41679 eval ac_cv_prog_make_
${ac_make}_set
=no
41681 rm -f conftest.
make
41683 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41684 echo "$as_me:$LINENO: result: yes" >&5
41685 echo "${ECHO_T}yes" >&6
41688 echo "$as_me:$LINENO: result: no" >&5
41689 echo "${ECHO_T}no" >&6
41690 SET_MAKE
="MAKE=${MAKE-make}"
41695 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41698 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41701 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41704 ac_config_files
="$ac_config_files version-script Makefile"
41707 ac_config_commands
="$ac_config_commands wx-config
41713 if test "$wxUSE_GUI" = "yes"; then
41714 SUBDIRS
="samples demos utils contrib"
41715 else SUBDIRS
="samples utils"
41720 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41721 if test "${with_cppunit_prefix+set}" = set; then
41722 withval
="$with_cppunit_prefix"
41723 cppunit_config_prefix
="$withval"
41725 cppunit_config_prefix
=""
41728 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41729 if test "${with_cppunit_exec_prefix+set}" = set; then
41730 withval
="$with_cppunit_exec_prefix"
41731 cppunit_config_exec_prefix
="$withval"
41733 cppunit_config_exec_prefix
=""
41736 if test x
$cppunit_config_exec_prefix != x
; then
41737 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41738 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41739 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41742 if test x
$cppunit_config_prefix != x
; then
41743 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41744 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41745 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41749 # Extract the first word of "cppunit-config", so it can be a program name with args.
41750 set dummy cppunit
-config; ac_word
=$2
41751 echo "$as_me:$LINENO: checking for $ac_word" >&5
41752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41753 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41754 echo $ECHO_N "(cached) $ECHO_C" >&6
41756 case $CPPUNIT_CONFIG in
41758 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41762 for as_dir
in $PATH
41765 test -z "$as_dir" && as_dir
=.
41766 for ac_exec_ext
in '' $ac_executable_extensions; do
41767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41768 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41775 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41779 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41781 if test -n "$CPPUNIT_CONFIG"; then
41782 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41783 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41785 echo "$as_me:$LINENO: result: no" >&5
41786 echo "${ECHO_T}no" >&6
41789 cppunit_version_min
=1.8.0
41791 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41792 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41794 if test "$CPPUNIT_CONFIG" = "no" ; then
41797 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41798 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41799 cppunit_version
=`$CPPUNIT_CONFIG --version`
41801 cppunit_major_version
=`echo $cppunit_version | \
41802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41803 cppunit_minor_version
=`echo $cppunit_version | \
41804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41805 cppunit_micro_version
=`echo $cppunit_version | \
41806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41808 cppunit_major_min
=`echo $cppunit_version_min | \
41809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41810 cppunit_minor_min
=`echo $cppunit_version_min | \
41811 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41812 cppunit_micro_min
=`echo $cppunit_version_min | \
41813 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41815 cppunit_version_proper
=`expr \
41816 $cppunit_major_version \> $cppunit_major_min \| \
41817 $cppunit_major_version \= $cppunit_major_min \& \
41818 $cppunit_minor_version \> $cppunit_minor_min \| \
41819 $cppunit_major_version \= $cppunit_major_min \& \
41820 $cppunit_minor_version \= $cppunit_minor_min \& \
41821 $cppunit_micro_version \>= $cppunit_micro_min `
41823 if test "$cppunit_version_proper" = "1" ; then
41824 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41825 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41827 echo "$as_me:$LINENO: result: no" >&5
41828 echo "${ECHO_T}no" >&6
41833 if test "x$no_cppunit" = x
; then
41834 SUBDIRS
="$SUBDIRS tests"
41845 for subdir
in `echo $SUBDIRS`; do
41846 if test -d ${srcdir}/${subdir} ; then
41847 if test "$wxUSE_GUI" = "yes"; then
41848 if test ${subdir} = "samples"; then
41849 makefiles
="samples/Makefile.in $makefiles"
41850 for sample
in `echo $SAMPLES_SUBDIRS`; do
41851 if test -d $srcdir/samples
/$sample; then
41852 makefiles
="samples/$sample/Makefile.in $makefiles"
41855 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41857 else if test ${subdir} = "samples"; then
41858 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41859 elif test ${subdir} = "utils"; then
41861 for util
in HelpGen tex2rtf
; do
41862 if test -d $srcdir/utils
/$util ; then
41863 makefiles
="utils/$util/Makefile.in \
41864 utils/$util/src/Makefile.in \
41868 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41872 for mkin
in $makefiles ; do
41873 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41874 ac_config_files
="$ac_config_files $mk"
41881 cat >confcache
<<\_ACEOF
41882 # This file is a shell script that caches the results of configure
41883 # tests run on this system so they can be shared between configure
41884 # scripts and configure runs, see configure's option --config-cache.
41885 # It is not useful on other systems. If it contains results you don't
41886 # want to keep, you may remove or edit it.
41888 # config.status only pays attention to the cache file if you give it
41889 # the --recheck option to rerun configure.
41891 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41892 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41893 # following values.
41897 # The following way of writing the cache mishandles newlines in values,
41898 # but we know of no workaround that is simple, portable, and efficient.
41899 # So, don't put newlines in cache variables' values.
41900 # Ultrix sh set writes to stderr and can't be redirected directly,
41901 # and sets the high bit in the cache file unless we assign to the vars.
41904 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41906 # `set' does not quote correctly, so add quotes (double-quote
41907 # substitution turns \\\\ into \\, and sed turns \\ into \).
41910 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41913 # `set' quotes correctly as required by POSIX, so do not add quotes.
41915 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41924 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41926 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41927 if test -w $cache_file; then
41928 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41929 cat confcache
>$cache_file
41931 echo "not updating unwritable cache $cache_file"
41936 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41937 # Let make expand exec_prefix.
41938 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41940 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41941 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41942 # trailing colons and then remove the whole line if VPATH becomes empty
41943 # (actually we leave an empty line to preserve line numbers).
41944 if test "x$srcdir" = x.
; then
41945 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41946 s/:*\$(srcdir):*/:/;
41947 s/:*\${srcdir}:*/:/;
41949 s/^\([^=]*=[ ]*\):*/\1/;
41955 DEFS
=-DHAVE_CONFIG_H
41959 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41960 # 1. Remove the extension, and $U if already installed.
41961 ac_i
=`echo "$ac_i" |
41962 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41964 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41965 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41967 LIBOBJS
=$ac_libobjs
41969 LTLIBOBJS
=$ac_ltlibobjs
41973 : ${CONFIG_STATUS=./config.status}
41974 ac_clean_files_save
=$ac_clean_files
41975 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41976 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41977 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41978 cat >$CONFIG_STATUS <<_ACEOF
41980 # Generated by $as_me.
41981 # Run this file to recreate the current configuration.
41982 # Compiler output produced by configure, useful for debugging
41983 # configure, is in config.log if it exists.
41986 ac_cs_recheck=false
41988 SHELL=\${CONFIG_SHELL-$SHELL}
41991 cat >>$CONFIG_STATUS <<\_ACEOF
41992 ## --------------------- ##
41993 ## M4sh Initialization. ##
41994 ## --------------------- ##
41996 # Be Bourne compatible
41997 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42000 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42001 # is contrary to our usage. Disable this feature.
42002 alias -g '${1+"$@"}'='"$@"'
42003 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42006 DUALCASE
=1; export DUALCASE
# for MKS sh
42008 # Support unset when possible.
42009 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42016 # Work around bugs in pre-3.0 UWIN ksh.
42017 $as_unset ENV MAIL MAILPATH
42024 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42025 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42026 LC_TELEPHONE LC_TIME
42028 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42029 eval $as_var=C
; export $as_var
42035 # Required to use basename.
42036 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42042 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42043 as_basename
=basename
42049 # Name of the executable.
42050 as_me
=`$as_basename "$0" ||
42051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42052 X"$0" : 'X\(//\)$' \| \
42053 X"$0" : 'X\(/\)$' \| \
42054 . : '\(.\)' 2>/dev/null ||
42056 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42057 /^X\/\(\/\/\)$/{ s//\1/; q; }
42058 /^X\/\(\/\).*/{ s//\1/; q; }
42062 # PATH needs CR, and LINENO needs CR and PATH.
42063 # Avoid depending upon Character Ranges.
42064 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42065 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42066 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42067 as_cr_digits
='0123456789'
42068 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42070 # The user is always right.
42071 if test "${PATH_SEPARATOR+set}" != set; then
42072 echo "#! /bin/sh" >conf$$.sh
42073 echo "exit 0" >>conf$$.sh
42075 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42084 as_lineno_1
=$LINENO
42085 as_lineno_2
=$LINENO
42086 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42087 test "x$as_lineno_1" != "x$as_lineno_2" &&
42088 test "x$as_lineno_3" = "x$as_lineno_2" || {
42089 # Find who we are. Look in the path if we contain no path at all
42092 *[\\/]* ) as_myself
=$0 ;;
42093 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42094 for as_dir
in $PATH
42097 test -z "$as_dir" && as_dir
=.
42098 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42103 # We did not find ourselves, most probably we were run as `sh COMMAND'
42104 # in which case we are not to be found in the path.
42105 if test "x$as_myself" = x
; then
42108 if test ! -f "$as_myself"; then
42109 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42110 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42111 { (exit 1); exit 1; }; }
42113 case $CONFIG_SHELL in
42115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42116 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42119 test -z "$as_dir" && as_dir
=.
42120 for as_base
in sh bash ksh sh5
; do
42123 if ("$as_dir/$as_base" -c '
42124 as_lineno_1=$LINENO
42125 as_lineno_2=$LINENO
42126 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42127 test "x$as_lineno_1" != "x$as_lineno_2" &&
42128 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42129 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42130 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42131 CONFIG_SHELL
=$as_dir/$as_base
42132 export CONFIG_SHELL
42133 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42141 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42142 # uniformly replaced by the line number. The first 'sed' inserts a
42143 # line-number line before each line; the second 'sed' does the real
42144 # work. The second script uses 'N' to pair each line-number line
42145 # with the numbered line, and appends trailing '-' during
42146 # substitution so that $LINENO is not a special case at line end.
42147 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42148 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42149 sed '=' <$as_myself |
42154 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42157 s,^['$as_cr_digits']*\n,,
42158 ' >$as_me.lineno
&&
42159 chmod +x
$as_me.lineno
||
42160 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42161 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42162 { (exit 1); exit 1; }; }
42164 # Don't try to exec as it changes $[0], causing all sort of problems
42165 # (the dirname of $[0] is not the place where we might find the
42166 # original and so on. Autoconf is especially sensible to this).
42168 # Exit status is that of the last command.
42173 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42174 *c
*,-n*) ECHO_N
= ECHO_C
='
42176 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42177 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42180 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42186 rm -f conf$$ conf$$.exe conf$$.
file
42188 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42189 # We could just check for DJGPP; but this test a) works b) is more generic
42190 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42191 if test -f conf$$.exe
; then
42192 # Don't use ln at all; we don't have any links
42197 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42202 rm -f conf$$ conf$$.exe conf$$.
file
42204 if mkdir -p .
2>/dev
/null
; then
42207 test -d .
/-p && rmdir .
/-p
42211 as_executable_p
="test -f"
42213 # Sed expression to map a string onto a valid CPP name.
42214 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42216 # Sed expression to map a string onto a valid variable name.
42217 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42221 # We need space, tab and new line, in precisely that order.
42231 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42232 # report actual input values of CONFIG_FILES etc. instead of their
42233 # values after options handling. Logging --version etc. is OK.
42237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42238 ## Running $as_me. ##
42243 This file was extended by wxWidgets $as_me 2.5.3, which was
42244 generated by GNU Autoconf 2.59. Invocation command line was
42246 CONFIG_FILES = $CONFIG_FILES
42247 CONFIG_HEADERS = $CONFIG_HEADERS
42248 CONFIG_LINKS = $CONFIG_LINKS
42249 CONFIG_COMMANDS = $CONFIG_COMMANDS
42253 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42257 # Files that config.status was made for.
42258 if test -n "$ac_config_files"; then
42259 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42262 if test -n "$ac_config_headers"; then
42263 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42266 if test -n "$ac_config_links"; then
42267 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42270 if test -n "$ac_config_commands"; then
42271 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42274 cat >>$CONFIG_STATUS <<\_ACEOF
42277 \`$as_me' instantiates files from templates according to the
42278 current configuration.
42280 Usage: $0 [OPTIONS] [FILE]...
42282 -h, --help print this help, then exit
42283 -V, --version print version number, then exit
42284 -q, --quiet do not print progress messages
42285 -d, --debug don't remove temporary files
42286 --recheck update $as_me by reconfiguring in the same conditions
42287 --file=FILE[:TEMPLATE]
42288 instantiate the configuration file FILE
42289 --header=FILE[:TEMPLATE]
42290 instantiate the configuration header FILE
42292 Configuration files:
42295 Configuration headers:
42298 Configuration commands:
42301 Report bugs to <bug-autoconf@gnu.org>."
42304 cat >>$CONFIG_STATUS <<_ACEOF
42306 wxWidgets config.status 2.5.3
42307 configured by $0, generated by GNU Autoconf 2.59,
42308 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42310 Copyright (C) 2003 Free Software Foundation, Inc.
42311 This config.status script is free software; the Free Software Foundation
42312 gives unlimited permission to copy, distribute and modify it."
42317 cat >>$CONFIG_STATUS <<\_ACEOF
42318 # If no file are specified by the user, then we need to provide default
42319 # value. By we need to know if files were specified by the user.
42325 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42326 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42334 *) # This is not an option, so the user has probably given explicit
42337 ac_need_defaults
=false
;;
42341 # Handling of the options.
42343 cat >>$CONFIG_STATUS <<\_ACEOF
42344 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42346 --version | --vers* | -V )
42347 echo "$ac_cs_version"; exit 0 ;;
42349 # Conflict between --help and --header
42350 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42351 Try \`$0 --help' for more information." >&5
42352 echo "$as_me: error: ambiguous option: $1
42353 Try \`$0 --help' for more information." >&2;}
42354 { (exit 1); exit 1; }; };;
42355 --help | --hel | -h )
42356 echo "$ac_cs_usage"; exit 0 ;;
42357 --debug | --d* | -d )
42359 --file | --fil | --fi | --f )
42361 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42362 ac_need_defaults
=false
;;
42363 --header | --heade | --head | --hea )
42365 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42366 ac_need_defaults
=false
;;
42367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42368 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42371 # This is an error.
42372 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42373 Try \`$0 --help' for more information." >&5
42374 echo "$as_me: error: unrecognized option: $1
42375 Try \`$0 --help' for more information." >&2;}
42376 { (exit 1); exit 1; }; } ;;
42378 *) ac_config_targets
="$ac_config_targets $1" ;;
42384 ac_configure_extra_args
=
42386 if $ac_cs_silent; then
42388 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42392 cat >>$CONFIG_STATUS <<_ACEOF
42393 if \$ac_cs_recheck; then
42394 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42395 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42400 cat >>$CONFIG_STATUS <<_ACEOF
42402 # INIT-COMMANDS section.
42405 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42406 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42407 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42415 cat >>$CONFIG_STATUS <<\_ACEOF
42416 for ac_config_target
in $ac_config_targets
42418 case "$ac_config_target" in
42419 # Handling of arguments.
42420 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42421 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42422 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42423 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42424 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42425 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42426 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42427 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42428 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42429 { (exit 1); exit 1; }; };;
42433 # If the user did not use the arguments to specify the items to instantiate,
42434 # then the envvar interface is used. Set only those that are not.
42435 # We use the long form for the default assignment because of an extremely
42436 # bizarre bug on SunOS 4.1.3.
42437 if $ac_need_defaults; then
42438 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42439 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42440 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42443 # Have a temporary directory for convenience. Make it in the build tree
42444 # simply because there is no reason to put it here, and in addition,
42445 # creating and moving files from /tmp can sometimes cause problems.
42446 # Create a temporary directory, and hook for its removal unless debugging.
42449 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42450 trap '{ (exit 1); exit 1; }' 1 2 13 15
42453 # Create a (secure) tmp directory for tmp files.
42456 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42457 test -n "$tmp" && test -d "$tmp"
42460 tmp
=.
/confstat$$
-$RANDOM
42461 (umask 077 && mkdir $tmp)
42464 echo "$me: cannot create a temporary directory in ." >&2
42465 { (exit 1); exit 1; }
42470 cat >>$CONFIG_STATUS <<_ACEOF
42473 # CONFIG_FILES section.
42476 # No need to generate the scripts if there are no CONFIG_FILES.
42477 # This happens for instance when ./config.status config.h
42478 if test -n "\$CONFIG_FILES"; then
42479 # Protect against being on the right side of a sed subst in config.status.
42480 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42481 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42482 s,@SHELL@,$SHELL,;t t
42483 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42484 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42485 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42486 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42487 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42488 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42489 s,@exec_prefix@,$exec_prefix,;t t
42490 s,@prefix@,$prefix,;t t
42491 s,@program_transform_name@,$program_transform_name,;t t
42492 s,@bindir@,$bindir,;t t
42493 s,@sbindir@,$sbindir,;t t
42494 s,@libexecdir@,$libexecdir,;t t
42495 s,@datadir@,$datadir,;t t
42496 s,@sysconfdir@,$sysconfdir,;t t
42497 s,@sharedstatedir@,$sharedstatedir,;t t
42498 s,@localstatedir@,$localstatedir,;t t
42499 s,@libdir@,$libdir,;t t
42500 s,@includedir@,$includedir,;t t
42501 s,@oldincludedir@,$oldincludedir,;t t
42502 s,@infodir@,$infodir,;t t
42503 s,@mandir@,$mandir,;t t
42504 s,@build_alias@,$build_alias,;t t
42505 s,@host_alias@,$host_alias,;t t
42506 s,@target_alias@,$target_alias,;t t
42507 s,@DEFS@,$DEFS,;t t
42508 s,@ECHO_C@,$ECHO_C,;t t
42509 s,@ECHO_N@,$ECHO_N,;t t
42510 s,@ECHO_T@,$ECHO_T,;t t
42511 s,@LIBS@,$LIBS,;t t
42512 s,@build@,$build,;t t
42513 s,@build_cpu@,$build_cpu,;t t
42514 s,@build_vendor@,$build_vendor,;t t
42515 s,@build_os@,$build_os,;t t
42516 s,@host@,$host,;t t
42517 s,@host_cpu@,$host_cpu,;t t
42518 s,@host_vendor@,$host_vendor,;t t
42519 s,@host_os@,$host_os,;t t
42520 s,@target@,$target,;t t
42521 s,@target_cpu@,$target_cpu,;t t
42522 s,@target_vendor@,$target_vendor,;t t
42523 s,@target_os@,$target_os,;t t
42525 s,@CFLAGS@,$CFLAGS,;t t
42526 s,@LDFLAGS@,$LDFLAGS,;t t
42527 s,@CPPFLAGS@,$CPPFLAGS,;t t
42528 s,@ac_ct_CC@,$ac_ct_CC,;t t
42529 s,@EXEEXT@,$EXEEXT,;t t
42530 s,@OBJEXT@,$OBJEXT,;t t
42532 s,@EGREP@,$EGREP,;t t
42534 s,@CXXFLAGS@,$CXXFLAGS,;t t
42535 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42536 s,@RANLIB@,$RANLIB,;t t
42537 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42539 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42540 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42541 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42542 s,@STRIP@,$STRIP,;t t
42543 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42544 s,@LN_S@,$LN_S,;t t
42545 s,@CXXCPP@,$CXXCPP,;t t
42546 s,@subdirs@,$subdirs,;t t
42547 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42548 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42549 s,@GTK_LIBS@,$GTK_LIBS,;t t
42550 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42551 s,@X_CFLAGS@,$X_CFLAGS,;t t
42552 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42553 s,@X_LIBS@,$X_LIBS,;t t
42554 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42555 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42556 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42557 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42558 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42559 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42560 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42561 s,@RESCOMP@,$RESCOMP,;t t
42562 s,@DEREZ@,$DEREZ,;t t
42563 s,@SETFILE@,$SETFILE,;t t
42564 s,@LIBICONV@,$LIBICONV,;t t
42565 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42566 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42567 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42568 s,@SDL_LIBS@,$SDL_LIBS,;t t
42569 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42570 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42571 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42572 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42573 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42574 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42575 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42576 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42577 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42578 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42579 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42580 s,@VENDOR@,$VENDOR,;t t
42581 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42582 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42583 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42584 s,@WXUNIV@,$WXUNIV,;t t
42585 s,@MONOLITHIC@,$MONOLITHIC,;t t
42586 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42587 s,@EXTRALIBS@,$EXTRALIBS,;t t
42588 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42589 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42590 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42591 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42592 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42593 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42594 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42595 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42596 s,@UNICODE@,$UNICODE,;t t
42597 s,@BUILD@,$BUILD,;t t
42598 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42599 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42600 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42601 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42602 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42603 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42604 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42605 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42606 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42607 s,@SET_MAKE@,$SET_MAKE,;t t
42608 s,@MAKE_SET@,$MAKE_SET,;t t
42609 s,@ac_ct_AR@,$ac_ct_AR,;t t
42610 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42612 s,@ac_ct_NM@,$ac_ct_NM,;t t
42613 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42614 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42615 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42616 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42617 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42618 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42619 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42620 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42621 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42622 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42623 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42624 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42625 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42626 s,@LIBPREFIX@,$LIBPREFIX,;t t
42627 s,@LIBEXT@,$LIBEXT,;t t
42628 s,@DLLPREFIX@,$DLLPREFIX,;t t
42629 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42630 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42631 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42632 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42633 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42634 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42635 s,@PIC_FLAG@,$PIC_FLAG,;t t
42636 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42637 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42638 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42639 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42640 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42641 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42642 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42643 s,@GCC_PCH@,$GCC_PCH,;t t
42644 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42645 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42646 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42647 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42648 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42649 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42650 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42651 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42652 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42653 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42654 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42655 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42656 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42657 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42658 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42659 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42660 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42661 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42662 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
42663 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
42664 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42665 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42666 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42667 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42668 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
42669 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
42670 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42671 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42672 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42673 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42674 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42675 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42676 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42677 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42678 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42679 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42680 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42681 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42682 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42683 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42684 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42685 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42686 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42687 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42688 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42689 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42690 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42691 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42692 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42693 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42694 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42695 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42696 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42697 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42698 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42699 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42700 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42701 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42702 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42703 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42704 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42705 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42706 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42707 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42708 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42709 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42710 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42711 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42712 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42713 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42714 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42715 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42716 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42717 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42718 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42719 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42720 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42721 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42722 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42723 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42724 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42725 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42726 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42727 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42728 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42729 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42730 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42731 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42732 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42733 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42734 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42735 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42736 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42737 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42738 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42739 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42740 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42741 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42742 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42743 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42744 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42745 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42746 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42747 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42748 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42749 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42750 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42751 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42752 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42753 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42754 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42755 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42756 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42757 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42758 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
42759 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42760 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42761 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42762 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42763 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42764 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42765 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42766 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42767 s,@SHARED@,$SHARED,;t t
42768 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42769 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42770 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42771 s,@USE_GUI@,$USE_GUI,;t t
42772 s,@AFMINSTALL@,$AFMINSTALL,;t t
42773 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42774 s,@TOOLKIT@,$TOOLKIT,;t t
42775 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42776 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42777 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42778 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42779 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42780 s,@cross_compiling@,$cross_compiling,;t t
42781 s,@WIDGET_SET@,$WIDGET_SET,;t t
42782 s,@WX_RELEASE@,$WX_RELEASE,;t t
42783 s,@WX_VERSION@,$WX_VERSION,;t t
42784 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42785 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42786 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42787 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42788 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42789 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42790 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42791 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42792 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42793 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42794 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42795 s,@EXE_LINKER@,$EXE_LINKER,;t t
42796 s,@GUIDIST@,$GUIDIST,;t t
42797 s,@DISTDIR@,$DISTDIR,;t t
42798 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42799 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42800 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42801 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42802 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42803 s,@RESFLAGS@,$RESFLAGS,;t t
42804 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42805 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42806 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42807 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42808 s,@MACRESCOMP@,$MACRESCOMP,;t t
42809 s,@MACSETFILE@,$MACSETFILE,;t t
42810 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42812 s,@DLLTOOL@,$DLLTOOL,;t t
42813 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42814 s,@LIBOBJS@,$LIBOBJS,;t t
42815 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42820 cat >>$CONFIG_STATUS <<\_ACEOF
42821 # Split the substitutions into bite-sized pieces for seds with
42822 # small command number limits, like on Digital OSF/1 and HP-UX.
42823 ac_max_sed_lines
=48
42824 ac_sed_frag
=1 # Number of current file.
42825 ac_beg
=1 # First line for current file.
42826 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42829 while $ac_more_lines; do
42830 if test $ac_beg -gt 1; then
42831 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42833 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42835 if test ! -s $tmp/subs.frag
; then
42836 ac_more_lines
=false
42838 # The purpose of the label and of the branching condition is to
42839 # speed up the sed processing (if there are no `@' at all, there
42840 # is no need to browse any of the substitutions).
42841 # These are the two extra sed commands mentioned above.
42843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42844 if test -z "$ac_sed_cmds"; then
42845 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42847 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42849 ac_sed_frag
=`expr $ac_sed_frag + 1`
42851 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42854 if test -z "$ac_sed_cmds"; then
42857 fi # test -n "$CONFIG_FILES"
42860 cat >>$CONFIG_STATUS <<\_ACEOF
42861 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42862 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42864 - | *:- | *:-:* ) # input from stdin
42866 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42867 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42868 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42869 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42870 * ) ac_file_in
=$ac_file.
in ;;
42873 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42874 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42875 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42876 X"$ac_file" : 'X\(//\)[^/]' \| \
42877 X"$ac_file" : 'X\(//\)$' \| \
42878 X"$ac_file" : 'X\(/\)' \| \
42879 . : '\(.\)' 2>/dev/null ||
42881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42882 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42883 /^X\(\/\/\)$/{ s//\1/; q; }
42884 /^X\(\/\).*/{ s//\1/; q; }
42886 { if $as_mkdir_p; then
42891 while test ! -d "$as_dir"; do
42892 as_dirs
="$as_dir $as_dirs"
42893 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42895 X"$as_dir" : 'X\(//\)[^/]' \| \
42896 X"$as_dir" : 'X\(//\)$' \| \
42897 X"$as_dir" : 'X\(/\)' \| \
42898 . : '\(.\)' 2>/dev/null ||
42900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42902 /^X\(\/\/\)$/{ s//\1/; q; }
42903 /^X\(\/\).*/{ s//\1/; q; }
42906 test ! -n "$as_dirs" || mkdir $as_dirs
42907 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42908 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42909 { (exit 1); exit 1; }; }; }
42913 if test "$ac_dir" != .
; then
42914 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42915 # A "../" for each directory in $ac_dir_suffix.
42916 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42918 ac_dir_suffix
= ac_top_builddir
=
42922 .
) # No --srcdir option. We are building in place.
42924 if test -z "$ac_top_builddir"; then
42927 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42929 [\\/]* | ?
:[\\/]* ) # Absolute path.
42930 ac_srcdir
=$srcdir$ac_dir_suffix;
42931 ac_top_srcdir
=$srcdir ;;
42932 *) # Relative path.
42933 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42934 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42937 # Do not use `cd foo && pwd` to compute absolute paths, because
42938 # the directories may not exist.
42940 .
) ac_abs_builddir
="$ac_dir";;
42943 .
) ac_abs_builddir
=`pwd`;;
42944 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42945 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42948 case $ac_abs_builddir in
42949 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42951 case ${ac_top_builddir}.
in
42952 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42953 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42954 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42957 case $ac_abs_builddir in
42958 .
) ac_abs_srcdir
=$ac_srcdir;;
42961 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42962 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42963 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42966 case $ac_abs_builddir in
42967 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42969 case $ac_top_srcdir in
42970 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42971 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42972 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42978 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42979 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42982 # Let's still pretend it is `configure' which instantiates (i.e., don't
42983 # use $as_me), people would be surprised to read:
42984 # /* config.h. Generated by config.status. */
42985 if test x
"$ac_file" = x
-; then
42988 configure_input
="$ac_file. "
42990 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42991 sed 's,.*/,,'` by configure."
42993 # First look for the input files in the build tree, otherwise in the
42995 ac_file_inputs
=`IFS=:
42996 for f in $ac_file_in; do
42998 -) echo $tmp/stdin ;;
43000 # Absolute (can't be DOS-style, as IFS=:)
43001 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43002 echo "$as_me: error: cannot find input file: $f" >&2;}
43003 { (exit 1); exit 1; }; }
43006 if test -f "$f"; then
43009 elif test -f "$srcdir/$f"; then
43014 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43015 echo "$as_me: error: cannot find input file: $f" >&2;}
43016 { (exit 1); exit 1; }; }
43019 done` || { (exit 1); exit 1; }
43021 if test x
"$ac_file" != x
-; then
43022 { echo "$as_me:$LINENO: creating $ac_file" >&5
43023 echo "$as_me: creating $ac_file" >&6;}
43027 cat >>$CONFIG_STATUS <<_ACEOF
43031 cat >>$CONFIG_STATUS <<\_ACEOF
43033 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43034 s
,@configure_input@
,$configure_input,;t t
43035 s
,@srcdir@
,$ac_srcdir,;t t
43036 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43037 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43038 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43039 s
,@builddir@
,$ac_builddir,;t t
43040 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43041 s
,@top_builddir@
,$ac_top_builddir,;t t
43042 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43043 s
,@INSTALL@
,$ac_INSTALL,;t t
43044 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43046 if test x"$ac_file" != x-; then
43047 mv $tmp/out $ac_file
43053 # Run the commands associated with the file.
43055 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43056 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43060 cat >>$CONFIG_STATUS <<\_ACEOF
43063 # CONFIG_HEADER section.
43066 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43067 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43069 # ac_d sets the value in "#define NAME VALUE" lines.
43070 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43071 ac_dB
='[ ].*$,\1#\2'
43074 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43075 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43076 ac_uB
='$,\1#\2define\3'
43080 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43081 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43083 - | *:- | *:-:* ) # input from stdin
43085 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43086 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43087 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43088 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43089 * ) ac_file_in
=$ac_file.
in ;;
43092 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43093 echo "$as_me: creating $ac_file" >&6;}
43095 # First look for the input files in the build tree, otherwise in the
43097 ac_file_inputs
=`IFS=:
43098 for f in $ac_file_in; do
43100 -) echo $tmp/stdin ;;
43102 # Absolute (can't be DOS-style, as IFS=:)
43103 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43104 echo "$as_me: error: cannot find input file: $f" >&2;}
43105 { (exit 1); exit 1; }; }
43106 # Do quote $f, to prevent DOS paths from being IFS'd.
43109 if test -f "$f"; then
43112 elif test -f "$srcdir/$f"; then
43117 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43118 echo "$as_me: error: cannot find input file: $f" >&2;}
43119 { (exit 1); exit 1; }; }
43122 done` || { (exit 1); exit 1; }
43123 # Remove the trailing spaces.
43124 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43128 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43129 # `conftest.undefs', that substitutes the proper values into
43130 # config.h.in to produce config.h. The first handles `#define'
43131 # templates, and the second `#undef' templates.
43132 # And first: Protect against being on the right side of a sed subst in
43133 # config.status. Protect against being in an unquoted here document
43134 # in config.status.
43135 rm -f conftest.defines conftest.undefs
43136 # Using a here document instead of a string reduces the quoting nightmare.
43137 # Putting comments in sed scripts is not portable.
43139 # `end' is used to avoid that the second main sed command (meant for
43140 # 0-ary CPP macros) applies to n-ary macro definitions.
43141 # See the Autoconf documentation for `clear'.
43142 cat >confdef2sed.
sed <<\_ACEOF
43147 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43149 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43152 # If some macros were called several times there might be several times
43153 # the same #defines, which is useless. Nevertheless, we may not want to
43154 # sort them, since we want the *last* AC-DEFINE to be honored.
43155 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43156 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43157 rm -f confdef2sed.sed
43159 # This sed command replaces #undef with comments. This is necessary, for
43160 # example, in the case of _POSIX_SOURCE, which is predefined and required
43161 # on some systems where configure will not decide to define it.
43162 cat >>conftest.undefs <<\_ACEOF
43163 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43166 # Break up conftest.defines because some shells have a limit on the size
43167 # of here documents, and old seds have small limits too (100 cmds).
43168 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43169 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43170 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43171 echo ' :' >>$CONFIG_STATUS
43172 rm -f conftest.tail
43173 while grep . conftest.defines >/dev/null
43175 # Write a limited-size here document to $tmp/defines.sed.
43176 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43177 # Speed up: don't consider the non `#define' lines.
43178 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43179 # Work around the forget-to-reset-the-flag bug.
43180 echo 't clr' >>$CONFIG_STATUS
43181 echo ': clr' >>$CONFIG_STATUS
43182 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43184 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43186 mv $tmp/out $tmp/in
43188 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43189 rm -f conftest.defines
43190 mv conftest.
tail conftest.defines
43192 rm -f conftest.defines
43193 echo ' fi # grep' >>$CONFIG_STATUS
43194 echo >>$CONFIG_STATUS
43196 # Break up conftest.undefs because some shells have a limit on the size
43197 # of here documents, and old seds have small limits too (100 cmds).
43198 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43199 rm -f conftest.
tail
43200 while grep . conftest.undefs
>/dev
/null
43202 # Write a limited-size here document to $tmp/undefs.sed.
43203 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43204 # Speed up: don't consider the non
`#undef'
43205 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43206 # Work around the forget-to-reset-the-flag bug.
43207 echo 't clr' >>$CONFIG_STATUS
43208 echo ': clr' >>$CONFIG_STATUS
43209 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43211 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43213 mv $tmp/out $tmp/in
43215 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43216 rm -f conftest.undefs
43217 mv conftest.tail conftest.undefs
43219 rm -f conftest.undefs
43221 cat >>$CONFIG_STATUS <<\_ACEOF
43222 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43223 # use $as_me), people would be surprised to read:
43224 # /* config.h. Generated by config.status. */
43225 if test x
"$ac_file" = x
-; then
43226 echo "/* Generated by configure. */" >$tmp/config.h
43228 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43230 cat $tmp/in >>$tmp/config.h
43232 if test x
"$ac_file" != x
-; then
43233 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43234 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43235 echo "$as_me: $ac_file is unchanged" >&6;}
43237 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43239 X"$ac_file" : 'X\(//\)[^/]' \| \
43240 X"$ac_file" : 'X\(//\)$' \| \
43241 X"$ac_file" : 'X\(/\)' \| \
43242 . : '\(.\)' 2>/dev/null ||
43244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43246 /^X\(\/\/\)$/{ s//\1/; q; }
43247 /^X\(\/\).*/{ s//\1/; q; }
43249 { if $as_mkdir_p; then
43254 while test ! -d "$as_dir"; do
43255 as_dirs
="$as_dir $as_dirs"
43256 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43258 X"$as_dir" : 'X\(//\)[^/]' \| \
43259 X"$as_dir" : 'X\(//\)$' \| \
43260 X"$as_dir" : 'X\(/\)' \| \
43261 . : '\(.\)' 2>/dev/null ||
43263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43265 /^X\(\/\/\)$/{ s//\1/; q; }
43266 /^X\(\/\).*/{ s//\1/; q; }
43269 test ! -n "$as_dirs" || mkdir $as_dirs
43270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43272 { (exit 1); exit 1; }; }; }
43275 mv $tmp/config.h
$ac_file
43279 rm -f $tmp/config.h
43283 cat >>$CONFIG_STATUS <<\_ACEOF
43286 # CONFIG_COMMANDS section.
43288 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43289 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43290 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43291 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43292 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43293 X"$ac_dest" : 'X\(//\)[^/]' \| \
43294 X"$ac_dest" : 'X\(//\)$' \| \
43295 X"$ac_dest" : 'X\(/\)' \| \
43296 . : '\(.\)' 2>/dev/null ||
43298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43299 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43300 /^X\(\/\/\)$/{ s//\1/; q; }
43301 /^X\(\/\).*/{ s//\1/; q; }
43303 { if $as_mkdir_p; then
43308 while test ! -d "$as_dir"; do
43309 as_dirs
="$as_dir $as_dirs"
43310 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43312 X"$as_dir" : 'X\(//\)[^/]' \| \
43313 X"$as_dir" : 'X\(//\)$' \| \
43314 X"$as_dir" : 'X\(/\)' \| \
43315 . : '\(.\)' 2>/dev/null ||
43317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43318 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43319 /^X\(\/\/\)$/{ s//\1/; q; }
43320 /^X\(\/\).*/{ s//\1/; q; }
43323 test ! -n "$as_dirs" || mkdir $as_dirs
43324 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43325 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43326 { (exit 1); exit 1; }; }; }
43330 if test "$ac_dir" != .
; then
43331 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43332 # A "../" for each directory in $ac_dir_suffix.
43333 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43335 ac_dir_suffix
= ac_top_builddir
=
43339 .
) # No --srcdir option. We are building in place.
43341 if test -z "$ac_top_builddir"; then
43344 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43346 [\\/]* | ?
:[\\/]* ) # Absolute path.
43347 ac_srcdir
=$srcdir$ac_dir_suffix;
43348 ac_top_srcdir
=$srcdir ;;
43349 *) # Relative path.
43350 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43351 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43354 # Do not use `cd foo && pwd` to compute absolute paths, because
43355 # the directories may not exist.
43357 .
) ac_abs_builddir
="$ac_dir";;
43360 .
) ac_abs_builddir
=`pwd`;;
43361 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43362 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43365 case $ac_abs_builddir in
43366 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43368 case ${ac_top_builddir}.
in
43369 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43370 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43371 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43374 case $ac_abs_builddir in
43375 .
) ac_abs_srcdir
=$ac_srcdir;;
43378 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43379 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43380 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43383 case $ac_abs_builddir in
43384 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43386 case $ac_top_srcdir in
43387 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43388 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43389 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43394 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43395 echo "$as_me: executing $ac_dest commands" >&6;}
43397 wx
-config ) rm -f wx
-config
43398 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43404 cat >>$CONFIG_STATUS <<\_ACEOF
43406 { (exit 0); exit 0; }
43408 chmod +x
$CONFIG_STATUS
43409 ac_clean_files
=$ac_clean_files_save
43412 # configure is writing to config.log, and then calls config.status.
43413 # config.status does its own redirection, appending to config.log.
43414 # Unfortunately, on DOS this fails, as config.log is still kept open
43415 # by configure, so config.status won't be able to write to it; its
43416 # output is simply discarded. So we exec the FD to /dev/null,
43417 # effectively closing config.log, so it can be properly (re)opened and
43418 # appended to by config.status. When coming back to configure, we
43419 # need to make the FD available again.
43420 if test "$no_create" != yes; then
43422 ac_config_status_args
=
43423 test "$silent" = yes &&
43424 ac_config_status_args
="$ac_config_status_args --quiet"
43426 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43428 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43429 # would make configure fail if this is the last instruction.
43430 $ac_cs_success || { (exit 1); exit 1; }
43434 # CONFIG_SUBDIRS section.
43436 if test "$no_recursion" != yes; then
43438 # Remove --cache-file and --srcdir arguments so they do not pile up.
43439 ac_sub_configure_args
=
43441 for ac_arg
in $ac_configure_args; do
43442 if test -n "$ac_prev"; then
43447 -cache-file | --cache-file | --cache-fil | --cache-fi \
43448 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43449 ac_prev
=cache_file
;;
43450 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43451 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43454 --config-cache | -C)
43456 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43458 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43460 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43462 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43464 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43468 # Always prepend --prefix to ensure using the same prefix
43469 # in subdir configurations.
43470 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43473 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43475 # Do not complain, so a configure script can configure whichever
43476 # parts of a large source tree are present.
43477 test -d $srcdir/$ac_dir || continue
43479 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43480 echo "$as_me: configuring in $ac_dir" >&6;}
43481 { if $as_mkdir_p; then
43486 while test ! -d "$as_dir"; do
43487 as_dirs
="$as_dir $as_dirs"
43488 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43490 X"$as_dir" : 'X\(//\)[^/]' \| \
43491 X"$as_dir" : 'X\(//\)$' \| \
43492 X"$as_dir" : 'X\(/\)' \| \
43493 . : '\(.\)' 2>/dev/null ||
43495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43496 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43497 /^X\(\/\/\)$/{ s//\1/; q; }
43498 /^X\(\/\).*/{ s//\1/; q; }
43501 test ! -n "$as_dirs" || mkdir $as_dirs
43502 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43503 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43504 { (exit 1); exit 1; }; }; }
43508 if test "$ac_dir" != .
; then
43509 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43510 # A "../" for each directory in $ac_dir_suffix.
43511 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43513 ac_dir_suffix
= ac_top_builddir
=
43517 .
) # No --srcdir option. We are building in place.
43519 if test -z "$ac_top_builddir"; then
43522 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43524 [\\/]* | ?
:[\\/]* ) # Absolute path.
43525 ac_srcdir
=$srcdir$ac_dir_suffix;
43526 ac_top_srcdir
=$srcdir ;;
43527 *) # Relative path.
43528 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43529 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43532 # Do not use `cd foo && pwd` to compute absolute paths, because
43533 # the directories may not exist.
43535 .
) ac_abs_builddir
="$ac_dir";;
43538 .
) ac_abs_builddir
=`pwd`;;
43539 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43540 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43543 case $ac_abs_builddir in
43544 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43546 case ${ac_top_builddir}.
in
43547 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43548 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43549 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43552 case $ac_abs_builddir in
43553 .
) ac_abs_srcdir
=$ac_srcdir;;
43556 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43557 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43558 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43561 case $ac_abs_builddir in
43562 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43564 case $ac_top_srcdir in
43565 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43566 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43567 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43574 # Check for guested configure; otherwise get Cygnus style configure.
43575 if test -f $ac_srcdir/configure.gnu
; then
43576 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43577 elif test -f $ac_srcdir/configure
; then
43578 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43579 elif test -f $ac_srcdir/configure.
in; then
43580 ac_sub_configure
=$ac_configure
43582 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43583 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43587 # The recursion is here.
43588 if test -n "$ac_sub_configure"; then
43589 # Make the cache file name correct relative to the subdirectory.
43590 case $cache_file in
43591 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43592 *) # Relative path.
43593 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43596 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43597 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43598 # The eval makes quoting arguments work.
43599 eval $ac_sub_configure $ac_sub_configure_args \
43600 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43601 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43602 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43603 { (exit 1); exit 1; }; }
43612 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43614 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43615 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43617 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43618 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43619 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43621 echo " What level of wxWidgets compatibility should be enabled?"
43622 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43623 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43625 echo " Which libraries should wxWidgets use?"
43626 echo " jpeg ${wxUSE_LIBJPEG-none}"
43627 echo " png ${wxUSE_LIBPNG-none}"
43628 echo " regex ${wxUSE_REGEX}"
43629 echo " tiff ${wxUSE_LIBTIFF-none}"
43630 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43631 echo " xpm ${wxUSE_LIBXPM-none}"
43633 echo " zlib ${wxUSE_ZLIB}"
43634 echo " odbc ${wxUSE_ODBC}"
43635 echo " expat ${wxUSE_EXPAT}"
43636 echo " libmspack ${wxUSE_LIBMSPACK}"
43637 echo " sdl ${wxUSE_LIBSDL}"
43638 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"