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.5.
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.5'
274 PACKAGE_STRING
='wxWidgets 2.5.5'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_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_GUI_1_USE_QA_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_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_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.5 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.5:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-validators use wxValidator and derived classes
1029 --enable-busyinfo use wxBusyInfo
1030 --enable-joystick use wxJoystick
1031 --enable-metafiles use wxMetaFile
(Windows only
)
1032 --enable-dragimage use wxDragImage
1033 --enable-accessibility enable accessibility support
1034 --enable-palette use wxPalette class
1035 --enable-image use wxImage class
1036 --enable-gif use gif images
(GIF
file format
)
1037 --enable-pcx use pcx images
(PCX
file format
)
1038 --enable-iff use iff images
(IFF
file format
)
1039 --enable-pnm use pnm images
(PNM
file format
)
1040 --enable-xpm use xpm images
(XPM
file format
)
1041 --enable-icocur use Windows ICO and CUR formats
1042 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1043 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1044 --disable-largefile omit support
for large files
1045 --disable-gtktest do not try to compile and run a
test GTK
+ program
1046 --disable-gtktest Do not try to compile and run a
test GTK program
1047 --disable-sdltest Do not try to compile and run a
test SDL program
1048 --enable-omf use OMF object format
(OS
/2)
1049 --disable-precomp-headers
1050 don
't use precompiled headers even if compiler can
1053 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1054 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-motif use Motif/Lesstif
1057 --with-mac use Mac OS X
1058 --with-cocoa use Cocoa
1059 --with-wine use Wine
1060 --with-msw use MS-Windows
1061 --with-pm use OS/2 Presentation Manager
1062 --with-mgl use SciTech MGL
1063 --with-microwin use MicroWindows
1065 --with-libpng use libpng (PNG image format)
1066 --with-libjpeg use libjpeg (JPEG file format)
1067 --with-libtiff use libtiff (TIFF file format)
1068 --with-libxpm use libxpm (XPM file format)
1069 --with-libmspack use libmspack (CHM help files loading)
1070 --with-sdl use SDL for audio on Unix
1071 --with-gnomeprint use GNOME print for printing under Unix
1072 --with-opengl use OpenGL (or Mesa)
1073 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1074 --with-regex enable support for wxRegEx class
1075 --with-zlib use zlib for LZW compression
1076 --with-odbc use the IODBC and wxODBC classes
1077 --with-expat enable XML support using expat parser
1078 --with-flavour=NAME specify a name to identify this build
1079 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1080 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1081 --with-x use the X Window System
1082 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1083 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1084 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1085 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1086 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1088 Some influential environment variables:
1089 CC C compiler command
1090 CFLAGS C compiler flags
1091 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1092 nonstandard directory <lib dir>
1093 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1094 headers in a nonstandard directory <include dir>
1096 CXX C++ compiler command
1097 CXXFLAGS C++ compiler flags
1098 CXXCPP C++ preprocessor
1100 Use these variables to override the choices made by `configure' or to
help
1101 it to
find libraries and programs with nonstandard names
/locations.
1103 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1107 if test "$ac_init_help" = "recursive"; then
1108 # If there are subdirs, report their specific --help.
1110 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1111 test -d $ac_dir || continue
1114 if test "$ac_dir" != .
; then
1115 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1116 # A "../" for each directory in $ac_dir_suffix.
1117 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 ac_dir_suffix
= ac_top_builddir
=
1123 .
) # No --srcdir option. We are building in place.
1125 if test -z "$ac_top_builddir"; then
1128 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1130 [\\/]* | ?
:[\\/]* ) # Absolute path.
1131 ac_srcdir
=$srcdir$ac_dir_suffix;
1132 ac_top_srcdir
=$srcdir ;;
1134 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1135 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1138 # Do not use `cd foo && pwd` to compute absolute paths, because
1139 # the directories may not exist.
1141 .
) ac_abs_builddir
="$ac_dir";;
1144 .
) ac_abs_builddir
=`pwd`;;
1145 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1146 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1149 case $ac_abs_builddir in
1150 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1152 case ${ac_top_builddir}.
in
1153 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1154 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1155 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1158 case $ac_abs_builddir in
1159 .
) ac_abs_srcdir
=$ac_srcdir;;
1162 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1163 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1164 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1167 case $ac_abs_builddir in
1168 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1170 case $ac_top_srcdir in
1171 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1172 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1173 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1178 # Check for guested configure; otherwise get Cygnus style configure.
1179 if test -f $ac_srcdir/configure.gnu
; then
1181 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1182 elif test -f $ac_srcdir/configure
; then
1184 $SHELL $ac_srcdir/configure
--help=recursive
1185 elif test -f $ac_srcdir/configure.ac
||
1186 test -f $ac_srcdir/configure.
in; then
1188 $ac_configure --help
1190 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1196 test -n "$ac_init_help" && exit 0
1197 if $ac_init_version; then
1199 wxWidgets configure
2.5.5
1200 generated by GNU Autoconf
2.59
1202 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1203 This configure
script is free software
; the Free Software Foundation
1204 gives unlimited permission to copy
, distribute and modify it.
1210 This file contains any messages produced by compilers while
1211 running configure, to aid debugging if configure makes a mistake.
1213 It was created by wxWidgets $as_me 2.5.5, which was
1214 generated by GNU Autoconf 2.59. Invocation command line was
1225 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1226 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1227 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1228 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1229 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1232 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1235 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1236 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1237 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1238 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1239 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1240 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1248 test -z "$as_dir" && as_dir
=.
1249 echo "PATH: $as_dir"
1264 # Keep a trace of the command line.
1265 # Strip out --no-create and --no-recursion so they do not pile up.
1266 # Strip out --silent because we don't want to record it for future runs.
1267 # Also quote any args containing shell meta-characters.
1268 # Make two passes to allow for proper duplicate-argument suppression.
1273 ac_must_keep_next
=false
1279 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1280 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1281 | -silent | --silent | --silen | --sile | --sil)
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1289 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1290 if test $ac_must_keep_next = true
; then
1291 ac_must_keep_next
=false
# Got value, back to normal.
1294 *=* | --config-cache | -C | -disable-* | --disable-* \
1295 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1296 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1297 | -with-* | --with-* | -without-* | --without-* | --x)
1298 case "$ac_configure_args0 " in
1299 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1302 -* ) ac_must_keep_next
=true
;;
1305 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1306 # Get rid of the leading space.
1312 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1313 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1315 # When interrupted or exit'd, cleanup temporary files, and complete
1316 # config.log. We remove comments because anyway the quotes in there
1317 # would cause problems or look ugly.
1318 # WARNING: Be sure not to use single quotes in there, as some shells,
1319 # such as our DU 5.0 friend, will then `close' the trap.
1320 trap 'exit_status=$?
1321 # Save into config.log some information that might help in debugging.
1326 ## ---------------- ##
1327 ## Cache variables. ##
1328 ## ---------------- ##
1331 # The following way of writing the cache mishandles newlines in values,
1334 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1337 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1349 ## ----------------- ##
1350 ## Output variables. ##
1351 ## ----------------- ##
1354 for ac_var in $ac_subst_vars
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1361 if test -n "$ac_subst_files"; then
1368 for ac_var in $ac_subst_files
1370 eval ac_val=$`echo $ac_var`
1371 echo "$ac_var='"'"'$ac_val'"'"'"
1376 if test -s confdefs.h; then
1383 sed "/^$/d" confdefs.h | sort
1386 test "$ac_signal" != 0 &&
1387 echo "$as_me: caught signal $ac_signal"
1388 echo "$as_me: exit $exit_status"
1390 rm -f core *.core &&
1391 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1394 for ac_signal
in 1 2 13 15; do
1395 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1399 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1400 rm -rf conftest
* confdefs.h
1401 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1404 # Predefined preprocessor variables.
1406 cat >>confdefs.h
<<_ACEOF
1407 #define PACKAGE_NAME "$PACKAGE_NAME"
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1416 cat >>confdefs.h
<<_ACEOF
1417 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1421 cat >>confdefs.h
<<_ACEOF
1422 #define PACKAGE_STRING "$PACKAGE_STRING"
1426 cat >>confdefs.h
<<_ACEOF
1427 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1431 # Let the site file select an alternate cache file if it wants to.
1432 # Prefer explicitly selected file to automatically selected ones.
1433 if test -z "$CONFIG_SITE"; then
1434 if test "x$prefix" != xNONE
; then
1435 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1437 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1440 for ac_site_file
in $CONFIG_SITE; do
1441 if test -r "$ac_site_file"; then
1442 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1443 echo "$as_me: loading site script $ac_site_file" >&6;}
1444 sed 's/^/| /' "$ac_site_file" >&5
1449 if test -r "$cache_file"; then
1450 # Some versions of bash will fail to source /dev/null (special
1451 # files actually), so we avoid doing that.
1452 if test -f "$cache_file"; then
1453 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1454 echo "$as_me: loading cache $cache_file" >&6;}
1456 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1457 *) . .
/$cache_file;;
1461 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1462 echo "$as_me: creating cache $cache_file" >&6;}
1466 # Check that the precious variables saved in the cache have kept the same
1468 ac_cache_corrupted
=false
1469 for ac_var
in `(set) 2>&1 |
1470 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1471 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1472 eval ac_new_set
=\
$ac_env_${ac_var}_set
1473 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1474 eval ac_new_val
="\$ac_env_${ac_var}_value"
1475 case $ac_old_set,$ac_new_set in
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1479 ac_cache_corrupted
=: ;;
1481 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1482 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1483 ac_cache_corrupted
=: ;;
1486 if test "x$ac_old_val" != "x$ac_new_val"; then
1487 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1490 echo "$as_me: former value: $ac_old_val" >&2;}
1491 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1492 echo "$as_me: current value: $ac_new_val" >&2;}
1493 ac_cache_corrupted
=:
1496 # Pass precious variables to config.status.
1497 if test "$ac_new_set" = set; then
1499 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1500 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1501 *) ac_arg
=$ac_var=$ac_new_val ;;
1503 case " $ac_configure_args " in
1504 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1505 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1509 if $ac_cache_corrupted; then
1510 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1511 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1512 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1513 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1514 { (exit 1); exit 1; }; }
1518 ac_cpp
='$CPP $CPPFLAGS'
1519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1553 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1554 if test -f $ac_dir/install-sh; then
1556 ac_install_sh
="$ac_aux_dir/install-sh -c"
1558 elif test -f $ac_dir/install.sh
; then
1560 ac_install_sh
="$ac_aux_dir/install.sh -c"
1562 elif test -f $ac_dir/shtool
; then
1564 ac_install_sh
="$ac_aux_dir/shtool install -c"
1568 if test -z "$ac_aux_dir"; then
1569 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1570 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1571 { (exit 1); exit 1; }; }
1573 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1574 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1575 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1577 # Make sure we can run config.sub.
1578 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1579 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1580 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1581 { (exit 1); exit 1; }; }
1583 echo "$as_me:$LINENO: checking build system type" >&5
1584 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1585 if test "${ac_cv_build+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 ac_cv_build_alias
=$build_alias
1589 test -z "$ac_cv_build_alias" &&
1590 ac_cv_build_alias
=`$ac_config_guess`
1591 test -z "$ac_cv_build_alias" &&
1592 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1593 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1594 { (exit 1); exit 1; }; }
1595 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1596 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1597 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1598 { (exit 1); exit 1; }; }
1601 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1602 echo "${ECHO_T}$ac_cv_build" >&6
1604 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1605 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1606 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609 echo "$as_me:$LINENO: checking host system type" >&5
1610 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1611 if test "${ac_cv_host+set}" = set; then
1612 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 ac_cv_host_alias
=$host_alias
1615 test -z "$ac_cv_host_alias" &&
1616 ac_cv_host_alias
=$ac_cv_build_alias
1617 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1624 echo "${ECHO_T}$ac_cv_host" >&6
1626 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631 echo "$as_me:$LINENO: checking target system type" >&5
1632 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1633 if test "${ac_cv_target+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 ac_cv_target_alias
=$target_alias
1637 test "x$ac_cv_target_alias" = "x" &&
1638 ac_cv_target_alias
=$ac_cv_host_alias
1639 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1645 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1646 echo "${ECHO_T}$ac_cv_target" >&6
1647 target
=$ac_cv_target
1648 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1649 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1650 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653 # The aliases save the names the user supplied, while $host etc.
1654 # will get canonicalized.
1655 test -n "$target_alias" &&
1656 test "$program_prefix$program_suffix$program_transform_name" = \
1658 program_prefix
=${target_alias}-
1662 wx_major_version_number
=2
1663 wx_minor_version_number
=5
1665 wx_subrelease_number
=0
1667 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1668 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1669 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1671 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1687 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1693 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1699 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1701 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703 DEFAULT_wxUSE_COCOA
=0
1707 DEFAULT_wxUSE_MICROWIN
=0
1708 DEFAULT_wxUSE_MOTIF
=0
1713 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1714 DEFAULT_DEFAULT_wxUSE_GTK
=0
1715 DEFAULT_DEFAULT_wxUSE_MAC
=0
1716 DEFAULT_DEFAULT_wxUSE_MGL
=0
1717 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1718 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1719 DEFAULT_DEFAULT_wxUSE_MSW
=0
1720 DEFAULT_DEFAULT_wxUSE_PM
=0
1721 DEFAULT_DEFAULT_wxUSE_X11
=0
1726 SAMPLES_RPATH_POSTLINK
=
1731 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1732 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1734 cat >>confdefs.h
<<\_ACEOF
1741 cat >>confdefs.h
<<\_ACEOF
1746 if test "x$TMP" = "xalpha"; then
1748 cat >>confdefs.h
<<\_ACEOF
1753 DEFAULT_DEFAULT_wxUSE_GTK
=1
1755 *-*-gnu* | *-*-k*bsd
*-gnu )
1758 if test "x$TMP" = "xalpha"; then
1760 cat >>confdefs.h
<<\_ACEOF
1765 DEFAULT_DEFAULT_wxUSE_GTK
=1
1767 *-*-irix5* | *-*-irix6* )
1770 cat >>confdefs.h
<<\_ACEOF
1774 cat >>confdefs.h
<<\_ACEOF
1778 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1784 cat >>confdefs.h
<<\_ACEOF
1788 cat >>confdefs.h
<<\_ACEOF
1789 #define __SOLARIS__ 1
1792 cat >>confdefs.h
<<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1797 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1803 cat >>confdefs.h
<<\_ACEOF
1807 cat >>confdefs.h
<<\_ACEOF
1811 cat >>confdefs.h
<<\_ACEOF
1815 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1820 cat >>confdefs.h
<<\_ACEOF
1821 #define __FREEBSD__ 1
1824 cat >>confdefs.h
<<\_ACEOF
1828 DEFAULT_DEFAULT_wxUSE_GTK
=1
1833 cat >>confdefs.h
<<\_ACEOF
1834 #define __OPENBSD__ 1
1837 cat >>confdefs.h
<<\_ACEOF
1841 DEFAULT_DEFAULT_wxUSE_GTK
=1
1846 cat >>confdefs.h
<<\_ACEOF
1847 #define __NETBSD__ 1
1850 cat >>confdefs.h
<<\_ACEOF
1854 DEFAULT_DEFAULT_wxUSE_GTK
=1
1859 cat >>confdefs.h
<<\_ACEOF
1863 cat >>confdefs.h
<<\_ACEOF
1867 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1868 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1873 cat >>confdefs.h
<<\_ACEOF
1877 cat >>confdefs.h
<<\_ACEOF
1881 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1886 cat >>confdefs.h
<<\_ACEOF
1890 cat >>confdefs.h
<<\_ACEOF
1894 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1901 cat >>confdefs.h
<<\_ACEOF
1905 cat >>confdefs.h
<<\_ACEOF
1909 cat >>confdefs.h
<<\_ACEOF
1913 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1920 cat >>confdefs.h
<<\_ACEOF
1921 #define __UNIXWARE__ 1
1926 *-*-cygwin* | *-*-mingw32* )
1930 DEFAULT_DEFAULT_wxUSE_MSW
=1
1936 cat >>confdefs.h
<<\_ACEOF
1941 DEFAULT_DEFAULT_wxUSE_MGL
=1
1942 LIBS
="$LIBS -lstdc++"
1945 *-pc-os2_emx | *-pc-os2-emx )
1946 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_PM
=1
1958 LDFLAGS
="$LDFLAGS -Zcrtdll"
1959 ac_executable_extensions
=".exe"
1960 export ac_executable_extensions
1964 for ac_dir
in $PATH; do
1966 if test -z "$ac_TEMP_PATH"; then
1967 ac_TEMP_PATH
="$ac_dir"
1969 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1972 export PATH
="$ac_TEMP_PATH"
1980 cat >>confdefs.h
<<\_ACEOF
1984 cat >>confdefs.h
<<\_ACEOF
1985 #define __DARWIN__ 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_DEBUGREPORT
=no
2076 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2077 DEFAULT_wxUSE_STD_IOSTREAM
=no
2078 DEFAULT_wxUSE_STD_STRING
=no
2079 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2080 DEFAULT_wxUSE_DATETIME
=no
2081 DEFAULT_wxUSE_TIMER
=no
2082 DEFAULT_wxUSE_STOPWATCH
=no
2083 DEFAULT_wxUSE_FILE
=no
2084 DEFAULT_wxUSE_FFILE
=no
2085 DEFAULT_wxUSE_STDPATHS
=no
2086 DEFAULT_wxUSE_TEXTBUFFER
=no
2087 DEFAULT_wxUSE_TEXTFILE
=no
2088 DEFAULT_wxUSE_SOUND
=no
2089 DEFAULT_wxUSE_MEDIACTRL
=no
2090 DEFAULT_wxUSE_DIRECTSHOW
=no
2091 DEFAULT_wxUSE_INTL
=no
2092 DEFAULT_wxUSE_CONFIG
=no
2093 DEFAULT_wxUSE_FONTMAP
=no
2094 DEFAULT_wxUSE_STREAMS
=no
2095 DEFAULT_wxUSE_SOCKETS
=no
2096 DEFAULT_wxUSE_OLE
=no
2097 DEFAULT_wxUSE_DATAOBJ
=no
2098 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2099 DEFAULT_wxUSE_JOYSTICK
=no
2100 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2101 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2102 DEFAULT_wxUSE_LONGLONG
=no
2103 DEFAULT_wxUSE_GEOMETRY
=no
2105 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2106 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2107 DEFAULT_wxUSE_POSTSCRIPT
=no
2109 DEFAULT_wxUSE_CLIPBOARD
=no
2110 DEFAULT_wxUSE_TOOLTIPS
=no
2111 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2112 DEFAULT_wxUSE_DRAGIMAGE
=no
2113 DEFAULT_wxUSE_SPLINES
=no
2115 DEFAULT_wxUSE_MDI
=no
2116 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2117 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2118 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2120 DEFAULT_wxUSE_RESOURCES
=no
2121 DEFAULT_wxUSE_CONSTRAINTS
=no
2122 DEFAULT_wxUSE_IPC
=no
2123 DEFAULT_wxUSE_HELP
=no
2124 DEFAULT_wxUSE_MS_HTML_HELP
=no
2125 DEFAULT_wxUSE_WXHTML_HELP
=no
2126 DEFAULT_wxUSE_TREELAYOUT
=no
2127 DEFAULT_wxUSE_METAFILE
=no
2128 DEFAULT_wxUSE_MIMETYPE
=no
2129 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2130 DEFAULT_wxUSE_PROTOCOL
=no
2131 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2132 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2133 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2134 DEFAULT_wxUSE_URL
=no
2136 DEFAULT_wxUSE_COMMONDLGS
=no
2137 DEFAULT_wxUSE_CHOICEDLG
=no
2138 DEFAULT_wxUSE_COLOURDLG
=no
2139 DEFAULT_wxUSE_DIRDLG
=no
2140 DEFAULT_wxUSE_FILEDLG
=no
2141 DEFAULT_wxUSE_FINDREPLDLG
=no
2142 DEFAULT_wxUSE_FONTDLG
=no
2143 DEFAULT_wxUSE_MSGDLG
=no
2144 DEFAULT_wxUSE_NUMBERDLG
=no
2145 DEFAULT_wxUSE_TEXTDLG
=no
2146 DEFAULT_wxUSE_SPLASH
=no
2147 DEFAULT_wxUSE_STARTUP_TIPS
=no
2148 DEFAULT_wxUSE_PROGRESSDLG
=no
2149 DEFAULT_wxUSE_WIZARDDLG
=no
2151 DEFAULT_wxUSE_MENUS
=no
2152 DEFAULT_wxUSE_MINIFRAME
=no
2153 DEFAULT_wxUSE_HTML
=no
2154 DEFAULT_wxUSE_XRC
=no
2155 DEFAULT_wxUSE_WEBKIT
=no
2156 DEFAULT_wxUSE_FILESYSTEM
=no
2157 DEFAULT_wxUSE_FS_INET
=no
2158 DEFAULT_wxUSE_FS_ZIP
=no
2159 DEFAULT_wxUSE_BUSYINFO
=no
2160 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2161 DEFAULT_wxUSE_ZIPSTREAM
=no
2162 DEFAULT_wxUSE_VALIDATORS
=no
2164 DEFAULT_wxUSE_ACCEL
=no
2165 DEFAULT_wxUSE_BUTTON
=no
2166 DEFAULT_wxUSE_BMPBUTTON
=no
2167 DEFAULT_wxUSE_CALCTRL
=no
2168 DEFAULT_wxUSE_CARET
=no
2169 DEFAULT_wxUSE_CHECKBOX
=no
2170 DEFAULT_wxUSE_CHECKLST
=no
2171 DEFAULT_wxUSE_CHOICE
=no
2172 DEFAULT_wxUSE_CHOICEBOOK
=no
2173 DEFAULT_wxUSE_COMBOBOX
=no
2174 DEFAULT_wxUSE_DATEPICKCTRL
=no
2175 DEFAULT_wxUSE_DISPLAY
=no
2176 DEFAULT_wxUSE_GAUGE
=no
2177 DEFAULT_wxUSE_GRID
=no
2178 DEFAULT_wxUSE_IMAGLIST
=no
2179 DEFAULT_wxUSE_LISTBOOK
=no
2180 DEFAULT_wxUSE_LISTBOX
=no
2181 DEFAULT_wxUSE_LISTCTRL
=no
2182 DEFAULT_wxUSE_NOTEBOOK
=no
2183 DEFAULT_wxUSE_RADIOBOX
=no
2184 DEFAULT_wxUSE_RADIOBTN
=no
2185 DEFAULT_wxUSE_SASH
=no
2186 DEFAULT_wxUSE_SCROLLBAR
=no
2187 DEFAULT_wxUSE_SLIDER
=no
2188 DEFAULT_wxUSE_SPINBTN
=no
2189 DEFAULT_wxUSE_SPINCTRL
=no
2190 DEFAULT_wxUSE_SPLITTER
=no
2191 DEFAULT_wxUSE_STATBMP
=no
2192 DEFAULT_wxUSE_STATBOX
=no
2193 DEFAULT_wxUSE_STATLINE
=no
2194 DEFAULT_wxUSE_STATTEXT
=no
2195 DEFAULT_wxUSE_STATUSBAR
=yes
2196 DEFAULT_wxUSE_TABDIALOG
=no
2197 DEFAULT_wxUSE_TEXTCTRL
=no
2198 DEFAULT_wxUSE_TOGGLEBTN
=no
2199 DEFAULT_wxUSE_TOOLBAR
=no
2200 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2201 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2202 DEFAULT_wxUSE_TREECTRL
=no
2203 DEFAULT_wxUSE_POPUPWIN
=no
2204 DEFAULT_wxUSE_TIPWINDOW
=no
2206 DEFAULT_wxUSE_UNICODE
=no
2207 DEFAULT_wxUSE_UNICODE_MSLU
=no
2208 DEFAULT_wxUSE_WCSRTOMBS
=no
2210 DEFAULT_wxUSE_PALETTE
=no
2211 DEFAULT_wxUSE_IMAGE
=no
2212 DEFAULT_wxUSE_GIF
=no
2213 DEFAULT_wxUSE_PCX
=no
2214 DEFAULT_wxUSE_PNM
=no
2215 DEFAULT_wxUSE_IFF
=no
2216 DEFAULT_wxUSE_XPM
=no
2217 DEFAULT_wxUSE_ICO_CUR
=no
2218 DEFAULT_wxUSE_ACCESSIBILITY
=no
2220 DEFAULT_wxUSE_MONOLITHIC
=no
2221 DEFAULT_wxUSE_PLUGINS
=no
2222 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2224 DEFAULT_wxUSE_UNIVERSAL
=no
2225 DEFAULT_wxUSE_STL
=no
2227 DEFAULT_wxUSE_NANOX
=no
2229 DEFAULT_wxUSE_THREADS
=yes
2231 DEFAULT_wxUSE_SHARED
=yes
2232 DEFAULT_wxUSE_OPTIMISE
=yes
2233 DEFAULT_wxUSE_PROFILE
=no
2234 DEFAULT_wxUSE_NO_DEPS
=no
2235 DEFAULT_wxUSE_NO_RTTI
=no
2236 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2237 DEFAULT_wxUSE_RPATH
=yes
2238 DEFAULT_wxUSE_PERMISSIVE
=no
2239 DEFAULT_wxUSE_DEBUG_FLAG
=no
2240 DEFAULT_wxUSE_DEBUG_INFO
=no
2241 DEFAULT_wxUSE_DEBUG_GDB
=no
2242 DEFAULT_wxUSE_MEM_TRACING
=no
2243 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2244 DEFAULT_wxUSE_DMALLOC
=no
2245 DEFAULT_wxUSE_APPLE_IEEE
=yes
2247 DEFAULT_wxUSE_EXCEPTIONS
=yes
2248 DEFAULT_wxUSE_LOG
=yes
2249 DEFAULT_wxUSE_LOGWINDOW
=yes
2250 DEFAULT_wxUSE_LOGGUI
=yes
2251 DEFAULT_wxUSE_LOGDIALOG
=yes
2253 DEFAULT_wxUSE_GUI
=yes
2255 DEFAULT_wxUSE_REGEX
=yes
2256 DEFAULT_wxUSE_XML
=yes
2257 DEFAULT_wxUSE_EXPAT
=yes
2258 DEFAULT_wxUSE_ZLIB
=yes
2259 DEFAULT_wxUSE_LIBPNG
=yes
2260 DEFAULT_wxUSE_LIBJPEG
=yes
2261 DEFAULT_wxUSE_LIBTIFF
=yes
2262 DEFAULT_wxUSE_LIBXPM
=yes
2263 DEFAULT_wxUSE_LIBMSPACK
=yes
2264 DEFAULT_wxUSE_LIBSDL
=no
2265 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2266 DEFAULT_wxUSE_ODBC
=no
2267 DEFAULT_wxUSE_OPENGL
=no
2269 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2270 DEFAULT_wxUSE_STACKWALKER
=yes
2271 DEFAULT_wxUSE_DEBUGREPORT
=yes
2272 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2273 DEFAULT_wxUSE_STD_IOSTREAM
=no
2274 DEFAULT_wxUSE_STD_STRING
=no
2275 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2276 DEFAULT_wxUSE_DATETIME
=yes
2277 DEFAULT_wxUSE_TIMER
=yes
2278 DEFAULT_wxUSE_STOPWATCH
=yes
2279 DEFAULT_wxUSE_FILE
=yes
2280 DEFAULT_wxUSE_FFILE
=yes
2281 DEFAULT_wxUSE_STDPATHS
=yes
2282 DEFAULT_wxUSE_TEXTBUFFER
=yes
2283 DEFAULT_wxUSE_TEXTFILE
=yes
2284 DEFAULT_wxUSE_SOUND
=yes
2285 DEFAULT_wxUSE_MEDIACTRL
=no
2286 DEFAULT_wxUSE_DIRECTSHOW
=no
2287 DEFAULT_wxUSE_INTL
=yes
2288 DEFAULT_wxUSE_CONFIG
=yes
2289 DEFAULT_wxUSE_FONTMAP
=yes
2290 DEFAULT_wxUSE_STREAMS
=yes
2291 DEFAULT_wxUSE_SOCKETS
=yes
2292 DEFAULT_wxUSE_OLE
=yes
2293 DEFAULT_wxUSE_DATAOBJ
=yes
2294 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2295 DEFAULT_wxUSE_JOYSTICK
=yes
2296 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2297 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2298 DEFAULT_wxUSE_LONGLONG
=yes
2299 DEFAULT_wxUSE_GEOMETRY
=yes
2301 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2302 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2303 DEFAULT_wxUSE_POSTSCRIPT
=yes
2305 DEFAULT_wxUSE_CLIPBOARD
=yes
2306 DEFAULT_wxUSE_TOOLTIPS
=yes
2307 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2308 DEFAULT_wxUSE_DRAGIMAGE
=yes
2309 DEFAULT_wxUSE_SPLINES
=yes
2311 DEFAULT_wxUSE_MDI
=yes
2312 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2313 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2314 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2316 DEFAULT_wxUSE_RESOURCES
=no
2317 DEFAULT_wxUSE_CONSTRAINTS
=yes
2318 DEFAULT_wxUSE_IPC
=yes
2319 DEFAULT_wxUSE_HELP
=yes
2320 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2321 DEFAULT_wxUSE_WXHTML_HELP
=yes
2322 DEFAULT_wxUSE_TREELAYOUT
=yes
2323 DEFAULT_wxUSE_METAFILE
=yes
2324 DEFAULT_wxUSE_MIMETYPE
=yes
2325 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2326 DEFAULT_wxUSE_PROTOCOL
=yes
2327 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2328 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2329 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2330 DEFAULT_wxUSE_URL
=yes
2332 DEFAULT_wxUSE_COMMONDLGS
=yes
2333 DEFAULT_wxUSE_CHOICEDLG
=yes
2334 DEFAULT_wxUSE_COLOURDLG
=yes
2335 DEFAULT_wxUSE_DIRDLG
=yes
2336 DEFAULT_wxUSE_FILEDLG
=yes
2337 DEFAULT_wxUSE_FINDREPLDLG
=yes
2338 DEFAULT_wxUSE_FONTDLG
=yes
2339 DEFAULT_wxUSE_MSGDLG
=yes
2340 DEFAULT_wxUSE_NUMBERDLG
=yes
2341 DEFAULT_wxUSE_TEXTDLG
=yes
2342 DEFAULT_wxUSE_SPLASH
=yes
2343 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2344 DEFAULT_wxUSE_PROGRESSDLG
=yes
2345 DEFAULT_wxUSE_WIZARDDLG
=yes
2347 DEFAULT_wxUSE_MENUS
=yes
2348 DEFAULT_wxUSE_MINIFRAME
=yes
2349 DEFAULT_wxUSE_HTML
=yes
2350 DEFAULT_wxUSE_XRC
=yes
2351 DEFAULT_wxUSE_WEBKIT
=yes
2352 DEFAULT_wxUSE_FILESYSTEM
=yes
2353 DEFAULT_wxUSE_FS_INET
=yes
2354 DEFAULT_wxUSE_FS_ZIP
=yes
2355 DEFAULT_wxUSE_BUSYINFO
=yes
2356 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2357 DEFAULT_wxUSE_ZIPSTREAM
=yes
2358 DEFAULT_wxUSE_VALIDATORS
=yes
2360 DEFAULT_wxUSE_ACCEL
=yes
2361 DEFAULT_wxUSE_BUTTON
=yes
2362 DEFAULT_wxUSE_BMPBUTTON
=yes
2363 DEFAULT_wxUSE_CALCTRL
=yes
2364 DEFAULT_wxUSE_CARET
=yes
2365 DEFAULT_wxUSE_CHECKBOX
=yes
2366 DEFAULT_wxUSE_CHECKLST
=yes
2367 DEFAULT_wxUSE_CHOICE
=yes
2368 DEFAULT_wxUSE_CHOICEBOOK
=yes
2369 DEFAULT_wxUSE_COMBOBOX
=yes
2370 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2371 DEFAULT_wxUSE_DISPLAY
=yes
2372 DEFAULT_wxUSE_GAUGE
=yes
2373 DEFAULT_wxUSE_GRID
=yes
2374 DEFAULT_wxUSE_IMAGLIST
=yes
2375 DEFAULT_wxUSE_LISTBOOK
=yes
2376 DEFAULT_wxUSE_LISTBOX
=yes
2377 DEFAULT_wxUSE_LISTCTRL
=yes
2378 DEFAULT_wxUSE_NOTEBOOK
=yes
2379 DEFAULT_wxUSE_RADIOBOX
=yes
2380 DEFAULT_wxUSE_RADIOBTN
=yes
2381 DEFAULT_wxUSE_SASH
=yes
2382 DEFAULT_wxUSE_SCROLLBAR
=yes
2383 DEFAULT_wxUSE_SLIDER
=yes
2384 DEFAULT_wxUSE_SPINBTN
=yes
2385 DEFAULT_wxUSE_SPINCTRL
=yes
2386 DEFAULT_wxUSE_SPLITTER
=yes
2387 DEFAULT_wxUSE_STATBMP
=yes
2388 DEFAULT_wxUSE_STATBOX
=yes
2389 DEFAULT_wxUSE_STATLINE
=yes
2390 DEFAULT_wxUSE_STATTEXT
=yes
2391 DEFAULT_wxUSE_STATUSBAR
=yes
2392 DEFAULT_wxUSE_TABDIALOG
=no
2393 DEFAULT_wxUSE_TEXTCTRL
=yes
2394 DEFAULT_wxUSE_TOGGLEBTN
=yes
2395 DEFAULT_wxUSE_TOOLBAR
=yes
2396 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2397 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2398 DEFAULT_wxUSE_TREECTRL
=yes
2399 DEFAULT_wxUSE_POPUPWIN
=yes
2400 DEFAULT_wxUSE_TIPWINDOW
=yes
2402 DEFAULT_wxUSE_UNICODE
=no
2403 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2404 DEFAULT_wxUSE_WCSRTOMBS
=no
2406 DEFAULT_wxUSE_PALETTE
=yes
2407 DEFAULT_wxUSE_IMAGE
=yes
2408 DEFAULT_wxUSE_GIF
=yes
2409 DEFAULT_wxUSE_PCX
=yes
2410 DEFAULT_wxUSE_IFF
=no
2411 DEFAULT_wxUSE_PNM
=yes
2412 DEFAULT_wxUSE_XPM
=yes
2413 DEFAULT_wxUSE_ICO_CUR
=yes
2414 DEFAULT_wxUSE_ACCESSIBILITY
=no
2416 DEFAULT_wxUSE_MONOLITHIC
=no
2417 DEFAULT_wxUSE_PLUGINS
=no
2418 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2420 DEFAULT_wxUSE_GTK2
=yes
2425 for toolkit
in `echo $ALL_TOOLKITS`; do
2426 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2427 if test "x$LINE" != "x" ; then
2428 has_toolkit_in_cache
=1
2429 eval "DEFAULT_$LINE"
2430 eval "CACHE_$toolkit=1"
2437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2438 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2440 # Check whether --enable-gui or --disable-gui was given.
2441 if test "${enable_gui+set}" = set; then
2442 enableval
="$enable_gui"
2444 if test "$enableval" = yes; then
2445 ac_cv_use_gui
='wxUSE_GUI=yes'
2447 ac_cv_use_gui
='wxUSE_GUI=no'
2452 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2453 if test "x$LINE" != x
; then
2454 eval "DEFAULT_$LINE"
2459 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2463 eval "$ac_cv_use_gui"
2464 if test "$no_cache" != 1; then
2465 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2468 if test "$wxUSE_GUI" = yes; then
2469 echo "$as_me:$LINENO: result: yes" >&5
2470 echo "${ECHO_T}yes" >&6
2472 echo "$as_me:$LINENO: result: no" >&5
2473 echo "${ECHO_T}no" >&6
2478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2479 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2481 # Check whether --enable-monolithic or --disable-monolithic was given.
2482 if test "${enable_monolithic+set}" = set; then
2483 enableval
="$enable_monolithic"
2485 if test "$enableval" = yes; then
2486 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2488 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2493 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2494 if test "x$LINE" != x
; then
2495 eval "DEFAULT_$LINE"
2500 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2504 eval "$ac_cv_use_monolithic"
2505 if test "$no_cache" != 1; then
2506 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2509 if test "$wxUSE_MONOLITHIC" = yes; then
2510 echo "$as_me:$LINENO: result: yes" >&5
2511 echo "${ECHO_T}yes" >&6
2513 echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6
2519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2520 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2522 # Check whether --enable-plugins or --disable-plugins was given.
2523 if test "${enable_plugins+set}" = set; then
2524 enableval
="$enable_plugins"
2526 if test "$enableval" = yes; then
2527 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2529 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2534 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2535 if test "x$LINE" != x
; then
2536 eval "DEFAULT_$LINE"
2541 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2545 eval "$ac_cv_use_plugins"
2546 if test "$no_cache" != 1; then
2547 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2550 if test "$wxUSE_PLUGINS" = yes; then
2551 echo "$as_me:$LINENO: result: yes" >&5
2552 echo "${ECHO_T}yes" >&6
2554 echo "$as_me:$LINENO: result: no" >&5
2555 echo "${ECHO_T}no" >&6
2559 if test "$wxUSE_GUI" = "yes"; then
2563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2564 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2566 # Check whether --enable-universal or --disable-universal was given.
2567 if test "${enable_universal+set}" = set; then
2568 enableval
="$enable_universal"
2570 if test "$enableval" = yes; then
2571 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2573 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2578 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2579 if test "x$LINE" != x
; then
2580 eval "DEFAULT_$LINE"
2585 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2589 eval "$ac_cv_use_universal"
2590 if test "$no_cache" != 1; then
2591 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2594 if test "$wxUSE_UNIVERSAL" = yes; then
2595 echo "$as_me:$LINENO: result: yes" >&5
2596 echo "${ECHO_T}yes" >&6
2598 echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6
2603 # Check whether --with-gtk or --without-gtk was given.
2604 if test "${with_gtk+set}" = set; then
2606 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2609 # Check whether --with-motif or --without-motif was given.
2610 if test "${with_motif+set}" = set; then
2611 withval
="$with_motif"
2612 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2615 # Check whether --with-mac or --without-mac was given.
2616 if test "${with_mac+set}" = set; then
2618 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2621 # Check whether --with-cocoa or --without-cocoa was given.
2622 if test "${with_cocoa+set}" = set; then
2623 withval
="$with_cocoa"
2624 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2627 # Check whether --with-wine or --without-wine was given.
2628 if test "${with_wine+set}" = set; then
2629 withval
="$with_wine"
2630 wxUSE_WINE
="$withval" CACHE_WINE
=1
2633 # Check whether --with-msw or --without-msw was given.
2634 if test "${with_msw+set}" = set; then
2636 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2639 # Check whether --with-pm or --without-pm was given.
2640 if test "${with_pm+set}" = set; then
2642 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2645 # Check whether --with-mgl or --without-mgl was given.
2646 if test "${with_mgl+set}" = set; then
2648 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2651 # Check whether --with-microwin or --without-microwin was given.
2652 if test "${with_microwin+set}" = set; then
2653 withval
="$with_microwin"
2654 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2657 # Check whether --with-x11 or --without-x11 was given.
2658 if test "${with_x11+set}" = set; then
2660 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2665 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2667 # Check whether --enable-nanox or --disable-nanox was given.
2668 if test "${enable_nanox+set}" = set; then
2669 enableval
="$enable_nanox"
2671 if test "$enableval" = yes; then
2672 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2674 ac_cv_use_nanox
='wxUSE_NANOX=no'
2679 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2680 if test "x$LINE" != x
; then
2681 eval "DEFAULT_$LINE"
2686 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2690 eval "$ac_cv_use_nanox"
2691 if test "$no_cache" != 1; then
2692 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2695 if test "$wxUSE_NANOX" = yes; then
2696 echo "$as_me:$LINENO: result: yes" >&5
2697 echo "${ECHO_T}yes" >&6
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2707 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2709 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2710 if test "${enable_gtk2+set}" = set; then
2711 enableval
="$enable_gtk2"
2713 if test "$enableval" = yes; then
2714 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2716 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2721 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2722 if test "x$LINE" != x
; then
2723 eval "DEFAULT_$LINE"
2728 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2732 eval "$ac_cv_use_gtk2"
2733 if test "$no_cache" != 1; then
2734 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2737 if test "$wxUSE_GTK2" = yes; then
2738 echo "$as_me:$LINENO: result: yes" >&5
2739 echo "${ECHO_T}yes" >&6
2741 echo "$as_me:$LINENO: result: no" >&5
2742 echo "${ECHO_T}no" >&6
2747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2748 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2750 # Check whether --enable-gpe or --disable-gpe was given.
2751 if test "${enable_gpe+set}" = set; then
2752 enableval
="$enable_gpe"
2754 if test "$enableval" = yes; then
2755 ac_cv_use_gpe
='wxUSE_GPE=yes'
2757 ac_cv_use_gpe
='wxUSE_GPE=no'
2762 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2763 if test "x$LINE" != x
; then
2764 eval "DEFAULT_$LINE"
2769 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2773 eval "$ac_cv_use_gpe"
2774 if test "$no_cache" != 1; then
2775 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2778 if test "$wxUSE_GPE" = yes; then
2779 echo "$as_me:$LINENO: result: yes" >&5
2780 echo "${ECHO_T}yes" >&6
2782 echo "$as_me:$LINENO: result: no" >&5
2783 echo "${ECHO_T}no" >&6
2788 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2789 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2792 # Check whether --with-libpng or --without-libpng was given.
2793 if test "${with_libpng+set}" = set; then
2794 withval
="$with_libpng"
2796 if test "$withval" = yes; then
2797 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2798 elif test "$withval" = no
; then
2799 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2800 elif test "$withval" = sys
; then
2801 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2802 elif test "$withval" = builtin; then
2803 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2805 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2806 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2807 { (exit 1); exit 1; }; }
2812 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2813 if test "x$LINE" != x
; then
2814 eval "DEFAULT_$LINE"
2819 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2823 eval "$ac_cv_use_libpng"
2824 if test "$no_cache" != 1; then
2825 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2828 if test "$wxUSE_LIBPNG" = yes; then
2829 echo "$as_me:$LINENO: result: yes" >&5
2830 echo "${ECHO_T}yes" >&6
2831 elif test "$wxUSE_LIBPNG" = no
; then
2832 echo "$as_me:$LINENO: result: no" >&5
2833 echo "${ECHO_T}no" >&6
2834 elif test "$wxUSE_LIBPNG" = sys
; then
2835 echo "$as_me:$LINENO: result: system version" >&5
2836 echo "${ECHO_T}system version" >&6
2837 elif test "$wxUSE_LIBPNG" = builtin; then
2838 echo "$as_me:$LINENO: result: builtin version" >&5
2839 echo "${ECHO_T}builtin version" >&6
2841 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2842 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2843 { (exit 1); exit 1; }; }
2847 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2848 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2851 # Check whether --with-libjpeg or --without-libjpeg was given.
2852 if test "${with_libjpeg+set}" = set; then
2853 withval
="$with_libjpeg"
2855 if test "$withval" = yes; then
2856 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2857 elif test "$withval" = no
; then
2858 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2859 elif test "$withval" = sys
; then
2860 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2861 elif test "$withval" = builtin; then
2862 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2864 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2865 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2866 { (exit 1); exit 1; }; }
2871 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2872 if test "x$LINE" != x
; then
2873 eval "DEFAULT_$LINE"
2878 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2882 eval "$ac_cv_use_libjpeg"
2883 if test "$no_cache" != 1; then
2884 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2887 if test "$wxUSE_LIBJPEG" = yes; then
2888 echo "$as_me:$LINENO: result: yes" >&5
2889 echo "${ECHO_T}yes" >&6
2890 elif test "$wxUSE_LIBJPEG" = no
; then
2891 echo "$as_me:$LINENO: result: no" >&5
2892 echo "${ECHO_T}no" >&6
2893 elif test "$wxUSE_LIBJPEG" = sys
; then
2894 echo "$as_me:$LINENO: result: system version" >&5
2895 echo "${ECHO_T}system version" >&6
2896 elif test "$wxUSE_LIBJPEG" = builtin; then
2897 echo "$as_me:$LINENO: result: builtin version" >&5
2898 echo "${ECHO_T}builtin version" >&6
2900 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2901 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2902 { (exit 1); exit 1; }; }
2906 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2907 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2910 # Check whether --with-libtiff or --without-libtiff was given.
2911 if test "${with_libtiff+set}" = set; then
2912 withval
="$with_libtiff"
2914 if test "$withval" = yes; then
2915 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2916 elif test "$withval" = no
; then
2917 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2918 elif test "$withval" = sys
; then
2919 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2920 elif test "$withval" = builtin; then
2921 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2923 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2924 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2925 { (exit 1); exit 1; }; }
2930 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2931 if test "x$LINE" != x
; then
2932 eval "DEFAULT_$LINE"
2937 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2941 eval "$ac_cv_use_libtiff"
2942 if test "$no_cache" != 1; then
2943 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2946 if test "$wxUSE_LIBTIFF" = yes; then
2947 echo "$as_me:$LINENO: result: yes" >&5
2948 echo "${ECHO_T}yes" >&6
2949 elif test "$wxUSE_LIBTIFF" = no
; then
2950 echo "$as_me:$LINENO: result: no" >&5
2951 echo "${ECHO_T}no" >&6
2952 elif test "$wxUSE_LIBTIFF" = sys
; then
2953 echo "$as_me:$LINENO: result: system version" >&5
2954 echo "${ECHO_T}system version" >&6
2955 elif test "$wxUSE_LIBTIFF" = builtin; then
2956 echo "$as_me:$LINENO: result: builtin version" >&5
2957 echo "${ECHO_T}builtin version" >&6
2959 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2960 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2961 { (exit 1); exit 1; }; }
2965 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2966 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2969 # Check whether --with-libxpm or --without-libxpm was given.
2970 if test "${with_libxpm+set}" = set; then
2971 withval
="$with_libxpm"
2973 if test "$withval" = yes; then
2974 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2975 elif test "$withval" = no
; then
2976 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2977 elif test "$withval" = sys
; then
2978 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2979 elif test "$withval" = builtin; then
2980 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2982 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2983 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2984 { (exit 1); exit 1; }; }
2989 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x
; then
2991 eval "DEFAULT_$LINE"
2996 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3000 eval "$ac_cv_use_libxpm"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3005 if test "$wxUSE_LIBXPM" = yes; then
3006 echo "$as_me:$LINENO: result: yes" >&5
3007 echo "${ECHO_T}yes" >&6
3008 elif test "$wxUSE_LIBXPM" = no
; then
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3011 elif test "$wxUSE_LIBXPM" = sys
; then
3012 echo "$as_me:$LINENO: result: system version" >&5
3013 echo "${ECHO_T}system version" >&6
3014 elif test "$wxUSE_LIBXPM" = builtin; then
3015 echo "$as_me:$LINENO: result: builtin version" >&5
3016 echo "${ECHO_T}builtin version" >&6
3018 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3019 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3020 { (exit 1); exit 1; }; }
3024 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3025 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3028 # Check whether --with-libmspack or --without-libmspack was given.
3029 if test "${with_libmspack+set}" = set; then
3030 withval
="$with_libmspack"
3032 if test "$withval" = yes; then
3033 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3035 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3040 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3041 if test "x$LINE" != x
; then
3042 eval "DEFAULT_$LINE"
3047 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3051 eval "$ac_cv_use_libmspack"
3052 if test "$no_cache" != 1; then
3053 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3056 if test "$wxUSE_LIBMSPACK" = yes; then
3057 echo "$as_me:$LINENO: result: yes" >&5
3058 echo "${ECHO_T}yes" >&6
3060 echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3065 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3066 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3069 # Check whether --with-sdl or --without-sdl was given.
3070 if test "${with_sdl+set}" = set; then
3073 if test "$withval" = yes; then
3074 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3076 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3081 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3082 if test "x$LINE" != x
; then
3083 eval "DEFAULT_$LINE"
3088 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3092 eval "$ac_cv_use_sdl"
3093 if test "$no_cache" != 1; then
3094 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3097 if test "$wxUSE_LIBSDL" = yes; then
3098 echo "$as_me:$LINENO: result: yes" >&5
3099 echo "${ECHO_T}yes" >&6
3101 echo "$as_me:$LINENO: result: no" >&5
3102 echo "${ECHO_T}no" >&6
3106 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3107 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3110 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3111 if test "${with_gnomeprint+set}" = set; then
3112 withval
="$with_gnomeprint"
3114 if test "$withval" = yes; then
3115 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3117 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3122 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3123 if test "x$LINE" != x
; then
3124 eval "DEFAULT_$LINE"
3129 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3133 eval "$ac_cv_use_gnomeprint"
3134 if test "$no_cache" != 1; then
3135 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3138 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3139 echo "$as_me:$LINENO: result: yes" >&5
3140 echo "${ECHO_T}yes" >&6
3142 echo "$as_me:$LINENO: result: no" >&5
3143 echo "${ECHO_T}no" >&6
3147 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3148 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3151 # Check whether --with-opengl or --without-opengl was given.
3152 if test "${with_opengl+set}" = set; then
3153 withval
="$with_opengl"
3155 if test "$withval" = yes; then
3156 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3158 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3163 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x
; then
3165 eval "DEFAULT_$LINE"
3170 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3174 eval "$ac_cv_use_opengl"
3175 if test "$no_cache" != 1; then
3176 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3179 if test "$wxUSE_OPENGL" = yes; then
3180 echo "$as_me:$LINENO: result: yes" >&5
3181 echo "${ECHO_T}yes" >&6
3183 echo "$as_me:$LINENO: result: no" >&5
3184 echo "${ECHO_T}no" >&6
3191 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3192 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3195 # Check whether --with-dmalloc or --without-dmalloc was given.
3196 if test "${with_dmalloc+set}" = set; then
3197 withval
="$with_dmalloc"
3199 if test "$withval" = yes; then
3200 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3202 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3207 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3208 if test "x$LINE" != x
; then
3209 eval "DEFAULT_$LINE"
3214 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3218 eval "$ac_cv_use_dmalloc"
3219 if test "$no_cache" != 1; then
3220 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3223 if test "$wxUSE_DMALLOC" = yes; then
3224 echo "$as_me:$LINENO: result: yes" >&5
3225 echo "${ECHO_T}yes" >&6
3227 echo "$as_me:$LINENO: result: no" >&5
3228 echo "${ECHO_T}no" >&6
3232 echo "$as_me:$LINENO: checking for --with-regex" >&5
3233 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3236 # Check whether --with-regex or --without-regex was given.
3237 if test "${with_regex+set}" = set; then
3238 withval
="$with_regex"
3240 if test "$withval" = yes; then
3241 ac_cv_use_regex
='wxUSE_REGEX=yes'
3242 elif test "$withval" = no
; then
3243 ac_cv_use_regex
='wxUSE_REGEX=no'
3244 elif test "$withval" = sys
; then
3245 ac_cv_use_regex
='wxUSE_REGEX=sys'
3246 elif test "$withval" = builtin; then
3247 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3249 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3250 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3251 { (exit 1); exit 1; }; }
3256 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3257 if test "x$LINE" != x
; then
3258 eval "DEFAULT_$LINE"
3263 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3267 eval "$ac_cv_use_regex"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3272 if test "$wxUSE_REGEX" = yes; then
3273 echo "$as_me:$LINENO: result: yes" >&5
3274 echo "${ECHO_T}yes" >&6
3275 elif test "$wxUSE_REGEX" = no
; then
3276 echo "$as_me:$LINENO: result: no" >&5
3277 echo "${ECHO_T}no" >&6
3278 elif test "$wxUSE_REGEX" = sys
; then
3279 echo "$as_me:$LINENO: result: system version" >&5
3280 echo "${ECHO_T}system version" >&6
3281 elif test "$wxUSE_REGEX" = builtin; then
3282 echo "$as_me:$LINENO: result: builtin version" >&5
3283 echo "${ECHO_T}builtin version" >&6
3285 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3286 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3287 { (exit 1); exit 1; }; }
3291 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3292 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3295 # Check whether --with-zlib or --without-zlib was given.
3296 if test "${with_zlib+set}" = set; then
3297 withval
="$with_zlib"
3299 if test "$withval" = yes; then
3300 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3301 elif test "$withval" = no
; then
3302 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3303 elif test "$withval" = sys
; then
3304 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3305 elif test "$withval" = builtin; then
3306 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3308 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3309 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3310 { (exit 1); exit 1; }; }
3315 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x
; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3326 eval "$ac_cv_use_zlib"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3331 if test "$wxUSE_ZLIB" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3334 elif test "$wxUSE_ZLIB" = no
; then
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3337 elif test "$wxUSE_ZLIB" = sys
; then
3338 echo "$as_me:$LINENO: result: system version" >&5
3339 echo "${ECHO_T}system version" >&6
3340 elif test "$wxUSE_ZLIB" = builtin; then
3341 echo "$as_me:$LINENO: result: builtin version" >&5
3342 echo "${ECHO_T}builtin version" >&6
3344 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3345 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3346 { (exit 1); exit 1; }; }
3350 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3351 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3354 # Check whether --with-odbc or --without-odbc was given.
3355 if test "${with_odbc+set}" = set; then
3356 withval
="$with_odbc"
3358 if test "$withval" = yes; then
3359 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3360 elif test "$withval" = no
; then
3361 ac_cv_use_odbc
='wxUSE_ODBC=no'
3362 elif test "$withval" = sys
; then
3363 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3364 elif test "$withval" = builtin; then
3365 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3367 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3368 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3369 { (exit 1); exit 1; }; }
3374 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x
; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3385 eval "$ac_cv_use_odbc"
3386 if test "$no_cache" != 1; then
3387 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3390 if test "$wxUSE_ODBC" = yes; then
3391 echo "$as_me:$LINENO: result: yes" >&5
3392 echo "${ECHO_T}yes" >&6
3393 elif test "$wxUSE_ODBC" = no
; then
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3396 elif test "$wxUSE_ODBC" = sys
; then
3397 echo "$as_me:$LINENO: result: system version" >&5
3398 echo "${ECHO_T}system version" >&6
3399 elif test "$wxUSE_ODBC" = builtin; then
3400 echo "$as_me:$LINENO: result: builtin version" >&5
3401 echo "${ECHO_T}builtin version" >&6
3403 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3404 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3405 { (exit 1); exit 1; }; }
3409 echo "$as_me:$LINENO: checking for --with-expat" >&5
3410 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3413 # Check whether --with-expat or --without-expat was given.
3414 if test "${with_expat+set}" = set; then
3415 withval
="$with_expat"
3417 if test "$withval" = yes; then
3418 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3419 elif test "$withval" = no
; then
3420 ac_cv_use_expat
='wxUSE_EXPAT=no'
3421 elif test "$withval" = sys
; then
3422 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3423 elif test "$withval" = builtin; then
3424 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3426 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3427 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3428 { (exit 1); exit 1; }; }
3433 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x
; then
3435 eval "DEFAULT_$LINE"
3440 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3444 eval "$ac_cv_use_expat"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3449 if test "$wxUSE_EXPAT" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 elif test "$wxUSE_EXPAT" = no
; then
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 elif test "$wxUSE_EXPAT" = sys
; then
3456 echo "$as_me:$LINENO: result: system version" >&5
3457 echo "${ECHO_T}system version" >&6
3458 elif test "$wxUSE_EXPAT" = builtin; then
3459 echo "$as_me:$LINENO: result: builtin version" >&5
3460 echo "${ECHO_T}builtin version" >&6
3462 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3463 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3464 { (exit 1); exit 1; }; }
3471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3474 # Check whether --enable-shared or --disable-shared was given.
3475 if test "${enable_shared+set}" = set; then
3476 enableval
="$enable_shared"
3478 if test "$enableval" = yes; then
3479 ac_cv_use_shared
='wxUSE_SHARED=yes'
3481 ac_cv_use_shared
='wxUSE_SHARED=no'
3486 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x
; then
3488 eval "DEFAULT_$LINE"
3493 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3497 eval "$ac_cv_use_shared"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_SHARED" = yes; then
3503 echo "$as_me:$LINENO: result: yes" >&5
3504 echo "${ECHO_T}yes" >&6
3506 echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6
3512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3513 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3515 # Check whether --enable-optimise or --disable-optimise was given.
3516 if test "${enable_optimise+set}" = set; then
3517 enableval
="$enable_optimise"
3519 if test "$enableval" = yes; then
3520 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3522 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3527 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x
; then
3529 eval "DEFAULT_$LINE"
3534 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3538 eval "$ac_cv_use_optimise"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3543 if test "$wxUSE_OPTIMISE" = yes; then
3544 echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3556 # Check whether --enable-debug or --disable-debug was given.
3557 if test "${enable_debug+set}" = set; then
3558 enableval
="$enable_debug"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3563 ac_cv_use_debug
='wxUSE_DEBUG=no'
3568 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x
; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3579 eval "$ac_cv_use_debug"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_DEBUG" = yes; then
3585 echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3595 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3597 # Check whether --enable-stl or --disable-stl was given.
3598 if test "${enable_stl+set}" = set; then
3599 enableval
="$enable_stl"
3601 if test "$enableval" = yes; then
3602 ac_cv_use_stl
='wxUSE_STL=yes'
3604 ac_cv_use_stl
='wxUSE_STL=no'
3609 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3610 if test "x$LINE" != x
; then
3611 eval "DEFAULT_$LINE"
3616 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3620 eval "$ac_cv_use_stl"
3621 if test "$no_cache" != 1; then
3622 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3625 if test "$wxUSE_STL" = yes; then
3626 echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6
3629 echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6
3633 if test "$USE_OS2" = "1"; then
3634 DEFAULT_wxUSE_OMF
=no
3637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3638 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3640 # Check whether --enable-omf or --disable-omf was given.
3641 if test "${enable_omf+set}" = set; then
3642 enableval
="$enable_omf"
3644 if test "$enableval" = yes; then
3645 ac_cv_use_omf
='wxUSE_OMF=yes'
3647 ac_cv_use_omf
='wxUSE_OMF=no'
3652 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x
; then
3654 eval "DEFAULT_$LINE"
3659 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3663 eval "$ac_cv_use_omf"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3668 if test "$wxUSE_OMF" = yes; then
3669 echo "$as_me:$LINENO: result: yes" >&5
3670 echo "${ECHO_T}yes" >&6
3672 echo "$as_me:$LINENO: result: no" >&5
3673 echo "${ECHO_T}no" >&6
3678 if test "$wxUSE_DEBUG" = "yes"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3680 DEFAULT_wxUSE_DEBUG_INFO
=yes
3682 elif test "$wxUSE_DEBUG" = "no"; then
3683 DEFAULT_wxUSE_DEBUG_FLAG
=no
3684 DEFAULT_wxUSE_DEBUG_INFO
=no
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3693 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3694 if test "${enable_debug_flag+set}" = set; then
3695 enableval
="$enable_debug_flag"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3700 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3705 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x
; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3716 eval "$ac_cv_use_debug_flag"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_DEBUG_FLAG" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3734 # Check whether --enable-debug_info or --disable-debug_info was given.
3735 if test "${enable_debug_info+set}" = set; then
3736 enableval
="$enable_debug_info"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3741 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3746 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x
; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3757 eval "$ac_cv_use_debug_info"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_DEBUG_INFO" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3775 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3776 if test "${enable_debug_gdb+set}" = set; then
3777 enableval
="$enable_debug_gdb"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3782 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3787 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x
; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3798 eval "$ac_cv_use_debug_gdb"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3803 if test "$wxUSE_DEBUG_GDB" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3814 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3816 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3817 if test "${enable_debug_cntxt+set}" = set; then
3818 enableval
="$enable_debug_cntxt"
3820 if test "$enableval" = yes; then
3821 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3823 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3828 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3829 if test "x$LINE" != x
; then
3830 eval "DEFAULT_$LINE"
3835 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3839 eval "$ac_cv_use_debug_cntxt"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3844 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3845 echo "$as_me:$LINENO: result: yes" >&5
3846 echo "${ECHO_T}yes" >&6
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3857 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3858 if test "${enable_mem_tracing+set}" = set; then
3859 enableval
="$enable_mem_tracing"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3864 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3869 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x
; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3880 eval "$ac_cv_use_mem_tracing"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_MEM_TRACING" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3896 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3898 # Check whether --enable-profile or --disable-profile was given.
3899 if test "${enable_profile+set}" = set; then
3900 enableval
="$enable_profile"
3902 if test "$enableval" = yes; then
3903 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3905 ac_cv_use_profile
='wxUSE_PROFILE=no'
3910 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x
; then
3912 eval "DEFAULT_$LINE"
3917 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3921 eval "$ac_cv_use_profile"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_PROFILE" = yes; then
3927 echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3937 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3939 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3940 if test "${enable_no_rtti+set}" = set; then
3941 enableval
="$enable_no_rtti"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3946 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3951 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3962 eval "$ac_cv_use_no_rtti"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3967 if test "$wxUSE_NO_RTTI" = yes; then
3968 echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3978 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3980 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3981 if test "${enable_no_exceptions+set}" = set; then
3982 enableval
="$enable_no_exceptions"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3987 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3992 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4003 eval "$ac_cv_use_no_exceptions"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4009 echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4019 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4021 # Check whether --enable-permissive or --disable-permissive was given.
4022 if test "${enable_permissive+set}" = set; then
4023 enableval
="$enable_permissive"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4028 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4033 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x
; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4044 eval "$ac_cv_use_permissive"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4049 if test "$wxUSE_PERMISSIVE" = yes; then
4050 echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4060 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4062 # Check whether --enable-no_deps or --disable-no_deps was given.
4063 if test "${enable_no_deps+set}" = set; then
4064 enableval
="$enable_no_deps"
4066 if test "$enableval" = yes; then
4067 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4069 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4074 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4075 if test "x$LINE" != x
; then
4076 eval "DEFAULT_$LINE"
4081 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4085 eval "$ac_cv_use_no_deps"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_NO_DEPS" = yes; then
4091 echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4102 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4104 # Check whether --enable-compat22 or --disable-compat22 was given.
4105 if test "${enable_compat22+set}" = set; then
4106 enableval
="$enable_compat22"
4108 if test "$enableval" = yes; then
4109 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4111 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4116 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4117 if test "x$LINE" != x
; then
4118 eval "DEFAULT_$LINE"
4123 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4127 eval "$ac_cv_use_compat22"
4128 if test "$no_cache" != 1; then
4129 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4132 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4133 echo "$as_me:$LINENO: result: yes" >&5
4134 echo "${ECHO_T}yes" >&6
4136 echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4141 enablestring
=disable
4142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4143 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4145 # Check whether --enable-compat24 or --disable-compat24 was given.
4146 if test "${enable_compat24+set}" = set; then
4147 enableval
="$enable_compat24"
4149 if test "$enableval" = yes; then
4150 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4152 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4157 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4158 if test "x$LINE" != x
; then
4159 eval "DEFAULT_$LINE"
4164 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4168 eval "$ac_cv_use_compat24"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4173 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4174 echo "$as_me:$LINENO: result: yes" >&5
4175 echo "${ECHO_T}yes" >&6
4177 echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6
4184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4185 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4187 # Check whether --enable-rpath or --disable-rpath was given.
4188 if test "${enable_rpath+set}" = set; then
4189 enableval
="$enable_rpath"
4191 if test "$enableval" = yes; then
4192 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4194 ac_cv_use_rpath
='wxUSE_RPATH=no'
4199 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x
; then
4201 eval "DEFAULT_$LINE"
4206 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4210 eval "$ac_cv_use_rpath"
4211 if test "$no_cache" != 1; then
4212 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4215 if test "$wxUSE_RPATH" = yes; then
4216 echo "$as_me:$LINENO: result: yes" >&5
4217 echo "${ECHO_T}yes" >&6
4219 echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4231 # Check whether --enable-intl or --disable-intl was given.
4232 if test "${enable_intl+set}" = set; then
4233 enableval
="$enable_intl"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_intl
='wxUSE_INTL=yes'
4238 ac_cv_use_intl
='wxUSE_INTL=no'
4243 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4254 eval "$ac_cv_use_intl"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_INTL" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4272 # Check whether --enable-config or --disable-config was given.
4273 if test "${enable_config+set}" = set; then
4274 enableval
="$enable_config"
4276 if test "$enableval" = yes; then
4277 ac_cv_use_config
='wxUSE_CONFIG=yes'
4279 ac_cv_use_config
='wxUSE_CONFIG=no'
4284 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x
; then
4286 eval "DEFAULT_$LINE"
4291 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4295 eval "$ac_cv_use_config"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_CONFIG" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4314 # Check whether --enable-protocols or --disable-protocols was given.
4315 if test "${enable_protocols+set}" = set; then
4316 enableval
="$enable_protocols"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4321 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4326 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x
; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4337 eval "$ac_cv_use_protocols"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4342 if test "$wxUSE_PROTOCOL" = yes; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4355 # Check whether --enable-ftp or --disable-ftp was given.
4356 if test "${enable_ftp+set}" = set; then
4357 enableval
="$enable_ftp"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4362 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4367 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x
; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4378 eval "$ac_cv_use_ftp"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4396 # Check whether --enable-http or --disable-http was given.
4397 if test "${enable_http+set}" = set; then
4398 enableval
="$enable_http"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4403 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4408 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x
; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4419 eval "$ac_cv_use_http"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4435 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4437 # Check whether --enable-fileproto or --disable-fileproto was given.
4438 if test "${enable_fileproto+set}" = set; then
4439 enableval
="$enable_fileproto"
4441 if test "$enableval" = yes; then
4442 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4444 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4449 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x
; then
4451 eval "DEFAULT_$LINE"
4456 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4460 eval "$ac_cv_use_fileproto"
4461 if test "$no_cache" != 1; then
4462 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4465 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4466 echo "$as_me:$LINENO: result: yes" >&5
4467 echo "${ECHO_T}yes" >&6
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4478 # Check whether --enable-sockets or --disable-sockets was given.
4479 if test "${enable_sockets+set}" = set; then
4480 enableval
="$enable_sockets"
4482 if test "$enableval" = yes; then
4483 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4485 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4490 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x
; then
4492 eval "DEFAULT_$LINE"
4497 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4501 eval "$ac_cv_use_sockets"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4506 if test "$wxUSE_SOCKETS" = yes; then
4507 echo "$as_me:$LINENO: result: yes" >&5
4508 echo "${ECHO_T}yes" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4519 # Check whether --enable-ole or --disable-ole was given.
4520 if test "${enable_ole+set}" = set; then
4521 enableval
="$enable_ole"
4523 if test "$enableval" = yes; then
4524 ac_cv_use_ole
='wxUSE_OLE=yes'
4526 ac_cv_use_ole
='wxUSE_OLE=no'
4531 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4532 if test "x$LINE" != x
; then
4533 eval "DEFAULT_$LINE"
4538 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4542 eval "$ac_cv_use_ole"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_OLE" = yes; then
4548 echo "$as_me:$LINENO: result: yes" >&5
4549 echo "${ECHO_T}yes" >&6
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4560 # Check whether --enable-dataobj or --disable-dataobj was given.
4561 if test "${enable_dataobj+set}" = set; then
4562 enableval
="$enable_dataobj"
4564 if test "$enableval" = yes; then
4565 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4567 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4572 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4573 if test "x$LINE" != x
; then
4574 eval "DEFAULT_$LINE"
4579 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4583 eval "$ac_cv_use_dataobj"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4588 if test "$wxUSE_DATAOBJ" = yes; then
4589 echo "$as_me:$LINENO: result: yes" >&5
4590 echo "${ECHO_T}yes" >&6
4592 echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4602 # Check whether --enable-ipc or --disable-ipc was given.
4603 if test "${enable_ipc+set}" = set; then
4604 enableval
="$enable_ipc"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_ipc
='wxUSE_IPC=yes'
4609 ac_cv_use_ipc
='wxUSE_IPC=no'
4614 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4625 eval "$ac_cv_use_ipc"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4630 if test "$wxUSE_IPC" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4642 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4644 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4645 if test "${enable_apple_ieee+set}" = set; then
4646 enableval
="$enable_apple_ieee"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4651 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4656 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x
; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4667 eval "$ac_cv_use_apple_ieee"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4672 if test "$wxUSE_APPLE_IEEE" = yes; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674 echo "${ECHO_T}yes" >&6
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4685 # Check whether --enable-arcstream or --disable-arcstream was given.
4686 if test "${enable_arcstream+set}" = set; then
4687 enableval
="$enable_arcstream"
4689 if test "$enableval" = yes; then
4690 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4692 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4697 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x
; then
4699 eval "DEFAULT_$LINE"
4704 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4708 eval "$ac_cv_use_arcstream"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4713 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4714 echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6
4717 echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4726 # Check whether --enable-backtrace or --disable-backtrace was given.
4727 if test "${enable_backtrace+set}" = set; then
4728 enableval
="$enable_backtrace"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4733 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4738 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x
; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4749 eval "$ac_cv_use_backtrace"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4754 if test "$wxUSE_STACKWALKER" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4767 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4768 if test "${enable_catch_segvs+set}" = set; then
4769 enableval
="$enable_catch_segvs"
4771 if test "$enableval" = yes; then
4772 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4774 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4779 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x
; then
4781 eval "DEFAULT_$LINE"
4786 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4790 eval "$ac_cv_use_catch_segvs"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4808 # Check whether --enable-cmdline or --disable-cmdline was given.
4809 if test "${enable_cmdline+set}" = set; then
4810 enableval
="$enable_cmdline"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4815 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4820 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x
; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4831 eval "$ac_cv_use_cmdline"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4849 # Check whether --enable-datetime or --disable-datetime was given.
4850 if test "${enable_datetime+set}" = set; then
4851 enableval
="$enable_datetime"
4853 if test "$enableval" = yes; then
4854 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4856 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4861 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x
; then
4863 eval "DEFAULT_$LINE"
4868 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4872 eval "$ac_cv_use_datetime"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_DATETIME" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4890 # Check whether --enable-debugreport or --disable-debugreport was given.
4891 if test "${enable_debugreport+set}" = set; then
4892 enableval
="$enable_debugreport"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4897 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4902 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x
; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4913 eval "$ac_cv_use_debugreport"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_DEBUGREPORT" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4931 # Check whether --enable-dialupman or --disable-dialupman was given.
4932 if test "${enable_dialupman+set}" = set; then
4933 enableval
="$enable_dialupman"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4938 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4943 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4954 eval "$ac_cv_use_dialupman"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4972 # Check whether --enable-dynlib or --disable-dynlib was given.
4973 if test "${enable_dynlib+set}" = set; then
4974 enableval
="$enable_dynlib"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4979 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4984 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x
; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4995 eval "$ac_cv_use_dynlib"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5013 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5014 if test "${enable_dynamicloader+set}" = set; then
5015 enableval
="$enable_dynamicloader"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5020 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5025 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x
; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5036 eval "$ac_cv_use_dynamicloader"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5054 # Check whether --enable-exceptions or --disable-exceptions was given.
5055 if test "${enable_exceptions+set}" = set; then
5056 enableval
="$enable_exceptions"
5058 if test "$enableval" = yes; then
5059 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5061 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5066 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x
; then
5068 eval "DEFAULT_$LINE"
5073 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5077 eval "$ac_cv_use_exceptions"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_EXCEPTIONS" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5095 # Check whether --enable-ffile or --disable-ffile was given.
5096 if test "${enable_ffile+set}" = set; then
5097 enableval
="$enable_ffile"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5102 ac_cv_use_ffile
='wxUSE_FFILE=no'
5107 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x
; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5118 eval "$ac_cv_use_ffile"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_FFILE" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5136 # Check whether --enable-file or --disable-file was given.
5137 if test "${enable_file+set}" = set; then
5138 enableval
="$enable_file"
5140 if test "$enableval" = yes; then
5141 ac_cv_use_file
='wxUSE_FILE=yes'
5143 ac_cv_use_file
='wxUSE_FILE=no'
5148 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x
; then
5150 eval "DEFAULT_$LINE"
5155 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5159 eval "$ac_cv_use_file"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_FILE" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5177 # Check whether --enable-filesystem or --disable-filesystem was given.
5178 if test "${enable_filesystem+set}" = set; then
5179 enableval
="$enable_filesystem"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5184 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5189 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5200 eval "$ac_cv_use_filesystem"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_FILESYSTEM" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5218 # Check whether --enable-fontmap or --disable-fontmap was given.
5219 if test "${enable_fontmap+set}" = set; then
5220 enableval
="$enable_fontmap"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5225 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5230 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x
; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5241 eval "$ac_cv_use_fontmap"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_FONTMAP" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5259 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5260 if test "${enable_fs_inet+set}" = set; then
5261 enableval
="$enable_fs_inet"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5266 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5271 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5282 eval "$ac_cv_use_fs_inet"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_FS_INET" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5300 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5301 if test "${enable_fs_zip+set}" = set; then
5302 enableval
="$enable_fs_zip"
5304 if test "$enableval" = yes; then
5305 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5307 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5312 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x
; then
5314 eval "DEFAULT_$LINE"
5319 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5323 eval "$ac_cv_use_fs_zip"
5324 if test "$no_cache" != 1; then
5325 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5328 if test "$wxUSE_FS_ZIP" = yes; then
5329 echo "$as_me:$LINENO: result: yes" >&5
5330 echo "${ECHO_T}yes" >&6
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5341 # Check whether --enable-geometry or --disable-geometry was given.
5342 if test "${enable_geometry+set}" = set; then
5343 enableval
="$enable_geometry"
5345 if test "$enableval" = yes; then
5346 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5348 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5353 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x
; then
5355 eval "DEFAULT_$LINE"
5360 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5364 eval "$ac_cv_use_geometry"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5369 if test "$wxUSE_GEOMETRY" = yes; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5373 echo "$as_me:$LINENO: result: no" >&5
5374 echo "${ECHO_T}no" >&6
5379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5382 # Check whether --enable-log or --disable-log was given.
5383 if test "${enable_log+set}" = set; then
5384 enableval
="$enable_log"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_log
='wxUSE_LOG=yes'
5389 ac_cv_use_log
='wxUSE_LOG=no'
5394 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5405 eval "$ac_cv_use_log"
5406 if test "$no_cache" != 1; then
5407 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5410 if test "$wxUSE_LOG" = yes; then
5411 echo "$as_me:$LINENO: result: yes" >&5
5412 echo "${ECHO_T}yes" >&6
5414 echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5423 # Check whether --enable-longlong or --disable-longlong was given.
5424 if test "${enable_longlong+set}" = set; then
5425 enableval
="$enable_longlong"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5430 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5435 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5446 eval "$ac_cv_use_longlong"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_LONGLONG" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5464 # Check whether --enable-mimetype or --disable-mimetype was given.
5465 if test "${enable_mimetype+set}" = set; then
5466 enableval
="$enable_mimetype"
5468 if test "$enableval" = yes; then
5469 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5471 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5476 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x
; then
5478 eval "DEFAULT_$LINE"
5483 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5487 eval "$ac_cv_use_mimetype"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5492 if test "$wxUSE_MIMETYPE" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5505 # Check whether --enable-mslu or --disable-mslu was given.
5506 if test "${enable_mslu+set}" = set; then
5507 enableval
="$enable_mslu"
5509 if test "$enableval" = yes; then
5510 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5512 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5517 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x
; then
5519 eval "DEFAULT_$LINE"
5524 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5528 eval "$ac_cv_use_mslu"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5533 if test "$wxUSE_UNICODE_MSLU" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5546 # Check whether --enable-snglinst or --disable-snglinst was given.
5547 if test "${enable_snglinst+set}" = set; then
5548 enableval
="$enable_snglinst"
5550 if test "$enableval" = yes; then
5551 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5553 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5558 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x
; then
5560 eval "DEFAULT_$LINE"
5565 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5569 eval "$ac_cv_use_snglinst"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5574 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5587 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5588 if test "${enable_std_iostreams+set}" = set; then
5589 enableval
="$enable_std_iostreams"
5591 if test "$enableval" = yes; then
5592 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5594 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5599 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x
; then
5601 eval "DEFAULT_$LINE"
5606 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5610 eval "$ac_cv_use_std_iostreams"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_STD_IOSTREAM" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6
5619 echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5628 # Check whether --enable-std_string or --disable-std_string was given.
5629 if test "${enable_std_string+set}" = set; then
5630 enableval
="$enable_std_string"
5632 if test "$enableval" = yes; then
5633 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5635 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5640 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x
; then
5642 eval "DEFAULT_$LINE"
5647 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5651 eval "$ac_cv_use_std_string"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_STD_STRING" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5669 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5670 if test "${enable_stdpaths+set}" = set; then
5671 enableval
="$enable_stdpaths"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5676 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5681 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x
; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5692 eval "$ac_cv_use_stdpaths"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_STDPATHS" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5710 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5711 if test "${enable_stopwatch+set}" = set; then
5712 enableval
="$enable_stopwatch"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5717 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5722 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x
; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5733 eval "$ac_cv_use_stopwatch"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_STOPWATCH" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5751 # Check whether --enable-streams or --disable-streams was given.
5752 if test "${enable_streams+set}" = set; then
5753 enableval
="$enable_streams"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5758 ac_cv_use_streams
='wxUSE_STREAMS=no'
5763 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x
; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5774 eval "$ac_cv_use_streams"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_STREAMS" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5792 # Check whether --enable-system_options or --disable-system_options was given.
5793 if test "${enable_system_options+set}" = set; then
5794 enableval
="$enable_system_options"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5799 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5804 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x
; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5815 eval "$ac_cv_use_system_options"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822 echo "${ECHO_T}yes" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5831 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5833 # Check whether --enable-textbuf or --disable-textbuf was given.
5834 if test "${enable_textbuf+set}" = set; then
5835 enableval
="$enable_textbuf"
5837 if test "$enableval" = yes; then
5838 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5840 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5845 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5846 if test "x$LINE" != x
; then
5847 eval "DEFAULT_$LINE"
5852 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5856 eval "$ac_cv_use_textbuf"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5861 if test "$wxUSE_TEXTBUFFER" = yes; then
5862 echo "$as_me:$LINENO: result: yes" >&5
5863 echo "${ECHO_T}yes" >&6
5865 echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6
5871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5872 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5874 # Check whether --enable-textfile or --disable-textfile was given.
5875 if test "${enable_textfile+set}" = set; then
5876 enableval
="$enable_textfile"
5878 if test "$enableval" = yes; then
5879 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5881 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5886 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5887 if test "x$LINE" != x
; then
5888 eval "DEFAULT_$LINE"
5893 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5897 eval "$ac_cv_use_textfile"
5898 if test "$no_cache" != 1; then
5899 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5902 if test "$wxUSE_TEXTFILE" = yes; then
5903 echo "$as_me:$LINENO: result: yes" >&5
5904 echo "${ECHO_T}yes" >&6
5906 echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6
5912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5913 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5915 # Check whether --enable-timer or --disable-timer was given.
5916 if test "${enable_timer+set}" = set; then
5917 enableval
="$enable_timer"
5919 if test "$enableval" = yes; then
5920 ac_cv_use_timer
='wxUSE_TIMER=yes'
5922 ac_cv_use_timer
='wxUSE_TIMER=no'
5927 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5928 if test "x$LINE" != x
; then
5929 eval "DEFAULT_$LINE"
5934 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5938 eval "$ac_cv_use_timer"
5939 if test "$no_cache" != 1; then
5940 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5943 if test "$wxUSE_TIMER" = yes; then
5944 echo "$as_me:$LINENO: result: yes" >&5
5945 echo "${ECHO_T}yes" >&6
5947 echo "$as_me:$LINENO: result: no" >&5
5948 echo "${ECHO_T}no" >&6
5953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5954 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5956 # Check whether --enable-unicode or --disable-unicode was given.
5957 if test "${enable_unicode+set}" = set; then
5958 enableval
="$enable_unicode"
5960 if test "$enableval" = yes; then
5961 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5963 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5968 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5969 if test "x$LINE" != x
; then
5970 eval "DEFAULT_$LINE"
5975 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5979 eval "$ac_cv_use_unicode"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5984 if test "$wxUSE_UNICODE" = yes; then
5985 echo "$as_me:$LINENO: result: yes" >&5
5986 echo "${ECHO_T}yes" >&6
5988 echo "$as_me:$LINENO: result: no" >&5
5989 echo "${ECHO_T}no" >&6
5994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5995 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5997 # Check whether --enable-sound or --disable-sound was given.
5998 if test "${enable_sound+set}" = set; then
5999 enableval
="$enable_sound"
6001 if test "$enableval" = yes; then
6002 ac_cv_use_sound
='wxUSE_SOUND=yes'
6004 ac_cv_use_sound
='wxUSE_SOUND=no'
6009 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6010 if test "x$LINE" != x
; then
6011 eval "DEFAULT_$LINE"
6016 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6020 eval "$ac_cv_use_sound"
6021 if test "$no_cache" != 1; then
6022 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6025 if test "$wxUSE_SOUND" = yes; then
6026 echo "$as_me:$LINENO: result: yes" >&5
6027 echo "${ECHO_T}yes" >&6
6029 echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6
6035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6036 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6038 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6039 if test "${enable_mediactrl+set}" = set; then
6040 enableval
="$enable_mediactrl"
6042 if test "$enableval" = yes; then
6043 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6045 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6050 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6051 if test "x$LINE" != x
; then
6052 eval "DEFAULT_$LINE"
6057 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6061 eval "$ac_cv_use_mediactrl"
6062 if test "$no_cache" != 1; then
6063 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6066 if test "$wxUSE_MEDIACTRL" = yes; then
6067 echo "$as_me:$LINENO: result: yes" >&5
6068 echo "${ECHO_T}yes" >&6
6070 echo "$as_me:$LINENO: result: no" >&5
6071 echo "${ECHO_T}no" >&6
6076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6077 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6079 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6080 if test "${enable_wxprintfv+set}" = set; then
6081 enableval
="$enable_wxprintfv"
6083 if test "$enableval" = yes; then
6084 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6086 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6091 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6092 if test "x$LINE" != x
; then
6093 eval "DEFAULT_$LINE"
6098 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6102 eval "$ac_cv_use_wxprintfv"
6103 if test "$no_cache" != 1; then
6104 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6107 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6108 echo "$as_me:$LINENO: result: yes" >&5
6109 echo "${ECHO_T}yes" >&6
6111 echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6
6117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6118 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6120 # Check whether --enable-zipstream or --disable-zipstream was given.
6121 if test "${enable_zipstream+set}" = set; then
6122 enableval
="$enable_zipstream"
6124 if test "$enableval" = yes; then
6125 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6127 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6132 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6133 if test "x$LINE" != x
; then
6134 eval "DEFAULT_$LINE"
6139 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6143 eval "$ac_cv_use_zipstream"
6144 if test "$no_cache" != 1; then
6145 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6148 if test "$wxUSE_ZIPSTREAM" = yes; then
6149 echo "$as_me:$LINENO: result: yes" >&5
6150 echo "${ECHO_T}yes" >&6
6152 echo "$as_me:$LINENO: result: no" >&5
6153 echo "${ECHO_T}no" >&6
6159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6160 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6162 # Check whether --enable-url or --disable-url was given.
6163 if test "${enable_url+set}" = set; then
6164 enableval
="$enable_url"
6166 if test "$enableval" = yes; then
6167 ac_cv_use_url
='wxUSE_URL=yes'
6169 ac_cv_use_url
='wxUSE_URL=no'
6174 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x
; then
6176 eval "DEFAULT_$LINE"
6181 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6185 eval "$ac_cv_use_url"
6186 if test "$no_cache" != 1; then
6187 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6190 if test "$wxUSE_URL" = yes; then
6191 echo "$as_me:$LINENO: result: yes" >&5
6192 echo "${ECHO_T}yes" >&6
6194 echo "$as_me:$LINENO: result: no" >&5
6195 echo "${ECHO_T}no" >&6
6200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6203 # Check whether --enable-protocol or --disable-protocol was given.
6204 if test "${enable_protocol+set}" = set; then
6205 enableval
="$enable_protocol"
6207 if test "$enableval" = yes; then
6208 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6210 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6215 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6216 if test "x$LINE" != x
; then
6217 eval "DEFAULT_$LINE"
6222 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6226 eval "$ac_cv_use_protocol"
6227 if test "$no_cache" != 1; then
6228 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6231 if test "$wxUSE_PROTOCOL" = yes; then
6232 echo "$as_me:$LINENO: result: yes" >&5
6233 echo "${ECHO_T}yes" >&6
6235 echo "$as_me:$LINENO: result: no" >&5
6236 echo "${ECHO_T}no" >&6
6241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6244 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6245 if test "${enable_protocol_http+set}" = set; then
6246 enableval
="$enable_protocol_http"
6248 if test "$enableval" = yes; then
6249 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6251 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6256 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x
; then
6258 eval "DEFAULT_$LINE"
6263 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6267 eval "$ac_cv_use_protocol_http"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6273 echo "$as_me:$LINENO: result: yes" >&5
6274 echo "${ECHO_T}yes" >&6
6276 echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6
6282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6285 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6286 if test "${enable_protocol_ftp+set}" = set; then
6287 enableval
="$enable_protocol_ftp"
6289 if test "$enableval" = yes; then
6290 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6292 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6297 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x
; then
6299 eval "DEFAULT_$LINE"
6304 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6308 eval "$ac_cv_use_protocol_ftp"
6309 if test "$no_cache" != 1; then
6310 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6313 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6314 echo "$as_me:$LINENO: result: yes" >&5
6315 echo "${ECHO_T}yes" >&6
6317 echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6
6323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6326 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6327 if test "${enable_protocol_file+set}" = set; then
6328 enableval
="$enable_protocol_file"
6330 if test "$enableval" = yes; then
6331 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6333 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6338 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x
; then
6340 eval "DEFAULT_$LINE"
6345 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6349 eval "$ac_cv_use_protocol_file"
6350 if test "$no_cache" != 1; then
6351 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6354 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6355 echo "$as_me:$LINENO: result: yes" >&5
6356 echo "${ECHO_T}yes" >&6
6358 echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6370 # Check whether --enable-threads or --disable-threads was given.
6371 if test "${enable_threads+set}" = set; then
6372 enableval
="$enable_threads"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_threads
='wxUSE_THREADS=yes'
6377 ac_cv_use_threads
='wxUSE_THREADS=no'
6382 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x
; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6393 eval "$ac_cv_use_threads"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6398 if test "$wxUSE_THREADS" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6407 if test "$wxUSE_GUI" = "yes"; then
6412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6415 # Check whether --enable-docview or --disable-docview was given.
6416 if test "${enable_docview+set}" = set; then
6417 enableval
="$enable_docview"
6419 if test "$enableval" = yes; then
6420 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6422 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6427 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6428 if test "x$LINE" != x
; then
6429 eval "DEFAULT_$LINE"
6434 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6438 eval "$ac_cv_use_docview"
6439 if test "$no_cache" != 1; then
6440 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6443 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6444 echo "$as_me:$LINENO: result: yes" >&5
6445 echo "${ECHO_T}yes" >&6
6447 echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6
6453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6456 # Check whether --enable-help or --disable-help was given.
6457 if test "${enable_help+set}" = set; then
6458 enableval
="$enable_help"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_help
='wxUSE_HELP=yes'
6463 ac_cv_use_help
='wxUSE_HELP=no'
6468 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x
; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6479 eval "$ac_cv_use_help"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_HELP" = yes; then
6485 echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6
6488 echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6
6494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6495 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6497 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6498 if test "${enable_mshtmlhelp+set}" = set; then
6499 enableval
="$enable_mshtmlhelp"
6501 if test "$enableval" = yes; then
6502 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6504 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6509 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x
; then
6511 eval "DEFAULT_$LINE"
6516 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6520 eval "$ac_cv_use_mshtmlhelp"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6525 if test "$wxUSE_MS_HTML_HELP" = yes; then
6526 echo "$as_me:$LINENO: result: yes" >&5
6527 echo "${ECHO_T}yes" >&6
6529 echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6
6535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6538 # Check whether --enable-html or --disable-html was given.
6539 if test "${enable_html+set}" = set; then
6540 enableval
="$enable_html"
6542 if test "$enableval" = yes; then
6543 ac_cv_use_html
='wxUSE_HTML=yes'
6545 ac_cv_use_html
='wxUSE_HTML=no'
6550 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6551 if test "x$LINE" != x
; then
6552 eval "DEFAULT_$LINE"
6557 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6561 eval "$ac_cv_use_html"
6562 if test "$no_cache" != 1; then
6563 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6566 if test "$wxUSE_HTML" = yes; then
6567 echo "$as_me:$LINENO: result: yes" >&5
6568 echo "${ECHO_T}yes" >&6
6570 echo "$as_me:$LINENO: result: no" >&5
6571 echo "${ECHO_T}no" >&6
6576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6577 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6579 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6580 if test "${enable_htmlhelp+set}" = set; then
6581 enableval
="$enable_htmlhelp"
6583 if test "$enableval" = yes; then
6584 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6586 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6591 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6592 if test "x$LINE" != x
; then
6593 eval "DEFAULT_$LINE"
6598 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6602 eval "$ac_cv_use_htmlhelp"
6603 if test "$no_cache" != 1; then
6604 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6607 if test "$wxUSE_WXHTML_HELP" = yes; then
6608 echo "$as_me:$LINENO: result: yes" >&5
6609 echo "${ECHO_T}yes" >&6
6611 echo "$as_me:$LINENO: result: no" >&5
6612 echo "${ECHO_T}no" >&6
6617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6618 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6620 # Check whether --enable-xrc or --disable-xrc was given.
6621 if test "${enable_xrc+set}" = set; then
6622 enableval
="$enable_xrc"
6624 if test "$enableval" = yes; then
6625 ac_cv_use_xrc
='wxUSE_XRC=yes'
6627 ac_cv_use_xrc
='wxUSE_XRC=no'
6632 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6633 if test "x$LINE" != x
; then
6634 eval "DEFAULT_$LINE"
6639 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6643 eval "$ac_cv_use_xrc"
6644 if test "$no_cache" != 1; then
6645 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6648 if test "$wxUSE_XRC" = yes; then
6649 echo "$as_me:$LINENO: result: yes" >&5
6650 echo "${ECHO_T}yes" >&6
6652 echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6
6658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6659 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6661 # Check whether --enable-constraints or --disable-constraints was given.
6662 if test "${enable_constraints+set}" = set; then
6663 enableval
="$enable_constraints"
6665 if test "$enableval" = yes; then
6666 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6668 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6673 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6674 if test "x$LINE" != x
; then
6675 eval "DEFAULT_$LINE"
6680 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6684 eval "$ac_cv_use_constraints"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6689 if test "$wxUSE_CONSTRAINTS" = yes; then
6690 echo "$as_me:$LINENO: result: yes" >&5
6691 echo "${ECHO_T}yes" >&6
6693 echo "$as_me:$LINENO: result: no" >&5
6694 echo "${ECHO_T}no" >&6
6699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6702 # Check whether --enable-printarch or --disable-printarch was given.
6703 if test "${enable_printarch+set}" = set; then
6704 enableval
="$enable_printarch"
6706 if test "$enableval" = yes; then
6707 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6709 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6714 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6715 if test "x$LINE" != x
; then
6716 eval "DEFAULT_$LINE"
6721 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6725 eval "$ac_cv_use_printarch"
6726 if test "$no_cache" != 1; then
6727 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6730 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6731 echo "$as_me:$LINENO: result: yes" >&5
6732 echo "${ECHO_T}yes" >&6
6734 echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6
6740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6741 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6743 # Check whether --enable-mdi or --disable-mdi was given.
6744 if test "${enable_mdi+set}" = set; then
6745 enableval
="$enable_mdi"
6747 if test "$enableval" = yes; then
6748 ac_cv_use_mdi
='wxUSE_MDI=yes'
6750 ac_cv_use_mdi
='wxUSE_MDI=no'
6755 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x
; then
6757 eval "DEFAULT_$LINE"
6762 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6766 eval "$ac_cv_use_mdi"
6767 if test "$no_cache" != 1; then
6768 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6771 if test "$wxUSE_MDI" = yes; then
6772 echo "$as_me:$LINENO: result: yes" >&5
6773 echo "${ECHO_T}yes" >&6
6775 echo "$as_me:$LINENO: result: no" >&5
6776 echo "${ECHO_T}no" >&6
6781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6784 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6785 if test "${enable_mdidoc+set}" = set; then
6786 enableval
="$enable_mdidoc"
6788 if test "$enableval" = yes; then
6789 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6791 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6796 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6797 if test "x$LINE" != x
; then
6798 eval "DEFAULT_$LINE"
6803 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6807 eval "$ac_cv_use_mdidoc"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6812 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6813 echo "$as_me:$LINENO: result: yes" >&5
6814 echo "${ECHO_T}yes" >&6
6816 echo "$as_me:$LINENO: result: no" >&5
6817 echo "${ECHO_T}no" >&6
6822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6825 # Check whether --enable-loggui or --disable-loggui was given.
6826 if test "${enable_loggui+set}" = set; then
6827 enableval
="$enable_loggui"
6829 if test "$enableval" = yes; then
6830 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6832 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6837 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6838 if test "x$LINE" != x
; then
6839 eval "DEFAULT_$LINE"
6844 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6848 eval "$ac_cv_use_loggui"
6849 if test "$no_cache" != 1; then
6850 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6853 if test "$wxUSE_LOGGUI" = yes; then
6854 echo "$as_me:$LINENO: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6
6857 echo "$as_me:$LINENO: result: no" >&5
6858 echo "${ECHO_T}no" >&6
6863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6864 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6866 # Check whether --enable-logwin or --disable-logwin was given.
6867 if test "${enable_logwin+set}" = set; then
6868 enableval
="$enable_logwin"
6870 if test "$enableval" = yes; then
6871 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6873 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6878 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6879 if test "x$LINE" != x
; then
6880 eval "DEFAULT_$LINE"
6885 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6889 eval "$ac_cv_use_logwin"
6890 if test "$no_cache" != 1; then
6891 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6894 if test "$wxUSE_LOGWINDOW" = yes; then
6895 echo "$as_me:$LINENO: result: yes" >&5
6896 echo "${ECHO_T}yes" >&6
6898 echo "$as_me:$LINENO: result: no" >&5
6899 echo "${ECHO_T}no" >&6
6904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6907 # Check whether --enable-logdialog or --disable-logdialog was given.
6908 if test "${enable_logdialog+set}" = set; then
6909 enableval
="$enable_logdialog"
6911 if test "$enableval" = yes; then
6912 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6914 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6919 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6920 if test "x$LINE" != x
; then
6921 eval "DEFAULT_$LINE"
6926 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6930 eval "$ac_cv_use_logdialog"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6935 if test "$wxUSE_LOGDIALOG" = yes; then
6936 echo "$as_me:$LINENO: result: yes" >&5
6937 echo "${ECHO_T}yes" >&6
6939 echo "$as_me:$LINENO: result: no" >&5
6940 echo "${ECHO_T}no" >&6
6945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6946 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6948 # Check whether --enable-webkit or --disable-webkit was given.
6949 if test "${enable_webkit+set}" = set; then
6950 enableval
="$enable_webkit"
6952 if test "$enableval" = yes; then
6953 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6955 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6960 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x
; then
6962 eval "DEFAULT_$LINE"
6967 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6971 eval "$ac_cv_use_webkit"
6972 if test "$no_cache" != 1; then
6973 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6976 if test "$wxUSE_WEBKIT" = yes; then
6977 echo "$as_me:$LINENO: result: yes" >&5
6978 echo "${ECHO_T}yes" >&6
6980 echo "$as_me:$LINENO: result: no" >&5
6981 echo "${ECHO_T}no" >&6
6987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6990 # Check whether --enable-postscript or --disable-postscript was given.
6991 if test "${enable_postscript+set}" = set; then
6992 enableval
="$enable_postscript"
6994 if test "$enableval" = yes; then
6995 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6997 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7002 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x
; then
7004 eval "DEFAULT_$LINE"
7009 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7013 eval "$ac_cv_use_postscript"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7018 if test "$wxUSE_POSTSCRIPT" = yes; then
7019 echo "$as_me:$LINENO: result: yes" >&5
7020 echo "${ECHO_T}yes" >&6
7022 echo "$as_me:$LINENO: result: no" >&5
7023 echo "${ECHO_T}no" >&6
7031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7032 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7034 # Check whether --enable-prologio or --disable-prologio was given.
7035 if test "${enable_prologio+set}" = set; then
7036 enableval
="$enable_prologio"
7038 if test "$enableval" = yes; then
7039 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7041 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7046 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7047 if test "x$LINE" != x
; then
7048 eval "DEFAULT_$LINE"
7053 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7057 eval "$ac_cv_use_prologio"
7058 if test "$no_cache" != 1; then
7059 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7062 if test "$wxUSE_PROLOGIO" = yes; then
7063 echo "$as_me:$LINENO: result: yes" >&5
7064 echo "${ECHO_T}yes" >&6
7066 echo "$as_me:$LINENO: result: no" >&5
7067 echo "${ECHO_T}no" >&6
7072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7075 # Check whether --enable-resources or --disable-resources was given.
7076 if test "${enable_resources+set}" = set; then
7077 enableval
="$enable_resources"
7079 if test "$enableval" = yes; then
7080 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7082 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7087 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7088 if test "x$LINE" != x
; then
7089 eval "DEFAULT_$LINE"
7094 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7098 eval "$ac_cv_use_resources"
7099 if test "$no_cache" != 1; then
7100 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7103 if test "$wxUSE_RESOURCES" = yes; then
7104 echo "$as_me:$LINENO: result: yes" >&5
7105 echo "${ECHO_T}yes" >&6
7107 echo "$as_me:$LINENO: result: no" >&5
7108 echo "${ECHO_T}no" >&6
7115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7118 # Check whether --enable-clipboard or --disable-clipboard was given.
7119 if test "${enable_clipboard+set}" = set; then
7120 enableval
="$enable_clipboard"
7122 if test "$enableval" = yes; then
7123 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7125 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7130 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x
; then
7132 eval "DEFAULT_$LINE"
7137 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7141 eval "$ac_cv_use_clipboard"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7146 if test "$wxUSE_CLIPBOARD" = yes; then
7147 echo "$as_me:$LINENO: result: yes" >&5
7148 echo "${ECHO_T}yes" >&6
7150 echo "$as_me:$LINENO: result: no" >&5
7151 echo "${ECHO_T}no" >&6
7156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7157 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7159 # Check whether --enable-dnd or --disable-dnd was given.
7160 if test "${enable_dnd+set}" = set; then
7161 enableval
="$enable_dnd"
7163 if test "$enableval" = yes; then
7164 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7166 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7171 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x
; then
7173 eval "DEFAULT_$LINE"
7178 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7182 eval "$ac_cv_use_dnd"
7183 if test "$no_cache" != 1; then
7184 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7187 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7188 echo "$as_me:$LINENO: result: yes" >&5
7189 echo "${ECHO_T}yes" >&6
7191 echo "$as_me:$LINENO: result: no" >&5
7192 echo "${ECHO_T}no" >&6
7197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7200 # Check whether --enable-metafile or --disable-metafile was given.
7201 if test "${enable_metafile+set}" = set; then
7202 enableval
="$enable_metafile"
7204 if test "$enableval" = yes; then
7205 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7207 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7212 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x
; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7223 eval "$ac_cv_use_metafile"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7228 if test "$wxUSE_METAFILE" = yes; then
7229 echo "$as_me:$LINENO: result: yes" >&5
7230 echo "${ECHO_T}yes" >&6
7232 echo "$as_me:$LINENO: result: no" >&5
7233 echo "${ECHO_T}no" >&6
7241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7242 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7244 # Check whether --enable-controls or --disable-controls was given.
7245 if test "${enable_controls+set}" = set; then
7246 enableval
="$enable_controls"
7248 if test "$enableval" = yes; then
7249 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7251 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7256 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x
; then
7258 eval "DEFAULT_$LINE"
7263 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7267 eval "$ac_cv_use_controls"
7268 if test "$no_cache" != 1; then
7269 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7272 if test "$wxUSE_CONTROLS" = yes; then
7273 echo "$as_me:$LINENO: result: yes" >&5
7274 echo "${ECHO_T}yes" >&6
7276 echo "$as_me:$LINENO: result: no" >&5
7277 echo "${ECHO_T}no" >&6
7281 if test "$wxUSE_CONTROLS" = "yes"; then
7282 DEFAULT_wxUSE_ACCEL
=yes
7283 DEFAULT_wxUSE_BMPBUTTON
=yes
7284 DEFAULT_wxUSE_BUTTON
=yes
7285 DEFAULT_wxUSE_CALCTRL
=yes
7286 DEFAULT_wxUSE_CARET
=yes
7287 DEFAULT_wxUSE_COMBOBOX
=yes
7288 DEFAULT_wxUSE_CHECKBOX
=yes
7289 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7290 DEFAULT_wxUSE_CHOICE
=yes
7291 DEFAULT_wxUSE_CHOICEBOOK
=yes
7292 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7293 DEFAULT_wxUSE_GAUGE
=yes
7294 DEFAULT_wxUSE_GRID
=yes
7295 DEFAULT_wxUSE_IMAGLIST
=yes
7296 DEFAULT_wxUSE_LISTBOOK
=yes
7297 DEFAULT_wxUSE_LISTBOX
=yes
7298 DEFAULT_wxUSE_LISTCTRL
=yes
7299 DEFAULT_wxUSE_NOTEBOOK
=yes
7300 DEFAULT_wxUSE_RADIOBOX
=yes
7301 DEFAULT_wxUSE_RADIOBTN
=yes
7302 DEFAULT_wxUSE_SASH
=yes
7303 DEFAULT_wxUSE_SCROLLBAR
=yes
7304 DEFAULT_wxUSE_SLIDER
=yes
7305 DEFAULT_wxUSE_SPINBTN
=yes
7306 DEFAULT_wxUSE_SPINCTRL
=yes
7307 DEFAULT_wxUSE_SPLITTER
=yes
7308 DEFAULT_wxUSE_STATBMP
=yes
7309 DEFAULT_wxUSE_STATBOX
=yes
7310 DEFAULT_wxUSE_STATLINE
=yes
7311 DEFAULT_wxUSE_STATUSBAR
=yes
7312 DEFAULT_wxUSE_TAB_DIALOG
=yes
7313 DEFAULT_wxUSE_TOGGLEBTN
=yes
7314 DEFAULT_wxUSE_TOOLBAR
=yes
7315 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7316 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7317 DEFAULT_wxUSE_TOOLTIPS
=yes
7318 DEFAULT_wxUSE_TREECTRL
=yes
7319 DEFAULT_wxUSE_POPUPWIN
=yes
7320 DEFAULT_wxUSE_TIPWINDOW
=yes
7321 elif test "$wxUSE_CONTROLS" = "no"; then
7322 DEFAULT_wxUSE_ACCEL
=no
7323 DEFAULT_wxUSE_BMPBUTTON
=no
7324 DEFAULT_wxUSE_BUTTON
=no
7325 DEFAULT_wxUSE_CALCTRL
=no
7326 DEFAULT_wxUSE_CARET
=no
7327 DEFAULT_wxUSE_COMBOBOX
=no
7328 DEFAULT_wxUSE_CHECKBOX
=no
7329 DEFAULT_wxUSE_CHECKLISTBOX
=no
7330 DEFAULT_wxUSE_CHOICE
=no
7331 DEFAULT_wxUSE_CHOICEBOOK
=no
7332 DEFAULT_wxUSE_DATEPICKCTRL
=no
7333 DEFAULT_wxUSE_GAUGE
=no
7334 DEFAULT_wxUSE_GRID
=no
7335 DEFAULT_wxUSE_IMAGLIST
=no
7336 DEFAULT_wxUSE_LISTBOOK
=no
7337 DEFAULT_wxUSE_LISTBOX
=no
7338 DEFAULT_wxUSE_LISTCTRL
=no
7339 DEFAULT_wxUSE_NOTEBOOK
=no
7340 DEFAULT_wxUSE_RADIOBOX
=no
7341 DEFAULT_wxUSE_RADIOBTN
=no
7342 DEFAULT_wxUSE_SASH
=no
7343 DEFAULT_wxUSE_SCROLLBAR
=no
7344 DEFAULT_wxUSE_SLIDER
=no
7345 DEFAULT_wxUSE_SPINBTN
=no
7346 DEFAULT_wxUSE_SPINCTRL
=no
7347 DEFAULT_wxUSE_SPLITTER
=no
7348 DEFAULT_wxUSE_STATBMP
=no
7349 DEFAULT_wxUSE_STATBOX
=no
7350 DEFAULT_wxUSE_STATLINE
=no
7351 DEFAULT_wxUSE_STATUSBAR
=no
7352 DEFAULT_wxUSE_TAB_DIALOG
=no
7353 DEFAULT_wxUSE_TOGGLEBTN
=no
7354 DEFAULT_wxUSE_TOOLBAR
=no
7355 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7356 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7357 DEFAULT_wxUSE_TOOLTIPS
=no
7358 DEFAULT_wxUSE_TREECTRL
=no
7359 DEFAULT_wxUSE_POPUPWIN
=no
7360 DEFAULT_wxUSE_TIPWINDOW
=no
7365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7368 # Check whether --enable-accel or --disable-accel was given.
7369 if test "${enable_accel+set}" = set; then
7370 enableval
="$enable_accel"
7372 if test "$enableval" = yes; then
7373 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7375 ac_cv_use_accel
='wxUSE_ACCEL=no'
7380 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x
; then
7382 eval "DEFAULT_$LINE"
7387 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7391 eval "$ac_cv_use_accel"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7396 if test "$wxUSE_ACCEL" = yes; then
7397 echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6
7400 echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6
7406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7409 # Check whether --enable-button or --disable-button was given.
7410 if test "${enable_button+set}" = set; then
7411 enableval
="$enable_button"
7413 if test "$enableval" = yes; then
7414 ac_cv_use_button
='wxUSE_BUTTON=yes'
7416 ac_cv_use_button
='wxUSE_BUTTON=no'
7421 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7422 if test "x$LINE" != x
; then
7423 eval "DEFAULT_$LINE"
7428 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7432 eval "$ac_cv_use_button"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7437 if test "$wxUSE_BUTTON" = yes; then
7438 echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6
7441 echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6
7447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7450 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7451 if test "${enable_bmpbutton+set}" = set; then
7452 enableval
="$enable_bmpbutton"
7454 if test "$enableval" = yes; then
7455 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7457 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7462 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7463 if test "x$LINE" != x
; then
7464 eval "DEFAULT_$LINE"
7469 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7473 eval "$ac_cv_use_bmpbutton"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7478 if test "$wxUSE_BMPBUTTON" = yes; then
7479 echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6
7482 echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6
7488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7491 # Check whether --enable-calendar or --disable-calendar was given.
7492 if test "${enable_calendar+set}" = set; then
7493 enableval
="$enable_calendar"
7495 if test "$enableval" = yes; then
7496 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7498 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7503 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7504 if test "x$LINE" != x
; then
7505 eval "DEFAULT_$LINE"
7510 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7514 eval "$ac_cv_use_calendar"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7519 if test "$wxUSE_CALCTRL" = yes; then
7520 echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6
7523 echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6
7529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7532 # Check whether --enable-caret or --disable-caret was given.
7533 if test "${enable_caret+set}" = set; then
7534 enableval
="$enable_caret"
7536 if test "$enableval" = yes; then
7537 ac_cv_use_caret
='wxUSE_CARET=yes'
7539 ac_cv_use_caret
='wxUSE_CARET=no'
7544 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x
; then
7546 eval "DEFAULT_$LINE"
7551 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7555 eval "$ac_cv_use_caret"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7560 if test "$wxUSE_CARET" = yes; then
7561 echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6
7564 echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6
7570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7573 # Check whether --enable-checkbox or --disable-checkbox was given.
7574 if test "${enable_checkbox+set}" = set; then
7575 enableval
="$enable_checkbox"
7577 if test "$enableval" = yes; then
7578 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7580 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7585 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x
; then
7587 eval "DEFAULT_$LINE"
7592 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7596 eval "$ac_cv_use_checkbox"
7597 if test "$no_cache" != 1; then
7598 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7601 if test "$wxUSE_CHECKBOX" = yes; then
7602 echo "$as_me:$LINENO: result: yes" >&5
7603 echo "${ECHO_T}yes" >&6
7605 echo "$as_me:$LINENO: result: no" >&5
7606 echo "${ECHO_T}no" >&6
7611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7612 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7614 # Check whether --enable-checklst or --disable-checklst was given.
7615 if test "${enable_checklst+set}" = set; then
7616 enableval
="$enable_checklst"
7618 if test "$enableval" = yes; then
7619 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7621 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7626 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x
; then
7628 eval "DEFAULT_$LINE"
7633 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7637 eval "$ac_cv_use_checklst"
7638 if test "$no_cache" != 1; then
7639 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7642 if test "$wxUSE_CHECKLST" = yes; then
7643 echo "$as_me:$LINENO: result: yes" >&5
7644 echo "${ECHO_T}yes" >&6
7646 echo "$as_me:$LINENO: result: no" >&5
7647 echo "${ECHO_T}no" >&6
7652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7655 # Check whether --enable-choice or --disable-choice was given.
7656 if test "${enable_choice+set}" = set; then
7657 enableval
="$enable_choice"
7659 if test "$enableval" = yes; then
7660 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7662 ac_cv_use_choice
='wxUSE_CHOICE=no'
7667 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x
; then
7669 eval "DEFAULT_$LINE"
7674 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7678 eval "$ac_cv_use_choice"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_CHOICE" = yes; then
7684 echo "$as_me:$LINENO: result: yes" >&5
7685 echo "${ECHO_T}yes" >&6
7687 echo "$as_me:$LINENO: result: no" >&5
7688 echo "${ECHO_T}no" >&6
7693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7696 # Check whether --enable-choicebook or --disable-choicebook was given.
7697 if test "${enable_choicebook+set}" = set; then
7698 enableval
="$enable_choicebook"
7700 if test "$enableval" = yes; then
7701 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7703 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7708 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x
; then
7710 eval "DEFAULT_$LINE"
7715 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7719 eval "$ac_cv_use_choicebook"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7724 if test "$wxUSE_CHOICEBOOK" = yes; then
7725 echo "$as_me:$LINENO: result: yes" >&5
7726 echo "${ECHO_T}yes" >&6
7728 echo "$as_me:$LINENO: result: no" >&5
7729 echo "${ECHO_T}no" >&6
7734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7735 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7737 # Check whether --enable-combobox or --disable-combobox was given.
7738 if test "${enable_combobox+set}" = set; then
7739 enableval
="$enable_combobox"
7741 if test "$enableval" = yes; then
7742 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7744 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7749 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x
; then
7751 eval "DEFAULT_$LINE"
7756 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7760 eval "$ac_cv_use_combobox"
7761 if test "$no_cache" != 1; then
7762 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7765 if test "$wxUSE_COMBOBOX" = yes; then
7766 echo "$as_me:$LINENO: result: yes" >&5
7767 echo "${ECHO_T}yes" >&6
7769 echo "$as_me:$LINENO: result: no" >&5
7770 echo "${ECHO_T}no" >&6
7775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7778 # Check whether --enable-datepick or --disable-datepick was given.
7779 if test "${enable_datepick+set}" = set; then
7780 enableval
="$enable_datepick"
7782 if test "$enableval" = yes; then
7783 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7785 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7790 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x
; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7801 eval "$ac_cv_use_datepick"
7802 if test "$no_cache" != 1; then
7803 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7806 if test "$wxUSE_DATEPICKCTRL" = yes; then
7807 echo "$as_me:$LINENO: result: yes" >&5
7808 echo "${ECHO_T}yes" >&6
7810 echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6
7816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7819 # Check whether --enable-display or --disable-display was given.
7820 if test "${enable_display+set}" = set; then
7821 enableval
="$enable_display"
7823 if test "$enableval" = yes; then
7824 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7826 ac_cv_use_display
='wxUSE_DISPLAY=no'
7831 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x
; then
7833 eval "DEFAULT_$LINE"
7838 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7842 eval "$ac_cv_use_display"
7843 if test "$no_cache" != 1; then
7844 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7847 if test "$wxUSE_DISPLAY" = yes; then
7848 echo "$as_me:$LINENO: result: yes" >&5
7849 echo "${ECHO_T}yes" >&6
7851 echo "$as_me:$LINENO: result: no" >&5
7852 echo "${ECHO_T}no" >&6
7857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7858 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7860 # Check whether --enable-gauge or --disable-gauge was given.
7861 if test "${enable_gauge+set}" = set; then
7862 enableval
="$enable_gauge"
7864 if test "$enableval" = yes; then
7865 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7867 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7872 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7873 if test "x$LINE" != x
; then
7874 eval "DEFAULT_$LINE"
7879 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7883 eval "$ac_cv_use_gauge"
7884 if test "$no_cache" != 1; then
7885 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7888 if test "$wxUSE_GAUGE" = yes; then
7889 echo "$as_me:$LINENO: result: yes" >&5
7890 echo "${ECHO_T}yes" >&6
7892 echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6
7898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7899 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7901 # Check whether --enable-grid or --disable-grid was given.
7902 if test "${enable_grid+set}" = set; then
7903 enableval
="$enable_grid"
7905 if test "$enableval" = yes; then
7906 ac_cv_use_grid
='wxUSE_GRID=yes'
7908 ac_cv_use_grid
='wxUSE_GRID=no'
7913 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7914 if test "x$LINE" != x
; then
7915 eval "DEFAULT_$LINE"
7920 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7924 eval "$ac_cv_use_grid"
7925 if test "$no_cache" != 1; then
7926 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7929 if test "$wxUSE_GRID" = yes; then
7930 echo "$as_me:$LINENO: result: yes" >&5
7931 echo "${ECHO_T}yes" >&6
7933 echo "$as_me:$LINENO: result: no" >&5
7934 echo "${ECHO_T}no" >&6
7939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7940 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7942 # Check whether --enable-imaglist or --disable-imaglist was given.
7943 if test "${enable_imaglist+set}" = set; then
7944 enableval
="$enable_imaglist"
7946 if test "$enableval" = yes; then
7947 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7949 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7954 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7955 if test "x$LINE" != x
; then
7956 eval "DEFAULT_$LINE"
7961 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7965 eval "$ac_cv_use_imaglist"
7966 if test "$no_cache" != 1; then
7967 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7970 if test "$wxUSE_IMAGLIST" = yes; then
7971 echo "$as_me:$LINENO: result: yes" >&5
7972 echo "${ECHO_T}yes" >&6
7974 echo "$as_me:$LINENO: result: no" >&5
7975 echo "${ECHO_T}no" >&6
7980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7981 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7983 # Check whether --enable-listbook or --disable-listbook was given.
7984 if test "${enable_listbook+set}" = set; then
7985 enableval
="$enable_listbook"
7987 if test "$enableval" = yes; then
7988 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7990 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7995 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x
; then
7997 eval "DEFAULT_$LINE"
8002 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8006 eval "$ac_cv_use_listbook"
8007 if test "$no_cache" != 1; then
8008 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8011 if test "$wxUSE_LISTBOOK" = yes; then
8012 echo "$as_me:$LINENO: result: yes" >&5
8013 echo "${ECHO_T}yes" >&6
8015 echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6
8021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8022 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8024 # Check whether --enable-listbox or --disable-listbox was given.
8025 if test "${enable_listbox+set}" = set; then
8026 enableval
="$enable_listbox"
8028 if test "$enableval" = yes; then
8029 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8031 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8036 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8037 if test "x$LINE" != x
; then
8038 eval "DEFAULT_$LINE"
8043 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8047 eval "$ac_cv_use_listbox"
8048 if test "$no_cache" != 1; then
8049 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8052 if test "$wxUSE_LISTBOX" = yes; then
8053 echo "$as_me:$LINENO: result: yes" >&5
8054 echo "${ECHO_T}yes" >&6
8056 echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6
8062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8065 # Check whether --enable-listctrl or --disable-listctrl was given.
8066 if test "${enable_listctrl+set}" = set; then
8067 enableval
="$enable_listctrl"
8069 if test "$enableval" = yes; then
8070 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8072 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8077 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x
; then
8079 eval "DEFAULT_$LINE"
8084 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8088 eval "$ac_cv_use_listctrl"
8089 if test "$no_cache" != 1; then
8090 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8093 if test "$wxUSE_LISTCTRL" = yes; then
8094 echo "$as_me:$LINENO: result: yes" >&5
8095 echo "${ECHO_T}yes" >&6
8097 echo "$as_me:$LINENO: result: no" >&5
8098 echo "${ECHO_T}no" >&6
8103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8106 # Check whether --enable-notebook or --disable-notebook was given.
8107 if test "${enable_notebook+set}" = set; then
8108 enableval
="$enable_notebook"
8110 if test "$enableval" = yes; then
8111 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8113 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8118 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8119 if test "x$LINE" != x
; then
8120 eval "DEFAULT_$LINE"
8125 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8129 eval "$ac_cv_use_notebook"
8130 if test "$no_cache" != 1; then
8131 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8134 if test "$wxUSE_NOTEBOOK" = yes; then
8135 echo "$as_me:$LINENO: result: yes" >&5
8136 echo "${ECHO_T}yes" >&6
8138 echo "$as_me:$LINENO: result: no" >&5
8139 echo "${ECHO_T}no" >&6
8144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8147 # Check whether --enable-radiobox or --disable-radiobox was given.
8148 if test "${enable_radiobox+set}" = set; then
8149 enableval
="$enable_radiobox"
8151 if test "$enableval" = yes; then
8152 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8154 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8159 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8160 if test "x$LINE" != x
; then
8161 eval "DEFAULT_$LINE"
8166 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8170 eval "$ac_cv_use_radiobox"
8171 if test "$no_cache" != 1; then
8172 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8175 if test "$wxUSE_RADIOBOX" = yes; then
8176 echo "$as_me:$LINENO: result: yes" >&5
8177 echo "${ECHO_T}yes" >&6
8179 echo "$as_me:$LINENO: result: no" >&5
8180 echo "${ECHO_T}no" >&6
8185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8188 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8189 if test "${enable_radiobtn+set}" = set; then
8190 enableval
="$enable_radiobtn"
8192 if test "$enableval" = yes; then
8193 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8195 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8200 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8201 if test "x$LINE" != x
; then
8202 eval "DEFAULT_$LINE"
8207 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8211 eval "$ac_cv_use_radiobtn"
8212 if test "$no_cache" != 1; then
8213 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8216 if test "$wxUSE_RADIOBTN" = yes; then
8217 echo "$as_me:$LINENO: result: yes" >&5
8218 echo "${ECHO_T}yes" >&6
8220 echo "$as_me:$LINENO: result: no" >&5
8221 echo "${ECHO_T}no" >&6
8226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8229 # Check whether --enable-sash or --disable-sash was given.
8230 if test "${enable_sash+set}" = set; then
8231 enableval
="$enable_sash"
8233 if test "$enableval" = yes; then
8234 ac_cv_use_sash
='wxUSE_SASH=yes'
8236 ac_cv_use_sash
='wxUSE_SASH=no'
8241 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8242 if test "x$LINE" != x
; then
8243 eval "DEFAULT_$LINE"
8248 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8252 eval "$ac_cv_use_sash"
8253 if test "$no_cache" != 1; then
8254 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8257 if test "$wxUSE_SASH" = yes; then
8258 echo "$as_me:$LINENO: result: yes" >&5
8259 echo "${ECHO_T}yes" >&6
8261 echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6
8267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8268 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8270 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8271 if test "${enable_scrollbar+set}" = set; then
8272 enableval
="$enable_scrollbar"
8274 if test "$enableval" = yes; then
8275 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8277 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8282 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8283 if test "x$LINE" != x
; then
8284 eval "DEFAULT_$LINE"
8289 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8293 eval "$ac_cv_use_scrollbar"
8294 if test "$no_cache" != 1; then
8295 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8298 if test "$wxUSE_SCROLLBAR" = yes; then
8299 echo "$as_me:$LINENO: result: yes" >&5
8300 echo "${ECHO_T}yes" >&6
8302 echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6
8308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8309 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8311 # Check whether --enable-slider or --disable-slider was given.
8312 if test "${enable_slider+set}" = set; then
8313 enableval
="$enable_slider"
8315 if test "$enableval" = yes; then
8316 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8318 ac_cv_use_slider
='wxUSE_SLIDER=no'
8323 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8324 if test "x$LINE" != x
; then
8325 eval "DEFAULT_$LINE"
8330 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8334 eval "$ac_cv_use_slider"
8335 if test "$no_cache" != 1; then
8336 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8339 if test "$wxUSE_SLIDER" = yes; then
8340 echo "$as_me:$LINENO: result: yes" >&5
8341 echo "${ECHO_T}yes" >&6
8343 echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6
8349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8350 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8352 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8353 if test "${enable_spinbtn+set}" = set; then
8354 enableval
="$enable_spinbtn"
8356 if test "$enableval" = yes; then
8357 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8359 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8364 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x
; then
8366 eval "DEFAULT_$LINE"
8371 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8375 eval "$ac_cv_use_spinbtn"
8376 if test "$no_cache" != 1; then
8377 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8380 if test "$wxUSE_SPINBTN" = yes; then
8381 echo "$as_me:$LINENO: result: yes" >&5
8382 echo "${ECHO_T}yes" >&6
8384 echo "$as_me:$LINENO: result: no" >&5
8385 echo "${ECHO_T}no" >&6
8390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8393 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8394 if test "${enable_spinctrl+set}" = set; then
8395 enableval
="$enable_spinctrl"
8397 if test "$enableval" = yes; then
8398 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8400 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8405 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x
; then
8407 eval "DEFAULT_$LINE"
8412 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8416 eval "$ac_cv_use_spinctrl"
8417 if test "$no_cache" != 1; then
8418 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8421 if test "$wxUSE_SPINCTRL" = yes; then
8422 echo "$as_me:$LINENO: result: yes" >&5
8423 echo "${ECHO_T}yes" >&6
8425 echo "$as_me:$LINENO: result: no" >&5
8426 echo "${ECHO_T}no" >&6
8431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8432 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8434 # Check whether --enable-splitter or --disable-splitter was given.
8435 if test "${enable_splitter+set}" = set; then
8436 enableval
="$enable_splitter"
8438 if test "$enableval" = yes; then
8439 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8441 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8446 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8447 if test "x$LINE" != x
; then
8448 eval "DEFAULT_$LINE"
8453 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8457 eval "$ac_cv_use_splitter"
8458 if test "$no_cache" != 1; then
8459 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8462 if test "$wxUSE_SPLITTER" = yes; then
8463 echo "$as_me:$LINENO: result: yes" >&5
8464 echo "${ECHO_T}yes" >&6
8466 echo "$as_me:$LINENO: result: no" >&5
8467 echo "${ECHO_T}no" >&6
8472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8473 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8475 # Check whether --enable-statbmp or --disable-statbmp was given.
8476 if test "${enable_statbmp+set}" = set; then
8477 enableval
="$enable_statbmp"
8479 if test "$enableval" = yes; then
8480 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8482 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8487 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8488 if test "x$LINE" != x
; then
8489 eval "DEFAULT_$LINE"
8494 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8498 eval "$ac_cv_use_statbmp"
8499 if test "$no_cache" != 1; then
8500 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8503 if test "$wxUSE_STATBMP" = yes; then
8504 echo "$as_me:$LINENO: result: yes" >&5
8505 echo "${ECHO_T}yes" >&6
8507 echo "$as_me:$LINENO: result: no" >&5
8508 echo "${ECHO_T}no" >&6
8513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8514 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8516 # Check whether --enable-statbox or --disable-statbox was given.
8517 if test "${enable_statbox+set}" = set; then
8518 enableval
="$enable_statbox"
8520 if test "$enableval" = yes; then
8521 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8523 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8528 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8529 if test "x$LINE" != x
; then
8530 eval "DEFAULT_$LINE"
8535 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8539 eval "$ac_cv_use_statbox"
8540 if test "$no_cache" != 1; then
8541 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8544 if test "$wxUSE_STATBOX" = yes; then
8545 echo "$as_me:$LINENO: result: yes" >&5
8546 echo "${ECHO_T}yes" >&6
8548 echo "$as_me:$LINENO: result: no" >&5
8549 echo "${ECHO_T}no" >&6
8554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8555 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8557 # Check whether --enable-statline or --disable-statline was given.
8558 if test "${enable_statline+set}" = set; then
8559 enableval
="$enable_statline"
8561 if test "$enableval" = yes; then
8562 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8564 ac_cv_use_statline
='wxUSE_STATLINE=no'
8569 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8570 if test "x$LINE" != x
; then
8571 eval "DEFAULT_$LINE"
8576 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8580 eval "$ac_cv_use_statline"
8581 if test "$no_cache" != 1; then
8582 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8585 if test "$wxUSE_STATLINE" = yes; then
8586 echo "$as_me:$LINENO: result: yes" >&5
8587 echo "${ECHO_T}yes" >&6
8589 echo "$as_me:$LINENO: result: no" >&5
8590 echo "${ECHO_T}no" >&6
8595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8596 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8598 # Check whether --enable-stattext or --disable-stattext was given.
8599 if test "${enable_stattext+set}" = set; then
8600 enableval
="$enable_stattext"
8602 if test "$enableval" = yes; then
8603 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8605 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8610 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8611 if test "x$LINE" != x
; then
8612 eval "DEFAULT_$LINE"
8617 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8621 eval "$ac_cv_use_stattext"
8622 if test "$no_cache" != 1; then
8623 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8626 if test "$wxUSE_STATTEXT" = yes; then
8627 echo "$as_me:$LINENO: result: yes" >&5
8628 echo "${ECHO_T}yes" >&6
8630 echo "$as_me:$LINENO: result: no" >&5
8631 echo "${ECHO_T}no" >&6
8636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8637 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8639 # Check whether --enable-statusbar or --disable-statusbar was given.
8640 if test "${enable_statusbar+set}" = set; then
8641 enableval
="$enable_statusbar"
8643 if test "$enableval" = yes; then
8644 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8646 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8651 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8652 if test "x$LINE" != x
; then
8653 eval "DEFAULT_$LINE"
8658 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8662 eval "$ac_cv_use_statusbar"
8663 if test "$no_cache" != 1; then
8664 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8667 if test "$wxUSE_STATUSBAR" = yes; then
8668 echo "$as_me:$LINENO: result: yes" >&5
8669 echo "${ECHO_T}yes" >&6
8671 echo "$as_me:$LINENO: result: no" >&5
8672 echo "${ECHO_T}no" >&6
8677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8680 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8681 if test "${enable_tabdialog+set}" = set; then
8682 enableval
="$enable_tabdialog"
8684 if test "$enableval" = yes; then
8685 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8687 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8692 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8693 if test "x$LINE" != x
; then
8694 eval "DEFAULT_$LINE"
8699 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8703 eval "$ac_cv_use_tabdialog"
8704 if test "$no_cache" != 1; then
8705 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8708 if test "$wxUSE_TABDIALOG" = yes; then
8709 echo "$as_me:$LINENO: result: yes" >&5
8710 echo "${ECHO_T}yes" >&6
8712 echo "$as_me:$LINENO: result: no" >&5
8713 echo "${ECHO_T}no" >&6
8718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8719 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8721 # Check whether --enable-textctrl or --disable-textctrl was given.
8722 if test "${enable_textctrl+set}" = set; then
8723 enableval
="$enable_textctrl"
8725 if test "$enableval" = yes; then
8726 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8728 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8733 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8734 if test "x$LINE" != x
; then
8735 eval "DEFAULT_$LINE"
8740 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8744 eval "$ac_cv_use_textctrl"
8745 if test "$no_cache" != 1; then
8746 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8749 if test "$wxUSE_TEXTCTRL" = yes; then
8750 echo "$as_me:$LINENO: result: yes" >&5
8751 echo "${ECHO_T}yes" >&6
8753 echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6
8759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8762 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8763 if test "${enable_togglebtn+set}" = set; then
8764 enableval
="$enable_togglebtn"
8766 if test "$enableval" = yes; then
8767 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8769 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8774 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8775 if test "x$LINE" != x
; then
8776 eval "DEFAULT_$LINE"
8781 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8785 eval "$ac_cv_use_togglebtn"
8786 if test "$no_cache" != 1; then
8787 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8790 if test "$wxUSE_TOGGLEBTN" = yes; then
8791 echo "$as_me:$LINENO: result: yes" >&5
8792 echo "${ECHO_T}yes" >&6
8794 echo "$as_me:$LINENO: result: no" >&5
8795 echo "${ECHO_T}no" >&6
8800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8801 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8803 # Check whether --enable-toolbar or --disable-toolbar was given.
8804 if test "${enable_toolbar+set}" = set; then
8805 enableval
="$enable_toolbar"
8807 if test "$enableval" = yes; then
8808 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8810 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8815 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8816 if test "x$LINE" != x
; then
8817 eval "DEFAULT_$LINE"
8822 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8826 eval "$ac_cv_use_toolbar"
8827 if test "$no_cache" != 1; then
8828 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8831 if test "$wxUSE_TOOLBAR" = yes; then
8832 echo "$as_me:$LINENO: result: yes" >&5
8833 echo "${ECHO_T}yes" >&6
8835 echo "$as_me:$LINENO: result: no" >&5
8836 echo "${ECHO_T}no" >&6
8841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8844 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8845 if test "${enable_tbarnative+set}" = set; then
8846 enableval
="$enable_tbarnative"
8848 if test "$enableval" = yes; then
8849 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8851 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8856 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8857 if test "x$LINE" != x
; then
8858 eval "DEFAULT_$LINE"
8863 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8867 eval "$ac_cv_use_tbarnative"
8868 if test "$no_cache" != 1; then
8869 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8872 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8873 echo "$as_me:$LINENO: result: yes" >&5
8874 echo "${ECHO_T}yes" >&6
8876 echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6
8882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8885 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8886 if test "${enable_tbarsmpl+set}" = set; then
8887 enableval
="$enable_tbarsmpl"
8889 if test "$enableval" = yes; then
8890 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8892 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8897 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8898 if test "x$LINE" != x
; then
8899 eval "DEFAULT_$LINE"
8904 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8908 eval "$ac_cv_use_tbarsmpl"
8909 if test "$no_cache" != 1; then
8910 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8913 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8914 echo "$as_me:$LINENO: result: yes" >&5
8915 echo "${ECHO_T}yes" >&6
8917 echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6
8923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8926 # Check whether --enable-treectrl or --disable-treectrl was given.
8927 if test "${enable_treectrl+set}" = set; then
8928 enableval
="$enable_treectrl"
8930 if test "$enableval" = yes; then
8931 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8933 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8938 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x
; then
8940 eval "DEFAULT_$LINE"
8945 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8949 eval "$ac_cv_use_treectrl"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8954 if test "$wxUSE_TREECTRL" = yes; then
8955 echo "$as_me:$LINENO: result: yes" >&5
8956 echo "${ECHO_T}yes" >&6
8958 echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6
8964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8967 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8968 if test "${enable_tipwindow+set}" = set; then
8969 enableval
="$enable_tipwindow"
8971 if test "$enableval" = yes; then
8972 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8974 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8979 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x
; then
8981 eval "DEFAULT_$LINE"
8986 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8990 eval "$ac_cv_use_tipwindow"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8995 if test "$wxUSE_TIPWINDOW" = yes; then
8996 echo "$as_me:$LINENO: result: yes" >&5
8997 echo "${ECHO_T}yes" >&6
8999 echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6
9005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9008 # Check whether --enable-popupwin or --disable-popupwin was given.
9009 if test "${enable_popupwin+set}" = set; then
9010 enableval
="$enable_popupwin"
9012 if test "$enableval" = yes; then
9013 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9015 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9020 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x
; then
9022 eval "DEFAULT_$LINE"
9027 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9031 eval "$ac_cv_use_popupwin"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9036 if test "$wxUSE_POPUPWIN" = yes; then
9037 echo "$as_me:$LINENO: result: yes" >&5
9038 echo "${ECHO_T}yes" >&6
9040 echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6
9048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9051 # Check whether --enable-commondlg or --disable-commondlg was given.
9052 if test "${enable_commondlg+set}" = set; then
9053 enableval
="$enable_commondlg"
9055 if test "$enableval" = yes; then
9056 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9058 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9063 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9064 if test "x$LINE" != x
; then
9065 eval "DEFAULT_$LINE"
9070 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9074 eval "$ac_cv_use_commondlg"
9075 if test "$no_cache" != 1; then
9076 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9079 if test "$wxUSE_COMMONDLGS" = yes; then
9080 echo "$as_me:$LINENO: result: yes" >&5
9081 echo "${ECHO_T}yes" >&6
9083 echo "$as_me:$LINENO: result: no" >&5
9084 echo "${ECHO_T}no" >&6
9089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9092 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9093 if test "${enable_choicedlg+set}" = set; then
9094 enableval
="$enable_choicedlg"
9096 if test "$enableval" = yes; then
9097 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9099 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9104 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x
; then
9106 eval "DEFAULT_$LINE"
9111 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9115 eval "$ac_cv_use_choicedlg"
9116 if test "$no_cache" != 1; then
9117 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9120 if test "$wxUSE_CHOICEDLG" = yes; then
9121 echo "$as_me:$LINENO: result: yes" >&5
9122 echo "${ECHO_T}yes" >&6
9124 echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6
9130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9131 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9133 # Check whether --enable-coldlg or --disable-coldlg was given.
9134 if test "${enable_coldlg+set}" = set; then
9135 enableval
="$enable_coldlg"
9137 if test "$enableval" = yes; then
9138 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9140 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9145 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x
; then
9147 eval "DEFAULT_$LINE"
9152 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9156 eval "$ac_cv_use_coldlg"
9157 if test "$no_cache" != 1; then
9158 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9161 if test "$wxUSE_COLOURDLG" = yes; then
9162 echo "$as_me:$LINENO: result: yes" >&5
9163 echo "${ECHO_T}yes" >&6
9165 echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6
9171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9174 # Check whether --enable-filedlg or --disable-filedlg was given.
9175 if test "${enable_filedlg+set}" = set; then
9176 enableval
="$enable_filedlg"
9178 if test "$enableval" = yes; then
9179 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9181 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9186 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x
; then
9188 eval "DEFAULT_$LINE"
9193 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9197 eval "$ac_cv_use_filedlg"
9198 if test "$no_cache" != 1; then
9199 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9202 if test "$wxUSE_FILEDLG" = yes; then
9203 echo "$as_me:$LINENO: result: yes" >&5
9204 echo "${ECHO_T}yes" >&6
9206 echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6
9212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9215 # Check whether --enable-finddlg or --disable-finddlg was given.
9216 if test "${enable_finddlg+set}" = set; then
9217 enableval
="$enable_finddlg"
9219 if test "$enableval" = yes; then
9220 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9222 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9227 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x
; then
9229 eval "DEFAULT_$LINE"
9234 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9238 eval "$ac_cv_use_finddlg"
9239 if test "$no_cache" != 1; then
9240 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9243 if test "$wxUSE_FINDREPLDLG" = yes; then
9244 echo "$as_me:$LINENO: result: yes" >&5
9245 echo "${ECHO_T}yes" >&6
9247 echo "$as_me:$LINENO: result: no" >&5
9248 echo "${ECHO_T}no" >&6
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9256 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9257 if test "${enable_fontdlg+set}" = set; then
9258 enableval
="$enable_fontdlg"
9260 if test "$enableval" = yes; then
9261 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9263 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9268 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x
; then
9270 eval "DEFAULT_$LINE"
9275 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9279 eval "$ac_cv_use_fontdlg"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9284 if test "$wxUSE_FONTDLG" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9297 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9298 if test "${enable_dirdlg+set}" = set; then
9299 enableval
="$enable_dirdlg"
9301 if test "$enableval" = yes; then
9302 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9304 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9309 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x
; then
9311 eval "DEFAULT_$LINE"
9316 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9320 eval "$ac_cv_use_dirdlg"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9325 if test "$wxUSE_DIRDLG" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9338 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9339 if test "${enable_msgdlg+set}" = set; then
9340 enableval
="$enable_msgdlg"
9342 if test "$enableval" = yes; then
9343 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9345 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9350 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x
; then
9352 eval "DEFAULT_$LINE"
9357 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9361 eval "$ac_cv_use_msgdlg"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9366 if test "$wxUSE_MSGDLG" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9379 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9380 if test "${enable_numberdlg+set}" = set; then
9381 enableval
="$enable_numberdlg"
9383 if test "$enableval" = yes; then
9384 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9386 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9391 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x
; then
9393 eval "DEFAULT_$LINE"
9398 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9402 eval "$ac_cv_use_numberdlg"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9407 if test "$wxUSE_NUMBERDLG" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9420 # Check whether --enable-splash or --disable-splash was given.
9421 if test "${enable_splash+set}" = set; then
9422 enableval
="$enable_splash"
9424 if test "$enableval" = yes; then
9425 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9427 ac_cv_use_splash
='wxUSE_SPLASH=no'
9432 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x
; then
9434 eval "DEFAULT_$LINE"
9439 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9443 eval "$ac_cv_use_splash"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9448 if test "$wxUSE_SPLASH" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9461 # Check whether --enable-textdlg or --disable-textdlg was given.
9462 if test "${enable_textdlg+set}" = set; then
9463 enableval
="$enable_textdlg"
9465 if test "$enableval" = yes; then
9466 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9468 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9473 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x
; then
9475 eval "DEFAULT_$LINE"
9480 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9484 eval "$ac_cv_use_textdlg"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9489 if test "$wxUSE_TEXTDLG" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9502 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9503 if test "${enable_tipdlg+set}" = set; then
9504 enableval
="$enable_tipdlg"
9506 if test "$enableval" = yes; then
9507 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9509 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9514 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x
; then
9516 eval "DEFAULT_$LINE"
9521 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9525 eval "$ac_cv_use_tipdlg"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9530 if test "$wxUSE_STARTUP_TIPS" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9543 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9544 if test "${enable_progressdlg+set}" = set; then
9545 enableval
="$enable_progressdlg"
9547 if test "$enableval" = yes; then
9548 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9550 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9555 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x
; then
9557 eval "DEFAULT_$LINE"
9562 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9566 eval "$ac_cv_use_progressdlg"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9571 if test "$wxUSE_PROGRESSDLG" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9584 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9585 if test "${enable_wizarddlg+set}" = set; then
9586 enableval
="$enable_wizarddlg"
9588 if test "$enableval" = yes; then
9589 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9591 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9596 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x
; then
9598 eval "DEFAULT_$LINE"
9603 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9607 eval "$ac_cv_use_wizarddlg"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9612 if test "$wxUSE_WIZARDDLG" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9625 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9627 # Check whether --enable-menus or --disable-menus was given.
9628 if test "${enable_menus+set}" = set; then
9629 enableval
="$enable_menus"
9631 if test "$enableval" = yes; then
9632 ac_cv_use_menus
='wxUSE_MENUS=yes'
9634 ac_cv_use_menus
='wxUSE_MENUS=no'
9639 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9640 if test "x$LINE" != x
; then
9641 eval "DEFAULT_$LINE"
9646 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9650 eval "$ac_cv_use_menus"
9651 if test "$no_cache" != 1; then
9652 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9655 if test "$wxUSE_MENUS" = yes; then
9656 echo "$as_me:$LINENO: result: yes" >&5
9657 echo "${ECHO_T}yes" >&6
9659 echo "$as_me:$LINENO: result: no" >&5
9660 echo "${ECHO_T}no" >&6
9665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9666 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9668 # Check whether --enable-miniframe or --disable-miniframe was given.
9669 if test "${enable_miniframe+set}" = set; then
9670 enableval
="$enable_miniframe"
9672 if test "$enableval" = yes; then
9673 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9675 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9680 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9681 if test "x$LINE" != x
; then
9682 eval "DEFAULT_$LINE"
9687 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9691 eval "$ac_cv_use_miniframe"
9692 if test "$no_cache" != 1; then
9693 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9696 if test "$wxUSE_MINIFRAME" = yes; then
9697 echo "$as_me:$LINENO: result: yes" >&5
9698 echo "${ECHO_T}yes" >&6
9700 echo "$as_me:$LINENO: result: no" >&5
9701 echo "${ECHO_T}no" >&6
9706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9707 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9709 # Check whether --enable-tooltips or --disable-tooltips was given.
9710 if test "${enable_tooltips+set}" = set; then
9711 enableval
="$enable_tooltips"
9713 if test "$enableval" = yes; then
9714 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9716 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9721 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9722 if test "x$LINE" != x
; then
9723 eval "DEFAULT_$LINE"
9728 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9732 eval "$ac_cv_use_tooltips"
9733 if test "$no_cache" != 1; then
9734 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9737 if test "$wxUSE_TOOLTIPS" = yes; then
9738 echo "$as_me:$LINENO: result: yes" >&5
9739 echo "${ECHO_T}yes" >&6
9741 echo "$as_me:$LINENO: result: no" >&5
9742 echo "${ECHO_T}no" >&6
9747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9748 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9750 # Check whether --enable-splines or --disable-splines was given.
9751 if test "${enable_splines+set}" = set; then
9752 enableval
="$enable_splines"
9754 if test "$enableval" = yes; then
9755 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9757 ac_cv_use_splines
='wxUSE_SPLINES=no'
9762 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9763 if test "x$LINE" != x
; then
9764 eval "DEFAULT_$LINE"
9769 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9773 eval "$ac_cv_use_splines"
9774 if test "$no_cache" != 1; then
9775 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9778 if test "$wxUSE_SPLINES" = yes; then
9779 echo "$as_me:$LINENO: result: yes" >&5
9780 echo "${ECHO_T}yes" >&6
9782 echo "$as_me:$LINENO: result: no" >&5
9783 echo "${ECHO_T}no" >&6
9788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9789 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9791 # Check whether --enable-validators or --disable-validators was given.
9792 if test "${enable_validators+set}" = set; then
9793 enableval
="$enable_validators"
9795 if test "$enableval" = yes; then
9796 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9798 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9803 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9804 if test "x$LINE" != x
; then
9805 eval "DEFAULT_$LINE"
9810 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9814 eval "$ac_cv_use_validators"
9815 if test "$no_cache" != 1; then
9816 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9819 if test "$wxUSE_VALIDATORS" = yes; then
9820 echo "$as_me:$LINENO: result: yes" >&5
9821 echo "${ECHO_T}yes" >&6
9823 echo "$as_me:$LINENO: result: no" >&5
9824 echo "${ECHO_T}no" >&6
9829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9832 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9833 if test "${enable_busyinfo+set}" = set; then
9834 enableval
="$enable_busyinfo"
9836 if test "$enableval" = yes; then
9837 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9839 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9844 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9845 if test "x$LINE" != x
; then
9846 eval "DEFAULT_$LINE"
9851 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9855 eval "$ac_cv_use_busyinfo"
9856 if test "$no_cache" != 1; then
9857 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9860 if test "$wxUSE_BUSYINFO" = yes; then
9861 echo "$as_me:$LINENO: result: yes" >&5
9862 echo "${ECHO_T}yes" >&6
9864 echo "$as_me:$LINENO: result: no" >&5
9865 echo "${ECHO_T}no" >&6
9870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9873 # Check whether --enable-joystick or --disable-joystick was given.
9874 if test "${enable_joystick+set}" = set; then
9875 enableval
="$enable_joystick"
9877 if test "$enableval" = yes; then
9878 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9880 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9885 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9886 if test "x$LINE" != x
; then
9887 eval "DEFAULT_$LINE"
9892 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9896 eval "$ac_cv_use_joystick"
9897 if test "$no_cache" != 1; then
9898 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9901 if test "$wxUSE_JOYSTICK" = yes; then
9902 echo "$as_me:$LINENO: result: yes" >&5
9903 echo "${ECHO_T}yes" >&6
9905 echo "$as_me:$LINENO: result: no" >&5
9906 echo "${ECHO_T}no" >&6
9911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9912 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9914 # Check whether --enable-metafile or --disable-metafile was given.
9915 if test "${enable_metafile+set}" = set; then
9916 enableval
="$enable_metafile"
9918 if test "$enableval" = yes; then
9919 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9921 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9926 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9927 if test "x$LINE" != x
; then
9928 eval "DEFAULT_$LINE"
9933 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9937 eval "$ac_cv_use_metafile"
9938 if test "$no_cache" != 1; then
9939 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9942 if test "$wxUSE_METAFILE" = yes; then
9943 echo "$as_me:$LINENO: result: yes" >&5
9944 echo "${ECHO_T}yes" >&6
9946 echo "$as_me:$LINENO: result: no" >&5
9947 echo "${ECHO_T}no" >&6
9952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9953 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9955 # Check whether --enable-dragimage or --disable-dragimage was given.
9956 if test "${enable_dragimage+set}" = set; then
9957 enableval
="$enable_dragimage"
9959 if test "$enableval" = yes; then
9960 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9962 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9967 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9968 if test "x$LINE" != x
; then
9969 eval "DEFAULT_$LINE"
9974 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9978 eval "$ac_cv_use_dragimage"
9979 if test "$no_cache" != 1; then
9980 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9983 if test "$wxUSE_DRAGIMAGE" = yes; then
9984 echo "$as_me:$LINENO: result: yes" >&5
9985 echo "${ECHO_T}yes" >&6
9987 echo "$as_me:$LINENO: result: no" >&5
9988 echo "${ECHO_T}no" >&6
9993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9994 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9996 # Check whether --enable-accessibility or --disable-accessibility was given.
9997 if test "${enable_accessibility+set}" = set; then
9998 enableval
="$enable_accessibility"
10000 if test "$enableval" = yes; then
10001 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10003 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10008 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10009 if test "x$LINE" != x
; then
10010 eval "DEFAULT_$LINE"
10015 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10019 eval "$ac_cv_use_accessibility"
10020 if test "$no_cache" != 1; then
10021 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10024 if test "$wxUSE_ACCESSIBILITY" = yes; then
10025 echo "$as_me:$LINENO: result: yes" >&5
10026 echo "${ECHO_T}yes" >&6
10028 echo "$as_me:$LINENO: result: no" >&5
10029 echo "${ECHO_T}no" >&6
10036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10037 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10039 # Check whether --enable-palette or --disable-palette was given.
10040 if test "${enable_palette+set}" = set; then
10041 enableval
="$enable_palette"
10043 if test "$enableval" = yes; then
10044 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10046 ac_cv_use_palette
='wxUSE_PALETTE=no'
10051 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10052 if test "x$LINE" != x
; then
10053 eval "DEFAULT_$LINE"
10058 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10062 eval "$ac_cv_use_palette"
10063 if test "$no_cache" != 1; then
10064 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10067 if test "$wxUSE_PALETTE" = yes; then
10068 echo "$as_me:$LINENO: result: yes" >&5
10069 echo "${ECHO_T}yes" >&6
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10078 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10080 # Check whether --enable-image or --disable-image was given.
10081 if test "${enable_image+set}" = set; then
10082 enableval
="$enable_image"
10084 if test "$enableval" = yes; then
10085 ac_cv_use_image
='wxUSE_IMAGE=yes'
10087 ac_cv_use_image
='wxUSE_IMAGE=no'
10092 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10093 if test "x$LINE" != x
; then
10094 eval "DEFAULT_$LINE"
10099 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10103 eval "$ac_cv_use_image"
10104 if test "$no_cache" != 1; then
10105 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10108 if test "$wxUSE_IMAGE" = yes; then
10109 echo "$as_me:$LINENO: result: yes" >&5
10110 echo "${ECHO_T}yes" >&6
10112 echo "$as_me:$LINENO: result: no" >&5
10113 echo "${ECHO_T}no" >&6
10118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10121 # Check whether --enable-gif or --disable-gif was given.
10122 if test "${enable_gif+set}" = set; then
10123 enableval
="$enable_gif"
10125 if test "$enableval" = yes; then
10126 ac_cv_use_gif
='wxUSE_GIF=yes'
10128 ac_cv_use_gif
='wxUSE_GIF=no'
10133 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10134 if test "x$LINE" != x
; then
10135 eval "DEFAULT_$LINE"
10140 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10144 eval "$ac_cv_use_gif"
10145 if test "$no_cache" != 1; then
10146 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10149 if test "$wxUSE_GIF" = yes; then
10150 echo "$as_me:$LINENO: result: yes" >&5
10151 echo "${ECHO_T}yes" >&6
10153 echo "$as_me:$LINENO: result: no" >&5
10154 echo "${ECHO_T}no" >&6
10159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10162 # Check whether --enable-pcx or --disable-pcx was given.
10163 if test "${enable_pcx+set}" = set; then
10164 enableval
="$enable_pcx"
10166 if test "$enableval" = yes; then
10167 ac_cv_use_pcx
='wxUSE_PCX=yes'
10169 ac_cv_use_pcx
='wxUSE_PCX=no'
10174 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10175 if test "x$LINE" != x
; then
10176 eval "DEFAULT_$LINE"
10181 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10185 eval "$ac_cv_use_pcx"
10186 if test "$no_cache" != 1; then
10187 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10190 if test "$wxUSE_PCX" = yes; then
10191 echo "$as_me:$LINENO: result: yes" >&5
10192 echo "${ECHO_T}yes" >&6
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10203 # Check whether --enable-iff or --disable-iff was given.
10204 if test "${enable_iff+set}" = set; then
10205 enableval
="$enable_iff"
10207 if test "$enableval" = yes; then
10208 ac_cv_use_iff
='wxUSE_IFF=yes'
10210 ac_cv_use_iff
='wxUSE_IFF=no'
10215 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10216 if test "x$LINE" != x
; then
10217 eval "DEFAULT_$LINE"
10222 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10226 eval "$ac_cv_use_iff"
10227 if test "$no_cache" != 1; then
10228 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10231 if test "$wxUSE_IFF" = yes; then
10232 echo "$as_me:$LINENO: result: yes" >&5
10233 echo "${ECHO_T}yes" >&6
10235 echo "$as_me:$LINENO: result: no" >&5
10236 echo "${ECHO_T}no" >&6
10241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10242 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10244 # Check whether --enable-pnm or --disable-pnm was given.
10245 if test "${enable_pnm+set}" = set; then
10246 enableval
="$enable_pnm"
10248 if test "$enableval" = yes; then
10249 ac_cv_use_pnm
='wxUSE_PNM=yes'
10251 ac_cv_use_pnm
='wxUSE_PNM=no'
10256 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10257 if test "x$LINE" != x
; then
10258 eval "DEFAULT_$LINE"
10263 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10267 eval "$ac_cv_use_pnm"
10268 if test "$no_cache" != 1; then
10269 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10272 if test "$wxUSE_PNM" = yes; then
10273 echo "$as_me:$LINENO: result: yes" >&5
10274 echo "${ECHO_T}yes" >&6
10276 echo "$as_me:$LINENO: result: no" >&5
10277 echo "${ECHO_T}no" >&6
10282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10283 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10285 # Check whether --enable-xpm or --disable-xpm was given.
10286 if test "${enable_xpm+set}" = set; then
10287 enableval
="$enable_xpm"
10289 if test "$enableval" = yes; then
10290 ac_cv_use_xpm
='wxUSE_XPM=yes'
10292 ac_cv_use_xpm
='wxUSE_XPM=no'
10297 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10298 if test "x$LINE" != x
; then
10299 eval "DEFAULT_$LINE"
10304 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10308 eval "$ac_cv_use_xpm"
10309 if test "$no_cache" != 1; then
10310 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10313 if test "$wxUSE_XPM" = yes; then
10314 echo "$as_me:$LINENO: result: yes" >&5
10315 echo "${ECHO_T}yes" >&6
10317 echo "$as_me:$LINENO: result: no" >&5
10318 echo "${ECHO_T}no" >&6
10323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10326 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10327 if test "${enable_ico_cur+set}" = set; then
10328 enableval
="$enable_ico_cur"
10330 if test "$enableval" = yes; then
10331 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10333 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10338 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10339 if test "x$LINE" != x
; then
10340 eval "DEFAULT_$LINE"
10345 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10349 eval "$ac_cv_use_ico_cur"
10350 if test "$no_cache" != 1; then
10351 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10354 if test "$wxUSE_ICO_CUR" = yes; then
10355 echo "$as_me:$LINENO: result: yes" >&5
10356 echo "${ECHO_T}yes" >&6
10358 echo "$as_me:$LINENO: result: no" >&5
10359 echo "${ECHO_T}no" >&6
10367 # Check whether --with-flavour or --without-flavour was given.
10368 if test "${with_flavour+set}" = set; then
10369 withval
="$with_flavour"
10370 WX_FLAVOUR
="$withval"
10376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10379 # Check whether --enable-official_build or --disable-official_build was given.
10380 if test "${enable_official_build+set}" = set; then
10381 enableval
="$enable_official_build"
10383 if test "$enableval" = yes; then
10384 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10386 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10391 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10392 if test "x$LINE" != x
; then
10393 eval "DEFAULT_$LINE"
10398 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10402 eval "$ac_cv_use_official_build"
10403 if test "$no_cache" != 1; then
10404 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10407 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10408 echo "$as_me:$LINENO: result: yes" >&5
10409 echo "${ECHO_T}yes" >&6
10411 echo "$as_me:$LINENO: result: no" >&5
10412 echo "${ECHO_T}no" >&6
10415 # Check whether --enable-vendor or --disable-vendor was given.
10416 if test "${enable_vendor+set}" = set; then
10417 enableval
="$enable_vendor"
10418 VENDOR
="$enableval"
10420 if test "x$VENDOR" = "x"; then
10427 echo "saving argument cache $wx_arg_cache_file"
10428 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10432 echo "$as_me:$LINENO: checking for toolkit" >&5
10433 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10435 # In Wine, we need to default to MSW, not GTK or MOTIF
10436 if test "$wxUSE_WINE" = "yes"; then
10437 DEFAULT_DEFAULT_wxUSE_GTK
=0
10438 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10439 DEFAULT_DEFAULT_wxUSE_MSW
=1
10443 if test "$wxUSE_GUI" = "yes"; then
10445 if test "$USE_BEOS" = 1; then
10446 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10447 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10448 { (exit 1); exit 1; }; }
10451 if test "$TOOLKIT_GIVEN" = 1; then
10452 for toolkit
in `echo $ALL_TOOLKITS`; do
10454 eval "value=\$${var}"
10455 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10458 for toolkit
in `echo $ALL_TOOLKITS`; do
10459 if test "$has_toolkit_in_cache" != 1; then
10460 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10462 var
=DEFAULT_wxUSE_
$toolkit
10464 eval "wxUSE_$toolkit=\$${var}"
10468 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10469 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10470 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10473 *-pc-os2_emx | *-pc-os2-emx )
10474 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10477 case "$NUM_TOOLKITS" in
10481 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10482 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10483 { (exit 1); exit 1; }; }
10486 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10487 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10488 { (exit 1); exit 1; }; }
10491 for toolkit
in `echo $ALL_TOOLKITS`; do
10493 eval "value=\$${var}"
10494 if test "x$value" != x
; then
10495 cache_var
=CACHE_
$toolkit
10496 eval "cache=\$${cache_var}"
10497 if test "$cache" = 1; then
10498 echo "$var=$value" >> ${wx_arg_cache_file}
10500 if test "$value" = 1; then
10501 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10502 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10503 echo "${ECHO_T}$toolkit_echo" >&6
10508 if test "x$host_alias" != "x"; then
10509 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10510 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10512 echo "$as_me:$LINENO: result: base only" >&5
10513 echo "${ECHO_T}base only" >&6
10518 doesnt_want_win32
=0
10521 if test "$wxUSE_MSW" = 1 ; then
10524 doesnt_want_win32
=1
10532 if test "$wxUSE_WINE" = "yes"; then
10537 LDFLAGS_GUI
="-mwindows"
10540 if test "$wants_win32" = 1 ; then
10543 cat >>confdefs.h
<<\_ACEOF
10544 #define __WIN32__ 1
10547 cat >>confdefs.h
<<\_ACEOF
10548 #define __WIN95__ 1
10551 cat >>confdefs.h
<<\_ACEOF
10552 #define __WINDOWS__ 1
10555 cat >>confdefs.h
<<\_ACEOF
10556 #define __GNUWIN32__ 1
10559 cat >>confdefs.h
<<\_ACEOF
10563 cat >>confdefs.h
<<\_ACEOF
10564 #define WINVER 0x0400
10568 if test "$doesnt_want_win32" = 1 ; then
10573 if test "$USE_UNIX" = 1 ; then
10575 cat >>confdefs.h
<<\_ACEOF
10582 cat >confcache
<<\_ACEOF
10583 # This file is a shell script that caches the results of configure
10584 # tests run on this system so they can be shared between configure
10585 # scripts and configure runs, see configure's option --config-cache.
10586 # It is not useful on other systems. If it contains results you don't
10587 # want to keep, you may remove or edit it.
10589 # config.status only pays attention to the cache file if you give it
10590 # the --recheck option to rerun configure.
10592 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10593 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10594 # following values.
10598 # The following way of writing the cache mishandles newlines in values,
10599 # but we know of no workaround that is simple, portable, and efficient.
10600 # So, don't put newlines in cache variables' values.
10601 # Ultrix sh set writes to stderr and can't be redirected directly,
10602 # and sets the high bit in the cache file unless we assign to the vars.
10605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10607 # `set' does not quote correctly, so add quotes (double-quote
10608 # substitution turns \\\\ into \\, and sed turns \\ into \).
10611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10614 # `set' quotes correctly as required by POSIX, so do not add quotes.
10616 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10625 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10627 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10628 if test -w $cache_file; then
10629 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10630 cat confcache
>$cache_file
10632 echo "not updating unwritable cache $cache_file"
10637 if test "$build" != "$host" ; then
10638 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10640 CXX
=$host_alias-c++
10642 RANLIB
=$host_alias-ranlib
10643 DLLTOOL
=$host_alias-dlltool
10644 RESCOMP
=$host_alias-windres
10645 STRIP
=$host_alias-strip
10646 elif test "x$CC" '!=' "x"; then
10647 echo "You set CC, I assume you know what you are doing."
10649 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10650 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10651 { (exit 1); exit 1; }; }
10659 ac_cpp
='$CPP $CPPFLAGS'
10660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10663 if test -n "$ac_tool_prefix"; then
10664 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10665 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10666 echo "$as_me:$LINENO: checking for $ac_word" >&5
10667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10668 if test "${ac_cv_prog_CC+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 if test -n "$CC"; then
10672 ac_cv_prog_CC
="$CC" # Let the user override the test.
10674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10675 for as_dir
in $PATH
10678 test -z "$as_dir" && as_dir
=.
10679 for ac_exec_ext
in '' $ac_executable_extensions; do
10680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10681 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10691 if test -n "$CC"; then
10692 echo "$as_me:$LINENO: result: $CC" >&5
10693 echo "${ECHO_T}$CC" >&6
10695 echo "$as_me:$LINENO: result: no" >&5
10696 echo "${ECHO_T}no" >&6
10700 if test -z "$ac_cv_prog_CC"; then
10702 # Extract the first word of "gcc", so it can be a program name with args.
10703 set dummy gcc
; ac_word
=$2
10704 echo "$as_me:$LINENO: checking for $ac_word" >&5
10705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 if test -n "$ac_ct_CC"; then
10710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10713 for as_dir
in $PATH
10716 test -z "$as_dir" && as_dir
=.
10717 for ac_exec_ext
in '' $ac_executable_extensions; do
10718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_prog_ac_ct_CC
="gcc"
10720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10729 if test -n "$ac_ct_CC"; then
10730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10731 echo "${ECHO_T}$ac_ct_CC" >&6
10733 echo "$as_me:$LINENO: result: no" >&5
10734 echo "${ECHO_T}no" >&6
10739 CC
="$ac_cv_prog_CC"
10742 if test -z "$CC"; then
10743 if test -n "$ac_tool_prefix"; then
10744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10745 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10746 echo "$as_me:$LINENO: checking for $ac_word" >&5
10747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10748 if test "${ac_cv_prog_CC+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 if test -n "$CC"; then
10752 ac_cv_prog_CC
="$CC" # Let the user override the test.
10754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10755 for as_dir
in $PATH
10758 test -z "$as_dir" && as_dir
=.
10759 for ac_exec_ext
in '' $ac_executable_extensions; do
10760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10761 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10771 if test -n "$CC"; then
10772 echo "$as_me:$LINENO: result: $CC" >&5
10773 echo "${ECHO_T}$CC" >&6
10775 echo "$as_me:$LINENO: result: no" >&5
10776 echo "${ECHO_T}no" >&6
10780 if test -z "$ac_cv_prog_CC"; then
10782 # Extract the first word of "cc", so it can be a program name with args.
10783 set dummy cc
; ac_word
=$2
10784 echo "$as_me:$LINENO: checking for $ac_word" >&5
10785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10787 echo $ECHO_N "(cached) $ECHO_C" >&6
10789 if test -n "$ac_ct_CC"; then
10790 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10793 for as_dir
in $PATH
10796 test -z "$as_dir" && as_dir
=.
10797 for ac_exec_ext
in '' $ac_executable_extensions; do
10798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10799 ac_cv_prog_ac_ct_CC
="cc"
10800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10808 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10809 if test -n "$ac_ct_CC"; then
10810 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10811 echo "${ECHO_T}$ac_ct_CC" >&6
10813 echo "$as_me:$LINENO: result: no" >&5
10814 echo "${ECHO_T}no" >&6
10819 CC
="$ac_cv_prog_CC"
10823 if test -z "$CC"; then
10824 # Extract the first word of "cc", so it can be a program name with args.
10825 set dummy cc
; ac_word
=$2
10826 echo "$as_me:$LINENO: checking for $ac_word" >&5
10827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10828 if test "${ac_cv_prog_CC+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 if test -n "$CC"; then
10832 ac_cv_prog_CC
="$CC" # Let the user override the test.
10834 ac_prog_rejected
=no
10835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10836 for as_dir
in $PATH
10839 test -z "$as_dir" && as_dir
=.
10840 for ac_exec_ext
in '' $ac_executable_extensions; do
10841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10843 ac_prog_rejected
=yes
10847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 if test $ac_prog_rejected = yes; then
10854 # We found a bogon in the path, so make sure we never use it.
10855 set dummy
$ac_cv_prog_CC
10857 if test $# != 0; then
10858 # We chose a different compiler from the bogus one.
10859 # However, it has the same basename, so the bogon will be chosen
10860 # first if we set CC to just the basename; use the full file name.
10862 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10868 if test -n "$CC"; then
10869 echo "$as_me:$LINENO: result: $CC" >&5
10870 echo "${ECHO_T}$CC" >&6
10872 echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6
10877 if test -z "$CC"; then
10878 if test -n "$ac_tool_prefix"; then
10881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10882 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10883 echo "$as_me:$LINENO: checking for $ac_word" >&5
10884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10885 if test "${ac_cv_prog_CC+set}" = set; then
10886 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 if test -n "$CC"; then
10889 ac_cv_prog_CC
="$CC" # Let the user override the test.
10891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10892 for as_dir
in $PATH
10895 test -z "$as_dir" && as_dir
=.
10896 for ac_exec_ext
in '' $ac_executable_extensions; do
10897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10898 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10908 if test -n "$CC"; then
10909 echo "$as_me:$LINENO: result: $CC" >&5
10910 echo "${ECHO_T}$CC" >&6
10912 echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6
10916 test -n "$CC" && break
10919 if test -z "$CC"; then
10923 # Extract the first word of "$ac_prog", so it can be a program name with args.
10924 set dummy
$ac_prog; ac_word
=$2
10925 echo "$as_me:$LINENO: checking for $ac_word" >&5
10926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10927 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 if test -n "$ac_ct_CC"; then
10931 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10934 for as_dir
in $PATH
10937 test -z "$as_dir" && as_dir
=.
10938 for ac_exec_ext
in '' $ac_executable_extensions; do
10939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10940 ac_cv_prog_ac_ct_CC
="$ac_prog"
10941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10949 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10950 if test -n "$ac_ct_CC"; then
10951 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10952 echo "${ECHO_T}$ac_ct_CC" >&6
10954 echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6
10958 test -n "$ac_ct_CC" && break
10967 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10968 See \`config.log' for more details." >&5
10969 echo "$as_me: error: no acceptable C compiler found in \$PATH
10970 See \`config.log' for more details." >&2;}
10971 { (exit 1); exit 1; }; }
10973 # Provide some information about the compiler.
10974 echo "$as_me:$LINENO:" \
10975 "checking for C compiler version" >&5
10976 ac_compiler
=`set X $ac_compile; echo $2`
10977 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10978 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }
10982 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10983 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }
10987 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10988 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }
10993 cat >conftest.
$ac_ext <<_ACEOF
10996 cat confdefs.h
>>conftest.
$ac_ext
10997 cat >>conftest.
$ac_ext <<_ACEOF
10998 /* end confdefs.h. */
11008 ac_clean_files_save
=$ac_clean_files
11009 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11010 # Try to create an executable without -o first, disregard a.out.
11011 # It will help us diagnose broken compilers, and finding out an intuition
11013 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11014 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11015 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11016 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11017 (eval $ac_link_default) 2>&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); }; then
11021 # Find the output, starting from the most likely. This scheme is
11022 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11025 # Be careful to initialize this variable, since it used to be cached.
11026 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11028 # b.out is created by i960 compilers.
11029 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11031 test -f "$ac_file" || continue
11033 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11036 # This is the source file.
11039 # We found the default executable, but exeext='' is most
11043 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11044 # FIXME: I believe we export ac_cv_exeext for Libtool,
11045 # but it would be cool to find out if it's true. Does anybody
11046 # maintain Libtool? --akim.
11047 export ac_cv_exeext
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.
$ac_ext >&5
11057 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11058 See \`config.log' for more details." >&5
11059 echo "$as_me: error: C compiler cannot create executables
11060 See \`config.log' for more details." >&2;}
11061 { (exit 77); exit 77; }; }
11064 ac_exeext
=$ac_cv_exeext
11065 echo "$as_me:$LINENO: result: $ac_file" >&5
11066 echo "${ECHO_T}$ac_file" >&6
11068 # Check the compiler produces executables we can run. If not, either
11069 # the compiler is broken, or we cross compile.
11070 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11071 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11072 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11073 # If not cross compiling, check that we can run a simple program.
11074 if test "$cross_compiling" != yes; then
11075 if { ac_try
='./$ac_file'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11083 if test "$cross_compiling" = maybe
; then
11084 cross_compiling
=yes
11086 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11087 If you meant to cross compile, use \`--host'.
11088 See \`config.log' for more details." >&5
11089 echo "$as_me: error: cannot run C compiled programs.
11090 If you meant to cross compile, use \`--host'.
11091 See \`config.log' for more details." >&2;}
11092 { (exit 1); exit 1; }; }
11096 echo "$as_me:$LINENO: result: yes" >&5
11097 echo "${ECHO_T}yes" >&6
11099 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11100 ac_clean_files
=$ac_clean_files_save
11101 # Check the compiler produces executables we can run. If not, either
11102 # the compiler is broken, or we cross compile.
11103 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11104 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11105 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11106 echo "${ECHO_T}$cross_compiling" >&6
11108 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11109 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11111 (eval $ac_link) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; then
11115 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11116 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11117 # work properly (i.e., refer to `conftest.exe'), while it won't with
11119 for ac_file
in conftest.exe conftest conftest.
*; do
11120 test -f "$ac_file" || continue
11122 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11123 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11124 export ac_cv_exeext
11130 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11131 See \`config.log' for more details." >&5
11132 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11133 See \`config.log' for more details." >&2;}
11134 { (exit 1); exit 1; }; }
11137 rm -f conftest
$ac_cv_exeext
11138 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11139 echo "${ECHO_T}$ac_cv_exeext" >&6
11141 rm -f conftest.
$ac_ext
11142 EXEEXT
=$ac_cv_exeext
11144 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11145 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11146 if test "${ac_cv_objext+set}" = set; then
11147 echo $ECHO_N "(cached) $ECHO_C" >&6
11149 cat >conftest.
$ac_ext <<_ACEOF
11152 cat confdefs.h
>>conftest.
$ac_ext
11153 cat >>conftest.
$ac_ext <<_ACEOF
11154 /* end confdefs.h. */
11164 rm -f conftest.o conftest.obj
11165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11166 (eval $ac_compile) 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; then
11170 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11172 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11173 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11178 echo "$as_me: failed program was:" >&5
11179 sed 's/^/| /' conftest.
$ac_ext >&5
11181 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11182 See \`config.log' for more details." >&5
11183 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11184 See \`config.log' for more details." >&2;}
11185 { (exit 1); exit 1; }; }
11188 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11190 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11191 echo "${ECHO_T}$ac_cv_objext" >&6
11192 OBJEXT
=$ac_cv_objext
11194 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11195 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11196 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11197 echo $ECHO_N "(cached) $ECHO_C" >&6
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11217 rm -f conftest.
$ac_objext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219 (eval $ac_compile) 2>conftest.er1
11221 grep -v '^ *+' conftest.er1
>conftest.err
11223 cat conftest.err
>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } &&
11226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; } &&
11232 { ac_try
='test -s conftest.$ac_objext'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; }; then
11238 ac_compiler_gnu
=yes
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.
$ac_ext >&5
11245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11246 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11249 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11250 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11251 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11252 ac_test_CFLAGS
=${CFLAGS+set}
11253 ac_save_CFLAGS
=$CFLAGS
11255 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11256 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11257 if test "${ac_cv_prog_cc_g+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 cat >conftest.
$ac_ext <<_ACEOF
11263 cat confdefs.h
>>conftest.
$ac_ext
11264 cat >>conftest.
$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11275 rm -f conftest.
$ac_objext
11276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11277 (eval $ac_compile) 2>conftest.er1
11279 grep -v '^ *+' conftest.er1
>conftest.err
11281 cat conftest.err
>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); } &&
11284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; } &&
11290 { ac_try
='test -s conftest.$ac_objext'
11291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11292 (eval $ac_try) 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11296 ac_cv_prog_cc_g
=yes
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.
$ac_ext >&5
11303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11305 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11306 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11307 if test "$ac_test_CFLAGS" = set; then
11308 CFLAGS
=$ac_save_CFLAGS
11309 elif test $ac_cv_prog_cc_g = yes; then
11310 if test "$GCC" = yes; then
11316 if test "$GCC" = yes; then
11322 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11323 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11324 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 ac_cv_prog_cc_stdc
=no
11329 cat >conftest.
$ac_ext <<_ACEOF
11332 cat confdefs.h
>>conftest.
$ac_ext
11333 cat >>conftest.
$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11335 #include <stdarg.h>
11337 #include <sys/types.h>
11338 #include <sys/stat.h>
11339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11340 struct buf { int x; };
11341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11342 static char *e (p, i)
11348 static char *f (char * (*g) (char **, int), char **p, ...)
11353 s = g (p, va_arg (v,int));
11358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11359 function prototypes and stuff, but not '\xHH' hex character constants.
11360 These don't provoke an error unfortunately, instead are silently treated
11361 as 'x'. The following induces an error, until -std1 is added to get
11362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11363 array size at least. It's necessary to write '\x00'==0 to get something
11364 that's true only with -std1. */
11365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11367 int test (int i, double x);
11368 struct s1 {int (*f) (int a);};
11369 struct s2 {int (*f) (double a);};
11370 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11376 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11381 # Don't try gcc -ansi; that turns off useful extensions and
11382 # breaks some systems' header files.
11383 # AIX -qlanglvl=ansi
11384 # Ultrix and OSF/1 -std1
11385 # HP-UX 10.20 and later -Ae
11386 # HP-UX older versions -Aa -D_HPUX_SOURCE
11387 # SVR4 -Xc -D__EXTENSIONS__
11388 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11390 CC
="$ac_save_CC $ac_arg"
11391 rm -f conftest.
$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>conftest.er1
11395 grep -v '^ *+' conftest.er1
>conftest.err
11397 cat conftest.err
>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; } &&
11406 { ac_try
='test -s conftest.$ac_objext'
11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408 (eval $ac_try) 2>&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; }; then
11412 ac_cv_prog_cc_stdc
=$ac_arg
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.
$ac_ext >&5
11419 rm -f conftest.err conftest.
$ac_objext
11421 rm -f conftest.
$ac_ext conftest.
$ac_objext
11426 case "x$ac_cv_prog_cc_stdc" in
11428 echo "$as_me:$LINENO: result: none needed" >&5
11429 echo "${ECHO_T}none needed" >&6 ;;
11431 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11432 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11433 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11436 # Some people use a C++ compiler to compile C. Since we use `exit',
11437 # in C++ we need to declare it. In case someone uses the same compiler
11438 # for both compiling C and C++ we need to have the C++ compiler decide
11439 # the declaration of exit, since it's the most demanding environment.
11440 cat >conftest.
$ac_ext <<_ACEOF
11441 #ifndef __cplusplus
11445 rm -f conftest.
$ac_objext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11447 (eval $ac_compile) 2>conftest.er1
11449 grep -v '^ *+' conftest.er1
>conftest.err
11451 cat conftest.err
>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; } &&
11460 { ac_try
='test -s conftest.$ac_objext'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then
11466 for ac_declaration
in \
11468 'extern "C" void std::exit (int) throw (); using std::exit;' \
11469 'extern "C" void std::exit (int); using std::exit;' \
11470 'extern "C" void exit (int) throw ();' \
11471 'extern "C" void exit (int);' \
11474 cat >conftest.
$ac_ext <<_ACEOF
11477 cat confdefs.h
>>conftest.
$ac_ext
11478 cat >>conftest.
$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11481 #include <stdlib.h>
11490 rm -f conftest.
$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11494 grep -v '^ *+' conftest.er1
>conftest.err
11496 cat conftest.err
>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; } &&
11505 { ac_try
='test -s conftest.$ac_objext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11513 echo "$as_me: failed program was:" >&5
11514 sed 's/^/| /' conftest.
$ac_ext >&5
11518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11519 cat >conftest.
$ac_ext <<_ACEOF
11522 cat confdefs.h
>>conftest.
$ac_ext
11523 cat >>conftest.
$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11534 rm -f conftest.
$ac_objext
11535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11536 (eval $ac_compile) 2>conftest.er1
11538 grep -v '^ *+' conftest.er1
>conftest.err
11540 cat conftest.err
>&5
11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); } &&
11543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11545 (eval $ac_try) 2>&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); }; } &&
11549 { ac_try
='test -s conftest.$ac_objext'
11550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11551 (eval $ac_try) 2>&5
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); }; }; then
11557 echo "$as_me: failed program was:" >&5
11558 sed 's/^/| /' conftest.
$ac_ext >&5
11561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11564 if test -n "$ac_declaration"; then
11565 echo '#ifdef __cplusplus' >>confdefs.h
11566 echo $ac_declaration >>confdefs.h
11567 echo '#endif' >>confdefs.h
11571 echo "$as_me: failed program was:" >&5
11572 sed 's/^/| /' conftest.
$ac_ext >&5
11575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11577 ac_cpp
='$CPP $CPPFLAGS'
11578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11582 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11583 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11584 if test "${wx_cv_c_exto+set}" = set; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 cat >conftest.
$ac_ext <<_ACEOF
11590 cat confdefs.h
>>conftest.
$ac_ext
11591 cat >>conftest.
$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11602 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11604 (eval $ac_compile) 2>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }; then
11608 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11610 conftest.
$ac_ext.o
)
11611 wx_cv_c_exto
="-ext o"
11618 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11619 See \`config.log' for more details." >&5
11620 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11621 See \`config.log' for more details." >&2;}
11622 { (exit 1); exit 1; }; }
11626 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11629 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11630 echo "${ECHO_T}$wx_cv_c_exto" >&6
11631 if test "x$wx_cv_c_exto" '!=' "x"; then
11632 if test "c" = "c"; then
11633 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11635 if test "c" = "cxx"; then
11636 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11640 if test "x$wx_cv_c_exto" '!=' "x"; then
11641 unset ac_cv_prog_cc_g
11642 ac_test_CFLAGS
=${CFLAGS+set}
11643 ac_save_CFLAGS
=$CFLAGS
11645 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11646 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11647 if test "${ac_cv_prog_cc_g+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 cat >conftest.
$ac_ext <<_ACEOF
11653 cat confdefs.h
>>conftest.
$ac_ext
11654 cat >>conftest.
$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11665 rm -f conftest.
$ac_objext
11666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11667 (eval $ac_compile) 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); } &&
11674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11676 (eval $ac_try) 2>&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); }; } &&
11680 { ac_try
='test -s conftest.$ac_objext'
11681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11682 (eval $ac_try) 2>&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); }; }; then
11686 ac_cv_prog_cc_g
=yes
11688 echo "$as_me: failed program was:" >&5
11689 sed 's/^/| /' conftest.
$ac_ext >&5
11693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11695 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11696 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11697 if test "$ac_test_CFLAGS" = set; then
11698 CFLAGS
=$ac_save_CFLAGS
11699 elif test $ac_cv_prog_cc_g = yes; then
11700 if test "$GCC" = yes; then
11706 if test "$GCC" = yes; then
11714 ac_cpp
='$CPP $CPPFLAGS'
11715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11719 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11720 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11721 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 cat >conftest.
$ac_ext <<_ACEOF
11727 cat confdefs.h
>>conftest.
$ac_ext
11728 cat >>conftest.
$ac_ext <<_ACEOF
11729 /* end confdefs.h. */
11742 rm -f conftest.
$ac_objext
11743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11744 (eval $ac_compile) 2>conftest.er1
11746 grep -v '^ *+' conftest.er1
>conftest.err
11748 cat conftest.err
>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } &&
11751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; } &&
11757 { ac_try
='test -s conftest.$ac_objext'
11758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11759 (eval $ac_try) 2>&5
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); }; }; then
11763 bakefile_compiler_mwerks
=yes
11765 echo "$as_me: failed program was:" >&5
11766 sed 's/^/| /' conftest.
$ac_ext >&5
11768 bakefile_compiler_mwerks
=no
11770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11771 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11774 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11775 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11777 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11779 ac_cpp
='$CPP $CPPFLAGS'
11780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11786 ac_cpp
='$CPP $CPPFLAGS'
11787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11791 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11792 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11793 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 cat >conftest.
$ac_ext <<_ACEOF
11799 cat confdefs.h
>>conftest.
$ac_ext
11800 cat >>conftest.
$ac_ext <<_ACEOF
11801 /* end confdefs.h. */
11814 rm -f conftest.
$ac_objext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11816 (eval $ac_compile) 2>conftest.er1
11818 grep -v '^ *+' conftest.er1
>conftest.err
11820 cat conftest.err
>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11825 (eval $ac_try) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; } &&
11829 { ac_try
='test -s conftest.$ac_objext'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; }; then
11835 wx_compiler_xlc
=yes
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11843 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11846 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11847 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11849 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11851 ac_cpp
='$CPP $CPPFLAGS'
11852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11860 ac_cpp
='$CPP $CPPFLAGS'
11861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11864 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11865 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11866 # On Suns, sometimes $CPP names a directory.
11867 if test -n "$CPP" && test -d "$CPP"; then
11870 if test -z "$CPP"; then
11871 if test "${ac_cv_prog_CPP+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 # Double quotes because CPP needs to be expanded
11875 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11877 ac_preproc_ok
=false
11878 for ac_c_preproc_warn_flag
in '' yes
11880 # Use a header file that comes with gcc, so configuring glibc
11881 # with a fresh cross-compiler works.
11882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11883 # <limits.h> exists even on freestanding compilers.
11884 # On the NeXT, cc -E runs the code through the compiler's parser,
11885 # not just through cpp. "Syntax error" is here to catch this case.
11886 cat >conftest.
$ac_ext <<_ACEOF
11889 cat confdefs.h
>>conftest.
$ac_ext
11890 cat >>conftest.
$ac_ext <<_ACEOF
11891 /* end confdefs.h. */
11893 # include <limits.h>
11895 # include <assert.h>
11899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11902 grep -v '^ *+' conftest.er1
>conftest.err
11904 cat conftest.err
>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); } >/dev
/null
; then
11907 if test -s conftest.err
; then
11908 ac_cpp_err
=$ac_c_preproc_warn_flag
11909 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11916 if test -z "$ac_cpp_err"; then
11919 echo "$as_me: failed program was:" >&5
11920 sed 's/^/| /' conftest.
$ac_ext >&5
11922 # Broken: fails on valid input.
11925 rm -f conftest.err conftest.
$ac_ext
11927 # OK, works on sane cases. Now check whether non-existent headers
11928 # can be detected and how.
11929 cat >conftest.
$ac_ext <<_ACEOF
11932 cat confdefs.h
>>conftest.
$ac_ext
11933 cat >>conftest.
$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11935 #include <ac_nonexistent.h>
11937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11940 grep -v '^ *+' conftest.er1
>conftest.err
11942 cat conftest.err
>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } >/dev
/null
; then
11945 if test -s conftest.err
; then
11946 ac_cpp_err
=$ac_c_preproc_warn_flag
11947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11954 if test -z "$ac_cpp_err"; then
11955 # Broken: success on invalid input.
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.
$ac_ext >&5
11961 # Passes both tests.
11965 rm -f conftest.err conftest.
$ac_ext
11968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11969 rm -f conftest.err conftest.
$ac_ext
11970 if $ac_preproc_ok; then
11975 ac_cv_prog_CPP
=$CPP
11978 CPP
=$ac_cv_prog_CPP
11980 ac_cv_prog_CPP
=$CPP
11982 echo "$as_me:$LINENO: result: $CPP" >&5
11983 echo "${ECHO_T}$CPP" >&6
11984 ac_preproc_ok
=false
11985 for ac_c_preproc_warn_flag
in '' yes
11987 # Use a header file that comes with gcc, so configuring glibc
11988 # with a fresh cross-compiler works.
11989 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11990 # <limits.h> exists even on freestanding compilers.
11991 # On the NeXT, cc -E runs the code through the compiler's parser,
11992 # not just through cpp. "Syntax error" is here to catch this case.
11993 cat >conftest.
$ac_ext <<_ACEOF
11996 cat confdefs.h
>>conftest.
$ac_ext
11997 cat >>conftest.
$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
12000 # include <limits.h>
12002 # include <assert.h>
12006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12009 grep -v '^ *+' conftest.er1
>conftest.err
12011 cat conftest.err
>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } >/dev
/null
; then
12014 if test -s conftest.err
; then
12015 ac_cpp_err
=$ac_c_preproc_warn_flag
12016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12023 if test -z "$ac_cpp_err"; then
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.
$ac_ext >&5
12029 # Broken: fails on valid input.
12032 rm -f conftest.err conftest.
$ac_ext
12034 # OK, works on sane cases. Now check whether non-existent headers
12035 # can be detected and how.
12036 cat >conftest.
$ac_ext <<_ACEOF
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 #include <ac_nonexistent.h>
12044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12047 grep -v '^ *+' conftest.er1
>conftest.err
12049 cat conftest.err
>&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); } >/dev
/null
; then
12052 if test -s conftest.err
; then
12053 ac_cpp_err
=$ac_c_preproc_warn_flag
12054 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12061 if test -z "$ac_cpp_err"; then
12062 # Broken: success on invalid input.
12065 echo "$as_me: failed program was:" >&5
12066 sed 's/^/| /' conftest.
$ac_ext >&5
12068 # Passes both tests.
12072 rm -f conftest.err conftest.
$ac_ext
12075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12076 rm -f conftest.err conftest.
$ac_ext
12077 if $ac_preproc_ok; then
12080 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12081 See \`config.log' for more details." >&5
12082 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12083 See \`config.log' for more details." >&2;}
12084 { (exit 1); exit 1; }; }
12088 ac_cpp
='$CPP $CPPFLAGS'
12089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12094 echo "$as_me:$LINENO: checking for egrep" >&5
12095 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12096 if test "${ac_cv_prog_egrep+set}" = set; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12100 then ac_cv_prog_egrep
='grep -E'
12101 else ac_cv_prog_egrep
='egrep'
12104 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12105 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12106 EGREP
=$ac_cv_prog_egrep
12109 if test $ac_cv_c_compiler_gnu = yes; then
12110 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12111 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12112 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 ac_pattern
="Autoconf.*'x'"
12116 cat >conftest.
$ac_ext <<_ACEOF
12119 cat confdefs.h
>>conftest.
$ac_ext
12120 cat >>conftest.
$ac_ext <<_ACEOF
12121 /* end confdefs.h. */
12125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12126 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12127 ac_cv_prog_gcc_traditional
=yes
12129 ac_cv_prog_gcc_traditional
=no
12134 if test $ac_cv_prog_gcc_traditional = no
; then
12135 cat >conftest.
$ac_ext <<_ACEOF
12138 cat confdefs.h
>>conftest.
$ac_ext
12139 cat >>conftest.
$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12141 #include <termio.h>
12144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12145 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12146 ac_cv_prog_gcc_traditional
=yes
12152 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12153 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12154 if test $ac_cv_prog_gcc_traditional = yes; then
12155 CC
="$CC -traditional"
12163 ac_cpp
='$CXXCPP $CPPFLAGS'
12164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12169 CXXFLAGS
=${CXXFLAGS:=}
12173 ac_cpp
='$CXXCPP $CPPFLAGS'
12174 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12175 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12176 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12177 if test -n "$ac_tool_prefix"; then
12178 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12182 echo "$as_me:$LINENO: checking for $ac_word" >&5
12183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12184 if test "${ac_cv_prog_CXX+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 if test -n "$CXX"; then
12188 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12191 for as_dir
in $PATH
12194 test -z "$as_dir" && as_dir
=.
12195 for ac_exec_ext
in '' $ac_executable_extensions; do
12196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12206 CXX
=$ac_cv_prog_CXX
12207 if test -n "$CXX"; then
12208 echo "$as_me:$LINENO: result: $CXX" >&5
12209 echo "${ECHO_T}$CXX" >&6
12211 echo "$as_me:$LINENO: result: no" >&5
12212 echo "${ECHO_T}no" >&6
12215 test -n "$CXX" && break
12218 if test -z "$CXX"; then
12220 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12222 # Extract the first word of "$ac_prog", so it can be a program name with args.
12223 set dummy
$ac_prog; ac_word
=$2
12224 echo "$as_me:$LINENO: checking for $ac_word" >&5
12225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12226 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 if test -n "$ac_ct_CXX"; then
12230 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12233 for as_dir
in $PATH
12236 test -z "$as_dir" && as_dir
=.
12237 for ac_exec_ext
in '' $ac_executable_extensions; do
12238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12239 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12248 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12249 if test -n "$ac_ct_CXX"; then
12250 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12251 echo "${ECHO_T}$ac_ct_CXX" >&6
12253 echo "$as_me:$LINENO: result: no" >&5
12254 echo "${ECHO_T}no" >&6
12257 test -n "$ac_ct_CXX" && break
12259 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12265 # Provide some information about the compiler.
12266 echo "$as_me:$LINENO:" \
12267 "checking for C++ compiler version" >&5
12268 ac_compiler
=`set X $ac_compile; echo $2`
12269 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12270 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }
12274 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12275 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }
12279 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12280 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }
12285 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12286 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12287 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 cat >conftest.
$ac_ext <<_ACEOF
12293 cat confdefs.h
>>conftest.
$ac_ext
12294 cat >>conftest.
$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12308 rm -f conftest.
$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12310 (eval $ac_compile) 2>conftest.er1
12312 grep -v '^ *+' conftest.er1
>conftest.err
12314 cat conftest.err
>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } &&
12317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; } &&
12323 { ac_try
='test -s conftest.$ac_objext'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; }; then
12329 ac_compiler_gnu
=yes
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.
$ac_ext >&5
12336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12337 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12340 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12341 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12342 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12343 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12344 ac_save_CXXFLAGS
=$CXXFLAGS
12346 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12347 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12348 if test "${ac_cv_prog_cxx_g+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 cat >conftest.
$ac_ext <<_ACEOF
12354 cat confdefs.h
>>conftest.
$ac_ext
12355 cat >>conftest.
$ac_ext <<_ACEOF
12356 /* end confdefs.h. */
12366 rm -f conftest.
$ac_objext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>conftest.er1
12370 grep -v '^ *+' conftest.er1
>conftest.err
12372 cat conftest.err
>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try
='test -s conftest.$ac_objext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_cv_prog_cxx_g
=yes
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.
$ac_ext >&5
12392 ac_cv_prog_cxx_g
=no
12394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12396 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12397 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12398 if test "$ac_test_CXXFLAGS" = set; then
12399 CXXFLAGS
=$ac_save_CXXFLAGS
12400 elif test $ac_cv_prog_cxx_g = yes; then
12401 if test "$GXX" = yes; then
12407 if test "$GXX" = yes; then
12413 for ac_declaration
in \
12415 'extern "C" void std::exit (int) throw (); using std::exit;' \
12416 'extern "C" void std::exit (int); using std::exit;' \
12417 'extern "C" void exit (int) throw ();' \
12418 'extern "C" void exit (int);' \
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12428 #include <stdlib.h>
12437 rm -f conftest.
$ac_objext
12438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12439 (eval $ac_compile) 2>conftest.er1
12441 grep -v '^ *+' conftest.er1
>conftest.err
12443 cat conftest.err
>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); } &&
12446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; } &&
12452 { ac_try
='test -s conftest.$ac_objext'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; }; then
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12466 cat >conftest.
$ac_ext <<_ACEOF
12469 cat confdefs.h
>>conftest.
$ac_ext
12470 cat >>conftest.
$ac_ext <<_ACEOF
12471 /* end confdefs.h. */
12481 rm -f conftest.
$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>conftest.er1
12485 grep -v '^ *+' conftest.er1
>conftest.err
12487 cat conftest.err
>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } &&
12490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12492 (eval $ac_try) 2>&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); }; } &&
12496 { ac_try
='test -s conftest.$ac_objext'
12497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12498 (eval $ac_try) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); }; }; then
12504 echo "$as_me: failed program was:" >&5
12505 sed 's/^/| /' conftest.
$ac_ext >&5
12508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12511 if test -n "$ac_declaration"; then
12512 echo '#ifdef __cplusplus' >>confdefs.h
12513 echo $ac_declaration >>confdefs.h
12514 echo '#endif' >>confdefs.h
12518 ac_cpp
='$CXXCPP $CPPFLAGS'
12519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12523 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12524 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12525 if test "${wx_cv_cxx_exto+set}" = set; then
12526 echo $ECHO_N "(cached) $ECHO_C" >&6
12528 cat >conftest.
$ac_ext <<_ACEOF
12531 cat confdefs.h
>>conftest.
$ac_ext
12532 cat >>conftest.
$ac_ext <<_ACEOF
12533 /* end confdefs.h. */
12543 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12545 (eval $ac_compile) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; then
12549 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12551 conftest.
$ac_ext.o
)
12552 wx_cv_cxx_exto
="-ext o"
12559 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12560 See \`config.log' for more details." >&5
12561 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12562 See \`config.log' for more details." >&2;}
12563 { (exit 1); exit 1; }; }
12567 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12570 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12571 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12572 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12573 if test "cxx" = "c"; then
12574 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12576 if test "cxx" = "cxx"; then
12577 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12581 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12582 unset ac_cv_prog_cxx_g
12583 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12584 ac_save_CXXFLAGS
=$CXXFLAGS
12586 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12587 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12588 if test "${ac_cv_prog_cxx_g+set}" = set; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 cat >conftest.
$ac_ext <<_ACEOF
12594 cat confdefs.h
>>conftest.
$ac_ext
12595 cat >>conftest.
$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12606 rm -f conftest.
$ac_objext
12607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12608 (eval $ac_compile) 2>conftest.er1
12610 grep -v '^ *+' conftest.er1
>conftest.err
12612 cat conftest.err
>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; } &&
12621 { ac_try
='test -s conftest.$ac_objext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_cv_prog_cxx_g
=yes
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.
$ac_ext >&5
12632 ac_cv_prog_cxx_g
=no
12634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12636 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12637 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12638 if test "$ac_test_CXXFLAGS" = set; then
12639 CXXFLAGS
=$ac_save_CXXFLAGS
12640 elif test $ac_cv_prog_cxx_g = yes; then
12641 if test "$GXX" = yes; then
12647 if test "$GXX" = yes; then
12655 ac_cpp
='$CXXCPP $CPPFLAGS'
12656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12660 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12661 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12662 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 cat >conftest.
$ac_ext <<_ACEOF
12668 cat confdefs.h
>>conftest.
$ac_ext
12669 cat >>conftest.
$ac_ext <<_ACEOF
12670 /* end confdefs.h. */
12683 rm -f conftest.
$ac_objext
12684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12685 (eval $ac_compile) 2>conftest.er1
12687 grep -v '^ *+' conftest.er1
>conftest.err
12689 cat conftest.err
>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } &&
12692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; } &&
12698 { ac_try
='test -s conftest.$ac_objext'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; }; then
12704 bakefile_compiler_mwerks
=yes
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.
$ac_ext >&5
12709 bakefile_compiler_mwerks
=no
12711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12712 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12715 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12716 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12718 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12720 ac_cpp
='$CXXCPP $CPPFLAGS'
12721 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12727 ac_cpp
='$CXXCPP $CPPFLAGS'
12728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12732 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12733 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12734 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 cat >conftest.
$ac_ext <<_ACEOF
12740 cat confdefs.h
>>conftest.
$ac_ext
12741 cat >>conftest.
$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12755 rm -f conftest.
$ac_objext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>conftest.er1
12759 grep -v '^ *+' conftest.er1
>conftest.err
12761 cat conftest.err
>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; } &&
12770 { ac_try
='test -s conftest.$ac_objext'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; }; then
12776 wx_compiler_xlc
=yes
12778 echo "$as_me: failed program was:" >&5
12779 sed 's/^/| /' conftest.
$ac_ext >&5
12783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12784 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12787 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12788 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12790 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12792 ac_cpp
='$CXXCPP $CPPFLAGS'
12793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12801 ac_cpp
='$CPP $CPPFLAGS'
12802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12807 if test -n "$ac_tool_prefix"; then
12808 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12809 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12810 echo "$as_me:$LINENO: checking for $ac_word" >&5
12811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12812 if test "${ac_cv_prog_RANLIB+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 if test -n "$RANLIB"; then
12816 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12819 for as_dir
in $PATH
12822 test -z "$as_dir" && as_dir
=.
12823 for ac_exec_ext
in '' $ac_executable_extensions; do
12824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12825 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12834 RANLIB
=$ac_cv_prog_RANLIB
12835 if test -n "$RANLIB"; then
12836 echo "$as_me:$LINENO: result: $RANLIB" >&5
12837 echo "${ECHO_T}$RANLIB" >&6
12839 echo "$as_me:$LINENO: result: no" >&5
12840 echo "${ECHO_T}no" >&6
12844 if test -z "$ac_cv_prog_RANLIB"; then
12845 ac_ct_RANLIB
=$RANLIB
12846 # Extract the first word of "ranlib", so it can be a program name with args.
12847 set dummy ranlib
; ac_word
=$2
12848 echo "$as_me:$LINENO: checking for $ac_word" >&5
12849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12850 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 if test -n "$ac_ct_RANLIB"; then
12854 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12857 for as_dir
in $PATH
12860 test -z "$as_dir" && as_dir
=.
12861 for ac_exec_ext
in '' $ac_executable_extensions; do
12862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12863 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12870 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12873 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12874 if test -n "$ac_ct_RANLIB"; then
12875 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12876 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12878 echo "$as_me:$LINENO: result: no" >&5
12879 echo "${ECHO_T}no" >&6
12882 RANLIB
=$ac_ct_RANLIB
12884 RANLIB
="$ac_cv_prog_RANLIB"
12888 # Extract the first word of "ar", so it can be a program name with args.
12889 set dummy
ar; ac_word
=$2
12890 echo "$as_me:$LINENO: checking for $ac_word" >&5
12891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12892 if test "${ac_cv_prog_AR+set}" = set; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 if test -n "$AR"; then
12896 ac_cv_prog_AR
="$AR" # Let the user override the test.
12898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12899 for as_dir
in $PATH
12902 test -z "$as_dir" && as_dir
=.
12903 for ac_exec_ext
in '' $ac_executable_extensions; do
12904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12915 if test -n "$AR"; then
12916 echo "$as_me:$LINENO: result: $AR" >&5
12917 echo "${ECHO_T}$AR" >&6
12919 echo "$as_me:$LINENO: result: no" >&5
12920 echo "${ECHO_T}no" >&6
12923 if test "x$AR" = "x" ; then
12924 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12925 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12926 { (exit 1); exit 1; }; }
12929 # Find a good install program. We prefer a C program (faster),
12930 # so one script is as good as another. But avoid the broken or
12931 # incompatible versions:
12932 # SysV /etc/install, /usr/sbin/install
12933 # SunOS /usr/etc/install
12934 # IRIX /sbin/install
12936 # AmigaOS /C/install, which installs bootblocks on floppy discs
12937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12940 # OS/2's system install, which has a completely different semantic
12941 # ./install, which can be erroneously created by make from ./install.sh.
12942 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12944 if test -z "$INSTALL"; then
12945 if test "${ac_cv_path_install+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12949 for as_dir
in $PATH
12952 test -z "$as_dir" && as_dir
=.
12953 # Account for people who put trailing slashes in PATH elements.
12955 .
/ | .
// | /cC
/* | \
12956 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12957 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12960 # OSF1 and SCO ODT 3.0 have their own names for install.
12961 # Don't use installbsd from OSF since it installs stuff as root
12963 for ac_prog
in ginstall scoinst
install; do
12964 for ac_exec_ext
in '' $ac_executable_extensions; do
12965 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12966 if test $ac_prog = install &&
12967 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12968 # AIX install. It has an incompatible calling convention.
12970 elif test $ac_prog = install &&
12971 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12972 # program-specific install script used by HP pwplus--don't use.
12975 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12987 if test "${ac_cv_path_install+set}" = set; then
12988 INSTALL
=$ac_cv_path_install
12990 # As a last resort, use the slow shell script. We don't cache a
12991 # path for INSTALL within a source directory, because that will
12992 # break other packages using the cache if that directory is
12993 # removed, or if the path is relative.
12994 INSTALL
=$ac_install_sh
12997 echo "$as_me:$LINENO: result: $INSTALL" >&5
12998 echo "${ECHO_T}$INSTALL" >&6
13000 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13001 # It thinks the first close brace ends the variable substitution.
13002 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13004 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13006 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13012 ?
:* ) # Drive letter, considered as absolute.
13015 INSTALL
=`pwd`/${INSTALL} ;;
13021 powerpc
-*-darwin* )
13022 INSTALL_PROGRAM
="cp -fp"
13023 INSTALL_DATA
="cp -fp"
13029 # Extract the first word of "strip", so it can be a program name with args.
13030 set dummy strip
; ac_word
=$2
13031 echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13033 if test "${ac_cv_prog_STRIP+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 if test -n "$STRIP"; then
13037 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13040 for as_dir
in $PATH
13043 test -z "$as_dir" && as_dir
=.
13044 for ac_exec_ext
in '' $ac_executable_extensions; do
13045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13046 ac_cv_prog_STRIP
="strip"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13053 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13056 STRIP
=$ac_cv_prog_STRIP
13057 if test -n "$STRIP"; then
13058 echo "$as_me:$LINENO: result: $STRIP" >&5
13059 echo "${ECHO_T}$STRIP" >&6
13061 echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6
13066 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13067 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13068 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13073 egrep -s GNU
> /dev
/null
); then
13074 wx_cv_prog_makeisgnu
="yes"
13076 wx_cv_prog_makeisgnu
="no"
13080 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13081 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13083 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13091 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13092 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13093 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13094 if test "${wx_cv_prog_makevpath+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 cat - << EOF > confMake
13104 if test ! -d sub
; then
13107 echo dummy
> sub
/file
13108 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13110 rm -f sub
/file check final_file confMake
13112 if test "$RESULT" = 0; then
13113 wx_cv_prog_makevpath
="yes"
13115 wx_cv_prog_makevpath
="no"
13119 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13120 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13122 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13123 { { echo "$as_me:$LINENO: error:
13124 You need a make-utility that is able to use the variable
13126 If your version of make does not support VPATH correctly,
13127 please install GNU-make (possibly as gmake), and start
13128 configure with the following command:
13129 export MAKE=gmake; ./configure for sh-type shells
13130 setenv MAKE gmake; ./configure for csh-type shells
13131 Also please do remember to use gmake in this case every time
13132 you are trying to compile.
13134 echo "$as_me: error:
13135 You need a make-utility that is able to use the variable
13137 If your version of make does not support VPATH correctly,
13138 please install GNU-make (possibly as gmake), and start
13139 configure with the following command:
13140 export MAKE=gmake; ./configure for sh-type shells
13141 setenv MAKE gmake; ./configure for csh-type shells
13142 Also please do remember to use gmake in this case every time
13143 you are trying to compile.
13145 { (exit 1); exit 1; }; }
13147 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13150 if test "$LN_S" = "ln -s"; then
13151 echo "$as_me:$LINENO: result: yes" >&5
13152 echo "${ECHO_T}yes" >&6
13154 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13155 echo "${ECHO_T}no, using $LN_S" >&6
13160 if test "x$XLCXX" = "xyes"; then
13161 CXXFLAGS
="$CXXFLAGS -qunique"
13166 powerpc
-*-darwin* )
13167 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13168 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13169 cat >conftest.
$ac_ext <<_ACEOF
13172 cat confdefs.h
>>conftest.
$ac_ext
13173 cat >>conftest.
$ac_ext <<_ACEOF
13174 /* end confdefs.h. */
13179 #ifndef __POWERPC__
13180 choke me for lack of PowerPC
13187 rm -f conftest.
$ac_objext
13188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13189 (eval $ac_compile) 2>conftest.er1
13191 grep -v '^ *+' conftest.er1
>conftest.err
13193 cat conftest.err
>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); } &&
13196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13198 (eval $ac_try) 2>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); }; } &&
13202 { ac_try
='test -s conftest.$ac_objext'
13203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204 (eval $ac_try) 2>&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); }; }; then
13208 echo "$as_me:$LINENO: result: yes" >&5
13209 echo "${ECHO_T}yes" >&6
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.
$ac_ext >&5
13214 echo "$as_me:$LINENO: result: no" >&5
13215 echo "${ECHO_T}no" >&6
13216 cat >>confdefs.h
<<\_ACEOF
13217 #define __POWERPC__ 1
13222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13223 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13224 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13225 cat >conftest.
$ac_ext <<_ACEOF
13228 cat confdefs.h
>>conftest.
$ac_ext
13229 cat >>conftest.
$ac_ext <<_ACEOF
13230 /* end confdefs.h. */
13231 #include <CoreFoundation/CFBase.h>
13241 rm -f conftest.
$ac_objext
13242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13243 (eval $ac_compile) 2>conftest.er1
13245 grep -v '^ *+' conftest.er1
>conftest.err
13247 cat conftest.err
>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); } &&
13250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; } &&
13256 { ac_try
='test -s conftest.$ac_objext'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13262 echo "$as_me:$LINENO: result: yes" >&5
13263 echo "${ECHO_T}yes" >&6
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.
$ac_ext >&5
13268 echo "$as_me:$LINENO: result: no" >&5
13269 echo "${ECHO_T}no" >&6
13270 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13271 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13272 cat >conftest.
$ac_ext <<_ACEOF
13275 cat confdefs.h
>>conftest.
$ac_ext
13276 cat >>conftest.
$ac_ext <<_ACEOF
13277 /* end confdefs.h. */
13278 #define __CF_USE_FRAMEWORK_INCLUDES__
13279 #include <CoreFoundation/CFBase.h>
13289 rm -f conftest.
$ac_objext
13290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13291 (eval $ac_compile) 2>conftest.er1
13293 grep -v '^ *+' conftest.er1
>conftest.err
13295 cat conftest.err
>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } &&
13298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; } &&
13304 { ac_try
='test -s conftest.$ac_objext'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; }; then
13310 echo "$as_me:$LINENO: result: yes" >&5
13311 echo "${ECHO_T}yes" >&6
13312 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13314 echo "$as_me: failed program was:" >&5
13315 sed 's/^/| /' conftest.
$ac_ext >&5
13317 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13318 See \`config.log' for more details." >&5
13319 echo "$as_me: error: no. CoreFoundation not available.
13320 See \`config.log' for more details." >&2;}
13321 { (exit 1); exit 1; }; }
13324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13333 *-pc-os2_emx | *-pc-os2-emx )
13334 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13335 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13336 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13337 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13338 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 ac_check_lib_save_LIBS
=$LIBS
13341 LIBS
="-lcExt $LIBS"
13342 cat >conftest.
$ac_ext <<_ACEOF
13345 cat confdefs.h
>>conftest.
$ac_ext
13346 cat >>conftest.
$ac_ext <<_ACEOF
13347 /* end confdefs.h. */
13349 /* Override any gcc2 internal prototype to avoid an error. */
13353 /* We use char because int might match the return type of a gcc2
13354 builtin and then its argument prototype would still apply. */
13364 rm -f conftest.
$ac_objext conftest
$ac_exeext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13366 (eval $ac_link) 2>conftest.er1
13368 grep -v '^ *+' conftest.er1
>conftest.err
13370 cat conftest.err
>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 (eval $ac_try) 2>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; } &&
13379 { ac_try
='test -s conftest$ac_exeext'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; }; then
13385 ac_cv_lib_cExt_drand48
=yes
13387 echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.
$ac_ext >&5
13390 ac_cv_lib_cExt_drand48
=no
13392 rm -f conftest.err conftest.
$ac_objext \
13393 conftest
$ac_exeext conftest.
$ac_ext
13394 LIBS
=$ac_check_lib_save_LIBS
13396 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13397 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13398 if test $ac_cv_lib_cExt_drand48 = yes; then
13399 LIBS
="$LIBS -lcExt"
13403 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13405 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13406 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13407 if test "${wx_cv_gccversion+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13411 if test "$cross_compiling" = yes; then
13412 wx_cv_gccversion
="EMX2"
13415 cat >conftest.
$ac_ext <<_ACEOF
13418 cat confdefs.h
>>conftest.
$ac_ext
13419 cat >>conftest.
$ac_ext <<_ACEOF
13420 /* end confdefs.h. */
13426 FILE *f=fopen("conftestval", "w");
13431 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13433 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13443 rm -f conftest
$ac_exeext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13445 (eval $ac_link) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 wx_cv_gccversion
=`cat conftestval`
13456 echo "$as_me: program exited with status $ac_status" >&5
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.
$ac_ext >&5
13460 ( exit $ac_status )
13461 wx_cv_gccversion
="EMX2"
13463 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13467 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13468 echo "${ECHO_T}$wx_cv_gccversion" >&6
13469 if test "$wx_cv_gccversion" = "EMX2"; then
13470 LIBS
="$LIBS -lstdcpp"
13471 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13473 if test "$wx_cv_gccversion" = "EMX3"; then
13474 LIBS
="$LIBS -lstdcxx"
13475 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13477 LIBS
="$LIBS -lstdc++"
13480 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13481 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13482 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13492 ac_cpp
='$CXXCPP $CPPFLAGS'
13493 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13494 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13495 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13498 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13499 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13500 if test "${ac_cv_string_strcasecmp+set}" = set; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 cat >conftest.
$ac_ext <<_ACEOF
13507 cat confdefs.h
>>conftest.
$ac_ext
13508 cat >>conftest.
$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13511 #include <string.h>
13517 strcasecmp("foo", "bar");
13523 rm -f conftest.
$ac_objext conftest
$ac_exeext
13524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13525 (eval $ac_link) 2>conftest.er1
13527 grep -v '^ *+' conftest.er1
>conftest.err
13529 cat conftest.err
>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; } &&
13538 { ac_try
='test -s conftest$ac_exeext'
13539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13540 (eval $ac_try) 2>&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); }; }; then
13544 ac_cv_string_strcasecmp
=yes
13546 echo "$as_me: failed program was:" >&5
13547 sed 's/^/| /' conftest.
$ac_ext >&5
13549 ac_cv_string_strcasecmp
=no
13552 rm -f conftest.err conftest.
$ac_objext \
13553 conftest
$ac_exeext conftest.
$ac_ext
13556 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13557 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13559 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13560 cat >>confdefs.h
<<\_ACEOF
13561 #define HAVE_STRCASECMP_IN_STRING_H 1
13565 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13566 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13567 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 cat >conftest.
$ac_ext <<_ACEOF
13574 cat confdefs.h
>>conftest.
$ac_ext
13575 cat >>conftest.
$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13578 #include <strings.h>
13584 strcasecmp("foo", "bar");
13590 rm -f conftest.
$ac_objext conftest
$ac_exeext
13591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13592 (eval $ac_link) 2>conftest.er1
13594 grep -v '^ *+' conftest.er1
>conftest.err
13596 cat conftest.err
>&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } &&
13599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; } &&
13605 { ac_try
='test -s conftest$ac_exeext'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13611 ac_cv_strings_strcasecmp
=yes
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.
$ac_ext >&5
13616 ac_cv_strings_strcasecmp
=no
13619 rm -f conftest.err conftest.
$ac_objext \
13620 conftest
$ac_exeext conftest.
$ac_ext
13623 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13624 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13626 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13627 cat >>confdefs.h
<<\_ACEOF
13628 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13632 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13633 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13634 { (exit 1); exit 1; }; }
13639 ac_cpp
='$CPP $CPPFLAGS'
13640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13648 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13649 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13650 if test "${ac_cv_header_stdc+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13653 cat >conftest.
$ac_ext <<_ACEOF
13656 cat confdefs.h
>>conftest.
$ac_ext
13657 cat >>conftest.
$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659 #include <stdlib.h>
13660 #include <stdarg.h>
13661 #include <string.h>
13672 rm -f conftest.
$ac_objext
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>conftest.er1
13676 grep -v '^ *+' conftest.er1
>conftest.err
13678 cat conftest.err
>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } &&
13681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; } &&
13687 { ac_try
='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 ac_cv_header_stdc
=yes
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.
$ac_ext >&5
13698 ac_cv_header_stdc
=no
13700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13702 if test $ac_cv_header_stdc = yes; then
13703 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13704 cat >conftest.
$ac_ext <<_ACEOF
13707 cat confdefs.h
>>conftest.
$ac_ext
13708 cat >>conftest.
$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710 #include <string.h>
13713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13714 $EGREP "memchr" >/dev
/null
2>&1; then
13717 ac_cv_header_stdc
=no
13723 if test $ac_cv_header_stdc = yes; then
13724 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13725 cat >conftest.
$ac_ext <<_ACEOF
13728 cat confdefs.h
>>conftest.
$ac_ext
13729 cat >>conftest.
$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdlib.h>
13734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13735 $EGREP "free" >/dev
/null
2>&1; then
13738 ac_cv_header_stdc
=no
13744 if test $ac_cv_header_stdc = yes; then
13745 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13746 if test "$cross_compiling" = yes; then
13749 cat >conftest.
$ac_ext <<_ACEOF
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13756 #if ((' ' & 0x0FF) == 0x020)
13757 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13758 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13760 # define ISLOWER(c) \
13761 (('a' <= (c) && (c) <= 'i') \
13762 || ('j' <= (c) && (c) <= 'r') \
13763 || ('s' <= (c) && (c) <= 'z'))
13764 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13772 for (i = 0; i < 256; i++)
13773 if (XOR (islower (i), ISLOWER (i))
13774 || toupper (i) != TOUPPER (i))
13779 rm -f conftest
$ac_exeext
13780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13781 (eval $ac_link) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13792 echo "$as_me: program exited with status $ac_status" >&5
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.
$ac_ext >&5
13796 ( exit $ac_status )
13797 ac_cv_header_stdc
=no
13799 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13803 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13804 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13805 if test $ac_cv_header_stdc = yes; then
13807 cat >>confdefs.h
<<\_ACEOF
13808 #define STDC_HEADERS 1
13813 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13823 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13824 inttypes.h stdint.h unistd.h
13826 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13827 echo "$as_me:$LINENO: checking for $ac_header" >&5
13828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 cat >conftest.
$ac_ext <<_ACEOF
13835 cat confdefs.h
>>conftest.
$ac_ext
13836 cat >>conftest.
$ac_ext <<_ACEOF
13837 /* end confdefs.h. */
13838 $ac_includes_default
13840 #include <$ac_header>
13842 rm -f conftest.
$ac_objext
13843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13844 (eval $ac_compile) 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); } &&
13851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; } &&
13857 { ac_try
='test -s conftest.$ac_objext'
13858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13859 (eval $ac_try) 2>&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); }; }; then
13863 eval "$as_ac_Header=yes"
13865 echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.
$ac_ext >&5
13868 eval "$as_ac_Header=no"
13870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13875 cat >>confdefs.h
<<_ACEOF
13876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13885 for ac_header
in stdlib.h
13887 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13889 echo "$as_me:$LINENO: checking for $ac_header" >&5
13890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13897 # Is the header compilable?
13898 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13900 cat >conftest.
$ac_ext <<_ACEOF
13903 cat confdefs.h
>>conftest.
$ac_ext
13904 cat >>conftest.
$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 $ac_includes_default
13907 #include <$ac_header>
13909 rm -f conftest.
$ac_objext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13911 (eval $ac_compile) 2>conftest.er1
13913 grep -v '^ *+' conftest.er1
>conftest.err
13915 cat conftest.err
>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; } &&
13924 { ac_try
='test -s conftest.$ac_objext'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; }; then
13930 ac_header_compiler
=yes
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.
$ac_ext >&5
13935 ac_header_compiler
=no
13937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13939 echo "${ECHO_T}$ac_header_compiler" >&6
13941 # Is the header present?
13942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13944 cat >conftest.
$ac_ext <<_ACEOF
13947 cat confdefs.h
>>conftest.
$ac_ext
13948 cat >>conftest.
$ac_ext <<_ACEOF
13949 /* end confdefs.h. */
13950 #include <$ac_header>
13952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13953 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
13960 if test -s conftest.err
; then
13961 ac_cpp_err
=$ac_c_preproc_warn_flag
13962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13969 if test -z "$ac_cpp_err"; then
13970 ac_header_preproc
=yes
13972 echo "$as_me: failed program was:" >&5
13973 sed 's/^/| /' conftest.
$ac_ext >&5
13975 ac_header_preproc
=no
13977 rm -f conftest.err conftest.
$ac_ext
13978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13979 echo "${ECHO_T}$ac_header_preproc" >&6
13981 # So? What about this header?
13982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13988 ac_header_preproc
=yes
13991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14005 ## ----------------------------------------- ##
14006 ## Report this to wx-dev@lists.wxwidgets.org ##
14007 ## ----------------------------------------- ##
14010 sed "s/^/$as_me: WARNING: /" >&2
14013 echo "$as_me:$LINENO: checking for $ac_header" >&5
14014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 eval "$as_ac_Header=\$ac_header_preproc"
14020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14025 cat >>confdefs.h
<<_ACEOF
14026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14034 for ac_header
in malloc.h
14036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14038 echo "$as_me:$LINENO: checking for $ac_header" >&5
14039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14046 # Is the header compilable?
14047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14049 cat >conftest.
$ac_ext <<_ACEOF
14052 cat confdefs.h
>>conftest.
$ac_ext
14053 cat >>conftest.
$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 $ac_includes_default
14056 #include <$ac_header>
14058 rm -f conftest.
$ac_objext
14059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14060 (eval $ac_compile) 2>conftest.er1
14062 grep -v '^ *+' conftest.er1
>conftest.err
14064 cat conftest.err
>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } &&
14067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14069 (eval $ac_try) 2>&5
14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 (exit $ac_status); }; } &&
14073 { ac_try
='test -s conftest.$ac_objext'
14074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075 (eval $ac_try) 2>&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }; }; then
14079 ac_header_compiler
=yes
14081 echo "$as_me: failed program was:" >&5
14082 sed 's/^/| /' conftest.
$ac_ext >&5
14084 ac_header_compiler
=no
14086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14088 echo "${ECHO_T}$ac_header_compiler" >&6
14090 # Is the header present?
14091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14093 cat >conftest.
$ac_ext <<_ACEOF
14096 cat confdefs.h
>>conftest.
$ac_ext
14097 cat >>conftest.
$ac_ext <<_ACEOF
14098 /* end confdefs.h. */
14099 #include <$ac_header>
14101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14104 grep -v '^ *+' conftest.er1
>conftest.err
14106 cat conftest.err
>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } >/dev
/null
; then
14109 if test -s conftest.err
; then
14110 ac_cpp_err
=$ac_c_preproc_warn_flag
14111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14118 if test -z "$ac_cpp_err"; then
14119 ac_header_preproc
=yes
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14124 ac_header_preproc
=no
14126 rm -f conftest.err conftest.
$ac_ext
14127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14128 echo "${ECHO_T}$ac_header_preproc" >&6
14130 # So? What about this header?
14131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14137 ac_header_preproc
=yes
14140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14154 ## ----------------------------------------- ##
14155 ## Report this to wx-dev@lists.wxwidgets.org ##
14156 ## ----------------------------------------- ##
14159 sed "s/^/$as_me: WARNING: /" >&2
14162 echo "$as_me:$LINENO: checking for $ac_header" >&5
14163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 eval "$as_ac_Header=\$ac_header_preproc"
14169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14174 cat >>confdefs.h
<<_ACEOF
14175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14183 for ac_header
in unistd.h
14185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14187 echo "$as_me:$LINENO: checking for $ac_header" >&5
14188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14195 # Is the header compilable?
14196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14198 cat >conftest.
$ac_ext <<_ACEOF
14201 cat confdefs.h
>>conftest.
$ac_ext
14202 cat >>conftest.
$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204 $ac_includes_default
14205 #include <$ac_header>
14207 rm -f conftest.
$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>conftest.er1
14211 grep -v '^ *+' conftest.er1
>conftest.err
14213 cat conftest.err
>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } &&
14216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; } &&
14222 { ac_try
='test -s conftest.$ac_objext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 ac_header_compiler
=yes
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.
$ac_ext >&5
14233 ac_header_compiler
=no
14235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14237 echo "${ECHO_T}$ac_header_compiler" >&6
14239 # Is the header present?
14240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14242 cat >conftest.
$ac_ext <<_ACEOF
14245 cat confdefs.h
>>conftest.
$ac_ext
14246 cat >>conftest.
$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14248 #include <$ac_header>
14250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14253 grep -v '^ *+' conftest.er1
>conftest.err
14255 cat conftest.err
>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); } >/dev
/null
; then
14258 if test -s conftest.err
; then
14259 ac_cpp_err
=$ac_c_preproc_warn_flag
14260 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14267 if test -z "$ac_cpp_err"; then
14268 ac_header_preproc
=yes
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.
$ac_ext >&5
14273 ac_header_preproc
=no
14275 rm -f conftest.err conftest.
$ac_ext
14276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14277 echo "${ECHO_T}$ac_header_preproc" >&6
14279 # So? What about this header?
14280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14286 ac_header_preproc
=yes
14289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14303 ## ----------------------------------------- ##
14304 ## Report this to wx-dev@lists.wxwidgets.org ##
14305 ## ----------------------------------------- ##
14308 sed "s/^/$as_me: WARNING: /" >&2
14311 echo "$as_me:$LINENO: checking for $ac_header" >&5
14312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14316 eval "$as_ac_Header=\$ac_header_preproc"
14318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14323 cat >>confdefs.h
<<_ACEOF
14324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14332 for ac_header
in wchar.h
14334 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14336 echo "$as_me:$LINENO: checking for $ac_header" >&5
14337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14344 # Is the header compilable?
14345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14347 cat >conftest.
$ac_ext <<_ACEOF
14350 cat confdefs.h
>>conftest.
$ac_ext
14351 cat >>conftest.
$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14353 $ac_includes_default
14354 #include <$ac_header>
14356 rm -f conftest.
$ac_objext
14357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14358 (eval $ac_compile) 2>conftest.er1
14360 grep -v '^ *+' conftest.er1
>conftest.err
14362 cat conftest.err
>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try
='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 ac_header_compiler
=yes
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.
$ac_ext >&5
14382 ac_header_compiler
=no
14384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14386 echo "${ECHO_T}$ac_header_compiler" >&6
14388 # Is the header present?
14389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14391 cat >conftest.
$ac_ext <<_ACEOF
14394 cat confdefs.h
>>conftest.
$ac_ext
14395 cat >>conftest.
$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14397 #include <$ac_header>
14399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14402 grep -v '^ *+' conftest.er1
>conftest.err
14404 cat conftest.err
>&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); } >/dev
/null
; then
14407 if test -s conftest.err
; then
14408 ac_cpp_err
=$ac_c_preproc_warn_flag
14409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14416 if test -z "$ac_cpp_err"; then
14417 ac_header_preproc
=yes
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.
$ac_ext >&5
14422 ac_header_preproc
=no
14424 rm -f conftest.err conftest.
$ac_ext
14425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14426 echo "${ECHO_T}$ac_header_preproc" >&6
14428 # So? What about this header?
14429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14435 ac_header_preproc
=yes
14438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14452 ## ----------------------------------------- ##
14453 ## Report this to wx-dev@lists.wxwidgets.org ##
14454 ## ----------------------------------------- ##
14457 sed "s/^/$as_me: WARNING: /" >&2
14460 echo "$as_me:$LINENO: checking for $ac_header" >&5
14461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 eval "$as_ac_Header=\$ac_header_preproc"
14467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14472 cat >>confdefs.h
<<_ACEOF
14473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14481 if test "$ac_cv_header_wchar_h" != "yes"; then
14483 for ac_header
in wcstr.h
14485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14487 echo "$as_me:$LINENO: checking for $ac_header" >&5
14488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14495 # Is the header compilable?
14496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14497 echo $ECHO_N "checking $ac_header usability... $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. */
14504 $ac_includes_default
14505 #include <$ac_header>
14507 rm -f conftest.
$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>conftest.er1
14511 grep -v '^ *+' conftest.er1
>conftest.err
14513 cat conftest.err
>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; } &&
14522 { ac_try
='test -s conftest.$ac_objext'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then
14528 ac_header_compiler
=yes
14530 echo "$as_me: failed program was:" >&5
14531 sed 's/^/| /' conftest.
$ac_ext >&5
14533 ac_header_compiler
=no
14535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14537 echo "${ECHO_T}$ac_header_compiler" >&6
14539 # Is the header present?
14540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14542 cat >conftest.
$ac_ext <<_ACEOF
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 #include <$ac_header>
14550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14553 grep -v '^ *+' conftest.er1
>conftest.err
14555 cat conftest.err
>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } >/dev
/null
; then
14558 if test -s conftest.err
; then
14559 ac_cpp_err
=$ac_c_preproc_warn_flag
14560 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14567 if test -z "$ac_cpp_err"; then
14568 ac_header_preproc
=yes
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.
$ac_ext >&5
14573 ac_header_preproc
=no
14575 rm -f conftest.err conftest.
$ac_ext
14576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14577 echo "${ECHO_T}$ac_header_preproc" >&6
14579 # So? What about this header?
14580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14586 ac_header_preproc
=yes
14589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14603 ## ----------------------------------------- ##
14604 ## Report this to wx-dev@lists.wxwidgets.org ##
14605 ## ----------------------------------------- ##
14608 sed "s/^/$as_me: WARNING: /" >&2
14611 echo "$as_me:$LINENO: checking for $ac_header" >&5
14612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 eval "$as_ac_Header=\$ac_header_preproc"
14618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14623 cat >>confdefs.h
<<_ACEOF
14624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14634 for ac_header
in fnmatch.h
14636 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14638 echo "$as_me:$LINENO: checking for $ac_header" >&5
14639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14646 # Is the header compilable?
14647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14649 cat >conftest.
$ac_ext <<_ACEOF
14652 cat confdefs.h
>>conftest.
$ac_ext
14653 cat >>conftest.
$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14655 $ac_includes_default
14656 #include <$ac_header>
14658 rm -f conftest.
$ac_objext
14659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14660 (eval $ac_compile) 2>conftest.er1
14662 grep -v '^ *+' conftest.er1
>conftest.err
14664 cat conftest.err
>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; } &&
14673 { ac_try
='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 ac_header_compiler
=yes
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.
$ac_ext >&5
14684 ac_header_compiler
=no
14686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14688 echo "${ECHO_T}$ac_header_compiler" >&6
14690 # Is the header present?
14691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14693 cat >conftest.
$ac_ext <<_ACEOF
14696 cat confdefs.h
>>conftest.
$ac_ext
14697 cat >>conftest.
$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14699 #include <$ac_header>
14701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14704 grep -v '^ *+' conftest.er1
>conftest.err
14706 cat conftest.err
>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); } >/dev
/null
; then
14709 if test -s conftest.err
; then
14710 ac_cpp_err
=$ac_c_preproc_warn_flag
14711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14718 if test -z "$ac_cpp_err"; then
14719 ac_header_preproc
=yes
14721 echo "$as_me: failed program was:" >&5
14722 sed 's/^/| /' conftest.
$ac_ext >&5
14724 ac_header_preproc
=no
14726 rm -f conftest.err conftest.
$ac_ext
14727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14728 echo "${ECHO_T}$ac_header_preproc" >&6
14730 # So? What about this header?
14731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14737 ac_header_preproc
=yes
14740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14754 ## ----------------------------------------- ##
14755 ## Report this to wx-dev@lists.wxwidgets.org ##
14756 ## ----------------------------------------- ##
14759 sed "s/^/$as_me: WARNING: /" >&2
14762 echo "$as_me:$LINENO: checking for $ac_header" >&5
14763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 eval "$as_ac_Header=\$ac_header_preproc"
14769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14774 cat >>confdefs.h
<<_ACEOF
14775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14783 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14785 for ac_func
in fnmatch
14787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14788 echo "$as_me:$LINENO: checking for $ac_func" >&5
14789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14790 if eval "test \"\${$as_ac_var+set}\" = set"; then
14791 echo $ECHO_N "(cached) $ECHO_C" >&6
14793 cat >conftest.
$ac_ext <<_ACEOF
14796 cat confdefs.h
>>conftest.
$ac_ext
14797 cat >>conftest.
$ac_ext <<_ACEOF
14798 /* end confdefs.h. */
14799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14801 #define $ac_func innocuous_$ac_func
14803 /* System header to define __stub macros and hopefully few prototypes,
14804 which can conflict with char $ac_func (); below.
14805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14806 <limits.h> exists even on freestanding compilers. */
14809 # include <limits.h>
14811 # include <assert.h>
14816 /* Override any gcc2 internal prototype to avoid an error. */
14821 /* We use char because int might match the return type of a gcc2
14822 builtin and then its argument prototype would still apply. */
14824 /* The GNU C library defines this for functions which it implements
14825 to always fail with ENOSYS. Some functions are actually named
14826 something starting with __ and the normal name is an alias. */
14827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14830 char (*f) () = $ac_func;
14839 return f != $ac_func;
14844 rm -f conftest.
$ac_objext conftest
$ac_exeext
14845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14846 (eval $ac_link) 2>conftest.er1
14848 grep -v '^ *+' conftest.er1
>conftest.err
14850 cat conftest.err
>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); } &&
14853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; } &&
14859 { ac_try
='test -s conftest$ac_exeext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14865 eval "$as_ac_var=yes"
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.
$ac_ext >&5
14870 eval "$as_ac_var=no"
14872 rm -f conftest.err conftest.
$ac_objext \
14873 conftest
$ac_exeext conftest.
$ac_ext
14875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14877 if test `eval echo '${'$as_ac_var'}'` = yes; then
14878 cat >>confdefs.h
<<_ACEOF
14879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14888 for ac_header
in langinfo.h
14890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14892 echo "$as_me:$LINENO: checking for $ac_header" >&5
14893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14900 # Is the header compilable?
14901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14903 cat >conftest.
$ac_ext <<_ACEOF
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14910 #include <$ac_header>
14912 rm -f conftest.
$ac_objext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914 (eval $ac_compile) 2>conftest.er1
14916 grep -v '^ *+' conftest.er1
>conftest.err
14918 cat conftest.err
>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; } &&
14927 { ac_try
='test -s conftest.$ac_objext'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; }; then
14933 ac_header_compiler
=yes
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.
$ac_ext >&5
14938 ac_header_compiler
=no
14940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14942 echo "${ECHO_T}$ac_header_compiler" >&6
14944 # Is the header present?
14945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14947 cat >conftest.
$ac_ext <<_ACEOF
14950 cat confdefs.h
>>conftest.
$ac_ext
14951 cat >>conftest.
$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14953 #include <$ac_header>
14955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14958 grep -v '^ *+' conftest.er1
>conftest.err
14960 cat conftest.err
>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } >/dev
/null
; then
14963 if test -s conftest.err
; then
14964 ac_cpp_err
=$ac_c_preproc_warn_flag
14965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14972 if test -z "$ac_cpp_err"; then
14973 ac_header_preproc
=yes
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14978 ac_header_preproc
=no
14980 rm -f conftest.err conftest.
$ac_ext
14981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14982 echo "${ECHO_T}$ac_header_preproc" >&6
14984 # So? What about this header?
14985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14991 ac_header_preproc
=yes
14994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15008 ## ----------------------------------------- ##
15009 ## Report this to wx-dev@lists.wxwidgets.org ##
15010 ## ----------------------------------------- ##
15013 sed "s/^/$as_me: WARNING: /" >&2
15016 echo "$as_me:$LINENO: checking for $ac_header" >&5
15017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15019 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 eval "$as_ac_Header=\$ac_header_preproc"
15023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15028 cat >>confdefs.h
<<_ACEOF
15029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15038 *-pc-os2_emx | *-pc-os2-emx )
15039 if test $ac_cv_header_langinfo_h = "yes" \
15040 -a \
( "$wx_cv_gccversion" = "EMX2" \
15041 -o "$wx_cv_gccversion" = "EMX3" \
15042 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15043 LIBS
="$LIBS -lintl"
15048 if test "$wxUSE_GUI" = "yes"; then
15049 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15051 for ac_header
in X
11/Xlib.h
15053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15055 echo "$as_me:$LINENO: checking for $ac_header" >&5
15056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15063 # Is the header compilable?
15064 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15066 cat >conftest.
$ac_ext <<_ACEOF
15069 cat confdefs.h
>>conftest.
$ac_ext
15070 cat >>conftest.
$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15072 $ac_includes_default
15073 #include <$ac_header>
15075 rm -f conftest.
$ac_objext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077 (eval $ac_compile) 2>conftest.er1
15079 grep -v '^ *+' conftest.er1
>conftest.err
15081 cat conftest.err
>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15086 (eval $ac_try) 2>&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; } &&
15090 { ac_try
='test -s conftest.$ac_objext'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; }; then
15096 ac_header_compiler
=yes
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.
$ac_ext >&5
15101 ac_header_compiler
=no
15103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15105 echo "${ECHO_T}$ac_header_compiler" >&6
15107 # Is the header present?
15108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 #include <$ac_header>
15118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15121 grep -v '^ *+' conftest.er1
>conftest.err
15123 cat conftest.err
>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } >/dev
/null
; then
15126 if test -s conftest.err
; then
15127 ac_cpp_err
=$ac_c_preproc_warn_flag
15128 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15135 if test -z "$ac_cpp_err"; then
15136 ac_header_preproc
=yes
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.
$ac_ext >&5
15141 ac_header_preproc
=no
15143 rm -f conftest.err conftest.
$ac_ext
15144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15145 echo "${ECHO_T}$ac_header_preproc" >&6
15147 # So? What about this header?
15148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15154 ac_header_preproc
=yes
15157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15171 ## ----------------------------------------- ##
15172 ## Report this to wx-dev@lists.wxwidgets.org ##
15173 ## ----------------------------------------- ##
15176 sed "s/^/$as_me: WARNING: /" >&2
15179 echo "$as_me:$LINENO: checking for $ac_header" >&5
15180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 eval "$as_ac_Header=\$ac_header_preproc"
15186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15191 cat >>confdefs.h
<<_ACEOF
15192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15200 for ac_header
in X
11/XKBlib.h
15202 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15203 echo "$as_me:$LINENO: checking for $ac_header" >&5
15204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 cat >conftest.
$ac_ext <<_ACEOF
15211 cat confdefs.h
>>conftest.
$ac_ext
15212 cat >>conftest.
$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15215 #if HAVE_X11_XLIB_H
15216 #include <X11/Xlib.h>
15220 #include <$ac_header>
15222 rm -f conftest.
$ac_objext
15223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15224 (eval $ac_compile) 2>conftest.er1
15226 grep -v '^ *+' conftest.er1
>conftest.err
15228 cat conftest.err
>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } &&
15231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; } &&
15237 { ac_try
='test -s conftest.$ac_objext'
15238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15239 (eval $ac_try) 2>&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); }; }; then
15243 eval "$as_ac_Header=yes"
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.
$ac_ext >&5
15248 eval "$as_ac_Header=no"
15250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15255 cat >>confdefs.h
<<_ACEOF
15256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15267 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15268 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15269 if test "${ac_cv_c_const+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 cat >conftest.
$ac_ext <<_ACEOF
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15282 /* FIXME: Include the comments suggested by Paul. */
15283 #ifndef __cplusplus
15284 /* Ultrix mips cc rejects this. */
15285 typedef int charset[2];
15287 /* SunOS 4.1.1 cc rejects this. */
15288 char const *const *ccp;
15290 /* NEC SVR4.0.2 mips cc rejects this. */
15291 struct point {int x, y;};
15292 static struct point const zero = {0,0};
15293 /* AIX XL C 1.02.0.0 rejects this.
15294 It does not let you subtract one const X* pointer from another in
15295 an arm of an if-expression whose if-part is not a constant
15297 const char *g = "string";
15298 ccp = &g + (g ? g-g : 0);
15299 /* HPUX 7.0 cc rejects these. */
15302 ccp = (char const *const *) p;
15303 { /* SCO 3.2v4 cc rejects this. */
15305 char const *s = 0 ? (char *) 0 : (char const *) 0;
15309 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15310 int x[] = {25, 17};
15311 const int *foo = &x[0];
15314 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15315 typedef const int *iptr;
15319 { /* AIX XL C 1.02.0.0 rejects this saying
15320 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15321 struct s { int j; const int *ap[3]; };
15322 struct s *b; b->j = 5;
15324 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15325 const int foo = 10;
15333 rm -f conftest.
$ac_objext
15334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15335 (eval $ac_compile) 2>conftest.er1
15337 grep -v '^ *+' conftest.er1
>conftest.err
15339 cat conftest.err
>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); } &&
15342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; } &&
15348 { ac_try
='test -s conftest.$ac_objext'
15349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15350 (eval $ac_try) 2>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); }; }; then
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.
$ac_ext >&5
15361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15363 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15364 echo "${ECHO_T}$ac_cv_c_const" >&6
15365 if test $ac_cv_c_const = no
; then
15367 cat >>confdefs.h
<<\_ACEOF
15373 echo "$as_me:$LINENO: checking for inline" >&5
15374 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15375 if test "${ac_cv_c_inline+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15379 for ac_kw
in inline __inline__ __inline
; do
15380 cat >conftest.
$ac_ext <<_ACEOF
15383 cat confdefs.h
>>conftest.
$ac_ext
15384 cat >>conftest.
$ac_ext <<_ACEOF
15385 /* end confdefs.h. */
15386 #ifndef __cplusplus
15388 static $ac_kw foo_t static_foo () {return 0; }
15389 $ac_kw foo_t foo () {return 0; }
15393 rm -f conftest.
$ac_objext
15394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15395 (eval $ac_compile) 2>conftest.er1
15397 grep -v '^ *+' conftest.er1
>conftest.err
15399 cat conftest.err
>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; } &&
15408 { ac_try
='test -s conftest.$ac_objext'
15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15410 (eval $ac_try) 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; }; then
15414 ac_cv_c_inline
=$ac_kw; break
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.
$ac_ext >&5
15420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15424 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15425 echo "${ECHO_T}$ac_cv_c_inline" >&6
15428 case $ac_cv_c_inline in
15431 case $ac_cv_c_inline in
15433 *) ac_val
=$ac_cv_c_inline;;
15435 cat >>confdefs.h
<<_ACEOF
15436 #ifndef __cplusplus
15437 #define inline $ac_val
15444 echo "$as_me:$LINENO: checking for char" >&5
15445 echo $ECHO_N "checking for char... $ECHO_C" >&6
15446 if test "${ac_cv_type_char+set}" = set; then
15447 echo $ECHO_N "(cached) $ECHO_C" >&6
15449 cat >conftest.
$ac_ext <<_ACEOF
15452 cat confdefs.h
>>conftest.
$ac_ext
15453 cat >>conftest.
$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 $ac_includes_default
15467 rm -f conftest.
$ac_objext
15468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15469 (eval $ac_compile) 2>conftest.er1
15471 grep -v '^ *+' conftest.er1
>conftest.err
15473 cat conftest.err
>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); } &&
15476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15478 (eval $ac_try) 2>&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); }; } &&
15482 { ac_try
='test -s conftest.$ac_objext'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; }; then
15488 ac_cv_type_char
=yes
15490 echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.
$ac_ext >&5
15495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15497 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15498 echo "${ECHO_T}$ac_cv_type_char" >&6
15500 echo "$as_me:$LINENO: checking size of char" >&5
15501 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15502 if test "${ac_cv_sizeof_char+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 if test "$ac_cv_type_char" = yes; then
15506 # The cast to unsigned long works around a bug in the HP C Compiler
15507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15509 # This bug is HP SR number 8606223364.
15510 if test "$cross_compiling" = yes; then
15511 # Depending upon the size, compute the lo and hi bounds.
15512 cat >conftest.
$ac_ext <<_ACEOF
15515 cat confdefs.h
>>conftest.
$ac_ext
15516 cat >>conftest.
$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15518 $ac_includes_default
15522 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15529 rm -f conftest.
$ac_objext
15530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15531 (eval $ac_compile) 2>conftest.er1
15533 grep -v '^ *+' conftest.er1
>conftest.err
15535 cat conftest.err
>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } &&
15538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; } &&
15544 { ac_try
='test -s conftest.$ac_objext'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; }; then
15552 cat >conftest.
$ac_ext <<_ACEOF
15555 cat confdefs.h
>>conftest.
$ac_ext
15556 cat >>conftest.
$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15558 $ac_includes_default
15562 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
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_hi
=$ac_mid; break
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.
$ac_ext >&5
15595 ac_lo
=`expr $ac_mid + 1`
15596 if test $ac_lo -le $ac_mid; then
15600 ac_mid
=`expr 2 '*' $ac_mid + 1`
15602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.
$ac_ext >&5
15608 cat >conftest.
$ac_ext <<_ACEOF
15611 cat confdefs.h
>>conftest.
$ac_ext
15612 cat >>conftest.
$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15614 $ac_includes_default
15618 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15625 rm -f conftest.
$ac_objext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15627 (eval $ac_compile) 2>conftest.er1
15629 grep -v '^ *+' conftest.er1
>conftest.err
15631 cat conftest.err
>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15648 cat >conftest.
$ac_ext <<_ACEOF
15651 cat confdefs.h
>>conftest.
$ac_ext
15652 cat >>conftest.
$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15654 $ac_includes_default
15658 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15665 rm -f conftest.
$ac_objext
15666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15667 (eval $ac_compile) 2>conftest.er1
15669 grep -v '^ *+' conftest.er1
>conftest.err
15671 cat conftest.err
>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); } &&
15674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15686 ac_lo
=$ac_mid; break
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.
$ac_ext >&5
15691 ac_hi
=`expr '(' $ac_mid ')' - 1`
15692 if test $ac_mid -le $ac_hi; then
15696 ac_mid
=`expr 2 '*' $ac_mid`
15698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15701 echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.
$ac_ext >&5
15706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15709 # Binary search between lo and hi bounds.
15710 while test "x$ac_lo" != "x$ac_hi"; do
15711 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15712 cat >conftest.
$ac_ext <<_ACEOF
15715 cat confdefs.h
>>conftest.
$ac_ext
15716 cat >>conftest.
$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 $ac_includes_default
15722 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15729 rm -f conftest.
$ac_objext
15730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15731 (eval $ac_compile) 2>conftest.er1
15733 grep -v '^ *+' conftest.er1
>conftest.err
15735 cat conftest.err
>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } &&
15738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try
='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15755 ac_lo
=`expr '(' $ac_mid ')' + 1`
15757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15760 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15761 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15762 See \`config.log' for more details." >&5
15763 echo "$as_me: error: cannot compute sizeof (char), 77
15764 See \`config.log' for more details." >&2;}
15765 { (exit 1); exit 1; }; } ;;
15768 if test "$cross_compiling" = yes; then
15769 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15770 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15771 { (exit 1); exit 1; }; }
15773 cat >conftest.
$ac_ext <<_ACEOF
15776 cat confdefs.h
>>conftest.
$ac_ext
15777 cat >>conftest.
$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15779 $ac_includes_default
15780 long longval () { return (long) (sizeof (char)); }
15781 unsigned long ulongval () { return (long) (sizeof (char)); }
15783 #include <stdlib.h>
15788 FILE *f = fopen ("conftest.val", "w");
15791 if (((long) (sizeof (char))) < 0)
15793 long i = longval ();
15794 if (i != ((long) (sizeof (char))))
15796 fprintf (f, "%ld\n", i);
15800 unsigned long i = ulongval ();
15801 if (i != ((long) (sizeof (char))))
15803 fprintf (f, "%lu\n", i);
15805 exit (ferror (f) || fclose (f) != 0);
15811 rm -f conftest
$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_sizeof_char
=`cat conftest.val`
15824 echo "$as_me: program exited with status $ac_status" >&5
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.
$ac_ext >&5
15828 ( exit $ac_status )
15829 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15830 See \`config.log' for more details." >&5
15831 echo "$as_me: error: cannot compute sizeof (char), 77
15832 See \`config.log' for more details." >&2;}
15833 { (exit 1); exit 1; }; }
15835 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15840 ac_cv_sizeof_char
=0
15843 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15844 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15845 cat >>confdefs.h
<<_ACEOF
15846 #define SIZEOF_CHAR $ac_cv_sizeof_char
15850 echo "$as_me:$LINENO: checking for short" >&5
15851 echo $ECHO_N "checking for short... $ECHO_C" >&6
15852 if test "${ac_cv_type_short+set}" = set; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 cat >conftest.
$ac_ext <<_ACEOF
15858 cat confdefs.h
>>conftest.
$ac_ext
15859 cat >>conftest.
$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15861 $ac_includes_default
15867 if (sizeof (short))
15873 rm -f conftest.
$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>conftest.er1
15877 grep -v '^ *+' conftest.er1
>conftest.err
15879 cat conftest.err
>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } &&
15888 { ac_try
='test -s conftest.$ac_objext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 ac_cv_type_short
=yes
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.
$ac_ext >&5
15899 ac_cv_type_short
=no
15901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15903 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15904 echo "${ECHO_T}$ac_cv_type_short" >&6
15906 echo "$as_me:$LINENO: checking size of short" >&5
15907 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15908 if test "${ac_cv_sizeof_short+set}" = set; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 if test "$ac_cv_type_short" = yes; then
15912 # The cast to unsigned long works around a bug in the HP C Compiler
15913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15915 # This bug is HP SR number 8606223364.
15916 if test "$cross_compiling" = yes; then
15917 # Depending upon the size, compute the lo and hi bounds.
15918 cat >conftest.
$ac_ext <<_ACEOF
15921 cat confdefs.h
>>conftest.
$ac_ext
15922 cat >>conftest.
$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924 $ac_includes_default
15928 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15935 rm -f conftest.
$ac_objext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15937 (eval $ac_compile) 2>conftest.er1
15939 grep -v '^ *+' conftest.er1
>conftest.err
15941 cat conftest.err
>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } &&
15944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; } &&
15950 { ac_try
='test -s conftest.$ac_objext'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15958 cat >conftest.
$ac_ext <<_ACEOF
15961 cat confdefs.h
>>conftest.
$ac_ext
15962 cat >>conftest.
$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15964 $ac_includes_default
15968 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
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
15996 ac_hi
=$ac_mid; break
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.
$ac_ext >&5
16001 ac_lo
=`expr $ac_mid + 1`
16002 if test $ac_lo -le $ac_mid; then
16006 ac_mid
=`expr 2 '*' $ac_mid + 1`
16008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.
$ac_ext >&5
16014 cat >conftest.
$ac_ext <<_ACEOF
16017 cat confdefs.h
>>conftest.
$ac_ext
16018 cat >>conftest.
$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 $ac_includes_default
16024 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16031 rm -f conftest.
$ac_objext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033 (eval $ac_compile) 2>conftest.er1
16035 grep -v '^ *+' conftest.er1
>conftest.err
16037 cat conftest.err
>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16054 cat >conftest.
$ac_ext <<_ACEOF
16057 cat confdefs.h
>>conftest.
$ac_ext
16058 cat >>conftest.
$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 $ac_includes_default
16064 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16071 rm -f conftest.
$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>conftest.er1
16075 grep -v '^ *+' conftest.er1
>conftest.err
16077 cat conftest.err
>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } &&
16080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16092 ac_lo
=$ac_mid; break
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.
$ac_ext >&5
16097 ac_hi
=`expr '(' $ac_mid ')' - 1`
16098 if test $ac_mid -le $ac_hi; then
16102 ac_mid
=`expr 2 '*' $ac_mid`
16104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16107 echo "$as_me: failed program was:" >&5
16108 sed 's/^/| /' conftest.
$ac_ext >&5
16112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16115 # Binary search between lo and hi bounds.
16116 while test "x$ac_lo" != "x$ac_hi"; do
16117 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16118 cat >conftest.
$ac_ext <<_ACEOF
16121 cat confdefs.h
>>conftest.
$ac_ext
16122 cat >>conftest.
$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16124 $ac_includes_default
16128 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16135 rm -f conftest.
$ac_objext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16137 (eval $ac_compile) 2>conftest.er1
16139 grep -v '^ *+' conftest.er1
>conftest.err
16141 cat conftest.err
>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } &&
16144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try
='test -s conftest.$ac_objext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.
$ac_ext >&5
16161 ac_lo
=`expr '(' $ac_mid ')' + 1`
16163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16166 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16167 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16168 See \`config.log' for more details." >&5
16169 echo "$as_me: error: cannot compute sizeof (short), 77
16170 See \`config.log' for more details." >&2;}
16171 { (exit 1); exit 1; }; } ;;
16174 if test "$cross_compiling" = yes; then
16175 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16176 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16177 { (exit 1); exit 1; }; }
16179 cat >conftest.
$ac_ext <<_ACEOF
16182 cat confdefs.h
>>conftest.
$ac_ext
16183 cat >>conftest.
$ac_ext <<_ACEOF
16184 /* end confdefs.h. */
16185 $ac_includes_default
16186 long longval () { return (long) (sizeof (short)); }
16187 unsigned long ulongval () { return (long) (sizeof (short)); }
16189 #include <stdlib.h>
16194 FILE *f = fopen ("conftest.val", "w");
16197 if (((long) (sizeof (short))) < 0)
16199 long i = longval ();
16200 if (i != ((long) (sizeof (short))))
16202 fprintf (f, "%ld\n", i);
16206 unsigned long i = ulongval ();
16207 if (i != ((long) (sizeof (short))))
16209 fprintf (f, "%lu\n", i);
16211 exit (ferror (f) || fclose (f) != 0);
16217 rm -f conftest
$ac_exeext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16219 (eval $ac_link) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16228 ac_cv_sizeof_short
=`cat conftest.val`
16230 echo "$as_me: program exited with status $ac_status" >&5
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.
$ac_ext >&5
16234 ( exit $ac_status )
16235 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16236 See \`config.log' for more details." >&5
16237 echo "$as_me: error: cannot compute sizeof (short), 77
16238 See \`config.log' for more details." >&2;}
16239 { (exit 1); exit 1; }; }
16241 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16246 ac_cv_sizeof_short
=0
16249 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16250 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16251 cat >>confdefs.h
<<_ACEOF
16252 #define SIZEOF_SHORT $ac_cv_sizeof_short
16256 echo "$as_me:$LINENO: checking for void *" >&5
16257 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16258 if test "${ac_cv_type_void_p+set}" = set; then
16259 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 cat >conftest.
$ac_ext <<_ACEOF
16264 cat confdefs.h
>>conftest.
$ac_ext
16265 cat >>conftest.
$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 $ac_includes_default
16273 if (sizeof (void *))
16279 rm -f conftest.
$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16283 grep -v '^ *+' conftest.er1
>conftest.err
16285 cat conftest.err
>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try
='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 ac_cv_type_void_p
=yes
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 ac_cv_type_void_p
=no
16307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16309 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16310 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16312 echo "$as_me:$LINENO: checking size of void *" >&5
16313 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16314 if test "${ac_cv_sizeof_void_p+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 if test "$ac_cv_type_void_p" = yes; then
16318 # The cast to unsigned long works around a bug in the HP C Compiler
16319 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16320 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16321 # This bug is HP SR number 8606223364.
16322 if test "$cross_compiling" = yes; then
16323 # Depending upon the size, compute the lo and hi bounds.
16324 cat >conftest.
$ac_ext <<_ACEOF
16327 cat confdefs.h
>>conftest.
$ac_ext
16328 cat >>conftest.
$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 $ac_includes_default
16334 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16341 rm -f conftest.
$ac_objext
16342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16343 (eval $ac_compile) 2>conftest.er1
16345 grep -v '^ *+' conftest.er1
>conftest.err
16347 cat conftest.err
>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; } &&
16356 { ac_try
='test -s conftest.$ac_objext'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; }; then
16364 cat >conftest.
$ac_ext <<_ACEOF
16367 cat confdefs.h
>>conftest.
$ac_ext
16368 cat >>conftest.
$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370 $ac_includes_default
16374 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
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_hi
=$ac_mid; break
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.
$ac_ext >&5
16407 ac_lo
=`expr $ac_mid + 1`
16408 if test $ac_lo -le $ac_mid; then
16412 ac_mid
=`expr 2 '*' $ac_mid + 1`
16414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.
$ac_ext >&5
16420 cat >conftest.
$ac_ext <<_ACEOF
16423 cat confdefs.h
>>conftest.
$ac_ext
16424 cat >>conftest.
$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16430 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16437 rm -f conftest.
$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16441 grep -v '^ *+' conftest.er1
>conftest.err
16443 cat conftest.err
>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; } &&
16452 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16460 cat >conftest.
$ac_ext <<_ACEOF
16463 cat confdefs.h
>>conftest.
$ac_ext
16464 cat >>conftest.
$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 $ac_includes_default
16470 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16477 rm -f conftest.
$ac_objext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16479 (eval $ac_compile) 2>conftest.er1
16481 grep -v '^ *+' conftest.er1
>conftest.err
16483 cat conftest.err
>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; } &&
16492 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16498 ac_lo
=$ac_mid; break
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.
$ac_ext >&5
16503 ac_hi
=`expr '(' $ac_mid ')' - 1`
16504 if test $ac_mid -le $ac_hi; then
16508 ac_mid
=`expr 2 '*' $ac_mid`
16510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16521 # Binary search between lo and hi bounds.
16522 while test "x$ac_lo" != "x$ac_hi"; do
16523 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16524 cat >conftest.
$ac_ext <<_ACEOF
16527 cat confdefs.h
>>conftest.
$ac_ext
16528 cat >>conftest.
$ac_ext <<_ACEOF
16529 /* end confdefs.h. */
16530 $ac_includes_default
16534 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16541 rm -f conftest.
$ac_objext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16543 (eval $ac_compile) 2>conftest.er1
16545 grep -v '^ *+' conftest.er1
>conftest.err
16547 cat conftest.err
>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; } &&
16556 { ac_try
='test -s conftest.$ac_objext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.
$ac_ext >&5
16567 ac_lo
=`expr '(' $ac_mid ')' + 1`
16569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16572 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16573 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16574 See \`config.log' for more details." >&5
16575 echo "$as_me: error: cannot compute sizeof (void *), 77
16576 See \`config.log' for more details." >&2;}
16577 { (exit 1); exit 1; }; } ;;
16580 if test "$cross_compiling" = yes; then
16581 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16582 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16583 { (exit 1); exit 1; }; }
16585 cat >conftest.
$ac_ext <<_ACEOF
16588 cat confdefs.h
>>conftest.
$ac_ext
16589 cat >>conftest.
$ac_ext <<_ACEOF
16590 /* end confdefs.h. */
16591 $ac_includes_default
16592 long longval () { return (long) (sizeof (void *)); }
16593 unsigned long ulongval () { return (long) (sizeof (void *)); }
16595 #include <stdlib.h>
16600 FILE *f = fopen ("conftest.val", "w");
16603 if (((long) (sizeof (void *))) < 0)
16605 long i = longval ();
16606 if (i != ((long) (sizeof (void *))))
16608 fprintf (f, "%ld\n", i);
16612 unsigned long i = ulongval ();
16613 if (i != ((long) (sizeof (void *))))
16615 fprintf (f, "%lu\n", i);
16617 exit (ferror (f) || fclose (f) != 0);
16623 rm -f conftest
$ac_exeext
16624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16625 (eval $ac_link) 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16634 ac_cv_sizeof_void_p
=`cat conftest.val`
16636 echo "$as_me: program exited with status $ac_status" >&5
16637 echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.
$ac_ext >&5
16640 ( exit $ac_status )
16641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16642 See \`config.log' for more details." >&5
16643 echo "$as_me: error: cannot compute sizeof (void *), 77
16644 See \`config.log' for more details." >&2;}
16645 { (exit 1); exit 1; }; }
16647 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16652 ac_cv_sizeof_void_p
=0
16655 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16656 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16657 cat >>confdefs.h
<<_ACEOF
16658 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16662 echo "$as_me:$LINENO: checking for int" >&5
16663 echo $ECHO_N "checking for int... $ECHO_C" >&6
16664 if test "${ac_cv_type_int+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 cat >conftest.
$ac_ext <<_ACEOF
16670 cat confdefs.h
>>conftest.
$ac_ext
16671 cat >>conftest.
$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16673 $ac_includes_default
16685 rm -f conftest.
$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>conftest.er1
16689 grep -v '^ *+' conftest.er1
>conftest.err
16691 cat conftest.err
>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } &&
16694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; } &&
16700 { ac_try
='test -s conftest.$ac_objext'
16701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702 (eval $ac_try) 2>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; }; then
16708 echo "$as_me: failed program was:" >&5
16709 sed 's/^/| /' conftest.
$ac_ext >&5
16713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16715 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16716 echo "${ECHO_T}$ac_cv_type_int" >&6
16718 echo "$as_me:$LINENO: checking size of int" >&5
16719 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16720 if test "${ac_cv_sizeof_int+set}" = set; then
16721 echo $ECHO_N "(cached) $ECHO_C" >&6
16723 if test "$ac_cv_type_int" = yes; then
16724 # The cast to unsigned long works around a bug in the HP C Compiler
16725 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16726 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16727 # This bug is HP SR number 8606223364.
16728 if test "$cross_compiling" = yes; then
16729 # Depending upon the size, compute the lo and hi bounds.
16730 cat >conftest.
$ac_ext <<_ACEOF
16733 cat confdefs.h
>>conftest.
$ac_ext
16734 cat >>conftest.
$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16736 $ac_includes_default
16740 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16747 rm -f conftest.
$ac_objext
16748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16749 (eval $ac_compile) 2>conftest.er1
16751 grep -v '^ *+' conftest.er1
>conftest.err
16753 cat conftest.err
>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } &&
16756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try
='test -s conftest.$ac_objext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16770 cat >conftest.
$ac_ext <<_ACEOF
16773 cat confdefs.h
>>conftest.
$ac_ext
16774 cat >>conftest.
$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776 $ac_includes_default
16780 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
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_hi
=$ac_mid; break
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16813 ac_lo
=`expr $ac_mid + 1`
16814 if test $ac_lo -le $ac_mid; then
16818 ac_mid
=`expr 2 '*' $ac_mid + 1`
16820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.
$ac_ext >&5
16826 cat >conftest.
$ac_ext <<_ACEOF
16829 cat confdefs.h
>>conftest.
$ac_ext
16830 cat >>conftest.
$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16836 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16843 rm -f conftest.
$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16847 grep -v '^ *+' conftest.er1
>conftest.err
16849 cat conftest.err
>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; } &&
16858 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16866 cat >conftest.
$ac_ext <<_ACEOF
16869 cat confdefs.h
>>conftest.
$ac_ext
16870 cat >>conftest.
$ac_ext <<_ACEOF
16871 /* end confdefs.h. */
16872 $ac_includes_default
16876 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16883 rm -f conftest.
$ac_objext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16885 (eval $ac_compile) 2>conftest.er1
16887 grep -v '^ *+' conftest.er1
>conftest.err
16889 cat conftest.err
>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; } &&
16898 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16904 ac_lo
=$ac_mid; break
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.
$ac_ext >&5
16909 ac_hi
=`expr '(' $ac_mid ')' - 1`
16910 if test $ac_mid -le $ac_hi; then
16914 ac_mid
=`expr 2 '*' $ac_mid`
16916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.
$ac_ext >&5
16924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16927 # Binary search between lo and hi bounds.
16928 while test "x$ac_lo" != "x$ac_hi"; do
16929 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16930 cat >conftest.
$ac_ext <<_ACEOF
16933 cat confdefs.h
>>conftest.
$ac_ext
16934 cat >>conftest.
$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 $ac_includes_default
16940 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16947 rm -f conftest.
$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16951 grep -v '^ *+' conftest.er1
>conftest.err
16953 cat conftest.err
>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try
='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.
$ac_ext >&5
16973 ac_lo
=`expr '(' $ac_mid ')' + 1`
16975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16978 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16979 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16980 See \`config.log' for more details." >&5
16981 echo "$as_me: error: cannot compute sizeof (int), 77
16982 See \`config.log' for more details." >&2;}
16983 { (exit 1); exit 1; }; } ;;
16986 if test "$cross_compiling" = yes; then
16987 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16988 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16989 { (exit 1); exit 1; }; }
16991 cat >conftest.
$ac_ext <<_ACEOF
16994 cat confdefs.h
>>conftest.
$ac_ext
16995 cat >>conftest.
$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16997 $ac_includes_default
16998 long longval () { return (long) (sizeof (int)); }
16999 unsigned long ulongval () { return (long) (sizeof (int)); }
17001 #include <stdlib.h>
17006 FILE *f = fopen ("conftest.val", "w");
17009 if (((long) (sizeof (int))) < 0)
17011 long i = longval ();
17012 if (i != ((long) (sizeof (int))))
17014 fprintf (f, "%ld\n", i);
17018 unsigned long i = ulongval ();
17019 if (i != ((long) (sizeof (int))))
17021 fprintf (f, "%lu\n", i);
17023 exit (ferror (f) || fclose (f) != 0);
17029 rm -f conftest
$ac_exeext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17031 (eval $ac_link) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_cv_sizeof_int
=`cat conftest.val`
17042 echo "$as_me: program exited with status $ac_status" >&5
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.
$ac_ext >&5
17046 ( exit $ac_status )
17047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17048 See \`config.log' for more details." >&5
17049 echo "$as_me: error: cannot compute sizeof (int), 77
17050 See \`config.log' for more details." >&2;}
17051 { (exit 1); exit 1; }; }
17053 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17061 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17062 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17063 cat >>confdefs.h
<<_ACEOF
17064 #define SIZEOF_INT $ac_cv_sizeof_int
17068 echo "$as_me:$LINENO: checking for long" >&5
17069 echo $ECHO_N "checking for long... $ECHO_C" >&6
17070 if test "${ac_cv_type_long+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17073 cat >conftest.
$ac_ext <<_ACEOF
17076 cat confdefs.h
>>conftest.
$ac_ext
17077 cat >>conftest.
$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079 $ac_includes_default
17091 rm -f conftest.
$ac_objext
17092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17093 (eval $ac_compile) 2>conftest.er1
17095 grep -v '^ *+' conftest.er1
>conftest.err
17097 cat conftest.err
>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); } &&
17100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; } &&
17106 { ac_try
='test -s conftest.$ac_objext'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; }; then
17112 ac_cv_type_long
=yes
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.
$ac_ext >&5
17119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17121 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17122 echo "${ECHO_T}$ac_cv_type_long" >&6
17124 echo "$as_me:$LINENO: checking size of long" >&5
17125 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17126 if test "${ac_cv_sizeof_long+set}" = set; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 if test "$ac_cv_type_long" = yes; then
17130 # The cast to unsigned long works around a bug in the HP C Compiler
17131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17133 # This bug is HP SR number 8606223364.
17134 if test "$cross_compiling" = yes; then
17135 # Depending upon the size, compute the lo and hi bounds.
17136 cat >conftest.
$ac_ext <<_ACEOF
17139 cat confdefs.h
>>conftest.
$ac_ext
17140 cat >>conftest.
$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 $ac_includes_default
17146 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17153 rm -f conftest.
$ac_objext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17155 (eval $ac_compile) 2>conftest.er1
17157 grep -v '^ *+' conftest.er1
>conftest.err
17159 cat conftest.err
>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } &&
17162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; } &&
17168 { ac_try
='test -s conftest.$ac_objext'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; }; then
17176 cat >conftest.
$ac_ext <<_ACEOF
17179 cat confdefs.h
>>conftest.
$ac_ext
17180 cat >>conftest.
$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182 $ac_includes_default
17186 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17193 rm -f conftest.
$ac_objext
17194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17195 (eval $ac_compile) 2>conftest.er1
17197 grep -v '^ *+' conftest.er1
>conftest.err
17199 cat conftest.err
>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } &&
17202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; } &&
17208 { ac_try
='test -s conftest.$ac_objext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_hi
=$ac_mid; break
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.
$ac_ext >&5
17219 ac_lo
=`expr $ac_mid + 1`
17220 if test $ac_lo -le $ac_mid; then
17224 ac_mid
=`expr 2 '*' $ac_mid + 1`
17226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.
$ac_ext >&5
17232 cat >conftest.
$ac_ext <<_ACEOF
17235 cat confdefs.h
>>conftest.
$ac_ext
17236 cat >>conftest.
$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17242 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17249 rm -f conftest.
$ac_objext
17250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17251 (eval $ac_compile) 2>conftest.er1
17253 grep -v '^ *+' conftest.er1
>conftest.err
17255 cat conftest.err
>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } &&
17258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try
='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17272 cat >conftest.
$ac_ext <<_ACEOF
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 $ac_includes_default
17282 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17289 rm -f conftest.
$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; } &&
17304 { ac_try
='test -s conftest.$ac_objext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_lo
=$ac_mid; break
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.
$ac_ext >&5
17315 ac_hi
=`expr '(' $ac_mid ')' - 1`
17316 if test $ac_mid -le $ac_hi; then
17320 ac_mid
=`expr 2 '*' $ac_mid`
17322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.
$ac_ext >&5
17330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17333 # Binary search between lo and hi bounds.
17334 while test "x$ac_lo" != "x$ac_hi"; do
17335 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17336 cat >conftest.
$ac_ext <<_ACEOF
17339 cat confdefs.h
>>conftest.
$ac_ext
17340 cat >>conftest.
$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 $ac_includes_default
17346 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17353 rm -f conftest.
$ac_objext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17355 (eval $ac_compile) 2>conftest.er1
17357 grep -v '^ *+' conftest.er1
>conftest.err
17359 cat conftest.err
>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; } &&
17368 { ac_try
='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.
$ac_ext >&5
17379 ac_lo
=`expr '(' $ac_mid ')' + 1`
17381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17384 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17385 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17386 See \`config.log' for more details." >&5
17387 echo "$as_me: error: cannot compute sizeof (long), 77
17388 See \`config.log' for more details." >&2;}
17389 { (exit 1); exit 1; }; } ;;
17392 if test "$cross_compiling" = yes; then
17393 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17394 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17395 { (exit 1); exit 1; }; }
17397 cat >conftest.
$ac_ext <<_ACEOF
17400 cat confdefs.h
>>conftest.
$ac_ext
17401 cat >>conftest.
$ac_ext <<_ACEOF
17402 /* end confdefs.h. */
17403 $ac_includes_default
17404 long longval () { return (long) (sizeof (long)); }
17405 unsigned long ulongval () { return (long) (sizeof (long)); }
17407 #include <stdlib.h>
17412 FILE *f = fopen ("conftest.val", "w");
17415 if (((long) (sizeof (long))) < 0)
17417 long i = longval ();
17418 if (i != ((long) (sizeof (long))))
17420 fprintf (f, "%ld\n", i);
17424 unsigned long i = ulongval ();
17425 if (i != ((long) (sizeof (long))))
17427 fprintf (f, "%lu\n", i);
17429 exit (ferror (f) || fclose (f) != 0);
17435 rm -f conftest
$ac_exeext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17437 (eval $ac_link) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_sizeof_long
=`cat conftest.val`
17448 echo "$as_me: program exited with status $ac_status" >&5
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ( exit $ac_status )
17453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17454 See \`config.log' for more details." >&5
17455 echo "$as_me: error: cannot compute sizeof (long), 77
17456 See \`config.log' for more details." >&2;}
17457 { (exit 1); exit 1; }; }
17459 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17464 ac_cv_sizeof_long
=0
17467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17468 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17469 cat >>confdefs.h
<<_ACEOF
17470 #define SIZEOF_LONG $ac_cv_sizeof_long
17474 echo "$as_me:$LINENO: checking for size_t" >&5
17475 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17476 if test "${ac_cv_type_size_t+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 cat >conftest.
$ac_ext <<_ACEOF
17482 cat confdefs.h
>>conftest.
$ac_ext
17483 cat >>conftest.
$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17485 $ac_includes_default
17491 if (sizeof (size_t))
17497 rm -f conftest.
$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>conftest.er1
17501 grep -v '^ *+' conftest.er1
>conftest.err
17503 cat conftest.err
>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try
='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17518 ac_cv_type_size_t
=yes
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.
$ac_ext >&5
17523 ac_cv_type_size_t
=no
17525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17527 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17528 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17530 echo "$as_me:$LINENO: checking size of size_t" >&5
17531 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17532 if test "${ac_cv_sizeof_size_t+set}" = set; then
17533 echo $ECHO_N "(cached) $ECHO_C" >&6
17535 if test "$ac_cv_type_size_t" = yes; then
17536 # The cast to unsigned long works around a bug in the HP C Compiler
17537 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17538 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17539 # This bug is HP SR number 8606223364.
17540 if test "$cross_compiling" = yes; then
17541 # Depending upon the size, compute the lo and hi bounds.
17542 cat >conftest.
$ac_ext <<_ACEOF
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17552 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17559 rm -f conftest.
$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; } &&
17574 { ac_try
='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17582 cat >conftest.
$ac_ext <<_ACEOF
17585 cat confdefs.h
>>conftest.
$ac_ext
17586 cat >>conftest.
$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588 $ac_includes_default
17592 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17599 rm -f conftest.
$ac_objext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17601 (eval $ac_compile) 2>conftest.er1
17603 grep -v '^ *+' conftest.er1
>conftest.err
17605 cat conftest.err
>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try
='test -s conftest.$ac_objext'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; }; then
17620 ac_hi
=$ac_mid; break
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.
$ac_ext >&5
17625 ac_lo
=`expr $ac_mid + 1`
17626 if test $ac_lo -le $ac_mid; then
17630 ac_mid
=`expr 2 '*' $ac_mid + 1`
17632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17635 echo "$as_me: failed program was:" >&5
17636 sed 's/^/| /' conftest.
$ac_ext >&5
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17648 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17655 rm -f conftest.
$ac_objext
17656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17657 (eval $ac_compile) 2>conftest.er1
17659 grep -v '^ *+' conftest.er1
>conftest.err
17661 cat conftest.err
>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } &&
17664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; } &&
17670 { ac_try
='test -s conftest.$ac_objext'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; }; then
17678 cat >conftest.
$ac_ext <<_ACEOF
17681 cat confdefs.h
>>conftest.
$ac_ext
17682 cat >>conftest.
$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17688 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17695 rm -f conftest.
$ac_objext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17697 (eval $ac_compile) 2>conftest.er1
17699 grep -v '^ *+' conftest.er1
>conftest.err
17701 cat conftest.err
>&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; } &&
17710 { ac_try
='test -s conftest.$ac_objext'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17716 ac_lo
=$ac_mid; break
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.
$ac_ext >&5
17721 ac_hi
=`expr '(' $ac_mid ')' - 1`
17722 if test $ac_mid -le $ac_hi; then
17726 ac_mid
=`expr 2 '*' $ac_mid`
17728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.
$ac_ext >&5
17736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17739 # Binary search between lo and hi bounds.
17740 while test "x$ac_lo" != "x$ac_hi"; do
17741 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17742 cat >conftest.
$ac_ext <<_ACEOF
17745 cat confdefs.h
>>conftest.
$ac_ext
17746 cat >>conftest.
$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 $ac_includes_default
17752 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17759 rm -f conftest.
$ac_objext
17760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17761 (eval $ac_compile) 2>conftest.er1
17763 grep -v '^ *+' conftest.er1
>conftest.err
17765 cat conftest.err
>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try
='test -s conftest.$ac_objext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.
$ac_ext >&5
17785 ac_lo
=`expr '(' $ac_mid ')' + 1`
17787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17790 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17791 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17792 See \`config.log' for more details." >&5
17793 echo "$as_me: error: cannot compute sizeof (size_t), 77
17794 See \`config.log' for more details." >&2;}
17795 { (exit 1); exit 1; }; } ;;
17798 if test "$cross_compiling" = yes; then
17799 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17800 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17801 { (exit 1); exit 1; }; }
17803 cat >conftest.
$ac_ext <<_ACEOF
17806 cat confdefs.h
>>conftest.
$ac_ext
17807 cat >>conftest.
$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 $ac_includes_default
17810 long longval () { return (long) (sizeof (size_t)); }
17811 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17813 #include <stdlib.h>
17818 FILE *f = fopen ("conftest.val", "w");
17821 if (((long) (sizeof (size_t))) < 0)
17823 long i = longval ();
17824 if (i != ((long) (sizeof (size_t))))
17826 fprintf (f, "%ld\n", i);
17830 unsigned long i = ulongval ();
17831 if (i != ((long) (sizeof (size_t))))
17833 fprintf (f, "%lu\n", i);
17835 exit (ferror (f) || fclose (f) != 0);
17841 rm -f conftest
$ac_exeext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_cv_sizeof_size_t
=`cat conftest.val`
17854 echo "$as_me: program exited with status $ac_status" >&5
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.
$ac_ext >&5
17858 ( exit $ac_status )
17859 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17860 See \`config.log' for more details." >&5
17861 echo "$as_me: error: cannot compute sizeof (size_t), 77
17862 See \`config.log' for more details." >&2;}
17863 { (exit 1); exit 1; }; }
17865 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17870 ac_cv_sizeof_size_t
=0
17873 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17874 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17875 cat >>confdefs.h
<<_ACEOF
17876 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17883 echo "$as_me:$LINENO: checking for long long" >&5
17884 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17885 if test "${ac_cv_type_long_long+set}" = set; then
17886 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 cat >conftest.
$ac_ext <<_ACEOF
17891 cat confdefs.h
>>conftest.
$ac_ext
17892 cat >>conftest.
$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 $ac_includes_default
17898 if ((long long *) 0)
17900 if (sizeof (long long))
17906 rm -f conftest.
$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17910 grep -v '^ *+' conftest.er1
>conftest.err
17912 cat conftest.err
>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try
='test -s conftest.$ac_objext'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; }; then
17927 ac_cv_type_long_long
=yes
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.
$ac_ext >&5
17932 ac_cv_type_long_long
=no
17934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17936 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17937 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17939 echo "$as_me:$LINENO: checking size of long long" >&5
17940 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17941 if test "${ac_cv_sizeof_long_long+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17944 if test "$ac_cv_type_long_long" = yes; then
17945 # The cast to unsigned long works around a bug in the HP C Compiler
17946 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17947 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17948 # This bug is HP SR number 8606223364.
17949 if test "$cross_compiling" = yes; then
17950 # Depending upon the size, compute the lo and hi bounds.
17951 cat >conftest.
$ac_ext <<_ACEOF
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17961 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17968 rm -f conftest.
$ac_objext
17969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17970 (eval $ac_compile) 2>conftest.er1
17972 grep -v '^ *+' conftest.er1
>conftest.err
17974 cat conftest.err
>&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); } &&
17977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; } &&
17983 { ac_try
='test -s conftest.$ac_objext'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; }; then
17991 cat >conftest.
$ac_ext <<_ACEOF
17994 cat confdefs.h
>>conftest.
$ac_ext
17995 cat >>conftest.
$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17997 $ac_includes_default
18001 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18008 rm -f conftest.
$ac_objext
18009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18010 (eval $ac_compile) 2>conftest.er1
18012 grep -v '^ *+' conftest.er1
>conftest.err
18014 cat conftest.err
>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; } &&
18023 { ac_try
='test -s conftest.$ac_objext'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; }; then
18029 ac_hi
=$ac_mid; break
18031 echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.
$ac_ext >&5
18034 ac_lo
=`expr $ac_mid + 1`
18035 if test $ac_lo -le $ac_mid; then
18039 ac_mid
=`expr 2 '*' $ac_mid + 1`
18041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.
$ac_ext >&5
18047 cat >conftest.
$ac_ext <<_ACEOF
18050 cat confdefs.h
>>conftest.
$ac_ext
18051 cat >>conftest.
$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18053 $ac_includes_default
18057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18064 rm -f conftest.
$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18068 grep -v '^ *+' conftest.er1
>conftest.err
18070 cat conftest.err
>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try
='test -s conftest.$ac_objext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18087 cat >conftest.
$ac_ext <<_ACEOF
18090 cat confdefs.h
>>conftest.
$ac_ext
18091 cat >>conftest.
$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18093 $ac_includes_default
18097 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18104 rm -f conftest.
$ac_objext
18105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18106 (eval $ac_compile) 2>conftest.er1
18108 grep -v '^ *+' conftest.er1
>conftest.err
18110 cat conftest.err
>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; } &&
18119 { ac_try
='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 ac_lo
=$ac_mid; break
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.
$ac_ext >&5
18130 ac_hi
=`expr '(' $ac_mid ')' - 1`
18131 if test $ac_mid -le $ac_hi; then
18135 ac_mid
=`expr 2 '*' $ac_mid`
18137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.
$ac_ext >&5
18145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18148 # Binary search between lo and hi bounds.
18149 while test "x$ac_lo" != "x$ac_hi"; do
18150 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18151 cat >conftest.
$ac_ext <<_ACEOF
18154 cat confdefs.h
>>conftest.
$ac_ext
18155 cat >>conftest.
$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 $ac_includes_default
18161 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18168 rm -f conftest.
$ac_objext
18169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18170 (eval $ac_compile) 2>conftest.er1
18172 grep -v '^ *+' conftest.er1
>conftest.err
18174 cat conftest.err
>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } &&
18177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; } &&
18183 { ac_try
='test -s conftest.$ac_objext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18191 echo "$as_me: failed program was:" >&5
18192 sed 's/^/| /' conftest.
$ac_ext >&5
18194 ac_lo
=`expr '(' $ac_mid ')' + 1`
18196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18199 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18200 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18201 See \`config.log' for more details." >&5
18202 echo "$as_me: error: cannot compute sizeof (long long), 77
18203 See \`config.log' for more details." >&2;}
18204 { (exit 1); exit 1; }; } ;;
18207 if test "$cross_compiling" = yes; then
18208 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18209 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18210 { (exit 1); exit 1; }; }
18212 cat >conftest.
$ac_ext <<_ACEOF
18215 cat confdefs.h
>>conftest.
$ac_ext
18216 cat >>conftest.
$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 $ac_includes_default
18219 long longval () { return (long) (sizeof (long long)); }
18220 unsigned long ulongval () { return (long) (sizeof (long long)); }
18222 #include <stdlib.h>
18227 FILE *f = fopen ("conftest.val", "w");
18230 if (((long) (sizeof (long long))) < 0)
18232 long i = longval ();
18233 if (i != ((long) (sizeof (long long))))
18235 fprintf (f, "%ld\n", i);
18239 unsigned long i = ulongval ();
18240 if (i != ((long) (sizeof (long long))))
18242 fprintf (f, "%lu\n", i);
18244 exit (ferror (f) || fclose (f) != 0);
18250 rm -f conftest
$ac_exeext
18251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18252 (eval $ac_link) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; }; then
18261 ac_cv_sizeof_long_long
=`cat conftest.val`
18263 echo "$as_me: program exited with status $ac_status" >&5
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.
$ac_ext >&5
18267 ( exit $ac_status )
18268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18269 See \`config.log' for more details." >&5
18270 echo "$as_me: error: cannot compute sizeof (long long), 77
18271 See \`config.log' for more details." >&2;}
18272 { (exit 1); exit 1; }; }
18274 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18279 ac_cv_sizeof_long_long
=0
18282 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18283 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18284 cat >>confdefs.h
<<_ACEOF
18285 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18291 echo "$as_me:$LINENO: checking for long long" >&5
18292 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18293 if test "${ac_cv_type_long_long+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 cat >conftest.
$ac_ext <<_ACEOF
18299 cat confdefs.h
>>conftest.
$ac_ext
18300 cat >>conftest.
$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 $ac_includes_default
18306 if ((long long *) 0)
18308 if (sizeof (long long))
18314 rm -f conftest.
$ac_objext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18316 (eval $ac_compile) 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try
='test -s conftest.$ac_objext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18335 ac_cv_type_long_long
=yes
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 ac_cv_type_long_long
=no
18342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18344 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18345 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18347 echo "$as_me:$LINENO: checking size of long long" >&5
18348 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18349 if test "${ac_cv_sizeof_long_long+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 if test "$ac_cv_type_long_long" = yes; then
18353 # The cast to unsigned long works around a bug in the HP C Compiler
18354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18356 # This bug is HP SR number 8606223364.
18357 if test "$cross_compiling" = yes; then
18358 # Depending upon the size, compute the lo and hi bounds.
18359 cat >conftest.
$ac_ext <<_ACEOF
18362 cat confdefs.h
>>conftest.
$ac_ext
18363 cat >>conftest.
$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 $ac_includes_default
18369 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18376 rm -f conftest.
$ac_objext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18378 (eval $ac_compile) 2>conftest.er1
18380 grep -v '^ *+' conftest.er1
>conftest.err
18382 cat conftest.err
>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
18385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; } &&
18391 { ac_try
='test -s conftest.$ac_objext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18399 cat >conftest.
$ac_ext <<_ACEOF
18402 cat confdefs.h
>>conftest.
$ac_ext
18403 cat >>conftest.
$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 $ac_includes_default
18409 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18416 rm -f conftest.
$ac_objext
18417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18418 (eval $ac_compile) 2>conftest.er1
18420 grep -v '^ *+' conftest.er1
>conftest.err
18422 cat conftest.err
>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } &&
18425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try
='test -s conftest.$ac_objext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 ac_hi
=$ac_mid; break
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.
$ac_ext >&5
18442 ac_lo
=`expr $ac_mid + 1`
18443 if test $ac_lo -le $ac_mid; then
18447 ac_mid
=`expr 2 '*' $ac_mid + 1`
18449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.
$ac_ext >&5
18455 cat >conftest.
$ac_ext <<_ACEOF
18458 cat confdefs.h
>>conftest.
$ac_ext
18459 cat >>conftest.
$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18465 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18472 rm -f conftest.
$ac_objext
18473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18474 (eval $ac_compile) 2>conftest.er1
18476 grep -v '^ *+' conftest.er1
>conftest.err
18478 cat conftest.err
>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } &&
18481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; } &&
18487 { ac_try
='test -s conftest.$ac_objext'
18488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18489 (eval $ac_try) 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; }; then
18495 cat >conftest.
$ac_ext <<_ACEOF
18498 cat confdefs.h
>>conftest.
$ac_ext
18499 cat >>conftest.
$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18512 rm -f conftest.
$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18516 grep -v '^ *+' conftest.er1
>conftest.err
18518 cat conftest.err
>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try
='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_lo
=$ac_mid; break
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.
$ac_ext >&5
18538 ac_hi
=`expr '(' $ac_mid ')' - 1`
18539 if test $ac_mid -le $ac_hi; then
18543 ac_mid
=`expr 2 '*' $ac_mid`
18545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.
$ac_ext >&5
18553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18556 # Binary search between lo and hi bounds.
18557 while test "x$ac_lo" != "x$ac_hi"; do
18558 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18559 cat >conftest.
$ac_ext <<_ACEOF
18562 cat confdefs.h
>>conftest.
$ac_ext
18563 cat >>conftest.
$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 $ac_includes_default
18569 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18576 rm -f conftest.
$ac_objext
18577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18578 (eval $ac_compile) 2>conftest.er1
18580 grep -v '^ *+' conftest.er1
>conftest.err
18582 cat conftest.err
>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } &&
18585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try
='test -s conftest.$ac_objext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.
$ac_ext >&5
18602 ac_lo
=`expr '(' $ac_mid ')' + 1`
18604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18607 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18608 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18609 See \`config.log' for more details." >&5
18610 echo "$as_me: error: cannot compute sizeof (long long), 77
18611 See \`config.log' for more details." >&2;}
18612 { (exit 1); exit 1; }; } ;;
18615 if test "$cross_compiling" = yes; then
18616 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18617 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18618 { (exit 1); exit 1; }; }
18620 cat >conftest.
$ac_ext <<_ACEOF
18623 cat confdefs.h
>>conftest.
$ac_ext
18624 cat >>conftest.
$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626 $ac_includes_default
18627 long longval () { return (long) (sizeof (long long)); }
18628 unsigned long ulongval () { return (long) (sizeof (long long)); }
18630 #include <stdlib.h>
18635 FILE *f = fopen ("conftest.val", "w");
18638 if (((long) (sizeof (long long))) < 0)
18640 long i = longval ();
18641 if (i != ((long) (sizeof (long long))))
18643 fprintf (f, "%ld\n", i);
18647 unsigned long i = ulongval ();
18648 if (i != ((long) (sizeof (long long))))
18650 fprintf (f, "%lu\n", i);
18652 exit (ferror (f) || fclose (f) != 0);
18658 rm -f conftest
$ac_exeext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18660 (eval $ac_link) 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; }; then
18669 ac_cv_sizeof_long_long
=`cat conftest.val`
18671 echo "$as_me: program exited with status $ac_status" >&5
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 ( exit $ac_status )
18676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18677 See \`config.log' for more details." >&5
18678 echo "$as_me: error: cannot compute sizeof (long long), 77
18679 See \`config.log' for more details." >&2;}
18680 { (exit 1); exit 1; }; }
18682 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18687 ac_cv_sizeof_long_long
=0
18690 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18691 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18692 cat >>confdefs.h
<<_ACEOF
18693 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18697 if test "$ac_cv_sizeof_long_long" != "0"; then
18698 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18702 echo "$as_me:$LINENO: checking for long long" >&5
18703 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18704 if test "${ac_cv_type_long_long+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 cat >conftest.
$ac_ext <<_ACEOF
18710 cat confdefs.h
>>conftest.
$ac_ext
18711 cat >>conftest.
$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18717 if ((long long *) 0)
18719 if (sizeof (long long))
18725 rm -f conftest.
$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18729 grep -v '^ *+' conftest.er1
>conftest.err
18731 cat conftest.err
>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try
='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_cv_type_long_long
=yes
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.
$ac_ext >&5
18751 ac_cv_type_long_long
=no
18753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18755 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18756 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18758 echo "$as_me:$LINENO: checking size of long long" >&5
18759 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18760 if test "${ac_cv_sizeof_long_long+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 if test "$ac_cv_type_long_long" = yes; then
18764 # The cast to unsigned long works around a bug in the HP C Compiler
18765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18767 # This bug is HP SR number 8606223364.
18768 if test "$cross_compiling" = yes; then
18769 # Depending upon the size, compute the lo and hi bounds.
18770 cat >conftest.
$ac_ext <<_ACEOF
18773 cat confdefs.h
>>conftest.
$ac_ext
18774 cat >>conftest.
$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18776 $ac_includes_default
18780 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18787 rm -f conftest.
$ac_objext
18788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18789 (eval $ac_compile) 2>conftest.er1
18791 grep -v '^ *+' conftest.er1
>conftest.err
18793 cat conftest.err
>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } &&
18796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; } &&
18802 { ac_try
='test -s conftest.$ac_objext'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; }; then
18810 cat >conftest.
$ac_ext <<_ACEOF
18813 cat confdefs.h
>>conftest.
$ac_ext
18814 cat >>conftest.
$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 $ac_includes_default
18820 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18827 rm -f conftest.
$ac_objext
18828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18829 (eval $ac_compile) 2>conftest.er1
18831 grep -v '^ *+' conftest.er1
>conftest.err
18833 cat conftest.err
>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } &&
18836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; } &&
18842 { ac_try
='test -s conftest.$ac_objext'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; }; then
18848 ac_hi
=$ac_mid; break
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.
$ac_ext >&5
18853 ac_lo
=`expr $ac_mid + 1`
18854 if test $ac_lo -le $ac_mid; then
18858 ac_mid
=`expr 2 '*' $ac_mid + 1`
18860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.
$ac_ext >&5
18866 cat >conftest.
$ac_ext <<_ACEOF
18869 cat confdefs.h
>>conftest.
$ac_ext
18870 cat >>conftest.
$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 $ac_includes_default
18876 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18883 rm -f conftest.
$ac_objext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18885 (eval $ac_compile) 2>conftest.er1
18887 grep -v '^ *+' conftest.er1
>conftest.err
18889 cat conftest.err
>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } &&
18892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } &&
18898 { ac_try
='test -s conftest.$ac_objext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18906 cat >conftest.
$ac_ext <<_ACEOF
18909 cat confdefs.h
>>conftest.
$ac_ext
18910 cat >>conftest.
$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 $ac_includes_default
18916 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18923 rm -f conftest.
$ac_objext
18924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18925 (eval $ac_compile) 2>conftest.er1
18927 grep -v '^ *+' conftest.er1
>conftest.err
18929 cat conftest.err
>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18934 (eval $ac_try) 2>&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); }; } &&
18938 { ac_try
='test -s conftest.$ac_objext'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; }; then
18944 ac_lo
=$ac_mid; break
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.
$ac_ext >&5
18949 ac_hi
=`expr '(' $ac_mid ')' - 1`
18950 if test $ac_mid -le $ac_hi; then
18954 ac_mid
=`expr 2 '*' $ac_mid`
18956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.
$ac_ext >&5
18964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18967 # Binary search between lo and hi bounds.
18968 while test "x$ac_lo" != "x$ac_hi"; do
18969 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 $ac_includes_default
18980 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18987 rm -f conftest.
$ac_objext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18989 (eval $ac_compile) 2>conftest.er1
18991 grep -v '^ *+' conftest.er1
>conftest.err
18993 cat conftest.err
>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; } &&
19002 { ac_try
='test -s conftest.$ac_objext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19010 echo "$as_me: failed program was:" >&5
19011 sed 's/^/| /' conftest.
$ac_ext >&5
19013 ac_lo
=`expr '(' $ac_mid ')' + 1`
19015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19018 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19019 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19020 See \`config.log' for more details." >&5
19021 echo "$as_me: error: cannot compute sizeof (long long), 77
19022 See \`config.log' for more details." >&2;}
19023 { (exit 1); exit 1; }; } ;;
19026 if test "$cross_compiling" = yes; then
19027 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19028 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19029 { (exit 1); exit 1; }; }
19031 cat >conftest.
$ac_ext <<_ACEOF
19034 cat confdefs.h
>>conftest.
$ac_ext
19035 cat >>conftest.
$ac_ext <<_ACEOF
19036 /* end confdefs.h. */
19037 $ac_includes_default
19038 long longval () { return (long) (sizeof (long long)); }
19039 unsigned long ulongval () { return (long) (sizeof (long long)); }
19041 #include <stdlib.h>
19046 FILE *f = fopen ("conftest.val", "w");
19049 if (((long) (sizeof (long long))) < 0)
19051 long i = longval ();
19052 if (i != ((long) (sizeof (long long))))
19054 fprintf (f, "%ld\n", i);
19058 unsigned long i = ulongval ();
19059 if (i != ((long) (sizeof (long long))))
19061 fprintf (f, "%lu\n", i);
19063 exit (ferror (f) || fclose (f) != 0);
19069 rm -f conftest
$ac_exeext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19071 (eval $ac_link) 2>&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; }; then
19080 ac_cv_sizeof_long_long
=`cat conftest.val`
19082 echo "$as_me: program exited with status $ac_status" >&5
19083 echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.
$ac_ext >&5
19086 ( exit $ac_status )
19087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19088 See \`config.log' for more details." >&5
19089 echo "$as_me: error: cannot compute sizeof (long long), 77
19090 See \`config.log' for more details." >&2;}
19091 { (exit 1); exit 1; }; }
19093 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19098 ac_cv_sizeof_long_long
=0
19101 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19102 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19103 cat >>confdefs.h
<<_ACEOF
19104 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19110 echo "$as_me:$LINENO: checking for wchar_t" >&5
19111 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19112 if test "${ac_cv_type_wchar_t+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 cat >conftest.
$ac_ext <<_ACEOF
19118 cat confdefs.h
>>conftest.
$ac_ext
19119 cat >>conftest.
$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19122 /* DJGPP only has fake wchar_t: */
19124 # error "fake wchar_t"
19126 #ifdef HAVE_WCHAR_H
19128 # include <stddef.h>
19130 # include <wchar.h>
19132 #ifdef HAVE_STDLIB_H
19133 # include <stdlib.h>
19144 if (sizeof (wchar_t))
19150 rm -f conftest.
$ac_objext
19151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19152 (eval $ac_compile) 2>conftest.er1
19154 grep -v '^ *+' conftest.er1
>conftest.err
19156 cat conftest.err
>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } &&
19159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19161 (eval $ac_try) 2>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); }; } &&
19165 { ac_try
='test -s conftest.$ac_objext'
19166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19167 (eval $ac_try) 2>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); }; }; then
19171 ac_cv_type_wchar_t
=yes
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.
$ac_ext >&5
19176 ac_cv_type_wchar_t
=no
19178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19180 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19181 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19183 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19184 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19185 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19186 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 if test "$ac_cv_type_wchar_t" = yes; then
19189 # The cast to unsigned long works around a bug in the HP C Compiler
19190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19192 # This bug is HP SR number 8606223364.
19193 if test "$cross_compiling" = yes; then
19194 # Depending upon the size, compute the lo and hi bounds.
19195 cat >conftest.
$ac_ext <<_ACEOF
19198 cat confdefs.h
>>conftest.
$ac_ext
19199 cat >>conftest.
$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19202 /* DJGPP only has fake wchar_t: */
19204 # error "fake wchar_t"
19206 #ifdef HAVE_WCHAR_H
19208 # include <stddef.h>
19210 # include <wchar.h>
19212 #ifdef HAVE_STDLIB_H
19213 # include <stdlib.h>
19222 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19229 rm -f conftest.
$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19233 grep -v '^ *+' conftest.er1
>conftest.err
19235 cat conftest.err
>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; } &&
19244 { ac_try
='test -s conftest.$ac_objext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19252 cat >conftest.
$ac_ext <<_ACEOF
19255 cat confdefs.h
>>conftest.
$ac_ext
19256 cat >>conftest.
$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19259 /* DJGPP only has fake wchar_t: */
19261 # error "fake wchar_t"
19263 #ifdef HAVE_WCHAR_H
19265 # include <stddef.h>
19267 # include <wchar.h>
19269 #ifdef HAVE_STDLIB_H
19270 # include <stdlib.h>
19279 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19286 rm -f conftest.
$ac_objext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19288 (eval $ac_compile) 2>conftest.er1
19290 grep -v '^ *+' conftest.er1
>conftest.err
19292 cat conftest.err
>&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } &&
19295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19297 (eval $ac_try) 2>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); }; } &&
19301 { ac_try
='test -s conftest.$ac_objext'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; }; then
19307 ac_hi
=$ac_mid; break
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.
$ac_ext >&5
19312 ac_lo
=`expr $ac_mid + 1`
19313 if test $ac_lo -le $ac_mid; then
19317 ac_mid
=`expr 2 '*' $ac_mid + 1`
19319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.
$ac_ext >&5
19325 cat >conftest.
$ac_ext <<_ACEOF
19328 cat confdefs.h
>>conftest.
$ac_ext
19329 cat >>conftest.
$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19332 /* DJGPP only has fake wchar_t: */
19334 # error "fake wchar_t"
19336 #ifdef HAVE_WCHAR_H
19338 # include <stddef.h>
19340 # include <wchar.h>
19342 #ifdef HAVE_STDLIB_H
19343 # include <stdlib.h>
19352 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19359 rm -f conftest.
$ac_objext
19360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19361 (eval $ac_compile) 2>conftest.er1
19363 grep -v '^ *+' conftest.er1
>conftest.err
19365 cat conftest.err
>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } &&
19368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; } &&
19374 { ac_try
='test -s conftest.$ac_objext'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; }; then
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19389 /* DJGPP only has fake wchar_t: */
19391 # error "fake wchar_t"
19393 #ifdef HAVE_WCHAR_H
19395 # include <stddef.h>
19397 # include <wchar.h>
19399 #ifdef HAVE_STDLIB_H
19400 # include <stdlib.h>
19409 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19416 rm -f conftest.
$ac_objext
19417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19418 (eval $ac_compile) 2>conftest.er1
19420 grep -v '^ *+' conftest.er1
>conftest.err
19422 cat conftest.err
>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); } &&
19425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427 (eval $ac_try) 2>&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); }; } &&
19431 { ac_try
='test -s conftest.$ac_objext'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; }; then
19437 ac_lo
=$ac_mid; break
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.
$ac_ext >&5
19442 ac_hi
=`expr '(' $ac_mid ')' - 1`
19443 if test $ac_mid -le $ac_hi; then
19447 ac_mid
=`expr 2 '*' $ac_mid`
19449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.
$ac_ext >&5
19457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19460 # Binary search between lo and hi bounds.
19461 while test "x$ac_lo" != "x$ac_hi"; do
19462 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19463 cat >conftest.
$ac_ext <<_ACEOF
19466 cat confdefs.h
>>conftest.
$ac_ext
19467 cat >>conftest.
$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19470 /* DJGPP only has fake wchar_t: */
19472 # error "fake wchar_t"
19474 #ifdef HAVE_WCHAR_H
19476 # include <stddef.h>
19478 # include <wchar.h>
19480 #ifdef HAVE_STDLIB_H
19481 # include <stdlib.h>
19490 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19497 rm -f conftest.
$ac_objext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19499 (eval $ac_compile) 2>conftest.er1
19501 grep -v '^ *+' conftest.er1
>conftest.err
19503 cat conftest.err
>&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; } &&
19512 { ac_try
='test -s conftest.$ac_objext'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; }; then
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.
$ac_ext >&5
19523 ac_lo
=`expr '(' $ac_mid ')' + 1`
19525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19528 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19529 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19530 See \`config.log' for more details." >&5
19531 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19532 See \`config.log' for more details." >&2;}
19533 { (exit 1); exit 1; }; } ;;
19536 if test "$cross_compiling" = yes; then
19537 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19538 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19539 { (exit 1); exit 1; }; }
19541 cat >conftest.
$ac_ext <<_ACEOF
19544 cat confdefs.h
>>conftest.
$ac_ext
19545 cat >>conftest.
$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19548 /* DJGPP only has fake wchar_t: */
19550 # error "fake wchar_t"
19552 #ifdef HAVE_WCHAR_H
19554 # include <stddef.h>
19556 # include <wchar.h>
19558 #ifdef HAVE_STDLIB_H
19559 # include <stdlib.h>
19565 long longval () { return (long) (sizeof (wchar_t)); }
19566 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19568 #include <stdlib.h>
19573 FILE *f = fopen ("conftest.val", "w");
19576 if (((long) (sizeof (wchar_t))) < 0)
19578 long i = longval ();
19579 if (i != ((long) (sizeof (wchar_t))))
19581 fprintf (f, "%ld\n", i);
19585 unsigned long i = ulongval ();
19586 if (i != ((long) (sizeof (wchar_t))))
19588 fprintf (f, "%lu\n", i);
19590 exit (ferror (f) || fclose (f) != 0);
19596 rm -f conftest
$ac_exeext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19598 (eval $ac_link) 2>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; }; then
19607 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19609 echo "$as_me: program exited with status $ac_status" >&5
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.
$ac_ext >&5
19613 ( exit $ac_status )
19614 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19615 See \`config.log' for more details." >&5
19616 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19617 See \`config.log' for more details." >&2;}
19618 { (exit 1); exit 1; }; }
19620 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19625 ac_cv_sizeof_wchar_t
=0
19628 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19629 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19630 cat >>confdefs.h
<<_ACEOF
19631 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19636 echo "$as_me:$LINENO: checking for va_copy" >&5
19637 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19638 if test "${wx_cv_func_va_copy+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 cat >conftest.
$ac_ext <<_ACEOF
19644 #include <stdarg.h>
19645 void foo(char *f, ...)
19659 rm -f conftest.
$ac_objext conftest
$ac_exeext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19661 (eval $ac_link) 2>conftest.er1
19663 grep -v '^ *+' conftest.er1
>conftest.err
19665 cat conftest.err
>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } &&
19668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; } &&
19674 { ac_try
='test -s conftest$ac_exeext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 wx_cv_func_va_copy
=yes
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.
$ac_ext >&5
19685 wx_cv_func_va_copy
=no
19688 rm -f conftest.err conftest.
$ac_objext \
19689 conftest
$ac_exeext conftest.
$ac_ext
19693 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19694 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19696 if test $wx_cv_func_va_copy = "yes"; then
19697 cat >>confdefs.h
<<\_ACEOF
19698 #define HAVE_VA_COPY 1
19702 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19703 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19704 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19708 if test "$cross_compiling" = yes; then
19709 wx_cv_type_va_list_lvalue
=yes
19712 cat >conftest.
$ac_ext <<_ACEOF
19714 #include <stdarg.h>
19715 int foo(char *f, ...)
19720 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19728 return foo("hi", 17);
19731 rm -f conftest
$ac_exeext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19733 (eval $ac_link) 2>&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; }; then
19742 wx_cv_type_va_list_lvalue
=yes
19744 echo "$as_me: program exited with status $ac_status" >&5
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.
$ac_ext >&5
19748 ( exit $ac_status )
19749 wx_cv_type_va_list_lvalue
=no
19751 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19756 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19757 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19759 if test $wx_cv_type_va_list_lvalue != "yes"; then
19760 cat >>confdefs.h
<<\_ACEOF
19761 #define VA_LIST_IS_ARRAY 1
19767 # Check whether --enable-largefile or --disable-largefile was given.
19768 if test "${enable_largefile+set}" = set; then
19769 enableval
="$enable_largefile"
19772 if test "$enable_largefile" != no
; then
19775 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19776 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19777 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 cat >conftest.
$ac_ext <<_ACEOF
19784 cat confdefs.h
>>conftest.
$ac_ext
19785 cat >>conftest.
$ac_ext <<_ACEOF
19786 /* end confdefs.h. */
19787 #define _FILE_OFFSET_BITS 64
19788 #include <sys/types.h>
19793 unsigned int field: sizeof(off_t) == 8;
19800 rm -f conftest.
$ac_objext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802 (eval $ac_compile) 2>conftest.er1
19804 grep -v '^ *+' conftest.er1
>conftest.err
19806 cat conftest.err
>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; } &&
19815 { ac_try
='test -s conftest.$ac_objext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_sys_file_offset_bits
=64
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19826 ac_cv_sys_file_offset_bits
=no
19828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19832 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19833 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19835 if test "$ac_cv_sys_file_offset_bits" != no
; then
19837 cat >>confdefs.h
<<_ACEOF
19838 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19843 if test "x$wx_largefile" != "xyes"; then
19845 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19846 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19847 if test "${ac_cv_sys_large_files+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19851 cat >conftest.
$ac_ext <<_ACEOF
19854 cat confdefs.h
>>conftest.
$ac_ext
19855 cat >>conftest.
$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 #define _LARGE_FILES 1
19858 #include <sys/types.h>
19863 unsigned int field: sizeof(off_t) == 8;
19870 rm -f conftest.
$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1
>conftest.err
19876 cat conftest.err
>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try
='test -s conftest.$ac_objext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_cv_sys_large_files
=1
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.
$ac_ext >&5
19896 ac_cv_sys_large_files
=no
19898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19902 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19903 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19905 if test "$ac_cv_sys_large_files" != no
; then
19907 cat >>confdefs.h
<<_ACEOF
19908 #define _LARGE_FILES $ac_cv_sys_large_files
19915 echo "$as_me:$LINENO: checking if large file support is available" >&5
19916 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19917 if test "x$wx_largefile" = "xyes"; then
19918 cat >>confdefs.h
<<\_ACEOF
19919 #define HAVE_LARGEFILE_SUPPORT 1
19923 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19924 echo "${ECHO_T}$wx_largefile" >&6
19928 if test "x$wx_largefile" = "xyes"; then
19929 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19930 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19932 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19934 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19935 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19936 if test "${ac_cv_sys_largefile_source+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 ac_cv_sys_largefile_source
=no
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19956 rm -f conftest.
$ac_objext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19958 (eval $ac_compile) 2>conftest.er1
19960 grep -v '^ *+' conftest.er1
>conftest.err
19962 cat conftest.err
>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; } &&
19971 { ac_try
='test -s conftest.$ac_objext'
19972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19973 (eval $ac_try) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; }; then
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19984 cat >conftest.
$ac_ext <<_ACEOF
19987 cat confdefs.h
>>conftest.
$ac_ext
19988 cat >>conftest.
$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 #define _LARGEFILE_SOURCE 1
20000 rm -f conftest.
$ac_objext
20001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20002 (eval $ac_compile) 2>conftest.er1
20004 grep -v '^ *+' conftest.er1
>conftest.err
20006 cat conftest.err
>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); } &&
20009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; } &&
20015 { ac_try
='test -s conftest.$ac_objext'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; }; then
20021 ac_cv_sys_largefile_source
=1; break
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.
$ac_ext >&5
20027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20031 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20032 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20033 if test "$ac_cv_sys_largefile_source" != no
; then
20035 cat >>confdefs.h
<<_ACEOF
20036 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20042 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20043 # in glibc 2.1.3, but that breaks too many other things.
20044 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20045 echo "$as_me:$LINENO: checking for fseeko" >&5
20046 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20047 if test "${ac_cv_func_fseeko+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 cat >conftest.
$ac_ext <<_ACEOF
20053 cat confdefs.h
>>conftest.
$ac_ext
20054 cat >>conftest.
$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20060 return fseeko && fseeko (stdin, 0, 0);
20065 rm -f conftest.
$ac_objext conftest
$ac_exeext
20066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20067 (eval $ac_link) 2>conftest.er1
20069 grep -v '^ *+' conftest.er1
>conftest.err
20071 cat conftest.err
>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); } &&
20074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; } &&
20080 { ac_try
='test -s conftest$ac_exeext'
20081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20082 (eval $ac_try) 2>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); }; }; then
20086 ac_cv_func_fseeko
=yes
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.
$ac_ext >&5
20091 ac_cv_func_fseeko
=no
20093 rm -f conftest.err conftest.
$ac_objext \
20094 conftest
$ac_exeext conftest.
$ac_ext
20096 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20097 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20098 if test $ac_cv_func_fseeko = yes; then
20100 cat >>confdefs.h
<<\_ACEOF
20101 #define HAVE_FSEEKO 1
20106 if test "$ac_cv_sys_largefile_source" != no
; then
20107 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20109 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20112 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20113 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20114 if test "${ac_cv_c_bigendian+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 ac_cv_c_bigendian
=unknown
20118 # See if sys/param.h defines the BYTE_ORDER macro.
20119 cat >conftest.
$ac_ext <<_ACEOF
20122 cat confdefs.h
>>conftest.
$ac_ext
20123 cat >>conftest.
$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 #include <sys/types.h>
20126 #include <sys/param.h>
20131 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20132 bogus endian macros
20138 rm -f conftest.
$ac_objext
20139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20140 (eval $ac_compile) 2>conftest.er1
20142 grep -v '^ *+' conftest.er1
>conftest.err
20144 cat conftest.err
>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } &&
20147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20153 { ac_try
='test -s conftest.$ac_objext'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; }; then
20159 # It does; now see whether it defined to BIG_ENDIAN or not.
20160 cat >conftest.
$ac_ext <<_ACEOF
20163 cat confdefs.h
>>conftest.
$ac_ext
20164 cat >>conftest.
$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 #include <sys/types.h>
20167 #include <sys/param.h>
20172 #if BYTE_ORDER != BIG_ENDIAN
20179 rm -f conftest.
$ac_objext
20180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20181 (eval $ac_compile) 2>conftest.er1
20183 grep -v '^ *+' conftest.er1
>conftest.err
20185 cat conftest.err
>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } &&
20188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; } &&
20194 { ac_try
='test -s conftest.$ac_objext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 ac_cv_c_bigendian
=yes
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.
$ac_ext >&5
20205 ac_cv_c_bigendian
=no
20207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.
$ac_ext >&5
20213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20214 if test $ac_cv_c_bigendian = unknown
; then
20215 if test "$cross_compiling" = yes; then
20216 ac_cv_c_bigendian
=unknown
20218 cat >conftest.
$ac_ext <<_ACEOF
20221 cat confdefs.h
>>conftest.
$ac_ext
20222 cat >>conftest.
$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20225 /* Are we little or big endian? From Harbison&Steele. */
20229 char c[sizeof (long)];
20232 exit (u.c[sizeof (long) - 1] == 1);
20235 rm -f conftest
$ac_exeext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20237 (eval $ac_link) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 ac_cv_c_bigendian
=no
20248 echo "$as_me: program exited with status $ac_status" >&5
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.
$ac_ext >&5
20252 ( exit $ac_status )
20253 ac_cv_c_bigendian
=yes
20255 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20259 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20260 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20261 if test $ac_cv_c_bigendian = unknown
; then
20262 { 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
20263 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;}
20265 if test $ac_cv_c_bigendian = yes; then
20266 cat >>confdefs.h
<<\_ACEOF
20267 #define WORDS_BIGENDIAN 1
20274 ac_cpp
='$CXXCPP $CPPFLAGS'
20275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20278 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20279 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20280 if test -z "$CXXCPP"; then
20281 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 # Double quotes because CXXCPP needs to be expanded
20285 for CXXCPP
in "$CXX -E" "/lib/cpp"
20287 ac_preproc_ok
=false
20288 for ac_cxx_preproc_warn_flag
in '' yes
20290 # Use a header file that comes with gcc, so configuring glibc
20291 # with a fresh cross-compiler works.
20292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20293 # <limits.h> exists even on freestanding compilers.
20294 # On the NeXT, cc -E runs the code through the compiler's parser,
20295 # not just through cpp. "Syntax error" is here to catch this case.
20296 cat >conftest.
$ac_ext <<_ACEOF
20299 cat confdefs.h
>>conftest.
$ac_ext
20300 cat >>conftest.
$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20303 # include <limits.h>
20305 # include <assert.h>
20309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20312 grep -v '^ *+' conftest.er1
>conftest.err
20314 cat conftest.err
>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } >/dev
/null
; then
20317 if test -s conftest.err
; then
20318 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20319 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20326 if test -z "$ac_cpp_err"; then
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.
$ac_ext >&5
20332 # Broken: fails on valid input.
20335 rm -f conftest.err conftest.
$ac_ext
20337 # OK, works on sane cases. Now check whether non-existent headers
20338 # can be detected and how.
20339 cat >conftest.
$ac_ext <<_ACEOF
20342 cat confdefs.h
>>conftest.
$ac_ext
20343 cat >>conftest.
$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 #include <ac_nonexistent.h>
20347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20350 grep -v '^ *+' conftest.er1
>conftest.err
20352 cat conftest.err
>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } >/dev
/null
; then
20355 if test -s conftest.err
; then
20356 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20357 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20364 if test -z "$ac_cpp_err"; then
20365 # Broken: success on invalid input.
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.
$ac_ext >&5
20371 # Passes both tests.
20375 rm -f conftest.err conftest.
$ac_ext
20378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20379 rm -f conftest.err conftest.
$ac_ext
20380 if $ac_preproc_ok; then
20385 ac_cv_prog_CXXCPP
=$CXXCPP
20388 CXXCPP
=$ac_cv_prog_CXXCPP
20390 ac_cv_prog_CXXCPP
=$CXXCPP
20392 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20393 echo "${ECHO_T}$CXXCPP" >&6
20394 ac_preproc_ok
=false
20395 for ac_cxx_preproc_warn_flag
in '' yes
20397 # Use a header file that comes with gcc, so configuring glibc
20398 # with a fresh cross-compiler works.
20399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20400 # <limits.h> exists even on freestanding compilers.
20401 # On the NeXT, cc -E runs the code through the compiler's parser,
20402 # not just through cpp. "Syntax error" is here to catch this case.
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 # include <limits.h>
20412 # include <assert.h>
20416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20419 grep -v '^ *+' conftest.er1
>conftest.err
20421 cat conftest.err
>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } >/dev
/null
; then
20424 if test -s conftest.err
; then
20425 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20426 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20433 if test -z "$ac_cpp_err"; then
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.
$ac_ext >&5
20439 # Broken: fails on valid input.
20442 rm -f conftest.err conftest.
$ac_ext
20444 # OK, works on sane cases. Now check whether non-existent headers
20445 # can be detected and how.
20446 cat >conftest.
$ac_ext <<_ACEOF
20449 cat confdefs.h
>>conftest.
$ac_ext
20450 cat >>conftest.
$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 #include <ac_nonexistent.h>
20454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20457 grep -v '^ *+' conftest.er1
>conftest.err
20459 cat conftest.err
>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } >/dev
/null
; then
20462 if test -s conftest.err
; then
20463 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20464 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20471 if test -z "$ac_cpp_err"; then
20472 # Broken: success on invalid input.
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.
$ac_ext >&5
20478 # Passes both tests.
20482 rm -f conftest.err conftest.
$ac_ext
20485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20486 rm -f conftest.err conftest.
$ac_ext
20487 if $ac_preproc_ok; then
20490 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20491 See \`config.log' for more details." >&5
20492 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20493 See \`config.log' for more details." >&2;}
20494 { (exit 1); exit 1; }; }
20498 ac_cpp
='$CXXCPP $CPPFLAGS'
20499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20508 ac_cpp
='$CXXCPP $CPPFLAGS'
20509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20515 for ac_header
in iostream
20517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20519 echo "$as_me:$LINENO: checking for $ac_header" >&5
20520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20522 echo $ECHO_N "(cached) $ECHO_C" >&6
20524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20527 # Is the header compilable?
20528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20530 cat >conftest.
$ac_ext <<_ACEOF
20533 cat confdefs.h
>>conftest.
$ac_ext
20534 cat >>conftest.
$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 $ac_includes_default
20537 #include <$ac_header>
20539 rm -f conftest.
$ac_objext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20541 (eval $ac_compile) 2>conftest.er1
20543 grep -v '^ *+' conftest.er1
>conftest.err
20545 cat conftest.err
>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } &&
20548 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; } &&
20554 { ac_try
='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20560 ac_header_compiler
=yes
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.
$ac_ext >&5
20565 ac_header_compiler
=no
20567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20569 echo "${ECHO_T}$ac_header_compiler" >&6
20571 # Is the header present?
20572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20574 cat >conftest.
$ac_ext <<_ACEOF
20577 cat confdefs.h
>>conftest.
$ac_ext
20578 cat >>conftest.
$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20580 #include <$ac_header>
20582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20585 grep -v '^ *+' conftest.er1
>conftest.err
20587 cat conftest.err
>&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); } >/dev
/null
; then
20590 if test -s conftest.err
; then
20591 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20592 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20599 if test -z "$ac_cpp_err"; then
20600 ac_header_preproc
=yes
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.
$ac_ext >&5
20605 ac_header_preproc
=no
20607 rm -f conftest.err conftest.
$ac_ext
20608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20609 echo "${ECHO_T}$ac_header_preproc" >&6
20611 # So? What about this header?
20612 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20618 ac_header_preproc
=yes
20621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20635 ## ----------------------------------------- ##
20636 ## Report this to wx-dev@lists.wxwidgets.org ##
20637 ## ----------------------------------------- ##
20640 sed "s/^/$as_me: WARNING: /" >&2
20643 echo "$as_me:$LINENO: checking for $ac_header" >&5
20644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20646 echo $ECHO_N "(cached) $ECHO_C" >&6
20648 eval "$as_ac_Header=\$ac_header_preproc"
20650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20655 cat >>confdefs.h
<<_ACEOF
20656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20664 if test "$ac_cv_header_iostream" = "yes" ; then
20667 cat >>confdefs.h
<<\_ACEOF
20668 #define wxUSE_IOSTREAMH 1
20674 ac_cpp
='$CPP $CPPFLAGS'
20675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20682 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20683 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20684 if test "${wx_cv_cpp_bool+set}" = set; then
20685 echo $ECHO_N "(cached) $ECHO_C" >&6
20691 ac_cpp
='$CXXCPP $CPPFLAGS'
20692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20697 cat >conftest.
$ac_ext <<_ACEOF
20700 cat confdefs.h
>>conftest.
$ac_ext
20701 cat >>conftest.
$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20717 rm -f conftest.
$ac_objext
20718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20719 (eval $ac_compile) 2>conftest.er1
20721 grep -v '^ *+' conftest.er1
>conftest.err
20723 cat conftest.err
>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; } &&
20732 { ac_try
='test -s conftest.$ac_objext'
20733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734 (eval $ac_try) 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; }; then
20742 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.
$ac_ext >&5
20750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20753 ac_cpp
='$CPP $CPPFLAGS'
20754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20760 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20761 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20763 if test "$wx_cv_cpp_bool" = "yes"; then
20764 cat >>confdefs.h
<<\_ACEOF
20765 #define HAVE_BOOL 1
20772 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20773 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20774 if test "${wx_cv_explicit+set}" = set; then
20775 echo $ECHO_N "(cached) $ECHO_C" >&6
20781 ac_cpp
='$CXXCPP $CPPFLAGS'
20782 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20783 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20784 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20787 cat >conftest.
$ac_ext <<_ACEOF
20790 cat confdefs.h
>>conftest.
$ac_ext
20791 cat >>conftest.
$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20794 class Foo { public: explicit Foo(int) {} };
20806 rm -f conftest.
$ac_objext
20807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20808 (eval $ac_compile) 2>conftest.er1
20810 grep -v '^ *+' conftest.er1
>conftest.err
20812 cat conftest.err
>&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } &&
20815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20817 (eval $ac_try) 2>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); }; } &&
20821 { ac_try
='test -s conftest.$ac_objext'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; }; then
20828 cat >conftest.
$ac_ext <<_ACEOF
20831 cat confdefs.h
>>conftest.
$ac_ext
20832 cat >>conftest.
$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20835 class Foo { public: explicit Foo(int) {} };
20836 static void TakeFoo(const Foo& foo) { }
20849 rm -f conftest.
$ac_objext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20851 (eval $ac_compile) 2>conftest.er1
20853 grep -v '^ *+' conftest.er1
>conftest.err
20855 cat conftest.err
>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } &&
20858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try
='test -s conftest.$ac_objext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.
$ac_ext >&5
20878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.
$ac_ext >&5
20887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20890 ac_cpp
='$CPP $CPPFLAGS'
20891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20897 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20898 echo "${ECHO_T}$wx_cv_explicit" >&6
20900 if test "$wx_cv_explicit" = "yes"; then
20901 cat >>confdefs.h
<<\_ACEOF
20902 #define HAVE_EXPLICIT 1
20908 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20909 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20910 if test "${ac_cv_cxx_const_cast+set}" = set; then
20911 echo $ECHO_N "(cached) $ECHO_C" >&6
20916 ac_cpp
='$CXXCPP $CPPFLAGS'
20917 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20918 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20919 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20921 cat >conftest.
$ac_ext <<_ACEOF
20924 cat confdefs.h
>>conftest.
$ac_ext
20925 cat >>conftest.
$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20931 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20936 rm -f conftest.
$ac_objext
20937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20938 (eval $ac_compile) 2>conftest.er1
20940 grep -v '^ *+' conftest.er1
>conftest.err
20942 cat conftest.err
>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; } &&
20951 { ac_try
='test -s conftest.$ac_objext'
20952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20953 (eval $ac_try) 2>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); }; }; then
20957 ac_cv_cxx_const_cast
=yes
20959 echo "$as_me: failed program was:" >&5
20960 sed 's/^/| /' conftest.
$ac_ext >&5
20962 ac_cv_cxx_const_cast
=no
20964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20966 ac_cpp
='$CPP $CPPFLAGS'
20967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20973 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20974 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20975 if test "$ac_cv_cxx_const_cast" = yes; then
20977 cat >>confdefs.h
<<\_ACEOF
20978 #define HAVE_CONST_CAST
20983 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20984 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20985 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20986 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 ac_cpp
='$CXXCPP $CPPFLAGS'
20992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20996 cat >conftest.
$ac_ext <<_ACEOF
20999 cat confdefs.h
>>conftest.
$ac_ext
21000 cat >>conftest.
$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 #include <typeinfo>
21003 class Base { public : Base () {} virtual void f () = 0;};
21004 class Derived : public Base { public : Derived () {} virtual void f () {} };
21005 class Unrelated { public : Unrelated () {} };
21006 int g (Unrelated&) { return 0; }
21011 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21016 rm -f conftest.
$ac_objext
21017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21018 (eval $ac_compile) 2>conftest.er1
21020 grep -v '^ *+' conftest.er1
>conftest.err
21022 cat conftest.err
>&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } &&
21025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; } &&
21031 { ac_try
='test -s conftest.$ac_objext'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; }; then
21037 ac_cv_cxx_reinterpret_cast
=yes
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.
$ac_ext >&5
21042 ac_cv_cxx_reinterpret_cast
=no
21044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21046 ac_cpp
='$CPP $CPPFLAGS'
21047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21053 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21054 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21055 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21057 cat >>confdefs.h
<<\_ACEOF
21058 #define HAVE_REINTERPRET_CAST
21063 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21064 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21065 if test "${ac_cv_cxx_static_cast+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 ac_cpp
='$CXXCPP $CPPFLAGS'
21072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #include <typeinfo>
21083 class Base { public : Base () {} virtual void f () = 0; };
21084 class Derived : public Base { public : Derived () {} virtual void f () {} };
21085 int g (Derived&) { return 0; }
21090 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21095 rm -f conftest.
$ac_objext
21096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21097 (eval $ac_compile) 2>conftest.er1
21099 grep -v '^ *+' conftest.er1
>conftest.err
21101 cat conftest.err
>&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } &&
21104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; } &&
21110 { ac_try
='test -s conftest.$ac_objext'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; }; then
21116 ac_cv_cxx_static_cast
=yes
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.
$ac_ext >&5
21121 ac_cv_cxx_static_cast
=no
21123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21125 ac_cpp
='$CPP $CPPFLAGS'
21126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21132 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21133 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21134 if test "$ac_cv_cxx_static_cast" = yes; then
21136 cat >>confdefs.h
<<\_ACEOF
21137 #define HAVE_STATIC_CAST
21143 if test "$wxUSE_STL" = "yes"; then
21145 ac_cpp
='$CXXCPP $CPPFLAGS'
21146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21151 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21152 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21153 cat >conftest.
$ac_ext <<_ACEOF
21156 cat confdefs.h
>>conftest.
$ac_ext
21157 cat >>conftest.
$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21160 #include <functional>
21161 #include <algorithm>
21167 std::vector<int> moo;
21168 std::list<int> foo;
21169 std::vector<int>::iterator it =
21170 std::find_if(moo.begin(), moo.end(),
21171 std::bind2nd(std::less<int>(), 3));
21176 rm -f conftest.
$ac_objext
21177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21178 (eval $ac_compile) 2>conftest.er1
21180 grep -v '^ *+' conftest.er1
>conftest.err
21182 cat conftest.err
>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } &&
21185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; } &&
21191 { ac_try
='test -s conftest.$ac_objext'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 echo "$as_me:$LINENO: result: yes" >&5
21198 echo "${ECHO_T}yes" >&6
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.
$ac_ext >&5
21203 echo "$as_me:$LINENO: result: no" >&5
21204 echo "${ECHO_T}no" >&6
21205 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21206 echo "$as_me: error: Basic STL functionality missing" >&2;}
21207 { (exit 1); exit 1; }; }
21209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21211 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21212 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21213 cat >conftest.
$ac_ext <<_ACEOF
21216 cat confdefs.h
>>conftest.
$ac_ext
21217 cat >>conftest.
$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21228 rm -f conftest.
$ac_objext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230 (eval $ac_compile) 2>conftest.er1
21232 grep -v '^ *+' conftest.er1
>conftest.err
21234 cat conftest.err
>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } &&
21237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; } &&
21243 { ac_try
='test -s conftest.$ac_objext'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 echo "$as_me:$LINENO: result: yes" >&5
21250 echo "${ECHO_T}yes" >&6
21251 cat >>confdefs.h
<<\_ACEOF
21252 #define HAVE_STD_WSTRING 1
21256 echo "$as_me: failed program was:" >&5
21257 sed 's/^/| /' conftest.
$ac_ext >&5
21259 echo "$as_me:$LINENO: result: no" >&5
21260 echo "${ECHO_T}no" >&6
21262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21264 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21265 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21266 cat >conftest.
$ac_ext <<_ACEOF
21269 cat confdefs.h
>>conftest.
$ac_ext
21270 cat >>conftest.
$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21276 std::string foo, bar;
21278 foo.compare(1, 1, bar);
21279 foo.compare(1, 1, bar, 1, 1);
21281 foo.compare(1, 1, "");
21282 foo.compare(1, 1, "", 2);
21287 rm -f conftest.
$ac_objext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>conftest.er1
21291 grep -v '^ *+' conftest.er1
>conftest.err
21293 cat conftest.err
>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; } &&
21302 { ac_try
='test -s conftest.$ac_objext'
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21304 (eval $ac_try) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21308 echo "$as_me:$LINENO: result: yes" >&5
21309 echo "${ECHO_T}yes" >&6
21310 cat >>confdefs.h
<<\_ACEOF
21311 #define HAVE_STD_STRING_COMPARE 1
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.
$ac_ext >&5
21318 echo "$as_me:$LINENO: result: no" >&5
21319 echo "${ECHO_T}no" >&6
21321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21323 if test "${ac_cv_header_hash_map+set}" = set; then
21324 echo "$as_me:$LINENO: checking for hash_map" >&5
21325 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21326 if test "${ac_cv_header_hash_map+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21330 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21332 # Is the header compilable?
21333 echo "$as_me:$LINENO: checking hash_map usability" >&5
21334 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21335 cat >conftest.
$ac_ext <<_ACEOF
21338 cat confdefs.h
>>conftest.
$ac_ext
21339 cat >>conftest.
$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 $ac_includes_default
21342 #include <hash_map>
21344 rm -f conftest.
$ac_objext
21345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21346 (eval $ac_compile) 2>conftest.er1
21348 grep -v '^ *+' conftest.er1
>conftest.err
21350 cat conftest.err
>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } &&
21353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21355 (eval $ac_try) 2>&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); }; } &&
21359 { ac_try
='test -s conftest.$ac_objext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 ac_header_compiler
=yes
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.
$ac_ext >&5
21370 ac_header_compiler
=no
21372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21373 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21374 echo "${ECHO_T}$ac_header_compiler" >&6
21376 # Is the header present?
21377 echo "$as_me:$LINENO: checking hash_map presence" >&5
21378 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21379 cat >conftest.
$ac_ext <<_ACEOF
21382 cat confdefs.h
>>conftest.
$ac_ext
21383 cat >>conftest.
$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 #include <hash_map>
21387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21390 grep -v '^ *+' conftest.er1
>conftest.err
21392 cat conftest.err
>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); } >/dev
/null
; then
21395 if test -s conftest.err
; then
21396 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21397 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21404 if test -z "$ac_cpp_err"; then
21405 ac_header_preproc
=yes
21407 echo "$as_me: failed program was:" >&5
21408 sed 's/^/| /' conftest.
$ac_ext >&5
21410 ac_header_preproc
=no
21412 rm -f conftest.err conftest.
$ac_ext
21413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21414 echo "${ECHO_T}$ac_header_preproc" >&6
21416 # So? What about this header?
21417 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21419 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21420 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21421 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21422 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21423 ac_header_preproc
=yes
21426 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21427 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21428 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21429 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21430 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21431 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21432 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21433 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21434 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21435 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21436 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21437 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21440 ## ----------------------------------------- ##
21441 ## Report this to wx-dev@lists.wxwidgets.org ##
21442 ## ----------------------------------------- ##
21445 sed "s/^/$as_me: WARNING: /" >&2
21448 echo "$as_me:$LINENO: checking for hash_map" >&5
21449 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21450 if test "${ac_cv_header_hash_map+set}" = set; then
21451 echo $ECHO_N "(cached) $ECHO_C" >&6
21453 ac_cv_header_hash_map
=$ac_header_preproc
21455 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21456 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21459 if test $ac_cv_header_hash_map = yes; then
21460 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21461 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21462 cat >conftest.
$ac_ext <<_ACEOF
21465 cat confdefs.h
>>conftest.
$ac_ext
21466 cat >>conftest.
$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 #include <hash_map>
21469 #include <hash_set>
21473 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21474 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21479 rm -f conftest.
$ac_objext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21481 (eval $ac_compile) 2>conftest.er1
21483 grep -v '^ *+' conftest.er1
>conftest.err
21485 cat conftest.err
>&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } &&
21488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; } &&
21494 { ac_try
='test -s conftest.$ac_objext'
21495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496 (eval $ac_try) 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 echo "$as_me:$LINENO: result: yes" >&5
21501 echo "${ECHO_T}yes" >&6
21502 cat >>confdefs.h
<<\_ACEOF
21503 #define HAVE_HASH_MAP 1
21506 cat >>confdefs.h
<<\_ACEOF
21507 #define HAVE_STD_HASH_MAP 1
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.
$ac_ext >&5
21514 echo "$as_me:$LINENO: result: no" >&5
21515 echo "${ECHO_T}no" >&6
21517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21523 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21524 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21525 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21526 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21527 echo $ECHO_N "(cached) $ECHO_C" >&6
21529 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21530 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21532 # Is the header compilable?
21533 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21534 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21535 cat >conftest.
$ac_ext <<_ACEOF
21538 cat confdefs.h
>>conftest.
$ac_ext
21539 cat >>conftest.
$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21541 $ac_includes_default
21542 #include <ext/hash_map>
21544 rm -f conftest.
$ac_objext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21546 (eval $ac_compile) 2>conftest.er1
21548 grep -v '^ *+' conftest.er1
>conftest.err
21550 cat conftest.err
>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; } &&
21559 { ac_try
='test -s conftest.$ac_objext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_header_compiler
=yes
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.
$ac_ext >&5
21570 ac_header_compiler
=no
21572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21574 echo "${ECHO_T}$ac_header_compiler" >&6
21576 # Is the header present?
21577 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21578 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21579 cat >conftest.
$ac_ext <<_ACEOF
21582 cat confdefs.h
>>conftest.
$ac_ext
21583 cat >>conftest.
$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585 #include <ext/hash_map>
21587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21590 grep -v '^ *+' conftest.er1
>conftest.err
21592 cat conftest.err
>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } >/dev
/null
; then
21595 if test -s conftest.err
; then
21596 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21597 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21604 if test -z "$ac_cpp_err"; then
21605 ac_header_preproc
=yes
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.
$ac_ext >&5
21610 ac_header_preproc
=no
21612 rm -f conftest.err conftest.
$ac_ext
21613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21614 echo "${ECHO_T}$ac_header_preproc" >&6
21616 # So? What about this header?
21617 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21619 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21620 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21621 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21622 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21623 ac_header_preproc
=yes
21626 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21627 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21628 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21629 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21630 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21631 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21632 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21633 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21634 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21635 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21636 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21637 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21640 ## ----------------------------------------- ##
21641 ## Report this to wx-dev@lists.wxwidgets.org ##
21642 ## ----------------------------------------- ##
21645 sed "s/^/$as_me: WARNING: /" >&2
21648 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21649 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21650 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 ac_cv_header_ext_hash_map
=$ac_header_preproc
21655 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21656 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21659 if test $ac_cv_header_ext_hash_map = yes; then
21660 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21661 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21662 cat >conftest.
$ac_ext <<_ACEOF
21665 cat confdefs.h
>>conftest.
$ac_ext
21666 cat >>conftest.
$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 #include <ext/hash_map>
21669 #include <ext/hash_set>
21673 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21674 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21679 rm -f conftest.
$ac_objext
21680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21681 (eval $ac_compile) 2>conftest.er1
21683 grep -v '^ *+' conftest.er1
>conftest.err
21685 cat conftest.err
>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } &&
21688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try
='test -s conftest.$ac_objext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 echo "$as_me:$LINENO: result: yes" >&5
21701 echo "${ECHO_T}yes" >&6
21702 cat >>confdefs.h
<<\_ACEOF
21703 #define HAVE_EXT_HASH_MAP 1
21706 cat >>confdefs.h
<<\_ACEOF
21707 #define HAVE_GNU_CXX_HASH_MAP 1
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.
$ac_ext >&5
21714 echo "$as_me:$LINENO: result: no" >&5
21715 echo "${ECHO_T}no" >&6
21717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21724 ac_cpp
='$CPP $CPPFLAGS'
21725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21733 /usr/local/include \
21735 /usr/Motif-2.1/include \
21736 /usr/Motif-1.2/include \
21737 /usr/include/Motif1.2 \
21738 /opt/xpm/include/X11 \
21739 /opt/GBxpm/include/ \
21740 /opt/GBxpm/X11/include/ \
21743 /usr/openwin/include \
21747 /usr/X11R6/include \
21748 /usr/X11R6.4/include \
21749 /usr/X11R5/include \
21750 /usr/X11R4/include \
21752 /usr/include/X11R6 \
21753 /usr/include/X11R5 \
21754 /usr/include/X11R4 \
21756 /usr/local/X11R6/include \
21757 /usr/local/X11R5/include \
21758 /usr/local/X11R4/include \
21760 /usr/local/include/X11R6 \
21761 /usr/local/include/X11R5 \
21762 /usr/local/include/X11R4 \
21766 /usr/local/X11/include \
21767 /usr/local/include/X11 \
21769 /usr/X386/include \
21770 /usr/x386/include \
21771 /usr/XFree86/include/X11 \
21773 X:/XFree86/include \
21774 X:/XFree86/include/X11 \
21777 /usr/local/include/gtk \
21778 /usr/include/glib \
21779 /usr/local/include/glib \
21782 /usr/local/include/qt \
21784 /usr/local/arm/3.3.2/include \
21786 /usr/include/windows \
21787 /usr/include/wine \
21788 /usr/local/include/wine \
21790 /usr/unsupported/include \
21791 /usr/athena/include \
21792 /usr/local/x11r5/include \
21793 /usr/lpp/Xamples/include \
21795 /usr/openwin/share/include"
21797 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21800 cat >confcache
<<\_ACEOF
21801 # This file is a shell script that caches the results of configure
21802 # tests run on this system so they can be shared between configure
21803 # scripts and configure runs, see configure's option --config-cache.
21804 # It is not useful on other systems. If it contains results you don't
21805 # want to keep, you may remove or edit it.
21807 # config.status only pays attention to the cache file if you give it
21808 # the --recheck option to rerun configure.
21810 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21811 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21812 # following values.
21816 # The following way of writing the cache mishandles newlines in values,
21817 # but we know of no workaround that is simple, portable, and efficient.
21818 # So, don't put newlines in cache variables' values.
21819 # Ultrix sh set writes to stderr and can't be redirected directly,
21820 # and sets the high bit in the cache file unless we assign to the vars.
21823 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21825 # `set' does not quote correctly, so add quotes (double-quote
21826 # substitution turns \\\\ into \\, and sed turns \\ into \).
21829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21832 # `set' quotes correctly as required by POSIX, so do not add quotes.
21834 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21841 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21843 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21845 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21846 if test -w $cache_file; then
21847 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21848 cat confcache
>$cache_file
21850 echo "not updating unwritable cache $cache_file"
21855 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21856 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21857 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21858 if test "${wx_cv_lib_glibc21+set}" = set; then
21859 echo $ECHO_N "(cached) $ECHO_C" >&6
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 #include <features.h>
21873 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21874 #error not glibc2.1
21881 rm -f conftest.
$ac_objext
21882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21883 (eval $ac_compile) 2>conftest.er1
21885 grep -v '^ *+' conftest.er1
>conftest.err
21887 cat conftest.err
>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } &&
21890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892 (eval $ac_try) 2>&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; } &&
21896 { ac_try
='test -s conftest.$ac_objext'
21897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21898 (eval $ac_try) 2>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); }; }; then
21903 wx_cv_lib_glibc21
=yes
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.
$ac_ext >&5
21910 wx_cv_lib_glibc21
=no
21914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21917 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21918 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21919 if test "$wx_cv_lib_glibc21" = "yes"; then
21920 cat >>confdefs.h
<<\_ACEOF
21921 #define wxHAVE_GLIBC2 1
21927 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21928 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21929 cat >>confdefs.h
<<\_ACEOF
21930 #define _GNU_SOURCE 1
21938 if test "$wxUSE_REGEX" != "no"; then
21939 cat >>confdefs.h
<<\_ACEOF
21940 #define wxUSE_REGEX 1
21944 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21945 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21946 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21947 wxUSE_REGEX
=builtin
21950 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21951 if test "${ac_cv_header_regex_h+set}" = set; then
21952 echo "$as_me:$LINENO: checking for regex.h" >&5
21953 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21954 if test "${ac_cv_header_regex_h+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21957 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21958 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21960 # Is the header compilable?
21961 echo "$as_me:$LINENO: checking regex.h usability" >&5
21962 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21963 cat >conftest.
$ac_ext <<_ACEOF
21966 cat confdefs.h
>>conftest.
$ac_ext
21967 cat >>conftest.
$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969 $ac_includes_default
21972 rm -f conftest.
$ac_objext
21973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21974 (eval $ac_compile) 2>conftest.er1
21976 grep -v '^ *+' conftest.er1
>conftest.err
21978 cat conftest.err
>&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; } &&
21987 { ac_try
='test -s conftest.$ac_objext'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21993 ac_header_compiler
=yes
21995 echo "$as_me: failed program was:" >&5
21996 sed 's/^/| /' conftest.
$ac_ext >&5
21998 ac_header_compiler
=no
22000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22002 echo "${ECHO_T}$ac_header_compiler" >&6
22004 # Is the header present?
22005 echo "$as_me:$LINENO: checking regex.h presence" >&5
22006 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22007 cat >conftest.
$ac_ext <<_ACEOF
22010 cat confdefs.h
>>conftest.
$ac_ext
22011 cat >>conftest.
$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22018 grep -v '^ *+' conftest.er1
>conftest.err
22020 cat conftest.err
>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); } >/dev
/null
; then
22023 if test -s conftest.err
; then
22024 ac_cpp_err
=$ac_c_preproc_warn_flag
22025 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22032 if test -z "$ac_cpp_err"; then
22033 ac_header_preproc
=yes
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.
$ac_ext >&5
22038 ac_header_preproc
=no
22040 rm -f conftest.err conftest.
$ac_ext
22041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22042 echo "${ECHO_T}$ac_header_preproc" >&6
22044 # So? What about this header?
22045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22047 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22048 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22050 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22051 ac_header_preproc
=yes
22054 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22055 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22056 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22057 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22058 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22059 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22060 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22061 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22062 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22063 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22064 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22065 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22068 ## ----------------------------------------- ##
22069 ## Report this to wx-dev@lists.wxwidgets.org ##
22070 ## ----------------------------------------- ##
22073 sed "s/^/$as_me: WARNING: /" >&2
22076 echo "$as_me:$LINENO: checking for regex.h" >&5
22077 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22078 if test "${ac_cv_header_regex_h+set}" = set; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22081 ac_cv_header_regex_h
=$ac_header_preproc
22083 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22084 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22087 if test $ac_cv_header_regex_h = yes; then
22089 for ac_func
in regcomp
22091 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22092 echo "$as_me:$LINENO: checking for $ac_func" >&5
22093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22094 if eval "test \"\${$as_ac_var+set}\" = set"; then
22095 echo $ECHO_N "(cached) $ECHO_C" >&6
22097 cat >conftest.
$ac_ext <<_ACEOF
22100 cat confdefs.h
>>conftest.
$ac_ext
22101 cat >>conftest.
$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22105 #define $ac_func innocuous_$ac_func
22107 /* System header to define __stub macros and hopefully few prototypes,
22108 which can conflict with char $ac_func (); below.
22109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22110 <limits.h> exists even on freestanding compilers. */
22113 # include <limits.h>
22115 # include <assert.h>
22120 /* Override any gcc2 internal prototype to avoid an error. */
22125 /* We use char because int might match the return type of a gcc2
22126 builtin and then its argument prototype would still apply. */
22128 /* The GNU C library defines this for functions which it implements
22129 to always fail with ENOSYS. Some functions are actually named
22130 something starting with __ and the normal name is an alias. */
22131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22134 char (*f) () = $ac_func;
22143 return f != $ac_func;
22148 rm -f conftest.
$ac_objext conftest
$ac_exeext
22149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22150 (eval $ac_link) 2>conftest.er1
22152 grep -v '^ *+' conftest.er1
>conftest.err
22154 cat conftest.err
>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } &&
22157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22159 (eval $ac_try) 2>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; } &&
22163 { ac_try
='test -s conftest$ac_exeext'
22164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22165 (eval $ac_try) 2>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); }; }; then
22169 eval "$as_ac_var=yes"
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.
$ac_ext >&5
22174 eval "$as_ac_var=no"
22176 rm -f conftest.err conftest.
$ac_objext \
22177 conftest
$ac_exeext conftest.
$ac_ext
22179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22181 if test `eval echo '${'$as_ac_var'}'` = yes; then
22182 cat >>confdefs.h
<<_ACEOF
22183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22193 if test "x$ac_cv_func_regcomp" != "xyes"; then
22194 if test "$wxUSE_REGEX" = "sys" ; then
22195 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22196 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22197 { (exit 1); exit 1; }; }
22199 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22200 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22201 wxUSE_REGEX
=builtin
22205 cat >>confdefs.h
<<\_ACEOF
22206 #define WX_NO_REGEX_ADVANCED 1
22215 if test "$wxUSE_ZLIB" != "no" ; then
22216 cat >>confdefs.h
<<\_ACEOF
22217 #define wxUSE_ZLIB 1
22221 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22222 if test "$USE_DARWIN" = 1; then
22223 system_zlib_h_ok
="yes"
22225 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22226 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22227 if test "${ac_cv_header_zlib_h+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 if test "$cross_compiling" = yes; then
22231 unset ac_cv_header_zlib_h
22234 cat >conftest.
$ac_ext <<_ACEOF
22237 cat confdefs.h
>>conftest.
$ac_ext
22238 cat >>conftest.
$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22246 FILE *f=fopen("conftestval", "w");
22249 ZLIB_VERSION[0] == '1' &&
22250 (ZLIB_VERSION[2] > '1' ||
22251 (ZLIB_VERSION[2] == '1' &&
22252 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22257 rm -f conftest
$ac_exeext
22258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22259 (eval $ac_link) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 ac_cv_header_zlib_h
=`cat conftestval`
22270 echo "$as_me: program exited with status $ac_status" >&5
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.
$ac_ext >&5
22274 ( exit $ac_status )
22275 ac_cv_header_zlib_h
=no
22277 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22281 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22282 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22283 if test "${ac_cv_header_zlib_h+set}" = set; then
22284 echo "$as_me:$LINENO: checking for zlib.h" >&5
22285 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22286 if test "${ac_cv_header_zlib_h+set}" = set; then
22287 echo $ECHO_N "(cached) $ECHO_C" >&6
22289 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22290 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22292 # Is the header compilable?
22293 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22294 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22295 cat >conftest.
$ac_ext <<_ACEOF
22298 cat confdefs.h
>>conftest.
$ac_ext
22299 cat >>conftest.
$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22301 $ac_includes_default
22304 rm -f conftest.
$ac_objext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22306 (eval $ac_compile) 2>conftest.er1
22308 grep -v '^ *+' conftest.er1
>conftest.err
22310 cat conftest.err
>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; } &&
22319 { ac_try
='test -s conftest.$ac_objext'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; }; then
22325 ac_header_compiler
=yes
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.
$ac_ext >&5
22330 ac_header_compiler
=no
22332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22334 echo "${ECHO_T}$ac_header_compiler" >&6
22336 # Is the header present?
22337 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22338 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22339 cat >conftest.
$ac_ext <<_ACEOF
22342 cat confdefs.h
>>conftest.
$ac_ext
22343 cat >>conftest.
$ac_ext <<_ACEOF
22344 /* end confdefs.h. */
22347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22350 grep -v '^ *+' conftest.er1
>conftest.err
22352 cat conftest.err
>&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } >/dev
/null
; then
22355 if test -s conftest.err
; then
22356 ac_cpp_err
=$ac_c_preproc_warn_flag
22357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22364 if test -z "$ac_cpp_err"; then
22365 ac_header_preproc
=yes
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.
$ac_ext >&5
22370 ac_header_preproc
=no
22372 rm -f conftest.err conftest.
$ac_ext
22373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22374 echo "${ECHO_T}$ac_header_preproc" >&6
22376 # So? What about this header?
22377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22379 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22380 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22381 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22382 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22383 ac_header_preproc
=yes
22386 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22387 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22388 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22389 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22390 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22391 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22392 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22393 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22394 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22395 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22396 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22397 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22400 ## ----------------------------------------- ##
22401 ## Report this to wx-dev@lists.wxwidgets.org ##
22402 ## ----------------------------------------- ##
22405 sed "s/^/$as_me: WARNING: /" >&2
22408 echo "$as_me:$LINENO: checking for zlib.h" >&5
22409 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22410 if test "${ac_cv_header_zlib_h+set}" = set; then
22411 echo $ECHO_N "(cached) $ECHO_C" >&6
22413 ac_cv_header_zlib_h
=$ac_header_preproc
22415 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22416 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22422 system_zlib_h_ok
=$ac_cv_header_zlib_h
22425 if test "$system_zlib_h_ok" = "yes"; then
22426 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22427 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22428 if test "${ac_cv_lib_z_deflate+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 ac_check_lib_save_LIBS
=$LIBS
22433 cat >conftest.
$ac_ext <<_ACEOF
22436 cat confdefs.h
>>conftest.
$ac_ext
22437 cat >>conftest.
$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22440 /* Override any gcc2 internal prototype to avoid an error. */
22444 /* We use char because int might match the return type of a gcc2
22445 builtin and then its argument prototype would still apply. */
22455 rm -f conftest.
$ac_objext conftest
$ac_exeext
22456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22457 (eval $ac_link) 2>conftest.er1
22459 grep -v '^ *+' conftest.er1
>conftest.err
22461 cat conftest.err
>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } &&
22464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22466 (eval $ac_try) 2>&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); }; } &&
22470 { ac_try
='test -s conftest$ac_exeext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22476 ac_cv_lib_z_deflate
=yes
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.
$ac_ext >&5
22481 ac_cv_lib_z_deflate
=no
22483 rm -f conftest.err conftest.
$ac_objext \
22484 conftest
$ac_exeext conftest.
$ac_ext
22485 LIBS
=$ac_check_lib_save_LIBS
22487 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22488 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22489 if test $ac_cv_lib_z_deflate = yes; then
22495 if test "x$ZLIB_LINK" = "x" ; then
22496 if test "$wxUSE_ZLIB" = "sys" ; then
22497 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22498 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22499 { (exit 1); exit 1; }; }
22501 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22502 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22513 if test "$wxUSE_LIBPNG" != "no" ; then
22514 cat >>confdefs.h
<<\_ACEOF
22515 #define wxUSE_LIBPNG 1
22519 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22520 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22521 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22525 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22526 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22527 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22528 wxUSE_LIBPNG
=builtin
22531 if test "$wxUSE_MGL" != 1 ; then
22532 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22533 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22534 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22535 if test "${ac_cv_header_png_h+set}" = set; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22538 if test "$cross_compiling" = yes; then
22539 unset ac_cv_header_png_h
22542 cat >conftest.
$ac_ext <<_ACEOF
22545 cat confdefs.h
>>conftest.
$ac_ext
22546 cat >>conftest.
$ac_ext <<_ACEOF
22547 /* end confdefs.h. */
22554 FILE *f=fopen("conftestval", "w");
22557 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22562 rm -f conftest
$ac_exeext
22563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22564 (eval $ac_link) 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22569 (eval $ac_try) 2>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); }; }; then
22573 ac_cv_header_png_h
=`cat conftestval`
22575 echo "$as_me: program exited with status $ac_status" >&5
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.
$ac_ext >&5
22579 ( exit $ac_status )
22580 ac_cv_header_png_h
=no
22582 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22586 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22587 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22588 if test "${ac_cv_header_png_h+set}" = set; then
22589 echo "$as_me:$LINENO: checking for png.h" >&5
22590 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22591 if test "${ac_cv_header_png_h+set}" = set; then
22592 echo $ECHO_N "(cached) $ECHO_C" >&6
22594 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22595 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22597 # Is the header compilable?
22598 echo "$as_me:$LINENO: checking png.h usability" >&5
22599 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22600 cat >conftest.
$ac_ext <<_ACEOF
22603 cat confdefs.h
>>conftest.
$ac_ext
22604 cat >>conftest.
$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 $ac_includes_default
22609 rm -f conftest.
$ac_objext
22610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22611 (eval $ac_compile) 2>conftest.er1
22613 grep -v '^ *+' conftest.er1
>conftest.err
22615 cat conftest.err
>&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } &&
22618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; } &&
22624 { ac_try
='test -s conftest.$ac_objext'
22625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22626 (eval $ac_try) 2>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); }; }; then
22630 ac_header_compiler
=yes
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.
$ac_ext >&5
22635 ac_header_compiler
=no
22637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22639 echo "${ECHO_T}$ac_header_compiler" >&6
22641 # Is the header present?
22642 echo "$as_me:$LINENO: checking png.h presence" >&5
22643 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22644 cat >conftest.
$ac_ext <<_ACEOF
22647 cat confdefs.h
>>conftest.
$ac_ext
22648 cat >>conftest.
$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22655 grep -v '^ *+' conftest.er1
>conftest.err
22657 cat conftest.err
>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } >/dev
/null
; then
22660 if test -s conftest.err
; then
22661 ac_cpp_err
=$ac_c_preproc_warn_flag
22662 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22669 if test -z "$ac_cpp_err"; then
22670 ac_header_preproc
=yes
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.
$ac_ext >&5
22675 ac_header_preproc
=no
22677 rm -f conftest.err conftest.
$ac_ext
22678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22679 echo "${ECHO_T}$ac_header_preproc" >&6
22681 # So? What about this header?
22682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22684 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22685 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22686 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22687 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22688 ac_header_preproc
=yes
22691 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22692 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22693 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22694 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22695 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22696 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22697 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22698 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22699 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22700 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22701 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22702 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22705 ## ----------------------------------------- ##
22706 ## Report this to wx-dev@lists.wxwidgets.org ##
22707 ## ----------------------------------------- ##
22710 sed "s/^/$as_me: WARNING: /" >&2
22713 echo "$as_me:$LINENO: checking for png.h" >&5
22714 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22715 if test "${ac_cv_header_png_h+set}" = set; then
22716 echo $ECHO_N "(cached) $ECHO_C" >&6
22718 ac_cv_header_png_h
=$ac_header_preproc
22720 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22721 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22727 if test "$ac_cv_header_png_h" = "yes"; then
22728 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22729 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22730 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22731 echo $ECHO_N "(cached) $ECHO_C" >&6
22733 ac_check_lib_save_LIBS
=$LIBS
22734 LIBS
="-lpng -lz -lm $LIBS"
22735 cat >conftest.
$ac_ext <<_ACEOF
22738 cat confdefs.h
>>conftest.
$ac_ext
22739 cat >>conftest.
$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22742 /* Override any gcc2 internal prototype to avoid an error. */
22746 /* We use char because int might match the return type of a gcc2
22747 builtin and then its argument prototype would still apply. */
22748 char png_check_sig ();
22757 rm -f conftest.
$ac_objext conftest
$ac_exeext
22758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22759 (eval $ac_link) 2>conftest.er1
22761 grep -v '^ *+' conftest.er1
>conftest.err
22763 cat conftest.err
>&5
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); } &&
22766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22768 (eval $ac_try) 2>&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); }; } &&
22772 { ac_try
='test -s conftest$ac_exeext'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 ac_cv_lib_png_png_check_sig
=yes
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.
$ac_ext >&5
22783 ac_cv_lib_png_png_check_sig
=no
22785 rm -f conftest.err conftest.
$ac_objext \
22786 conftest
$ac_exeext conftest.
$ac_ext
22787 LIBS
=$ac_check_lib_save_LIBS
22789 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22790 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22791 if test $ac_cv_lib_png_png_check_sig = yes; then
22792 PNG_LINK
=" -lpng -lz"
22797 if test "x$PNG_LINK" = "x" ; then
22798 if test "$wxUSE_LIBPNG" = "sys" ; then
22799 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22800 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22801 { (exit 1); exit 1; }; }
22803 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22804 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22805 wxUSE_LIBPNG
=builtin
22813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22818 if test "$wxUSE_LIBJPEG" != "no" ; then
22819 cat >>confdefs.h
<<\_ACEOF
22820 #define wxUSE_LIBJPEG 1
22824 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22825 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22826 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22830 if test "$wxUSE_MGL" != 1 ; then
22831 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22832 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22833 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22834 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 cat >conftest.
$ac_ext <<_ACEOF
22840 cat confdefs.h
>>conftest.
$ac_ext
22841 cat >>conftest.
$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22844 #undef HAVE_STDLIB_H
22846 #include <jpeglib.h>
22857 rm -f conftest.
$ac_objext
22858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22859 (eval $ac_compile) 2>conftest.er1
22861 grep -v '^ *+' conftest.er1
>conftest.err
22863 cat conftest.err
>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); } &&
22866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; } &&
22872 { ac_try
='test -s conftest.$ac_objext'
22873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22874 (eval $ac_try) 2>&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); }; }; then
22878 ac_cv_header_jpeglib_h
=yes
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.
$ac_ext >&5
22883 ac_cv_header_jpeglib_h
=no
22886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22890 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22891 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22893 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22894 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22895 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22896 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22897 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 ac_check_lib_save_LIBS
=$LIBS
22900 LIBS
="-ljpeg $LIBS"
22901 cat >conftest.
$ac_ext <<_ACEOF
22904 cat confdefs.h
>>conftest.
$ac_ext
22905 cat >>conftest.
$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22908 /* Override any gcc2 internal prototype to avoid an error. */
22912 /* We use char because int might match the return type of a gcc2
22913 builtin and then its argument prototype would still apply. */
22914 char jpeg_read_header ();
22918 jpeg_read_header ();
22923 rm -f conftest.
$ac_objext conftest
$ac_exeext
22924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22925 (eval $ac_link) 2>conftest.er1
22927 grep -v '^ *+' conftest.er1
>conftest.err
22929 cat conftest.err
>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); } &&
22932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; } &&
22938 { ac_try
='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_cv_lib_jpeg_jpeg_read_header
=yes
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.
$ac_ext >&5
22949 ac_cv_lib_jpeg_jpeg_read_header
=no
22951 rm -f conftest.err conftest.
$ac_objext \
22952 conftest
$ac_exeext conftest.
$ac_ext
22953 LIBS
=$ac_check_lib_save_LIBS
22955 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22956 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22957 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22958 JPEG_LINK
=" -ljpeg"
22963 if test "x$JPEG_LINK" = "x" ; then
22964 if test "$wxUSE_LIBJPEG" = "sys" ; then
22965 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22966 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22967 { (exit 1); exit 1; }; }
22969 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22970 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22971 wxUSE_LIBJPEG
=builtin
22982 TIFF_PREREQ_LINKS
=-lm
22983 if test "$wxUSE_LIBTIFF" != "no" ; then
22984 cat >>confdefs.h
<<\_ACEOF
22985 #define wxUSE_LIBTIFF 1
22989 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22990 if test "$wxUSE_LIBJPEG" = "sys"; then
22991 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22993 if test "$wxUSE_ZLIB" = "sys"; then
22994 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22996 if test "${ac_cv_header_tiffio_h+set}" = set; then
22997 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22998 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22999 if test "${ac_cv_header_tiffio_h+set}" = set; then
23000 echo $ECHO_N "(cached) $ECHO_C" >&6
23002 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23003 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23005 # Is the header compilable?
23006 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23007 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23008 cat >conftest.
$ac_ext <<_ACEOF
23011 cat confdefs.h
>>conftest.
$ac_ext
23012 cat >>conftest.
$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 #include <tiffio.h>
23017 rm -f conftest.
$ac_objext
23018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23019 (eval $ac_compile) 2>conftest.er1
23021 grep -v '^ *+' conftest.er1
>conftest.err
23023 cat conftest.err
>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } &&
23026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028 (eval $ac_try) 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; } &&
23032 { ac_try
='test -s conftest.$ac_objext'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; }; then
23038 ac_header_compiler
=yes
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.
$ac_ext >&5
23043 ac_header_compiler
=no
23045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23047 echo "${ECHO_T}$ac_header_compiler" >&6
23049 # Is the header present?
23050 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23051 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23052 cat >conftest.
$ac_ext <<_ACEOF
23055 cat confdefs.h
>>conftest.
$ac_ext
23056 cat >>conftest.
$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 #include <tiffio.h>
23060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23061 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23063 grep -v '^ *+' conftest.er1
>conftest.err
23065 cat conftest.err
>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } >/dev
/null
; then
23068 if test -s conftest.err
; then
23069 ac_cpp_err
=$ac_c_preproc_warn_flag
23070 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23077 if test -z "$ac_cpp_err"; then
23078 ac_header_preproc
=yes
23080 echo "$as_me: failed program was:" >&5
23081 sed 's/^/| /' conftest.
$ac_ext >&5
23083 ac_header_preproc
=no
23085 rm -f conftest.err conftest.
$ac_ext
23086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23087 echo "${ECHO_T}$ac_header_preproc" >&6
23089 # So? What about this header?
23090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23092 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23093 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23094 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23095 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23096 ac_header_preproc
=yes
23099 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23100 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23101 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23102 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23103 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23104 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23105 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23106 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23107 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23108 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23109 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23110 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23113 ## ----------------------------------------- ##
23114 ## Report this to wx-dev@lists.wxwidgets.org ##
23115 ## ----------------------------------------- ##
23118 sed "s/^/$as_me: WARNING: /" >&2
23121 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23122 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23123 if test "${ac_cv_header_tiffio_h+set}" = set; then
23124 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 ac_cv_header_tiffio_h
=$ac_header_preproc
23128 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23129 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23132 if test $ac_cv_header_tiffio_h = yes; then
23134 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23135 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23136 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23137 echo $ECHO_N "(cached) $ECHO_C" >&6
23139 ac_check_lib_save_LIBS
=$LIBS
23140 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23141 cat >conftest.
$ac_ext <<_ACEOF
23144 cat confdefs.h
>>conftest.
$ac_ext
23145 cat >>conftest.
$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23148 /* Override any gcc2 internal prototype to avoid an error. */
23152 /* We use char because int might match the return type of a gcc2
23153 builtin and then its argument prototype would still apply. */
23163 rm -f conftest.
$ac_objext conftest
$ac_exeext
23164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23165 (eval $ac_link) 2>conftest.er1
23167 grep -v '^ *+' conftest.er1
>conftest.err
23169 cat conftest.err
>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } &&
23172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; } &&
23178 { ac_try
='test -s conftest$ac_exeext'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; }; then
23184 ac_cv_lib_tiff_TIFFError
=yes
23186 echo "$as_me: failed program was:" >&5
23187 sed 's/^/| /' conftest.
$ac_ext >&5
23189 ac_cv_lib_tiff_TIFFError
=no
23191 rm -f conftest.err conftest.
$ac_objext \
23192 conftest
$ac_exeext conftest.
$ac_ext
23193 LIBS
=$ac_check_lib_save_LIBS
23195 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23196 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23197 if test $ac_cv_lib_tiff_TIFFError = yes; then
23198 TIFF_LINK
=" -ltiff"
23207 if test "x$TIFF_LINK" = "x" ; then
23208 if test "$wxUSE_LIBTIFF" = "sys" ; then
23209 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23210 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23211 { (exit 1); exit 1; }; }
23213 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23214 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23215 wxUSE_LIBTIFF
=builtin
23224 if test "$wxUSE_EXPAT" != "no"; then
23226 cat >>confdefs.h
<<\_ACEOF
23227 #define wxUSE_EXPAT 1
23230 cat >>confdefs.h
<<\_ACEOF
23231 #define wxUSE_XML 1
23235 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23236 if test "${ac_cv_header_expat_h+set}" = set; then
23237 echo "$as_me:$LINENO: checking for expat.h" >&5
23238 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23239 if test "${ac_cv_header_expat_h+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23243 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23245 # Is the header compilable?
23246 echo "$as_me:$LINENO: checking expat.h usability" >&5
23247 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23248 cat >conftest.
$ac_ext <<_ACEOF
23251 cat confdefs.h
>>conftest.
$ac_ext
23252 cat >>conftest.
$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254 $ac_includes_default
23257 rm -f conftest.
$ac_objext
23258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23259 (eval $ac_compile) 2>conftest.er1
23261 grep -v '^ *+' conftest.er1
>conftest.err
23263 cat conftest.err
>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } &&
23266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23268 (eval $ac_try) 2>&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); }; } &&
23272 { ac_try
='test -s conftest.$ac_objext'
23273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23274 (eval $ac_try) 2>&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; }; then
23278 ac_header_compiler
=yes
23280 echo "$as_me: failed program was:" >&5
23281 sed 's/^/| /' conftest.
$ac_ext >&5
23283 ac_header_compiler
=no
23285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23286 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23287 echo "${ECHO_T}$ac_header_compiler" >&6
23289 # Is the header present?
23290 echo "$as_me:$LINENO: checking expat.h presence" >&5
23291 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23292 cat >conftest.
$ac_ext <<_ACEOF
23295 cat confdefs.h
>>conftest.
$ac_ext
23296 cat >>conftest.
$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23303 grep -v '^ *+' conftest.er1
>conftest.err
23305 cat conftest.err
>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); } >/dev
/null
; then
23308 if test -s conftest.err
; then
23309 ac_cpp_err
=$ac_c_preproc_warn_flag
23310 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23317 if test -z "$ac_cpp_err"; then
23318 ac_header_preproc
=yes
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.
$ac_ext >&5
23323 ac_header_preproc
=no
23325 rm -f conftest.err conftest.
$ac_ext
23326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23327 echo "${ECHO_T}$ac_header_preproc" >&6
23329 # So? What about this header?
23330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23332 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23333 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23334 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23335 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23336 ac_header_preproc
=yes
23339 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23340 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23341 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23342 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23343 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23344 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23345 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23346 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23347 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23348 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23349 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23350 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23353 ## ----------------------------------------- ##
23354 ## Report this to wx-dev@lists.wxwidgets.org ##
23355 ## ----------------------------------------- ##
23358 sed "s/^/$as_me: WARNING: /" >&2
23361 echo "$as_me:$LINENO: checking for expat.h" >&5
23362 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23363 if test "${ac_cv_header_expat_h+set}" = set; then
23364 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 ac_cv_header_expat_h
=$ac_header_preproc
23368 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23369 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23372 if test $ac_cv_header_expat_h = yes; then
23377 if test "x$found_expat_h" = "x1"; then
23378 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23379 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23380 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23381 echo $ECHO_N "(cached) $ECHO_C" >&6
23387 ac_cpp
='$CXXCPP $CPPFLAGS'
23388 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23392 cat >conftest.
$ac_ext <<_ACEOF
23395 cat confdefs.h
>>conftest.
$ac_ext
23396 cat >>conftest.
$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23407 rm -f conftest.
$ac_objext
23408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23409 (eval $ac_compile) 2>conftest.er1
23411 grep -v '^ *+' conftest.er1
>conftest.err
23413 cat conftest.err
>&5
23414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } &&
23416 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23418 (eval $ac_try) 2>&5
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); }; } &&
23422 { ac_try
='test -s conftest.$ac_objext'
23423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23424 (eval $ac_try) 2>&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; }; then
23428 wx_cv_expat_is_not_broken
=yes
23430 echo "$as_me: failed program was:" >&5
23431 sed 's/^/| /' conftest.
$ac_ext >&5
23433 wx_cv_expat_is_not_broken
=no
23436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23438 ac_cpp
='$CPP $CPPFLAGS'
23439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23446 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23447 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23448 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23449 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23450 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23451 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23452 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 ac_check_lib_save_LIBS
=$LIBS
23455 LIBS
="-lexpat $LIBS"
23456 cat >conftest.
$ac_ext <<_ACEOF
23459 cat confdefs.h
>>conftest.
$ac_ext
23460 cat >>conftest.
$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23463 /* Override any gcc2 internal prototype to avoid an error. */
23467 /* We use char because int might match the return type of a gcc2
23468 builtin and then its argument prototype would still apply. */
23469 char XML_ParserCreate ();
23473 XML_ParserCreate ();
23478 rm -f conftest.
$ac_objext conftest
$ac_exeext
23479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23480 (eval $ac_link) 2>conftest.er1
23482 grep -v '^ *+' conftest.er1
>conftest.err
23484 cat conftest.err
>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); } &&
23487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23489 (eval $ac_try) 2>&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); }; } &&
23493 { ac_try
='test -s conftest$ac_exeext'
23494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; }; then
23499 ac_cv_lib_expat_XML_ParserCreate
=yes
23501 echo "$as_me: failed program was:" >&5
23502 sed 's/^/| /' conftest.
$ac_ext >&5
23504 ac_cv_lib_expat_XML_ParserCreate
=no
23506 rm -f conftest.err conftest.
$ac_objext \
23507 conftest
$ac_exeext conftest.
$ac_ext
23508 LIBS
=$ac_check_lib_save_LIBS
23510 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23511 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23512 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23513 EXPAT_LINK
=" -lexpat"
23518 if test "x$EXPAT_LINK" = "x" ; then
23519 if test "$wxUSE_EXPAT" = "sys" ; then
23520 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23521 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23522 { (exit 1); exit 1; }; }
23524 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23525 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23526 wxUSE_EXPAT
=builtin
23532 if test "$wxUSE_EXPAT" = "builtin" ; then
23535 subdirs
="$subdirs src/expat"
23542 if test "$wxUSE_LIBMSPACK" != "no"; then
23543 if test "${ac_cv_header_mspack_h+set}" = set; then
23544 echo "$as_me:$LINENO: checking for mspack.h" >&5
23545 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23546 if test "${ac_cv_header_mspack_h+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23549 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23550 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23552 # Is the header compilable?
23553 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23554 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23555 cat >conftest.
$ac_ext <<_ACEOF
23558 cat confdefs.h
>>conftest.
$ac_ext
23559 cat >>conftest.
$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 $ac_includes_default
23562 #include <mspack.h>
23564 rm -f conftest.
$ac_objext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23566 (eval $ac_compile) 2>conftest.er1
23568 grep -v '^ *+' conftest.er1
>conftest.err
23570 cat conftest.err
>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; } &&
23579 { ac_try
='test -s conftest.$ac_objext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 ac_header_compiler
=yes
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.
$ac_ext >&5
23590 ac_header_compiler
=no
23592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23594 echo "${ECHO_T}$ac_header_compiler" >&6
23596 # Is the header present?
23597 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23598 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23599 cat >conftest.
$ac_ext <<_ACEOF
23602 cat confdefs.h
>>conftest.
$ac_ext
23603 cat >>conftest.
$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 #include <mspack.h>
23607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23610 grep -v '^ *+' conftest.er1
>conftest.err
23612 cat conftest.err
>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } >/dev
/null
; then
23615 if test -s conftest.err
; then
23616 ac_cpp_err
=$ac_c_preproc_warn_flag
23617 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23624 if test -z "$ac_cpp_err"; then
23625 ac_header_preproc
=yes
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.
$ac_ext >&5
23630 ac_header_preproc
=no
23632 rm -f conftest.err conftest.
$ac_ext
23633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23634 echo "${ECHO_T}$ac_header_preproc" >&6
23636 # So? What about this header?
23637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23639 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23640 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23641 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23642 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23643 ac_header_preproc
=yes
23646 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23647 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23648 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23649 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23650 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23651 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23652 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23653 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23654 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23655 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23656 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23657 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23660 ## ----------------------------------------- ##
23661 ## Report this to wx-dev@lists.wxwidgets.org ##
23662 ## ----------------------------------------- ##
23665 sed "s/^/$as_me: WARNING: /" >&2
23668 echo "$as_me:$LINENO: checking for mspack.h" >&5
23669 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23670 if test "${ac_cv_header_mspack_h+set}" = set; then
23671 echo $ECHO_N "(cached) $ECHO_C" >&6
23673 ac_cv_header_mspack_h
=$ac_header_preproc
23675 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23676 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23679 if test $ac_cv_header_mspack_h = yes; then
23684 if test "x$found_mspack_h" = "x1"; then
23685 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23686 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23687 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 ac_check_lib_save_LIBS
=$LIBS
23691 LIBS
="-lmspack $LIBS"
23692 cat >conftest.
$ac_ext <<_ACEOF
23695 cat confdefs.h
>>conftest.
$ac_ext
23696 cat >>conftest.
$ac_ext <<_ACEOF
23697 /* end confdefs.h. */
23699 /* Override any gcc2 internal prototype to avoid an error. */
23703 /* We use char because int might match the return type of a gcc2
23704 builtin and then its argument prototype would still apply. */
23705 char mspack_create_chm_decompressor ();
23709 mspack_create_chm_decompressor ();
23714 rm -f conftest.
$ac_objext conftest
$ac_exeext
23715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23716 (eval $ac_link) 2>conftest.er1
23718 grep -v '^ *+' conftest.er1
>conftest.err
23720 cat conftest.err
>&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23725 (eval $ac_try) 2>&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); }; } &&
23729 { ac_try
='test -s conftest$ac_exeext'
23730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23731 (eval $ac_try) 2>&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); }; }; then
23735 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.
$ac_ext >&5
23740 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23742 rm -f conftest.err conftest.
$ac_objext \
23743 conftest
$ac_exeext conftest.
$ac_ext
23744 LIBS
=$ac_check_lib_save_LIBS
23746 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23747 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23748 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23749 MSPACK_LINK
=" -lmspack"
23753 if test "x$MSPACK_LINK" = "x" ; then
23758 if test "$wxUSE_LIBMSPACK" != "no"; then
23759 cat >>confdefs.h
<<\_ACEOF
23760 #define wxUSE_LIBMSPACK 1
23774 if test "$USE_WIN32" = 1 ; then
23776 for ac_header
in w32api.h
23778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23780 echo "$as_me:$LINENO: checking for $ac_header" >&5
23781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23783 echo $ECHO_N "(cached) $ECHO_C" >&6
23785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23788 # Is the header compilable?
23789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23791 cat >conftest.
$ac_ext <<_ACEOF
23794 cat confdefs.h
>>conftest.
$ac_ext
23795 cat >>conftest.
$ac_ext <<_ACEOF
23796 /* end confdefs.h. */
23797 $ac_includes_default
23798 #include <$ac_header>
23800 rm -f conftest.
$ac_objext
23801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23802 (eval $ac_compile) 2>conftest.er1
23804 grep -v '^ *+' conftest.er1
>conftest.err
23806 cat conftest.err
>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } &&
23809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try
='test -s conftest.$ac_objext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 ac_header_compiler
=yes
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.
$ac_ext >&5
23826 ac_header_compiler
=no
23828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23830 echo "${ECHO_T}$ac_header_compiler" >&6
23832 # Is the header present?
23833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23835 cat >conftest.
$ac_ext <<_ACEOF
23838 cat confdefs.h
>>conftest.
$ac_ext
23839 cat >>conftest.
$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #include <$ac_header>
23843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23846 grep -v '^ *+' conftest.er1
>conftest.err
23848 cat conftest.err
>&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } >/dev
/null
; then
23851 if test -s conftest.err
; then
23852 ac_cpp_err
=$ac_c_preproc_warn_flag
23853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23860 if test -z "$ac_cpp_err"; then
23861 ac_header_preproc
=yes
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.
$ac_ext >&5
23866 ac_header_preproc
=no
23868 rm -f conftest.err conftest.
$ac_ext
23869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23870 echo "${ECHO_T}$ac_header_preproc" >&6
23872 # So? What about this header?
23873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23879 ac_header_preproc
=yes
23882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23896 ## ----------------------------------------- ##
23897 ## Report this to wx-dev@lists.wxwidgets.org ##
23898 ## ----------------------------------------- ##
23901 sed "s/^/$as_me: WARNING: /" >&2
23904 echo "$as_me:$LINENO: checking for $ac_header" >&5
23905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23907 echo $ECHO_N "(cached) $ECHO_C" >&6
23909 eval "$as_ac_Header=\$ac_header_preproc"
23911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23916 cat >>confdefs.h
<<_ACEOF
23917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23924 if test "${ac_cv_header_windows_h+set}" = set; then
23925 echo "$as_me:$LINENO: checking for windows.h" >&5
23926 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23927 if test "${ac_cv_header_windows_h+set}" = set; then
23928 echo $ECHO_N "(cached) $ECHO_C" >&6
23930 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23931 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23933 # Is the header compilable?
23934 echo "$as_me:$LINENO: checking windows.h usability" >&5
23935 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23936 cat >conftest.
$ac_ext <<_ACEOF
23939 cat confdefs.h
>>conftest.
$ac_ext
23940 cat >>conftest.
$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942 $ac_includes_default
23943 #include <windows.h>
23945 rm -f conftest.
$ac_objext
23946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23947 (eval $ac_compile) 2>conftest.er1
23949 grep -v '^ *+' conftest.er1
>conftest.err
23951 cat conftest.err
>&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } &&
23954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23956 (eval $ac_try) 2>&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; } &&
23960 { ac_try
='test -s conftest.$ac_objext'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; }; then
23966 ac_header_compiler
=yes
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.
$ac_ext >&5
23971 ac_header_compiler
=no
23973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23975 echo "${ECHO_T}$ac_header_compiler" >&6
23977 # Is the header present?
23978 echo "$as_me:$LINENO: checking windows.h presence" >&5
23979 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23980 cat >conftest.
$ac_ext <<_ACEOF
23983 cat confdefs.h
>>conftest.
$ac_ext
23984 cat >>conftest.
$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 #include <windows.h>
23988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23991 grep -v '^ *+' conftest.er1
>conftest.err
23993 cat conftest.err
>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } >/dev
/null
; then
23996 if test -s conftest.err
; then
23997 ac_cpp_err
=$ac_c_preproc_warn_flag
23998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24005 if test -z "$ac_cpp_err"; then
24006 ac_header_preproc
=yes
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.
$ac_ext >&5
24011 ac_header_preproc
=no
24013 rm -f conftest.err conftest.
$ac_ext
24014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24015 echo "${ECHO_T}$ac_header_preproc" >&6
24017 # So? What about this header?
24018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24020 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24021 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24022 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24023 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24024 ac_header_preproc
=yes
24027 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24028 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24029 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24030 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24031 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24032 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24033 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24034 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24035 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24036 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24037 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24038 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24041 ## ----------------------------------------- ##
24042 ## Report this to wx-dev@lists.wxwidgets.org ##
24043 ## ----------------------------------------- ##
24046 sed "s/^/$as_me: WARNING: /" >&2
24049 echo "$as_me:$LINENO: checking for windows.h" >&5
24050 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24051 if test "${ac_cv_header_windows_h+set}" = set; then
24052 echo $ECHO_N "(cached) $ECHO_C" >&6
24054 ac_cv_header_windows_h
=$ac_header_preproc
24056 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24057 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24060 if test $ac_cv_header_windows_h = yes; then
24064 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24065 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24066 { (exit 1); exit 1; }; }
24072 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24074 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24075 LIBS
="$LIBS -loleacc"
24080 LIBS
="$LIBS -lkernel32 -luser32"
24081 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24084 if test "$wxUSE_ODBC" = "sys" ; then
24087 if test "$wxUSE_ODBC" = "yes" ; then
24088 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24089 cat >>confdefs.h
<<\_ACEOF
24090 #define wxUSE_ODBC 1
24095 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24096 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24098 WIN32INSTALL
=win32install
24101 if test "$wxUSE_GUI" = "yes"; then
24111 if test "$wxUSE_COCOA" = 1 ; then
24112 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24113 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24114 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24115 wxUSE_PRINTING_ARCHITECTURE
=no
24117 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24118 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24119 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24120 wxUSE_DRAG_AND_DROP
=no
24122 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24123 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24124 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24129 if test "$wxUSE_MSW" = 1 ; then
24135 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24139 if test "$wxUSE_GTK" = 1; then
24140 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24141 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24143 gtk_version_cached
=1
24144 if test "${wx_cv_lib_gtk+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24148 gtk_version_cached
=0
24149 echo "$as_me:$LINENO: result: " >&5
24150 echo "${ECHO_T}" >&6
24153 if test "$wxUSE_THREADS" = "yes"; then
24154 GTK_MODULES
=gthread
24158 if test "x$wxUSE_GTK2" = "xyes"; then
24159 # Check whether --enable-gtktest or --disable-gtktest was given.
24160 if test "${enable_gtktest+set}" = set; then
24161 enableval
="$enable_gtktest"
24167 pkg_config_args
=gtk
+-2.0
24168 for module
in .
$GTK_MODULES
24172 pkg_config_args
="$pkg_config_args gthread-2.0"
24179 # Extract the first word of "pkg-config", so it can be a program name with args.
24180 set dummy pkg
-config; ac_word
=$2
24181 echo "$as_me:$LINENO: checking for $ac_word" >&5
24182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24183 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24184 echo $ECHO_N "(cached) $ECHO_C" >&6
24186 case $PKG_CONFIG in
24188 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24192 for as_dir
in $PATH
24195 test -z "$as_dir" && as_dir
=.
24196 for ac_exec_ext
in '' $ac_executable_extensions; do
24197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24198 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24205 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24209 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24211 if test -n "$PKG_CONFIG"; then
24212 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24213 echo "${ECHO_T}$PKG_CONFIG" >&6
24215 echo "$as_me:$LINENO: result: no" >&5
24216 echo "${ECHO_T}no" >&6
24220 if test x
$PKG_CONFIG != xno
; then
24221 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24224 echo "*** pkg-config too old; version 0.7 or better required."
24232 min_gtk_version
=2.0.0
24233 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24234 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24236 if test x
$PKG_CONFIG != xno
; then
24237 ## don't try to run the test against uninstalled libtool libs
24238 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24239 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24243 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24250 if test x
"$no_gtk" = x
; then
24251 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24252 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24253 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24255 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24257 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24259 if test "x$enable_gtktest" = "xyes" ; then
24260 ac_save_CFLAGS
="$CFLAGS"
24261 ac_save_LIBS
="$LIBS"
24262 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24263 LIBS
="$GTK_LIBS $LIBS"
24265 if test "$cross_compiling" = yes; then
24266 echo $ac_n "cross compiling; assumed OK... $ac_c"
24268 cat >conftest.
$ac_ext <<_ACEOF
24271 cat confdefs.h
>>conftest.
$ac_ext
24272 cat >>conftest.
$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24275 #include <gtk/gtk.h>
24277 #include <stdlib.h>
24282 int major, minor, micro;
24285 system ("touch conf.gtktest");
24287 /* HP/UX 9 (%@#!) writes to sscanf strings */
24288 tmp_version = g_strdup("$min_gtk_version");
24289 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24290 printf("%s, bad version string\n", "$min_gtk_version");
24294 if ((gtk_major_version != $gtk_config_major_version) ||
24295 (gtk_minor_version != $gtk_config_minor_version) ||
24296 (gtk_micro_version != $gtk_config_micro_version))
24298 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24299 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24300 gtk_major_version, gtk_minor_version, gtk_micro_version);
24301 printf ("*** was found! If pkg-config was correct, then it is best\n");
24302 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24303 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24304 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24305 printf("*** required on your system.\n");
24306 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24307 printf("*** to point to the correct configuration files\n");
24309 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24310 (gtk_minor_version != GTK_MINOR_VERSION) ||
24311 (gtk_micro_version != GTK_MICRO_VERSION))
24313 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24314 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24315 printf("*** library (version %d.%d.%d)\n",
24316 gtk_major_version, gtk_minor_version, gtk_micro_version);
24320 if ((gtk_major_version > major) ||
24321 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24322 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24328 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24329 gtk_major_version, gtk_minor_version, gtk_micro_version);
24330 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24331 major, minor, micro);
24332 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24334 printf("*** If you have already installed a sufficiently new version, this error\n");
24335 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24336 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24337 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24338 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24339 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24340 printf("*** so that the correct libraries are found at run-time))\n");
24347 rm -f conftest
$ac_exeext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24349 (eval $ac_link) 2>&5
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24360 echo "$as_me: program exited with status $ac_status" >&5
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.
$ac_ext >&5
24364 ( exit $ac_status )
24367 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24369 CFLAGS
="$ac_save_CFLAGS"
24370 LIBS
="$ac_save_LIBS"
24373 if test "x$no_gtk" = x
; then
24374 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24375 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24378 echo "$as_me:$LINENO: result: no" >&5
24379 echo "${ECHO_T}no" >&6
24380 if test "$PKG_CONFIG" = "no" ; then
24381 echo "*** A new enough version of pkg-config was not found."
24382 echo "*** See http://pkgconfig.sourceforge.net"
24384 if test -f conf.gtktest
; then
24387 echo "*** Could not run GTK+ test program, checking why..."
24388 ac_save_CFLAGS
="$CFLAGS"
24389 ac_save_LIBS
="$LIBS"
24390 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24391 LIBS
="$LIBS $GTK_LIBS"
24392 cat >conftest.
$ac_ext <<_ACEOF
24395 cat confdefs.h
>>conftest.
$ac_ext
24396 cat >>conftest.
$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24399 #include <gtk/gtk.h>
24405 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24410 rm -f conftest.
$ac_objext conftest
$ac_exeext
24411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24412 (eval $ac_link) 2>conftest.er1
24414 grep -v '^ *+' conftest.er1
>conftest.err
24416 cat conftest.err
>&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } &&
24419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24421 (eval $ac_try) 2>&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); }; } &&
24425 { ac_try
='test -s conftest$ac_exeext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 echo "*** The test program compiled, but did not run. This usually means"
24432 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24433 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24434 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24435 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24436 echo "*** is required on your system"
24438 echo "*** If you have an old version installed, it is best to remove it, although"
24439 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.
$ac_ext >&5
24444 echo "*** The test program failed to compile or link. See the file config.log for the"
24445 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24447 rm -f conftest.err conftest.
$ac_objext \
24448 conftest
$ac_exeext conftest.
$ac_ext
24449 CFLAGS
="$ac_save_CFLAGS"
24450 LIBS
="$ac_save_LIBS"
24463 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24464 if test "${with_gtk_prefix+set}" = set; then
24465 withval
="$with_gtk_prefix"
24466 gtk_config_prefix
="$withval"
24468 gtk_config_prefix
=""
24471 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24472 if test "${with_gtk_exec_prefix+set}" = set; then
24473 withval
="$with_gtk_exec_prefix"
24474 gtk_config_exec_prefix
="$withval"
24476 gtk_config_exec_prefix
=""
24478 # Check whether --enable-gtktest or --disable-gtktest was given.
24479 if test "${enable_gtktest+set}" = set; then
24480 enableval
="$enable_gtktest"
24486 for module
in .
$GTK_MODULES
24490 gtk_config_args
="$gtk_config_args gthread"
24495 if test x
$gtk_config_exec_prefix != x
; then
24496 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24497 if test x
${GTK_CONFIG+set} != xset
; then
24498 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24501 if test x
$gtk_config_prefix != x
; then
24502 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24503 if test x
${GTK_CONFIG+set} != xset
; then
24504 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24508 # Extract the first word of "gtk-config", so it can be a program name with args.
24509 set dummy gtk
-config; ac_word
=$2
24510 echo "$as_me:$LINENO: checking for $ac_word" >&5
24511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24512 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 case $GTK_CONFIG in
24517 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24521 for as_dir
in $PATH
24524 test -z "$as_dir" && as_dir
=.
24525 for ac_exec_ext
in '' $ac_executable_extensions; do
24526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24527 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24534 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24538 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24540 if test -n "$GTK_CONFIG"; then
24541 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24542 echo "${ECHO_T}$GTK_CONFIG" >&6
24544 echo "$as_me:$LINENO: result: no" >&5
24545 echo "${ECHO_T}no" >&6
24548 min_gtk_version
=1.2.7
24549 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24550 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24552 if test "$GTK_CONFIG" = "no" ; then
24555 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24556 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24557 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24559 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24561 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24563 if test "x$enable_gtktest" = "xyes" ; then
24564 ac_save_CFLAGS
="$CFLAGS"
24565 ac_save_LIBS
="$LIBS"
24566 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24567 LIBS
="$GTK_LIBS $LIBS"
24569 if test "$cross_compiling" = yes; then
24570 echo $ac_n "cross compiling; assumed OK... $ac_c"
24572 cat >conftest.
$ac_ext <<_ACEOF
24575 cat confdefs.h
>>conftest.
$ac_ext
24576 cat >>conftest.
$ac_ext <<_ACEOF
24577 /* end confdefs.h. */
24579 #include <gtk/gtk.h>
24581 #include <stdlib.h>
24586 int major, minor, micro;
24589 system ("touch conf.gtktest");
24591 /* HP/UX 9 (%@#!) writes to sscanf strings */
24592 tmp_version = g_strdup("$min_gtk_version");
24593 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24594 printf("%s, bad version string\n", "$min_gtk_version");
24598 if ((gtk_major_version != $gtk_config_major_version) ||
24599 (gtk_minor_version != $gtk_config_minor_version) ||
24600 (gtk_micro_version != $gtk_config_micro_version))
24602 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24603 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24604 gtk_major_version, gtk_minor_version, gtk_micro_version);
24605 printf ("*** was found! If gtk-config was correct, then it is best\n");
24606 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24607 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24608 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24609 printf("*** required on your system.\n");
24610 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24611 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24612 printf("*** before re-running configure\n");
24614 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24615 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24616 (gtk_minor_version != GTK_MINOR_VERSION) ||
24617 (gtk_micro_version != GTK_MICRO_VERSION))
24619 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24620 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24621 printf("*** library (version %d.%d.%d)\n",
24622 gtk_major_version, gtk_minor_version, gtk_micro_version);
24624 #endif /* defined (GTK_MAJOR_VERSION) ... */
24627 if ((gtk_major_version > major) ||
24628 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24629 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24635 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24636 gtk_major_version, gtk_minor_version, gtk_micro_version);
24637 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24638 major, minor, micro);
24639 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24641 printf("*** If you have already installed a sufficiently new version, this error\n");
24642 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24643 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24644 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24645 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24646 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24647 printf("*** so that the correct libraries are found at run-time))\n");
24654 rm -f conftest
$ac_exeext
24655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24656 (eval $ac_link) 2>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24667 echo "$as_me: program exited with status $ac_status" >&5
24668 echo "$as_me: failed program was:" >&5
24669 sed 's/^/| /' conftest.
$ac_ext >&5
24671 ( exit $ac_status )
24674 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24676 CFLAGS
="$ac_save_CFLAGS"
24677 LIBS
="$ac_save_LIBS"
24680 if test "x$no_gtk" = x
; then
24681 echo "$as_me:$LINENO: result: yes" >&5
24682 echo "${ECHO_T}yes" >&6
24683 wx_cv_lib_gtk
=1.2.7
24685 echo "$as_me:$LINENO: result: no" >&5
24686 echo "${ECHO_T}no" >&6
24687 if test "$GTK_CONFIG" = "no" ; then
24688 echo "*** The gtk-config script installed by GTK could not be found"
24689 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24690 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24691 echo "*** full path to gtk-config."
24693 if test -f conf.gtktest
; then
24696 echo "*** Could not run GTK test program, checking why..."
24697 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24698 LIBS
="$LIBS $GTK_LIBS"
24699 cat >conftest.
$ac_ext <<_ACEOF
24702 cat confdefs.h
>>conftest.
$ac_ext
24703 cat >>conftest.
$ac_ext <<_ACEOF
24704 /* end confdefs.h. */
24706 #include <gtk/gtk.h>
24712 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24717 rm -f conftest.
$ac_objext conftest
$ac_exeext
24718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24719 (eval $ac_link) 2>conftest.er1
24721 grep -v '^ *+' conftest.er1
>conftest.err
24723 cat conftest.err
>&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } &&
24726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728 (eval $ac_try) 2>&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); }; } &&
24732 { ac_try
='test -s conftest$ac_exeext'
24733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24734 (eval $ac_try) 2>&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); }; }; then
24738 echo "*** The test program compiled, but did not run. This usually means"
24739 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24740 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24741 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24742 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24743 echo "*** is required on your system"
24745 echo "*** If you have an old version installed, it is best to remove it, although"
24746 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24748 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24749 echo "*** came with the system with the command"
24751 echo "*** rpm --erase --nodeps gtk gtk-devel"
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.
$ac_ext >&5
24756 echo "*** The test program failed to compile or link. See the file config.log for the"
24757 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24758 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24759 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24761 rm -f conftest.err conftest.
$ac_objext \
24762 conftest
$ac_exeext conftest.
$ac_ext
24763 CFLAGS
="$ac_save_CFLAGS"
24764 LIBS
="$ac_save_LIBS"
24776 if test -z "$wx_cv_lib_gtk"; then
24778 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24779 if test "${with_gtk_prefix+set}" = set; then
24780 withval
="$with_gtk_prefix"
24781 gtk_config_prefix
="$withval"
24783 gtk_config_prefix
=""
24786 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24787 if test "${with_gtk_exec_prefix+set}" = set; then
24788 withval
="$with_gtk_exec_prefix"
24789 gtk_config_exec_prefix
="$withval"
24791 gtk_config_exec_prefix
=""
24793 # Check whether --enable-gtktest or --disable-gtktest was given.
24794 if test "${enable_gtktest+set}" = set; then
24795 enableval
="$enable_gtktest"
24801 for module
in .
$GTK_MODULES
24805 gtk_config_args
="$gtk_config_args gthread"
24810 if test x
$gtk_config_exec_prefix != x
; then
24811 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24812 if test x
${GTK_CONFIG+set} != xset
; then
24813 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24816 if test x
$gtk_config_prefix != x
; then
24817 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24818 if test x
${GTK_CONFIG+set} != xset
; then
24819 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24823 # Extract the first word of "gtk-config", so it can be a program name with args.
24824 set dummy gtk
-config; ac_word
=$2
24825 echo "$as_me:$LINENO: checking for $ac_word" >&5
24826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24827 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 case $GTK_CONFIG in
24832 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24836 for as_dir
in $PATH
24839 test -z "$as_dir" && as_dir
=.
24840 for ac_exec_ext
in '' $ac_executable_extensions; do
24841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24842 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24849 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24853 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24855 if test -n "$GTK_CONFIG"; then
24856 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24857 echo "${ECHO_T}$GTK_CONFIG" >&6
24859 echo "$as_me:$LINENO: result: no" >&5
24860 echo "${ECHO_T}no" >&6
24863 min_gtk_version
=1.2.3
24864 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24865 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24867 if test "$GTK_CONFIG" = "no" ; then
24870 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24871 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24872 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24874 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24876 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24878 if test "x$enable_gtktest" = "xyes" ; then
24879 ac_save_CFLAGS
="$CFLAGS"
24880 ac_save_LIBS
="$LIBS"
24881 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24882 LIBS
="$GTK_LIBS $LIBS"
24884 if test "$cross_compiling" = yes; then
24885 echo $ac_n "cross compiling; assumed OK... $ac_c"
24887 cat >conftest.
$ac_ext <<_ACEOF
24890 cat confdefs.h
>>conftest.
$ac_ext
24891 cat >>conftest.
$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24894 #include <gtk/gtk.h>
24896 #include <stdlib.h>
24901 int major, minor, micro;
24904 system ("touch conf.gtktest");
24906 /* HP/UX 9 (%@#!) writes to sscanf strings */
24907 tmp_version = g_strdup("$min_gtk_version");
24908 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24909 printf("%s, bad version string\n", "$min_gtk_version");
24913 if ((gtk_major_version != $gtk_config_major_version) ||
24914 (gtk_minor_version != $gtk_config_minor_version) ||
24915 (gtk_micro_version != $gtk_config_micro_version))
24917 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24918 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24919 gtk_major_version, gtk_minor_version, gtk_micro_version);
24920 printf ("*** was found! If gtk-config was correct, then it is best\n");
24921 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24922 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24923 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24924 printf("*** required on your system.\n");
24925 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24926 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24927 printf("*** before re-running configure\n");
24929 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24930 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24931 (gtk_minor_version != GTK_MINOR_VERSION) ||
24932 (gtk_micro_version != GTK_MICRO_VERSION))
24934 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24935 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24936 printf("*** library (version %d.%d.%d)\n",
24937 gtk_major_version, gtk_minor_version, gtk_micro_version);
24939 #endif /* defined (GTK_MAJOR_VERSION) ... */
24942 if ((gtk_major_version > major) ||
24943 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24944 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24950 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24951 gtk_major_version, gtk_minor_version, gtk_micro_version);
24952 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24953 major, minor, micro);
24954 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24956 printf("*** If you have already installed a sufficiently new version, this error\n");
24957 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24958 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24959 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24960 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24961 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24962 printf("*** so that the correct libraries are found at run-time))\n");
24969 rm -f conftest
$ac_exeext
24970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24971 (eval $ac_link) 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; }; then
24982 echo "$as_me: program exited with status $ac_status" >&5
24983 echo "$as_me: failed program was:" >&5
24984 sed 's/^/| /' conftest.
$ac_ext >&5
24986 ( exit $ac_status )
24989 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24991 CFLAGS
="$ac_save_CFLAGS"
24992 LIBS
="$ac_save_LIBS"
24995 if test "x$no_gtk" = x
; then
24996 echo "$as_me:$LINENO: result: yes" >&5
24997 echo "${ECHO_T}yes" >&6
24998 wx_cv_lib_gtk
=1.2.3
25000 echo "$as_me:$LINENO: result: no" >&5
25001 echo "${ECHO_T}no" >&6
25002 if test "$GTK_CONFIG" = "no" ; then
25003 echo "*** The gtk-config script installed by GTK could not be found"
25004 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25005 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25006 echo "*** full path to gtk-config."
25008 if test -f conf.gtktest
; then
25011 echo "*** Could not run GTK test program, checking why..."
25012 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25013 LIBS
="$LIBS $GTK_LIBS"
25014 cat >conftest.
$ac_ext <<_ACEOF
25017 cat confdefs.h
>>conftest.
$ac_ext
25018 cat >>conftest.
$ac_ext <<_ACEOF
25019 /* end confdefs.h. */
25021 #include <gtk/gtk.h>
25027 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25032 rm -f conftest.
$ac_objext conftest
$ac_exeext
25033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25034 (eval $ac_link) 2>conftest.er1
25036 grep -v '^ *+' conftest.er1
>conftest.err
25038 cat conftest.err
>&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } &&
25041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; } &&
25047 { ac_try
='test -s conftest$ac_exeext'
25048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049 (eval $ac_try) 2>&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; }; then
25053 echo "*** The test program compiled, but did not run. This usually means"
25054 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25055 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25056 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25057 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25058 echo "*** is required on your system"
25060 echo "*** If you have an old version installed, it is best to remove it, although"
25061 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25063 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25064 echo "*** came with the system with the command"
25066 echo "*** rpm --erase --nodeps gtk gtk-devel"
25068 echo "$as_me: failed program was:" >&5
25069 sed 's/^/| /' conftest.
$ac_ext >&5
25071 echo "*** The test program failed to compile or link. See the file config.log for the"
25072 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25073 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25074 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25076 rm -f conftest.err conftest.
$ac_objext \
25077 conftest
$ac_exeext conftest.
$ac_ext
25078 CFLAGS
="$ac_save_CFLAGS"
25079 LIBS
="$ac_save_LIBS"
25093 if test -z "$wx_cv_lib_gtk"; then
25096 wx_cv_cflags_gtk
=$GTK_CFLAGS
25097 wx_cv_libs_gtk
=$GTK_LIBS
25104 if test "$gtk_version_cached" = 1; then
25105 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25106 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25109 case "$wx_cv_lib_gtk" in
25118 *) { { echo "$as_me:$LINENO: error:
25119 Please check that gtk-config is in path, the directory
25120 where GTK+ libraries are installed (returned by
25121 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25122 equivalent variable and GTK+ is version 1.2.3 or above.
25124 echo "$as_me: error:
25125 Please check that gtk-config is in path, the directory
25126 where GTK+ libraries are installed (returned by
25127 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25128 equivalent variable and GTK+ is version 1.2.3 or above.
25130 { (exit 1); exit 1; }; }
25134 if test "$WXGTK20" = 1; then
25135 save_CFLAGS
="$CFLAGS"
25137 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25138 LIBS
="$LIBS $wx_cv_lib_gtk"
25141 for ac_func
in pango_font_family_is_monospace
25143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25144 echo "$as_me:$LINENO: checking for $ac_func" >&5
25145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25146 if eval "test \"\${$as_ac_var+set}\" = set"; then
25147 echo $ECHO_N "(cached) $ECHO_C" >&6
25149 cat >conftest.
$ac_ext <<_ACEOF
25152 cat confdefs.h
>>conftest.
$ac_ext
25153 cat >>conftest.
$ac_ext <<_ACEOF
25154 /* end confdefs.h. */
25155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25157 #define $ac_func innocuous_$ac_func
25159 /* System header to define __stub macros and hopefully few prototypes,
25160 which can conflict with char $ac_func (); below.
25161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25162 <limits.h> exists even on freestanding compilers. */
25165 # include <limits.h>
25167 # include <assert.h>
25172 /* Override any gcc2 internal prototype to avoid an error. */
25177 /* We use char because int might match the return type of a gcc2
25178 builtin and then its argument prototype would still apply. */
25180 /* The GNU C library defines this for functions which it implements
25181 to always fail with ENOSYS. Some functions are actually named
25182 something starting with __ and the normal name is an alias. */
25183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25186 char (*f) () = $ac_func;
25195 return f != $ac_func;
25200 rm -f conftest.
$ac_objext conftest
$ac_exeext
25201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25202 (eval $ac_link) 2>conftest.er1
25204 grep -v '^ *+' conftest.er1
>conftest.err
25206 cat conftest.err
>&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } &&
25209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25211 (eval $ac_try) 2>&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); }; } &&
25215 { ac_try
='test -s conftest$ac_exeext'
25216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25217 (eval $ac_try) 2>&5
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); }; }; then
25221 eval "$as_ac_var=yes"
25223 echo "$as_me: failed program was:" >&5
25224 sed 's/^/| /' conftest.
$ac_ext >&5
25226 eval "$as_ac_var=no"
25228 rm -f conftest.err conftest.
$ac_objext \
25229 conftest
$ac_exeext conftest.
$ac_ext
25231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25233 if test `eval echo '${'$as_ac_var'}'` = yes; then
25234 cat >>confdefs.h
<<_ACEOF
25235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25242 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25243 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25244 cat >conftest.
$ac_ext <<_ACEOF
25247 cat confdefs.h
>>conftest.
$ac_ext
25248 cat >>conftest.
$ac_ext <<_ACEOF
25249 /* end confdefs.h. */
25251 #include <gtk/gtk.h>
25257 #if !GTK_CHECK_VERSION(2,4,0)
25258 #error "Not GTK+ 2.4"
25265 rm -f conftest.
$ac_objext
25266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25267 (eval $ac_compile) 2>conftest.er1
25269 grep -v '^ *+' conftest.er1
>conftest.err
25271 cat conftest.err
>&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); } &&
25274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; } &&
25280 { ac_try
='test -s conftest.$ac_objext'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; }; then
25287 cat >>confdefs.h
<<\_ACEOF
25288 #define __WXGTK24__ 1
25291 echo "$as_me:$LINENO: result: yes" >&5
25292 echo "${ECHO_T}yes" >&6
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.
$ac_ext >&5
25299 echo "$as_me:$LINENO: result: no" >&5
25300 echo "${ECHO_T}no" >&6
25303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25305 CFLAGS
="$save_CFLAGS"
25308 if test "$wxUSE_UNICODE" = "yes"; then
25309 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25310 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25315 if test "$USE_DARWIN" != 1; then
25317 for ac_func
in poll
25319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25320 echo "$as_me:$LINENO: checking for $ac_func" >&5
25321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25322 if eval "test \"\${$as_ac_var+set}\" = set"; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25325 cat >conftest.
$ac_ext <<_ACEOF
25328 cat confdefs.h
>>conftest.
$ac_ext
25329 cat >>conftest.
$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25333 #define $ac_func innocuous_$ac_func
25335 /* System header to define __stub macros and hopefully few prototypes,
25336 which can conflict with char $ac_func (); below.
25337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25338 <limits.h> exists even on freestanding compilers. */
25341 # include <limits.h>
25343 # include <assert.h>
25348 /* Override any gcc2 internal prototype to avoid an error. */
25353 /* We use char because int might match the return type of a gcc2
25354 builtin and then its argument prototype would still apply. */
25356 /* The GNU C library defines this for functions which it implements
25357 to always fail with ENOSYS. Some functions are actually named
25358 something starting with __ and the normal name is an alias. */
25359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25362 char (*f) () = $ac_func;
25371 return f != $ac_func;
25376 rm -f conftest.
$ac_objext conftest
$ac_exeext
25377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25378 (eval $ac_link) 2>conftest.er1
25380 grep -v '^ *+' conftest.er1
>conftest.err
25382 cat conftest.err
>&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } &&
25385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387 (eval $ac_try) 2>&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); }; } &&
25391 { ac_try
='test -s conftest$ac_exeext'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; }; then
25397 eval "$as_ac_var=yes"
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.
$ac_ext >&5
25402 eval "$as_ac_var=no"
25404 rm -f conftest.err conftest.
$ac_objext \
25405 conftest
$ac_exeext conftest.
$ac_ext
25407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25409 if test `eval echo '${'$as_ac_var'}'` = yes; then
25410 cat >>confdefs.h
<<_ACEOF
25411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25419 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25420 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25422 AFMINSTALL
=afminstall
25426 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25427 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25428 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25429 echo $ECHO_N "(cached) $ECHO_C" >&6
25431 ac_check_lib_save_LIBS
=$LIBS
25433 cat >conftest.
$ac_ext <<_ACEOF
25436 cat confdefs.h
>>conftest.
$ac_ext
25437 cat >>conftest.
$ac_ext <<_ACEOF
25438 /* end confdefs.h. */
25440 /* Override any gcc2 internal prototype to avoid an error. */
25444 /* We use char because int might match the return type of a gcc2
25445 builtin and then its argument prototype would still apply. */
25446 char gdk_im_open ();
25455 rm -f conftest.
$ac_objext conftest
$ac_exeext
25456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25457 (eval $ac_link) 2>conftest.er1
25459 grep -v '^ *+' conftest.er1
>conftest.err
25461 cat conftest.err
>&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); } &&
25464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; } &&
25470 { ac_try
='test -s conftest$ac_exeext'
25471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25472 (eval $ac_try) 2>&5
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); }; }; then
25476 ac_cv_lib_gdk_gdk_im_open
=yes
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.
$ac_ext >&5
25481 ac_cv_lib_gdk_gdk_im_open
=no
25483 rm -f conftest.err conftest.
$ac_objext \
25484 conftest
$ac_exeext conftest.
$ac_ext
25485 LIBS
=$ac_check_lib_save_LIBS
25487 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25488 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25489 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25490 cat >>confdefs.h
<<\_ACEOF
25498 if test "$wxUSE_GPE" = "yes"; then
25499 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25500 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25503 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25505 for ac_extension
in a so sl dylib
; do
25506 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25507 ac_find_libraries
=$ac_dir
25513 if test "$ac_find_libraries" != "" ; then
25515 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25517 if test $result = 0; then
25520 ac_path_to_link
=" -L$ac_find_libraries"
25523 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25525 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25526 echo "${ECHO_T}found at $ac_find_libraries" >&6
25528 echo "$as_me:$LINENO: result: not found" >&5
25529 echo "${ECHO_T}not found" >&6
25535 if test "$wxUSE_MGL" = 1; then
25536 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25537 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25538 if test "x$MGL_ROOT" = x
; then
25539 echo "$as_me:$LINENO: result: not found" >&5
25540 echo "${ECHO_T}not found" >&6
25541 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25542 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25543 { (exit 1); exit 1; }; }
25545 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25546 echo "${ECHO_T}$MGL_ROOT" >&6
25549 echo "$as_me:$LINENO: checking for libmgl location" >&5
25550 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25553 if test "x$wxUSE_SHARED" = xyes
; then
25554 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25556 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25560 mgl_os_candidates
="dos32/dj2"
25563 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25564 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25565 { (exit 1); exit 1; }; }
25571 for mgl_os_i
in $mgl_os_candidates ; do
25572 if test "x$mgl_os" = x
; then
25573 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25574 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25575 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25580 if test "x$mgl_lib_type" = x
; then
25581 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25582 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25583 mgl_lib_type
=release
25590 if test "x$mgl_os" = x
; then
25591 echo "$as_me:$LINENO: result: not found" >&5
25592 echo "${ECHO_T}not found" >&6
25593 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25594 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25595 { (exit 1); exit 1; }; }
25597 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25598 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25600 wxUSE_UNIVERSAL
="yes"
25602 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25603 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25605 AFMINSTALL
=afminstall
25610 if test "$wxUSE_MICROWIN" = 1; then
25611 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25612 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25613 if test "x$MICROWINDOWS" = x
; then
25614 echo "$as_me:$LINENO: result: not found" >&5
25615 echo "${ECHO_T}not found" >&6
25616 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25617 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25618 { (exit 1); exit 1; }; }
25620 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25621 echo "${ECHO_T}$MICROWINDOWS" >&6
25624 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25625 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25626 echo "${ECHO_T}MicroWindows' libraries found." >&6
25628 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25629 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25630 { (exit 1); exit 1; }; }
25633 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25634 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25636 wxUSE_UNIVERSAL
="yes"
25638 AFMINSTALL
=afminstall
25640 GUIDIST
=MICROWIN_DIST
25642 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25645 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25647 if test "x$ac_path_x_has_been_run" != xyes
; then
25648 echo "$as_me:$LINENO: checking for X" >&5
25649 echo $ECHO_N "checking for X... $ECHO_C" >&6
25651 ac_path_x_has_been_run
=yes
25653 # Check whether --with-x or --without-x was given.
25654 if test "${with_x+set}" = set; then
25658 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25659 if test "x$with_x" = xno
; then
25660 # The user explicitly disabled X.
25663 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25664 # Both variables are already set.
25667 if test "${ac_cv_have_x+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 # One or both of the vars are not set, and there is no cached value.
25671 ac_x_includes
=no ac_x_libraries
=no
25672 rm -fr conftest.dir
25673 if mkdir conftest.dir
; then
25675 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25676 cat >Imakefile
<<'_ACEOF'
25678 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25680 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25681 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25682 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25683 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25684 for ac_extension
in a so sl
; do
25685 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25686 test -f $ac_im_libdir/libX11.
$ac_extension; then
25687 ac_im_usrlibdir
=$ac_im_libdir; break
25690 # Screen out bogus values from the imake configuration. They are
25691 # bogus both because they are the default anyway, and because
25692 # using them would break gcc on systems where it needs fixed includes.
25693 case $ac_im_incroot in
25695 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25697 case $ac_im_usrlibdir in
25698 /usr
/lib
| /lib
) ;;
25699 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25703 rm -fr conftest.dir
25706 # Standard set of common directories for X headers.
25707 # Check X11 before X11Rn because it is often a symlink to the current release.
25719 /usr/local/X11/include
25720 /usr/local/X11R6/include
25721 /usr/local/X11R5/include
25722 /usr/local/X11R4/include
25724 /usr/local/include/X11
25725 /usr/local/include/X11R6
25726 /usr/local/include/X11R5
25727 /usr/local/include/X11R4
25731 /usr/XFree86/include/X11
25735 /usr/unsupported/include
25736 /usr/athena/include
25737 /usr/local/x11r5/include
25738 /usr/lpp/Xamples/include
25740 /usr/openwin/include
25741 /usr/openwin/share/include'
25743 if test "$ac_x_includes" = no
; then
25744 # Guess where to find include files, by looking for a specified header file.
25745 # First, try using that file with no special directory specified.
25746 cat >conftest.
$ac_ext <<_ACEOF
25749 cat confdefs.h
>>conftest.
$ac_ext
25750 cat >>conftest.
$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 #include <X11/Intrinsic.h>
25754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25757 grep -v '^ *+' conftest.er1
>conftest.err
25759 cat conftest.err
>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } >/dev
/null
; then
25762 if test -s conftest.err
; then
25763 ac_cpp_err
=$ac_c_preproc_warn_flag
25764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25771 if test -z "$ac_cpp_err"; then
25772 # We can compile using X headers with no special include directory.
25775 echo "$as_me: failed program was:" >&5
25776 sed 's/^/| /' conftest.
$ac_ext >&5
25778 for ac_dir
in $ac_x_header_dirs; do
25779 if test -r "$ac_dir/X11/Intrinsic.h"; then
25780 ac_x_includes
=$ac_dir
25785 rm -f conftest.err conftest.
$ac_ext
25786 fi # $ac_x_includes = no
25788 if test "$ac_x_libraries" = no
; then
25789 # Check for the libraries.
25790 # See if we find them without any special options.
25791 # Don't add to $LIBS permanently.
25794 cat >conftest.
$ac_ext <<_ACEOF
25797 cat confdefs.h
>>conftest.
$ac_ext
25798 cat >>conftest.
$ac_ext <<_ACEOF
25799 /* end confdefs.h. */
25800 #include <X11/Intrinsic.h>
25809 rm -f conftest.
$ac_objext conftest
$ac_exeext
25810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25811 (eval $ac_link) 2>conftest.er1
25813 grep -v '^ *+' conftest.er1
>conftest.err
25815 cat conftest.err
>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); } &&
25818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25820 (eval $ac_try) 2>&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; } &&
25824 { ac_try
='test -s conftest$ac_exeext'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; }; then
25831 # We can link X programs with no special library path.
25834 echo "$as_me: failed program was:" >&5
25835 sed 's/^/| /' conftest.
$ac_ext >&5
25838 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25840 # Don't even attempt the hair of trying to link an X program!
25841 for ac_extension
in a so sl
; do
25842 if test -r $ac_dir/libXt.
$ac_extension; then
25843 ac_x_libraries
=$ac_dir
25849 rm -f conftest.err conftest.
$ac_objext \
25850 conftest
$ac_exeext conftest.
$ac_ext
25851 fi # $ac_x_libraries = no
25853 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25854 # Didn't find X anywhere. Cache the known absence of X.
25855 ac_cv_have_x
="have_x=no"
25857 # Record where we found X for the cache.
25858 ac_cv_have_x
="have_x=yes \
25859 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25864 eval "$ac_cv_have_x"
25867 if test "$have_x" != yes; then
25868 echo "$as_me:$LINENO: result: $have_x" >&5
25869 echo "${ECHO_T}$have_x" >&6
25872 # If each of the values was on the command line, it overrides each guess.
25873 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25874 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25875 # Update the cache value to reflect the command line values.
25876 ac_cv_have_x
="have_x=yes \
25877 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25878 # It might be that x_includes is empty (headers are found in the
25879 # standard search path. Then output the corresponding message
25880 ac_out_x_includes
=$x_includes
25881 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
25882 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25883 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25887 if test "$no_x" = yes; then
25888 # Not all programs may use this symbol, but it does not hurt to define it.
25890 cat >>confdefs.h
<<\_ACEOF
25891 #define X_DISPLAY_MISSING 1
25894 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25896 if test -n "$x_includes"; then
25897 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25900 # It would also be nice to do this for all -L options, not just this one.
25901 if test -n "$x_libraries"; then
25902 X_LIBS
="$X_LIBS -L$x_libraries"
25903 # For Solaris; some versions of Sun CC require a space after -R and
25904 # others require no space. Words are not sufficient . . . .
25905 case `(uname -sr) 2>/dev/null` in
25907 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25908 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25909 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25910 cat >conftest.
$ac_ext <<_ACEOF
25913 cat confdefs.h
>>conftest.
$ac_ext
25914 cat >>conftest.
$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25925 rm -f conftest.
$ac_objext conftest
$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25929 grep -v '^ *+' conftest.er1
>conftest.err
25931 cat conftest.err
>&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try
='test -s conftest$ac_exeext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25948 echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.
$ac_ext >&5
25953 rm -f conftest.err conftest.
$ac_objext \
25954 conftest
$ac_exeext conftest.
$ac_ext
25955 if test $ac_R_nospace = yes; then
25956 echo "$as_me:$LINENO: result: no" >&5
25957 echo "${ECHO_T}no" >&6
25958 X_LIBS
="$X_LIBS -R$x_libraries"
25960 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25961 cat >conftest.
$ac_ext <<_ACEOF
25964 cat confdefs.h
>>conftest.
$ac_ext
25965 cat >>conftest.
$ac_ext <<_ACEOF
25966 /* end confdefs.h. */
25976 rm -f conftest.
$ac_objext conftest
$ac_exeext
25977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25978 (eval $ac_link) 2>conftest.er1
25980 grep -v '^ *+' conftest.er1
>conftest.err
25982 cat conftest.err
>&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); } &&
25985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25987 (eval $ac_try) 2>&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); }; } &&
25991 { ac_try
='test -s conftest$ac_exeext'
25992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25993 (eval $ac_try) 2>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; }; then
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.
$ac_ext >&5
26004 rm -f conftest.err conftest.
$ac_objext \
26005 conftest
$ac_exeext conftest.
$ac_ext
26006 if test $ac_R_space = yes; then
26007 echo "$as_me:$LINENO: result: yes" >&5
26008 echo "${ECHO_T}yes" >&6
26009 X_LIBS
="$X_LIBS -R $x_libraries"
26011 echo "$as_me:$LINENO: result: neither works" >&5
26012 echo "${ECHO_T}neither works" >&6
26015 LIBS
=$ac_xsave_LIBS
26019 # Check for system-dependent libraries X programs must link with.
26020 # Do this before checking for the system-independent R6 libraries
26021 # (-lICE), since we may need -lsocket or whatever for X linking.
26023 if test "$ISC" = yes; then
26024 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26026 # Martyn Johnson says this is needed for Ultrix, if the X
26027 # libraries were built with DECnet support. And Karl Berry says
26028 # the Alpha needs dnet_stub (dnet does not exist).
26029 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26030 cat >conftest.
$ac_ext <<_ACEOF
26033 cat confdefs.h
>>conftest.
$ac_ext
26034 cat >>conftest.
$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26037 /* Override any gcc2 internal prototype to avoid an error. */
26041 /* We use char because int might match the return type of a gcc2
26042 builtin and then its argument prototype would still apply. */
26043 char XOpenDisplay ();
26052 rm -f conftest.
$ac_objext conftest
$ac_exeext
26053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26054 (eval $ac_link) 2>conftest.er1
26056 grep -v '^ *+' conftest.er1
>conftest.err
26058 cat conftest.err
>&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); } &&
26061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26063 (eval $ac_try) 2>&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); }; } &&
26067 { ac_try
='test -s conftest$ac_exeext'
26068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069 (eval $ac_try) 2>&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); }; }; then
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.
$ac_ext >&5
26078 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26079 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26080 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26081 echo $ECHO_N "(cached) $ECHO_C" >&6
26083 ac_check_lib_save_LIBS
=$LIBS
26084 LIBS
="-ldnet $LIBS"
26085 cat >conftest.
$ac_ext <<_ACEOF
26088 cat confdefs.h
>>conftest.
$ac_ext
26089 cat >>conftest.
$ac_ext <<_ACEOF
26090 /* end confdefs.h. */
26092 /* Override any gcc2 internal prototype to avoid an error. */
26096 /* We use char because int might match the return type of a gcc2
26097 builtin and then its argument prototype would still apply. */
26107 rm -f conftest.
$ac_objext conftest
$ac_exeext
26108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26109 (eval $ac_link) 2>conftest.er1
26111 grep -v '^ *+' conftest.er1
>conftest.err
26113 cat conftest.err
>&5
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); } &&
26116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26118 (eval $ac_try) 2>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); }; } &&
26122 { ac_try
='test -s conftest$ac_exeext'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; }; then
26128 ac_cv_lib_dnet_dnet_ntoa
=yes
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.
$ac_ext >&5
26133 ac_cv_lib_dnet_dnet_ntoa
=no
26135 rm -f conftest.err conftest.
$ac_objext \
26136 conftest
$ac_exeext conftest.
$ac_ext
26137 LIBS
=$ac_check_lib_save_LIBS
26139 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26140 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26141 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26142 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26145 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26146 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26147 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26148 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 ac_check_lib_save_LIBS
=$LIBS
26152 LIBS
="-ldnet_stub $LIBS"
26153 cat >conftest.
$ac_ext <<_ACEOF
26156 cat confdefs.h
>>conftest.
$ac_ext
26157 cat >>conftest.
$ac_ext <<_ACEOF
26158 /* end confdefs.h. */
26160 /* Override any gcc2 internal prototype to avoid an error. */
26164 /* We use char because int might match the return type of a gcc2
26165 builtin and then its argument prototype would still apply. */
26175 rm -f conftest.
$ac_objext conftest
$ac_exeext
26176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26177 (eval $ac_link) 2>conftest.er1
26179 grep -v '^ *+' conftest.er1
>conftest.err
26181 cat conftest.err
>&5
26182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26183 (exit $ac_status); } &&
26184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26186 (eval $ac_try) 2>&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); }; } &&
26190 { ac_try
='test -s conftest$ac_exeext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26198 echo "$as_me: failed program was:" >&5
26199 sed 's/^/| /' conftest.
$ac_ext >&5
26201 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26203 rm -f conftest.err conftest.
$ac_objext \
26204 conftest
$ac_exeext conftest.
$ac_ext
26205 LIBS
=$ac_check_lib_save_LIBS
26207 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26208 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26209 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26215 rm -f conftest.err conftest.
$ac_objext \
26216 conftest
$ac_exeext conftest.
$ac_ext
26217 LIBS
="$ac_xsave_LIBS"
26219 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26220 # to get the SysV transport functions.
26221 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26223 # The nsl library prevents programs from opening the X display
26224 # on Irix 5.2, according to T.E. Dickey.
26225 # The functions gethostbyname, getservbyname, and inet_addr are
26226 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26227 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26228 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26229 if test "${ac_cv_func_gethostbyname+set}" = set; then
26230 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 cat >conftest.
$ac_ext <<_ACEOF
26235 cat confdefs.h
>>conftest.
$ac_ext
26236 cat >>conftest.
$ac_ext <<_ACEOF
26237 /* end confdefs.h. */
26238 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26240 #define gethostbyname innocuous_gethostbyname
26242 /* System header to define __stub macros and hopefully few prototypes,
26243 which can conflict with char gethostbyname (); below.
26244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26245 <limits.h> exists even on freestanding compilers. */
26248 # include <limits.h>
26250 # include <assert.h>
26253 #undef gethostbyname
26255 /* Override any gcc2 internal prototype to avoid an error. */
26260 /* We use char because int might match the return type of a gcc2
26261 builtin and then its argument prototype would still apply. */
26262 char gethostbyname ();
26263 /* The GNU C library defines this for functions which it implements
26264 to always fail with ENOSYS. Some functions are actually named
26265 something starting with __ and the normal name is an alias. */
26266 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26269 char (*f) () = gethostbyname;
26278 return f != gethostbyname;
26283 rm -f conftest.
$ac_objext conftest
$ac_exeext
26284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26285 (eval $ac_link) 2>conftest.er1
26287 grep -v '^ *+' conftest.er1
>conftest.err
26289 cat conftest.err
>&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); } &&
26292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26294 (eval $ac_try) 2>&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); }; } &&
26298 { ac_try
='test -s conftest$ac_exeext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 ac_cv_func_gethostbyname
=yes
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.
$ac_ext >&5
26309 ac_cv_func_gethostbyname
=no
26311 rm -f conftest.err conftest.
$ac_objext \
26312 conftest
$ac_exeext conftest.
$ac_ext
26314 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26315 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26317 if test $ac_cv_func_gethostbyname = no
; then
26318 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26319 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26320 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26321 echo $ECHO_N "(cached) $ECHO_C" >&6
26323 ac_check_lib_save_LIBS
=$LIBS
26325 cat >conftest.
$ac_ext <<_ACEOF
26328 cat confdefs.h
>>conftest.
$ac_ext
26329 cat >>conftest.
$ac_ext <<_ACEOF
26330 /* end confdefs.h. */
26332 /* Override any gcc2 internal prototype to avoid an error. */
26336 /* We use char because int might match the return type of a gcc2
26337 builtin and then its argument prototype would still apply. */
26338 char gethostbyname ();
26347 rm -f conftest.
$ac_objext conftest
$ac_exeext
26348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26349 (eval $ac_link) 2>conftest.er1
26351 grep -v '^ *+' conftest.er1
>conftest.err
26353 cat conftest.err
>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } &&
26356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; } &&
26362 { ac_try
='test -s conftest$ac_exeext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26368 ac_cv_lib_nsl_gethostbyname
=yes
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.
$ac_ext >&5
26373 ac_cv_lib_nsl_gethostbyname
=no
26375 rm -f conftest.err conftest.
$ac_objext \
26376 conftest
$ac_exeext conftest.
$ac_ext
26377 LIBS
=$ac_check_lib_save_LIBS
26379 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26380 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26381 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26382 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26385 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26386 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26387 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26388 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26389 echo $ECHO_N "(cached) $ECHO_C" >&6
26391 ac_check_lib_save_LIBS
=$LIBS
26393 cat >conftest.
$ac_ext <<_ACEOF
26396 cat confdefs.h
>>conftest.
$ac_ext
26397 cat >>conftest.
$ac_ext <<_ACEOF
26398 /* end confdefs.h. */
26400 /* Override any gcc2 internal prototype to avoid an error. */
26404 /* We use char because int might match the return type of a gcc2
26405 builtin and then its argument prototype would still apply. */
26406 char gethostbyname ();
26415 rm -f conftest.
$ac_objext conftest
$ac_exeext
26416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26417 (eval $ac_link) 2>conftest.er1
26419 grep -v '^ *+' conftest.er1
>conftest.err
26421 cat conftest.err
>&5
26422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 (exit $ac_status); } &&
26424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26426 (eval $ac_try) 2>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }; } &&
26430 { ac_try
='test -s conftest$ac_exeext'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; }; then
26436 ac_cv_lib_bsd_gethostbyname
=yes
26438 echo "$as_me: failed program was:" >&5
26439 sed 's/^/| /' conftest.
$ac_ext >&5
26441 ac_cv_lib_bsd_gethostbyname
=no
26443 rm -f conftest.err conftest.
$ac_objext \
26444 conftest
$ac_exeext conftest.
$ac_ext
26445 LIBS
=$ac_check_lib_save_LIBS
26447 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26450 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26457 # socket/setsockopt and other routines are undefined under SCO ODT
26458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26459 # on later versions), says Simon Leinen: it contains gethostby*
26460 # variants that don't use the name server (or something). -lsocket
26461 # must be given before -lnsl if both are needed. We assume that
26462 # if connect needs -lnsl, so does gethostbyname.
26463 echo "$as_me:$LINENO: checking for connect" >&5
26464 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26465 if test "${ac_cv_func_connect+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 cat >conftest.
$ac_ext <<_ACEOF
26471 cat confdefs.h
>>conftest.
$ac_ext
26472 cat >>conftest.
$ac_ext <<_ACEOF
26473 /* end confdefs.h. */
26474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26476 #define connect innocuous_connect
26478 /* System header to define __stub macros and hopefully few prototypes,
26479 which can conflict with char connect (); below.
26480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26481 <limits.h> exists even on freestanding compilers. */
26484 # include <limits.h>
26486 # include <assert.h>
26491 /* Override any gcc2 internal prototype to avoid an error. */
26496 /* We use char because int might match the return type of a gcc2
26497 builtin and then its argument prototype would still apply. */
26499 /* The GNU C library defines this for functions which it implements
26500 to always fail with ENOSYS. Some functions are actually named
26501 something starting with __ and the normal name is an alias. */
26502 #if defined (__stub_connect) || defined (__stub___connect)
26505 char (*f) () = connect;
26514 return f != connect;
26519 rm -f conftest.
$ac_objext conftest
$ac_exeext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26521 (eval $ac_link) 2>conftest.er1
26523 grep -v '^ *+' conftest.er1
>conftest.err
26525 cat conftest.err
>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try
='test -s conftest$ac_exeext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 ac_cv_func_connect
=yes
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.
$ac_ext >&5
26545 ac_cv_func_connect
=no
26547 rm -f conftest.err conftest.
$ac_objext \
26548 conftest
$ac_exeext conftest.
$ac_ext
26550 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26551 echo "${ECHO_T}$ac_cv_func_connect" >&6
26553 if test $ac_cv_func_connect = no
; then
26554 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26555 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26556 if test "${ac_cv_lib_socket_connect+set}" = set; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 ac_check_lib_save_LIBS
=$LIBS
26560 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26561 cat >conftest.
$ac_ext <<_ACEOF
26564 cat confdefs.h
>>conftest.
$ac_ext
26565 cat >>conftest.
$ac_ext <<_ACEOF
26566 /* end confdefs.h. */
26568 /* Override any gcc2 internal prototype to avoid an error. */
26572 /* We use char because int might match the return type of a gcc2
26573 builtin and then its argument prototype would still apply. */
26583 rm -f conftest.
$ac_objext conftest
$ac_exeext
26584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26585 (eval $ac_link) 2>conftest.er1
26587 grep -v '^ *+' conftest.er1
>conftest.err
26589 cat conftest.err
>&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } &&
26592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26594 (eval $ac_try) 2>&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); }; } &&
26598 { ac_try
='test -s conftest$ac_exeext'
26599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600 (eval $ac_try) 2>&5
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); }; }; then
26604 ac_cv_lib_socket_connect
=yes
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.
$ac_ext >&5
26609 ac_cv_lib_socket_connect
=no
26611 rm -f conftest.err conftest.
$ac_objext \
26612 conftest
$ac_exeext conftest.
$ac_ext
26613 LIBS
=$ac_check_lib_save_LIBS
26615 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26616 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26617 if test $ac_cv_lib_socket_connect = yes; then
26618 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26623 # Guillermo Gomez says -lposix is necessary on A/UX.
26624 echo "$as_me:$LINENO: checking for remove" >&5
26625 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26626 if test "${ac_cv_func_remove+set}" = set; then
26627 echo $ECHO_N "(cached) $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. */
26635 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26637 #define remove innocuous_remove
26639 /* System header to define __stub macros and hopefully few prototypes,
26640 which can conflict with char remove (); below.
26641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26642 <limits.h> exists even on freestanding compilers. */
26645 # include <limits.h>
26647 # include <assert.h>
26652 /* Override any gcc2 internal prototype to avoid an error. */
26657 /* We use char because int might match the return type of a gcc2
26658 builtin and then its argument prototype would still apply. */
26660 /* The GNU C library defines this for functions which it implements
26661 to always fail with ENOSYS. Some functions are actually named
26662 something starting with __ and the normal name is an alias. */
26663 #if defined (__stub_remove) || defined (__stub___remove)
26666 char (*f) () = remove;
26675 return f != remove;
26680 rm -f conftest.
$ac_objext conftest
$ac_exeext
26681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26682 (eval $ac_link) 2>conftest.er1
26684 grep -v '^ *+' conftest.er1
>conftest.err
26686 cat conftest.err
>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } &&
26689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; } &&
26695 { ac_try
='test -s conftest$ac_exeext'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; }; then
26701 ac_cv_func_remove
=yes
26703 echo "$as_me: failed program was:" >&5
26704 sed 's/^/| /' conftest.
$ac_ext >&5
26706 ac_cv_func_remove
=no
26708 rm -f conftest.err conftest.
$ac_objext \
26709 conftest
$ac_exeext conftest.
$ac_ext
26711 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26712 echo "${ECHO_T}$ac_cv_func_remove" >&6
26714 if test $ac_cv_func_remove = no
; then
26715 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26716 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26717 if test "${ac_cv_lib_posix_remove+set}" = set; then
26718 echo $ECHO_N "(cached) $ECHO_C" >&6
26720 ac_check_lib_save_LIBS
=$LIBS
26721 LIBS
="-lposix $LIBS"
26722 cat >conftest.
$ac_ext <<_ACEOF
26725 cat confdefs.h
>>conftest.
$ac_ext
26726 cat >>conftest.
$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26729 /* Override any gcc2 internal prototype to avoid an error. */
26733 /* We use char because int might match the return type of a gcc2
26734 builtin and then its argument prototype would still apply. */
26744 rm -f conftest.
$ac_objext conftest
$ac_exeext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26746 (eval $ac_link) 2>conftest.er1
26748 grep -v '^ *+' conftest.er1
>conftest.err
26750 cat conftest.err
>&5
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); } &&
26753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26755 (eval $ac_try) 2>&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); }; } &&
26759 { ac_try
='test -s conftest$ac_exeext'
26760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26761 (eval $ac_try) 2>&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); }; }; then
26765 ac_cv_lib_posix_remove
=yes
26767 echo "$as_me: failed program was:" >&5
26768 sed 's/^/| /' conftest.
$ac_ext >&5
26770 ac_cv_lib_posix_remove
=no
26772 rm -f conftest.err conftest.
$ac_objext \
26773 conftest
$ac_exeext conftest.
$ac_ext
26774 LIBS
=$ac_check_lib_save_LIBS
26776 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26778 if test $ac_cv_lib_posix_remove = yes; then
26779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26785 echo "$as_me:$LINENO: checking for shmat" >&5
26786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26787 if test "${ac_cv_func_shmat+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26790 cat >conftest.
$ac_ext <<_ACEOF
26793 cat confdefs.h
>>conftest.
$ac_ext
26794 cat >>conftest.
$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26798 #define shmat innocuous_shmat
26800 /* System header to define __stub macros and hopefully few prototypes,
26801 which can conflict with char shmat (); below.
26802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26803 <limits.h> exists even on freestanding compilers. */
26806 # include <limits.h>
26808 # include <assert.h>
26813 /* Override any gcc2 internal prototype to avoid an error. */
26818 /* We use char because int might match the return type of a gcc2
26819 builtin and then its argument prototype would still apply. */
26821 /* The GNU C library defines this for functions which it implements
26822 to always fail with ENOSYS. Some functions are actually named
26823 something starting with __ and the normal name is an alias. */
26824 #if defined (__stub_shmat) || defined (__stub___shmat)
26827 char (*f) () = shmat;
26841 rm -f conftest.
$ac_objext conftest
$ac_exeext
26842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26843 (eval $ac_link) 2>conftest.er1
26845 grep -v '^ *+' conftest.er1
>conftest.err
26847 cat conftest.err
>&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); } &&
26850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852 (eval $ac_try) 2>&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); }; } &&
26856 { ac_try
='test -s conftest$ac_exeext'
26857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26858 (eval $ac_try) 2>&5
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); }; }; then
26862 ac_cv_func_shmat
=yes
26864 echo "$as_me: failed program was:" >&5
26865 sed 's/^/| /' conftest.
$ac_ext >&5
26867 ac_cv_func_shmat
=no
26869 rm -f conftest.err conftest.
$ac_objext \
26870 conftest
$ac_exeext conftest.
$ac_ext
26872 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26873 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26875 if test $ac_cv_func_shmat = no
; then
26876 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26877 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26878 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26879 echo $ECHO_N "(cached) $ECHO_C" >&6
26881 ac_check_lib_save_LIBS
=$LIBS
26883 cat >conftest.
$ac_ext <<_ACEOF
26886 cat confdefs.h
>>conftest.
$ac_ext
26887 cat >>conftest.
$ac_ext <<_ACEOF
26888 /* end confdefs.h. */
26890 /* Override any gcc2 internal prototype to avoid an error. */
26894 /* We use char because int might match the return type of a gcc2
26895 builtin and then its argument prototype would still apply. */
26905 rm -f conftest.
$ac_objext conftest
$ac_exeext
26906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26907 (eval $ac_link) 2>conftest.er1
26909 grep -v '^ *+' conftest.er1
>conftest.err
26911 cat conftest.err
>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); } &&
26914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26916 (eval $ac_try) 2>&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); }; } &&
26920 { ac_try
='test -s conftest$ac_exeext'
26921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922 (eval $ac_try) 2>&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); }; }; then
26926 ac_cv_lib_ipc_shmat
=yes
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.
$ac_ext >&5
26931 ac_cv_lib_ipc_shmat
=no
26933 rm -f conftest.err conftest.
$ac_objext \
26934 conftest
$ac_exeext conftest.
$ac_ext
26935 LIBS
=$ac_check_lib_save_LIBS
26937 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26938 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26939 if test $ac_cv_lib_ipc_shmat = yes; then
26940 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26946 # Check for libraries that X11R6 Xt/Xaw programs need.
26947 ac_save_LDFLAGS
=$LDFLAGS
26948 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26949 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26950 # check for ICE first), but we must link in the order -lSM -lICE or
26951 # we get undefined symbols. So assume we have SM if we have ICE.
26952 # These have to be linked with before -lX11, unlike the other
26953 # libraries we check for below, so use a different variable.
26954 # John Interrante, Karl Berry
26955 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26956 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26957 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26960 ac_check_lib_save_LIBS
=$LIBS
26961 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26962 cat >conftest.
$ac_ext <<_ACEOF
26965 cat confdefs.h
>>conftest.
$ac_ext
26966 cat >>conftest.
$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26969 /* Override any gcc2 internal prototype to avoid an error. */
26973 /* We use char because int might match the return type of a gcc2
26974 builtin and then its argument prototype would still apply. */
26975 char IceConnectionNumber ();
26979 IceConnectionNumber ();
26984 rm -f conftest.
$ac_objext conftest
$ac_exeext
26985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26986 (eval $ac_link) 2>conftest.er1
26988 grep -v '^ *+' conftest.er1
>conftest.err
26990 cat conftest.err
>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); } &&
26993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; } &&
26999 { ac_try
='test -s conftest$ac_exeext'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 ac_cv_lib_ICE_IceConnectionNumber
=yes
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.
$ac_ext >&5
27010 ac_cv_lib_ICE_IceConnectionNumber
=no
27012 rm -f conftest.err conftest.
$ac_objext \
27013 conftest
$ac_exeext conftest.
$ac_ext
27014 LIBS
=$ac_check_lib_save_LIBS
27016 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27017 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27018 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27019 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27022 LDFLAGS
=$ac_save_LDFLAGS
27027 if test "$no_x" = "yes"; then
27028 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27029 echo "$as_me: error: X11 not found" >&2;}
27030 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27033 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27034 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27035 AFMINSTALL
=afminstall
27036 COMPILED_X_PROGRAM
=0
27040 if test "$wxUSE_X11" = 1; then
27041 if test "$wxUSE_NANOX" = "yes"; then
27042 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27043 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27044 if test "x$MICROWIN" = x
; then
27045 echo "$as_me:$LINENO: result: not found" >&5
27046 echo "${ECHO_T}not found" >&6
27047 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27048 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27049 { (exit 1); exit 1; }; }
27051 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27052 echo "${ECHO_T}$MICROWIN" >&6
27053 cat >>confdefs.h
<<\_ACEOF
27054 #define wxUSE_NANOX 1
27060 if test "$wxUSE_UNICODE" = "yes"; then
27064 if test -z "$PKG_CONFIG"; then
27065 # Extract the first word of "pkg-config", so it can be a program name with args.
27066 set dummy pkg
-config; ac_word
=$2
27067 echo "$as_me:$LINENO: checking for $ac_word" >&5
27068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27069 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27070 echo $ECHO_N "(cached) $ECHO_C" >&6
27072 case $PKG_CONFIG in
27074 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27078 for as_dir
in $PATH
27081 test -z "$as_dir" && as_dir
=.
27082 for ac_exec_ext
in '' $ac_executable_extensions; do
27083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27084 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27091 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27095 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27097 if test -n "$PKG_CONFIG"; then
27098 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27099 echo "${ECHO_T}$PKG_CONFIG" >&6
27101 echo "$as_me:$LINENO: result: no" >&5
27102 echo "${ECHO_T}no" >&6
27107 if test "$PKG_CONFIG" = "no" ; then
27108 echo "*** The pkg-config script could not be found. Make sure it is"
27109 echo "*** in your path, or set the PKG_CONFIG environment variable"
27110 echo "*** to the full path to pkg-config."
27111 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27113 PKG_CONFIG_MIN_VERSION
=0.9.0
27114 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27115 echo "$as_me:$LINENO: checking for pangox" >&5
27116 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27118 if $PKG_CONFIG --exists "pangox" ; then
27119 echo "$as_me:$LINENO: result: yes" >&5
27120 echo "${ECHO_T}yes" >&6
27123 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27124 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27125 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27126 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27127 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27129 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27130 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27131 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27132 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27133 echo "${ECHO_T}$PANGOX_LIBS" >&6
27137 ## If we have a custom action on failure, don't print errors, but
27138 ## do set a variable so people can do so.
27139 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27146 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27147 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27151 if test $succeeded = yes; then
27153 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27154 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27158 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27159 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27160 { (exit 1); exit 1; }; }
27168 if test -z "$PKG_CONFIG"; then
27169 # Extract the first word of "pkg-config", so it can be a program name with args.
27170 set dummy pkg
-config; ac_word
=$2
27171 echo "$as_me:$LINENO: checking for $ac_word" >&5
27172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27173 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27174 echo $ECHO_N "(cached) $ECHO_C" >&6
27176 case $PKG_CONFIG in
27178 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27182 for as_dir
in $PATH
27185 test -z "$as_dir" && as_dir
=.
27186 for ac_exec_ext
in '' $ac_executable_extensions; do
27187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27188 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27195 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27199 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27201 if test -n "$PKG_CONFIG"; then
27202 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27203 echo "${ECHO_T}$PKG_CONFIG" >&6
27205 echo "$as_me:$LINENO: result: no" >&5
27206 echo "${ECHO_T}no" >&6
27211 if test "$PKG_CONFIG" = "no" ; then
27212 echo "*** The pkg-config script could not be found. Make sure it is"
27213 echo "*** in your path, or set the PKG_CONFIG environment variable"
27214 echo "*** to the full path to pkg-config."
27215 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27217 PKG_CONFIG_MIN_VERSION
=0.9.0
27218 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27219 echo "$as_me:$LINENO: checking for pangoft2" >&5
27220 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27222 if $PKG_CONFIG --exists "pangoft2" ; then
27223 echo "$as_me:$LINENO: result: yes" >&5
27224 echo "${ECHO_T}yes" >&6
27227 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27228 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27229 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27230 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27231 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27233 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27234 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27235 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27236 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27237 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27241 ## If we have a custom action on failure, don't print errors, but
27242 ## do set a variable so people can do so.
27243 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27250 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27251 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27255 if test $succeeded = yes; then
27257 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27258 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27262 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27263 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27264 wxUSE_PRINTING_ARCHITECTURE
="no"
27272 if test -z "$PKG_CONFIG"; then
27273 # Extract the first word of "pkg-config", so it can be a program name with args.
27274 set dummy pkg
-config; ac_word
=$2
27275 echo "$as_me:$LINENO: checking for $ac_word" >&5
27276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27277 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27278 echo $ECHO_N "(cached) $ECHO_C" >&6
27280 case $PKG_CONFIG in
27282 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27286 for as_dir
in $PATH
27289 test -z "$as_dir" && as_dir
=.
27290 for ac_exec_ext
in '' $ac_executable_extensions; do
27291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27292 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27299 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27303 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27305 if test -n "$PKG_CONFIG"; then
27306 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27307 echo "${ECHO_T}$PKG_CONFIG" >&6
27309 echo "$as_me:$LINENO: result: no" >&5
27310 echo "${ECHO_T}no" >&6
27315 if test "$PKG_CONFIG" = "no" ; then
27316 echo "*** The pkg-config script could not be found. Make sure it is"
27317 echo "*** in your path, or set the PKG_CONFIG environment variable"
27318 echo "*** to the full path to pkg-config."
27319 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27321 PKG_CONFIG_MIN_VERSION
=0.9.0
27322 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27323 echo "$as_me:$LINENO: checking for pangoxft" >&5
27324 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27326 if $PKG_CONFIG --exists "pangoxft" ; then
27327 echo "$as_me:$LINENO: result: yes" >&5
27328 echo "${ECHO_T}yes" >&6
27331 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27332 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27333 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27334 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27335 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27337 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27338 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27339 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27340 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27341 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27345 ## If we have a custom action on failure, don't print errors, but
27346 ## do set a variable so people can do so.
27347 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27354 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27355 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27359 if test $succeeded = yes; then
27361 cat >>confdefs.h
<<\_ACEOF
27362 #define HAVE_PANGO_XFT 1
27365 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27366 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27370 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27371 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27376 save_CFLAGS
="$CFLAGS"
27378 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27379 LIBS
="$LIBS $PANGOX_LIBS"
27381 for ac_func
in pango_font_family_is_monospace
27383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27384 echo "$as_me:$LINENO: checking for $ac_func" >&5
27385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27386 if eval "test \"\${$as_ac_var+set}\" = set"; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 cat >conftest.
$ac_ext <<_ACEOF
27392 cat confdefs.h
>>conftest.
$ac_ext
27393 cat >>conftest.
$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27397 #define $ac_func innocuous_$ac_func
27399 /* System header to define __stub macros and hopefully few prototypes,
27400 which can conflict with char $ac_func (); below.
27401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27402 <limits.h> exists even on freestanding compilers. */
27405 # include <limits.h>
27407 # include <assert.h>
27412 /* Override any gcc2 internal prototype to avoid an error. */
27417 /* We use char because int might match the return type of a gcc2
27418 builtin and then its argument prototype would still apply. */
27420 /* The GNU C library defines this for functions which it implements
27421 to always fail with ENOSYS. Some functions are actually named
27422 something starting with __ and the normal name is an alias. */
27423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27426 char (*f) () = $ac_func;
27435 return f != $ac_func;
27440 rm -f conftest.
$ac_objext conftest
$ac_exeext
27441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27442 (eval $ac_link) 2>conftest.er1
27444 grep -v '^ *+' conftest.er1
>conftest.err
27446 cat conftest.err
>&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } &&
27449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27451 (eval $ac_try) 2>&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); }; } &&
27455 { ac_try
='test -s conftest$ac_exeext'
27456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27457 (eval $ac_try) 2>&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); }; }; then
27461 eval "$as_ac_var=yes"
27463 echo "$as_me: failed program was:" >&5
27464 sed 's/^/| /' conftest.
$ac_ext >&5
27466 eval "$as_ac_var=no"
27468 rm -f conftest.err conftest.
$ac_objext \
27469 conftest
$ac_exeext conftest.
$ac_ext
27471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27473 if test `eval echo '${'$as_ac_var'}'` = yes; then
27474 cat >>confdefs.h
<<_ACEOF
27475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27481 CFLAGS
="$save_CFLAGS"
27485 wxUSE_UNIVERSAL
="yes"
27487 if test "$wxUSE_NANOX" = "yes"; then
27488 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27489 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"
27490 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27492 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27499 if test "$wxUSE_MOTIF" = 1; then
27500 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27501 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27504 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27506 if test -f "$ac_dir/Xm/Xm.h"; then
27507 ac_find_includes
=$ac_dir
27512 if test "$ac_find_includes" != "" ; then
27513 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27514 echo "${ECHO_T}found in $ac_find_includes" >&6
27516 if test "x$ac_find_includes" = "x/usr/include"; then
27517 ac_path_to_include
=""
27519 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27521 if test $result = 0; then
27522 ac_path_to_include
=""
27524 ac_path_to_include
=" -I$ac_find_includes"
27528 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27530 cat >conftest.
$ac_ext <<_ACEOF
27533 cat confdefs.h
>>conftest.
$ac_ext
27534 cat >>conftest.
$ac_ext <<_ACEOF
27535 /* end confdefs.h. */
27544 version = xmUseVersion;
27550 rm -f conftest.
$ac_objext
27551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27552 (eval $ac_compile) 2>conftest.er1
27554 grep -v '^ *+' conftest.er1
>conftest.err
27556 cat conftest.err
>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } &&
27559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27561 (eval $ac_try) 2>&5
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); }; } &&
27565 { ac_try
='test -s conftest.$ac_objext'
27566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27567 (eval $ac_try) 2>&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); }; }; then
27572 echo "$as_me:$LINENO: result: found in default search path" >&5
27573 echo "${ECHO_T}found in default search path" >&6
27574 COMPILED_X_PROGRAM
=1
27577 echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.
$ac_ext >&5
27581 echo "$as_me:$LINENO: result: no" >&5
27582 echo "${ECHO_T}no" >&6
27583 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27584 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27585 { (exit 1); exit 1; }; }
27589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27592 if test "$COMPILED_X_PROGRAM" = 0; then
27593 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27594 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27597 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27599 for ac_extension
in a so sl dylib
; do
27600 if test -f "$ac_dir/libXm.$ac_extension"; then
27601 ac_find_libraries
=$ac_dir
27607 if test "$ac_find_libraries" != "" ; then
27608 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27609 echo "${ECHO_T}found at $ac_find_libraries" >&6
27612 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27614 if test $result = 0; then
27617 ac_path_to_link
=" -L$ac_find_libraries"
27620 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27622 save_CFLAGS
=$CFLAGS
27623 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27625 cat >conftest.
$ac_ext <<_ACEOF
27628 cat confdefs.h
>>conftest.
$ac_ext
27629 cat >>conftest.
$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27639 version = xmUseVersion;
27645 rm -f conftest.
$ac_objext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27647 (eval $ac_compile) 2>conftest.er1
27649 grep -v '^ *+' conftest.er1
>conftest.err
27651 cat conftest.err
>&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); } &&
27654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27656 (eval $ac_try) 2>&5
27658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659 (exit $ac_status); }; } &&
27660 { ac_try
='test -s conftest.$ac_objext'
27661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27662 (eval $ac_try) 2>&5
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); }; }; then
27667 echo "$as_me:$LINENO: result: found in default search path" >&5
27668 echo "${ECHO_T}found in default search path" >&6
27669 COMPILED_X_PROGRAM
=1
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.
$ac_ext >&5
27676 echo "$as_me:$LINENO: result: no" >&5
27677 echo "${ECHO_T}no" >&6
27678 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27679 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27680 { (exit 1); exit 1; }; }
27684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27686 CFLAGS
=$save_CFLAGS
27690 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27691 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27695 for libp
in "" " -lXp"; do
27696 if test "$libs_found" = "0"; then
27697 for libsm_ice
in "" " -lSM -lICE"; do
27698 if test "$libs_found" = "0"; then
27700 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27701 save_CFLAGS
=$CFLAGS
27702 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27704 cat >conftest.
$ac_ext <<_ACEOF
27707 cat confdefs.h
>>conftest.
$ac_ext
27708 cat >>conftest.
$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27712 #include <Xm/List.h>
27718 XmString string = NULL;
27721 XmListAddItem(w, string, position);
27727 rm -f conftest.
$ac_objext conftest
$ac_exeext
27728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27729 (eval $ac_link) 2>conftest.er1
27731 grep -v '^ *+' conftest.er1
>conftest.err
27733 cat conftest.err
>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } &&
27736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738 (eval $ac_try) 2>&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; } &&
27742 { ac_try
='test -s conftest$ac_exeext'
27743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27744 (eval $ac_try) 2>&5
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); }; }; then
27750 libsm_ice_link
="$libsm_ice"
27751 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27752 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27756 echo "$as_me: failed program was:" >&5
27757 sed 's/^/| /' conftest.
$ac_ext >&5
27762 rm -f conftest.err conftest.
$ac_objext \
27763 conftest
$ac_exeext conftest.
$ac_ext
27766 CFLAGS
=$save_CFLAGS
27772 if test "$libs_found" = "0"; then
27773 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27774 echo "${ECHO_T}can't find the right libraries" >&6
27775 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27776 echo "$as_me: error: can't link a simple motif program" >&2;}
27777 { (exit 1); exit 1; }; }
27780 save_CFLAGS
=$CFLAGS
27781 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27782 echo "$as_me:$LINENO: checking for Motif 2" >&5
27783 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27784 cat >conftest.
$ac_ext <<_ACEOF
27787 cat confdefs.h
>>conftest.
$ac_ext
27788 cat >>conftest.
$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27797 #if XmVersion < 2000
27798 #error "Not Motif 2"
27805 rm -f conftest.
$ac_objext
27806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27807 (eval $ac_compile) 2>conftest.er1
27809 grep -v '^ *+' conftest.er1
>conftest.err
27811 cat conftest.err
>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; } &&
27820 { ac_try
='test -s conftest.$ac_objext'
27821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27822 (eval $ac_try) 2>&5
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); }; }; then
27827 cat >>confdefs.h
<<\_ACEOF
27828 #define __WXMOTIF20__ 1
27831 echo "$as_me:$LINENO: result: found" >&5
27832 echo "${ECHO_T}found" >&6
27835 echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.
$ac_ext >&5
27839 cat >>confdefs.h
<<\_ACEOF
27840 #define __WXMOTIF20__ 0
27843 echo "$as_me:$LINENO: result: not found" >&5
27844 echo "${ECHO_T}not found" >&6
27847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27848 CFLAGS
=$save_CFLAGS
27850 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27855 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27856 if test "$wxUSE_LIBXPM" = "sys"; then
27857 echo "$as_me:$LINENO: checking for Xpm library" >&5
27858 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27861 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27863 for ac_extension
in a so sl dylib
; do
27864 if test -f "$ac_dir/libXpm.$ac_extension"; then
27865 ac_find_libraries
=$ac_dir
27871 if test "$ac_find_libraries" != "" ; then
27873 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27875 if test $result = 0; then
27878 ac_path_to_link
=" -L$ac_find_libraries"
27881 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27882 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27883 echo "${ECHO_T}found at $ac_find_libraries" >&6
27885 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27886 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27887 if test "${wx_cv_x11_xpm_h+set}" = set; then
27888 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 save_CFLAGS
=$CFLAGS
27892 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27894 cat >conftest.
$ac_ext <<_ACEOF
27897 cat confdefs.h
>>conftest.
$ac_ext
27898 cat >>conftest.
$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27901 #include <X11/xpm.h>
27908 version = XpmLibraryVersion();
27914 rm -f conftest.
$ac_objext
27915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27916 (eval $ac_compile) 2>conftest.er1
27918 grep -v '^ *+' conftest.er1
>conftest.err
27920 cat conftest.err
>&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } &&
27923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27925 (eval $ac_try) 2>&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); }; } &&
27929 { ac_try
='test -s conftest.$ac_objext'
27930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27931 (eval $ac_try) 2>&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); }; }; then
27935 wx_cv_x11_xpm_h
=yes
27937 echo "$as_me: failed program was:" >&5
27938 sed 's/^/| /' conftest.
$ac_ext >&5
27943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27945 CFLAGS
=$save_CFLAGS
27949 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27950 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27952 if test $wx_cv_x11_xpm_h = "yes"; then
27953 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27954 cat >>confdefs.h
<<\_ACEOF
27955 #define wxHAVE_LIB_XPM 1
27959 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27960 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27966 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27967 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27968 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 ac_check_lib_save_LIBS
=$LIBS
27972 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27973 cat >conftest.
$ac_ext <<_ACEOF
27976 cat confdefs.h
>>conftest.
$ac_ext
27977 cat >>conftest.
$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27980 /* Override any gcc2 internal prototype to avoid an error. */
27984 /* We use char because int might match the return type of a gcc2
27985 builtin and then its argument prototype would still apply. */
27986 char XShapeQueryExtension ();
27990 XShapeQueryExtension ();
27995 rm -f conftest.
$ac_objext conftest
$ac_exeext
27996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27997 (eval $ac_link) 2>conftest.er1
27999 grep -v '^ *+' conftest.er1
>conftest.err
28001 cat conftest.err
>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } &&
28004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; } &&
28010 { ac_try
='test -s conftest$ac_exeext'
28011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28012 (eval $ac_try) 2>&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); }; }; then
28016 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28018 echo "$as_me: failed program was:" >&5
28019 sed 's/^/| /' conftest.
$ac_ext >&5
28021 ac_cv_lib_Xext_XShapeQueryExtension
=no
28023 rm -f conftest.err conftest.
$ac_objext \
28024 conftest
$ac_exeext conftest.
$ac_ext
28025 LIBS
=$ac_check_lib_save_LIBS
28027 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28028 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28029 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28031 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28037 if test "$wxHAVE_XEXT_LIB" = 1; then
28038 save_CFLAGS
="$CFLAGS"
28039 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28041 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28042 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28043 cat >conftest.
$ac_ext <<_ACEOF
28046 cat confdefs.h
>>conftest.
$ac_ext
28047 cat >>conftest.
$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28050 #include <X11/Xlib.h>
28051 #include <X11/extensions/shape.h>
28057 int dummy1, dummy2;
28058 XShapeQueryExtension((Display*)NULL,
28059 (int*)NULL, (int*)NULL);
28065 rm -f conftest.
$ac_objext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28067 (eval $ac_compile) 2>conftest.er1
28069 grep -v '^ *+' conftest.er1
>conftest.err
28071 cat conftest.err
>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); } &&
28074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076 (eval $ac_try) 2>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; } &&
28080 { ac_try
='test -s conftest.$ac_objext'
28081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28082 (eval $ac_try) 2>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); }; }; then
28087 cat >>confdefs.h
<<\_ACEOF
28088 #define HAVE_XSHAPE 1
28091 echo "$as_me:$LINENO: result: found" >&5
28092 echo "${ECHO_T}found" >&6
28095 echo "$as_me: failed program was:" >&5
28096 sed 's/^/| /' conftest.
$ac_ext >&5
28099 echo "$as_me:$LINENO: result: not found" >&5
28100 echo "${ECHO_T}not found" >&6
28103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28104 CFLAGS
="$save_CFLAGS"
28109 if test "$wxUSE_MAC" = 1; then
28110 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28111 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28112 if test "$GCC" = yes; then
28113 echo "$as_me:$LINENO: result: gcc" >&5
28114 echo "${ECHO_T}gcc" >&6
28115 CPPFLAGS_PASCAL
="-fpascal-strings"
28116 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28117 echo "$as_me:$LINENO: result: xlc" >&5
28118 echo "${ECHO_T}xlc" >&6
28119 CPPFLAGS_PASCAL
="-qmacpstr"
28121 echo "$as_me:$LINENO: result: none" >&5
28122 echo "${ECHO_T}none" >&6
28125 if test "x$wxUSE_UNIX" = "xyes"; then
28126 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28128 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28133 WXBASEPORT
="_carbon"
28136 if test "$wxUSE_COCOA" = 1; then
28141 if test "$wxUSE_PM" = 1; then
28144 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28145 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28146 if test "${wx_cv_spbcdata+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28150 cat >conftest.
$ac_ext <<_ACEOF
28153 cat confdefs.h
>>conftest.
$ac_ext
28154 cat >>conftest.
$ac_ext <<_ACEOF
28155 /* end confdefs.h. */
28170 rm -f conftest.
$ac_objext
28171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28172 (eval $ac_compile) 2>conftest.er1
28174 grep -v '^ *+' conftest.er1
>conftest.err
28176 cat conftest.err
>&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); } &&
28179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28181 (eval $ac_try) 2>&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; } &&
28185 { ac_try
='test -s conftest.$ac_objext'
28186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28187 (eval $ac_try) 2>&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); }; }; then
28193 echo "$as_me: failed program was:" >&5
28194 sed 's/^/| /' conftest.
$ac_ext >&5
28199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28203 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28204 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28206 if test $wx_cv_spbcdata = "yes"; then
28207 cat >>confdefs.h
<<\_ACEOF
28208 #define HAVE_SPBCDATA 1
28214 if test "$TOOLKIT" = "PM" ; then
28217 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28220 if test "$wxUSE_UNIVERSAL" = "yes"; then
28221 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28225 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28226 DISTDIR
="wx\$(TOOLKIT)"
28232 if test "$USE_WIN32" = 1 ; then
28236 GUIDIST
="BASE_DIST"
28246 if test "$TOOLKIT" != "MSW" ; then
28248 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28250 if test "${ac_cv_header_sql_h+set}" = set; then
28251 echo "$as_me:$LINENO: checking for sql.h" >&5
28252 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28253 if test "${ac_cv_header_sql_h+set}" = set; then
28254 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28257 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28259 # Is the header compilable?
28260 echo "$as_me:$LINENO: checking sql.h usability" >&5
28261 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28262 cat >conftest.
$ac_ext <<_ACEOF
28265 cat confdefs.h
>>conftest.
$ac_ext
28266 cat >>conftest.
$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268 $ac_includes_default
28271 rm -f conftest.
$ac_objext
28272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28273 (eval $ac_compile) 2>conftest.er1
28275 grep -v '^ *+' conftest.er1
>conftest.err
28277 cat conftest.err
>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } &&
28280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; } &&
28286 { ac_try
='test -s conftest.$ac_objext'
28287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288 (eval $ac_try) 2>&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); }; }; then
28292 ac_header_compiler
=yes
28294 echo "$as_me: failed program was:" >&5
28295 sed 's/^/| /' conftest.
$ac_ext >&5
28297 ac_header_compiler
=no
28299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28301 echo "${ECHO_T}$ac_header_compiler" >&6
28303 # Is the header present?
28304 echo "$as_me:$LINENO: checking sql.h presence" >&5
28305 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28306 cat >conftest.
$ac_ext <<_ACEOF
28309 cat confdefs.h
>>conftest.
$ac_ext
28310 cat >>conftest.
$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28315 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28317 grep -v '^ *+' conftest.er1
>conftest.err
28319 cat conftest.err
>&5
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); } >/dev
/null
; then
28322 if test -s conftest.err
; then
28323 ac_cpp_err
=$ac_c_preproc_warn_flag
28324 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28331 if test -z "$ac_cpp_err"; then
28332 ac_header_preproc
=yes
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.
$ac_ext >&5
28337 ac_header_preproc
=no
28339 rm -f conftest.err conftest.
$ac_ext
28340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28341 echo "${ECHO_T}$ac_header_preproc" >&6
28343 # So? What about this header?
28344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28346 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28347 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28348 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28349 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28350 ac_header_preproc
=yes
28353 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28354 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28355 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28356 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28357 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28358 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28359 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28360 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28361 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28362 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28363 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28364 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28367 ## ----------------------------------------- ##
28368 ## Report this to wx-dev@lists.wxwidgets.org ##
28369 ## ----------------------------------------- ##
28372 sed "s/^/$as_me: WARNING: /" >&2
28375 echo "$as_me:$LINENO: checking for sql.h" >&5
28376 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28377 if test "${ac_cv_header_sql_h+set}" = set; then
28378 echo $ECHO_N "(cached) $ECHO_C" >&6
28380 ac_cv_header_sql_h
=$ac_header_preproc
28382 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28383 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28386 if test $ac_cv_header_sql_h = yes; then
28391 if test "x$found_sql_h" = "x1" ; then
28392 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28393 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28394 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28395 echo $ECHO_N "(cached) $ECHO_C" >&6
28397 ac_check_lib_save_LIBS
=$LIBS
28398 LIBS
="-liodbc $LIBS"
28399 cat >conftest.
$ac_ext <<_ACEOF
28402 cat confdefs.h
>>conftest.
$ac_ext
28403 cat >>conftest.
$ac_ext <<_ACEOF
28404 /* end confdefs.h. */
28406 /* Override any gcc2 internal prototype to avoid an error. */
28410 /* We use char because int might match the return type of a gcc2
28411 builtin and then its argument prototype would still apply. */
28412 char SQLAllocEnv ();
28421 rm -f conftest.
$ac_objext conftest
$ac_exeext
28422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28423 (eval $ac_link) 2>conftest.er1
28425 grep -v '^ *+' conftest.er1
>conftest.err
28427 cat conftest.err
>&5
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); } &&
28430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28432 (eval $ac_try) 2>&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); }; } &&
28436 { ac_try
='test -s conftest$ac_exeext'
28437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28438 (eval $ac_try) 2>&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); }; }; then
28442 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28444 echo "$as_me: failed program was:" >&5
28445 sed 's/^/| /' conftest.
$ac_ext >&5
28447 ac_cv_lib_iodbc_SQLAllocEnv
=no
28449 rm -f conftest.err conftest.
$ac_objext \
28450 conftest
$ac_exeext conftest.
$ac_ext
28451 LIBS
=$ac_check_lib_save_LIBS
28453 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28454 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28455 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28456 ODBC_LINK
=" -liodbc"
28459 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28460 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28461 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28462 echo $ECHO_N "(cached) $ECHO_C" >&6
28464 ac_check_lib_save_LIBS
=$LIBS
28465 LIBS
="-lunixodbc $LIBS"
28466 cat >conftest.
$ac_ext <<_ACEOF
28469 cat confdefs.h
>>conftest.
$ac_ext
28470 cat >>conftest.
$ac_ext <<_ACEOF
28471 /* end confdefs.h. */
28473 /* Override any gcc2 internal prototype to avoid an error. */
28477 /* We use char because int might match the return type of a gcc2
28478 builtin and then its argument prototype would still apply. */
28479 char SQLAllocEnv ();
28488 rm -f conftest.
$ac_objext conftest
$ac_exeext
28489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28490 (eval $ac_link) 2>conftest.er1
28492 grep -v '^ *+' conftest.er1
>conftest.err
28494 cat conftest.err
>&5
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); } &&
28497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499 (eval $ac_try) 2>&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; } &&
28503 { ac_try
='test -s conftest$ac_exeext'
28504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28505 (eval $ac_try) 2>&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); }; }; then
28509 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28511 echo "$as_me: failed program was:" >&5
28512 sed 's/^/| /' conftest.
$ac_ext >&5
28514 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28516 rm -f conftest.err conftest.
$ac_objext \
28517 conftest
$ac_exeext conftest.
$ac_ext
28518 LIBS
=$ac_check_lib_save_LIBS
28520 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28521 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28522 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28523 ODBC_LINK
=" -lunixodbc"
28526 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28527 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28528 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28529 echo $ECHO_N "(cached) $ECHO_C" >&6
28531 ac_check_lib_save_LIBS
=$LIBS
28532 LIBS
="-lodbc $LIBS"
28533 cat >conftest.
$ac_ext <<_ACEOF
28536 cat confdefs.h
>>conftest.
$ac_ext
28537 cat >>conftest.
$ac_ext <<_ACEOF
28538 /* end confdefs.h. */
28540 /* Override any gcc2 internal prototype to avoid an error. */
28544 /* We use char because int might match the return type of a gcc2
28545 builtin and then its argument prototype would still apply. */
28546 char SQLAllocEnv ();
28555 rm -f conftest.
$ac_objext conftest
$ac_exeext
28556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28557 (eval $ac_link) 2>conftest.er1
28559 grep -v '^ *+' conftest.er1
>conftest.err
28561 cat conftest.err
>&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } &&
28564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; } &&
28570 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
28576 ac_cv_lib_odbc_SQLAllocEnv
=yes
28578 echo "$as_me: failed program was:" >&5
28579 sed 's/^/| /' conftest.
$ac_ext >&5
28581 ac_cv_lib_odbc_SQLAllocEnv
=no
28583 rm -f conftest.err conftest.
$ac_objext \
28584 conftest
$ac_exeext conftest.
$ac_ext
28585 LIBS
=$ac_check_lib_save_LIBS
28587 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28588 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28589 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28590 ODBC_LINK
=" -lodbc"
28600 if test "x$ODBC_LINK" = "x" ; then
28601 if test "$wxUSE_ODBC" = "sys" ; then
28602 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28603 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28604 { (exit 1); exit 1; }; }
28606 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28607 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28615 if test "$wxUSE_ODBC" = "builtin" ; then
28616 cat >>confdefs.h
<<\_ACEOF
28617 #define wxUSE_BUILTIN_IODBC 1
28623 if test "$wxUSE_ODBC" != "no" ; then
28624 cat >>confdefs.h
<<\_ACEOF
28625 #define wxUSE_ODBC 1
28628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28630 WXODBCFLAG
="-D_IODBC_"
28634 if test "$wxUSE_DISPLAY" = "yes"; then
28635 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28636 echo "$as_me:$LINENO: checking for Xinerama" >&5
28637 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28640 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28642 for ac_extension
in a so sl dylib
; do
28643 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28644 ac_find_libraries
=$ac_dir
28650 if test "$ac_find_libraries" != "" ; then
28652 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28654 if test $result = 0; then
28657 ac_path_to_link
=" -L$ac_find_libraries"
28660 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28661 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28663 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28664 echo "$as_me:$LINENO: result: yes" >&5
28665 echo "${ECHO_T}yes" >&6
28667 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28668 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28671 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28673 for ac_extension
in a so sl dylib
; do
28674 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28675 ac_find_libraries
=$ac_dir
28681 if test "$ac_find_libraries" != "" ; then
28682 echo "$as_me:$LINENO: result: yes" >&5
28683 echo "${ECHO_T}yes" >&6
28685 for ac_header
in X
11/extensions
/xf86vmode.h
28687 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28688 echo "$as_me:$LINENO: checking for $ac_header" >&5
28689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28691 echo $ECHO_N "(cached) $ECHO_C" >&6
28693 cat >conftest.
$ac_ext <<_ACEOF
28696 cat confdefs.h
>>conftest.
$ac_ext
28697 cat >>conftest.
$ac_ext <<_ACEOF
28698 /* end confdefs.h. */
28700 #if HAVE_X11_XLIB_H
28701 #include <X11/Xlib.h>
28705 #include <$ac_header>
28707 rm -f conftest.
$ac_objext
28708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28709 (eval $ac_compile) 2>conftest.er1
28711 grep -v '^ *+' conftest.er1
>conftest.err
28713 cat conftest.err
>&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); } &&
28716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28718 (eval $ac_try) 2>&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); }; } &&
28722 { ac_try
='test -s conftest.$ac_objext'
28723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28724 (eval $ac_try) 2>&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); }; }; then
28728 eval "$as_ac_Header=yes"
28730 echo "$as_me: failed program was:" >&5
28731 sed 's/^/| /' conftest.
$ac_ext >&5
28733 eval "$as_ac_Header=no"
28735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28740 cat >>confdefs.h
<<_ACEOF
28741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28744 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28751 echo "$as_me:$LINENO: result: no" >&5
28752 echo "${ECHO_T}no" >&6
28756 echo "$as_me:$LINENO: result: no" >&5
28757 echo "${ECHO_T}no" >&6
28758 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28759 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28762 elif test "$wxUSE_MSW" = 1; then
28765 for ac_header
in multimon.h ddraw.h
28767 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28768 echo "$as_me:$LINENO: checking for $ac_header" >&5
28769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28771 echo $ECHO_N "(cached) $ECHO_C" >&6
28773 cat >conftest.
$ac_ext <<_ACEOF
28776 cat confdefs.h
>>conftest.
$ac_ext
28777 cat >>conftest.
$ac_ext <<_ACEOF
28778 /* end confdefs.h. */
28779 #include <windows.h>
28781 #include <$ac_header>
28783 rm -f conftest.
$ac_objext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28785 (eval $ac_compile) 2>conftest.er1
28787 grep -v '^ *+' conftest.er1
>conftest.err
28789 cat conftest.err
>&5
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } &&
28792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try
='test -s conftest.$ac_objext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 eval "$as_ac_Header=yes"
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.
$ac_ext >&5
28809 eval "$as_ac_Header=no"
28811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28816 cat >>confdefs.h
<<_ACEOF
28817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28823 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28824 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28835 if test "$wxUSE_OPENGL" = "yes"; then
28836 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28837 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28838 elif test "$wxUSE_MSW" = 1; then
28839 OPENGL_LIBS
="-lopengl32 -lglu32"
28844 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28846 if test -f "$ac_dir/GL/gl.h"; then
28847 ac_find_includes
=$ac_dir
28852 if test "$ac_find_includes" != "" ; then
28853 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28854 echo "${ECHO_T}found in $ac_find_includes" >&6
28856 if test "x$ac_find_includes" = "x/usr/include"; then
28857 ac_path_to_include
=""
28859 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28861 if test $result = 0; then
28862 ac_path_to_include
=""
28864 ac_path_to_include
=" -I$ac_find_includes"
28868 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28871 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28872 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28873 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28874 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28875 echo $ECHO_N "(cached) $ECHO_C" >&6
28877 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28878 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28880 # Is the header compilable?
28881 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28882 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28883 cat >conftest.
$ac_ext <<_ACEOF
28886 cat confdefs.h
>>conftest.
$ac_ext
28887 cat >>conftest.
$ac_ext <<_ACEOF
28888 /* end confdefs.h. */
28889 $ac_includes_default
28892 rm -f conftest.
$ac_objext
28893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28894 (eval $ac_compile) 2>conftest.er1
28896 grep -v '^ *+' conftest.er1
>conftest.err
28898 cat conftest.err
>&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } &&
28901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28903 (eval $ac_try) 2>&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); }; } &&
28907 { ac_try
='test -s conftest.$ac_objext'
28908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28909 (eval $ac_try) 2>&5
28911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912 (exit $ac_status); }; }; then
28913 ac_header_compiler
=yes
28915 echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.
$ac_ext >&5
28918 ac_header_compiler
=no
28920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28922 echo "${ECHO_T}$ac_header_compiler" >&6
28924 # Is the header present?
28925 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28926 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28927 cat >conftest.
$ac_ext <<_ACEOF
28930 cat confdefs.h
>>conftest.
$ac_ext
28931 cat >>conftest.
$ac_ext <<_ACEOF
28932 /* end confdefs.h. */
28935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28938 grep -v '^ *+' conftest.er1
>conftest.err
28940 cat conftest.err
>&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); } >/dev
/null
; then
28943 if test -s conftest.err
; then
28944 ac_cpp_err
=$ac_c_preproc_warn_flag
28945 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28952 if test -z "$ac_cpp_err"; then
28953 ac_header_preproc
=yes
28955 echo "$as_me: failed program was:" >&5
28956 sed 's/^/| /' conftest.
$ac_ext >&5
28958 ac_header_preproc
=no
28960 rm -f conftest.err conftest.
$ac_ext
28961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28962 echo "${ECHO_T}$ac_header_preproc" >&6
28964 # So? What about this header?
28965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28967 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28968 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28969 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28970 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28971 ac_header_preproc
=yes
28974 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28975 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28976 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28977 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28978 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28979 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28980 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28981 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28982 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28983 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28984 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28985 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28988 ## ----------------------------------------- ##
28989 ## Report this to wx-dev@lists.wxwidgets.org ##
28990 ## ----------------------------------------- ##
28993 sed "s/^/$as_me: WARNING: /" >&2
28996 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28997 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28998 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29001 ac_cv_header_GL_gl_h
=$ac_header_preproc
29003 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29004 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29007 if test $ac_cv_header_GL_gl_h = yes; then
29011 echo "$as_me:$LINENO: checking for -lGL" >&5
29012 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29015 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29017 for ac_extension
in a so sl dylib
; do
29018 if test -f "$ac_dir/libGL.$ac_extension"; then
29019 ac_find_libraries
=$ac_dir
29025 if test "$ac_find_libraries" != "" ; then
29026 echo "$as_me:$LINENO: result: yes" >&5
29027 echo "${ECHO_T}yes" >&6
29030 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29032 if test $result = 0; then
29035 ac_path_to_link
=" -L$ac_find_libraries"
29038 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29039 LDFLAGS_GL
="$ac_path_to_link"
29042 echo "$as_me:$LINENO: checking for -lGLU" >&5
29043 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29046 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29048 for ac_extension
in a so sl dylib
; do
29049 if test -f "$ac_dir/libGLU.$ac_extension"; then
29050 ac_find_libraries
=$ac_dir
29056 if test "$ac_find_libraries" != "" ; then
29058 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29060 if test $result = 0; then
29063 ac_path_to_link
=" -L$ac_find_libraries"
29066 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29067 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29068 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29072 OPENGL_LIBS
="-lGL -lGLU"
29073 echo "$as_me:$LINENO: result: yes" >&5
29074 echo "${ECHO_T}yes" >&6
29076 echo "$as_me:$LINENO: result: no" >&5
29077 echo "${ECHO_T}no" >&6
29080 echo "$as_me:$LINENO: result: no" >&5
29081 echo "${ECHO_T}no" >&6
29084 if test "$found_gl" != 1; then
29085 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29086 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29089 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29091 for ac_extension
in a so sl dylib
; do
29092 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29093 ac_find_libraries
=$ac_dir
29099 if test "$ac_find_libraries" != "" ; then
29101 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29103 if test $result = 0; then
29106 ac_path_to_link
=" -L$ac_find_libraries"
29109 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29110 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29111 echo "$as_me:$LINENO: result: yes" >&5
29112 echo "${ECHO_T}yes" >&6
29114 echo "$as_me:$LINENO: result: no" >&5
29115 echo "${ECHO_T}no" >&6
29123 if test "x$OPENGL_LIBS" = "x"; then
29124 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29125 echo "$as_me: error: OpenGL libraries not available" >&2;}
29126 { (exit 1); exit 1; }; }
29130 if test "$wxUSE_OPENGL" = "yes"; then
29132 cat >>confdefs.h
<<\_ACEOF
29133 #define wxUSE_OPENGL 1
29136 cat >>confdefs.h
<<\_ACEOF
29137 #define wxUSE_GLCANVAS 1
29140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29145 if test -n "$TOOLKIT" ; then
29146 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29151 if test "$wxUSE_SHARED" = "yes"; then
29155 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29156 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29161 if test "$wxUSE_SHARED" = "yes"; then
29164 found_versioning
=no
29167 if test $found_versioning = no
; then
29168 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29169 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29170 if test "${wx_cv_version_script+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29174 echo "VER_1 { *; };" >conftest.sym
29175 echo "int main() { return 0; }" >conftest.cpp
29178 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29179 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; } ; then
29185 if test -s conftest.stderr
; then
29186 wx_cv_version_script
=no
29188 wx_cv_version_script
=yes
29191 wx_cv_version_script
=no
29193 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29196 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29197 echo "${ECHO_T}$wx_cv_version_script" >&6
29198 if test $wx_cv_version_script = yes ; then
29199 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29205 *-*-linux* | *-*-gnu* )
29206 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29207 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29211 if test "$GCC" = yes ; then
29212 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29214 saveLdflags
="$LDFLAGS"
29215 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29216 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29217 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29218 cat >conftest.
$ac_ext <<_ACEOF
29221 cat confdefs.h
>>conftest.
$ac_ext
29222 cat >>conftest.
$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29233 rm -f conftest.
$ac_objext conftest
$ac_exeext
29234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29235 (eval $ac_link) 2>conftest.er1
29237 grep -v '^ *+' conftest.er1
>conftest.err
29239 cat conftest.err
>&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } &&
29242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29244 (eval $ac_try) 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; } &&
29248 { ac_try
='test -s conftest$ac_exeext'
29249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29250 (eval $ac_try) 2>&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; }; then
29255 echo "$as_me:$LINENO: result: yes" >&5
29256 echo "${ECHO_T}yes" >&6
29257 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29258 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29261 echo "$as_me: failed program was:" >&5
29262 sed 's/^/| /' conftest.
$ac_ext >&5
29265 echo "$as_me:$LINENO: result: no" >&5
29266 echo "${ECHO_T}no" >&6
29267 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29268 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29269 LDFLAGS
="$saveLdflags -Wl,-R,/"
29270 cat >conftest.
$ac_ext <<_ACEOF
29273 cat confdefs.h
>>conftest.
$ac_ext
29274 cat >>conftest.
$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29285 rm -f conftest.
$ac_objext conftest
$ac_exeext
29286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29287 (eval $ac_link) 2>conftest.er1
29289 grep -v '^ *+' conftest.er1
>conftest.err
29291 cat conftest.err
>&5
29292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293 (exit $ac_status); } &&
29294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try
='test -s conftest$ac_exeext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29307 echo "$as_me:$LINENO: result: yes" >&5
29308 echo "${ECHO_T}yes" >&6
29309 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29310 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.
$ac_ext >&5
29317 echo "$as_me:$LINENO: result: no" >&5
29318 echo "${ECHO_T}no" >&6
29321 rm -f conftest.err conftest.
$ac_objext \
29322 conftest
$ac_exeext conftest.
$ac_ext
29325 rm -f conftest.err conftest.
$ac_objext \
29326 conftest
$ac_exeext conftest.
$ac_ext
29327 LDFLAGS
="$saveLdflags"
29329 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29330 WXCONFIG_RPATH
="-R\$libdir"
29334 powerpc
-*-darwin* )
29335 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29336 cat <<EOF >change-install-names
29338 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29339 inst_cmd="install_name_tool "
29340 for i in \${libnames} ; do
29341 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29345 chmod +x change
-install-names
29348 *-*-cygwin* | *-*-mingw32* )
29349 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29353 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29354 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29359 if test $wxUSE_RPATH = "no"; then
29360 SAMPLES_RPATH_FLAG
=''
29361 SAMPLES_RPATH_POSTLINK
=''
29369 config_linkage_component
="-static"
29376 lib_unicode_suffix
=
29378 if test "$wxUSE_UNICODE" = "yes"; then
29379 lib_unicode_suffix
=u
29380 WX_CHARTYPE
="unicode"
29385 WX_DEBUGTYPE
="release"
29387 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29389 WX_DEBUGTYPE
="debug"
29393 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29394 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29397 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29401 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29403 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29405 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29407 if test "$cross_compiling" = "yes"; then
29408 HOST_SUFFIX
="-$host_alias"
29409 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29410 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29413 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29414 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29418 if test "$wxUSE_COCOA" = 1; then
29422 ac_cpp
='$CPP $CPPFLAGS'
29423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29429 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29430 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29431 cat >conftest.
$ac_ext <<_ACEOF
29434 cat confdefs.h
>>conftest.
$ac_ext
29435 cat >>conftest.
$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 #include <AppKit/NSEvent.h>
29438 #include <CoreFoundation/CoreFoundation.h>
29448 rm -f conftest.
$ac_objext
29449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29450 (eval $ac_compile) 2>conftest.er1
29452 grep -v '^ *+' conftest.er1
>conftest.err
29454 cat conftest.err
>&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); } &&
29457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29459 (eval $ac_try) 2>&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); }; } &&
29463 { ac_try
='test -s conftest.$ac_objext'
29464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29465 (eval $ac_try) 2>&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; }; then
29469 echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6
29472 echo "$as_me: failed program was:" >&5
29473 sed 's/^/| /' conftest.
$ac_ext >&5
29475 echo "$as_me:$LINENO: result: yes" >&5
29476 echo "${ECHO_T}yes" >&6
29477 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29478 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29479 cat >conftest.
$ac_ext <<_ACEOF
29482 cat confdefs.h
>>conftest.
$ac_ext
29483 cat >>conftest.
$ac_ext <<_ACEOF
29484 /* end confdefs.h. */
29485 #define __Point__ 1
29486 #include <AppKit/NSEvent.h>
29487 #include <CoreFoundation/CoreFoundation.h>
29497 rm -f conftest.
$ac_objext
29498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29499 (eval $ac_compile) 2>conftest.er1
29501 grep -v '^ *+' conftest.er1
>conftest.err
29503 cat conftest.err
>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } &&
29506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; } &&
29512 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
29518 echo "$as_me:$LINENO: result: yes" >&5
29519 echo "${ECHO_T}yes" >&6
29520 cat >>confdefs.h
<<\_ACEOF
29521 #define __Point__ 1
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.
$ac_ext >&5
29529 { { echo "$as_me:$LINENO: error: no
29530 See \`config.log' for more details." >&5
29531 echo "$as_me: error: no
29532 See \`config.log' for more details." >&2;}
29533 { (exit 1); exit 1; }; }
29536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29541 ac_cpp
='$CPP $CPPFLAGS'
29542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29548 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29549 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29550 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29552 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29554 # Extract the first word of "Rez", so it can be a program name with args.
29555 set dummy Rez
; ac_word
=$2
29556 echo "$as_me:$LINENO: checking for $ac_word" >&5
29557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29558 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29559 echo $ECHO_N "(cached) $ECHO_C" >&6
29561 if test -n "$RESCOMP"; then
29562 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29565 for as_dir
in $PATH
29568 test -z "$as_dir" && as_dir
=.
29569 for ac_exec_ext
in '' $ac_executable_extensions; do
29570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29571 ac_cv_prog_RESCOMP
="Rez"
29572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29578 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29581 RESCOMP
=$ac_cv_prog_RESCOMP
29582 if test -n "$RESCOMP"; then
29583 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29584 echo "${ECHO_T}$RESCOMP" >&6
29586 echo "$as_me:$LINENO: result: no" >&5
29587 echo "${ECHO_T}no" >&6
29590 # Extract the first word of "DeRez", so it can be a program name with args.
29591 set dummy DeRez
; ac_word
=$2
29592 echo "$as_me:$LINENO: checking for $ac_word" >&5
29593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29594 if test "${ac_cv_prog_DEREZ+set}" = set; then
29595 echo $ECHO_N "(cached) $ECHO_C" >&6
29597 if test -n "$DEREZ"; then
29598 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29601 for as_dir
in $PATH
29604 test -z "$as_dir" && as_dir
=.
29605 for ac_exec_ext
in '' $ac_executable_extensions; do
29606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29607 ac_cv_prog_DEREZ
="DeRez"
29608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29614 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29617 DEREZ
=$ac_cv_prog_DEREZ
29618 if test -n "$DEREZ"; then
29619 echo "$as_me:$LINENO: result: $DEREZ" >&5
29620 echo "${ECHO_T}$DEREZ" >&6
29622 echo "$as_me:$LINENO: result: no" >&5
29623 echo "${ECHO_T}no" >&6
29626 # Extract the first word of "SetFile", so it can be a program name with args.
29627 set dummy SetFile
; ac_word
=$2
29628 echo "$as_me:$LINENO: checking for $ac_word" >&5
29629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29630 if test "${ac_cv_prog_SETFILE+set}" = set; then
29631 echo $ECHO_N "(cached) $ECHO_C" >&6
29633 if test -n "$SETFILE"; then
29634 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29637 for as_dir
in $PATH
29640 test -z "$as_dir" && as_dir
=.
29641 for ac_exec_ext
in '' $ac_executable_extensions; do
29642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29643 ac_cv_prog_SETFILE
="SetFile"
29644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29650 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29653 SETFILE
=$ac_cv_prog_SETFILE
29654 if test -n "$SETFILE"; then
29655 echo "$as_me:$LINENO: result: $SETFILE" >&5
29656 echo "${ECHO_T}$SETFILE" >&6
29658 echo "$as_me:$LINENO: result: no" >&5
29659 echo "${ECHO_T}no" >&6
29663 MACSETFILE
="\$(SETFILE)"
29665 if test "$wxUSE_MAC" = 1; then
29666 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29668 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29670 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29671 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29675 MACRESWXCONFIG
="@true"
29677 if test "$wxUSE_PM" = 1; then
29678 MACRESCOMP
="emxbind -ep"
29686 echo "$as_me:$LINENO: checking for mode_t" >&5
29687 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29688 if test "${ac_cv_type_mode_t+set}" = set; then
29689 echo $ECHO_N "(cached) $ECHO_C" >&6
29691 cat >conftest.
$ac_ext <<_ACEOF
29694 cat confdefs.h
>>conftest.
$ac_ext
29695 cat >>conftest.
$ac_ext <<_ACEOF
29696 /* end confdefs.h. */
29697 $ac_includes_default
29703 if (sizeof (mode_t))
29709 rm -f conftest.
$ac_objext
29710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29711 (eval $ac_compile) 2>conftest.er1
29713 grep -v '^ *+' conftest.er1
>conftest.err
29715 cat conftest.err
>&5
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); } &&
29718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720 (eval $ac_try) 2>&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); }; } &&
29724 { ac_try
='test -s conftest.$ac_objext'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; }; then
29730 ac_cv_type_mode_t
=yes
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.
$ac_ext >&5
29735 ac_cv_type_mode_t
=no
29737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29739 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29740 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29741 if test $ac_cv_type_mode_t = yes; then
29745 cat >>confdefs.h
<<_ACEOF
29751 echo "$as_me:$LINENO: checking for off_t" >&5
29752 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29753 if test "${ac_cv_type_off_t+set}" = set; then
29754 echo $ECHO_N "(cached) $ECHO_C" >&6
29756 cat >conftest.
$ac_ext <<_ACEOF
29759 cat confdefs.h
>>conftest.
$ac_ext
29760 cat >>conftest.
$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762 $ac_includes_default
29768 if (sizeof (off_t))
29774 rm -f conftest.
$ac_objext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29776 (eval $ac_compile) 2>conftest.er1
29778 grep -v '^ *+' conftest.er1
>conftest.err
29780 cat conftest.err
>&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29785 (eval $ac_try) 2>&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); }; } &&
29789 { ac_try
='test -s conftest.$ac_objext'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; }; then
29795 ac_cv_type_off_t
=yes
29797 echo "$as_me: failed program was:" >&5
29798 sed 's/^/| /' conftest.
$ac_ext >&5
29800 ac_cv_type_off_t
=no
29802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29804 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29805 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29806 if test $ac_cv_type_off_t = yes; then
29810 cat >>confdefs.h
<<_ACEOF
29816 echo "$as_me:$LINENO: checking for pid_t" >&5
29817 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29818 if test "${ac_cv_type_pid_t+set}" = set; then
29819 echo $ECHO_N "(cached) $ECHO_C" >&6
29821 cat >conftest.
$ac_ext <<_ACEOF
29824 cat confdefs.h
>>conftest.
$ac_ext
29825 cat >>conftest.
$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29827 $ac_includes_default
29833 if (sizeof (pid_t))
29839 rm -f conftest.
$ac_objext
29840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29841 (eval $ac_compile) 2>conftest.er1
29843 grep -v '^ *+' conftest.er1
>conftest.err
29845 cat conftest.err
>&5
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); } &&
29848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29850 (eval $ac_try) 2>&5
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); }; } &&
29854 { ac_try
='test -s conftest.$ac_objext'
29855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29856 (eval $ac_try) 2>&5
29858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29859 (exit $ac_status); }; }; then
29860 ac_cv_type_pid_t
=yes
29862 echo "$as_me: failed program was:" >&5
29863 sed 's/^/| /' conftest.
$ac_ext >&5
29865 ac_cv_type_pid_t
=no
29867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29869 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29870 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29871 if test $ac_cv_type_pid_t = yes; then
29875 cat >>confdefs.h
<<_ACEOF
29881 echo "$as_me:$LINENO: checking for size_t" >&5
29882 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29883 if test "${ac_cv_type_size_t+set}" = set; then
29884 echo $ECHO_N "(cached) $ECHO_C" >&6
29886 cat >conftest.
$ac_ext <<_ACEOF
29889 cat confdefs.h
>>conftest.
$ac_ext
29890 cat >>conftest.
$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29892 $ac_includes_default
29898 if (sizeof (size_t))
29904 rm -f conftest.
$ac_objext
29905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29906 (eval $ac_compile) 2>conftest.er1
29908 grep -v '^ *+' conftest.er1
>conftest.err
29910 cat conftest.err
>&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); } &&
29913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; } &&
29919 { ac_try
='test -s conftest.$ac_objext'
29920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 (eval $ac_try) 2>&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; }; then
29925 ac_cv_type_size_t
=yes
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.
$ac_ext >&5
29930 ac_cv_type_size_t
=no
29932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29934 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29935 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29936 if test $ac_cv_type_size_t = yes; then
29940 cat >>confdefs.h
<<_ACEOF
29941 #define size_t unsigned
29946 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29947 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29948 if test "${ac_cv_type_uid_t+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29951 cat >conftest.
$ac_ext <<_ACEOF
29954 cat confdefs.h
>>conftest.
$ac_ext
29955 cat >>conftest.
$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29957 #include <sys/types.h>
29960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29961 $EGREP "uid_t" >/dev
/null
2>&1; then
29962 ac_cv_type_uid_t
=yes
29964 ac_cv_type_uid_t
=no
29969 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29970 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29971 if test $ac_cv_type_uid_t = no
; then
29973 cat >>confdefs.h
<<\_ACEOF
29978 cat >>confdefs.h
<<\_ACEOF
29985 echo "$as_me:$LINENO: checking for ssize_t" >&5
29986 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29987 if test "${ac_cv_type_ssize_t+set}" = set; then
29988 echo $ECHO_N "(cached) $ECHO_C" >&6
29990 cat >conftest.
$ac_ext <<_ACEOF
29993 cat confdefs.h
>>conftest.
$ac_ext
29994 cat >>conftest.
$ac_ext <<_ACEOF
29995 /* end confdefs.h. */
29996 $ac_includes_default
30002 if (sizeof (ssize_t))
30008 rm -f conftest.
$ac_objext
30009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30010 (eval $ac_compile) 2>conftest.er1
30012 grep -v '^ *+' conftest.er1
>conftest.err
30014 cat conftest.err
>&5
30015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016 (exit $ac_status); } &&
30017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; } &&
30023 { ac_try
='test -s conftest.$ac_objext'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 ac_cv_type_ssize_t
=yes
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.
$ac_ext >&5
30034 ac_cv_type_ssize_t
=no
30036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30038 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30039 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30040 if test $ac_cv_type_ssize_t = yes; then
30042 cat >>confdefs.h
<<_ACEOF
30043 #define HAVE_SSIZE_T 1
30053 ac_cpp
='$CXXCPP $CPPFLAGS'
30054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30058 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30059 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30060 if test "${wx_cv_size_t_is_uint+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30064 cat >conftest.
$ac_ext <<_ACEOF
30067 cat confdefs.h
>>conftest.
$ac_ext
30068 cat >>conftest.
$ac_ext <<_ACEOF
30069 /* end confdefs.h. */
30070 #include <stddef.h>
30077 struct Foo { void foo(size_t); void foo(unsigned int); };
30085 rm -f conftest.
$ac_objext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30087 (eval $ac_compile) 2>conftest.er1
30089 grep -v '^ *+' conftest.er1
>conftest.err
30091 cat conftest.err
>&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); } &&
30094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; } &&
30100 { ac_try
='test -s conftest.$ac_objext'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; }; then
30106 wx_cv_size_t_is_uint
=no
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.
$ac_ext >&5
30111 wx_cv_size_t_is_uint
=yes
30114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30118 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30119 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30121 if test "$wx_cv_size_t_is_uint" = "yes"; then
30122 cat >>confdefs.h
<<\_ACEOF
30123 #define wxSIZE_T_IS_UINT 1
30127 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30128 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30129 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30130 echo $ECHO_N "(cached) $ECHO_C" >&6
30132 cat >conftest.
$ac_ext <<_ACEOF
30135 cat confdefs.h
>>conftest.
$ac_ext
30136 cat >>conftest.
$ac_ext <<_ACEOF
30137 /* end confdefs.h. */
30138 #include <stddef.h>
30145 struct Foo { void foo(size_t); void foo(unsigned long); };
30153 rm -f conftest.
$ac_objext
30154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30155 (eval $ac_compile) 2>conftest.er1
30157 grep -v '^ *+' conftest.er1
>conftest.err
30159 cat conftest.err
>&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); } &&
30162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; } &&
30168 { ac_try
='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30174 wx_cv_size_t_is_ulong
=no
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.
$ac_ext >&5
30179 wx_cv_size_t_is_ulong
=yes
30182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30185 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30186 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30188 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30189 cat >>confdefs.h
<<\_ACEOF
30190 #define wxSIZE_T_IS_ULONG 1
30197 ac_cpp
='$CPP $CPPFLAGS'
30198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30204 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30205 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30206 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30207 echo $ECHO_N "(cached) $ECHO_C" >&6
30210 cat >conftest.
$ac_ext <<_ACEOF
30213 cat confdefs.h
>>conftest.
$ac_ext
30214 cat >>conftest.
$ac_ext <<_ACEOF
30215 /* end confdefs.h. */
30229 rm -f conftest.
$ac_objext
30230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30231 (eval $ac_compile) 2>conftest.er1
30233 grep -v '^ *+' conftest.er1
>conftest.err
30235 cat conftest.err
>&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); } &&
30238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
30244 { ac_try
='test -s conftest.$ac_objext'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; }; then
30251 wx_cv_struct_pw_gecos
=yes
30254 echo "$as_me: failed program was:" >&5
30255 sed 's/^/| /' conftest.
$ac_ext >&5
30258 wx_cv_struct_pw_gecos
=no
30262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30266 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30267 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30269 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30270 cat >>confdefs.h
<<\_ACEOF
30271 #define HAVE_PW_GECOS 1
30277 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30278 cat >>confdefs.h
<<\_ACEOF
30279 #define wxUSE_WCHAR_T 1
30286 for ac_func
in wcslen
30288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30289 echo "$as_me:$LINENO: checking for $ac_func" >&5
30290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30291 if eval "test \"\${$as_ac_var+set}\" = set"; then
30292 echo $ECHO_N "(cached) $ECHO_C" >&6
30294 cat >conftest.
$ac_ext <<_ACEOF
30297 cat confdefs.h
>>conftest.
$ac_ext
30298 cat >>conftest.
$ac_ext <<_ACEOF
30299 /* end confdefs.h. */
30300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30302 #define $ac_func innocuous_$ac_func
30304 /* System header to define __stub macros and hopefully few prototypes,
30305 which can conflict with char $ac_func (); below.
30306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30307 <limits.h> exists even on freestanding compilers. */
30310 # include <limits.h>
30312 # include <assert.h>
30317 /* Override any gcc2 internal prototype to avoid an error. */
30322 /* We use char because int might match the return type of a gcc2
30323 builtin and then its argument prototype would still apply. */
30325 /* The GNU C library defines this for functions which it implements
30326 to always fail with ENOSYS. Some functions are actually named
30327 something starting with __ and the normal name is an alias. */
30328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30331 char (*f) () = $ac_func;
30340 return f != $ac_func;
30345 rm -f conftest.
$ac_objext conftest
$ac_exeext
30346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30347 (eval $ac_link) 2>conftest.er1
30349 grep -v '^ *+' conftest.er1
>conftest.err
30351 cat conftest.err
>&5
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); } &&
30354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356 (eval $ac_try) 2>&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); }; } &&
30360 { ac_try
='test -s conftest$ac_exeext'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; }; then
30366 eval "$as_ac_var=yes"
30368 echo "$as_me: failed program was:" >&5
30369 sed 's/^/| /' conftest.
$ac_ext >&5
30371 eval "$as_ac_var=no"
30373 rm -f conftest.err conftest.
$ac_objext \
30374 conftest
$ac_exeext conftest.
$ac_ext
30376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30378 if test `eval echo '${'$as_ac_var'}'` = yes; then
30379 cat >>confdefs.h
<<_ACEOF
30380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30387 if test "$WCSLEN_FOUND" = 0; then
30388 if test "$TOOLKIT" = "MSW"; then
30389 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30390 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30391 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 ac_check_lib_save_LIBS
=$LIBS
30395 LIBS
="-lmsvcrt $LIBS"
30396 cat >conftest.
$ac_ext <<_ACEOF
30399 cat confdefs.h
>>conftest.
$ac_ext
30400 cat >>conftest.
$ac_ext <<_ACEOF
30401 /* end confdefs.h. */
30403 /* Override any gcc2 internal prototype to avoid an error. */
30407 /* We use char because int might match the return type of a gcc2
30408 builtin and then its argument prototype would still apply. */
30418 rm -f conftest.
$ac_objext conftest
$ac_exeext
30419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30420 (eval $ac_link) 2>conftest.er1
30422 grep -v '^ *+' conftest.er1
>conftest.err
30424 cat conftest.err
>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } &&
30427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30429 (eval $ac_try) 2>&5
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); }; } &&
30433 { ac_try
='test -s conftest$ac_exeext'
30434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30435 (eval $ac_try) 2>&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); }; }; then
30439 ac_cv_lib_msvcrt_wcslen
=yes
30441 echo "$as_me: failed program was:" >&5
30442 sed 's/^/| /' conftest.
$ac_ext >&5
30444 ac_cv_lib_msvcrt_wcslen
=no
30446 rm -f conftest.err conftest.
$ac_objext \
30447 conftest
$ac_exeext conftest.
$ac_ext
30448 LIBS
=$ac_check_lib_save_LIBS
30450 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30451 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30452 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30457 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30458 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30459 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 ac_check_lib_save_LIBS
=$LIBS
30464 cat >conftest.
$ac_ext <<_ACEOF
30467 cat confdefs.h
>>conftest.
$ac_ext
30468 cat >>conftest.
$ac_ext <<_ACEOF
30469 /* end confdefs.h. */
30471 /* Override any gcc2 internal prototype to avoid an error. */
30475 /* We use char because int might match the return type of a gcc2
30476 builtin and then its argument prototype would still apply. */
30486 rm -f conftest.
$ac_objext conftest
$ac_exeext
30487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30488 (eval $ac_link) 2>conftest.er1
30490 grep -v '^ *+' conftest.er1
>conftest.err
30492 cat conftest.err
>&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); } &&
30495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497 (eval $ac_try) 2>&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); }; } &&
30501 { ac_try
='test -s conftest$ac_exeext'
30502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30503 (eval $ac_try) 2>&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); }; }; then
30507 ac_cv_lib_w_wcslen
=yes
30509 echo "$as_me: failed program was:" >&5
30510 sed 's/^/| /' conftest.
$ac_ext >&5
30512 ac_cv_lib_w_wcslen
=no
30514 rm -f conftest.err conftest.
$ac_objext \
30515 conftest
$ac_exeext conftest.
$ac_ext
30516 LIBS
=$ac_check_lib_save_LIBS
30518 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30519 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30520 if test $ac_cv_lib_w_wcslen = yes; then
30530 if test "$WCSLEN_FOUND" = 1; then
30531 cat >>confdefs.h
<<\_ACEOF
30532 #define HAVE_WCSLEN 1
30537 if test "$USE_HPUX" = 1; then
30538 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30542 for ac_func
in wcsrtombs
30544 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30545 echo "$as_me:$LINENO: checking for $ac_func" >&5
30546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30547 if eval "test \"\${$as_ac_var+set}\" = set"; then
30548 echo $ECHO_N "(cached) $ECHO_C" >&6
30550 cat >conftest.
$ac_ext <<_ACEOF
30553 cat confdefs.h
>>conftest.
$ac_ext
30554 cat >>conftest.
$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30558 #define $ac_func innocuous_$ac_func
30560 /* System header to define __stub macros and hopefully few prototypes,
30561 which can conflict with char $ac_func (); below.
30562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30563 <limits.h> exists even on freestanding compilers. */
30566 # include <limits.h>
30568 # include <assert.h>
30573 /* Override any gcc2 internal prototype to avoid an error. */
30578 /* We use char because int might match the return type of a gcc2
30579 builtin and then its argument prototype would still apply. */
30581 /* The GNU C library defines this for functions which it implements
30582 to always fail with ENOSYS. Some functions are actually named
30583 something starting with __ and the normal name is an alias. */
30584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30587 char (*f) () = $ac_func;
30596 return f != $ac_func;
30601 rm -f conftest.
$ac_objext conftest
$ac_exeext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30603 (eval $ac_link) 2>conftest.er1
30605 grep -v '^ *+' conftest.er1
>conftest.err
30607 cat conftest.err
>&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } &&
30610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30612 (eval $ac_try) 2>&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); }; } &&
30616 { ac_try
='test -s conftest$ac_exeext'
30617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30618 (eval $ac_try) 2>&5
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); }; }; then
30622 eval "$as_ac_var=yes"
30624 echo "$as_me: failed program was:" >&5
30625 sed 's/^/| /' conftest.
$ac_ext >&5
30627 eval "$as_ac_var=no"
30629 rm -f conftest.err conftest.
$ac_objext \
30630 conftest
$ac_exeext conftest.
$ac_ext
30632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30634 if test `eval echo '${'$as_ac_var'}'` = yes; then
30635 cat >>confdefs.h
<<_ACEOF
30636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30643 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30644 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30650 ac_cpp
='$CXXCPP $CPPFLAGS'
30651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30657 for ac_func
in vsnprintf
30659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30660 echo "$as_me:$LINENO: checking for $ac_func" >&5
30661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30662 if eval "test \"\${$as_ac_var+set}\" = set"; then
30663 echo $ECHO_N "(cached) $ECHO_C" >&6
30665 cat >conftest.
$ac_ext <<_ACEOF
30668 cat confdefs.h
>>conftest.
$ac_ext
30669 cat >>conftest.
$ac_ext <<_ACEOF
30670 /* end confdefs.h. */
30671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30673 #define $ac_func innocuous_$ac_func
30675 /* System header to define __stub macros and hopefully few prototypes,
30676 which can conflict with char $ac_func (); below.
30677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30678 <limits.h> exists even on freestanding compilers. */
30681 # include <limits.h>
30683 # include <assert.h>
30688 /* Override any gcc2 internal prototype to avoid an error. */
30693 /* We use char because int might match the return type of a gcc2
30694 builtin and then its argument prototype would still apply. */
30696 /* The GNU C library defines this for functions which it implements
30697 to always fail with ENOSYS. Some functions are actually named
30698 something starting with __ and the normal name is an alias. */
30699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30702 char (*f) () = $ac_func;
30711 return f != $ac_func;
30716 rm -f conftest.
$ac_objext conftest
$ac_exeext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30718 (eval $ac_link) 2>conftest.er1
30720 grep -v '^ *+' conftest.er1
>conftest.err
30722 cat conftest.err
>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } &&
30725 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; } &&
30731 { ac_try
='test -s conftest$ac_exeext'
30732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30733 (eval $ac_try) 2>&5
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); }; }; then
30737 eval "$as_ac_var=yes"
30739 echo "$as_me: failed program was:" >&5
30740 sed 's/^/| /' conftest.
$ac_ext >&5
30742 eval "$as_ac_var=no"
30744 rm -f conftest.err conftest.
$ac_objext \
30745 conftest
$ac_exeext conftest.
$ac_ext
30747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30749 if test `eval echo '${'$as_ac_var'}'` = yes; then
30750 cat >>confdefs.h
<<_ACEOF
30751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30758 if test "$ac_cv_func_vsnprintf" = "yes"; then
30759 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30760 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30761 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30762 echo $ECHO_N "(cached) $ECHO_C" >&6
30765 cat >conftest.
$ac_ext <<_ACEOF
30768 cat confdefs.h
>>conftest.
$ac_ext
30769 cat >>conftest.
$ac_ext <<_ACEOF
30770 /* end confdefs.h. */
30773 #include <stdarg.h>
30781 vsnprintf(buf, 10u, "%s", ap);
30787 rm -f conftest.
$ac_objext
30788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30789 (eval $ac_compile) 2>conftest.er1
30791 grep -v '^ *+' conftest.er1
>conftest.err
30793 cat conftest.err
>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } &&
30796 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30798 (eval $ac_try) 2>&5
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); }; } &&
30802 { ac_try
='test -s conftest.$ac_objext'
30803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30804 (eval $ac_try) 2>&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); }; }; then
30808 wx_cv_func_vsnprintf_decl
=yes
30810 echo "$as_me: failed program was:" >&5
30811 sed 's/^/| /' conftest.
$ac_ext >&5
30814 cat >conftest.
$ac_ext <<_ACEOF
30817 cat confdefs.h
>>conftest.
$ac_ext
30818 cat >>conftest.
$ac_ext <<_ACEOF
30819 /* end confdefs.h. */
30822 #include <stdarg.h>
30823 using namespace std;
30831 vsnprintf(buf, 10u, "%s", ap);
30837 rm -f conftest.
$ac_objext
30838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30839 (eval $ac_compile) 2>conftest.er1
30841 grep -v '^ *+' conftest.er1
>conftest.err
30843 cat conftest.err
>&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); } &&
30846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848 (eval $ac_try) 2>&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; } &&
30852 { ac_try
='test -s conftest.$ac_objext'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30858 wx_cv_func_vsnprintf_decl
=yes
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.
$ac_ext >&5
30863 wx_cv_func_vsnprintf_decl
=no
30866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30874 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30875 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30877 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30878 cat >>confdefs.h
<<\_ACEOF
30879 #define HAVE_VSNPRINTF_DECL 1
30885 if test "$wxUSE_UNICODE" = yes; then
30892 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30894 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30895 echo "$as_me:$LINENO: checking for $ac_func" >&5
30896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30897 if eval "test \"\${$as_ac_var+set}\" = set"; then
30898 echo $ECHO_N "(cached) $ECHO_C" >&6
30900 cat >conftest.
$ac_ext <<_ACEOF
30903 cat confdefs.h
>>conftest.
$ac_ext
30904 cat >>conftest.
$ac_ext <<_ACEOF
30905 /* end confdefs.h. */
30906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30908 #define $ac_func innocuous_$ac_func
30910 /* System header to define __stub macros and hopefully few prototypes,
30911 which can conflict with char $ac_func (); below.
30912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30913 <limits.h> exists even on freestanding compilers. */
30916 # include <limits.h>
30918 # include <assert.h>
30923 /* Override any gcc2 internal prototype to avoid an error. */
30928 /* We use char because int might match the return type of a gcc2
30929 builtin and then its argument prototype would still apply. */
30931 /* The GNU C library defines this for functions which it implements
30932 to always fail with ENOSYS. Some functions are actually named
30933 something starting with __ and the normal name is an alias. */
30934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30937 char (*f) () = $ac_func;
30946 return f != $ac_func;
30951 rm -f conftest.
$ac_objext conftest
$ac_exeext
30952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30953 (eval $ac_link) 2>conftest.er1
30955 grep -v '^ *+' conftest.er1
>conftest.err
30957 cat conftest.err
>&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); } &&
30960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; } &&
30966 { ac_try
='test -s conftest$ac_exeext'
30967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30968 (eval $ac_try) 2>&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); }; }; then
30972 eval "$as_ac_var=yes"
30974 echo "$as_me: failed program was:" >&5
30975 sed 's/^/| /' conftest.
$ac_ext >&5
30977 eval "$as_ac_var=no"
30979 rm -f conftest.err conftest.
$ac_objext \
30980 conftest
$ac_exeext conftest.
$ac_ext
30982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30984 if test `eval echo '${'$as_ac_var'}'` = yes; then
30985 cat >>confdefs.h
<<_ACEOF
30986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30993 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30994 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30995 cat >conftest.
$ac_ext <<_ACEOF
30998 cat confdefs.h
>>conftest.
$ac_ext
30999 cat >>conftest.
$ac_ext <<_ACEOF
31000 /* end confdefs.h. */
31010 rm -f conftest.
$ac_objext
31011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31012 (eval $ac_compile) 2>conftest.er1
31014 grep -v '^ *+' conftest.er1
>conftest.err
31016 cat conftest.err
>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } &&
31019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; } &&
31025 { ac_try
='test -s conftest.$ac_objext'
31026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31027 (eval $ac_try) 2>&5
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); }; }; then
31031 echo "$as_me:$LINENO: result: yes" >&5
31032 echo "${ECHO_T}yes" >&6
31033 cat >>confdefs.h
<<\_ACEOF
31034 #define HAVE__VSNWPRINTF 1
31038 echo "$as_me: failed program was:" >&5
31039 sed 's/^/| /' conftest.
$ac_ext >&5
31041 echo "$as_me:$LINENO: result: no" >&5
31042 echo "${ECHO_T}no" >&6
31044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31048 ac_cpp
='$CPP $CPPFLAGS'
31049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31056 if test "$TOOLKIT" != "MSW"; then
31062 ac_cpp
='$CXXCPP $CPPFLAGS'
31063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31070 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31071 if test "${with_libiconv_prefix+set}" = set; then
31072 withval
="$with_libiconv_prefix"
31074 for dir
in `echo "$withval" | tr : ' '`; do
31075 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31076 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31081 echo "$as_me:$LINENO: checking for iconv" >&5
31082 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31083 if test "${am_cv_func_iconv+set}" = set; then
31084 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 am_cv_func_iconv
="no, consider installing GNU libiconv"
31089 cat >conftest.
$ac_ext <<_ACEOF
31092 cat confdefs.h
>>conftest.
$ac_ext
31093 cat >>conftest.
$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31095 #include <stdlib.h>
31100 iconv_t cd = iconv_open("","");
31101 iconv(cd,NULL,NULL,NULL,NULL);
31107 rm -f conftest.
$ac_objext conftest
$ac_exeext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31109 (eval $ac_link) 2>conftest.er1
31111 grep -v '^ *+' conftest.er1
>conftest.err
31113 cat conftest.err
>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; } &&
31122 { ac_try
='test -s conftest$ac_exeext'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; }; then
31128 am_cv_func_iconv
=yes
31130 echo "$as_me: failed program was:" >&5
31131 sed 's/^/| /' conftest.
$ac_ext >&5
31134 rm -f conftest.err conftest.
$ac_objext \
31135 conftest
$ac_exeext conftest.
$ac_ext
31136 if test "$am_cv_func_iconv" != yes; then
31137 am_save_LIBS
="$LIBS"
31138 LIBS
="$LIBS -liconv"
31139 cat >conftest.
$ac_ext <<_ACEOF
31142 cat confdefs.h
>>conftest.
$ac_ext
31143 cat >>conftest.
$ac_ext <<_ACEOF
31144 /* end confdefs.h. */
31145 #include <stdlib.h>
31150 iconv_t cd = iconv_open("","");
31151 iconv(cd,NULL,NULL,NULL,NULL);
31157 rm -f conftest.
$ac_objext conftest
$ac_exeext
31158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31159 (eval $ac_link) 2>conftest.er1
31161 grep -v '^ *+' conftest.er1
>conftest.err
31163 cat conftest.err
>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); } &&
31166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168 (eval $ac_try) 2>&5
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); }; } &&
31172 { ac_try
='test -s conftest$ac_exeext'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; }; then
31178 am_cv_lib_iconv
=yes
31179 am_cv_func_iconv
=yes
31181 echo "$as_me: failed program was:" >&5
31182 sed 's/^/| /' conftest.
$ac_ext >&5
31185 rm -f conftest.err conftest.
$ac_objext \
31186 conftest
$ac_exeext conftest.
$ac_ext
31187 LIBS
="$am_save_LIBS"
31191 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31192 echo "${ECHO_T}$am_cv_func_iconv" >&6
31193 if test "$am_cv_func_iconv" = yes; then
31195 cat >>confdefs.h
<<\_ACEOF
31196 #define HAVE_ICONV 1
31199 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31200 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31201 if test "${wx_cv_func_iconv_const+set}" = set; then
31202 echo $ECHO_N "(cached) $ECHO_C" >&6
31204 cat >conftest.
$ac_ext <<_ACEOF
31207 cat confdefs.h
>>conftest.
$ac_ext
31208 cat >>conftest.
$ac_ext <<_ACEOF
31209 /* end confdefs.h. */
31211 #include <stdlib.h>
31217 #if defined(__STDC__) || defined(__cplusplus)
31218 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31231 rm -f conftest.
$ac_objext
31232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31233 (eval $ac_compile) 2>conftest.er1
31235 grep -v '^ *+' conftest.er1
>conftest.err
31237 cat conftest.err
>&5
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); } &&
31240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
31246 { ac_try
='test -s conftest.$ac_objext'
31247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31248 (eval $ac_try) 2>&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; }; then
31252 wx_cv_func_iconv_const
="no"
31254 echo "$as_me: failed program was:" >&5
31255 sed 's/^/| /' conftest.
$ac_ext >&5
31257 wx_cv_func_iconv_const
="yes"
31260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31263 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31264 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31267 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31268 iconv_const
="const"
31272 cat >>confdefs.h
<<_ACEOF
31273 #define ICONV_CONST $iconv_const
31278 if test "$am_cv_lib_iconv" = yes; then
31283 LIBS
="$LIBICONV $LIBS"
31285 ac_cpp
='$CPP $CPPFLAGS'
31286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31291 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31293 for ac_func
in sigaction
31295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31296 echo "$as_me:$LINENO: checking for $ac_func" >&5
31297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31298 if eval "test \"\${$as_ac_var+set}\" = set"; then
31299 echo $ECHO_N "(cached) $ECHO_C" >&6
31301 cat >conftest.
$ac_ext <<_ACEOF
31304 cat confdefs.h
>>conftest.
$ac_ext
31305 cat >>conftest.
$ac_ext <<_ACEOF
31306 /* end confdefs.h. */
31307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31309 #define $ac_func innocuous_$ac_func
31311 /* System header to define __stub macros and hopefully few prototypes,
31312 which can conflict with char $ac_func (); below.
31313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31314 <limits.h> exists even on freestanding compilers. */
31317 # include <limits.h>
31319 # include <assert.h>
31324 /* Override any gcc2 internal prototype to avoid an error. */
31329 /* We use char because int might match the return type of a gcc2
31330 builtin and then its argument prototype would still apply. */
31332 /* The GNU C library defines this for functions which it implements
31333 to always fail with ENOSYS. Some functions are actually named
31334 something starting with __ and the normal name is an alias. */
31335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31338 char (*f) () = $ac_func;
31347 return f != $ac_func;
31352 rm -f conftest.
$ac_objext conftest
$ac_exeext
31353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31354 (eval $ac_link) 2>conftest.er1
31356 grep -v '^ *+' conftest.er1
>conftest.err
31358 cat conftest.err
>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); } &&
31361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; } &&
31367 { ac_try
='test -s conftest$ac_exeext'
31368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369 (eval $ac_try) 2>&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); }; }; then
31373 eval "$as_ac_var=yes"
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.
$ac_ext >&5
31378 eval "$as_ac_var=no"
31380 rm -f conftest.err conftest.
$ac_objext \
31381 conftest
$ac_exeext conftest.
$ac_ext
31383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31385 if test `eval echo '${'$as_ac_var'}'` = yes; then
31386 cat >>confdefs.h
<<_ACEOF
31387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31394 if test "$ac_cv_func_sigaction" = "no"; then
31395 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31396 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31397 wxUSE_ON_FATAL_EXCEPTION
=no
31400 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31404 ac_cpp
='$CXXCPP $CPPFLAGS'
31405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31410 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31411 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31412 if test "${wx_cv_type_sa_handler+set}" = set; then
31413 echo $ECHO_N "(cached) $ECHO_C" >&6
31416 cat >conftest.
$ac_ext <<_ACEOF
31419 cat confdefs.h
>>conftest.
$ac_ext
31420 cat >>conftest.
$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31422 #include <signal.h>
31427 extern void testSigHandler(int);
31429 struct sigaction sa;
31430 sa.sa_handler = testSigHandler;
31436 rm -f conftest.
$ac_objext
31437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31438 (eval $ac_compile) 2>conftest.er1
31440 grep -v '^ *+' conftest.er1
>conftest.err
31442 cat conftest.err
>&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } &&
31445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try
='test -s conftest.$ac_objext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31458 wx_cv_type_sa_handler
=int
31461 echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.
$ac_ext >&5
31465 wx_cv_type_sa_handler
=void
31468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31471 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31472 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31475 ac_cpp
='$CPP $CPPFLAGS'
31476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31481 cat >>confdefs.h
<<_ACEOF
31482 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31488 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31492 ac_cpp
='$CXXCPP $CPPFLAGS'
31493 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31498 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31499 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31500 if test "${wx_cv_func_backtrace+set}" = set; then
31501 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 cat >conftest.
$ac_ext <<_ACEOF
31507 cat confdefs.h
>>conftest.
$ac_ext
31508 cat >>conftest.
$ac_ext <<_ACEOF
31509 /* end confdefs.h. */
31510 #include <execinfo.h>
31518 backtrace(trace, 1);
31519 messages = backtrace_symbols(trace, 1);
31525 rm -f conftest.
$ac_objext
31526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31527 (eval $ac_compile) 2>conftest.er1
31529 grep -v '^ *+' conftest.er1
>conftest.err
31531 cat conftest.err
>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } &&
31534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; } &&
31540 { ac_try
='test -s conftest.$ac_objext'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; }; then
31546 wx_cv_func_backtrace
=yes
31548 echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.
$ac_ext >&5
31551 wx_cv_func_backtrace
=no
31554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31558 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31559 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31562 if test "$wx_cv_func_backtrace" = "no"; then
31563 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31564 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31565 wxUSE_STACKWALKER
=no
31567 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31568 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31569 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 cat >conftest.
$ac_ext <<_ACEOF
31576 cat confdefs.h
>>conftest.
$ac_ext
31577 cat >>conftest.
$ac_ext <<_ACEOF
31578 /* end confdefs.h. */
31579 #include <cxxabi.h>
31585 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31591 rm -f conftest.
$ac_objext conftest
$ac_exeext
31592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31593 (eval $ac_link) 2>conftest.er1
31595 grep -v '^ *+' conftest.er1
>conftest.err
31597 cat conftest.err
>&5
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); } &&
31600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602 (eval $ac_try) 2>&5
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); }; } &&
31606 { ac_try
='test -s conftest$ac_exeext'
31607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31608 (eval $ac_try) 2>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; }; then
31612 wx_cv_func_cxa_demangle
=yes
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.
$ac_ext >&5
31617 wx_cv_func_cxa_demangle
=no
31620 rm -f conftest.err conftest.
$ac_objext \
31621 conftest
$ac_exeext conftest.
$ac_ext
31625 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31626 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31628 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31629 cat >>confdefs.h
<<\_ACEOF
31630 #define HAVE_CXA_DEMANGLE 1
31637 ac_cpp
='$CPP $CPPFLAGS'
31638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31644 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31645 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31646 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31647 wxUSE_STACKWALKER
=no
31653 for ac_func
in mkstemp mktemp
31655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31656 echo "$as_me:$LINENO: checking for $ac_func" >&5
31657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31658 if eval "test \"\${$as_ac_var+set}\" = set"; then
31659 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 cat >conftest.
$ac_ext <<_ACEOF
31664 cat confdefs.h
>>conftest.
$ac_ext
31665 cat >>conftest.
$ac_ext <<_ACEOF
31666 /* end confdefs.h. */
31667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31669 #define $ac_func innocuous_$ac_func
31671 /* System header to define __stub macros and hopefully few prototypes,
31672 which can conflict with char $ac_func (); below.
31673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31674 <limits.h> exists even on freestanding compilers. */
31677 # include <limits.h>
31679 # include <assert.h>
31684 /* Override any gcc2 internal prototype to avoid an error. */
31689 /* We use char because int might match the return type of a gcc2
31690 builtin and then its argument prototype would still apply. */
31692 /* The GNU C library defines this for functions which it implements
31693 to always fail with ENOSYS. Some functions are actually named
31694 something starting with __ and the normal name is an alias. */
31695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31698 char (*f) () = $ac_func;
31707 return f != $ac_func;
31712 rm -f conftest.
$ac_objext conftest
$ac_exeext
31713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31714 (eval $ac_link) 2>conftest.er1
31716 grep -v '^ *+' conftest.er1
>conftest.err
31718 cat conftest.err
>&5
31719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720 (exit $ac_status); } &&
31721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31723 (eval $ac_try) 2>&5
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); }; } &&
31727 { ac_try
='test -s conftest$ac_exeext'
31728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729 (eval $ac_try) 2>&5
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); }; }; then
31733 eval "$as_ac_var=yes"
31735 echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.
$ac_ext >&5
31738 eval "$as_ac_var=no"
31740 rm -f conftest.err conftest.
$ac_objext \
31741 conftest
$ac_exeext conftest.
$ac_ext
31743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31745 if test `eval echo '${'$as_ac_var'}'` = yes; then
31746 cat >>confdefs.h
<<_ACEOF
31747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31754 echo "$as_me:$LINENO: checking for statfs" >&5
31755 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31756 if test "${wx_cv_func_statfs+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 cat >conftest.
$ac_ext <<_ACEOF
31762 cat confdefs.h
>>conftest.
$ac_ext
31763 cat >>conftest.
$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31766 #if defined(__BSD__)
31767 #include <sys/param.h>
31768 #include <sys/mount.h>
31770 #include <sys/vfs.h>
31788 rm -f conftest.
$ac_objext
31789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31790 (eval $ac_compile) 2>conftest.er1
31792 grep -v '^ *+' conftest.er1
>conftest.err
31794 cat conftest.err
>&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } &&
31797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31799 (eval $ac_try) 2>&5
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); }; } &&
31803 { ac_try
='test -s conftest.$ac_objext'
31804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31805 (eval $ac_try) 2>&5
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); }; }; then
31810 wx_cv_func_statfs
=yes
31813 echo "$as_me: failed program was:" >&5
31814 sed 's/^/| /' conftest.
$ac_ext >&5
31817 wx_cv_func_statfs
=no
31821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31824 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31825 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31827 if test "$wx_cv_func_statfs" = "yes"; then
31828 wx_cv_type_statvfs_t
="struct statfs"
31829 cat >>confdefs.h
<<\_ACEOF
31830 #define HAVE_STATFS 1
31834 echo "$as_me:$LINENO: checking for statvfs" >&5
31835 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31836 if test "${wx_cv_func_statvfs+set}" = set; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31839 cat >conftest.
$ac_ext <<_ACEOF
31842 cat confdefs.h
>>conftest.
$ac_ext
31843 cat >>conftest.
$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31846 #include <stddef.h>
31847 #include <sys/statvfs.h>
31853 statvfs("/", NULL);
31859 rm -f conftest.
$ac_objext
31860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31861 (eval $ac_compile) 2>conftest.er1
31863 grep -v '^ *+' conftest.er1
>conftest.err
31865 cat conftest.err
>&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); } &&
31868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; } &&
31874 { ac_try
='test -s conftest.$ac_objext'
31875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31876 (eval $ac_try) 2>&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); }; }; then
31880 wx_cv_func_statvfs
=yes
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.
$ac_ext >&5
31885 wx_cv_func_statvfs
=no
31888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31891 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31892 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31894 if test "$wx_cv_func_statvfs" = "yes"; then
31898 ac_cpp
='$CXXCPP $CPPFLAGS'
31899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31904 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31905 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31906 if test "${wx_cv_type_statvfs_t+set}" = set; then
31907 echo $ECHO_N "(cached) $ECHO_C" >&6
31909 cat >conftest.
$ac_ext <<_ACEOF
31912 cat confdefs.h
>>conftest.
$ac_ext
31913 cat >>conftest.
$ac_ext <<_ACEOF
31914 /* end confdefs.h. */
31916 #include <sys/statvfs.h>
31933 rm -f conftest.
$ac_objext
31934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31935 (eval $ac_compile) 2>conftest.er1
31937 grep -v '^ *+' conftest.er1
>conftest.err
31939 cat conftest.err
>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); } &&
31942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; } &&
31948 { ac_try
='test -s conftest.$ac_objext'
31949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31950 (eval $ac_try) 2>&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); }; }; then
31954 wx_cv_type_statvfs_t
=statvfs_t
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.
$ac_ext >&5
31960 cat >conftest.
$ac_ext <<_ACEOF
31963 cat confdefs.h
>>conftest.
$ac_ext
31964 cat >>conftest.
$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31967 #include <sys/statvfs.h>
31984 rm -f conftest.
$ac_objext
31985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31986 (eval $ac_compile) 2>conftest.er1
31988 grep -v '^ *+' conftest.er1
>conftest.err
31990 cat conftest.err
>&5
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); } &&
31993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31995 (eval $ac_try) 2>&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); }; } &&
31999 { ac_try
='test -s conftest.$ac_objext'
32000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32001 (eval $ac_try) 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; }; then
32005 wx_cv_type_statvfs_t
="struct statvfs"
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.
$ac_ext >&5
32010 wx_cv_type_statvfs_t
="unknown"
32013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32020 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32021 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32024 ac_cpp
='$CPP $CPPFLAGS'
32025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32030 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32031 cat >>confdefs.h
<<\_ACEOF
32032 #define HAVE_STATVFS 1
32037 wx_cv_type_statvfs_t
="unknown"
32041 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32042 cat >>confdefs.h
<<_ACEOF
32043 #define WX_STATFS_T $wx_cv_type_statvfs_t
32047 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32048 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32051 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32054 for ac_func
in fcntl flock
32056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32057 echo "$as_me:$LINENO: checking for $ac_func" >&5
32058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32059 if eval "test \"\${$as_ac_var+set}\" = set"; then
32060 echo $ECHO_N "(cached) $ECHO_C" >&6
32062 cat >conftest.
$ac_ext <<_ACEOF
32065 cat confdefs.h
>>conftest.
$ac_ext
32066 cat >>conftest.
$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32070 #define $ac_func innocuous_$ac_func
32072 /* System header to define __stub macros and hopefully few prototypes,
32073 which can conflict with char $ac_func (); below.
32074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32075 <limits.h> exists even on freestanding compilers. */
32078 # include <limits.h>
32080 # include <assert.h>
32085 /* Override any gcc2 internal prototype to avoid an error. */
32090 /* We use char because int might match the return type of a gcc2
32091 builtin and then its argument prototype would still apply. */
32093 /* The GNU C library defines this for functions which it implements
32094 to always fail with ENOSYS. Some functions are actually named
32095 something starting with __ and the normal name is an alias. */
32096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32099 char (*f) () = $ac_func;
32108 return f != $ac_func;
32113 rm -f conftest.
$ac_objext conftest
$ac_exeext
32114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32115 (eval $ac_link) 2>conftest.er1
32117 grep -v '^ *+' conftest.er1
>conftest.err
32119 cat conftest.err
>&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); } &&
32122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32124 (eval $ac_try) 2>&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); }; } &&
32128 { ac_try
='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 eval "$as_ac_var=yes"
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.
$ac_ext >&5
32139 eval "$as_ac_var=no"
32141 rm -f conftest.err conftest.
$ac_objext \
32142 conftest
$ac_exeext conftest.
$ac_ext
32144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32146 if test `eval echo '${'$as_ac_var'}'` = yes; then
32147 cat >>confdefs.h
<<_ACEOF
32148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32155 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32156 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32157 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32158 wxUSE_SNGLINST_CHECKER
=no
32163 for ac_func
in timegm
32165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32166 echo "$as_me:$LINENO: checking for $ac_func" >&5
32167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32168 if eval "test \"\${$as_ac_var+set}\" = set"; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 cat >conftest.
$ac_ext <<_ACEOF
32174 cat confdefs.h
>>conftest.
$ac_ext
32175 cat >>conftest.
$ac_ext <<_ACEOF
32176 /* end confdefs.h. */
32177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32179 #define $ac_func innocuous_$ac_func
32181 /* System header to define __stub macros and hopefully few prototypes,
32182 which can conflict with char $ac_func (); below.
32183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32184 <limits.h> exists even on freestanding compilers. */
32187 # include <limits.h>
32189 # include <assert.h>
32194 /* Override any gcc2 internal prototype to avoid an error. */
32199 /* We use char because int might match the return type of a gcc2
32200 builtin and then its argument prototype would still apply. */
32202 /* The GNU C library defines this for functions which it implements
32203 to always fail with ENOSYS. Some functions are actually named
32204 something starting with __ and the normal name is an alias. */
32205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32208 char (*f) () = $ac_func;
32217 return f != $ac_func;
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 eval "$as_ac_var=yes"
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.
$ac_ext >&5
32248 eval "$as_ac_var=no"
32250 rm -f conftest.err conftest.
$ac_objext \
32251 conftest
$ac_exeext conftest.
$ac_ext
32253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32255 if test `eval echo '${'$as_ac_var'}'` = yes; then
32256 cat >>confdefs.h
<<_ACEOF
32257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32266 for ac_func
in putenv setenv
32268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32269 echo "$as_me:$LINENO: checking for $ac_func" >&5
32270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32271 if eval "test \"\${$as_ac_var+set}\" = set"; then
32272 echo $ECHO_N "(cached) $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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32282 #define $ac_func innocuous_$ac_func
32284 /* System header to define __stub macros and hopefully few prototypes,
32285 which can conflict with char $ac_func (); below.
32286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32287 <limits.h> exists even on freestanding compilers. */
32290 # include <limits.h>
32292 # include <assert.h>
32297 /* Override any gcc2 internal prototype to avoid an error. */
32302 /* We use char because int might match the return type of a gcc2
32303 builtin and then its argument prototype would still apply. */
32305 /* The GNU C library defines this for functions which it implements
32306 to always fail with ENOSYS. Some functions are actually named
32307 something starting with __ and the normal name is an alias. */
32308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32311 char (*f) () = $ac_func;
32320 return f != $ac_func;
32325 rm -f conftest.
$ac_objext conftest
$ac_exeext
32326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32327 (eval $ac_link) 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); } &&
32334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32336 (eval $ac_try) 2>&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); }; } &&
32340 { ac_try
='test -s conftest$ac_exeext'
32341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32342 (eval $ac_try) 2>&5
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; }; then
32346 eval "$as_ac_var=yes"
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.
$ac_ext >&5
32351 eval "$as_ac_var=no"
32353 rm -f conftest.err conftest.
$ac_objext \
32354 conftest
$ac_exeext conftest.
$ac_ext
32356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32358 if test `eval echo '${'$as_ac_var'}'` = yes; then
32359 cat >>confdefs.h
<<_ACEOF
32360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32367 HAVE_SOME_SLEEP_FUNC
=0
32368 if test "$USE_BEOS" = 1; then
32369 cat >>confdefs.h
<<\_ACEOF
32370 #define HAVE_SLEEP 1
32373 HAVE_SOME_SLEEP_FUNC
=1
32376 if test "$USE_DARWIN" = 1; then
32377 cat >>confdefs.h
<<\_ACEOF
32378 #define HAVE_USLEEP 1
32381 HAVE_SOME_SLEEP_FUNC
=1
32384 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32387 for ac_func
in nanosleep
32389 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32390 echo "$as_me:$LINENO: checking for $ac_func" >&5
32391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32392 if eval "test \"\${$as_ac_var+set}\" = set"; then
32393 echo $ECHO_N "(cached) $ECHO_C" >&6
32395 cat >conftest.
$ac_ext <<_ACEOF
32398 cat confdefs.h
>>conftest.
$ac_ext
32399 cat >>conftest.
$ac_ext <<_ACEOF
32400 /* end confdefs.h. */
32401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32403 #define $ac_func innocuous_$ac_func
32405 /* System header to define __stub macros and hopefully few prototypes,
32406 which can conflict with char $ac_func (); below.
32407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32408 <limits.h> exists even on freestanding compilers. */
32411 # include <limits.h>
32413 # include <assert.h>
32418 /* Override any gcc2 internal prototype to avoid an error. */
32423 /* We use char because int might match the return type of a gcc2
32424 builtin and then its argument prototype would still apply. */
32426 /* The GNU C library defines this for functions which it implements
32427 to always fail with ENOSYS. Some functions are actually named
32428 something starting with __ and the normal name is an alias. */
32429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32432 char (*f) () = $ac_func;
32441 return f != $ac_func;
32446 rm -f conftest.
$ac_objext conftest
$ac_exeext
32447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32448 (eval $ac_link) 2>conftest.er1
32450 grep -v '^ *+' conftest.er1
>conftest.err
32452 cat conftest.err
>&5
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); } &&
32455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; } &&
32461 { ac_try
='test -s conftest$ac_exeext'
32462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32463 (eval $ac_try) 2>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); }; }; then
32467 eval "$as_ac_var=yes"
32469 echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.
$ac_ext >&5
32472 eval "$as_ac_var=no"
32474 rm -f conftest.err conftest.
$ac_objext \
32475 conftest
$ac_exeext conftest.
$ac_ext
32477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32479 if test `eval echo '${'$as_ac_var'}'` = yes; then
32480 cat >>confdefs.h
<<_ACEOF
32481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32483 cat >>confdefs.h
<<\_ACEOF
32484 #define HAVE_NANOSLEEP 1
32489 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32490 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32491 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 ac_check_lib_save_LIBS
=$LIBS
32495 LIBS
="-lposix4 $LIBS"
32496 cat >conftest.
$ac_ext <<_ACEOF
32499 cat confdefs.h
>>conftest.
$ac_ext
32500 cat >>conftest.
$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32503 /* Override any gcc2 internal prototype to avoid an error. */
32507 /* We use char because int might match the return type of a gcc2
32508 builtin and then its argument prototype would still apply. */
32518 rm -f conftest.
$ac_objext conftest
$ac_exeext
32519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32520 (eval $ac_link) 2>conftest.er1
32522 grep -v '^ *+' conftest.er1
>conftest.err
32524 cat conftest.err
>&5
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); } &&
32527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32529 (eval $ac_try) 2>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); }; } &&
32533 { ac_try
='test -s conftest$ac_exeext'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; }; then
32539 ac_cv_lib_posix4_nanosleep
=yes
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.
$ac_ext >&5
32544 ac_cv_lib_posix4_nanosleep
=no
32546 rm -f conftest.err conftest.
$ac_objext \
32547 conftest
$ac_exeext conftest.
$ac_ext
32548 LIBS
=$ac_check_lib_save_LIBS
32550 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32551 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32552 if test $ac_cv_lib_posix4_nanosleep = yes; then
32554 cat >>confdefs.h
<<\_ACEOF
32555 #define HAVE_NANOSLEEP 1
32558 POSIX4_LINK
=" -lposix4"
32563 for ac_func
in usleep
32565 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32566 echo "$as_me:$LINENO: checking for $ac_func" >&5
32567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32568 if eval "test \"\${$as_ac_var+set}\" = set"; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 cat >conftest.
$ac_ext <<_ACEOF
32574 cat confdefs.h
>>conftest.
$ac_ext
32575 cat >>conftest.
$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32579 #define $ac_func innocuous_$ac_func
32581 /* System header to define __stub macros and hopefully few prototypes,
32582 which can conflict with char $ac_func (); below.
32583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32584 <limits.h> exists even on freestanding compilers. */
32587 # include <limits.h>
32589 # include <assert.h>
32594 /* Override any gcc2 internal prototype to avoid an error. */
32599 /* We use char because int might match the return type of a gcc2
32600 builtin and then its argument prototype would still apply. */
32602 /* The GNU C library defines this for functions which it implements
32603 to always fail with ENOSYS. Some functions are actually named
32604 something starting with __ and the normal name is an alias. */
32605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32608 char (*f) () = $ac_func;
32617 return f != $ac_func;
32622 rm -f conftest.
$ac_objext conftest
$ac_exeext
32623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32624 (eval $ac_link) 2>conftest.er1
32626 grep -v '^ *+' conftest.er1
>conftest.err
32628 cat conftest.err
>&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); } &&
32631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; } &&
32637 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
32643 eval "$as_ac_var=yes"
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.
$ac_ext >&5
32648 eval "$as_ac_var=no"
32650 rm -f conftest.err conftest.
$ac_objext \
32651 conftest
$ac_exeext conftest.
$ac_ext
32653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32655 if test `eval echo '${'$as_ac_var'}'` = yes; then
32656 cat >>confdefs.h
<<_ACEOF
32657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32659 cat >>confdefs.h
<<\_ACEOF
32660 #define HAVE_USLEEP 1
32664 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32665 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32683 for ac_func
in uname gethostname
32685 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32686 echo "$as_me:$LINENO: checking for $ac_func" >&5
32687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32688 if eval "test \"\${$as_ac_var+set}\" = set"; then
32689 echo $ECHO_N "(cached) $ECHO_C" >&6
32691 cat >conftest.
$ac_ext <<_ACEOF
32694 cat confdefs.h
>>conftest.
$ac_ext
32695 cat >>conftest.
$ac_ext <<_ACEOF
32696 /* end confdefs.h. */
32697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32699 #define $ac_func innocuous_$ac_func
32701 /* System header to define __stub macros and hopefully few prototypes,
32702 which can conflict with char $ac_func (); below.
32703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32704 <limits.h> exists even on freestanding compilers. */
32707 # include <limits.h>
32709 # include <assert.h>
32714 /* Override any gcc2 internal prototype to avoid an error. */
32719 /* We use char because int might match the return type of a gcc2
32720 builtin and then its argument prototype would still apply. */
32722 /* The GNU C library defines this for functions which it implements
32723 to always fail with ENOSYS. Some functions are actually named
32724 something starting with __ and the normal name is an alias. */
32725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32728 char (*f) () = $ac_func;
32737 return f != $ac_func;
32742 rm -f conftest.
$ac_objext conftest
$ac_exeext
32743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32744 (eval $ac_link) 2>conftest.er1
32746 grep -v '^ *+' conftest.er1
>conftest.err
32748 cat conftest.err
>&5
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); } &&
32751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32753 (eval $ac_try) 2>&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); }; } &&
32757 { ac_try
='test -s conftest$ac_exeext'
32758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32759 (eval $ac_try) 2>&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); }; }; then
32763 eval "$as_ac_var=yes"
32765 echo "$as_me: failed program was:" >&5
32766 sed 's/^/| /' conftest.
$ac_ext >&5
32768 eval "$as_ac_var=no"
32770 rm -f conftest.err conftest.
$ac_objext \
32771 conftest
$ac_exeext conftest.
$ac_ext
32773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32775 if test `eval echo '${'$as_ac_var'}'` = yes; then
32776 cat >>confdefs.h
<<_ACEOF
32777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32787 ac_cpp
='$CXXCPP $CPPFLAGS'
32788 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32789 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32790 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32794 for ac_func
in strtok_r
32796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32797 echo "$as_me:$LINENO: checking for $ac_func" >&5
32798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32799 if eval "test \"\${$as_ac_var+set}\" = set"; then
32800 echo $ECHO_N "(cached) $ECHO_C" >&6
32802 cat >conftest.
$ac_ext <<_ACEOF
32805 cat confdefs.h
>>conftest.
$ac_ext
32806 cat >>conftest.
$ac_ext <<_ACEOF
32807 /* end confdefs.h. */
32808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32810 #define $ac_func innocuous_$ac_func
32812 /* System header to define __stub macros and hopefully few prototypes,
32813 which can conflict with char $ac_func (); below.
32814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32815 <limits.h> exists even on freestanding compilers. */
32818 # include <limits.h>
32820 # include <assert.h>
32825 /* Override any gcc2 internal prototype to avoid an error. */
32830 /* We use char because int might match the return type of a gcc2
32831 builtin and then its argument prototype would still apply. */
32833 /* The GNU C library defines this for functions which it implements
32834 to always fail with ENOSYS. Some functions are actually named
32835 something starting with __ and the normal name is an alias. */
32836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32839 char (*f) () = $ac_func;
32848 return f != $ac_func;
32853 rm -f conftest.
$ac_objext conftest
$ac_exeext
32854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32855 (eval $ac_link) 2>conftest.er1
32857 grep -v '^ *+' conftest.er1
>conftest.err
32859 cat conftest.err
>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); } &&
32862 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; } &&
32868 { ac_try
='test -s conftest$ac_exeext'
32869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 eval "$as_ac_var=yes"
32876 echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.
$ac_ext >&5
32879 eval "$as_ac_var=no"
32881 rm -f conftest.err conftest.
$ac_objext \
32882 conftest
$ac_exeext conftest.
$ac_ext
32884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32886 if test `eval echo '${'$as_ac_var'}'` = yes; then
32887 cat >>confdefs.h
<<_ACEOF
32888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32896 ac_cpp
='$CPP $CPPFLAGS'
32897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32904 for ac_func
in inet_addr
32906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32907 echo "$as_me:$LINENO: checking for $ac_func" >&5
32908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32909 if eval "test \"\${$as_ac_var+set}\" = set"; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32912 cat >conftest.
$ac_ext <<_ACEOF
32915 cat confdefs.h
>>conftest.
$ac_ext
32916 cat >>conftest.
$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32920 #define $ac_func innocuous_$ac_func
32922 /* System header to define __stub macros and hopefully few prototypes,
32923 which can conflict with char $ac_func (); below.
32924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32925 <limits.h> exists even on freestanding compilers. */
32928 # include <limits.h>
32930 # include <assert.h>
32935 /* Override any gcc2 internal prototype to avoid an error. */
32940 /* We use char because int might match the return type of a gcc2
32941 builtin and then its argument prototype would still apply. */
32943 /* The GNU C library defines this for functions which it implements
32944 to always fail with ENOSYS. Some functions are actually named
32945 something starting with __ and the normal name is an alias. */
32946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32949 char (*f) () = $ac_func;
32958 return f != $ac_func;
32963 rm -f conftest.
$ac_objext conftest
$ac_exeext
32964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32965 (eval $ac_link) 2>conftest.er1
32967 grep -v '^ *+' conftest.er1
>conftest.err
32969 cat conftest.err
>&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); } &&
32972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32974 (eval $ac_try) 2>&5
32976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32977 (exit $ac_status); }; } &&
32978 { ac_try
='test -s conftest$ac_exeext'
32979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32980 (eval $ac_try) 2>&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); }; }; then
32984 eval "$as_ac_var=yes"
32986 echo "$as_me: failed program was:" >&5
32987 sed 's/^/| /' conftest.
$ac_ext >&5
32989 eval "$as_ac_var=no"
32991 rm -f conftest.err conftest.
$ac_objext \
32992 conftest
$ac_exeext conftest.
$ac_ext
32994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32996 if test `eval echo '${'$as_ac_var'}'` = yes; then
32997 cat >>confdefs.h
<<_ACEOF
32998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33000 cat >>confdefs.h
<<\_ACEOF
33001 #define HAVE_INET_ADDR 1
33006 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33007 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33008 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33009 echo $ECHO_N "(cached) $ECHO_C" >&6
33011 ac_check_lib_save_LIBS
=$LIBS
33013 cat >conftest.
$ac_ext <<_ACEOF
33016 cat confdefs.h
>>conftest.
$ac_ext
33017 cat >>conftest.
$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33020 /* Override any gcc2 internal prototype to avoid an error. */
33024 /* We use char because int might match the return type of a gcc2
33025 builtin and then its argument prototype would still apply. */
33035 rm -f conftest.
$ac_objext conftest
$ac_exeext
33036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33037 (eval $ac_link) 2>conftest.er1
33039 grep -v '^ *+' conftest.er1
>conftest.err
33041 cat conftest.err
>&5
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); } &&
33044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33046 (eval $ac_try) 2>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); }; } &&
33050 { ac_try
='test -s conftest$ac_exeext'
33051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33052 (eval $ac_try) 2>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; }; then
33056 ac_cv_lib_nsl_inet_addr
=yes
33058 echo "$as_me: failed program was:" >&5
33059 sed 's/^/| /' conftest.
$ac_ext >&5
33061 ac_cv_lib_nsl_inet_addr
=no
33063 rm -f conftest.err conftest.
$ac_objext \
33064 conftest
$ac_exeext conftest.
$ac_ext
33065 LIBS
=$ac_check_lib_save_LIBS
33067 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33068 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33069 if test $ac_cv_lib_nsl_inet_addr = yes; then
33073 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33074 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33075 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33076 echo $ECHO_N "(cached) $ECHO_C" >&6
33078 ac_check_lib_save_LIBS
=$LIBS
33079 LIBS
="-lresolv $LIBS"
33080 cat >conftest.
$ac_ext <<_ACEOF
33083 cat confdefs.h
>>conftest.
$ac_ext
33084 cat >>conftest.
$ac_ext <<_ACEOF
33085 /* end confdefs.h. */
33087 /* Override any gcc2 internal prototype to avoid an error. */
33091 /* We use char because int might match the return type of a gcc2
33092 builtin and then its argument prototype would still apply. */
33102 rm -f conftest.
$ac_objext conftest
$ac_exeext
33103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33104 (eval $ac_link) 2>conftest.er1
33106 grep -v '^ *+' conftest.er1
>conftest.err
33108 cat conftest.err
>&5
33109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33110 (exit $ac_status); } &&
33111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; } &&
33117 { ac_try
='test -s conftest$ac_exeext'
33118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33119 (eval $ac_try) 2>&5
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); }; }; then
33123 ac_cv_lib_resolv_inet_addr
=yes
33125 echo "$as_me: failed program was:" >&5
33126 sed 's/^/| /' conftest.
$ac_ext >&5
33128 ac_cv_lib_resolv_inet_addr
=no
33130 rm -f conftest.err conftest.
$ac_objext \
33131 conftest
$ac_exeext conftest.
$ac_ext
33132 LIBS
=$ac_check_lib_save_LIBS
33134 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33135 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33136 if test $ac_cv_lib_resolv_inet_addr = yes; then
33140 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33141 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33142 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 ac_check_lib_save_LIBS
=$LIBS
33146 LIBS
="-lsocket $LIBS"
33147 cat >conftest.
$ac_ext <<_ACEOF
33150 cat confdefs.h
>>conftest.
$ac_ext
33151 cat >>conftest.
$ac_ext <<_ACEOF
33152 /* end confdefs.h. */
33154 /* Override any gcc2 internal prototype to avoid an error. */
33158 /* We use char because int might match the return type of a gcc2
33159 builtin and then its argument prototype would still apply. */
33169 rm -f conftest.
$ac_objext conftest
$ac_exeext
33170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33171 (eval $ac_link) 2>conftest.er1
33173 grep -v '^ *+' conftest.er1
>conftest.err
33175 cat conftest.err
>&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); } &&
33178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; } &&
33184 { ac_try
='test -s conftest$ac_exeext'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; }; then
33190 ac_cv_lib_socket_inet_addr
=yes
33192 echo "$as_me: failed program was:" >&5
33193 sed 's/^/| /' conftest.
$ac_ext >&5
33195 ac_cv_lib_socket_inet_addr
=no
33197 rm -f conftest.err conftest.
$ac_objext \
33198 conftest
$ac_exeext conftest.
$ac_ext
33199 LIBS
=$ac_check_lib_save_LIBS
33201 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33202 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33203 if test $ac_cv_lib_socket_inet_addr = yes; then
33223 for ac_func
in inet_aton
33225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33226 echo "$as_me:$LINENO: checking for $ac_func" >&5
33227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33228 if eval "test \"\${$as_ac_var+set}\" = set"; then
33229 echo $ECHO_N "(cached) $ECHO_C" >&6
33231 cat >conftest.
$ac_ext <<_ACEOF
33234 cat confdefs.h
>>conftest.
$ac_ext
33235 cat >>conftest.
$ac_ext <<_ACEOF
33236 /* end confdefs.h. */
33237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33239 #define $ac_func innocuous_$ac_func
33241 /* System header to define __stub macros and hopefully few prototypes,
33242 which can conflict with char $ac_func (); below.
33243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33244 <limits.h> exists even on freestanding compilers. */
33247 # include <limits.h>
33249 # include <assert.h>
33254 /* Override any gcc2 internal prototype to avoid an error. */
33259 /* We use char because int might match the return type of a gcc2
33260 builtin and then its argument prototype would still apply. */
33262 /* The GNU C library defines this for functions which it implements
33263 to always fail with ENOSYS. Some functions are actually named
33264 something starting with __ and the normal name is an alias. */
33265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33268 char (*f) () = $ac_func;
33277 return f != $ac_func;
33282 rm -f conftest.
$ac_objext conftest
$ac_exeext
33283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33284 (eval $ac_link) 2>conftest.er1
33286 grep -v '^ *+' conftest.er1
>conftest.err
33288 cat conftest.err
>&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); } &&
33291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; } &&
33297 { ac_try
='test -s conftest$ac_exeext'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; }; then
33303 eval "$as_ac_var=yes"
33305 echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.
$ac_ext >&5
33308 eval "$as_ac_var=no"
33310 rm -f conftest.err conftest.
$ac_objext \
33311 conftest
$ac_exeext conftest.
$ac_ext
33313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33315 if test `eval echo '${'$as_ac_var'}'` = yes; then
33316 cat >>confdefs.h
<<_ACEOF
33317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33319 cat >>confdefs.h
<<\_ACEOF
33320 #define HAVE_INET_ATON 1
33325 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33326 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33327 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33328 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 ac_check_lib_save_LIBS
=$LIBS
33332 LIBS
="-l$INET_LINK $LIBS"
33333 cat >conftest.
$ac_ext <<_ACEOF
33336 cat confdefs.h
>>conftest.
$ac_ext
33337 cat >>conftest.
$ac_ext <<_ACEOF
33338 /* end confdefs.h. */
33340 /* Override any gcc2 internal prototype to avoid an error. */
33344 /* We use char because int might match the return type of a gcc2
33345 builtin and then its argument prototype would still apply. */
33355 rm -f conftest.
$ac_objext conftest
$ac_exeext
33356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33357 (eval $ac_link) 2>conftest.er1
33359 grep -v '^ *+' conftest.er1
>conftest.err
33361 cat conftest.err
>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } &&
33364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; } &&
33370 { ac_try
='test -s conftest$ac_exeext'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }; then
33376 eval "$as_ac_Lib=yes"
33378 echo "$as_me: failed program was:" >&5
33379 sed 's/^/| /' conftest.
$ac_ext >&5
33381 eval "$as_ac_Lib=no"
33383 rm -f conftest.err conftest.
$ac_objext \
33384 conftest
$ac_exeext conftest.
$ac_ext
33385 LIBS
=$ac_check_lib_save_LIBS
33387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33388 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33389 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33390 cat >>confdefs.h
<<\_ACEOF
33391 #define HAVE_INET_ATON 1
33401 if test "x$INET_LINK" != "x"; then
33402 cat >>confdefs.h
<<\_ACEOF
33403 #define HAVE_INET_ADDR 1
33406 INET_LINK
=" -l$INET_LINK"
33414 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33415 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33416 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 ac_check_lib_save_LIBS
=$LIBS
33421 cat >conftest.
$ac_ext <<_ACEOF
33424 cat confdefs.h
>>conftest.
$ac_ext
33425 cat >>conftest.
$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33428 /* Override any gcc2 internal prototype to avoid an error. */
33432 /* We use char because int might match the return type of a gcc2
33433 builtin and then its argument prototype would still apply. */
33443 rm -f conftest.
$ac_objext conftest
$ac_exeext
33444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33445 (eval $ac_link) 2>conftest.er1
33447 grep -v '^ *+' conftest.er1
>conftest.err
33449 cat conftest.err
>&5
33450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33451 (exit $ac_status); } &&
33452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33454 (eval $ac_try) 2>&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); }; } &&
33458 { ac_try
='test -s conftest$ac_exeext'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; }; then
33464 ac_cv_lib_esd_esd_close
=yes
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.
$ac_ext >&5
33469 ac_cv_lib_esd_esd_close
=no
33471 rm -f conftest.err conftest.
$ac_objext \
33472 conftest
$ac_exeext conftest.
$ac_ext
33473 LIBS
=$ac_check_lib_save_LIBS
33475 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33476 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33477 if test $ac_cv_lib_esd_esd_close = yes; then
33480 for ac_header
in esd.h
33482 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33484 echo "$as_me:$LINENO: checking for $ac_header" >&5
33485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33487 echo $ECHO_N "(cached) $ECHO_C" >&6
33489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33492 # Is the header compilable?
33493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33495 cat >conftest.
$ac_ext <<_ACEOF
33498 cat confdefs.h
>>conftest.
$ac_ext
33499 cat >>conftest.
$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501 $ac_includes_default
33502 #include <$ac_header>
33504 rm -f conftest.
$ac_objext
33505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33506 (eval $ac_compile) 2>conftest.er1
33508 grep -v '^ *+' conftest.er1
>conftest.err
33510 cat conftest.err
>&5
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); } &&
33513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515 (eval $ac_try) 2>&5
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); }; } &&
33519 { ac_try
='test -s conftest.$ac_objext'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; }; then
33525 ac_header_compiler
=yes
33527 echo "$as_me: failed program was:" >&5
33528 sed 's/^/| /' conftest.
$ac_ext >&5
33530 ac_header_compiler
=no
33532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33534 echo "${ECHO_T}$ac_header_compiler" >&6
33536 # Is the header present?
33537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33539 cat >conftest.
$ac_ext <<_ACEOF
33542 cat confdefs.h
>>conftest.
$ac_ext
33543 cat >>conftest.
$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 #include <$ac_header>
33547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33548 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33550 grep -v '^ *+' conftest.er1
>conftest.err
33552 cat conftest.err
>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); } >/dev
/null
; then
33555 if test -s conftest.err
; then
33556 ac_cpp_err
=$ac_c_preproc_warn_flag
33557 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33564 if test -z "$ac_cpp_err"; then
33565 ac_header_preproc
=yes
33567 echo "$as_me: failed program was:" >&5
33568 sed 's/^/| /' conftest.
$ac_ext >&5
33570 ac_header_preproc
=no
33572 rm -f conftest.err conftest.
$ac_ext
33573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33574 echo "${ECHO_T}$ac_header_preproc" >&6
33576 # So? What about this header?
33577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33583 ac_header_preproc
=yes
33586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33600 ## ----------------------------------------- ##
33601 ## Report this to wx-dev@lists.wxwidgets.org ##
33602 ## ----------------------------------------- ##
33605 sed "s/^/$as_me: WARNING: /" >&2
33608 echo "$as_me:$LINENO: checking for $ac_header" >&5
33609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33611 echo $ECHO_N "(cached) $ECHO_C" >&6
33613 eval "$as_ac_Header=\$ac_header_preproc"
33615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33620 cat >>confdefs.h
<<_ACEOF
33621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33624 EXTRALIBS_ESD
="-lesd"
33635 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33636 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33637 cat >conftest.
$ac_ext <<_ACEOF
33640 cat confdefs.h
>>conftest.
$ac_ext
33641 cat >>conftest.
$ac_ext <<_ACEOF
33642 /* end confdefs.h. */
33644 #include <linux/cdrom.h>
33647 #include <sys/cdio.h>
33653 struct cdrom_tocentry entry, old_entry;
33658 rm -f conftest.
$ac_objext
33659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33660 (eval $ac_compile) 2>conftest.er1
33662 grep -v '^ *+' conftest.er1
>conftest.err
33664 cat conftest.err
>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); } &&
33667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33669 (eval $ac_try) 2>&5
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); }; } &&
33673 { ac_try
='test -s conftest.$ac_objext'
33674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33675 (eval $ac_try) 2>&5
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); }; }; then
33679 echo "$as_me:$LINENO: result: yes" >&5
33680 echo "${ECHO_T}yes" >&6
33681 cat >>confdefs.h
<<\_ACEOF
33682 #define HAVE_KNOWN_CDROM_INTERFACE 1
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.
$ac_ext >&5
33689 echo "$as_me:$LINENO: result: no" >&5
33690 echo "${ECHO_T}no" >&6
33692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33695 cat >confcache
<<\_ACEOF
33696 # This file is a shell script that caches the results of configure
33697 # tests run on this system so they can be shared between configure
33698 # scripts and configure runs, see configure's option --config-cache.
33699 # It is not useful on other systems. If it contains results you don't
33700 # want to keep, you may remove or edit it.
33702 # config.status only pays attention to the cache file if you give it
33703 # the --recheck option to rerun configure.
33705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33707 # following values.
33711 # The following way of writing the cache mishandles newlines in values,
33712 # but we know of no workaround that is simple, portable, and efficient.
33713 # So, don't put newlines in cache variables' values.
33714 # Ultrix sh set writes to stderr and can't be redirected directly,
33715 # and sets the high bit in the cache file unless we assign to the vars.
33718 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33720 # `set' does not quote correctly, so add quotes (double-quote
33721 # substitution turns \\\\ into \\, and sed turns \\ into \).
33724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33727 # `set' quotes correctly as required by POSIX, so do not add quotes.
33729 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33738 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33740 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33741 if test -w $cache_file; then
33742 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33743 cat confcache
>$cache_file
33745 echo "not updating unwritable cache $cache_file"
33752 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33758 if test "$wxUSE_THREADS" = "yes" ; then
33759 if test "$USE_BEOS" = 1; then
33760 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33761 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33766 if test "$wxUSE_THREADS" = "yes" ; then
33769 THREAD_OPTS
="-pthread"
33771 *-*-solaris2* | *-*-sunos4* )
33772 if test "x$GCC" = "xyes"; then
33773 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33775 THREAD_OPTS
="-mt $THREAD_OPTS"
33779 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33781 *-*-darwin* | *-*-cygwin* )
33785 THREAD_OPTS
="pthreads"
33788 if test "x$GCC" != "xyes"; then
33794 if test "x$GCC" = "xyes"; then
33800 if test "x$GCC" != "xyes"; then
33801 THREAD_OPTS
="-Ethread"
33806 THREAD_OPTS
="$THREAD_OPTS pthread none"
33809 for flag
in $THREAD_OPTS; do
33812 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33813 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33817 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33818 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33819 THREADS_CFLAGS
="$flag"
33823 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33824 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33825 THREADS_LINK
="-l$flag"
33830 save_CFLAGS
="$CFLAGS"
33831 LIBS
="$THREADS_LINK $LIBS"
33832 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33834 cat >conftest.
$ac_ext <<_ACEOF
33837 cat confdefs.h
>>conftest.
$ac_ext
33838 cat >>conftest.
$ac_ext <<_ACEOF
33839 /* end confdefs.h. */
33840 #include <pthread.h>
33844 pthread_create(0,0,0,0);
33849 rm -f conftest.
$ac_objext conftest
$ac_exeext
33850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33851 (eval $ac_link) 2>conftest.er1
33853 grep -v '^ *+' conftest.er1
>conftest.err
33855 cat conftest.err
>&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); } &&
33858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; } &&
33864 { ac_try
='test -s conftest$ac_exeext'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; }; then
33872 echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.
$ac_ext >&5
33876 rm -f conftest.err conftest.
$ac_objext \
33877 conftest
$ac_exeext conftest.
$ac_ext
33880 CFLAGS
="$save_CFLAGS"
33882 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33883 echo "${ECHO_T}$THREADS_OK" >&6
33884 if test "x$THREADS_OK" = "xyes"; then
33892 if test "x$THREADS_OK" != "xyes"; then
33894 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33895 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33897 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33898 LIBS
="$THREADS_LINK $LIBS"
33900 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33901 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33905 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33906 flag
="-D_THREAD_SAFE"
33909 flag
="-D_THREAD_SAFE"
33912 flag
="-D_REENTRANT"
33913 if test "x$GCC" != "xyes"; then
33914 flag
="$flag -D_RWSTD_MULTI_THREAD"
33917 *solaris
* | alpha
*-osf*)
33918 flag
="-D_REENTRANT"
33921 echo "$as_me:$LINENO: result: ${flag}" >&5
33922 echo "${ECHO_T}${flag}" >&6
33923 if test "x$flag" != xno
; then
33924 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33927 if test "x$THREADS_CFLAGS" != "x"; then
33928 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33929 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33934 if test "$wxUSE_THREADS" = "yes" ; then
33936 for ac_func
in thr_setconcurrency
33938 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33939 echo "$as_me:$LINENO: checking for $ac_func" >&5
33940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33941 if eval "test \"\${$as_ac_var+set}\" = set"; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 cat >conftest.
$ac_ext <<_ACEOF
33947 cat confdefs.h
>>conftest.
$ac_ext
33948 cat >>conftest.
$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33952 #define $ac_func innocuous_$ac_func
33954 /* System header to define __stub macros and hopefully few prototypes,
33955 which can conflict with char $ac_func (); below.
33956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33957 <limits.h> exists even on freestanding compilers. */
33960 # include <limits.h>
33962 # include <assert.h>
33967 /* Override any gcc2 internal prototype to avoid an error. */
33972 /* We use char because int might match the return type of a gcc2
33973 builtin and then its argument prototype would still apply. */
33975 /* The GNU C library defines this for functions which it implements
33976 to always fail with ENOSYS. Some functions are actually named
33977 something starting with __ and the normal name is an alias. */
33978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33981 char (*f) () = $ac_func;
33990 return f != $ac_func;
33995 rm -f conftest.
$ac_objext conftest
$ac_exeext
33996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33997 (eval $ac_link) 2>conftest.er1
33999 grep -v '^ *+' conftest.er1
>conftest.err
34001 cat conftest.err
>&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); } &&
34004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34006 (eval $ac_try) 2>&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); }; } &&
34010 { ac_try
='test -s conftest$ac_exeext'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; }; then
34016 eval "$as_ac_var=yes"
34018 echo "$as_me: failed program was:" >&5
34019 sed 's/^/| /' conftest.
$ac_ext >&5
34021 eval "$as_ac_var=no"
34023 rm -f conftest.err conftest.
$ac_objext \
34024 conftest
$ac_exeext conftest.
$ac_ext
34026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34028 if test `eval echo '${'$as_ac_var'}'` = yes; then
34029 cat >>confdefs.h
<<_ACEOF
34030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34038 for ac_header
in sched.h
34040 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34042 echo "$as_me:$LINENO: checking for $ac_header" >&5
34043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34045 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34050 # Is the header compilable?
34051 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34053 cat >conftest.
$ac_ext <<_ACEOF
34056 cat confdefs.h
>>conftest.
$ac_ext
34057 cat >>conftest.
$ac_ext <<_ACEOF
34058 /* end confdefs.h. */
34059 $ac_includes_default
34060 #include <$ac_header>
34062 rm -f conftest.
$ac_objext
34063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34064 (eval $ac_compile) 2>conftest.er1
34066 grep -v '^ *+' conftest.er1
>conftest.err
34068 cat conftest.err
>&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } &&
34071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try
='test -s conftest.$ac_objext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 ac_header_compiler
=yes
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.
$ac_ext >&5
34088 ac_header_compiler
=no
34090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34092 echo "${ECHO_T}$ac_header_compiler" >&6
34094 # Is the header present?
34095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34097 cat >conftest.
$ac_ext <<_ACEOF
34100 cat confdefs.h
>>conftest.
$ac_ext
34101 cat >>conftest.
$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103 #include <$ac_header>
34105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34106 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34108 grep -v '^ *+' conftest.er1
>conftest.err
34110 cat conftest.err
>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } >/dev
/null
; then
34113 if test -s conftest.err
; then
34114 ac_cpp_err
=$ac_c_preproc_warn_flag
34115 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34122 if test -z "$ac_cpp_err"; then
34123 ac_header_preproc
=yes
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.
$ac_ext >&5
34128 ac_header_preproc
=no
34130 rm -f conftest.err conftest.
$ac_ext
34131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34132 echo "${ECHO_T}$ac_header_preproc" >&6
34134 # So? What about this header?
34135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34141 ac_header_preproc
=yes
34144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34158 ## ----------------------------------------- ##
34159 ## Report this to wx-dev@lists.wxwidgets.org ##
34160 ## ----------------------------------------- ##
34163 sed "s/^/$as_me: WARNING: /" >&2
34166 echo "$as_me:$LINENO: checking for $ac_header" >&5
34167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34169 echo $ECHO_N "(cached) $ECHO_C" >&6
34171 eval "$as_ac_Header=\$ac_header_preproc"
34173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34178 cat >>confdefs.h
<<_ACEOF
34179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34186 if test "$ac_cv_header_sched_h" = "yes"; then
34187 echo "$as_me:$LINENO: checking for sched_yield" >&5
34188 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34189 if test "${ac_cv_func_sched_yield+set}" = set; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34192 cat >conftest.
$ac_ext <<_ACEOF
34195 cat confdefs.h
>>conftest.
$ac_ext
34196 cat >>conftest.
$ac_ext <<_ACEOF
34197 /* end confdefs.h. */
34198 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34200 #define sched_yield innocuous_sched_yield
34202 /* System header to define __stub macros and hopefully few prototypes,
34203 which can conflict with char sched_yield (); below.
34204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34205 <limits.h> exists even on freestanding compilers. */
34208 # include <limits.h>
34210 # include <assert.h>
34215 /* Override any gcc2 internal prototype to avoid an error. */
34220 /* We use char because int might match the return type of a gcc2
34221 builtin and then its argument prototype would still apply. */
34222 char sched_yield ();
34223 /* The GNU C library defines this for functions which it implements
34224 to always fail with ENOSYS. Some functions are actually named
34225 something starting with __ and the normal name is an alias. */
34226 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34229 char (*f) () = sched_yield;
34238 return f != sched_yield;
34243 rm -f conftest.
$ac_objext conftest
$ac_exeext
34244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34245 (eval $ac_link) 2>conftest.er1
34247 grep -v '^ *+' conftest.er1
>conftest.err
34249 cat conftest.err
>&5
34250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34251 (exit $ac_status); } &&
34252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34254 (eval $ac_try) 2>&5
34256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257 (exit $ac_status); }; } &&
34258 { ac_try
='test -s conftest$ac_exeext'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; }; then
34264 ac_cv_func_sched_yield
=yes
34266 echo "$as_me: failed program was:" >&5
34267 sed 's/^/| /' conftest.
$ac_ext >&5
34269 ac_cv_func_sched_yield
=no
34271 rm -f conftest.err conftest.
$ac_objext \
34272 conftest
$ac_exeext conftest.
$ac_ext
34274 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34275 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34276 if test $ac_cv_func_sched_yield = yes; then
34277 cat >>confdefs.h
<<\_ACEOF
34278 #define HAVE_SCHED_YIELD 1
34283 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34284 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34285 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34286 echo $ECHO_N "(cached) $ECHO_C" >&6
34288 ac_check_lib_save_LIBS
=$LIBS
34289 LIBS
="-lposix4 $LIBS"
34290 cat >conftest.
$ac_ext <<_ACEOF
34293 cat confdefs.h
>>conftest.
$ac_ext
34294 cat >>conftest.
$ac_ext <<_ACEOF
34295 /* end confdefs.h. */
34297 /* Override any gcc2 internal prototype to avoid an error. */
34301 /* We use char because int might match the return type of a gcc2
34302 builtin and then its argument prototype would still apply. */
34303 char sched_yield ();
34312 rm -f conftest.
$ac_objext conftest
$ac_exeext
34313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34314 (eval $ac_link) 2>conftest.er1
34316 grep -v '^ *+' conftest.er1
>conftest.err
34318 cat conftest.err
>&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); } &&
34321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34323 (eval $ac_try) 2>&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); }; } &&
34327 { ac_try
='test -s conftest$ac_exeext'
34328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329 (eval $ac_try) 2>&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); }; }; then
34333 ac_cv_lib_posix4_sched_yield
=yes
34335 echo "$as_me: failed program was:" >&5
34336 sed 's/^/| /' conftest.
$ac_ext >&5
34338 ac_cv_lib_posix4_sched_yield
=no
34340 rm -f conftest.err conftest.
$ac_objext \
34341 conftest
$ac_exeext conftest.
$ac_ext
34342 LIBS
=$ac_check_lib_save_LIBS
34344 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34345 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34346 if test $ac_cv_lib_posix4_sched_yield = yes; then
34347 cat >>confdefs.h
<<\_ACEOF
34348 #define HAVE_SCHED_YIELD 1
34350 POSIX4_LINK
=" -lposix4"
34352 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34353 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34364 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34365 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34366 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34367 echo $ECHO_N "(cached) $ECHO_C" >&6
34369 cat >conftest.
$ac_ext <<_ACEOF
34372 cat confdefs.h
>>conftest.
$ac_ext
34373 cat >>conftest.
$ac_ext <<_ACEOF
34374 /* end confdefs.h. */
34375 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34377 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34379 /* System header to define __stub macros and hopefully few prototypes,
34380 which can conflict with char pthread_attr_getschedpolicy (); below.
34381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34382 <limits.h> exists even on freestanding compilers. */
34385 # include <limits.h>
34387 # include <assert.h>
34390 #undef pthread_attr_getschedpolicy
34392 /* Override any gcc2 internal prototype to avoid an error. */
34397 /* We use char because int might match the return type of a gcc2
34398 builtin and then its argument prototype would still apply. */
34399 char pthread_attr_getschedpolicy ();
34400 /* The GNU C library defines this for functions which it implements
34401 to always fail with ENOSYS. Some functions are actually named
34402 something starting with __ and the normal name is an alias. */
34403 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34406 char (*f) () = pthread_attr_getschedpolicy;
34415 return f != pthread_attr_getschedpolicy;
34420 rm -f conftest.
$ac_objext conftest
$ac_exeext
34421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34422 (eval $ac_link) 2>conftest.er1
34424 grep -v '^ *+' conftest.er1
>conftest.err
34426 cat conftest.err
>&5
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); } &&
34429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34431 (eval $ac_try) 2>&5
34433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34434 (exit $ac_status); }; } &&
34435 { ac_try
='test -s conftest$ac_exeext'
34436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34437 (eval $ac_try) 2>&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); }; }; then
34441 ac_cv_func_pthread_attr_getschedpolicy
=yes
34443 echo "$as_me: failed program was:" >&5
34444 sed 's/^/| /' conftest.
$ac_ext >&5
34446 ac_cv_func_pthread_attr_getschedpolicy
=no
34448 rm -f conftest.err conftest.
$ac_objext \
34449 conftest
$ac_exeext conftest.
$ac_ext
34451 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34452 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34453 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34454 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34455 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34456 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34457 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 cat >conftest.
$ac_ext <<_ACEOF
34462 cat confdefs.h
>>conftest.
$ac_ext
34463 cat >>conftest.
$ac_ext <<_ACEOF
34464 /* end confdefs.h. */
34465 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34467 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34469 /* System header to define __stub macros and hopefully few prototypes,
34470 which can conflict with char pthread_attr_setschedparam (); below.
34471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34472 <limits.h> exists even on freestanding compilers. */
34475 # include <limits.h>
34477 # include <assert.h>
34480 #undef pthread_attr_setschedparam
34482 /* Override any gcc2 internal prototype to avoid an error. */
34487 /* We use char because int might match the return type of a gcc2
34488 builtin and then its argument prototype would still apply. */
34489 char pthread_attr_setschedparam ();
34490 /* The GNU C library defines this for functions which it implements
34491 to always fail with ENOSYS. Some functions are actually named
34492 something starting with __ and the normal name is an alias. */
34493 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34496 char (*f) () = pthread_attr_setschedparam;
34505 return f != pthread_attr_setschedparam;
34510 rm -f conftest.
$ac_objext conftest
$ac_exeext
34511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34512 (eval $ac_link) 2>conftest.er1
34514 grep -v '^ *+' conftest.er1
>conftest.err
34516 cat conftest.err
>&5
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); } &&
34519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try
='test -s conftest$ac_exeext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 ac_cv_func_pthread_attr_setschedparam
=yes
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.
$ac_ext >&5
34536 ac_cv_func_pthread_attr_setschedparam
=no
34538 rm -f conftest.err conftest.
$ac_objext \
34539 conftest
$ac_exeext conftest.
$ac_ext
34541 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34542 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34543 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34544 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34545 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34546 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34549 cat >conftest.
$ac_ext <<_ACEOF
34552 cat confdefs.h
>>conftest.
$ac_ext
34553 cat >>conftest.
$ac_ext <<_ACEOF
34554 /* end confdefs.h. */
34555 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34557 #define sched_get_priority_max innocuous_sched_get_priority_max
34559 /* System header to define __stub macros and hopefully few prototypes,
34560 which can conflict with char sched_get_priority_max (); below.
34561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34562 <limits.h> exists even on freestanding compilers. */
34565 # include <limits.h>
34567 # include <assert.h>
34570 #undef sched_get_priority_max
34572 /* Override any gcc2 internal prototype to avoid an error. */
34577 /* We use char because int might match the return type of a gcc2
34578 builtin and then its argument prototype would still apply. */
34579 char sched_get_priority_max ();
34580 /* The GNU C library defines this for functions which it implements
34581 to always fail with ENOSYS. Some functions are actually named
34582 something starting with __ and the normal name is an alias. */
34583 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34586 char (*f) () = sched_get_priority_max;
34595 return f != sched_get_priority_max;
34600 rm -f conftest.
$ac_objext conftest
$ac_exeext
34601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34602 (eval $ac_link) 2>conftest.er1
34604 grep -v '^ *+' conftest.er1
>conftest.err
34606 cat conftest.err
>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } &&
34609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; } &&
34615 { ac_try
='test -s conftest$ac_exeext'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; }; then
34621 ac_cv_func_sched_get_priority_max
=yes
34623 echo "$as_me: failed program was:" >&5
34624 sed 's/^/| /' conftest.
$ac_ext >&5
34626 ac_cv_func_sched_get_priority_max
=no
34628 rm -f conftest.err conftest.
$ac_objext \
34629 conftest
$ac_exeext conftest.
$ac_ext
34631 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34632 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34633 if test $ac_cv_func_sched_get_priority_max = yes; then
34636 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34637 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34638 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34639 echo $ECHO_N "(cached) $ECHO_C" >&6
34641 ac_check_lib_save_LIBS
=$LIBS
34642 LIBS
="-lposix4 $LIBS"
34643 cat >conftest.
$ac_ext <<_ACEOF
34646 cat confdefs.h
>>conftest.
$ac_ext
34647 cat >>conftest.
$ac_ext <<_ACEOF
34648 /* end confdefs.h. */
34650 /* Override any gcc2 internal prototype to avoid an error. */
34654 /* We use char because int might match the return type of a gcc2
34655 builtin and then its argument prototype would still apply. */
34656 char sched_get_priority_max ();
34660 sched_get_priority_max ();
34665 rm -f conftest.
$ac_objext conftest
$ac_exeext
34666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34667 (eval $ac_link) 2>conftest.er1
34669 grep -v '^ *+' conftest.er1
>conftest.err
34671 cat conftest.err
>&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } &&
34674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; } &&
34680 { ac_try
='test -s conftest$ac_exeext'
34681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34682 (eval $ac_try) 2>&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); }; }; then
34686 ac_cv_lib_posix4_sched_get_priority_max
=yes
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.
$ac_ext >&5
34691 ac_cv_lib_posix4_sched_get_priority_max
=no
34693 rm -f conftest.err conftest.
$ac_objext \
34694 conftest
$ac_exeext conftest.
$ac_ext
34695 LIBS
=$ac_check_lib_save_LIBS
34697 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34698 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34699 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34702 POSIX4_LINK
=" -lposix4"
34716 if test "$HAVE_PRIOR_FUNCS" = 1; then
34717 cat >>confdefs.h
<<\_ACEOF
34718 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34722 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34723 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34726 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34727 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34728 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34729 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 cat >conftest.
$ac_ext <<_ACEOF
34734 cat confdefs.h
>>conftest.
$ac_ext
34735 cat >>conftest.
$ac_ext <<_ACEOF
34736 /* end confdefs.h. */
34737 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34739 #define pthread_cancel innocuous_pthread_cancel
34741 /* System header to define __stub macros and hopefully few prototypes,
34742 which can conflict with char pthread_cancel (); below.
34743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34744 <limits.h> exists even on freestanding compilers. */
34747 # include <limits.h>
34749 # include <assert.h>
34752 #undef pthread_cancel
34754 /* Override any gcc2 internal prototype to avoid an error. */
34759 /* We use char because int might match the return type of a gcc2
34760 builtin and then its argument prototype would still apply. */
34761 char pthread_cancel ();
34762 /* The GNU C library defines this for functions which it implements
34763 to always fail with ENOSYS. Some functions are actually named
34764 something starting with __ and the normal name is an alias. */
34765 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34768 char (*f) () = pthread_cancel;
34777 return f != pthread_cancel;
34782 rm -f conftest.
$ac_objext conftest
$ac_exeext
34783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34784 (eval $ac_link) 2>conftest.er1
34786 grep -v '^ *+' conftest.er1
>conftest.err
34788 cat conftest.err
>&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); } &&
34791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; } &&
34797 { ac_try
='test -s conftest$ac_exeext'
34798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34799 (eval $ac_try) 2>&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); }; }; then
34803 ac_cv_func_pthread_cancel
=yes
34805 echo "$as_me: failed program was:" >&5
34806 sed 's/^/| /' conftest.
$ac_ext >&5
34808 ac_cv_func_pthread_cancel
=no
34810 rm -f conftest.err conftest.
$ac_objext \
34811 conftest
$ac_exeext conftest.
$ac_ext
34813 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34814 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34815 if test $ac_cv_func_pthread_cancel = yes; then
34816 cat >>confdefs.h
<<\_ACEOF
34817 #define HAVE_PTHREAD_CANCEL 1
34821 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34822 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34828 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34829 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34830 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34831 echo $ECHO_N "(cached) $ECHO_C" >&6
34834 cat >conftest.
$ac_ext <<_ACEOF
34837 cat confdefs.h
>>conftest.
$ac_ext
34838 cat >>conftest.
$ac_ext <<_ACEOF
34839 /* end confdefs.h. */
34840 #include <pthread.h>
34845 pthread_mutexattr_t attr;
34846 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34852 rm -f conftest.
$ac_objext
34853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34854 (eval $ac_compile) 2>conftest.er1
34856 grep -v '^ *+' conftest.er1
>conftest.err
34858 cat conftest.err
>&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); } &&
34861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34863 (eval $ac_try) 2>&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); }; } &&
34867 { ac_try
='test -s conftest.$ac_objext'
34868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34869 (eval $ac_try) 2>&5
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); }; }; then
34874 wx_cv_type_pthread_mutexattr_t
=yes
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.
$ac_ext >&5
34881 wx_cv_type_pthread_mutexattr_t
=no
34885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34888 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34889 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34891 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34892 cat >>confdefs.h
<<\_ACEOF
34893 #define HAVE_PTHREAD_MUTEXATTR_T 1
34897 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34898 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34899 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 cat >conftest.
$ac_ext <<_ACEOF
34906 cat confdefs.h
>>conftest.
$ac_ext
34907 cat >>conftest.
$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34909 #include <pthread.h>
34914 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34920 rm -f conftest.
$ac_objext
34921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34922 (eval $ac_compile) 2>conftest.er1
34924 grep -v '^ *+' conftest.er1
>conftest.err
34926 cat conftest.err
>&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } &&
34929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; } &&
34935 { ac_try
='test -s conftest.$ac_objext'
34936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34937 (eval $ac_try) 2>&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); }; }; then
34942 wx_cv_type_pthread_rec_mutex_init
=yes
34945 echo "$as_me: failed program was:" >&5
34946 sed 's/^/| /' conftest.
$ac_ext >&5
34949 wx_cv_type_pthread_rec_mutex_init
=no
34953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34956 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34957 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34958 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34959 cat >>confdefs.h
<<\_ACEOF
34960 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34964 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34965 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34971 if test "$wxUSE_THREADS" = "yes" ; then
34974 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34975 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34976 if test "${wx_cv_cflags_mthread+set}" = set; then
34977 echo $ECHO_N "(cached) $ECHO_C" >&6
34980 CFLAGS_OLD
="$CFLAGS"
34981 CFLAGS
="$CFLAGS -mthreads"
34982 cat >conftest.
$ac_ext <<_ACEOF
34985 cat confdefs.h
>>conftest.
$ac_ext
34986 cat >>conftest.
$ac_ext <<_ACEOF
34987 /* end confdefs.h. */
34997 rm -f conftest.
$ac_objext
34998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34999 (eval $ac_compile) 2>conftest.er1
35001 grep -v '^ *+' conftest.er1
>conftest.err
35003 cat conftest.err
>&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); } &&
35006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35008 (eval $ac_try) 2>&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); }; } &&
35012 { ac_try
='test -s conftest.$ac_objext'
35013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35014 (eval $ac_try) 2>&5
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); }; }; then
35018 wx_cv_cflags_mthread
=yes
35020 echo "$as_me: failed program was:" >&5
35021 sed 's/^/| /' conftest.
$ac_ext >&5
35023 wx_cv_cflags_mthread
=no
35026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35030 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35031 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35033 if test "$wx_cv_cflags_mthread" = "yes"; then
35034 CXXFLAGS
="$CXXFLAGS -mthreads"
35035 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35036 LDFLAGS
="$LDFLAGS -mthreads"
35038 CFLAGS
="$CFLAGS_OLD"
35042 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35043 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35044 LDFLAGS
="$LDFLAGS -Zmt"
35050 if test "$wxUSE_THREADS" = "yes"; then
35051 cat >>confdefs.h
<<\_ACEOF
35052 #define wxUSE_THREADS 1
35056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35058 if test "$ac_cv_func_strtok_r" = "yes"; then
35059 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35060 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35061 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35062 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35063 echo "$as_me:$LINENO: result: yes" >&5
35064 echo "${ECHO_T}yes" >&6
35066 echo "$as_me:$LINENO: result: no" >&5
35067 echo "${ECHO_T}no" >&6
35072 if test "$WXGTK20" = 1 ; then
35073 cat >>confdefs.h
<<_ACEOF
35074 #define __WXGTK20__ $WXGTK20
35080 if test "$WXGTK12" = 1 ; then
35081 cat >>confdefs.h
<<_ACEOF
35082 #define __WXGTK12__ $WXGTK12
35087 if test "$WXGTK127" = 1 ; then
35088 cat >>confdefs.h
<<_ACEOF
35089 #define __WXGTK127__ $WXGTK127
35094 if test "$WXGPE" = 1 ; then
35095 cat >>confdefs.h
<<_ACEOF
35096 #define __WXGPE__ $WXGPE
35103 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35108 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35109 wxUSE_DEBUG_INFO
=yes
35113 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35114 cat >>confdefs.h
<<\_ACEOF
35118 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35120 if test "$wxUSE_GTK" = 1 ; then
35121 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35125 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35126 cat >>confdefs.h
<<\_ACEOF
35127 #define wxUSE_MEMORY_TRACING 1
35130 cat >>confdefs.h
<<\_ACEOF
35131 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35134 cat >>confdefs.h
<<\_ACEOF
35135 #define wxUSE_DEBUG_NEW_ALWAYS 1
35138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35141 if test "$wxUSE_DMALLOC" = "yes" ; then
35142 DMALLOC_LIBS
="-ldmalloc"
35146 if test "$wxUSE_PROFILE" = "yes" ; then
35151 CODE_GEN_FLAGS_CXX
=
35152 if test "$GCC" = "yes" ; then
35153 if test "$wxUSE_NO_RTTI" = "yes" ; then
35154 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35156 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35157 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35159 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35160 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35165 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35168 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35174 if test "$wxUSE_OPTIMISE" = "no" ; then
35175 if test "$GCC" = yes ; then
35179 if test "$GCC" = yes ; then
35183 i586
-*-*|i686
-*-* )
35184 OPTIMISE
="${OPTIMISE} "
35193 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35194 cat >>confdefs.h
<<\_ACEOF
35195 #define WXWIN_COMPATIBILITY_2_2 1
35199 WXWIN_COMPATIBILITY_2_4
="yes"
35202 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35203 cat >>confdefs.h
<<\_ACEOF
35204 #define WXWIN_COMPATIBILITY_2_4 1
35210 if test "$wxUSE_GUI" = "yes"; then
35211 cat >>confdefs.h
<<\_ACEOF
35212 #define wxUSE_GUI 1
35219 if test "$wxUSE_UNIX" = "yes"; then
35220 cat >>confdefs.h
<<\_ACEOF
35221 #define wxUSE_UNIX 1
35227 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35231 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35232 if test "$USE_DARWIN" = 1; then
35236 for ac_func
in dlopen
35238 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35239 echo "$as_me:$LINENO: checking for $ac_func" >&5
35240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35241 if eval "test \"\${$as_ac_var+set}\" = set"; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 cat >conftest.
$ac_ext <<_ACEOF
35247 cat confdefs.h
>>conftest.
$ac_ext
35248 cat >>conftest.
$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35252 #define $ac_func innocuous_$ac_func
35254 /* System header to define __stub macros and hopefully few prototypes,
35255 which can conflict with char $ac_func (); below.
35256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35257 <limits.h> exists even on freestanding compilers. */
35260 # include <limits.h>
35262 # include <assert.h>
35267 /* Override any gcc2 internal prototype to avoid an error. */
35272 /* We use char because int might match the return type of a gcc2
35273 builtin and then its argument prototype would still apply. */
35275 /* The GNU C library defines this for functions which it implements
35276 to always fail with ENOSYS. Some functions are actually named
35277 something starting with __ and the normal name is an alias. */
35278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35281 char (*f) () = $ac_func;
35290 return f != $ac_func;
35295 rm -f conftest.
$ac_objext conftest
$ac_exeext
35296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35297 (eval $ac_link) 2>conftest.er1
35299 grep -v '^ *+' conftest.er1
>conftest.err
35301 cat conftest.err
>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } &&
35304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; } &&
35310 { ac_try
='test -s conftest$ac_exeext'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; }; then
35316 eval "$as_ac_var=yes"
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.
$ac_ext >&5
35321 eval "$as_ac_var=no"
35323 rm -f conftest.err conftest.
$ac_objext \
35324 conftest
$ac_exeext conftest.
$ac_ext
35326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35328 if test `eval echo '${'$as_ac_var'}'` = yes; then
35329 cat >>confdefs.h
<<_ACEOF
35330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35333 cat >>confdefs.h
<<\_ACEOF
35334 #define HAVE_DLOPEN 1
35341 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35342 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35343 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35344 echo $ECHO_N "(cached) $ECHO_C" >&6
35346 ac_check_lib_save_LIBS
=$LIBS
35348 cat >conftest.
$ac_ext <<_ACEOF
35351 cat confdefs.h
>>conftest.
$ac_ext
35352 cat >>conftest.
$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35355 /* Override any gcc2 internal prototype to avoid an error. */
35359 /* We use char because int might match the return type of a gcc2
35360 builtin and then its argument prototype would still apply. */
35370 rm -f conftest.
$ac_objext conftest
$ac_exeext
35371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35372 (eval $ac_link) 2>conftest.er1
35374 grep -v '^ *+' conftest.er1
>conftest.err
35376 cat conftest.err
>&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } &&
35379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35381 (eval $ac_try) 2>&5
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); }; } &&
35385 { ac_try
='test -s conftest$ac_exeext'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; }; then
35391 ac_cv_lib_dl_dlopen
=yes
35393 echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.
$ac_ext >&5
35396 ac_cv_lib_dl_dlopen
=no
35398 rm -f conftest.err conftest.
$ac_objext \
35399 conftest
$ac_exeext conftest.
$ac_ext
35400 LIBS
=$ac_check_lib_save_LIBS
35402 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35403 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35404 if test $ac_cv_lib_dl_dlopen = yes; then
35406 cat >>confdefs.h
<<\_ACEOF
35407 #define HAVE_DLOPEN 1
35411 DL_LINK
=" -ldl$DL_LINK"
35416 for ac_func
in shl_load
35418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35419 echo "$as_me:$LINENO: checking for $ac_func" >&5
35420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35421 if eval "test \"\${$as_ac_var+set}\" = set"; then
35422 echo $ECHO_N "(cached) $ECHO_C" >&6
35424 cat >conftest.
$ac_ext <<_ACEOF
35427 cat confdefs.h
>>conftest.
$ac_ext
35428 cat >>conftest.
$ac_ext <<_ACEOF
35429 /* end confdefs.h. */
35430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35432 #define $ac_func innocuous_$ac_func
35434 /* System header to define __stub macros and hopefully few prototypes,
35435 which can conflict with char $ac_func (); below.
35436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35437 <limits.h> exists even on freestanding compilers. */
35440 # include <limits.h>
35442 # include <assert.h>
35447 /* Override any gcc2 internal prototype to avoid an error. */
35452 /* We use char because int might match the return type of a gcc2
35453 builtin and then its argument prototype would still apply. */
35455 /* The GNU C library defines this for functions which it implements
35456 to always fail with ENOSYS. Some functions are actually named
35457 something starting with __ and the normal name is an alias. */
35458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35461 char (*f) () = $ac_func;
35470 return f != $ac_func;
35475 rm -f conftest.
$ac_objext conftest
$ac_exeext
35476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35477 (eval $ac_link) 2>conftest.er1
35479 grep -v '^ *+' conftest.er1
>conftest.err
35481 cat conftest.err
>&5
35482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483 (exit $ac_status); } &&
35484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35486 (eval $ac_try) 2>&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); }; } &&
35490 { ac_try
='test -s conftest$ac_exeext'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; }; then
35496 eval "$as_ac_var=yes"
35498 echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.
$ac_ext >&5
35501 eval "$as_ac_var=no"
35503 rm -f conftest.err conftest.
$ac_objext \
35504 conftest
$ac_exeext conftest.
$ac_ext
35506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35508 if test `eval echo '${'$as_ac_var'}'` = yes; then
35509 cat >>confdefs.h
<<_ACEOF
35510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35513 cat >>confdefs.h
<<\_ACEOF
35514 #define HAVE_SHL_LOAD 1
35521 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35522 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35523 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35524 echo $ECHO_N "(cached) $ECHO_C" >&6
35526 ac_check_lib_save_LIBS
=$LIBS
35527 LIBS
="-lshl_load $LIBS"
35528 cat >conftest.
$ac_ext <<_ACEOF
35531 cat confdefs.h
>>conftest.
$ac_ext
35532 cat >>conftest.
$ac_ext <<_ACEOF
35533 /* end confdefs.h. */
35535 /* Override any gcc2 internal prototype to avoid an error. */
35539 /* We use char because int might match the return type of a gcc2
35540 builtin and then its argument prototype would still apply. */
35550 rm -f conftest.
$ac_objext conftest
$ac_exeext
35551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35552 (eval $ac_link) 2>conftest.er1
35554 grep -v '^ *+' conftest.er1
>conftest.err
35556 cat conftest.err
>&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); } &&
35559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561 (eval $ac_try) 2>&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; } &&
35565 { ac_try
='test -s conftest$ac_exeext'
35566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567 (eval $ac_try) 2>&5
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); }; }; then
35571 ac_cv_lib_shl_load_dld
=yes
35573 echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.
$ac_ext >&5
35576 ac_cv_lib_shl_load_dld
=no
35578 rm -f conftest.err conftest.
$ac_objext \
35579 conftest
$ac_exeext conftest.
$ac_ext
35580 LIBS
=$ac_check_lib_save_LIBS
35582 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35583 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35584 if test $ac_cv_lib_shl_load_dld = yes; then
35587 DL_LINK
=" -ldld$DL_LINK"
35603 if test "$HAVE_DL_FUNCS" = 1; then
35605 for ac_func
in dlerror
35607 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35608 echo "$as_me:$LINENO: checking for $ac_func" >&5
35609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35610 if eval "test \"\${$as_ac_var+set}\" = set"; then
35611 echo $ECHO_N "(cached) $ECHO_C" >&6
35613 cat >conftest.
$ac_ext <<_ACEOF
35616 cat confdefs.h
>>conftest.
$ac_ext
35617 cat >>conftest.
$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35621 #define $ac_func innocuous_$ac_func
35623 /* System header to define __stub macros and hopefully few prototypes,
35624 which can conflict with char $ac_func (); below.
35625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35626 <limits.h> exists even on freestanding compilers. */
35629 # include <limits.h>
35631 # include <assert.h>
35636 /* Override any gcc2 internal prototype to avoid an error. */
35641 /* We use char because int might match the return type of a gcc2
35642 builtin and then its argument prototype would still apply. */
35644 /* The GNU C library defines this for functions which it implements
35645 to always fail with ENOSYS. Some functions are actually named
35646 something starting with __ and the normal name is an alias. */
35647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35650 char (*f) () = $ac_func;
35659 return f != $ac_func;
35664 rm -f conftest.
$ac_objext conftest
$ac_exeext
35665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35666 (eval $ac_link) 2>conftest.er1
35668 grep -v '^ *+' conftest.er1
>conftest.err
35670 cat conftest.err
>&5
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); } &&
35673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35675 (eval $ac_try) 2>&5
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); }; } &&
35679 { ac_try
='test -s conftest$ac_exeext'
35680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35681 (eval $ac_try) 2>&5
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); }; }; then
35685 eval "$as_ac_var=yes"
35687 echo "$as_me: failed program was:" >&5
35688 sed 's/^/| /' conftest.
$ac_ext >&5
35690 eval "$as_ac_var=no"
35692 rm -f conftest.err conftest.
$ac_objext \
35693 conftest
$ac_exeext conftest.
$ac_ext
35695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35697 if test `eval echo '${'$as_ac_var'}'` = yes; then
35698 cat >>confdefs.h
<<_ACEOF
35699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35701 cat >>confdefs.h
<<\_ACEOF
35702 #define HAVE_DLERROR 1
35707 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35708 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35709 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35710 echo $ECHO_N "(cached) $ECHO_C" >&6
35712 ac_check_lib_save_LIBS
=$LIBS
35714 cat >conftest.
$ac_ext <<_ACEOF
35717 cat confdefs.h
>>conftest.
$ac_ext
35718 cat >>conftest.
$ac_ext <<_ACEOF
35719 /* end confdefs.h. */
35721 /* Override any gcc2 internal prototype to avoid an error. */
35725 /* We use char because int might match the return type of a gcc2
35726 builtin and then its argument prototype would still apply. */
35736 rm -f conftest.
$ac_objext conftest
$ac_exeext
35737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35738 (eval $ac_link) 2>conftest.er1
35740 grep -v '^ *+' conftest.er1
>conftest.err
35742 cat conftest.err
>&5
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); } &&
35745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35747 (eval $ac_try) 2>&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); }; } &&
35751 { ac_try
='test -s conftest$ac_exeext'
35752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753 (eval $ac_try) 2>&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); }; }; then
35757 ac_cv_lib_dl_dlerror
=yes
35759 echo "$as_me: failed program was:" >&5
35760 sed 's/^/| /' conftest.
$ac_ext >&5
35762 ac_cv_lib_dl_dlerror
=no
35764 rm -f conftest.err conftest.
$ac_objext \
35765 conftest
$ac_exeext conftest.
$ac_ext
35766 LIBS
=$ac_check_lib_save_LIBS
35768 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35769 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35770 if test $ac_cv_lib_dl_dlerror = yes; then
35771 cat >>confdefs.h
<<\_ACEOF
35772 #define HAVE_DLERROR 1
35785 if test "$HAVE_DL_FUNCS" = 0; then
35786 if test "$HAVE_SHL_FUNCS" = 0; then
35787 if test "$USE_UNIX" = 1; then
35788 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35789 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35790 wxUSE_DYNAMIC_LOADER
=no
35791 wxUSE_DYNLIB_CLASS
=no
35793 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35794 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35801 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35802 cat >>confdefs.h
<<\_ACEOF
35803 #define wxUSE_DYNAMIC_LOADER 1
35807 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35808 cat >>confdefs.h
<<\_ACEOF
35809 #define wxUSE_DYNLIB_CLASS 1
35816 if test "$wxUSE_PLUGINS" = "yes" ; then
35817 if test "$wxUSE_SHARED" = "no" ; then
35818 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35819 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35822 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35823 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35824 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35827 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35828 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35829 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35832 if test "$wxUSE_PLUGINS" = "yes" ; then
35833 cat >>confdefs.h
<<\_ACEOF
35834 #define wxUSE_PLUGINS 1
35841 if test "$wxUSE_STL" = "yes"; then
35842 cat >>confdefs.h
<<\_ACEOF
35843 #define wxUSE_STL 1
35848 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35849 cat >>confdefs.h
<<\_ACEOF
35850 #define wxUSE_APPLE_IEEE 1
35855 if test "$wxUSE_TIMER" = "yes"; then
35856 cat >>confdefs.h
<<\_ACEOF
35857 #define wxUSE_TIMER 1
35863 if test "$wxUSE_SOUND" = "yes"; then
35864 if test "$USE_UNIX" = "1" ; then
35866 for ac_header
in sys
/soundcard.h
35868 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35870 echo "$as_me:$LINENO: checking for $ac_header" >&5
35871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35873 echo $ECHO_N "(cached) $ECHO_C" >&6
35875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35878 # Is the header compilable?
35879 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35881 cat >conftest.
$ac_ext <<_ACEOF
35884 cat confdefs.h
>>conftest.
$ac_ext
35885 cat >>conftest.
$ac_ext <<_ACEOF
35886 /* end confdefs.h. */
35887 $ac_includes_default
35888 #include <$ac_header>
35890 rm -f conftest.
$ac_objext
35891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35892 (eval $ac_compile) 2>conftest.er1
35894 grep -v '^ *+' conftest.er1
>conftest.err
35896 cat conftest.err
>&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); } &&
35899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; } &&
35905 { ac_try
='test -s conftest.$ac_objext'
35906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907 (eval $ac_try) 2>&5
35909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910 (exit $ac_status); }; }; then
35911 ac_header_compiler
=yes
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.
$ac_ext >&5
35916 ac_header_compiler
=no
35918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35920 echo "${ECHO_T}$ac_header_compiler" >&6
35922 # Is the header present?
35923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35925 cat >conftest.
$ac_ext <<_ACEOF
35928 cat confdefs.h
>>conftest.
$ac_ext
35929 cat >>conftest.
$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35931 #include <$ac_header>
35933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35936 grep -v '^ *+' conftest.er1
>conftest.err
35938 cat conftest.err
>&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } >/dev
/null
; then
35941 if test -s conftest.err
; then
35942 ac_cpp_err
=$ac_c_preproc_warn_flag
35943 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35950 if test -z "$ac_cpp_err"; then
35951 ac_header_preproc
=yes
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.
$ac_ext >&5
35956 ac_header_preproc
=no
35958 rm -f conftest.err conftest.
$ac_ext
35959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35960 echo "${ECHO_T}$ac_header_preproc" >&6
35962 # So? What about this header?
35963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35969 ac_header_preproc
=yes
35972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35986 ## ----------------------------------------- ##
35987 ## Report this to wx-dev@lists.wxwidgets.org ##
35988 ## ----------------------------------------- ##
35991 sed "s/^/$as_me: WARNING: /" >&2
35994 echo "$as_me:$LINENO: checking for $ac_header" >&5
35995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 eval "$as_ac_Header=\$ac_header_preproc"
36001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36006 cat >>confdefs.h
<<_ACEOF
36007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36015 if test "$wxUSE_LIBSDL" != "no"; then
36017 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36018 if test "${with_sdl_prefix+set}" = set; then
36019 withval
="$with_sdl_prefix"
36020 sdl_prefix
="$withval"
36025 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36026 if test "${with_sdl_exec_prefix+set}" = set; then
36027 withval
="$with_sdl_exec_prefix"
36028 sdl_exec_prefix
="$withval"
36032 # Check whether --enable-sdltest or --disable-sdltest was given.
36033 if test "${enable_sdltest+set}" = set; then
36034 enableval
="$enable_sdltest"
36040 if test x
$sdl_exec_prefix != x
; then
36041 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36042 if test x
${SDL_CONFIG+set} != xset
; then
36043 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36046 if test x
$sdl_prefix != x
; then
36047 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36048 if test x
${SDL_CONFIG+set} != xset
; then
36049 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36054 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36055 # Extract the first word of "sdl-config", so it can be a program name with args.
36056 set dummy sdl
-config; ac_word
=$2
36057 echo "$as_me:$LINENO: checking for $ac_word" >&5
36058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36059 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36060 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 case $SDL_CONFIG in
36064 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36068 for as_dir
in $PATH
36071 test -z "$as_dir" && as_dir
=.
36072 for ac_exec_ext
in '' $ac_executable_extensions; do
36073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36074 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36081 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36085 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36087 if test -n "$SDL_CONFIG"; then
36088 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36089 echo "${ECHO_T}$SDL_CONFIG" >&6
36091 echo "$as_me:$LINENO: result: no" >&5
36092 echo "${ECHO_T}no" >&6
36095 min_sdl_version
=1.2.0
36096 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36097 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36099 if test "$SDL_CONFIG" = "no" ; then
36102 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36103 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36105 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36106 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36107 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36108 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36109 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36110 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36111 if test "x$enable_sdltest" = "xyes" ; then
36112 ac_save_CFLAGS
="$CFLAGS"
36113 ac_save_CXXFLAGS
="$CXXFLAGS"
36114 ac_save_LIBS
="$LIBS"
36115 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36116 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36117 LIBS
="$LIBS $SDL_LIBS"
36119 if test "$cross_compiling" = yes; then
36120 echo $ac_n "cross compiling; assumed OK... $ac_c"
36122 cat >conftest.
$ac_ext <<_ACEOF
36125 cat confdefs.h
>>conftest.
$ac_ext
36126 cat >>conftest.
$ac_ext <<_ACEOF
36127 /* end confdefs.h. */
36130 #include <stdlib.h>
36131 #include <string.h>
36135 my_strdup (char *str)
36141 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36142 strcpy (new_str, str);
36150 int main (int argc, char *argv[])
36152 int major, minor, micro;
36155 /* This hangs on some systems (?)
36156 system ("touch conf.sdltest");
36158 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36160 /* HP/UX 9 (%@#!) writes to sscanf strings */
36161 tmp_version = my_strdup("$min_sdl_version");
36162 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36163 printf("%s, bad version string\n", "$min_sdl_version");
36167 if (($sdl_major_version > major) ||
36168 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36169 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36175 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36176 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36177 printf("*** best to upgrade to the required version.\n");
36178 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36179 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36180 printf("*** config.cache before re-running configure\n");
36187 rm -f conftest
$ac_exeext
36188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36189 (eval $ac_link) 2>&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36194 (eval $ac_try) 2>&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); }; }; then
36200 echo "$as_me: program exited with status $ac_status" >&5
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.
$ac_ext >&5
36204 ( exit $ac_status )
36207 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36209 CFLAGS
="$ac_save_CFLAGS"
36210 CXXFLAGS
="$ac_save_CXXFLAGS"
36211 LIBS
="$ac_save_LIBS"
36214 if test "x$no_sdl" = x
; then
36215 echo "$as_me:$LINENO: result: yes" >&5
36216 echo "${ECHO_T}yes" >&6
36218 EXTRALIBS_SDL
="$SDL_LIBS"
36219 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36220 cat >>confdefs.h
<<\_ACEOF
36221 #define wxUSE_LIBSDL 1
36226 echo "$as_me:$LINENO: result: no" >&5
36227 echo "${ECHO_T}no" >&6
36228 if test "$SDL_CONFIG" = "no" ; then
36229 echo "*** The sdl-config script installed by SDL could not be found"
36230 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36231 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36232 echo "*** full path to sdl-config."
36234 if test -f conf.sdltest
; then
36237 echo "*** Could not run SDL test program, checking why..."
36238 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36239 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36240 LIBS
="$LIBS $SDL_LIBS"
36241 cat >conftest.
$ac_ext <<_ACEOF
36244 cat confdefs.h
>>conftest.
$ac_ext
36245 cat >>conftest.
$ac_ext <<_ACEOF
36246 /* end confdefs.h. */
36251 int main(int argc, char *argv[])
36254 #define main K_and_R_C_main
36264 rm -f conftest.
$ac_objext conftest
$ac_exeext
36265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36266 (eval $ac_link) 2>conftest.er1
36268 grep -v '^ *+' conftest.er1
>conftest.err
36270 cat conftest.err
>&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } &&
36273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36275 (eval $ac_try) 2>&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); }; } &&
36279 { ac_try
='test -s conftest$ac_exeext'
36280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36281 (eval $ac_try) 2>&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); }; }; then
36285 echo "*** The test program compiled, but did not run. This usually means"
36286 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36287 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36288 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36289 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36290 echo "*** is required on your system"
36292 echo "*** If you have an old version installed, it is best to remove it, although"
36293 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36295 echo "$as_me: failed program was:" >&5
36296 sed 's/^/| /' conftest.
$ac_ext >&5
36298 echo "*** The test program failed to compile or link. See the file config.log for the"
36299 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36300 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36301 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36303 rm -f conftest.err conftest.
$ac_objext \
36304 conftest
$ac_exeext conftest.
$ac_ext
36305 CFLAGS
="$ac_save_CFLAGS"
36306 CXXFLAGS
="$ac_save_CXXFLAGS"
36307 LIBS
="$ac_save_LIBS"
36318 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36324 cat >>confdefs.h
<<\_ACEOF
36325 #define wxUSE_SOUND 1
36328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36331 if test "$WXGTK20" = 1; then
36332 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36333 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36338 if test -z "$PKG_CONFIG"; then
36339 # Extract the first word of "pkg-config", so it can be a program name with args.
36340 set dummy pkg
-config; ac_word
=$2
36341 echo "$as_me:$LINENO: checking for $ac_word" >&5
36342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36343 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36344 echo $ECHO_N "(cached) $ECHO_C" >&6
36346 case $PKG_CONFIG in
36348 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36352 for as_dir
in $PATH
36355 test -z "$as_dir" && as_dir
=.
36356 for ac_exec_ext
in '' $ac_executable_extensions; do
36357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36358 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36365 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36369 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36371 if test -n "$PKG_CONFIG"; then
36372 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36373 echo "${ECHO_T}$PKG_CONFIG" >&6
36375 echo "$as_me:$LINENO: result: no" >&5
36376 echo "${ECHO_T}no" >&6
36381 if test "$PKG_CONFIG" = "no" ; then
36382 echo "*** The pkg-config script could not be found. Make sure it is"
36383 echo "*** in your path, or set the PKG_CONFIG environment variable"
36384 echo "*** to the full path to pkg-config."
36385 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36387 PKG_CONFIG_MIN_VERSION
=0.9.0
36388 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36389 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36390 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36392 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36393 echo "$as_me:$LINENO: result: yes" >&5
36394 echo "${ECHO_T}yes" >&6
36397 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36398 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36399 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36400 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36401 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36403 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36404 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36405 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36406 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36407 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36409 LIBGNOMEPRINTUI_CFLAGS
=""
36410 LIBGNOMEPRINTUI_LIBS
=""
36411 ## If we have a custom action on failure, don't print errors, but
36412 ## do set a variable so people can do so.
36413 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36420 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36421 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36425 if test $succeeded = yes; then
36427 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36428 cat >>confdefs.h
<<\_ACEOF
36429 #define wxUSE_LIBGNOMEPRINT 1
36435 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36436 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36437 wxUSE_LIBGNOMEPRINT
="no"
36447 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36448 cat >>confdefs.h
<<\_ACEOF
36449 #define wxUSE_CMDLINE_PARSER 1
36454 if test "$wxUSE_STOPWATCH" = "yes"; then
36455 cat >>confdefs.h
<<\_ACEOF
36456 #define wxUSE_STOPWATCH 1
36461 if test "$wxUSE_DATETIME" = "yes"; then
36462 cat >>confdefs.h
<<\_ACEOF
36463 #define wxUSE_DATETIME 1
36468 if test "$wxUSE_FILE" = "yes"; then
36469 cat >>confdefs.h
<<\_ACEOF
36470 #define wxUSE_FILE 1
36475 if test "$wxUSE_FFILE" = "yes"; then
36476 cat >>confdefs.h
<<\_ACEOF
36477 #define wxUSE_FFILE 1
36482 if test "$wxUSE_FILESYSTEM" = "yes"; then
36483 cat >>confdefs.h
<<\_ACEOF
36484 #define wxUSE_FILESYSTEM 1
36489 if test "$wxUSE_FS_ZIP" = "yes"; then
36490 cat >>confdefs.h
<<\_ACEOF
36491 #define wxUSE_FS_ZIP 1
36496 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36497 cat >>confdefs.h
<<\_ACEOF
36498 #define wxUSE_ARCHIVE_STREAMS 1
36503 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36504 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36505 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36506 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36507 elif test "$wxUSE_ZLIB" = "no"; then
36508 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36509 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36511 cat >>confdefs.h
<<\_ACEOF
36512 #define wxUSE_ZIPSTREAM 1
36518 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36519 cat >>confdefs.h
<<\_ACEOF
36520 #define wxUSE_ON_FATAL_EXCEPTION 1
36525 if test "$wxUSE_STACKWALKER" = "yes"; then
36526 cat >>confdefs.h
<<\_ACEOF
36527 #define wxUSE_STACKWALKER 1
36532 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36533 if test "$USE_OS2" = "1"; then
36534 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36535 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36536 wxUSE_DEBUGREPORT
=no
36538 cat >>confdefs.h
<<\_ACEOF
36539 #define wxUSE_DEBUGREPORT 1
36542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
36546 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36547 cat >>confdefs.h
<<\_ACEOF
36548 #define wxUSE_SNGLINST_CHECKER 1
36553 if test "$wxUSE_BUSYINFO" = "yes"; then
36554 cat >>confdefs.h
<<\_ACEOF
36555 #define wxUSE_BUSYINFO 1
36560 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36561 cat >>confdefs.h
<<\_ACEOF
36562 #define wxUSE_STD_IOSTREAM 1
36567 if test "$wxUSE_STD_STRING" = "yes"; then
36568 cat >>confdefs.h
<<\_ACEOF
36569 #define wxUSE_STD_STRING 1
36574 if test "$wxUSE_STDPATHS" = "yes"; then
36575 cat >>confdefs.h
<<\_ACEOF
36576 #define wxUSE_STDPATHS 1
36581 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36582 cat >>confdefs.h
<<\_ACEOF
36583 #define wxUSE_TEXTBUFFER 1
36588 if test "$wxUSE_TEXTFILE" = "yes"; then
36589 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36590 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36591 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36593 cat >>confdefs.h
<<\_ACEOF
36594 #define wxUSE_TEXTFILE 1
36600 if test "$wxUSE_CONFIG" = "yes" ; then
36601 if test "$wxUSE_TEXTFILE" != "yes"; then
36602 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36603 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36605 cat >>confdefs.h
<<\_ACEOF
36606 #define wxUSE_CONFIG 1
36609 cat >>confdefs.h
<<\_ACEOF
36610 #define wxUSE_CONFIG_NATIVE 1
36613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36617 if test "$wxUSE_INTL" = "yes" ; then
36618 if test "$wxUSE_FILE" != "yes"; then
36619 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36620 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36622 cat >>confdefs.h
<<\_ACEOF
36623 #define wxUSE_INTL 1
36626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36627 GUIDIST
="$GUIDIST INTL_DIST"
36631 if test "$wxUSE_LOG" = "yes"; then
36632 cat >>confdefs.h
<<\_ACEOF
36633 #define wxUSE_LOG 1
36637 if test "$wxUSE_LOGGUI" = "yes"; then
36638 cat >>confdefs.h
<<\_ACEOF
36639 #define wxUSE_LOGGUI 1
36644 if test "$wxUSE_LOGWINDOW" = "yes"; then
36645 cat >>confdefs.h
<<\_ACEOF
36646 #define wxUSE_LOGWINDOW 1
36651 if test "$wxUSE_LOGDIALOG" = "yes"; then
36652 cat >>confdefs.h
<<\_ACEOF
36653 #define wxUSE_LOG_DIALOG 1
36658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36661 if test "$wxUSE_LONGLONG" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_LONGLONG 1
36668 if test "$wxUSE_GEOMETRY" = "yes"; then
36669 cat >>confdefs.h
<<\_ACEOF
36670 #define wxUSE_GEOMETRY 1
36675 if test "$wxUSE_STREAMS" = "yes" ; then
36676 cat >>confdefs.h
<<\_ACEOF
36677 #define wxUSE_STREAMS 1
36683 if test "$wxUSE_DATETIME" = "yes"; then
36685 for ac_func
in strptime
36687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36688 echo "$as_me:$LINENO: checking for $ac_func" >&5
36689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36690 if eval "test \"\${$as_ac_var+set}\" = set"; then
36691 echo $ECHO_N "(cached) $ECHO_C" >&6
36693 cat >conftest.
$ac_ext <<_ACEOF
36696 cat confdefs.h
>>conftest.
$ac_ext
36697 cat >>conftest.
$ac_ext <<_ACEOF
36698 /* end confdefs.h. */
36699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36701 #define $ac_func innocuous_$ac_func
36703 /* System header to define __stub macros and hopefully few prototypes,
36704 which can conflict with char $ac_func (); below.
36705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36706 <limits.h> exists even on freestanding compilers. */
36709 # include <limits.h>
36711 # include <assert.h>
36716 /* Override any gcc2 internal prototype to avoid an error. */
36721 /* We use char because int might match the return type of a gcc2
36722 builtin and then its argument prototype would still apply. */
36724 /* The GNU C library defines this for functions which it implements
36725 to always fail with ENOSYS. Some functions are actually named
36726 something starting with __ and the normal name is an alias. */
36727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36730 char (*f) () = $ac_func;
36739 return f != $ac_func;
36744 rm -f conftest.
$ac_objext conftest
$ac_exeext
36745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36746 (eval $ac_link) 2>conftest.er1
36748 grep -v '^ *+' conftest.er1
>conftest.err
36750 cat conftest.err
>&5
36751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36752 (exit $ac_status); } &&
36753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36755 (eval $ac_try) 2>&5
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); }; } &&
36759 { ac_try
='test -s conftest$ac_exeext'
36760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36761 (eval $ac_try) 2>&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); }; }; then
36765 eval "$as_ac_var=yes"
36767 echo "$as_me: failed program was:" >&5
36768 sed 's/^/| /' conftest.
$ac_ext >&5
36770 eval "$as_ac_var=no"
36772 rm -f conftest.err conftest.
$ac_objext \
36773 conftest
$ac_exeext conftest.
$ac_ext
36775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36777 if test `eval echo '${'$as_ac_var'}'` = yes; then
36778 cat >>confdefs.h
<<_ACEOF
36779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36786 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36787 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36788 if test "${wx_cv_var_timezone+set}" = set; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36792 cat >conftest.
$ac_ext <<_ACEOF
36795 cat confdefs.h
>>conftest.
$ac_ext
36796 cat >>conftest.
$ac_ext <<_ACEOF
36797 /* end confdefs.h. */
36812 rm -f conftest.
$ac_objext
36813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36814 (eval $ac_compile) 2>conftest.er1
36816 grep -v '^ *+' conftest.er1
>conftest.err
36818 cat conftest.err
>&5
36819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820 (exit $ac_status); } &&
36821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36823 (eval $ac_try) 2>&5
36825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36826 (exit $ac_status); }; } &&
36827 { ac_try
='test -s conftest.$ac_objext'
36828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36829 (eval $ac_try) 2>&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); }; }; then
36834 wx_cv_var_timezone
=timezone
36837 echo "$as_me: failed program was:" >&5
36838 sed 's/^/| /' conftest.
$ac_ext >&5
36841 cat >conftest.
$ac_ext <<_ACEOF
36844 cat confdefs.h
>>conftest.
$ac_ext
36845 cat >>conftest.
$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36861 rm -f conftest.
$ac_objext
36862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36863 (eval $ac_compile) 2>conftest.er1
36865 grep -v '^ *+' conftest.er1
>conftest.err
36867 cat conftest.err
>&5
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); } &&
36870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36872 (eval $ac_try) 2>&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); }; } &&
36876 { ac_try
='test -s conftest.$ac_objext'
36877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36878 (eval $ac_try) 2>&5
36880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36881 (exit $ac_status); }; }; then
36883 wx_cv_var_timezone
=_timezone
36886 echo "$as_me: failed program was:" >&5
36887 sed 's/^/| /' conftest.
$ac_ext >&5
36890 cat >conftest.
$ac_ext <<_ACEOF
36893 cat confdefs.h
>>conftest.
$ac_ext
36894 cat >>conftest.
$ac_ext <<_ACEOF
36895 /* end confdefs.h. */
36910 rm -f conftest.
$ac_objext
36911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36912 (eval $ac_compile) 2>conftest.er1
36914 grep -v '^ *+' conftest.er1
>conftest.err
36916 cat conftest.err
>&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); } &&
36919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36921 (eval $ac_try) 2>&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); }; } &&
36925 { ac_try
='test -s conftest.$ac_objext'
36926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36927 (eval $ac_try) 2>&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); }; }; then
36932 wx_cv_var_timezone
=__timezone
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.
$ac_ext >&5
36939 if test "$USE_DOS" = 0 ; then
36940 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36941 echo "$as_me: WARNING: no timezone variable" >&2;}
36946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36958 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36959 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36961 if test "x$wx_cv_var_timezone" != x
; then
36962 cat >>confdefs.h
<<_ACEOF
36963 #define WX_TIMEZONE $wx_cv_var_timezone
36969 for ac_func
in localtime
36971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36972 echo "$as_me:$LINENO: checking for $ac_func" >&5
36973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36974 if eval "test \"\${$as_ac_var+set}\" = set"; then
36975 echo $ECHO_N "(cached) $ECHO_C" >&6
36977 cat >conftest.
$ac_ext <<_ACEOF
36980 cat confdefs.h
>>conftest.
$ac_ext
36981 cat >>conftest.
$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36985 #define $ac_func innocuous_$ac_func
36987 /* System header to define __stub macros and hopefully few prototypes,
36988 which can conflict with char $ac_func (); below.
36989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36990 <limits.h> exists even on freestanding compilers. */
36993 # include <limits.h>
36995 # include <assert.h>
37000 /* Override any gcc2 internal prototype to avoid an error. */
37005 /* We use char because int might match the return type of a gcc2
37006 builtin and then its argument prototype would still apply. */
37008 /* The GNU C library defines this for functions which it implements
37009 to always fail with ENOSYS. Some functions are actually named
37010 something starting with __ and the normal name is an alias. */
37011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37014 char (*f) () = $ac_func;
37023 return f != $ac_func;
37028 rm -f conftest.
$ac_objext conftest
$ac_exeext
37029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37030 (eval $ac_link) 2>conftest.er1
37032 grep -v '^ *+' conftest.er1
>conftest.err
37034 cat conftest.err
>&5
37035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37036 (exit $ac_status); } &&
37037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37039 (eval $ac_try) 2>&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); }; } &&
37043 { ac_try
='test -s conftest$ac_exeext'
37044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37045 (eval $ac_try) 2>&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); }; }; then
37049 eval "$as_ac_var=yes"
37051 echo "$as_me: failed program was:" >&5
37052 sed 's/^/| /' conftest.
$ac_ext >&5
37054 eval "$as_ac_var=no"
37056 rm -f conftest.err conftest.
$ac_objext \
37057 conftest
$ac_exeext conftest.
$ac_ext
37059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37061 if test `eval echo '${'$as_ac_var'}'` = yes; then
37062 cat >>confdefs.h
<<_ACEOF
37063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37070 if test "$ac_cv_func_localtime" = "yes"; then
37071 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37072 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37073 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37077 cat >conftest.
$ac_ext <<_ACEOF
37080 cat confdefs.h
>>conftest.
$ac_ext
37081 cat >>conftest.
$ac_ext <<_ACEOF
37082 /* end confdefs.h. */
37097 rm -f conftest.
$ac_objext
37098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37099 (eval $ac_compile) 2>conftest.er1
37101 grep -v '^ *+' conftest.er1
>conftest.err
37103 cat conftest.err
>&5
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); } &&
37106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; } &&
37112 { ac_try
='test -s conftest.$ac_objext'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; }; then
37119 wx_cv_struct_tm_has_gmtoff
=yes
37122 echo "$as_me: failed program was:" >&5
37123 sed 's/^/| /' conftest.
$ac_ext >&5
37125 wx_cv_struct_tm_has_gmtoff
=no
37128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37131 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37132 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37135 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37136 cat >>confdefs.h
<<\_ACEOF
37137 #define WX_GMTOFF_IN_TM 1
37144 for ac_func
in gettimeofday ftime
37146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37147 echo "$as_me:$LINENO: checking for $ac_func" >&5
37148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37149 if eval "test \"\${$as_ac_var+set}\" = set"; then
37150 echo $ECHO_N "(cached) $ECHO_C" >&6
37152 cat >conftest.
$ac_ext <<_ACEOF
37155 cat confdefs.h
>>conftest.
$ac_ext
37156 cat >>conftest.
$ac_ext <<_ACEOF
37157 /* end confdefs.h. */
37158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37160 #define $ac_func innocuous_$ac_func
37162 /* System header to define __stub macros and hopefully few prototypes,
37163 which can conflict with char $ac_func (); below.
37164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37165 <limits.h> exists even on freestanding compilers. */
37168 # include <limits.h>
37170 # include <assert.h>
37175 /* Override any gcc2 internal prototype to avoid an error. */
37180 /* We use char because int might match the return type of a gcc2
37181 builtin and then its argument prototype would still apply. */
37183 /* The GNU C library defines this for functions which it implements
37184 to always fail with ENOSYS. Some functions are actually named
37185 something starting with __ and the normal name is an alias. */
37186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37189 char (*f) () = $ac_func;
37198 return f != $ac_func;
37203 rm -f conftest.
$ac_objext conftest
$ac_exeext
37204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37205 (eval $ac_link) 2>conftest.er1
37207 grep -v '^ *+' conftest.er1
>conftest.err
37209 cat conftest.err
>&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); } &&
37212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37214 (eval $ac_try) 2>&5
37216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37217 (exit $ac_status); }; } &&
37218 { ac_try
='test -s conftest$ac_exeext'
37219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37220 (eval $ac_try) 2>&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); }; }; then
37224 eval "$as_ac_var=yes"
37226 echo "$as_me: failed program was:" >&5
37227 sed 's/^/| /' conftest.
$ac_ext >&5
37229 eval "$as_ac_var=no"
37231 rm -f conftest.err conftest.
$ac_objext \
37232 conftest
$ac_exeext conftest.
$ac_ext
37234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37236 if test `eval echo '${'$as_ac_var'}'` = yes; then
37237 cat >>confdefs.h
<<_ACEOF
37238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37245 if test "$ac_cv_func_gettimeofday" = "yes"; then
37246 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37247 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37248 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 ac_cpp
='$CXXCPP $CPPFLAGS'
37256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37261 cat >conftest.
$ac_ext <<_ACEOF
37264 cat confdefs.h
>>conftest.
$ac_ext
37265 cat >>conftest.
$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37268 #include <sys/time.h>
37269 #include <unistd.h>
37276 gettimeofday(&tv, NULL);
37282 rm -f conftest.
$ac_objext
37283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37284 (eval $ac_compile) 2>conftest.er1
37286 grep -v '^ *+' conftest.er1
>conftest.err
37288 cat conftest.err
>&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); } &&
37291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37293 (eval $ac_try) 2>&5
37295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37296 (exit $ac_status); }; } &&
37297 { ac_try
='test -s conftest.$ac_objext'
37298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37299 (eval $ac_try) 2>&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); }; }; then
37303 wx_cv_func_gettimeofday_has_2_args
=yes
37305 echo "$as_me: failed program was:" >&5
37306 sed 's/^/| /' conftest.
$ac_ext >&5
37308 cat >conftest.
$ac_ext <<_ACEOF
37311 cat confdefs.h
>>conftest.
$ac_ext
37312 cat >>conftest.
$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37315 #include <sys/time.h>
37316 #include <unistd.h>
37329 rm -f conftest.
$ac_objext
37330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37331 (eval $ac_compile) 2>conftest.er1
37333 grep -v '^ *+' conftest.er1
>conftest.err
37335 cat conftest.err
>&5
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); } &&
37338 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
37344 { ac_try
='test -s conftest.$ac_objext'
37345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37346 (eval $ac_try) 2>&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); }; }; then
37350 wx_cv_func_gettimeofday_has_2_args
=no
37352 echo "$as_me: failed program was:" >&5
37353 sed 's/^/| /' conftest.
$ac_ext >&5
37356 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37357 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37358 wx_cv_func_gettimeofday_has_2_args
=unknown
37362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37367 ac_cpp
='$CPP $CPPFLAGS'
37368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37374 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37375 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37377 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37378 cat >>confdefs.h
<<\_ACEOF
37379 #define WX_GETTIMEOFDAY_NO_TZ 1
37385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37389 if test "$wxUSE_SOCKETS" = "yes"; then
37390 if test "$wxUSE_MGL" = "1"; then
37391 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37392 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37397 if test "$wxUSE_SOCKETS" = "yes"; then
37398 if test "$TOOLKIT" != "MSW"; then
37399 echo "$as_me:$LINENO: checking for socket" >&5
37400 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37401 if test "${ac_cv_func_socket+set}" = set; then
37402 echo $ECHO_N "(cached) $ECHO_C" >&6
37404 cat >conftest.
$ac_ext <<_ACEOF
37407 cat confdefs.h
>>conftest.
$ac_ext
37408 cat >>conftest.
$ac_ext <<_ACEOF
37409 /* end confdefs.h. */
37410 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37412 #define socket innocuous_socket
37414 /* System header to define __stub macros and hopefully few prototypes,
37415 which can conflict with char socket (); below.
37416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37417 <limits.h> exists even on freestanding compilers. */
37420 # include <limits.h>
37422 # include <assert.h>
37427 /* Override any gcc2 internal prototype to avoid an error. */
37432 /* We use char because int might match the return type of a gcc2
37433 builtin and then its argument prototype would still apply. */
37435 /* The GNU C library defines this for functions which it implements
37436 to always fail with ENOSYS. Some functions are actually named
37437 something starting with __ and the normal name is an alias. */
37438 #if defined (__stub_socket) || defined (__stub___socket)
37441 char (*f) () = socket;
37450 return f != socket;
37455 rm -f conftest.
$ac_objext conftest
$ac_exeext
37456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37457 (eval $ac_link) 2>conftest.er1
37459 grep -v '^ *+' conftest.er1
>conftest.err
37461 cat conftest.err
>&5
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); } &&
37464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37466 (eval $ac_try) 2>&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); }; } &&
37470 { ac_try
='test -s conftest$ac_exeext'
37471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37472 (eval $ac_try) 2>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); }; }; then
37476 ac_cv_func_socket
=yes
37478 echo "$as_me: failed program was:" >&5
37479 sed 's/^/| /' conftest.
$ac_ext >&5
37481 ac_cv_func_socket
=no
37483 rm -f conftest.err conftest.
$ac_objext \
37484 conftest
$ac_exeext conftest.
$ac_ext
37486 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37487 echo "${ECHO_T}$ac_cv_func_socket" >&6
37488 if test $ac_cv_func_socket = yes; then
37492 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37493 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37494 if test "${ac_cv_lib_socket_socket+set}" = set; then
37495 echo $ECHO_N "(cached) $ECHO_C" >&6
37497 ac_check_lib_save_LIBS
=$LIBS
37498 LIBS
="-lsocket $LIBS"
37499 cat >conftest.
$ac_ext <<_ACEOF
37502 cat confdefs.h
>>conftest.
$ac_ext
37503 cat >>conftest.
$ac_ext <<_ACEOF
37504 /* end confdefs.h. */
37506 /* Override any gcc2 internal prototype to avoid an error. */
37510 /* We use char because int might match the return type of a gcc2
37511 builtin and then its argument prototype would still apply. */
37521 rm -f conftest.
$ac_objext conftest
$ac_exeext
37522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37523 (eval $ac_link) 2>conftest.er1
37525 grep -v '^ *+' conftest.er1
>conftest.err
37527 cat conftest.err
>&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } &&
37530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; } &&
37536 { ac_try
='test -s conftest$ac_exeext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 ac_cv_lib_socket_socket
=yes
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.
$ac_ext >&5
37547 ac_cv_lib_socket_socket
=no
37549 rm -f conftest.err conftest.
$ac_objext \
37550 conftest
$ac_exeext conftest.
$ac_ext
37551 LIBS
=$ac_check_lib_save_LIBS
37553 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37554 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37555 if test $ac_cv_lib_socket_socket = yes; then
37556 if test "$INET_LINK" != " -lsocket"; then
37557 INET_LINK
="$INET_LINK -lsocket"
37561 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37562 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37575 if test "$wxUSE_SOCKETS" = "yes" ; then
37576 if test "$TOOLKIT" != "MSW"; then
37578 ac_cpp
='$CXXCPP $CPPFLAGS'
37579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37583 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37584 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37585 if test "${wx_cv_type_getsockname3+set}" = set; then
37586 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 cat >conftest.
$ac_ext <<_ACEOF
37592 cat confdefs.h
>>conftest.
$ac_ext
37593 cat >>conftest.
$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37596 #include <sys/types.h>
37597 #include <sys/socket.h>
37604 getsockname(0, 0, &len);
37610 rm -f conftest.
$ac_objext
37611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37612 (eval $ac_compile) 2>conftest.er1
37614 grep -v '^ *+' conftest.er1
>conftest.err
37616 cat conftest.err
>&5
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); } &&
37619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621 (eval $ac_try) 2>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); }; } &&
37625 { ac_try
='test -s conftest.$ac_objext'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; }; then
37631 wx_cv_type_getsockname3
=socklen_t
37633 echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.
$ac_ext >&5
37637 CFLAGS_OLD
="$CFLAGS"
37638 if test "$GCC" = yes ; then
37639 CFLAGS
="$CFLAGS -Werror"
37642 cat >conftest.
$ac_ext <<_ACEOF
37645 cat confdefs.h
>>conftest.
$ac_ext
37646 cat >>conftest.
$ac_ext <<_ACEOF
37647 /* end confdefs.h. */
37649 #include <sys/types.h>
37650 #include <sys/socket.h>
37657 getsockname(0, 0, &len);
37663 rm -f conftest.
$ac_objext
37664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37665 (eval $ac_compile) 2>conftest.er1
37667 grep -v '^ *+' conftest.er1
>conftest.err
37669 cat conftest.err
>&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } &&
37672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; } &&
37678 { ac_try
='test -s conftest.$ac_objext'
37679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37680 (eval $ac_try) 2>&5
37682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683 (exit $ac_status); }; }; then
37684 wx_cv_type_getsockname3
=size_t
37686 echo "$as_me: failed program was:" >&5
37687 sed 's/^/| /' conftest.
$ac_ext >&5
37689 cat >conftest.
$ac_ext <<_ACEOF
37692 cat confdefs.h
>>conftest.
$ac_ext
37693 cat >>conftest.
$ac_ext <<_ACEOF
37694 /* end confdefs.h. */
37696 #include <sys/types.h>
37697 #include <sys/socket.h>
37704 getsockname(0, 0, &len);
37710 rm -f conftest.
$ac_objext
37711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37712 (eval $ac_compile) 2>conftest.er1
37714 grep -v '^ *+' conftest.er1
>conftest.err
37716 cat conftest.err
>&5
37717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37718 (exit $ac_status); } &&
37719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37721 (eval $ac_try) 2>&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); }; } &&
37725 { ac_try
='test -s conftest.$ac_objext'
37726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37727 (eval $ac_try) 2>&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); }; }; then
37731 wx_cv_type_getsockname3
=int
37733 echo "$as_me: failed program was:" >&5
37734 sed 's/^/| /' conftest.
$ac_ext >&5
37736 wx_cv_type_getsockname3
=unknown
37739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37744 CFLAGS
="$CFLAGS_OLD"
37748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37751 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37752 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37754 if test "$wx_cv_type_getsockname3" = "unknown"; then
37756 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37757 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37759 cat >>confdefs.h
<<_ACEOF
37760 #define SOCKLEN_T $wx_cv_type_getsockname3
37764 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37765 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37766 if test "${wx_cv_type_getsockopt5+set}" = set; then
37767 echo $ECHO_N "(cached) $ECHO_C" >&6
37770 cat >conftest.
$ac_ext <<_ACEOF
37773 cat confdefs.h
>>conftest.
$ac_ext
37774 cat >>conftest.
$ac_ext <<_ACEOF
37775 /* end confdefs.h. */
37777 #include <sys/types.h>
37778 #include <sys/socket.h>
37785 getsockopt(0, 0, 0, 0, &len);
37791 rm -f conftest.
$ac_objext
37792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37793 (eval $ac_compile) 2>conftest.er1
37795 grep -v '^ *+' conftest.er1
>conftest.err
37797 cat conftest.err
>&5
37798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37799 (exit $ac_status); } &&
37800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37802 (eval $ac_try) 2>&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); }; } &&
37806 { ac_try
='test -s conftest.$ac_objext'
37807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37808 (eval $ac_try) 2>&5
37810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37811 (exit $ac_status); }; }; then
37812 wx_cv_type_getsockopt5
=socklen_t
37814 echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.
$ac_ext >&5
37818 CFLAGS_OLD
="$CFLAGS"
37819 if test "$GCC" = yes ; then
37820 CFLAGS
="$CFLAGS -Werror"
37823 cat >conftest.
$ac_ext <<_ACEOF
37826 cat confdefs.h
>>conftest.
$ac_ext
37827 cat >>conftest.
$ac_ext <<_ACEOF
37828 /* end confdefs.h. */
37830 #include <sys/types.h>
37831 #include <sys/socket.h>
37838 getsockopt(0, 0, 0, 0, &len);
37844 rm -f conftest.
$ac_objext
37845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37846 (eval $ac_compile) 2>conftest.er1
37848 grep -v '^ *+' conftest.er1
>conftest.err
37850 cat conftest.err
>&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } &&
37853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37855 (eval $ac_try) 2>&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); }; } &&
37859 { ac_try
='test -s conftest.$ac_objext'
37860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37861 (eval $ac_try) 2>&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); }; }; then
37865 wx_cv_type_getsockopt5
=size_t
37867 echo "$as_me: failed program was:" >&5
37868 sed 's/^/| /' conftest.
$ac_ext >&5
37870 cat >conftest.
$ac_ext <<_ACEOF
37873 cat confdefs.h
>>conftest.
$ac_ext
37874 cat >>conftest.
$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37877 #include <sys/types.h>
37878 #include <sys/socket.h>
37885 getsockopt(0, 0, 0, 0, &len);
37891 rm -f conftest.
$ac_objext
37892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37893 (eval $ac_compile) 2>conftest.er1
37895 grep -v '^ *+' conftest.er1
>conftest.err
37897 cat conftest.err
>&5
37898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899 (exit $ac_status); } &&
37900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37902 (eval $ac_try) 2>&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); }; } &&
37906 { ac_try
='test -s conftest.$ac_objext'
37907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37908 (eval $ac_try) 2>&5
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); }; }; then
37912 wx_cv_type_getsockopt5
=int
37914 echo "$as_me: failed program was:" >&5
37915 sed 's/^/| /' conftest.
$ac_ext >&5
37917 wx_cv_type_getsockopt5
=unknown
37920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37925 CFLAGS
="$CFLAGS_OLD"
37929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37932 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37933 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37935 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37937 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37938 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37940 cat >>confdefs.h
<<_ACEOF
37941 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37946 ac_cpp
='$CPP $CPPFLAGS'
37947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37954 if test "$wxUSE_SOCKETS" = "yes" ; then
37955 cat >>confdefs.h
<<\_ACEOF
37956 #define wxUSE_SOCKETS 1
37959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37962 if test "$wxUSE_PROTOCOL" = "yes"; then
37963 if test "$wxUSE_SOCKETS" != "yes"; then
37964 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37965 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37970 if test "$wxUSE_PROTOCOL" = "yes"; then
37971 cat >>confdefs.h
<<\_ACEOF
37972 #define wxUSE_PROTOCOL 1
37976 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37977 cat >>confdefs.h
<<\_ACEOF
37978 #define wxUSE_PROTOCOL_HTTP 1
37982 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37983 cat >>confdefs.h
<<\_ACEOF
37984 #define wxUSE_PROTOCOL_FTP 1
37988 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37989 cat >>confdefs.h
<<\_ACEOF
37990 #define wxUSE_PROTOCOL_FILE 1
37995 if test "$wxUSE_FS_INET" = "yes"; then
37996 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37997 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38002 if test "$wxUSE_URL" = "yes"; then
38003 if test "$wxUSE_PROTOCOL" != "yes"; then
38004 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38005 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38008 if test "$wxUSE_URL" = "yes"; then
38009 cat >>confdefs.h
<<\_ACEOF
38010 #define wxUSE_URL 1
38016 if test "$wxUSE_FS_INET" = "yes"; then
38017 cat >>confdefs.h
<<\_ACEOF
38018 #define wxUSE_FS_INET 1
38024 if test "$wxUSE_GUI" = "yes"; then
38025 if test "$wxUSE_JOYSTICK" = "yes"; then
38027 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38029 for ac_header
in linux
/joystick.h
38031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38033 echo "$as_me:$LINENO: checking for $ac_header" >&5
38034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38041 # Is the header compilable?
38042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38044 cat >conftest.
$ac_ext <<_ACEOF
38047 cat confdefs.h
>>conftest.
$ac_ext
38048 cat >>conftest.
$ac_ext <<_ACEOF
38049 /* end confdefs.h. */
38050 $ac_includes_default
38051 #include <$ac_header>
38053 rm -f conftest.
$ac_objext
38054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38055 (eval $ac_compile) 2>conftest.er1
38057 grep -v '^ *+' conftest.er1
>conftest.err
38059 cat conftest.err
>&5
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); } &&
38062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38064 (eval $ac_try) 2>&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); }; } &&
38068 { ac_try
='test -s conftest.$ac_objext'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; }; then
38074 ac_header_compiler
=yes
38076 echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.
$ac_ext >&5
38079 ac_header_compiler
=no
38081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38083 echo "${ECHO_T}$ac_header_compiler" >&6
38085 # Is the header present?
38086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38088 cat >conftest.
$ac_ext <<_ACEOF
38091 cat confdefs.h
>>conftest.
$ac_ext
38092 cat >>conftest.
$ac_ext <<_ACEOF
38093 /* end confdefs.h. */
38094 #include <$ac_header>
38096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38099 grep -v '^ *+' conftest.er1
>conftest.err
38101 cat conftest.err
>&5
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); } >/dev
/null
; then
38104 if test -s conftest.err
; then
38105 ac_cpp_err
=$ac_c_preproc_warn_flag
38106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38113 if test -z "$ac_cpp_err"; then
38114 ac_header_preproc
=yes
38116 echo "$as_me: failed program was:" >&5
38117 sed 's/^/| /' conftest.
$ac_ext >&5
38119 ac_header_preproc
=no
38121 rm -f conftest.err conftest.
$ac_ext
38122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38123 echo "${ECHO_T}$ac_header_preproc" >&6
38125 # So? What about this header?
38126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38132 ac_header_preproc
=yes
38135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38149 ## ----------------------------------------- ##
38150 ## Report this to wx-dev@lists.wxwidgets.org ##
38151 ## ----------------------------------------- ##
38154 sed "s/^/$as_me: WARNING: /" >&2
38157 echo "$as_me:$LINENO: checking for $ac_header" >&5
38158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38160 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 eval "$as_ac_Header=\$ac_header_preproc"
38164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38169 cat >>confdefs.h
<<_ACEOF
38170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38177 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38179 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38180 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38183 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38185 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38186 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38191 if test "$wxUSE_JOYSTICK" = "yes"; then
38192 cat >>confdefs.h
<<\_ACEOF
38193 #define wxUSE_JOYSTICK 1
38196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38203 if test "$wxUSE_FONTMAP" = "yes" ; then
38204 cat >>confdefs.h
<<\_ACEOF
38205 #define wxUSE_FONTMAP 1
38210 if test "$wxUSE_UNICODE" = "yes" ; then
38211 cat >>confdefs.h
<<\_ACEOF
38212 #define wxUSE_UNICODE 1
38216 if test "$USE_WIN32" != 1; then
38217 wxUSE_UNICODE_MSLU
=no
38220 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38221 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38222 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38223 if test "${ac_cv_lib_unicows_main+set}" = set; then
38224 echo $ECHO_N "(cached) $ECHO_C" >&6
38226 ac_check_lib_save_LIBS
=$LIBS
38227 LIBS
="-lunicows $LIBS"
38228 cat >conftest.
$ac_ext <<_ACEOF
38231 cat confdefs.h
>>conftest.
$ac_ext
38232 cat >>conftest.
$ac_ext <<_ACEOF
38233 /* end confdefs.h. */
38244 rm -f conftest.
$ac_objext conftest
$ac_exeext
38245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38246 (eval $ac_link) 2>conftest.er1
38248 grep -v '^ *+' conftest.er1
>conftest.err
38250 cat conftest.err
>&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } &&
38253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38255 (eval $ac_try) 2>&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); }; } &&
38259 { ac_try
='test -s conftest$ac_exeext'
38260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38261 (eval $ac_try) 2>&5
38263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38264 (exit $ac_status); }; }; then
38265 ac_cv_lib_unicows_main
=yes
38267 echo "$as_me: failed program was:" >&5
38268 sed 's/^/| /' conftest.
$ac_ext >&5
38270 ac_cv_lib_unicows_main
=no
38272 rm -f conftest.err conftest.
$ac_objext \
38273 conftest
$ac_exeext conftest.
$ac_ext
38274 LIBS
=$ac_check_lib_save_LIBS
38276 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38277 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38278 if test $ac_cv_lib_unicows_main = yes; then
38280 cat >>confdefs.h
<<\_ACEOF
38281 #define wxUSE_UNICODE_MSLU 1
38287 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38288 Applications will only run on Windows NT/2000/XP!" >&5
38289 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38290 Applications will only run on Windows NT/2000/XP!" >&2;}
38291 wxUSE_UNICODE_MSLU
=no
38298 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38299 cat >>confdefs.h
<<\_ACEOF
38300 #define wxUSE_EXPERIMENTAL_PRINTF 1
38306 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38307 cat >>confdefs.h
<<\_ACEOF
38308 #define wxUSE_POSTSCRIPT 1
38313 cat >>confdefs.h
<<\_ACEOF
38314 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38318 cat >>confdefs.h
<<\_ACEOF
38319 #define wxUSE_NORMALIZED_PS_FONTS 1
38324 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38325 cat >>confdefs.h
<<\_ACEOF
38326 #define wxUSE_CONSTRAINTS 1
38329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38332 if test "$wxUSE_MDI" = "yes"; then
38333 cat >>confdefs.h
<<\_ACEOF
38334 #define wxUSE_MDI 1
38338 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38339 cat >>confdefs.h
<<\_ACEOF
38340 #define wxUSE_MDI_ARCHITECTURE 1
38343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38347 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38348 cat >>confdefs.h
<<\_ACEOF
38349 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38353 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38358 if test "$wxUSE_HELP" = "yes"; then
38359 cat >>confdefs.h
<<\_ACEOF
38360 #define wxUSE_HELP 1
38363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38365 if test "$wxUSE_MSW" = 1; then
38366 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38367 cat >>confdefs.h
<<\_ACEOF
38368 #define wxUSE_MS_HTML_HELP 1
38374 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38375 if test "$wxUSE_HTML" = "yes"; then
38376 cat >>confdefs.h
<<\_ACEOF
38377 #define wxUSE_WXHTML_HELP 1
38381 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38382 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38383 wxUSE_WXHTML_HELP
=no
38388 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38389 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38390 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38391 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38393 cat >>confdefs.h
<<\_ACEOF
38394 #define wxUSE_PRINTING_ARCHITECTURE 1
38398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38401 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38402 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38403 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38404 { (exit 1); exit 1; }; }
38408 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38409 -o "$wxUSE_CLIPBOARD" = "yes" \
38410 -o "$wxUSE_OLE" = "yes" \
38411 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38413 for ac_header
in ole2.h
38415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38417 echo "$as_me:$LINENO: checking for $ac_header" >&5
38418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38425 # Is the header compilable?
38426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38428 cat >conftest.
$ac_ext <<_ACEOF
38431 cat confdefs.h
>>conftest.
$ac_ext
38432 cat >>conftest.
$ac_ext <<_ACEOF
38433 /* end confdefs.h. */
38434 $ac_includes_default
38435 #include <$ac_header>
38437 rm -f conftest.
$ac_objext
38438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38439 (eval $ac_compile) 2>conftest.er1
38441 grep -v '^ *+' conftest.er1
>conftest.err
38443 cat conftest.err
>&5
38444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445 (exit $ac_status); } &&
38446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38448 (eval $ac_try) 2>&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); }; } &&
38452 { ac_try
='test -s conftest.$ac_objext'
38453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38454 (eval $ac_try) 2>&5
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); }; }; then
38458 ac_header_compiler
=yes
38460 echo "$as_me: failed program was:" >&5
38461 sed 's/^/| /' conftest.
$ac_ext >&5
38463 ac_header_compiler
=no
38465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38467 echo "${ECHO_T}$ac_header_compiler" >&6
38469 # Is the header present?
38470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38472 cat >conftest.
$ac_ext <<_ACEOF
38475 cat confdefs.h
>>conftest.
$ac_ext
38476 cat >>conftest.
$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478 #include <$ac_header>
38480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38483 grep -v '^ *+' conftest.er1
>conftest.err
38485 cat conftest.err
>&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); } >/dev
/null
; then
38488 if test -s conftest.err
; then
38489 ac_cpp_err
=$ac_c_preproc_warn_flag
38490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38497 if test -z "$ac_cpp_err"; then
38498 ac_header_preproc
=yes
38500 echo "$as_me: failed program was:" >&5
38501 sed 's/^/| /' conftest.
$ac_ext >&5
38503 ac_header_preproc
=no
38505 rm -f conftest.err conftest.
$ac_ext
38506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38507 echo "${ECHO_T}$ac_header_preproc" >&6
38509 # So? What about this header?
38510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38516 ac_header_preproc
=yes
38519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38533 ## ----------------------------------------- ##
38534 ## Report this to wx-dev@lists.wxwidgets.org ##
38535 ## ----------------------------------------- ##
38538 sed "s/^/$as_me: WARNING: /" >&2
38541 echo "$as_me:$LINENO: checking for $ac_header" >&5
38542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38544 echo $ECHO_N "(cached) $ECHO_C" >&6
38546 eval "$as_ac_Header=\$ac_header_preproc"
38548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38553 cat >>confdefs.h
<<_ACEOF
38554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38562 if test "$ac_cv_header_ole2_h" = "yes" ; then
38563 if test "$GCC" = yes ; then
38567 ac_cpp
='$CXXCPP $CPPFLAGS'
38568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38573 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38574 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38575 cat >conftest.
$ac_ext <<_ACEOF
38578 cat confdefs.h
>>conftest.
$ac_ext
38579 cat >>conftest.
$ac_ext <<_ACEOF
38580 /* end confdefs.h. */
38581 #include <windows.h>
38591 rm -f conftest.
$ac_objext
38592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38593 (eval $ac_compile) 2>conftest.er1
38595 grep -v '^ *+' conftest.er1
>conftest.err
38597 cat conftest.err
>&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } &&
38600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38602 (eval $ac_try) 2>&5
38604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38605 (exit $ac_status); }; } &&
38606 { ac_try
='test -s conftest.$ac_objext'
38607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38608 (eval $ac_try) 2>&5
38610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611 (exit $ac_status); }; }; then
38612 echo "$as_me:$LINENO: result: no" >&5
38613 echo "${ECHO_T}no" >&6
38615 echo "$as_me: failed program was:" >&5
38616 sed 's/^/| /' conftest.
$ac_ext >&5
38618 echo "$as_me:$LINENO: result: yes" >&5
38619 echo "${ECHO_T}yes" >&6
38620 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38624 ac_cpp
='$CPP $CPPFLAGS'
38625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38629 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38630 if test "$wxUSE_OLE" = "yes" ; then
38631 cat >>confdefs.h
<<\_ACEOF
38632 #define wxUSE_OLE 1
38635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38639 if test "$wxUSE_DATAOBJ" = "yes" ; then
38640 cat >>confdefs.h
<<\_ACEOF
38641 #define wxUSE_DATAOBJ 1
38646 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38647 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38650 wxUSE_DRAG_AND_DROP
=no
38655 if test "$wxUSE_METAFILE" = "yes"; then
38656 cat >>confdefs.h
<<\_ACEOF
38657 #define wxUSE_METAFILE 1
38661 cat >>confdefs.h
<<\_ACEOF
38662 #define wxUSE_ENH_METAFILE 1
38668 if test "$wxUSE_IPC" = "yes"; then
38669 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38670 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38671 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38675 if test "$wxUSE_IPC" = "yes"; then
38676 cat >>confdefs.h
<<\_ACEOF
38677 #define wxUSE_IPC 1
38680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38684 if test "$wxUSE_CLIPBOARD" = "yes"; then
38685 if test "$wxUSE_MGL" = 1; then
38686 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38687 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38691 if test "$wxUSE_CLIPBOARD" = "yes"; then
38692 cat >>confdefs.h
<<\_ACEOF
38693 #define wxUSE_CLIPBOARD 1
38697 cat >>confdefs.h
<<\_ACEOF
38698 #define wxUSE_DATAOBJ 1
38704 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38705 if test "$wxUSE_GTK" = 1; then
38706 if test "$WXGTK12" != 1; then
38707 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38708 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38709 wxUSE_DRAG_AND_DROP
=no
38713 if test "$wxUSE_MOTIF" = 1; then
38714 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38715 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38716 wxUSE_DRAG_AND_DROP
=no
38719 if test "$wxUSE_X11" = 1; then
38720 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38721 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38722 wxUSE_DRAG_AND_DROP
=no
38725 if test "$wxUSE_MGL" = 1; then
38726 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38727 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38728 wxUSE_DRAG_AND_DROP
=no
38731 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38732 cat >>confdefs.h
<<\_ACEOF
38733 #define wxUSE_DRAG_AND_DROP 1
38740 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38744 if test "$wxUSE_SPLINES" = "yes" ; then
38745 cat >>confdefs.h
<<\_ACEOF
38746 #define wxUSE_SPLINES 1
38753 if test "$wxUSE_CONTROLS" = "yes"; then
38757 if test "$wxUSE_ACCEL" = "yes"; then
38758 cat >>confdefs.h
<<\_ACEOF
38759 #define wxUSE_ACCEL 1
38765 if test "$wxUSE_BUTTON" = "yes"; then
38766 cat >>confdefs.h
<<\_ACEOF
38767 #define wxUSE_BUTTON 1
38773 if test "$wxUSE_BMPBUTTON" = "yes"; then
38774 cat >>confdefs.h
<<\_ACEOF
38775 #define wxUSE_BMPBUTTON 1
38781 if test "$wxUSE_CALCTRL" = "yes"; then
38782 cat >>confdefs.h
<<\_ACEOF
38783 #define wxUSE_CALENDARCTRL 1
38787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38790 if test "$wxUSE_CARET" = "yes"; then
38791 cat >>confdefs.h
<<\_ACEOF
38792 #define wxUSE_CARET 1
38796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38799 if test "$wxUSE_COMBOBOX" = "yes"; then
38800 cat >>confdefs.h
<<\_ACEOF
38801 #define wxUSE_COMBOBOX 1
38807 if test "$wxUSE_CHOICE" = "yes"; then
38808 cat >>confdefs.h
<<\_ACEOF
38809 #define wxUSE_CHOICE 1
38815 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38816 cat >>confdefs.h
<<\_ACEOF
38817 #define wxUSE_CHOICEBOOK 1
38823 if test "$wxUSE_CHECKBOX" = "yes"; then
38824 cat >>confdefs.h
<<\_ACEOF
38825 #define wxUSE_CHECKBOX 1
38831 if test "$wxUSE_CHECKLST" = "yes"; then
38832 cat >>confdefs.h
<<\_ACEOF
38833 #define wxUSE_CHECKLISTBOX 1
38837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38840 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38841 cat >>confdefs.h
<<\_ACEOF
38842 #define wxUSE_DATEPICKCTRL 1
38848 if test "$wxUSE_DISPLAY" = "yes"; then
38849 cat >>confdefs.h
<<\_ACEOF
38850 #define wxUSE_DISPLAY 1
38853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
38856 if test "$wxUSE_GAUGE" = "yes"; then
38857 cat >>confdefs.h
<<\_ACEOF
38858 #define wxUSE_GAUGE 1
38864 if test "$wxUSE_GRID" = "yes"; then
38865 cat >>confdefs.h
<<\_ACEOF
38866 #define wxUSE_GRID 1
38870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
38873 if test "$wxUSE_IMAGLIST" = "yes"; then
38874 cat >>confdefs.h
<<\_ACEOF
38875 #define wxUSE_IMAGLIST 1
38880 if test "$wxUSE_LISTBOOK" = "yes"; then
38881 cat >>confdefs.h
<<\_ACEOF
38882 #define wxUSE_LISTBOOK 1
38888 if test "$wxUSE_LISTBOX" = "yes"; then
38889 cat >>confdefs.h
<<\_ACEOF
38890 #define wxUSE_LISTBOX 1
38894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
38897 if test "$wxUSE_LISTCTRL" = "yes"; then
38898 if test "$wxUSE_IMAGLIST" = "yes"; then
38899 cat >>confdefs.h
<<\_ACEOF
38900 #define wxUSE_LISTCTRL 1
38904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
38906 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38907 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38911 if test "$wxUSE_NOTEBOOK" = "yes"; then
38912 cat >>confdefs.h
<<\_ACEOF
38913 #define wxUSE_NOTEBOOK 1
38917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
38921 if test "$wxUSE_RADIOBOX" = "yes"; then
38922 cat >>confdefs.h
<<\_ACEOF
38923 #define wxUSE_RADIOBOX 1
38929 if test "$wxUSE_RADIOBTN" = "yes"; then
38930 cat >>confdefs.h
<<\_ACEOF
38931 #define wxUSE_RADIOBTN 1
38937 if test "$wxUSE_SASH" = "yes"; then
38938 cat >>confdefs.h
<<\_ACEOF
38939 #define wxUSE_SASH 1
38942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
38945 if test "$wxUSE_SCROLLBAR" = "yes"; then
38946 cat >>confdefs.h
<<\_ACEOF
38947 #define wxUSE_SCROLLBAR 1
38951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38954 if test "$wxUSE_SLIDER" = "yes"; then
38955 cat >>confdefs.h
<<\_ACEOF
38956 #define wxUSE_SLIDER 1
38962 if test "$wxUSE_SPINBTN" = "yes"; then
38963 cat >>confdefs.h
<<\_ACEOF
38964 #define wxUSE_SPINBTN 1
38970 if test "$wxUSE_SPINCTRL" = "yes"; then
38971 cat >>confdefs.h
<<\_ACEOF
38972 #define wxUSE_SPINCTRL 1
38978 if test "$wxUSE_SPLITTER" = "yes"; then
38979 cat >>confdefs.h
<<\_ACEOF
38980 #define wxUSE_SPLITTER 1
38983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38986 if test "$wxUSE_STATBMP" = "yes"; then
38987 cat >>confdefs.h
<<\_ACEOF
38988 #define wxUSE_STATBMP 1
38994 if test "$wxUSE_STATBOX" = "yes"; then
38995 cat >>confdefs.h
<<\_ACEOF
38996 #define wxUSE_STATBOX 1
39002 if test "$wxUSE_STATTEXT" = "yes"; then
39003 cat >>confdefs.h
<<\_ACEOF
39004 #define wxUSE_STATTEXT 1
39010 if test "$wxUSE_STATLINE" = "yes"; then
39011 cat >>confdefs.h
<<\_ACEOF
39012 #define wxUSE_STATLINE 1
39018 if test "$wxUSE_STATUSBAR" = "yes"; then
39019 cat >>confdefs.h
<<\_ACEOF
39020 #define wxUSE_NATIVE_STATUSBAR 1
39023 cat >>confdefs.h
<<\_ACEOF
39024 #define wxUSE_STATUSBAR 1
39029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39032 if test "$wxUSE_TABDIALOG" = "yes"; then
39033 cat >>confdefs.h
<<\_ACEOF
39034 #define wxUSE_TAB_DIALOG 1
39039 if test "$wxUSE_TEXTCTRL" = "yes"; then
39040 cat >>confdefs.h
<<\_ACEOF
39041 #define wxUSE_TEXTCTRL 1
39045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39048 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39049 if test "$wxUSE_COCOA" = 1 ; then
39050 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39051 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39054 if test "$wxUSE_PM" = 1; then
39055 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
39056 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
39060 if test "$wxUSE_UNIVERSAL" = "yes"; then
39061 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39062 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39066 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39067 cat >>confdefs.h
<<\_ACEOF
39068 #define wxUSE_TOGGLEBTN 1
39075 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39076 cat >>confdefs.h
<<\_ACEOF
39077 #define wxUSE_TOOLBAR_SIMPLE 1
39080 wxUSE_TOOLBAR
="yes"
39084 if test "$wxUSE_TOOLBAR" = "yes"; then
39085 cat >>confdefs.h
<<\_ACEOF
39086 #define wxUSE_TOOLBAR 1
39091 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39092 wxUSE_TOOLBAR_NATIVE
="yes"
39095 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39096 cat >>confdefs.h
<<\_ACEOF
39097 #define wxUSE_TOOLBAR_NATIVE 1
39103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39106 if test "$wxUSE_TOOLTIPS" = "yes"; then
39107 if test "$wxUSE_MOTIF" = 1; then
39108 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39109 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39111 if test "$wxUSE_UNIVERSAL" = "yes"; then
39112 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39113 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39115 cat >>confdefs.h
<<\_ACEOF
39116 #define wxUSE_TOOLTIPS 1
39123 if test "$wxUSE_TREECTRL" = "yes"; then
39124 if test "$wxUSE_IMAGLIST" = "yes"; then
39125 cat >>confdefs.h
<<\_ACEOF
39126 #define wxUSE_TREECTRL 1
39130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39132 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39133 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39137 if test "$wxUSE_POPUPWIN" = "yes"; then
39138 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39139 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39140 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39142 if test "$wxUSE_PM" = 1; then
39143 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39144 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39146 cat >>confdefs.h
<<\_ACEOF
39147 #define wxUSE_POPUPWIN 1
39150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39157 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39158 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39159 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39160 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39162 cat >>confdefs.h
<<\_ACEOF
39163 #define wxUSE_DIALUP_MANAGER 1
39166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39170 if test "$wxUSE_TIPWINDOW" = "yes"; then
39171 if test "$wxUSE_PM" = 1; then
39172 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39173 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39175 cat >>confdefs.h
<<\_ACEOF
39176 #define wxUSE_TIPWINDOW 1
39182 if test "$USES_CONTROLS" = 1; then
39183 cat >>confdefs.h
<<\_ACEOF
39184 #define wxUSE_CONTROLS 1
39190 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39191 cat >>confdefs.h
<<\_ACEOF
39192 #define wxUSE_ACCESSIBILITY 1
39195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39198 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39199 cat >>confdefs.h
<<\_ACEOF
39200 #define wxUSE_DRAGIMAGE 1
39203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39206 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39207 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39208 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39209 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39211 cat >>confdefs.h
<<\_ACEOF
39212 #define wxUSE_EXCEPTIONS 1
39215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39220 if test "$wxUSE_HTML" = "yes"; then
39221 cat >>confdefs.h
<<\_ACEOF
39222 #define wxUSE_HTML 1
39226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39227 if test "$wxUSE_MAC" = 1; then
39228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39231 if test "$wxUSE_WEBKIT" = "yes"; then
39232 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39233 old_CPPFLAGS
="$CPPFLAGS"
39234 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39235 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39236 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39237 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39238 echo $ECHO_N "(cached) $ECHO_C" >&6
39240 cat >conftest.
$ac_ext <<_ACEOF
39243 cat confdefs.h
>>conftest.
$ac_ext
39244 cat >>conftest.
$ac_ext <<_ACEOF
39245 /* end confdefs.h. */
39246 #include <Carbon/Carbon.h>
39248 #include <WebKit/HIWebView.h>
39250 rm -f conftest.
$ac_objext
39251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39252 (eval $ac_compile) 2>conftest.er1
39254 grep -v '^ *+' conftest.er1
>conftest.err
39256 cat conftest.err
>&5
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); } &&
39259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39261 (eval $ac_try) 2>&5
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); }; } &&
39265 { ac_try
='test -s conftest.$ac_objext'
39266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39267 (eval $ac_try) 2>&5
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); }; }; then
39271 ac_cv_header_WebKit_HIWebView_h
=yes
39273 echo "$as_me: failed program was:" >&5
39274 sed 's/^/| /' conftest.
$ac_ext >&5
39276 ac_cv_header_WebKit_HIWebView_h
=no
39278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39280 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39281 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39282 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39284 cat >>confdefs.h
<<\_ACEOF
39285 #define wxUSE_WEBKIT 1
39288 WEBKIT_LINK
="-framework WebKit"
39292 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39293 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39299 CPPFLAGS
="$old_CPPFLAGS"
39300 elif test "$wxUSE_COCOA" = 1; then
39301 cat >>confdefs.h
<<\_ACEOF
39302 #define wxUSE_WEBKIT 1
39311 if test "$wxUSE_XRC" = "yes"; then
39312 if test "$wxUSE_XML" != "yes"; then
39313 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39314 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39317 cat >>confdefs.h
<<\_ACEOF
39318 #define wxUSE_XRC 1
39322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39326 if test "$wxUSE_MENUS" = "yes"; then
39327 cat >>confdefs.h
<<\_ACEOF
39328 #define wxUSE_MENUS 1
39331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39334 if test "$wxUSE_METAFILE" = "yes"; then
39335 cat >>confdefs.h
<<\_ACEOF
39336 #define wxUSE_METAFILE 1
39341 if test "$wxUSE_MIMETYPE" = "yes"; then
39342 cat >>confdefs.h
<<\_ACEOF
39343 #define wxUSE_MIMETYPE 1
39348 if test "$wxUSE_MINIFRAME" = "yes"; then
39349 cat >>confdefs.h
<<\_ACEOF
39350 #define wxUSE_MINIFRAME 1
39353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39356 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39357 cat >>confdefs.h
<<\_ACEOF
39358 #define wxUSE_SYSTEM_OPTIONS 1
39361 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39362 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39368 if test "$wxUSE_VALIDATORS" = "yes"; then
39369 cat >>confdefs.h
<<\_ACEOF
39370 #define wxUSE_VALIDATORS 1
39373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39376 if test "$wxUSE_PALETTE" = "yes" ; then
39377 cat >>confdefs.h
<<\_ACEOF
39378 #define wxUSE_PALETTE 1
39383 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39384 LIBS
=" -lunicows $LIBS"
39388 if test "$wxUSE_IMAGE" = "yes" ; then
39389 cat >>confdefs.h
<<\_ACEOF
39390 #define wxUSE_IMAGE 1
39394 if test "$wxUSE_GIF" = "yes" ; then
39395 cat >>confdefs.h
<<\_ACEOF
39396 #define wxUSE_GIF 1
39401 if test "$wxUSE_PCX" = "yes" ; then
39402 cat >>confdefs.h
<<\_ACEOF
39403 #define wxUSE_PCX 1
39408 if test "$wxUSE_IFF" = "yes" ; then
39409 cat >>confdefs.h
<<\_ACEOF
39410 #define wxUSE_IFF 1
39415 if test "$wxUSE_PNM" = "yes" ; then
39416 cat >>confdefs.h
<<\_ACEOF
39417 #define wxUSE_PNM 1
39422 if test "$wxUSE_XPM" = "yes" ; then
39423 cat >>confdefs.h
<<\_ACEOF
39424 #define wxUSE_XPM 1
39429 if test "$wxUSE_ICO_CUR" = "yes" ; then
39430 cat >>confdefs.h
<<\_ACEOF
39431 #define wxUSE_ICO_CUR 1
39438 if test "$wxUSE_CHOICEDLG" = "yes"; then
39439 cat >>confdefs.h
<<\_ACEOF
39440 #define wxUSE_CHOICEDLG 1
39445 if test "$wxUSE_COLOURDLG" = "yes"; then
39446 cat >>confdefs.h
<<\_ACEOF
39447 #define wxUSE_COLOURDLG 1
39452 if test "$wxUSE_FILEDLG" = "yes"; then
39453 cat >>confdefs.h
<<\_ACEOF
39454 #define wxUSE_FILEDLG 1
39459 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39460 cat >>confdefs.h
<<\_ACEOF
39461 #define wxUSE_FINDREPLDLG 1
39466 if test "$wxUSE_FONTDLG" = "yes"; then
39467 cat >>confdefs.h
<<\_ACEOF
39468 #define wxUSE_FONTDLG 1
39473 if test "$wxUSE_DIRDLG" = "yes"; then
39474 if test "$wxUSE_TREECTRL" != "yes"; then
39475 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39476 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39478 cat >>confdefs.h
<<\_ACEOF
39479 #define wxUSE_DIRDLG 1
39485 if test "$wxUSE_MSGDLG" = "yes"; then
39486 cat >>confdefs.h
<<\_ACEOF
39487 #define wxUSE_MSGDLG 1
39492 if test "$wxUSE_NUMBERDLG" = "yes"; then
39493 cat >>confdefs.h
<<\_ACEOF
39494 #define wxUSE_NUMBERDLG 1
39499 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39500 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39501 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39502 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39504 cat >>confdefs.h
<<\_ACEOF
39505 #define wxUSE_PROGRESSDLG 1
39511 if test "$wxUSE_SPLASH" = "yes"; then
39512 cat >>confdefs.h
<<\_ACEOF
39513 #define wxUSE_SPLASH 1
39516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39519 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39520 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39521 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39522 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39524 cat >>confdefs.h
<<\_ACEOF
39525 #define wxUSE_STARTUP_TIPS 1
39531 if test "$wxUSE_TEXTDLG" = "yes"; then
39532 cat >>confdefs.h
<<\_ACEOF
39533 #define wxUSE_TEXTDLG 1
39538 if test "$wxUSE_WIZARDDLG" = "yes"; then
39539 cat >>confdefs.h
<<\_ACEOF
39540 #define wxUSE_WIZARDDLG 1
39543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39547 if test "$wxUSE_MEDIACTRL" = "yes"; then
39548 if test "$wxUSE_MSW" = 1; then
39549 wxUSE_DIRECTSHOW
="yes"
39551 for ac_header
in dshow.h
39553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39554 echo "$as_me:$LINENO: checking for $ac_header" >&5
39555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39559 cat >conftest.
$ac_ext <<_ACEOF
39562 cat confdefs.h
>>conftest.
$ac_ext
39563 cat >>conftest.
$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39565 #include <windows.h>
39567 #include <$ac_header>
39569 rm -f conftest.
$ac_objext
39570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39571 (eval $ac_compile) 2>conftest.er1
39573 grep -v '^ *+' conftest.er1
>conftest.err
39575 cat conftest.err
>&5
39576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39577 (exit $ac_status); } &&
39578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39580 (eval $ac_try) 2>&5
39582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583 (exit $ac_status); }; } &&
39584 { ac_try
='test -s conftest.$ac_objext'
39585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39586 (eval $ac_try) 2>&5
39588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39589 (exit $ac_status); }; }; then
39590 eval "$as_ac_Header=yes"
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.
$ac_ext >&5
39595 eval "$as_ac_Header=no"
39597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39602 cat >>confdefs.h
<<_ACEOF
39603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39608 wxUSE_DIRECTSHOW
="no"
39609 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39610 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39617 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39618 cat >>confdefs.h
<<\_ACEOF
39619 #define wxUSE_DIRECTSHOW 1
39622 LIBS
="$LIBS -lstrmiids"
39626 if test "$wxUSE_GTK" = 1; then
39627 wxUSE_GSTREAMER
="yes"
39632 if test -z "$PKG_CONFIG"; then
39633 # Extract the first word of "pkg-config", so it can be a program name with args.
39634 set dummy pkg
-config; ac_word
=$2
39635 echo "$as_me:$LINENO: checking for $ac_word" >&5
39636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39637 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39638 echo $ECHO_N "(cached) $ECHO_C" >&6
39640 case $PKG_CONFIG in
39642 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39646 for as_dir
in $PATH
39649 test -z "$as_dir" && as_dir
=.
39650 for ac_exec_ext
in '' $ac_executable_extensions; do
39651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39652 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39659 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39663 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39665 if test -n "$PKG_CONFIG"; then
39666 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39667 echo "${ECHO_T}$PKG_CONFIG" >&6
39669 echo "$as_me:$LINENO: result: no" >&5
39670 echo "${ECHO_T}no" >&6
39675 if test "$PKG_CONFIG" = "no" ; then
39676 echo "*** The pkg-config script could not be found. Make sure it is"
39677 echo "*** in your path, or set the PKG_CONFIG environment variable"
39678 echo "*** to the full path to pkg-config."
39679 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39681 PKG_CONFIG_MIN_VERSION
=0.9.0
39682 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39683 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39684 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39686 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39687 echo "$as_me:$LINENO: result: yes" >&5
39688 echo "${ECHO_T}yes" >&6
39691 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39692 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39693 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39694 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39695 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39697 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39698 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39699 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39700 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39701 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39703 GSTREAMER_CFLAGS
=""
39705 ## If we have a custom action on failure, don't print errors, but
39706 ## do set a variable so people can do so.
39707 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39714 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39715 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39719 if test $succeeded = yes; then
39721 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39722 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39726 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39727 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39728 wxUSE_GSTREAMER
="no"
39736 if test "x$GST_INSPECT" == "x"; then
39737 # Extract the first word of "gst-inspect", so it can be a program name with args.
39738 set dummy gst
-inspect; ac_word
=$2
39739 echo "$as_me:$LINENO: checking for $ac_word" >&5
39740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39741 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39744 if test -n "$GST_INSPECT"; then
39745 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39748 for as_dir
in $PATH
39751 test -z "$as_dir" && as_dir
=.
39752 for ac_exec_ext
in '' $ac_executable_extensions; do
39753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39754 ac_cv_prog_GST_INSPECT
="gst-inspect"
39755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39763 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39764 if test -n "$GST_INSPECT"; then
39765 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39766 echo "${ECHO_T}$GST_INSPECT" >&6
39768 echo "$as_me:$LINENO: result: no" >&5
39769 echo "${ECHO_T}no" >&6
39774 if test "x$GST_INSPECT" != "x"; then
39775 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39776 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39777 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39778 echo "$as_me:$LINENO: result: found." >&5
39779 echo "${ECHO_T}found." >&6
39782 echo "$as_me:$LINENO: result: not found." >&5
39783 echo "${ECHO_T}not found." >&6
39785 wxUSE_GSTREAMER
="no"
39786 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39787 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39793 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39794 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39795 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39796 echo $ECHO_N "(cached) $ECHO_C" >&6
39798 cat >conftest.
$ac_ext <<_ACEOF
39801 cat confdefs.h
>>conftest.
$ac_ext
39802 cat >>conftest.
$ac_ext <<_ACEOF
39803 /* end confdefs.h. */
39804 #include <gst/gst.h>
39806 #include <gst/xoverlay/xoverlay.h>
39808 rm -f conftest.
$ac_objext
39809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39810 (eval $ac_compile) 2>conftest.er1
39812 grep -v '^ *+' conftest.er1
>conftest.err
39814 cat conftest.err
>&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } &&
39817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39819 (eval $ac_try) 2>&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); }; } &&
39823 { ac_try
='test -s conftest.$ac_objext'
39824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39825 (eval $ac_try) 2>&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); }; }; then
39829 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39831 echo "$as_me: failed program was:" >&5
39832 sed 's/^/| /' conftest.
$ac_ext >&5
39834 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39838 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39839 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39840 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39844 wxUSE_GSTREAMER
="no"
39845 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39846 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39852 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39853 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39856 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39858 for ac_extension
in a so sl dylib
; do
39859 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39860 ac_find_libraries
=$ac_dir
39867 if test "$ac_find_libraries" = "" ; then
39868 echo "$as_me:$LINENO: result: no" >&5
39869 echo "${ECHO_T}no" >&6
39870 wxUSE_GSTREAMER
="no"
39872 echo "$as_me:$LINENO: result: yes" >&5
39873 echo "${ECHO_T}yes" >&6
39876 if test "$wxUSE_GSTREAMER" = "yes"; then
39877 cat >>confdefs.h
<<\_ACEOF
39878 #define wxUSE_GSTREAMER 1
39881 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39882 echo "${ECHO_T}GStreamer detection successful" >&6
39885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
39886 cat >>confdefs.h
<<\_ACEOF
39887 #define wxUSE_MEDIACTRL 1
39893 if test "$cross_compiling" = "yes"; then
39896 OSINFO
=`uname -s -r -m`
39897 OSINFO
="\"$OSINFO\""
39900 cat >>confdefs.h
<<_ACEOF
39901 #define WXWIN_OS_DESCRIPTION $OSINFO
39906 if test "x$prefix" != "xNONE"; then
39909 wxPREFIX
=$ac_default_prefix
39912 cat >>confdefs.h
<<_ACEOF
39913 #define wxINSTALL_PREFIX "$wxPREFIX"
39919 CORE_BASE_LIBS
="net base"
39920 CORE_GUI_LIBS
="adv core"
39922 if test "$wxUSE_XML" = "yes" ; then
39923 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
39925 if test "$wxUSE_ODBC" != "no" ; then
39926 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
39927 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
39929 if test "$wxUSE_HTML" = "yes" ; then
39930 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
39932 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
39933 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
39935 if test "$wxUSE_XRC" = "yes" ; then
39936 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
39939 if test "$wxUSE_GUI" != "yes"; then
39950 if test "$wxUSE_MAC" = 1 ; then
39951 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39952 if test "$USE_DARWIN" = 1; then
39953 LDFLAGS
="$LDFLAGS -framework QuickTime"
39955 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
39958 if test "$USE_DARWIN" = 1; then
39959 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39961 LDFLAGS
="$LDFLAGS -lCarbonLib"
39963 elif test "$USE_DARWIN" = 1; then
39964 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
39966 if test "$wxUSE_COCOA" = 1 ; then
39967 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
39968 if test "$wxUSE_MEDIACTRL" = "yes"; then
39969 LDFLAGS
="$LDFLAGS -framework QuickTime"
39974 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39982 echo "$as_me:$LINENO: checking for $ac_func" >&5
39983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39984 if eval "test \"\${$as_ac_var+set}\" = set"; then
39985 echo $ECHO_N "(cached) $ECHO_C" >&6
39987 cat >conftest.
$ac_ext <<_ACEOF
39990 cat confdefs.h
>>conftest.
$ac_ext
39991 cat >>conftest.
$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
39993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39995 #define $ac_func innocuous_$ac_func
39997 /* System header to define __stub macros and hopefully few prototypes,
39998 which can conflict with char $ac_func (); below.
39999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40000 <limits.h> exists even on freestanding compilers. */
40003 # include <limits.h>
40005 # include <assert.h>
40010 /* Override any gcc2 internal prototype to avoid an error. */
40015 /* We use char because int might match the return type of a gcc2
40016 builtin and then its argument prototype would still apply. */
40018 /* The GNU C library defines this for functions which it implements
40019 to always fail with ENOSYS. Some functions are actually named
40020 something starting with __ and the normal name is an alias. */
40021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40024 char (*f) () = $ac_func;
40033 return f != $ac_func;
40038 rm -f conftest.
$ac_objext conftest
$ac_exeext
40039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40040 (eval $ac_link) 2>conftest.er1
40042 grep -v '^ *+' conftest.er1
>conftest.err
40044 cat conftest.err
>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } &&
40047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40049 (eval $ac_try) 2>&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); }; } &&
40053 { ac_try
='test -s conftest$ac_exeext'
40054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40055 (eval $ac_try) 2>&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); }; }; then
40059 eval "$as_ac_var=yes"
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.
$ac_ext >&5
40064 eval "$as_ac_var=no"
40066 rm -f conftest.err conftest.
$ac_objext \
40067 conftest
$ac_exeext conftest.
$ac_ext
40069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40071 if test `eval echo '${'$as_ac_var'}'` = yes; then
40072 cat >>confdefs.h
<<_ACEOF
40073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40080 for ac_func
in floor
40082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40083 echo "$as_me:$LINENO: checking for $ac_func" >&5
40084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40085 if eval "test \"\${$as_ac_var+set}\" = set"; then
40086 echo $ECHO_N "(cached) $ECHO_C" >&6
40088 cat >conftest.
$ac_ext <<_ACEOF
40091 cat confdefs.h
>>conftest.
$ac_ext
40092 cat >>conftest.
$ac_ext <<_ACEOF
40093 /* end confdefs.h. */
40094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40096 #define $ac_func innocuous_$ac_func
40098 /* System header to define __stub macros and hopefully few prototypes,
40099 which can conflict with char $ac_func (); below.
40100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40101 <limits.h> exists even on freestanding compilers. */
40104 # include <limits.h>
40106 # include <assert.h>
40111 /* Override any gcc2 internal prototype to avoid an error. */
40116 /* We use char because int might match the return type of a gcc2
40117 builtin and then its argument prototype would still apply. */
40119 /* The GNU C library defines this for functions which it implements
40120 to always fail with ENOSYS. Some functions are actually named
40121 something starting with __ and the normal name is an alias. */
40122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40125 char (*f) () = $ac_func;
40134 return f != $ac_func;
40139 rm -f conftest.
$ac_objext conftest
$ac_exeext
40140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40141 (eval $ac_link) 2>conftest.er1
40143 grep -v '^ *+' conftest.er1
>conftest.err
40145 cat conftest.err
>&5
40146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40147 (exit $ac_status); } &&
40148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40150 (eval $ac_try) 2>&5
40152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40153 (exit $ac_status); }; } &&
40154 { ac_try
='test -s conftest$ac_exeext'
40155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40156 (eval $ac_try) 2>&5
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); }; }; then
40160 eval "$as_ac_var=yes"
40162 echo "$as_me: failed program was:" >&5
40163 sed 's/^/| /' conftest.
$ac_ext >&5
40165 eval "$as_ac_var=no"
40167 rm -f conftest.err conftest.
$ac_objext \
40168 conftest
$ac_exeext conftest.
$ac_ext
40170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40172 if test `eval echo '${'$as_ac_var'}'` = yes; then
40173 cat >>confdefs.h
<<_ACEOF
40174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40180 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40181 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40182 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40183 echo "$as_me:$LINENO: result: yes" >&5
40184 echo "${ECHO_T}yes" >&6
40186 echo "$as_me:$LINENO: result: no" >&5
40187 echo "${ECHO_T}no" >&6
40189 # use different functions to avoid configure caching
40195 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40196 echo "$as_me:$LINENO: checking for $ac_func" >&5
40197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40198 if eval "test \"\${$as_ac_var+set}\" = set"; then
40199 echo $ECHO_N "(cached) $ECHO_C" >&6
40201 cat >conftest.
$ac_ext <<_ACEOF
40204 cat confdefs.h
>>conftest.
$ac_ext
40205 cat >>conftest.
$ac_ext <<_ACEOF
40206 /* end confdefs.h. */
40207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40209 #define $ac_func innocuous_$ac_func
40211 /* System header to define __stub macros and hopefully few prototypes,
40212 which can conflict with char $ac_func (); below.
40213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40214 <limits.h> exists even on freestanding compilers. */
40217 # include <limits.h>
40219 # include <assert.h>
40224 /* Override any gcc2 internal prototype to avoid an error. */
40229 /* We use char because int might match the return type of a gcc2
40230 builtin and then its argument prototype would still apply. */
40232 /* The GNU C library defines this for functions which it implements
40233 to always fail with ENOSYS. Some functions are actually named
40234 something starting with __ and the normal name is an alias. */
40235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40238 char (*f) () = $ac_func;
40247 return f != $ac_func;
40252 rm -f conftest.
$ac_objext conftest
$ac_exeext
40253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40254 (eval $ac_link) 2>conftest.er1
40256 grep -v '^ *+' conftest.er1
>conftest.err
40258 cat conftest.err
>&5
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); } &&
40261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40263 (eval $ac_try) 2>&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); }; } &&
40267 { ac_try
='test -s conftest$ac_exeext'
40268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40269 (eval $ac_try) 2>&5
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); }; }; then
40273 eval "$as_ac_var=yes"
40275 echo "$as_me: failed program was:" >&5
40276 sed 's/^/| /' conftest.
$ac_ext >&5
40278 eval "$as_ac_var=no"
40280 rm -f conftest.err conftest.
$ac_objext \
40281 conftest
$ac_exeext conftest.
$ac_ext
40283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40285 if test `eval echo '${'$as_ac_var'}'` = yes; then
40286 cat >>confdefs.h
<<_ACEOF
40287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40294 for ac_func
in ceil
40296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40297 echo "$as_me:$LINENO: checking for $ac_func" >&5
40298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40299 if eval "test \"\${$as_ac_var+set}\" = set"; then
40300 echo $ECHO_N "(cached) $ECHO_C" >&6
40302 cat >conftest.
$ac_ext <<_ACEOF
40305 cat confdefs.h
>>conftest.
$ac_ext
40306 cat >>conftest.
$ac_ext <<_ACEOF
40307 /* end confdefs.h. */
40308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40310 #define $ac_func innocuous_$ac_func
40312 /* System header to define __stub macros and hopefully few prototypes,
40313 which can conflict with char $ac_func (); below.
40314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40315 <limits.h> exists even on freestanding compilers. */
40318 # include <limits.h>
40320 # include <assert.h>
40325 /* Override any gcc2 internal prototype to avoid an error. */
40330 /* We use char because int might match the return type of a gcc2
40331 builtin and then its argument prototype would still apply. */
40333 /* The GNU C library defines this for functions which it implements
40334 to always fail with ENOSYS. Some functions are actually named
40335 something starting with __ and the normal name is an alias. */
40336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40339 char (*f) () = $ac_func;
40348 return f != $ac_func;
40353 rm -f conftest.
$ac_objext conftest
$ac_exeext
40354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40355 (eval $ac_link) 2>conftest.er1
40357 grep -v '^ *+' conftest.er1
>conftest.err
40359 cat conftest.err
>&5
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); } &&
40362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40364 (eval $ac_try) 2>&5
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); }; } &&
40368 { ac_try
='test -s conftest$ac_exeext'
40369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40370 (eval $ac_try) 2>&5
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); }; }; then
40374 eval "$as_ac_var=yes"
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.
$ac_ext >&5
40379 eval "$as_ac_var=no"
40381 rm -f conftest.err conftest.
$ac_objext \
40382 conftest
$ac_exeext conftest.
$ac_ext
40384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40386 if test `eval echo '${'$as_ac_var'}'` = yes; then
40387 cat >>confdefs.h
<<_ACEOF
40388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40394 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40395 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40396 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40397 echo "$as_me:$LINENO: result: yes" >&5
40398 echo "${ECHO_T}yes" >&6
40400 echo "$as_me:$LINENO: result: no" >&5
40401 echo "${ECHO_T}no" >&6
40402 # not sure we should warn the user, crash, etc.
40406 if test "$wxUSE_GUI" = "yes"; then
40409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40410 dynamic erase event exec font image minimal mobile \
40411 mobile/wxedit mobile/styles propsize render \
40412 richedit rotate shaped vscroll widgets"
40414 if test "$wxUSE_MONOLITHIC" != "yes"; then
40415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40417 if test "$TOOLKIT" = "MSW"; then
40418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40419 if test "$wxUSE_UNIVERSAL" != "yes"; then
40420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40423 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40427 SAMPLES_SUBDIRS
="console"
40431 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40432 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40434 if test "$GXX" = yes ; then
40436 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40439 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40441 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40442 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40443 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40445 if test "x$MWCC" = "xyes"; then
40447 CC
="$CC -cwd source -I-"
40448 CXX
="$CXX -cwd source -I-"
40453 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40454 EXTRALIBS_XML
="$EXPAT_LINK"
40455 EXTRALIBS_HTML
="$MSPACK_LINK"
40456 EXTRALIBS_ODBC
="$ODBC_LINK"
40457 if test "$wxUSE_GUI" = "yes"; then
40458 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40460 if test "$wxUSE_OPENGL" = "yes"; then
40461 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40464 LDFLAGS
="$LDFLAGS $PROFILE"
40466 if test "$wxUSE_GTK" = 1; then
40469 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40472 WXCONFIG_EXTRALIBS
="$LIBS"
40474 if test "$wxUSE_REGEX" = "builtin" ; then
40475 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
40477 if test "$wxUSE_EXPAT" = "builtin" ; then
40478 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
40480 if test "$wxUSE_ODBC" = "builtin" ; then
40481 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
40483 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40484 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
40486 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40487 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
40489 if test "$wxUSE_LIBPNG" = "builtin" ; then
40490 wxconfig_3rdparty
="png $wxconfig_3rdparty"
40492 if test "$wxUSE_ZLIB" = "builtin" ; then
40493 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
40496 for i
in $wxconfig_3rdparty ; do
40497 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
40501 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40515 if test $wxUSE_MONOLITHIC = "yes" ; then
40521 if test $wxUSE_PLUGINS = "yes" ; then
40527 if test $wxUSE_ODBC != "no" ; then
40533 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40539 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40567 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40578 TOOLKIT_USER
="GTK+"
40579 if test "$WXGTK20" = 1; then
40580 TOOLKIT_USER
="$TOOLKIT_USER 2"
40585 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40592 if test "x$BAKEFILE_HOST" = "x"; then
40593 BAKEFILE_HOST
="${host}"
40596 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40598 if test -n "$ac_tool_prefix"; then
40599 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40600 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40601 echo "$as_me:$LINENO: checking for $ac_word" >&5
40602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40603 if test "${ac_cv_prog_RANLIB+set}" = set; then
40604 echo $ECHO_N "(cached) $ECHO_C" >&6
40606 if test -n "$RANLIB"; then
40607 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40610 for as_dir
in $PATH
40613 test -z "$as_dir" && as_dir
=.
40614 for ac_exec_ext
in '' $ac_executable_extensions; do
40615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40616 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40625 RANLIB
=$ac_cv_prog_RANLIB
40626 if test -n "$RANLIB"; then
40627 echo "$as_me:$LINENO: result: $RANLIB" >&5
40628 echo "${ECHO_T}$RANLIB" >&6
40630 echo "$as_me:$LINENO: result: no" >&5
40631 echo "${ECHO_T}no" >&6
40635 if test -z "$ac_cv_prog_RANLIB"; then
40636 ac_ct_RANLIB
=$RANLIB
40637 # Extract the first word of "ranlib", so it can be a program name with args.
40638 set dummy ranlib
; ac_word
=$2
40639 echo "$as_me:$LINENO: checking for $ac_word" >&5
40640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40641 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40642 echo $ECHO_N "(cached) $ECHO_C" >&6
40644 if test -n "$ac_ct_RANLIB"; then
40645 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40648 for as_dir
in $PATH
40651 test -z "$as_dir" && as_dir
=.
40652 for ac_exec_ext
in '' $ac_executable_extensions; do
40653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40654 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40661 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40664 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40665 if test -n "$ac_ct_RANLIB"; then
40666 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40667 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40669 echo "$as_me:$LINENO: result: no" >&5
40670 echo "${ECHO_T}no" >&6
40673 RANLIB
=$ac_ct_RANLIB
40675 RANLIB
="$ac_cv_prog_RANLIB"
40678 # Find a good install program. We prefer a C program (faster),
40679 # so one script is as good as another. But avoid the broken or
40680 # incompatible versions:
40681 # SysV /etc/install, /usr/sbin/install
40682 # SunOS /usr/etc/install
40683 # IRIX /sbin/install
40685 # AmigaOS /C/install, which installs bootblocks on floppy discs
40686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40689 # OS/2's system install, which has a completely different semantic
40690 # ./install, which can be erroneously created by make from ./install.sh.
40691 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40693 if test -z "$INSTALL"; then
40694 if test "${ac_cv_path_install+set}" = set; then
40695 echo $ECHO_N "(cached) $ECHO_C" >&6
40697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40698 for as_dir
in $PATH
40701 test -z "$as_dir" && as_dir
=.
40702 # Account for people who put trailing slashes in PATH elements.
40704 .
/ | .
// | /cC
/* | \
40705 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40706 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40709 # OSF1 and SCO ODT 3.0 have their own names for install.
40710 # Don't use installbsd from OSF since it installs stuff as root
40712 for ac_prog
in ginstall scoinst
install; do
40713 for ac_exec_ext
in '' $ac_executable_extensions; do
40714 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40715 if test $ac_prog = install &&
40716 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40717 # AIX install. It has an incompatible calling convention.
40719 elif test $ac_prog = install &&
40720 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40721 # program-specific install script used by HP pwplus--don't use.
40724 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40736 if test "${ac_cv_path_install+set}" = set; then
40737 INSTALL
=$ac_cv_path_install
40739 # As a last resort, use the slow shell script. We don't cache a
40740 # path for INSTALL within a source directory, because that will
40741 # break other packages using the cache if that directory is
40742 # removed, or if the path is relative.
40743 INSTALL
=$ac_install_sh
40746 echo "$as_me:$LINENO: result: $INSTALL" >&5
40747 echo "${ECHO_T}$INSTALL" >&6
40749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40750 # It thinks the first close brace ends the variable substitution.
40751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40755 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40757 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40758 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40760 if test "$LN_S" = "ln -s"; then
40761 echo "$as_me:$LINENO: result: yes" >&5
40762 echo "${ECHO_T}yes" >&6
40764 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40765 echo "${ECHO_T}no, using $LN_S" >&6
40769 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40771 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40775 cat >conftest.
make <<\_ACEOF
40777 @
echo 'ac_maketemp="$(MAKE)"'
40779 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40780 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40781 if test -n "$ac_maketemp"; then
40782 eval ac_cv_prog_make_
${ac_make}_set
=yes
40784 eval ac_cv_prog_make_
${ac_make}_set
=no
40786 rm -f conftest.
make
40788 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40789 echo "$as_me:$LINENO: result: yes" >&5
40790 echo "${ECHO_T}yes" >&6
40793 echo "$as_me:$LINENO: result: no" >&5
40794 echo "${ECHO_T}no" >&6
40795 SET_MAKE
="MAKE=${MAKE-make}"
40800 if test -n "$ac_tool_prefix"; then
40801 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40802 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40803 echo "$as_me:$LINENO: checking for $ac_word" >&5
40804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40805 if test "${ac_cv_prog_AR+set}" = set; then
40806 echo $ECHO_N "(cached) $ECHO_C" >&6
40808 if test -n "$AR"; then
40809 ac_cv_prog_AR
="$AR" # Let the user override the test.
40811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40812 for as_dir
in $PATH
40815 test -z "$as_dir" && as_dir
=.
40816 for ac_exec_ext
in '' $ac_executable_extensions; do
40817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40818 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40828 if test -n "$AR"; then
40829 echo "$as_me:$LINENO: result: $AR" >&5
40830 echo "${ECHO_T}$AR" >&6
40832 echo "$as_me:$LINENO: result: no" >&5
40833 echo "${ECHO_T}no" >&6
40837 if test -z "$ac_cv_prog_AR"; then
40839 # Extract the first word of "ar", so it can be a program name with args.
40840 set dummy
ar; ac_word
=$2
40841 echo "$as_me:$LINENO: checking for $ac_word" >&5
40842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40844 echo $ECHO_N "(cached) $ECHO_C" >&6
40846 if test -n "$ac_ct_AR"; then
40847 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40850 for as_dir
in $PATH
40853 test -z "$as_dir" && as_dir
=.
40854 for ac_exec_ext
in '' $ac_executable_extensions; do
40855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40856 ac_cv_prog_ac_ct_AR
="ar"
40857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40863 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
40866 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
40867 if test -n "$ac_ct_AR"; then
40868 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40869 echo "${ECHO_T}$ac_ct_AR" >&6
40871 echo "$as_me:$LINENO: result: no" >&5
40872 echo "${ECHO_T}no" >&6
40877 AR
="$ac_cv_prog_AR"
40880 if test -n "$ac_tool_prefix"; then
40881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40882 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
40883 echo "$as_me:$LINENO: checking for $ac_word" >&5
40884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40885 if test "${ac_cv_prog_STRIP+set}" = set; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 if test -n "$STRIP"; then
40889 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
40891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40892 for as_dir
in $PATH
40895 test -z "$as_dir" && as_dir
=.
40896 for ac_exec_ext
in '' $ac_executable_extensions; do
40897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40898 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
40899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40907 STRIP
=$ac_cv_prog_STRIP
40908 if test -n "$STRIP"; then
40909 echo "$as_me:$LINENO: result: $STRIP" >&5
40910 echo "${ECHO_T}$STRIP" >&6
40912 echo "$as_me:$LINENO: result: no" >&5
40913 echo "${ECHO_T}no" >&6
40917 if test -z "$ac_cv_prog_STRIP"; then
40919 # Extract the first word of "strip", so it can be a program name with args.
40920 set dummy strip
; ac_word
=$2
40921 echo "$as_me:$LINENO: checking for $ac_word" >&5
40922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40923 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40924 echo $ECHO_N "(cached) $ECHO_C" >&6
40926 if test -n "$ac_ct_STRIP"; then
40927 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
40929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40930 for as_dir
in $PATH
40933 test -z "$as_dir" && as_dir
=.
40934 for ac_exec_ext
in '' $ac_executable_extensions; do
40935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40936 ac_cv_prog_ac_ct_STRIP
="strip"
40937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40943 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
40946 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
40947 if test -n "$ac_ct_STRIP"; then
40948 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40949 echo "${ECHO_T}$ac_ct_STRIP" >&6
40951 echo "$as_me:$LINENO: result: no" >&5
40952 echo "${ECHO_T}no" >&6
40957 STRIP
="$ac_cv_prog_STRIP"
40960 if test -n "$ac_tool_prefix"; then
40961 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40962 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
40963 echo "$as_me:$LINENO: checking for $ac_word" >&5
40964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40965 if test "${ac_cv_prog_NM+set}" = set; then
40966 echo $ECHO_N "(cached) $ECHO_C" >&6
40968 if test -n "$NM"; then
40969 ac_cv_prog_NM
="$NM" # Let the user override the test.
40971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40972 for as_dir
in $PATH
40975 test -z "$as_dir" && as_dir
=.
40976 for ac_exec_ext
in '' $ac_executable_extensions; do
40977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40978 ac_cv_prog_NM
="${ac_tool_prefix}nm"
40979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40988 if test -n "$NM"; then
40989 echo "$as_me:$LINENO: result: $NM" >&5
40990 echo "${ECHO_T}$NM" >&6
40992 echo "$as_me:$LINENO: result: no" >&5
40993 echo "${ECHO_T}no" >&6
40997 if test -z "$ac_cv_prog_NM"; then
40999 # Extract the first word of "nm", so it can be a program name with args.
41000 set dummy nm
; ac_word
=$2
41001 echo "$as_me:$LINENO: checking for $ac_word" >&5
41002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41003 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41004 echo $ECHO_N "(cached) $ECHO_C" >&6
41006 if test -n "$ac_ct_NM"; then
41007 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41010 for as_dir
in $PATH
41013 test -z "$as_dir" && as_dir
=.
41014 for ac_exec_ext
in '' $ac_executable_extensions; do
41015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41016 ac_cv_prog_ac_ct_NM
="nm"
41017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41023 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41026 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41027 if test -n "$ac_ct_NM"; then
41028 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41029 echo "${ECHO_T}$ac_ct_NM" >&6
41031 echo "$as_me:$LINENO: result: no" >&5
41032 echo "${ECHO_T}no" >&6
41037 NM
="$ac_cv_prog_NM"
41041 case ${BAKEFILE_HOST} in
41043 INSTALL_DIR
="mkdir -p"
41045 *) INSTALL_DIR
="$INSTALL -d"
41051 case ${BAKEFILE_HOST} in
41052 *-*-cygwin* | *-*-mingw32* )
41053 LDFLAGS_GUI
="-mwindows"
41059 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41060 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41061 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41062 echo $ECHO_N "(cached) $ECHO_C" >&6
41065 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41066 egrep -s GNU
> /dev
/null
); then
41067 bakefile_cv_prog_makeisgnu
="yes"
41069 bakefile_cv_prog_makeisgnu
="no"
41073 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41074 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41076 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41093 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41094 case "${BAKEFILE_HOST}" in
41095 *-*-cygwin* | *-*-mingw32* )
41101 *-pc-os2_emx | *-pc-os2-emx )
41104 powerpc
-*-darwin* )
41111 powerpc
-apple-macos* )
41120 case "$BAKEFILE_FORCE_PLATFORM" in
41141 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41142 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41143 { (exit 1); exit 1; }; }
41158 # Check whether --enable-omf or --disable-omf was given.
41159 if test "${enable_omf+set}" = set; then
41160 enableval
="$enable_omf"
41161 bk_os2_use_omf
="$enableval"
41164 case "${BAKEFILE_HOST}" in
41166 CFLAGS
="$CFLAGS -fno-common"
41167 CXXFLAGS
="$CXXFLAGS -fno-common"
41170 *-pc-os2_emx | *-pc-os2-emx )
41171 if test "x$bk_os2_use_omf" = "xyes" ; then
41174 LDFLAGS
="-Zomf $LDFLAGS"
41175 CFLAGS
="-Zomf $CFLAGS"
41176 CXXFLAGS
="-Zomf $CXXFLAGS"
41184 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41190 SO_SUFFIX_MODULE
="so"
41195 DLLPREFIX_MODULE
=""
41198 case "${BAKEFILE_HOST}" in
41201 SO_SUFFIX_MODULE
="sl"
41205 SO_SUFFIX_MODULE
="a"
41207 *-*-cygwin* | *-*-mingw32* )
41209 SO_SUFFIX_MODULE
="dll"
41210 DLLIMP_SUFFIX
="dll.a"
41218 *-pc-os2_emx | *-pc-os2-emx )
41220 SO_SUFFIX_MODULE
="dll"
41221 DLLIMP_SUFFIX
=$OS2_LIBEXT
41225 LIBEXT
=".$OS2_LIBEXT"
41227 powerpc
-*-darwin* )
41229 SO_SUFFIX_MODULE
="bundle"
41233 if test "x$DLLIMP_SUFFIX" = "x" ; then
41234 DLLIMP_SUFFIX
="$SO_SUFFIX"
41248 if test "x$GCC" = "xyes"; then
41252 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41253 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41255 case "${BAKEFILE_HOST}" in
41257 if test "x$GCC" != "xyes"; then
41258 LDFLAGS
="$LDFLAGS -L/usr/lib"
41260 SHARED_LD_CC
="${CC} -b -o"
41261 SHARED_LD_CXX
="${CXX} -b -o"
41267 if test "x$GCC" != "xyes"; then
41268 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41269 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41270 if test "${bakefile_cv_prog_icc+set}" = set; then
41271 echo $ECHO_N "(cached) $ECHO_C" >&6
41274 cat >conftest.
$ac_ext <<_ACEOF
41277 cat confdefs.h
>>conftest.
$ac_ext
41278 cat >>conftest.
$ac_ext <<_ACEOF
41279 /* end confdefs.h. */
41285 #ifndef __INTEL_COMPILER
41293 rm -f conftest.
$ac_objext
41294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41295 (eval $ac_compile) 2>conftest.er1
41297 grep -v '^ *+' conftest.er1
>conftest.err
41299 cat conftest.err
>&5
41300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301 (exit $ac_status); } &&
41302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304 (eval $ac_try) 2>&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); }; } &&
41308 { ac_try
='test -s conftest.$ac_objext'
41309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310 (eval $ac_try) 2>&5
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); }; }; then
41314 bakefile_cv_prog_icc
=yes
41316 echo "$as_me: failed program was:" >&5
41317 sed 's/^/| /' conftest.
$ac_ext >&5
41319 bakefile_cv_prog_icc
=no
41322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41325 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41326 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41327 if test "$bakefile_cv_prog_icc" = "yes"; then
41334 if test "x$GCC" != xyes
; then
41335 SHARED_LD_CC
="${CC} -G -o"
41336 SHARED_LD_CXX
="${CXX} -G -o"
41343 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41344 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41345 if test "${wx_cv_gcc31+set}" = set; then
41346 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 cat >conftest.
$ac_ext <<_ACEOF
41352 cat confdefs.h
>>conftest.
$ac_ext
41353 cat >>conftest.
$ac_ext <<_ACEOF
41354 /* end confdefs.h. */
41360 #if (__GNUC__ < 3) || \
41361 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41369 rm -f conftest.
$ac_objext
41370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41371 (eval $ac_compile) 2>conftest.er1
41373 grep -v '^ *+' conftest.er1
>conftest.err
41375 cat conftest.err
>&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); } &&
41378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41380 (eval $ac_try) 2>&5
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); }; } &&
41384 { ac_try
='test -s conftest.$ac_objext'
41385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41386 (eval $ac_try) 2>&5
41388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41389 (exit $ac_status); }; }; then
41394 echo "$as_me: failed program was:" >&5
41395 sed 's/^/| /' conftest.
$ac_ext >&5
41402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41405 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41406 echo "${ECHO_T}$wx_cv_gcc31" >&6
41407 if test "$wx_cv_gcc31" = "no"; then
41410 cat <<EOF >shared-ld-sh
41412 #-----------------------------------------------------------------------------
41413 #-- Name: distrib/mac/shared-ld-sh
41414 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41415 #-- Author: Gilles Depeyrot
41416 #-- Copyright: (c) 2002 Gilles Depeyrot
41417 #-- Licence: any use permitted
41418 #-----------------------------------------------------------------------------
41423 linking_flag="-dynamiclib"
41425 while test ${D}# -gt 0; do
41432 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41433 # collect these options and values
41434 args="${D}{args} ${D}1 ${D}2"
41438 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41439 # collect these options
41440 args="${D}{args} ${D}1"
41443 -dynamiclib|-bundle)
41444 linking_flag="${D}1"
41448 echo "shared-ld: unhandled option '${D}1'"
41452 *.o | *.a | *.dylib)
41453 # collect object files
41454 objects="${D}{objects} ${D}1"
41458 echo "shared-ld: unhandled argument '${D}1'"
41467 # Link one module containing all the others
41469 if test ${D}{verbose} = 1; then
41470 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41472 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41474 if test ${D}{status} != 0; then
41479 # Link the shared library from the single module created
41481 if test ${D}{verbose} = 1; then
41482 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41484 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41486 if test ${D}{status} != 0; then
41491 # Remove intermediate module
41493 rm -f master.${D}${D}.o
41498 chmod +x shared
-ld-sh
41500 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41501 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41502 SHARED_LD_CXX
="$SHARED_LD_CC"
41503 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41505 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41506 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41507 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41508 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41511 PIC_FLAG
="-dynamic -fPIC"
41515 if test "x$GCC" != "xyes"; then
41516 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41517 set dummy makeC
++SharedLib
; ac_word
=$2
41518 echo "$as_me:$LINENO: checking for $ac_word" >&5
41519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41520 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41521 echo $ECHO_N "(cached) $ECHO_C" >&6
41523 if test -n "$AIX_CXX_LD"; then
41524 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41527 for as_dir
in $PATH
41530 test -z "$as_dir" && as_dir
=.
41531 for ac_exec_ext
in '' $ac_executable_extensions; do
41532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41533 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41540 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41543 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41544 if test -n "$AIX_CXX_LD"; then
41545 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41546 echo "${ECHO_T}$AIX_CXX_LD" >&6
41548 echo "$as_me:$LINENO: result: no" >&5
41549 echo "${ECHO_T}no" >&6
41552 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41553 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41558 SHARED_LD_CC
="${LD} -nostart -o"
41559 SHARED_LD_CXX
="${LD} -nostart -o"
41563 if test "x$GCC" != "xyes"; then
41568 *-*-cygwin* | *-*-mingw32* )
41570 SHARED_LD_CC
="\$(CC) -shared -o"
41571 SHARED_LD_CXX
="\$(CXX) -shared -o"
41574 *-pc-os2_emx | *-pc-os2-emx )
41575 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41576 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41580 cat <<EOF >dllar.sh
41583 # dllar - a tool to build both a .dll and an .a file
41584 # from a set of object (.o) files for EMX/OS2.
41586 # Written by Andrew Zabolotny, bit@freya.etu.ru
41587 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41589 # This script will accept a set of files on the command line.
41590 # All the public symbols from the .o files will be exported into
41591 # a .DEF file, then linker will be run (through gcc) against them to
41592 # build a shared library consisting of all given .o files. All libraries
41593 # (.a) will be first decompressed into component .o files then act as
41594 # described above. You can optionally give a description (-d "description")
41595 # which will be put into .DLL. To see the list of accepted options (as well
41596 # as command-line format) simply run this program without options. The .DLL
41597 # is built to be imported by name (there is no guarantee that new versions
41598 # of the library you build will have same ordinals for same symbols).
41600 # dllar is free software; you can redistribute it and/or modify
41601 # it under the terms of the GNU General Public License as published by
41602 # the Free Software Foundation; either version 2, or (at your option)
41603 # any later version.
41605 # dllar is distributed in the hope that it will be useful,
41606 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41607 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41608 # GNU General Public License for more details.
41610 # You should have received a copy of the GNU General Public License
41611 # along with dllar; see the file COPYING. If not, write to the Free
41612 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41615 # To successfuly run this program you will need:
41616 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41617 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41619 # (used to build the .dll)
41621 # (used to create .def file from .o files)
41623 # (used to create .a file from .def file)
41624 # - GNU text utilites (cat, sort, uniq)
41625 # used to process emxexp output
41626 # - GNU file utilities (mv, rm)
41628 # - lxlite (optional, see flag below)
41629 # (used for general .dll cleanup)
41636 # basnam, variant of basename, which does _not_ remove the path, _iff_
41637 # second argument (suffix to remove) is given
41641 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41644 echo ${D}1 | sed 's/'${D}2'${D}//'
41647 echo "error in basnam ${D}*"
41653 # Cleanup temporary files and output
41656 for i in ${D}inputFiles ; do
41659 rm -rf \`basnam ${D}i !\`
41666 # Kill result in case of failure as there is just to many stupid make/nmake
41667 # things out there which doesn't do this.
41668 if [ ${D}# -eq 0 ]; then
41669 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41673 # Print usage and exit script with rc=1.
41675 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41676 echo ' [-name-mangler-script script.sh]'
41677 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41678 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41679 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41680 echo ' [*.o] [*.a]'
41681 echo '*> "output_file" should have no extension.'
41682 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41683 echo ' The import library name is derived from this and is set to "name".a,'
41684 echo ' unless overridden by -import'
41685 echo '*> "importlib_name" should have no extension.'
41686 echo ' If it has the .o, or .a extension, it is automatically removed.'
41687 echo ' This name is used as the import library name and may be longer and'
41688 echo ' more descriptive than the DLL name which has to follow the old '
41689 echo ' 8.3 convention of FAT.'
41690 echo '*> "script.sh may be given to override the output_file name by a'
41691 echo ' different name. It is mainly useful if the regular make process'
41692 echo ' of some package does not take into account OS/2 restriction of'
41693 echo ' DLL name lengths. It takes the importlib name as input and is'
41694 echo ' supposed to procude a shorter name as output. The script should'
41695 echo ' expect to get importlib_name without extension and should produce'
41696 echo ' a (max.) 8 letter name without extension.'
41697 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41698 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41699 echo ' These flags will be put at the start of GCC command line.'
41700 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41701 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41702 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41703 echo ' If the last character of a symbol is "*", all symbols beginning'
41704 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41705 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41706 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41707 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41708 echo ' C runtime DLLs.'
41709 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41710 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41711 echo ' unchanged to GCC at the end of command line.'
41712 echo '*> If you create a DLL from a library and you do not specify -o,'
41713 echo ' the basename for DLL and import library will be set to library name,'
41714 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41715 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41716 echo ' library will be renamed into gcc_s.a.'
41719 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41720 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41725 # Execute a command.
41726 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41727 # @Uses Whatever CleanUp() uses.
41733 if [ ${D}rcCmd -ne 0 ]; then
41734 echo "command failed, exit code="${D}rcCmd
41749 CFLAGS="-s -Zcrtdll"
41751 EXPORT_BY_ORDINALS=0
41756 case ${D}curDirS in
41760 curDirS=${D}{curDirS}"/"
41763 # Parse commandline
41766 while [ ${D}1 ]; do
41769 EXPORT_BY_ORDINALS=1;
41779 -name-mangler-script)
41800 exclude_symbols=${D}{exclude_symbols}${D}1" "
41804 library_flags=${D}{library_flags}${D}1" "
41823 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41826 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41827 if [ ${D}omfLinking -eq 1 ]; then
41828 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41830 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41835 if [ ${D}libsToLink -ne 0 ]; then
41836 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41838 for file in ${D}1 ; do
41839 if [ -f ${D}file ]; then
41840 inputFiles="${D}{inputFiles} ${D}file"
41844 if [ ${D}found -eq 0 ]; then
41845 echo "ERROR: No file(s) found: "${D}1
41852 done # iterate cmdline words
41855 if [ -z "${D}inputFiles" ]; then
41856 echo "dllar: no input files"
41860 # Now extract all .o files from .a files
41862 for file in ${D}inputFiles ; do
41873 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41878 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41880 if [ ${D}? -ne 0 ]; then
41881 echo "Failed to create subdirectory ./${D}dirname"
41885 # Append '!' to indicate archive
41886 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41887 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41890 for subfile in ${D}dirname/*.o* ; do
41891 if [ -f ${D}subfile ]; then
41893 if [ -s ${D}subfile ]; then
41894 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41895 newInputFiles="${D}newInputFiles ${D}subfile"
41899 if [ ${D}found -eq 0 ]; then
41900 echo "WARNING: there are no files in archive \\'${D}file\\'"
41904 newInputFiles="${D}{newInputFiles} ${D}file"
41908 inputFiles="${D}newInputFiles"
41910 # Output filename(s).
41912 if [ -z ${D}outFile ]; then
41914 set outFile ${D}inputFiles; outFile=${D}2
41917 # If it is an archive, remove the '!' and the '_%' suffixes
41918 case ${D}outFile in
41920 outFile=\`basnam ${D}outFile _%!\`
41925 case ${D}outFile in
41927 outFile=\`basnam ${D}outFile .dll\`
41930 outFile=\`basnam ${D}outFile .DLL\`
41933 outFile=\`basnam ${D}outFile .o\`
41936 outFile=\`basnam ${D}outFile .obj\`
41939 outFile=\`basnam ${D}outFile .a\`
41942 outFile=\`basnam ${D}outFile .lib\`
41947 case ${D}outimpFile in
41949 outimpFile=\`basnam ${D}outimpFile .a\`
41952 outimpFile=\`basnam ${D}outimpFile .lib\`
41957 if [ -z ${D}outimpFile ]; then
41958 outimpFile=${D}outFile
41960 defFile="${D}{outFile}.def"
41961 arcFile="${D}{outimpFile}.a"
41962 arcFile2="${D}{outimpFile}.lib"
41964 #create ${D}dllFile as something matching 8.3 restrictions,
41965 if [ -z ${D}renameScript ] ; then
41966 dllFile="${D}outFile"
41968 dllFile=\`${D}renameScript ${D}outimpFile\`
41971 if [ ${D}do_backup -ne 0 ] ; then
41972 if [ -f ${D}arcFile ] ; then
41973 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41975 if [ -f ${D}arcFile2 ] ; then
41976 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41980 # Extract public symbols from all the object files.
41981 tmpdefFile=${D}{defFile}_%
41982 rm -f ${D}tmpdefFile
41983 for file in ${D}inputFiles ; do
41988 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41993 # Create the def file.
41995 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41996 dllFile="${D}{dllFile}.dll"
41997 if [ ! -z ${D}description ]; then
41998 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42000 echo "EXPORTS" >> ${D}defFile
42002 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42003 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42005 # Checks if the export is ok or not.
42006 for word in ${D}exclude_symbols; do
42007 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42008 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42012 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42013 sed "=" < ${D}tmpdefFile | \\
42017 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42019 ' > ${D}{tmpdefFile}%
42020 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42022 rm -f ${D}{tmpdefFile}%
42024 cat ${D}tmpdefFile >> ${D}defFile
42025 rm -f ${D}tmpdefFile
42027 # Do linking, create implib, and apply lxlite.
42029 for file in ${D}inputFiles ; do
42034 gccCmdl="${D}gccCmdl ${D}file"
42038 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42039 touch "${D}{outFile}.dll"
42041 doCommand "emximp -o ${D}arcFile ${D}defFile"
42042 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42044 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42047 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42049 doCommand "emxomf -s -l ${D}arcFile"
42059 powerpc
-apple-macos* | \
42060 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42068 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42069 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42070 { (exit 1); exit 1; }; }
42073 if test "x$PIC_FLAG" != "x" ; then
42074 PIC_FLAG
="$PIC_FLAG -DPIC"
42077 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42078 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42080 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42081 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42098 case "${BAKEFILE_HOST}" in
42099 *-*-linux* | *-*-freebsd* )
42100 SONAME_FLAG
="-Wl,-soname,"
42128 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42129 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42132 if test "x$GCC" = "xyes"; then
42135 case "${BAKEFILE_HOST}" in
42136 powerpc
-*-darwin* )
42137 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42140 DEPSFLAG_GCC
="-MMD"
42143 echo "$as_me:$LINENO: result: gcc" >&5
42144 echo "${ECHO_T}gcc" >&6
42145 elif test "x$MWCC" = "xyes"; then
42148 DEPSFLAG_MWCC
="-MM"
42149 echo "$as_me:$LINENO: result: mwcc" >&5
42150 echo "${ECHO_T}mwcc" >&6
42152 echo "$as_me:$LINENO: result: none" >&5
42153 echo "${ECHO_T}none" >&6
42156 if test $DEPS_TRACKING = 1 ; then
42162 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42163 # script. It is used to track C/C++ files dependencies in portable way.
42165 # Permission is given to use this file in any way.
42167 DEPSMODE=${DEPSMODE}
42169 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42170 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42172 mkdir -p ${D}DEPSDIR
42174 if test ${D}DEPSMODE = gcc ; then
42175 ${D}* ${D}{DEPSFLAG_GCC}
42177 if test ${D}{status} != 0 ; then
42180 # move created file to the location we want it in:
42181 while test ${D}# -gt 0; do
42195 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42196 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42197 if test -f ${D}depfile ; then
42198 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42201 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42202 if test -f ${D}depfile ; then
42203 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42208 elif test ${D}DEPSMODE = mwcc ; then
42211 if test ${D}{status} != 0 ; then
42214 # Run mwcc again with -MM and redirect into the dep file we want
42215 # NOTE: We can't use shift here because we need ${D}* to be valid
42217 for arg in ${D}* ; do
42218 if test "${D}prevarg" = "-o"; then
42231 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42248 case ${BAKEFILE_HOST} in
42249 *-*-cygwin* | *-*-mingw32* )
42250 if test "$build" != "$host" ; then
42251 RESCOMP
=$host_alias-windres
42253 # Extract the first word of "windres", so it can be a program name with args.
42254 set dummy windres
; ac_word
=$2
42255 echo "$as_me:$LINENO: checking for $ac_word" >&5
42256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42257 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42260 if test -n "$RESCOMP"; then
42261 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42264 for as_dir
in $PATH
42267 test -z "$as_dir" && as_dir
=.
42268 for ac_exec_ext
in '' $ac_executable_extensions; do
42269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42270 ac_cv_prog_RESCOMP
="windres"
42271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42277 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42280 RESCOMP
=$ac_cv_prog_RESCOMP
42281 if test -n "$RESCOMP"; then
42282 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42283 echo "${ECHO_T}$RESCOMP" >&6
42285 echo "$as_me:$LINENO: result: no" >&5
42286 echo "${ECHO_T}no" >&6
42292 *-*-darwin* | powerpc
-apple-macos* )
42293 # Extract the first word of "Rez", so it can be a program name with args.
42294 set dummy Rez
; ac_word
=$2
42295 echo "$as_me:$LINENO: checking for $ac_word" >&5
42296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42297 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42298 echo $ECHO_N "(cached) $ECHO_C" >&6
42300 if test -n "$RESCOMP"; then
42301 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42304 for as_dir
in $PATH
42307 test -z "$as_dir" && as_dir
=.
42308 for ac_exec_ext
in '' $ac_executable_extensions; do
42309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42310 ac_cv_prog_RESCOMP
="Rez"
42311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42317 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42320 RESCOMP
=$ac_cv_prog_RESCOMP
42321 if test -n "$RESCOMP"; then
42322 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42323 echo "${ECHO_T}$RESCOMP" >&6
42325 echo "$as_me:$LINENO: result: no" >&5
42326 echo "${ECHO_T}no" >&6
42329 # Extract the first word of "SetFile", so it can be a program name with args.
42330 set dummy SetFile
; ac_word
=$2
42331 echo "$as_me:$LINENO: checking for $ac_word" >&5
42332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42333 if test "${ac_cv_prog_SETFILE+set}" = set; then
42334 echo $ECHO_N "(cached) $ECHO_C" >&6
42336 if test -n "$SETFILE"; then
42337 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42340 for as_dir
in $PATH
42343 test -z "$as_dir" && as_dir
=.
42344 for ac_exec_ext
in '' $ac_executable_extensions; do
42345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42346 ac_cv_prog_SETFILE
="SetFile"
42347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42353 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42356 SETFILE
=$ac_cv_prog_SETFILE
42357 if test -n "$SETFILE"; then
42358 echo "$as_me:$LINENO: result: $SETFILE" >&5
42359 echo "${ECHO_T}$SETFILE" >&6
42361 echo "$as_me:$LINENO: result: no" >&5
42362 echo "${ECHO_T}no" >&6
42372 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42375 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42379 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42380 if test "${enable_precomp_headers+set}" = set; then
42381 enableval
="$enable_precomp_headers"
42382 bk_use_pch
="$enableval"
42387 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42388 if test "x$GCC" = "xyes"; then
42389 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42390 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42391 cat >conftest.
$ac_ext <<_ACEOF
42394 cat confdefs.h
>>conftest.
$ac_ext
42395 cat >>conftest.
$ac_ext <<_ACEOF
42396 /* end confdefs.h. */
42402 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42403 #error "no pch support"
42406 #error "no pch support"
42408 #if (__GNUC__ == 3) && \
42409 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42410 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42411 #error "no pch support"
42418 rm -f conftest.
$ac_objext
42419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42420 (eval $ac_compile) 2>conftest.er1
42422 grep -v '^ *+' conftest.er1
>conftest.err
42424 cat conftest.err
>&5
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); } &&
42427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429 (eval $ac_try) 2>&5
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); }; } &&
42433 { ac_try
='test -s conftest.$ac_objext'
42434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42435 (eval $ac_try) 2>&5
42437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42438 (exit $ac_status); }; }; then
42440 echo "$as_me:$LINENO: result: yes" >&5
42441 echo "${ECHO_T}yes" >&6
42445 echo "$as_me: failed program was:" >&5
42446 sed 's/^/| /' conftest.
$ac_ext >&5
42449 echo "$as_me:$LINENO: result: no" >&5
42450 echo "${ECHO_T}no" >&6
42453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42454 if test $GCC_PCH = 1 ; then
42457 cat <<EOF >bk-make-pch
42460 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42461 # script. It is used to generated precompiled headers.
42463 # Permission is given to use this file in any way.
42472 while test ${D}{#} -gt 0; do
42475 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42476 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42477 headerfile="${D}{incdir}/${D}{header}"
42481 compiler="${D}{compiler} ${D}{1}"
42485 if test "x${D}{headerfile}" = "x" ; then
42486 echo "error: can't find header ${D}{header} in include paths" >2
42488 if test -f ${D}{outfile} ; then
42489 rm -f ${D}{outfile}
42491 mkdir -p \`dirname ${D}{outfile}\`
42493 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42495 # can do this because gcc is >= 3.4:
42496 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42501 chmod +x bk
-make-pch
42508 COND_BUILD_DEBUG
="#"
42509 if test "x$BUILD" = "xdebug" ; then
42510 COND_BUILD_DEBUG
=""
42513 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42514 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42515 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42518 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42519 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42520 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42523 COND_BUILD_DEBUG_UNICODE_0
="#"
42524 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42525 COND_BUILD_DEBUG_UNICODE_0
=""
42528 COND_BUILD_DEBUG_UNICODE_1
="#"
42529 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42530 COND_BUILD_DEBUG_UNICODE_1
=""
42533 COND_BUILD_RELEASE
="#"
42534 if test "x$BUILD" = "xrelease" ; then
42535 COND_BUILD_RELEASE
=""
42538 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42539 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42540 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42543 COND_BUILD_RELEASE_UNICODE_0
="#"
42544 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42545 COND_BUILD_RELEASE_UNICODE_0
=""
42548 COND_BUILD_RELEASE_UNICODE_1
="#"
42549 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42550 COND_BUILD_RELEASE_UNICODE_1
=""
42553 COND_DEBUG_FLAG_1
="#"
42554 if test "x$DEBUG_FLAG" = "x1" ; then
42555 COND_DEBUG_FLAG_1
=""
42558 COND_DEBUG_INFO_0
="#"
42559 if test "x$DEBUG_INFO" = "x0" ; then
42560 COND_DEBUG_INFO_0
=""
42563 COND_DEBUG_INFO_1
="#"
42564 if test "x$DEBUG_INFO" = "x1" ; then
42565 COND_DEBUG_INFO_1
=""
42568 COND_DEPS_TRACKING_0
="#"
42569 if test "x$DEPS_TRACKING" = "x0" ; then
42570 COND_DEPS_TRACKING_0
=""
42573 COND_DEPS_TRACKING_1
="#"
42574 if test "x$DEPS_TRACKING" = "x1" ; then
42575 COND_DEPS_TRACKING_1
=""
42579 if test "x$GCC_PCH" = "x1" ; then
42583 COND_MONOLITHIC_0
="#"
42584 if test "x$MONOLITHIC" = "x0" ; then
42585 COND_MONOLITHIC_0
=""
42588 COND_MONOLITHIC_0_SHARED_0
="#"
42589 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42590 COND_MONOLITHIC_0_SHARED_0
=""
42593 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42594 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42595 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42598 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42599 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42600 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42603 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42604 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42605 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42608 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42609 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42610 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42613 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42614 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42615 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42618 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42619 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42620 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42623 COND_MONOLITHIC_0_SHARED_1
="#"
42624 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42625 COND_MONOLITHIC_0_SHARED_1
=""
42628 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42629 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42633 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42634 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42635 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42638 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42639 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42640 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42643 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42644 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42645 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42648 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42649 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42650 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42653 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42654 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42655 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42658 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42659 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42660 COND_MONOLITHIC_0_USE_ODBC_1
=""
42663 COND_MONOLITHIC_1
="#"
42664 if test "x$MONOLITHIC" = "x1" ; then
42665 COND_MONOLITHIC_1
=""
42668 COND_MONOLITHIC_1_SHARED_0
="#"
42669 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42670 COND_MONOLITHIC_1_SHARED_0
=""
42673 COND_MONOLITHIC_1_SHARED_1
="#"
42674 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42675 COND_MONOLITHIC_1_SHARED_1
=""
42678 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42679 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42680 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42683 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42684 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42685 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42688 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42689 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42690 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42693 COND_PLATFORM_MACOSX_1
="#"
42694 if test "x$PLATFORM_MACOSX" = "x1" ; then
42695 COND_PLATFORM_MACOSX_1
=""
42698 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42699 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42700 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42703 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42704 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42705 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42708 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42709 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42710 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42713 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42714 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42715 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42718 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42719 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42720 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42723 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42724 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42725 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42728 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42729 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42730 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42733 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42734 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42735 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42738 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42739 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42740 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42743 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42744 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42745 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42748 COND_PLATFORM_MACOS_1
="#"
42749 if test "x$PLATFORM_MACOS" = "x1" ; then
42750 COND_PLATFORM_MACOS_1
=""
42753 COND_PLATFORM_MAC_1
="#"
42754 if test "x$PLATFORM_MAC" = "x1" ; then
42755 COND_PLATFORM_MAC_1
=""
42758 COND_PLATFORM_OS2_1
="#"
42759 if test "x$PLATFORM_OS2" = "x1" ; then
42760 COND_PLATFORM_OS2_1
=""
42763 COND_PLATFORM_UNIX_0
="#"
42764 if test "x$PLATFORM_UNIX" = "x0" ; then
42765 COND_PLATFORM_UNIX_0
=""
42768 COND_PLATFORM_UNIX_1
="#"
42769 if test "x$PLATFORM_UNIX" = "x1" ; then
42770 COND_PLATFORM_UNIX_1
=""
42773 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42774 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42775 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42779 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42780 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42783 COND_PLATFORM_WIN32_0
="#"
42784 if test "x$PLATFORM_WIN32" = "x0" ; then
42785 COND_PLATFORM_WIN32_0
=""
42788 COND_PLATFORM_WIN32_1
="#"
42789 if test "x$PLATFORM_WIN32" = "x1" ; then
42790 COND_PLATFORM_WIN32_1
=""
42794 if test "x$SHARED" = "x0" ; then
42798 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42799 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42800 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42803 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42804 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42805 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42808 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42809 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42810 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42813 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42814 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42815 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42818 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42819 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42820 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42823 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42824 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42825 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42828 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42829 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42830 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42833 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42834 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42835 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42838 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42839 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42840 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42843 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42844 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42845 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42848 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42849 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42850 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42854 if test "x$SHARED" = "x1" ; then
42858 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
42859 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42860 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
42864 if test "x$TOOLKIT" = "x" ; then
42868 COND_TOOLKIT_COCOA
="#"
42869 if test "x$TOOLKIT" = "xCOCOA" ; then
42870 COND_TOOLKIT_COCOA
=""
42873 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
42874 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42875 COND_TOOLKIT_COCOA_USE_GUI_1
=""
42878 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
42879 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42880 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
42883 COND_TOOLKIT_GTK
="#"
42884 if test "x$TOOLKIT" = "xGTK" ; then
42885 COND_TOOLKIT_GTK
=""
42888 COND_TOOLKIT_GTK_USE_GUI_1
="#"
42889 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42890 COND_TOOLKIT_GTK_USE_GUI_1
=""
42893 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
42894 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42895 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
42898 COND_TOOLKIT_MAC
="#"
42899 if test "x$TOOLKIT" = "xMAC" ; then
42900 COND_TOOLKIT_MAC
=""
42903 COND_TOOLKIT_MAC_USE_GUI_1
="#"
42904 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42905 COND_TOOLKIT_MAC_USE_GUI_1
=""
42908 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42909 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42910 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42913 COND_TOOLKIT_MGL
="#"
42914 if test "x$TOOLKIT" = "xMGL" ; then
42915 COND_TOOLKIT_MGL
=""
42918 COND_TOOLKIT_MGL_USE_GUI_1
="#"
42919 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42920 COND_TOOLKIT_MGL_USE_GUI_1
=""
42923 COND_TOOLKIT_MOTIF
="#"
42924 if test "x$TOOLKIT" = "xMOTIF" ; then
42925 COND_TOOLKIT_MOTIF
=""
42928 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
42929 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42930 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
42933 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
42934 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
42938 COND_TOOLKIT_MSW
="#"
42939 if test "x$TOOLKIT" = "xMSW" ; then
42940 COND_TOOLKIT_MSW
=""
42943 COND_TOOLKIT_MSW_USE_GUI_1
="#"
42944 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42945 COND_TOOLKIT_MSW_USE_GUI_1
=""
42948 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
42949 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42950 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
42953 COND_TOOLKIT_PM
="#"
42954 if test "x$TOOLKIT" = "xPM" ; then
42958 COND_TOOLKIT_PM_USE_GUI_1
="#"
42959 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42960 COND_TOOLKIT_PM_USE_GUI_1
=""
42963 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
42964 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42965 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
42968 COND_TOOLKIT_WINCE
="#"
42969 if test "x$TOOLKIT" = "xWINCE" ; then
42970 COND_TOOLKIT_WINCE
=""
42973 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
42974 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42975 COND_TOOLKIT_WINCE_USE_GUI_1
=""
42978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
42979 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42980 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
42983 COND_TOOLKIT_X11
="#"
42984 if test "x$TOOLKIT" = "xX11" ; then
42985 COND_TOOLKIT_X11
=""
42988 COND_TOOLKIT_X11_USE_GUI_1
="#"
42989 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42990 COND_TOOLKIT_X11_USE_GUI_1
=""
42994 if test "x$UNICODE" = "x1" ; then
42998 COND_USE_EXCEPTIONS_0
="#"
42999 if test "x$USE_EXCEPTIONS" = "x0" ; then
43000 COND_USE_EXCEPTIONS_0
=""
43003 COND_USE_EXCEPTIONS_1
="#"
43004 if test "x$USE_EXCEPTIONS" = "x1" ; then
43005 COND_USE_EXCEPTIONS_1
=""
43009 if test "x$USE_GUI" = "x0" ; then
43014 if test "x$USE_GUI" = "x1" ; then
43018 COND_USE_GUI_1_WXUNIV_0
="#"
43019 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43020 COND_USE_GUI_1_WXUNIV_0
=""
43023 COND_USE_GUI_1_WXUNIV_1
="#"
43024 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43025 COND_USE_GUI_1_WXUNIV_1
=""
43028 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43029 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43030 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43033 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43034 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43035 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43038 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43039 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43040 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43043 COND_USE_ODBC_1
="#"
43044 if test "x$USE_ODBC" = "x1" ; then
43048 COND_USE_OPENGL_1
="#"
43049 if test "x$USE_OPENGL" = "x1" ; then
43050 COND_USE_OPENGL_1
=""
43053 COND_USE_PLUGINS_0
="#"
43054 if test "x$USE_PLUGINS" = "x0" ; then
43055 COND_USE_PLUGINS_0
=""
43058 COND_USE_RTTI_0
="#"
43059 if test "x$USE_RTTI" = "x0" ; then
43063 COND_USE_RTTI_1
="#"
43064 if test "x$USE_RTTI" = "x1" ; then
43068 COND_USE_SOSYMLINKS_1
="#"
43069 if test "x$USE_SOSYMLINKS" = "x1" ; then
43070 COND_USE_SOSYMLINKS_1
=""
43073 COND_USE_SOVERLINUX_1
="#"
43074 if test "x$USE_SOVERLINUX" = "x1" ; then
43075 COND_USE_SOVERLINUX_1
=""
43078 COND_USE_SOVERSION_0
="#"
43079 if test "x$USE_SOVERSION" = "x0" ; then
43080 COND_USE_SOVERSION_0
=""
43083 COND_USE_SOVERSOLARIS_1
="#"
43084 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43085 COND_USE_SOVERSOLARIS_1
=""
43088 COND_USE_THREADS_0
="#"
43089 if test "x$USE_THREADS" = "x0" ; then
43090 COND_USE_THREADS_0
=""
43093 COND_USE_THREADS_1
="#"
43094 if test "x$USE_THREADS" = "x1" ; then
43095 COND_USE_THREADS_1
=""
43099 if test "x$USE_XRC" = "x1" ; then
43103 COND_WITH_PLUGIN_SDL_1
="#"
43104 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43105 COND_WITH_PLUGIN_SDL_1
=""
43109 if test "x$WXUNIV" = "x0" ; then
43114 if test "x$WXUNIV" = "x1" ; then
43118 COND_WXUSE_EXPAT_BUILTIN
="#"
43119 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43120 COND_WXUSE_EXPAT_BUILTIN
=""
43123 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43124 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43125 COND_WXUSE_LIBJPEG_BUILTIN
=""
43128 COND_WXUSE_LIBPNG_BUILTIN
="#"
43129 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43130 COND_WXUSE_LIBPNG_BUILTIN
=""
43133 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43134 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43135 COND_WXUSE_LIBTIFF_BUILTIN
=""
43138 COND_WXUSE_ODBC_BUILTIN
="#"
43139 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43140 COND_WXUSE_ODBC_BUILTIN
=""
43143 COND_WXUSE_REGEX_BUILTIN
="#"
43144 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43145 COND_WXUSE_REGEX_BUILTIN
=""
43148 COND_WXUSE_ZLIB_BUILTIN
="#"
43149 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43150 COND_WXUSE_ZLIB_BUILTIN
=""
43155 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43156 { { 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
43157 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;}
43158 { (exit 1); exit 1; }; }
43162 if test "$wxUSE_SHARED" = "yes"; then
43164 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43165 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43168 *-pc-os2_emx | *-pc-os2-emx )
43169 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43170 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43171 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43172 cp -p ${srcdir}/src
/os
2/dllar.sh .
43177 EXE_LINKER
="$CXX -o"
43180 if test "$wxUSE_OMF" = "yes"; then
43182 *-pc-os2_emx | *-pc-os2-emx )
43183 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43184 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43185 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43190 GCC_PRAGMA_FLAGS
=""
43192 if test $GCC_PCH = 1 ; then
43193 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43194 PCH_FLAGS
="-DWX_PRECOMP"
43197 powerpc
-*-darwin* )
43198 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43201 if test "$wxUSE_STL" = "yes" -o \
43202 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43203 "$wxUSE_NO_RTTI" != "yes"; then
43204 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43205 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43206 cat >conftest.
$ac_ext <<_ACEOF
43209 cat confdefs.h
>>conftest.
$ac_ext
43210 cat >>conftest.
$ac_ext <<_ACEOF
43211 /* end confdefs.h. */
43216 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43217 #error "Not GCC 3.2 or greater"
43224 rm -f conftest.
$ac_objext
43225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43226 (eval $ac_compile) 2>conftest.er1
43228 grep -v '^ *+' conftest.er1
>conftest.err
43230 cat conftest.err
>&5
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); } &&
43233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; } &&
43239 { ac_try
='test -s conftest.$ac_objext'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; }; then
43245 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43246 echo "$as_me:$LINENO: result: yes" >&5
43247 echo "${ECHO_T}yes" >&6
43249 echo "$as_me: failed program was:" >&5
43250 sed 's/^/| /' conftest.
$ac_ext >&5
43252 echo "$as_me:$LINENO: result: no" >&5
43253 echo "${ECHO_T}no" >&6
43255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43258 *-pc-os2_emx | *-pc-os2-emx )
43259 if test "$wxUSE_STL" = "yes"; then
43260 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43261 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43262 cat >conftest.
$ac_ext <<_ACEOF
43265 cat confdefs.h
>>conftest.
$ac_ext
43266 cat >>conftest.
$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43272 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43273 #error "Not GCC 3.2 or greater"
43280 rm -f conftest.
$ac_objext
43281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43282 (eval $ac_compile) 2>conftest.er1
43284 grep -v '^ *+' conftest.er1
>conftest.err
43286 cat conftest.err
>&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } &&
43289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43291 (eval $ac_try) 2>&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); }; } &&
43295 { ac_try
='test -s conftest.$ac_objext'
43296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43297 (eval $ac_try) 2>&5
43299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43300 (exit $ac_status); }; }; then
43301 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43302 echo "$as_me:$LINENO: result: yes" >&5
43303 echo "${ECHO_T}yes" >&6
43305 echo "$as_me: failed program was:" >&5
43306 sed 's/^/| /' conftest.
$ac_ext >&5
43308 echo "$as_me:$LINENO: result: no" >&5
43309 echo "${ECHO_T}no" >&6
43311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43316 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43319 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43383 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43384 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43385 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43386 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43387 echo $ECHO_N "(cached) $ECHO_C" >&6
43389 cat >conftest.
make <<\_ACEOF
43391 @
echo 'ac_maketemp="$(MAKE)"'
43393 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43394 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43395 if test -n "$ac_maketemp"; then
43396 eval ac_cv_prog_make_
${ac_make}_set
=yes
43398 eval ac_cv_prog_make_
${ac_make}_set
=no
43400 rm -f conftest.
make
43402 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43403 echo "$as_me:$LINENO: result: yes" >&5
43404 echo "${ECHO_T}yes" >&6
43407 echo "$as_me:$LINENO: result: no" >&5
43408 echo "${ECHO_T}no" >&6
43409 SET_MAKE
="MAKE=${MAKE-make}"
43414 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43417 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43420 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43423 ac_config_files
="$ac_config_files version-script Makefile"
43426 ac_config_commands
="$ac_config_commands wx-config
43432 if test "$wxUSE_GUI" = "yes"; then
43433 SUBDIRS
="samples demos utils contrib"
43434 else SUBDIRS
="samples utils"
43439 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43440 if test "${with_cppunit_prefix+set}" = set; then
43441 withval
="$with_cppunit_prefix"
43442 cppunit_config_prefix
="$withval"
43444 cppunit_config_prefix
=""
43447 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43448 if test "${with_cppunit_exec_prefix+set}" = set; then
43449 withval
="$with_cppunit_exec_prefix"
43450 cppunit_config_exec_prefix
="$withval"
43452 cppunit_config_exec_prefix
=""
43455 if test x
$cppunit_config_exec_prefix != x
; then
43456 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43457 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43458 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43461 if test x
$cppunit_config_prefix != x
; then
43462 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43463 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43464 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43468 # Extract the first word of "cppunit-config", so it can be a program name with args.
43469 set dummy cppunit
-config; ac_word
=$2
43470 echo "$as_me:$LINENO: checking for $ac_word" >&5
43471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43472 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43473 echo $ECHO_N "(cached) $ECHO_C" >&6
43475 case $CPPUNIT_CONFIG in
43477 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43481 for as_dir
in $PATH
43484 test -z "$as_dir" && as_dir
=.
43485 for ac_exec_ext
in '' $ac_executable_extensions; do
43486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43487 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43494 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43498 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43500 if test -n "$CPPUNIT_CONFIG"; then
43501 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43502 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43504 echo "$as_me:$LINENO: result: no" >&5
43505 echo "${ECHO_T}no" >&6
43508 cppunit_version_min
=1.8.0
43510 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43511 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43513 if test "$CPPUNIT_CONFIG" = "no" ; then
43516 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43517 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43518 cppunit_version
=`$CPPUNIT_CONFIG --version`
43520 cppunit_major_version
=`echo $cppunit_version | \
43521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43522 cppunit_minor_version
=`echo $cppunit_version | \
43523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43524 cppunit_micro_version
=`echo $cppunit_version | \
43525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43527 cppunit_major_min
=`echo $cppunit_version_min | \
43528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43529 cppunit_minor_min
=`echo $cppunit_version_min | \
43530 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43531 cppunit_micro_min
=`echo $cppunit_version_min | \
43532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43534 cppunit_version_proper
=`expr \
43535 $cppunit_major_version \> $cppunit_major_min \| \
43536 $cppunit_major_version \= $cppunit_major_min \& \
43537 $cppunit_minor_version \> $cppunit_minor_min \| \
43538 $cppunit_major_version \= $cppunit_major_min \& \
43539 $cppunit_minor_version \= $cppunit_minor_min \& \
43540 $cppunit_micro_version \>= $cppunit_micro_min `
43542 if test "$cppunit_version_proper" = "1" ; then
43543 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43544 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43546 echo "$as_me:$LINENO: result: no" >&5
43547 echo "${ECHO_T}no" >&6
43552 if test "x$no_cppunit" = x
; then
43553 SUBDIRS
="$SUBDIRS tests"
43564 for subdir
in `echo $SUBDIRS`; do
43565 if test -d ${srcdir}/${subdir} ; then
43566 if test "$wxUSE_GUI" = "yes"; then
43567 if test ${subdir} = "samples"; then
43568 makefiles
="samples/Makefile.in $makefiles"
43569 for sample
in `echo $SAMPLES_SUBDIRS`; do
43570 if test -d $srcdir/samples
/$sample; then
43571 makefiles
="samples/$sample/Makefile.in $makefiles"
43574 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43576 else if test ${subdir} = "samples"; then
43577 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43578 elif test ${subdir} = "utils"; then
43580 for util
in HelpGen tex2rtf
; do
43581 if test -d $srcdir/utils
/$util ; then
43582 makefiles
="utils/$util/Makefile.in \
43583 utils/$util/src/Makefile.in \
43587 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43591 for mkin
in $makefiles ; do
43592 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43593 ac_config_files
="$ac_config_files $mk"
43600 cat >confcache
<<\_ACEOF
43601 # This file is a shell script that caches the results of configure
43602 # tests run on this system so they can be shared between configure
43603 # scripts and configure runs, see configure's option --config-cache.
43604 # It is not useful on other systems. If it contains results you don't
43605 # want to keep, you may remove or edit it.
43607 # config.status only pays attention to the cache file if you give it
43608 # the --recheck option to rerun configure.
43610 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43611 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43612 # following values.
43616 # The following way of writing the cache mishandles newlines in values,
43617 # but we know of no workaround that is simple, portable, and efficient.
43618 # So, don't put newlines in cache variables' values.
43619 # Ultrix sh set writes to stderr and can't be redirected directly,
43620 # and sets the high bit in the cache file unless we assign to the vars.
43623 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43625 # `set' does not quote correctly, so add quotes (double-quote
43626 # substitution turns \\\\ into \\, and sed turns \\ into \).
43629 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43632 # `set' quotes correctly as required by POSIX, so do not add quotes.
43634 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43643 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43645 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43646 if test -w $cache_file; then
43647 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43648 cat confcache
>$cache_file
43650 echo "not updating unwritable cache $cache_file"
43655 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43656 # Let make expand exec_prefix.
43657 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43659 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43660 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43661 # trailing colons and then remove the whole line if VPATH becomes empty
43662 # (actually we leave an empty line to preserve line numbers).
43663 if test "x$srcdir" = x.
; then
43664 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43665 s/:*\$(srcdir):*/:/;
43666 s/:*\${srcdir}:*/:/;
43668 s/^\([^=]*=[ ]*\):*/\1/;
43674 DEFS
=-DHAVE_CONFIG_H
43678 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43679 # 1. Remove the extension, and $U if already installed.
43680 ac_i
=`echo "$ac_i" |
43681 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43683 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43684 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43686 LIBOBJS
=$ac_libobjs
43688 LTLIBOBJS
=$ac_ltlibobjs
43692 : ${CONFIG_STATUS=./config.status}
43693 ac_clean_files_save
=$ac_clean_files
43694 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43695 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43696 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43697 cat >$CONFIG_STATUS <<_ACEOF
43699 # Generated by $as_me.
43700 # Run this file to recreate the current configuration.
43701 # Compiler output produced by configure, useful for debugging
43702 # configure, is in config.log if it exists.
43705 ac_cs_recheck=false
43707 SHELL=\${CONFIG_SHELL-$SHELL}
43710 cat >>$CONFIG_STATUS <<\_ACEOF
43711 ## --------------------- ##
43712 ## M4sh Initialization. ##
43713 ## --------------------- ##
43715 # Be Bourne compatible
43716 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43719 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43720 # is contrary to our usage. Disable this feature.
43721 alias -g '${1+"$@"}'='"$@"'
43722 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43725 DUALCASE
=1; export DUALCASE
# for MKS sh
43727 # Support unset when possible.
43728 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43735 # Work around bugs in pre-3.0 UWIN ksh.
43736 $as_unset ENV MAIL MAILPATH
43743 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43744 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43745 LC_TELEPHONE LC_TIME
43747 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43748 eval $as_var=C
; export $as_var
43754 # Required to use basename.
43755 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43761 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43762 as_basename
=basename
43768 # Name of the executable.
43769 as_me
=`$as_basename "$0" ||
43770 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43771 X"$0" : 'X\(//\)$' \| \
43772 X"$0" : 'X\(/\)$' \| \
43773 . : '\(.\)' 2>/dev/null ||
43775 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43776 /^X\/\(\/\/\)$/{ s//\1/; q; }
43777 /^X\/\(\/\).*/{ s//\1/; q; }
43781 # PATH needs CR, and LINENO needs CR and PATH.
43782 # Avoid depending upon Character Ranges.
43783 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43784 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43785 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43786 as_cr_digits
='0123456789'
43787 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43789 # The user is always right.
43790 if test "${PATH_SEPARATOR+set}" != set; then
43791 echo "#! /bin/sh" >conf$$.sh
43792 echo "exit 0" >>conf$$.sh
43794 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43803 as_lineno_1
=$LINENO
43804 as_lineno_2
=$LINENO
43805 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43806 test "x$as_lineno_1" != "x$as_lineno_2" &&
43807 test "x$as_lineno_3" = "x$as_lineno_2" || {
43808 # Find who we are. Look in the path if we contain no path at all
43811 *[\\/]* ) as_myself
=$0 ;;
43812 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43813 for as_dir
in $PATH
43816 test -z "$as_dir" && as_dir
=.
43817 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43822 # We did not find ourselves, most probably we were run as `sh COMMAND'
43823 # in which case we are not to be found in the path.
43824 if test "x$as_myself" = x
; then
43827 if test ! -f "$as_myself"; then
43828 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43829 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43830 { (exit 1); exit 1; }; }
43832 case $CONFIG_SHELL in
43834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43835 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43838 test -z "$as_dir" && as_dir
=.
43839 for as_base
in sh bash ksh sh5
; do
43842 if ("$as_dir/$as_base" -c '
43843 as_lineno_1=$LINENO
43844 as_lineno_2=$LINENO
43845 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43846 test "x$as_lineno_1" != "x$as_lineno_2" &&
43847 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43848 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43849 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43850 CONFIG_SHELL
=$as_dir/$as_base
43851 export CONFIG_SHELL
43852 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43860 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43861 # uniformly replaced by the line number. The first 'sed' inserts a
43862 # line-number line before each line; the second 'sed' does the real
43863 # work. The second script uses 'N' to pair each line-number line
43864 # with the numbered line, and appends trailing '-' during
43865 # substitution so that $LINENO is not a special case at line end.
43866 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43867 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43868 sed '=' <$as_myself |
43873 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43876 s,^['$as_cr_digits']*\n,,
43877 ' >$as_me.lineno
&&
43878 chmod +x
$as_me.lineno
||
43879 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43880 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43881 { (exit 1); exit 1; }; }
43883 # Don't try to exec as it changes $[0], causing all sort of problems
43884 # (the dirname of $[0] is not the place where we might find the
43885 # original and so on. Autoconf is especially sensible to this).
43887 # Exit status is that of the last command.
43892 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43893 *c
*,-n*) ECHO_N
= ECHO_C
='
43895 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
43896 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
43899 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43905 rm -f conf$$ conf$$.exe conf$$.
file
43907 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43908 # We could just check for DJGPP; but this test a) works b) is more generic
43909 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43910 if test -f conf$$.exe
; then
43911 # Don't use ln at all; we don't have any links
43916 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43921 rm -f conf$$ conf$$.exe conf$$.
file
43923 if mkdir -p .
2>/dev
/null
; then
43926 test -d .
/-p && rmdir .
/-p
43930 as_executable_p
="test -f"
43932 # Sed expression to map a string onto a valid CPP name.
43933 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43935 # Sed expression to map a string onto a valid variable name.
43936 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43940 # We need space, tab and new line, in precisely that order.
43950 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43951 # report actual input values of CONFIG_FILES etc. instead of their
43952 # values after options handling. Logging --version etc. is OK.
43956 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43957 ## Running $as_me. ##
43962 This file was extended by wxWidgets $as_me 2.5.5, which was
43963 generated by GNU Autoconf 2.59. Invocation command line was
43965 CONFIG_FILES = $CONFIG_FILES
43966 CONFIG_HEADERS = $CONFIG_HEADERS
43967 CONFIG_LINKS = $CONFIG_LINKS
43968 CONFIG_COMMANDS = $CONFIG_COMMANDS
43972 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43976 # Files that config.status was made for.
43977 if test -n "$ac_config_files"; then
43978 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43981 if test -n "$ac_config_headers"; then
43982 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43985 if test -n "$ac_config_links"; then
43986 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43989 if test -n "$ac_config_commands"; then
43990 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43993 cat >>$CONFIG_STATUS <<\_ACEOF
43996 \`$as_me' instantiates files from templates according to the
43997 current configuration.
43999 Usage: $0 [OPTIONS] [FILE]...
44001 -h, --help print this help, then exit
44002 -V, --version print version number, then exit
44003 -q, --quiet do not print progress messages
44004 -d, --debug don't remove temporary files
44005 --recheck update $as_me by reconfiguring in the same conditions
44006 --file=FILE[:TEMPLATE]
44007 instantiate the configuration file FILE
44008 --header=FILE[:TEMPLATE]
44009 instantiate the configuration header FILE
44011 Configuration files:
44014 Configuration headers:
44017 Configuration commands:
44020 Report bugs to <bug-autoconf@gnu.org>."
44023 cat >>$CONFIG_STATUS <<_ACEOF
44025 wxWidgets config.status 2.5.5
44026 configured by $0, generated by GNU Autoconf 2.59,
44027 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44029 Copyright (C) 2003 Free Software Foundation, Inc.
44030 This config.status script is free software; the Free Software Foundation
44031 gives unlimited permission to copy, distribute and modify it."
44036 cat >>$CONFIG_STATUS <<\_ACEOF
44037 # If no file are specified by the user, then we need to provide default
44038 # value. By we need to know if files were specified by the user.
44044 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44045 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44053 *) # This is not an option, so the user has probably given explicit
44056 ac_need_defaults
=false
;;
44060 # Handling of the options.
44062 cat >>$CONFIG_STATUS <<\_ACEOF
44063 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44065 --version | --vers* | -V )
44066 echo "$ac_cs_version"; exit 0 ;;
44068 # Conflict between --help and --header
44069 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44070 Try \`$0 --help' for more information." >&5
44071 echo "$as_me: error: ambiguous option: $1
44072 Try \`$0 --help' for more information." >&2;}
44073 { (exit 1); exit 1; }; };;
44074 --help | --hel | -h )
44075 echo "$ac_cs_usage"; exit 0 ;;
44076 --debug | --d* | -d )
44078 --file | --fil | --fi | --f )
44080 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44081 ac_need_defaults
=false
;;
44082 --header | --heade | --head | --hea )
44084 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44085 ac_need_defaults
=false
;;
44086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44087 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44090 # This is an error.
44091 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44092 Try \`$0 --help' for more information." >&5
44093 echo "$as_me: error: unrecognized option: $1
44094 Try \`$0 --help' for more information." >&2;}
44095 { (exit 1); exit 1; }; } ;;
44097 *) ac_config_targets
="$ac_config_targets $1" ;;
44103 ac_configure_extra_args
=
44105 if $ac_cs_silent; then
44107 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44111 cat >>$CONFIG_STATUS <<_ACEOF
44112 if \$ac_cs_recheck; then
44113 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44114 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44119 cat >>$CONFIG_STATUS <<_ACEOF
44121 # INIT-COMMANDS section.
44124 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44125 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44126 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44134 cat >>$CONFIG_STATUS <<\_ACEOF
44135 for ac_config_target
in $ac_config_targets
44137 case "$ac_config_target" in
44138 # Handling of arguments.
44139 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44140 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44141 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44142 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44143 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44144 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44145 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44146 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44147 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44148 { (exit 1); exit 1; }; };;
44152 # If the user did not use the arguments to specify the items to instantiate,
44153 # then the envvar interface is used. Set only those that are not.
44154 # We use the long form for the default assignment because of an extremely
44155 # bizarre bug on SunOS 4.1.3.
44156 if $ac_need_defaults; then
44157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44158 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44162 # Have a temporary directory for convenience. Make it in the build tree
44163 # simply because there is no reason to put it here, and in addition,
44164 # creating and moving files from /tmp can sometimes cause problems.
44165 # Create a temporary directory, and hook for its removal unless debugging.
44168 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44169 trap '{ (exit 1); exit 1; }' 1 2 13 15
44172 # Create a (secure) tmp directory for tmp files.
44175 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44176 test -n "$tmp" && test -d "$tmp"
44179 tmp
=.
/confstat$$
-$RANDOM
44180 (umask 077 && mkdir $tmp)
44183 echo "$me: cannot create a temporary directory in ." >&2
44184 { (exit 1); exit 1; }
44189 cat >>$CONFIG_STATUS <<_ACEOF
44192 # CONFIG_FILES section.
44195 # No need to generate the scripts if there are no CONFIG_FILES.
44196 # This happens for instance when ./config.status config.h
44197 if test -n "\$CONFIG_FILES"; then
44198 # Protect against being on the right side of a sed subst in config.status.
44199 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44200 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44201 s,@SHELL@,$SHELL,;t t
44202 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44203 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44204 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44205 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44206 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44207 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44208 s,@exec_prefix@,$exec_prefix,;t t
44209 s,@prefix@,$prefix,;t t
44210 s,@program_transform_name@,$program_transform_name,;t t
44211 s,@bindir@,$bindir,;t t
44212 s,@sbindir@,$sbindir,;t t
44213 s,@libexecdir@,$libexecdir,;t t
44214 s,@datadir@,$datadir,;t t
44215 s,@sysconfdir@,$sysconfdir,;t t
44216 s,@sharedstatedir@,$sharedstatedir,;t t
44217 s,@localstatedir@,$localstatedir,;t t
44218 s,@libdir@,$libdir,;t t
44219 s,@includedir@,$includedir,;t t
44220 s,@oldincludedir@,$oldincludedir,;t t
44221 s,@infodir@,$infodir,;t t
44222 s,@mandir@,$mandir,;t t
44223 s,@build_alias@,$build_alias,;t t
44224 s,@host_alias@,$host_alias,;t t
44225 s,@target_alias@,$target_alias,;t t
44226 s,@DEFS@,$DEFS,;t t
44227 s,@ECHO_C@,$ECHO_C,;t t
44228 s,@ECHO_N@,$ECHO_N,;t t
44229 s,@ECHO_T@,$ECHO_T,;t t
44230 s,@LIBS@,$LIBS,;t t
44231 s,@build@,$build,;t t
44232 s,@build_cpu@,$build_cpu,;t t
44233 s,@build_vendor@,$build_vendor,;t t
44234 s,@build_os@,$build_os,;t t
44235 s,@host@,$host,;t t
44236 s,@host_cpu@,$host_cpu,;t t
44237 s,@host_vendor@,$host_vendor,;t t
44238 s,@host_os@,$host_os,;t t
44239 s,@target@,$target,;t t
44240 s,@target_cpu@,$target_cpu,;t t
44241 s,@target_vendor@,$target_vendor,;t t
44242 s,@target_os@,$target_os,;t t
44244 s,@CFLAGS@,$CFLAGS,;t t
44245 s,@LDFLAGS@,$LDFLAGS,;t t
44246 s,@CPPFLAGS@,$CPPFLAGS,;t t
44247 s,@ac_ct_CC@,$ac_ct_CC,;t t
44248 s,@EXEEXT@,$EXEEXT,;t t
44249 s,@OBJEXT@,$OBJEXT,;t t
44251 s,@EGREP@,$EGREP,;t t
44253 s,@CXXFLAGS@,$CXXFLAGS,;t t
44254 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44255 s,@RANLIB@,$RANLIB,;t t
44256 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44258 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44259 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44260 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44261 s,@STRIP@,$STRIP,;t t
44262 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44263 s,@LN_S@,$LN_S,;t t
44264 s,@CXXCPP@,$CXXCPP,;t t
44265 s,@subdirs@,$subdirs,;t t
44266 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44267 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44268 s,@GTK_LIBS@,$GTK_LIBS,;t t
44269 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44270 s,@X_CFLAGS@,$X_CFLAGS,;t t
44271 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44272 s,@X_LIBS@,$X_LIBS,;t t
44273 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44274 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44275 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44276 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44277 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44278 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44279 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44280 s,@RESCOMP@,$RESCOMP,;t t
44281 s,@DEREZ@,$DEREZ,;t t
44282 s,@SETFILE@,$SETFILE,;t t
44283 s,@LIBICONV@,$LIBICONV,;t t
44284 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44285 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44286 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44287 s,@SDL_LIBS@,$SDL_LIBS,;t t
44288 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44289 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44290 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44291 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44292 s,@GST_INSPECT@,$GST_INSPECT,;t t
44293 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44294 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44295 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44296 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44297 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44298 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44299 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44300 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44301 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44302 s,@VENDOR@,$VENDOR,;t t
44303 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44304 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44305 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44306 s,@WXUNIV@,$WXUNIV,;t t
44307 s,@MONOLITHIC@,$MONOLITHIC,;t t
44308 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44309 s,@EXTRALIBS@,$EXTRALIBS,;t t
44310 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44311 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44312 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44313 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44314 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44315 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44316 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44317 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44318 s,@UNICODE@,$UNICODE,;t t
44319 s,@BUILD@,$BUILD,;t t
44320 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44321 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44322 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44323 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44324 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44325 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44326 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44327 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44328 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44329 s,@SET_MAKE@,$SET_MAKE,;t t
44330 s,@MAKE_SET@,$MAKE_SET,;t t
44331 s,@ac_ct_AR@,$ac_ct_AR,;t t
44332 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44334 s,@ac_ct_NM@,$ac_ct_NM,;t t
44335 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44336 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44337 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44338 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44339 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44340 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44341 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44342 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44343 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44344 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44345 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44346 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44347 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44348 s,@LIBPREFIX@,$LIBPREFIX,;t t
44349 s,@LIBEXT@,$LIBEXT,;t t
44350 s,@DLLPREFIX@,$DLLPREFIX,;t t
44351 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44352 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44353 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44354 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44355 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44356 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44357 s,@PIC_FLAG@,$PIC_FLAG,;t t
44358 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44359 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44360 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44361 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44362 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44363 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44364 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44365 s,@GCC_PCH@,$GCC_PCH,;t t
44366 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44367 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44368 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44369 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44370 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44371 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44372 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44373 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44374 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44375 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44376 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44377 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44378 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44379 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44380 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44381 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44382 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44383 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44384 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
44385 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
44386 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
44387 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44388 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44389 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44390 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44391 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
44392 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
44393 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
44394 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44395 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44396 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44397 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44398 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44399 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44400 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44401 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44402 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44403 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44404 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44405 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44406 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44407 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44408 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44409 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
44410 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44411 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44412 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44413 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44414 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44415 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44416 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44417 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44418 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44419 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44420 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44421 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44422 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44423 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44424 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44425 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44426 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44427 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44428 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44429 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44430 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44431 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44432 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44433 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44434 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44435 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44436 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44437 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44438 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44439 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44440 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44441 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44442 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44443 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44444 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44445 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44446 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44447 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44448 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44449 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44450 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44451 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44452 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44453 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44454 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44455 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44456 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44457 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44458 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44459 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44460 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44461 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44462 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44463 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44464 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44465 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44466 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44467 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44468 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44469 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44470 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44471 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44472 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44473 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44474 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44475 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44476 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44477 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44478 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44479 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44480 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44481 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44482 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44483 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44484 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44485 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44486 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44487 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44488 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44489 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44490 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44491 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44492 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44493 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44494 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44495 s,@SHARED@,$SHARED,;t t
44496 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44497 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44498 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44499 s,@USE_GUI@,$USE_GUI,;t t
44500 s,@AFMINSTALL@,$AFMINSTALL,;t t
44501 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44502 s,@TOOLKIT@,$TOOLKIT,;t t
44503 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44504 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44505 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44506 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44507 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44508 s,@cross_compiling@,$cross_compiling,;t t
44509 s,@WIDGET_SET@,$WIDGET_SET,;t t
44510 s,@WX_RELEASE@,$WX_RELEASE,;t t
44511 s,@WX_VERSION@,$WX_VERSION,;t t
44512 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44513 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44514 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44515 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44516 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44517 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44518 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44519 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44520 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44521 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44522 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44523 s,@EXE_LINKER@,$EXE_LINKER,;t t
44524 s,@GUIDIST@,$GUIDIST,;t t
44525 s,@DISTDIR@,$DISTDIR,;t t
44526 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44527 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44528 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44529 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44530 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44531 s,@RESFLAGS@,$RESFLAGS,;t t
44532 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44533 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44534 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44535 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44536 s,@MACRESCOMP@,$MACRESCOMP,;t t
44537 s,@MACSETFILE@,$MACSETFILE,;t t
44538 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44540 s,@DLLTOOL@,$DLLTOOL,;t t
44541 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44542 s,@LIBOBJS@,$LIBOBJS,;t t
44543 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44548 cat >>$CONFIG_STATUS <<\_ACEOF
44549 # Split the substitutions into bite-sized pieces for seds with
44550 # small command number limits, like on Digital OSF/1 and HP-UX.
44551 ac_max_sed_lines
=48
44552 ac_sed_frag
=1 # Number of current file.
44553 ac_beg
=1 # First line for current file.
44554 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44557 while $ac_more_lines; do
44558 if test $ac_beg -gt 1; then
44559 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44561 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44563 if test ! -s $tmp/subs.frag
; then
44564 ac_more_lines
=false
44566 # The purpose of the label and of the branching condition is to
44567 # speed up the sed processing (if there are no `@' at all, there
44568 # is no need to browse any of the substitutions).
44569 # These are the two extra sed commands mentioned above.
44571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44572 if test -z "$ac_sed_cmds"; then
44573 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44575 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44577 ac_sed_frag
=`expr $ac_sed_frag + 1`
44579 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44582 if test -z "$ac_sed_cmds"; then
44585 fi # test -n "$CONFIG_FILES"
44588 cat >>$CONFIG_STATUS <<\_ACEOF
44589 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44590 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44592 - | *:- | *:-:* ) # input from stdin
44594 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44595 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44596 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44597 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44598 * ) ac_file_in
=$ac_file.
in ;;
44601 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44602 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44603 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44604 X"$ac_file" : 'X\(//\)[^/]' \| \
44605 X"$ac_file" : 'X\(//\)$' \| \
44606 X"$ac_file" : 'X\(/\)' \| \
44607 . : '\(.\)' 2>/dev/null ||
44609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44611 /^X\(\/\/\)$/{ s//\1/; q; }
44612 /^X\(\/\).*/{ s//\1/; q; }
44614 { if $as_mkdir_p; then
44619 while test ! -d "$as_dir"; do
44620 as_dirs
="$as_dir $as_dirs"
44621 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44622 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44623 X"$as_dir" : 'X\(//\)[^/]' \| \
44624 X"$as_dir" : 'X\(//\)$' \| \
44625 X"$as_dir" : 'X\(/\)' \| \
44626 . : '\(.\)' 2>/dev/null ||
44628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44629 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44630 /^X\(\/\/\)$/{ s//\1/; q; }
44631 /^X\(\/\).*/{ s//\1/; q; }
44634 test ! -n "$as_dirs" || mkdir $as_dirs
44635 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44636 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44637 { (exit 1); exit 1; }; }; }
44641 if test "$ac_dir" != .
; then
44642 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44643 # A "../" for each directory in $ac_dir_suffix.
44644 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44646 ac_dir_suffix
= ac_top_builddir
=
44650 .
) # No --srcdir option. We are building in place.
44652 if test -z "$ac_top_builddir"; then
44655 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44657 [\\/]* | ?
:[\\/]* ) # Absolute path.
44658 ac_srcdir
=$srcdir$ac_dir_suffix;
44659 ac_top_srcdir
=$srcdir ;;
44660 *) # Relative path.
44661 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44662 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44665 # Do not use `cd foo && pwd` to compute absolute paths, because
44666 # the directories may not exist.
44668 .
) ac_abs_builddir
="$ac_dir";;
44671 .
) ac_abs_builddir
=`pwd`;;
44672 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44673 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44676 case $ac_abs_builddir in
44677 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44679 case ${ac_top_builddir}.
in
44680 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44681 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44682 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44685 case $ac_abs_builddir in
44686 .
) ac_abs_srcdir
=$ac_srcdir;;
44689 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44690 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44691 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44694 case $ac_abs_builddir in
44695 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44697 case $ac_top_srcdir in
44698 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44699 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44700 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44706 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44707 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44710 # Let's still pretend it is `configure' which instantiates (i.e., don't
44711 # use $as_me), people would be surprised to read:
44712 # /* config.h. Generated by config.status. */
44713 if test x
"$ac_file" = x
-; then
44716 configure_input
="$ac_file. "
44718 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44719 sed 's,.*/,,'` by configure."
44721 # First look for the input files in the build tree, otherwise in the
44723 ac_file_inputs
=`IFS=:
44724 for f in $ac_file_in; do
44726 -) echo $tmp/stdin ;;
44728 # Absolute (can't be DOS-style, as IFS=:)
44729 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44730 echo "$as_me: error: cannot find input file: $f" >&2;}
44731 { (exit 1); exit 1; }; }
44734 if test -f "$f"; then
44737 elif test -f "$srcdir/$f"; then
44742 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44743 echo "$as_me: error: cannot find input file: $f" >&2;}
44744 { (exit 1); exit 1; }; }
44747 done` || { (exit 1); exit 1; }
44749 if test x
"$ac_file" != x
-; then
44750 { echo "$as_me:$LINENO: creating $ac_file" >&5
44751 echo "$as_me: creating $ac_file" >&6;}
44755 cat >>$CONFIG_STATUS <<_ACEOF
44759 cat >>$CONFIG_STATUS <<\_ACEOF
44761 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44762 s
,@configure_input@
,$configure_input,;t t
44763 s
,@srcdir@
,$ac_srcdir,;t t
44764 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44765 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44766 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44767 s
,@builddir@
,$ac_builddir,;t t
44768 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44769 s
,@top_builddir@
,$ac_top_builddir,;t t
44770 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44771 s
,@INSTALL@
,$ac_INSTALL,;t t
44772 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44774 if test x"$ac_file" != x-; then
44775 mv $tmp/out $ac_file
44781 # Run the commands associated with the file.
44783 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44784 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44788 cat >>$CONFIG_STATUS <<\_ACEOF
44791 # CONFIG_HEADER section.
44794 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44795 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44797 # ac_d sets the value in "#define NAME VALUE" lines.
44798 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44799 ac_dB
='[ ].*$,\1#\2'
44802 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44803 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44804 ac_uB
='$,\1#\2define\3'
44808 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44809 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44811 - | *:- | *:-:* ) # input from stdin
44813 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44814 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44815 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44816 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44817 * ) ac_file_in
=$ac_file.
in ;;
44820 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44821 echo "$as_me: creating $ac_file" >&6;}
44823 # First look for the input files in the build tree, otherwise in the
44825 ac_file_inputs
=`IFS=:
44826 for f in $ac_file_in; do
44828 -) echo $tmp/stdin ;;
44830 # Absolute (can't be DOS-style, as IFS=:)
44831 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44832 echo "$as_me: error: cannot find input file: $f" >&2;}
44833 { (exit 1); exit 1; }; }
44834 # Do quote $f, to prevent DOS paths from being IFS'd.
44837 if test -f "$f"; then
44840 elif test -f "$srcdir/$f"; then
44845 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44846 echo "$as_me: error: cannot find input file: $f" >&2;}
44847 { (exit 1); exit 1; }; }
44850 done` || { (exit 1); exit 1; }
44851 # Remove the trailing spaces.
44852 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44856 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44857 # `conftest.undefs', that substitutes the proper values into
44858 # config.h.in to produce config.h. The first handles `#define'
44859 # templates, and the second `#undef' templates.
44860 # And first: Protect against being on the right side of a sed subst in
44861 # config.status. Protect against being in an unquoted here document
44862 # in config.status.
44863 rm -f conftest.defines conftest.undefs
44864 # Using a here document instead of a string reduces the quoting nightmare.
44865 # Putting comments in sed scripts is not portable.
44867 # `end' is used to avoid that the second main sed command (meant for
44868 # 0-ary CPP macros) applies to n-ary macro definitions.
44869 # See the Autoconf documentation for `clear'.
44870 cat >confdef2sed.
sed <<\_ACEOF
44875 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44877 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44880 # If some macros were called several times there might be several times
44881 # the same #defines, which is useless. Nevertheless, we may not want to
44882 # sort them, since we want the *last* AC-DEFINE to be honored.
44883 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44884 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44885 rm -f confdef2sed.sed
44887 # This sed command replaces #undef with comments. This is necessary, for
44888 # example, in the case of _POSIX_SOURCE, which is predefined and required
44889 # on some systems where configure will not decide to define it.
44890 cat >>conftest.undefs <<\_ACEOF
44891 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44894 # Break up conftest.defines because some shells have a limit on the size
44895 # of here documents, and old seds have small limits too (100 cmds).
44896 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44897 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44898 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44899 echo ' :' >>$CONFIG_STATUS
44900 rm -f conftest.tail
44901 while grep . conftest.defines >/dev/null
44903 # Write a limited-size here document to $tmp/defines.sed.
44904 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44905 # Speed up: don't consider the non `#define' lines.
44906 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44907 # Work around the forget-to-reset-the-flag bug.
44908 echo 't clr' >>$CONFIG_STATUS
44909 echo ': clr' >>$CONFIG_STATUS
44910 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
44912 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44914 mv $tmp/out $tmp/in
44916 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
44917 rm -f conftest.defines
44918 mv conftest.
tail conftest.defines
44920 rm -f conftest.defines
44921 echo ' fi # grep' >>$CONFIG_STATUS
44922 echo >>$CONFIG_STATUS
44924 # Break up conftest.undefs because some shells have a limit on the size
44925 # of here documents, and old seds have small limits too (100 cmds).
44926 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44927 rm -f conftest.
tail
44928 while grep . conftest.undefs
>/dev
/null
44930 # Write a limited-size here document to $tmp/undefs.sed.
44931 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44932 # Speed up: don't consider the non
`#undef'
44933 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44934 # Work around the forget-to-reset-the-flag bug.
44935 echo 't clr' >>$CONFIG_STATUS
44936 echo ': clr' >>$CONFIG_STATUS
44937 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44939 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44941 mv $tmp/out $tmp/in
44943 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44944 rm -f conftest.undefs
44945 mv conftest.tail conftest.undefs
44947 rm -f conftest.undefs
44949 cat >>$CONFIG_STATUS <<\_ACEOF
44950 # Let's still pretend it is `configure
' which instantiates (i.e., don't
44951 # use $as_me), people would be surprised to read:
44952 # /* config.h. Generated by config.status. */
44953 if test x
"$ac_file" = x
-; then
44954 echo "/* Generated by configure. */" >$tmp/config.h
44956 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44958 cat $tmp/in >>$tmp/config.h
44960 if test x
"$ac_file" != x
-; then
44961 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
44962 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44963 echo "$as_me: $ac_file is unchanged" >&6;}
44965 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44966 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44967 X"$ac_file" : 'X\(//\)[^/]' \| \
44968 X"$ac_file" : 'X\(//\)$' \| \
44969 X"$ac_file" : 'X\(/\)' \| \
44970 . : '\(.\)' 2>/dev/null ||
44972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44974 /^X\(\/\/\)$/{ s//\1/; q; }
44975 /^X\(\/\).*/{ s//\1/; q; }
44977 { if $as_mkdir_p; then
44982 while test ! -d "$as_dir"; do
44983 as_dirs
="$as_dir $as_dirs"
44984 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44986 X"$as_dir" : 'X\(//\)[^/]' \| \
44987 X"$as_dir" : 'X\(//\)$' \| \
44988 X"$as_dir" : 'X\(/\)' \| \
44989 . : '\(.\)' 2>/dev/null ||
44991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44993 /^X\(\/\/\)$/{ s//\1/; q; }
44994 /^X\(\/\).*/{ s//\1/; q; }
44997 test ! -n "$as_dirs" || mkdir $as_dirs
44998 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44999 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45000 { (exit 1); exit 1; }; }; }
45003 mv $tmp/config.h
$ac_file
45007 rm -f $tmp/config.h
45011 cat >>$CONFIG_STATUS <<\_ACEOF
45014 # CONFIG_COMMANDS section.
45016 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45017 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45018 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45019 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45020 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45021 X"$ac_dest" : 'X\(//\)[^/]' \| \
45022 X"$ac_dest" : 'X\(//\)$' \| \
45023 X"$ac_dest" : 'X\(/\)' \| \
45024 . : '\(.\)' 2>/dev/null ||
45026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45028 /^X\(\/\/\)$/{ s//\1/; q; }
45029 /^X\(\/\).*/{ s//\1/; q; }
45031 { if $as_mkdir_p; then
45036 while test ! -d "$as_dir"; do
45037 as_dirs
="$as_dir $as_dirs"
45038 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45040 X"$as_dir" : 'X\(//\)[^/]' \| \
45041 X"$as_dir" : 'X\(//\)$' \| \
45042 X"$as_dir" : 'X\(/\)' \| \
45043 . : '\(.\)' 2>/dev/null ||
45045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45046 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45047 /^X\(\/\/\)$/{ s//\1/; q; }
45048 /^X\(\/\).*/{ s//\1/; q; }
45051 test ! -n "$as_dirs" || mkdir $as_dirs
45052 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45053 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45054 { (exit 1); exit 1; }; }; }
45058 if test "$ac_dir" != .
; then
45059 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45060 # A "../" for each directory in $ac_dir_suffix.
45061 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45063 ac_dir_suffix
= ac_top_builddir
=
45067 .
) # No --srcdir option. We are building in place.
45069 if test -z "$ac_top_builddir"; then
45072 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45074 [\\/]* | ?
:[\\/]* ) # Absolute path.
45075 ac_srcdir
=$srcdir$ac_dir_suffix;
45076 ac_top_srcdir
=$srcdir ;;
45077 *) # Relative path.
45078 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45079 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45082 # Do not use `cd foo && pwd` to compute absolute paths, because
45083 # the directories may not exist.
45085 .
) ac_abs_builddir
="$ac_dir";;
45088 .
) ac_abs_builddir
=`pwd`;;
45089 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45090 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45093 case $ac_abs_builddir in
45094 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45096 case ${ac_top_builddir}.
in
45097 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45098 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45099 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45102 case $ac_abs_builddir in
45103 .
) ac_abs_srcdir
=$ac_srcdir;;
45106 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45107 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45108 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45111 case $ac_abs_builddir in
45112 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45114 case $ac_top_srcdir in
45115 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45116 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45117 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45122 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45123 echo "$as_me: executing $ac_dest commands" >&6;}
45125 wx
-config ) rm -f wx
-config
45126 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45132 cat >>$CONFIG_STATUS <<\_ACEOF
45134 { (exit 0); exit 0; }
45136 chmod +x
$CONFIG_STATUS
45137 ac_clean_files
=$ac_clean_files_save
45140 # configure is writing to config.log, and then calls config.status.
45141 # config.status does its own redirection, appending to config.log.
45142 # Unfortunately, on DOS this fails, as config.log is still kept open
45143 # by configure, so config.status won't be able to write to it; its
45144 # output is simply discarded. So we exec the FD to /dev/null,
45145 # effectively closing config.log, so it can be properly (re)opened and
45146 # appended to by config.status. When coming back to configure, we
45147 # need to make the FD available again.
45148 if test "$no_create" != yes; then
45150 ac_config_status_args
=
45151 test "$silent" = yes &&
45152 ac_config_status_args
="$ac_config_status_args --quiet"
45154 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45156 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45157 # would make configure fail if this is the last instruction.
45158 $ac_cs_success || { (exit 1); exit 1; }
45162 # CONFIG_SUBDIRS section.
45164 if test "$no_recursion" != yes; then
45166 # Remove --cache-file and --srcdir arguments so they do not pile up.
45167 ac_sub_configure_args
=
45169 for ac_arg
in $ac_configure_args; do
45170 if test -n "$ac_prev"; then
45175 -cache-file | --cache-file | --cache-fil | --cache-fi \
45176 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45177 ac_prev
=cache_file
;;
45178 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45179 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45182 --config-cache | -C)
45184 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45186 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45188 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45190 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45192 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45196 # Always prepend --prefix to ensure using the same prefix
45197 # in subdir configurations.
45198 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45201 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45203 # Do not complain, so a configure script can configure whichever
45204 # parts of a large source tree are present.
45205 test -d $srcdir/$ac_dir || continue
45207 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45208 echo "$as_me: configuring in $ac_dir" >&6;}
45209 { if $as_mkdir_p; then
45214 while test ! -d "$as_dir"; do
45215 as_dirs
="$as_dir $as_dirs"
45216 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45218 X"$as_dir" : 'X\(//\)[^/]' \| \
45219 X"$as_dir" : 'X\(//\)$' \| \
45220 X"$as_dir" : 'X\(/\)' \| \
45221 . : '\(.\)' 2>/dev/null ||
45223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45225 /^X\(\/\/\)$/{ s//\1/; q; }
45226 /^X\(\/\).*/{ s//\1/; q; }
45229 test ! -n "$as_dirs" || mkdir $as_dirs
45230 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45231 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45232 { (exit 1); exit 1; }; }; }
45236 if test "$ac_dir" != .
; then
45237 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45238 # A "../" for each directory in $ac_dir_suffix.
45239 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45241 ac_dir_suffix
= ac_top_builddir
=
45245 .
) # No --srcdir option. We are building in place.
45247 if test -z "$ac_top_builddir"; then
45250 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45252 [\\/]* | ?
:[\\/]* ) # Absolute path.
45253 ac_srcdir
=$srcdir$ac_dir_suffix;
45254 ac_top_srcdir
=$srcdir ;;
45255 *) # Relative path.
45256 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45257 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45260 # Do not use `cd foo && pwd` to compute absolute paths, because
45261 # the directories may not exist.
45263 .
) ac_abs_builddir
="$ac_dir";;
45266 .
) ac_abs_builddir
=`pwd`;;
45267 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45268 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45271 case $ac_abs_builddir in
45272 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45274 case ${ac_top_builddir}.
in
45275 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45276 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45277 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45280 case $ac_abs_builddir in
45281 .
) ac_abs_srcdir
=$ac_srcdir;;
45284 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45285 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45286 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45289 case $ac_abs_builddir in
45290 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45292 case $ac_top_srcdir in
45293 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45294 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45295 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45302 # Check for guested configure; otherwise get Cygnus style configure.
45303 if test -f $ac_srcdir/configure.gnu
; then
45304 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45305 elif test -f $ac_srcdir/configure
; then
45306 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45307 elif test -f $ac_srcdir/configure.
in; then
45308 ac_sub_configure
=$ac_configure
45310 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45311 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45315 # The recursion is here.
45316 if test -n "$ac_sub_configure"; then
45317 # Make the cache file name correct relative to the subdirectory.
45318 case $cache_file in
45319 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45320 *) # Relative path.
45321 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45324 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45325 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45326 # The eval makes quoting arguments work.
45327 eval $ac_sub_configure $ac_sub_configure_args \
45328 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45329 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45330 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45331 { (exit 1); exit 1; }; }
45340 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45342 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45343 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45345 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45346 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45347 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45349 echo " What level of wxWidgets compatibility should be enabled?"
45350 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45351 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45353 echo " Which libraries should wxWidgets use?"
45354 echo " jpeg ${wxUSE_LIBJPEG-none}"
45355 echo " png ${wxUSE_LIBPNG-none}"
45356 echo " regex ${wxUSE_REGEX}"
45357 echo " tiff ${wxUSE_LIBTIFF-none}"
45358 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45359 echo " xpm ${wxUSE_LIBXPM-none}"
45361 echo " zlib ${wxUSE_ZLIB}"
45362 echo " odbc ${wxUSE_ODBC}"
45363 echo " expat ${wxUSE_EXPAT}"
45364 echo " libmspack ${wxUSE_LIBMSPACK}"
45365 echo " sdl ${wxUSE_LIBSDL}"
45366 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"